When I try to use a raid as root, my system panics.
I want to read the kernel output right before the panic, but can't scroll up. After Googling a bit, I wanted to try netconsole. but I get no output at all on the 2nd machine
relevant parts of my current grub.conf
title Gentoo Linux 3.0.6 root (hd0,0) kernel /boot/linux-3.0.6-gentoo root=/dev/md3 title Gentoo Linux 3.0.6 (debug netconsole) root (hd0,0) kernel /boot/linux-3.0.6-gentoo-debug root=/dev/md3 netconsole=@/,[email protected]/00:18:f3:a8:09:61 #kernel /boot/linux-3.0.6-gentoo-debug root=/dev/md3 [email protected]/eth0,[email protected]/00:18:f3:a8:09:61 title Gentoo Linux 3.0.6 (no root/auto root) root (hd0,0) kernel /boot/linux-3.0.6-gentoo
- the 1st fails with a kernel panic
- the 2nd is the one i try to use netconsole
- the 3th starts but use the wrong/old root
The other computer is running a Kubuntu LiveCD where I started
nc -u -l 6666.
And if I start the (first) computer with 3th grub option, I can run
nc -u 192.168.0.27 6666 to communicate with the 2nd computer.
The difference between
/boot/linux-3.0.6-gentoo-debug is that I enabled:
- Kernel hacking -> Kernel debugging
- Kernel hacking -> Delay each boot printk message by N milliseconds
- Device Drivers -> Network device support -> Network console logging support
- Is my (2nd) grub config correctly defined?
- Are there more kernel config options I should be enabling?
- Is there more information about the specific machine hardware I should provide detail for?
- Is there some way to just enable me to scroll back up after a panic?