Results 1 to 3 of 3
i compliled a custom 2.6.15 kernel, but the system spits out the error "kernel panic- atempt to kill init!" message when i boot it.
what i wish to do is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-27-2006 #1
logging kernel output
i compliled a custom 2.6.15 kernel, but the system spits out the error "kernel panic- atempt to kill init!" message when i boot it.
what i wish to do is log the kernel output so i can compile the kernel again without the certain thing that is causing the problem.
the error seams to occur before the partitions are mounted, so dmesg and syslog are no use to me.
how do i go about this?
thanks
/weed"Time has more than one meaning, and is more than one dimension" - /.unknown
--Registered Linux user #396583--
- 02-09-2006 #2
Hmmm,
does it say something like "unable to mount root FS"?
I think, something's wrong with your kernel config:
Did you compile in the drivers for your harddisk controller?
Did you compile in the filesystem of your root partition?
To answer your question:
You can put a console on the serial line. So you can connect another PC with a NULL-MODEM cable and watch the bootlog with a terminal program like minicom.
You have to enable
Device Drivers --->
Character devices --->
Serial drivers --->
<*> 8250/16550 and compatible serial support [*] Console on 8250/16550 and compatible serial port
When booting this kernel add console=ttyS0,9600 console=tty0 to the kernel boot options.
Have a look at: Documentation/serial-console.txt in your kernel source tree.
regards,
JAN
- 02-10-2006 #3
cool thanks Jan!
i have waited a long, long time for somebody to answer this, Thank you!
thanks again
/weed"Time has more than one meaning, and is more than one dimension" - /.unknown
--Registered Linux user #396583--


Reply With Quote
