Re: [patch] voluntary-preempt-2.6.9-rc1-bk12-R5

From: Lee Revell
Date: Sat Sep 25 2004 - 18:58:39 EST


On Sat, 2004-09-25 at 16:50, Duncan Sands wrote:
> On Saturday 25 September 2004 22:40, Lee Revell wrote:
> > On Sat, 2004-09-25 at 16:38, Ingo Molnar wrote:
> > > * Lee Revell <rlrevell@xxxxxxxxxxx> wrote:
> > >
> > > > > since your lockups occur under X, could you try to disable DRI/DRM in
> > > > > your XConfig? Also, would it be possible to connect that box to another
> > > > > box via a serial line and enable the kernel's serial console via the
> > > > > 'console=ttyS0,38400 console=tty' boot option and run 'minicom' on that
> > > > > other box, set the serial line to 38400 baud there too and capture all
> > > > > kernel messages that occur when the lockups happens? Also enable the NMI
> > > > > watchdog via nmi_watchdog=1.
> > > >
> > > > Rui brought up an interesting point on the alsa list. Is this
> > > > procedure possible at all on a new laptop without a legacy serial
> > > > port?
> > >
> > > well, netconsole should work.
> > >
> >
> > OK just to save everyone a google search here is the procedure:
> >
> > http://technocrat.net/article.pl?sid=04/08/14/0236245&mode=thread
>
> You may need this patch:
>
> http://linux.bkbits.net:8080/linux-2.5/cset%4041470590n9GHsFJI2h0NeYTRXiyWMQ?nav=index.html|ChangeSet@-8w
>

You know, this actually seems like an easier process than the serial
console. Is there any good reason this isn't the "recommended" way to
diagnose lockups? Unless they used to work at a telco ;-), most users
are more likely to have an ethernet crossover cable handy than a serial
cable.

Here's the netconsole mini-mini HOWTO.

load the module like:
insmod netconsole \
netconsole=source-port@source-ip/net-interface,dest-port@dest-ip/MAC-address

for example:
modprobe netconsole \
netconsole=1234@xxxxxxxxxxxxx/eth0,4567@xxxxxxxxxxxx/00:0A:8A:05:3D:80

then connect the other machine and run:
netcat -u -l -p dest-port

to watch the output.

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/