mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jesse Brandeburg" <jesse.brandeburg@gmail.com>
To: "Om N." <xhandle@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: RFC : remote driver debugging efforts
Date: Sat, 12 Aug 2006 11:43:13 -0700	[thread overview]
Message-ID: <4807377b0608121143k683653b6v47d257adef8a1cca@mail.gmail.com> (raw)
In-Reply-To: <6de39a910608102319h76cfe171w1dab7aa700709dcf@mail.gmail.com>

On 8/10/06, Om N. <xhandle@gmail.com> wrote:
> (I do not have a remote power on/off switch. The driver panics so
> often that somebody has to babysit the machine to switch it off and
> on. We are in different time zones and things are not moving forward at all)

two (or three) things I've done to help this, when I'm working remotely

add panic=30 to your kernel options in grub (or echo 30 >
/proc/sys/kernel/panic) to reboot the system automatically on panic.

set grub to automatically boot the safe kernel by default, and when
making a new kernel, set grub to boot it only once with (say your
default is 0 and the new kernel is 1 in grub)

echo 'savedefault --default=1 --once' | grub --batch

set up netconsole so that you can see the kernel messages (optional) on oops.

finding out about all these was incredibly hard and obtuse :-)  So
hope this helps.

  reply	other threads:[~2006-08-12 18:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-11  6:19 Om N.
2006-08-12 18:43 ` Jesse Brandeburg [this message]
2006-08-12 19:35   ` Jesper Juhl
2006-08-12 19:39     ` Jesper Juhl
2006-08-12 22:50   ` Frederik Deweerdt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4807377b0608121143k683653b6v47d257adef8a1cca@mail.gmail.com \
    --to=jesse.brandeburg@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xhandle@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®