Kernelmessage to usbstick?
Would it be possible to send kernel messages to an usbstick? On poweroff my laptop displays a kernel trace and a final message:
poweroff[3114] exited with preempt_count 2/etc/rc.d/rc.0: line 265: 3114 Segementation fault /sbin/poweroff.
I don't have a serial cable within reach, but plenty of usbsticks.
Signature · 1 line
Hans
Quoted 5 lines · Hans de Bruin
Would it be possible to send kernel messages to an usbstick? On poweroff my laptop displays a kernel trace and a final message:
poweroff[3114] exited withpreempt_count2/etc/rc.d/rc.0: line 265: 3114 Segementation fault/sbin/poweroff. I don't have a serial cable within reach, but plenty of usbsticks.
There's a mtdoops.c indeed, but it currently only works on MTD controlled flash devices, not usb sticks.
However usb sticks would need the USB subsystem to be running and it's unlikely that will be the case really late in poweroff. So it might not help.
-Andi
Signature · 1 line
[email protected]
Am Saturday 10 January 2009 23:53:15 schrieb Andi Kleen:
Quoted 8 lines
Quoted 5 lines · Hans de Bruin
Would it be possible to send kernel messages to an usbstick? On poweroff my laptop displays a kernel trace and a final message:
poweroff[3114] exited withpreempt_count2/etc/rc.d/rc.0: line 265: 3114 Segementation fault/sbin/poweroff. I don't have a serial cable within reach, but plenty of usbsticks.
Quoted 6 lines
There's a
mtdoops.cindeed, but it currently only works on MTD controlled flash devices, not usb sticks.However usb sticks would need the USB subsystem to be running and it's unlikely that will be the case really late in poweroff. So it might not help.
USB in turn needs PCI, interrupts and DMA.
Regards
Oliver
Quoted 8 lines · Oliver Neukum
Am Saturday 10 January 2009 23:53:15 schrieb Andi Kleen:
Quoted 7 lines
Quoted 5 lines · Hans de Bruin
Would it be possible to send kernel messages to an usbstick? On poweroff my laptop displays a kernel trace and a final message:
poweroff[3114] exited withpreempt_count2/etc/rc.d/rc.0: line 265: 3114 Segementation fault/sbin/poweroff. I don't have a serial cable within reach, but plenty of usbsticks.
Quoted 9 lines
Quoted 6 lines
There's a
mtdoops.cindeed, but it currently only works on MTD controlled flash devices, not usb sticks.However usb sticks would need the USB subsystem to be running and it's unlikely that will be the case really late in poweroff. So it might not help.
USB in turn needs PCI, interrupts and DMA.
I just found out even a serial cable would not help, since the only comm device in my laptop ends in a build in modem. Since there is no parallel printer port either I will have to use pen and paper. In the mean time, rc1 broke my keyboard.
Signature · 1 line
Hans
Quoted 8 lines · Oliver Neukum
Am Saturday 10 January 2009 23:53:15 schrieb Andi Kleen:
Quoted 7 lines
Quoted 5 lines · Hans de Bruin
Would it be possible to send kernel messages to an usbstick? On poweroff my laptop displays a kernel trace and a final message:
poweroff[3114] exited withpreempt_count2/etc/rc.d/rc.0: line 265: 3114 Segementation fault/sbin/poweroff. I don't have a serial cable within reach, but plenty of usbsticks.
Quoted 8 lines
Quoted 6 lines
There's a
mtdoops.cindeed, but it currently only works on MTD controlled flash devices, not usb sticks.However usb sticks would need the USB subsystem to be running and it's unlikely that will be the case really late in poweroff. So it might not help.
USB in turn needs PCI, interrupts and DMA.
..
Dunno about an oops, but I currently use a USB device to display debug messages from the shutdown procedure, all the way to kernel_halt().
So long as the Oops doesn't kill too much low level stuff, it's probably feasible. Except for the very slow write times for many USB storage devices.
Quoted 5 lines · Hans de Bruin
Would it be possible to send kernel messages to an usbstick? On poweroff my laptop displays a kernel trace and a final message:
poweroff[3114] exited withpreempt_count2/etc/rc.d/rc.0: line 265: 3114 Segementation fault/sbin/poweroff.
I don't have a serial cable within reach, but plenty of usbsticks.
The shutdown problem just disappeared.
Signature · 1 line
Hans
Quoted 5 lines · Hans de Bruin
Would it be possible to send kernel messages to an usbstick? On poweroff my laptop displays a kernel trace and a final message:
poweroff[3114] exited withpreempt_count2/etc/rc.d/rc.0: line 265: 3114 Segementation fault/sbin/poweroff. I don't have a serial cable within reach, but plenty of usbsticks.
digital camera :-).
...or green display with *long* phosphor burn time.
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html