Results 1 to 10 of 23
I've built my own kernel, set up everything as usual (note i just installed Debian Etch RC 2), and i reboot, as usual... And i get this unusual error T_T ...
- 04-14-2007 #1Just Joined!
- Join Date
- Jul 2006
- Location
- Rosario, Argentina
- Posts
- 55
Kernel Panic: Invalid or unsupported executable format
I've built my own kernel, set up everything as usual (note i just installed Debian Etch RC 2), and i reboot, as usual... And i get this unusual error T_T says something about it doesnt knows the devfs filesystem and tells me:
Kernel panic: Invalid or unsupported executable format
I have no idea what this could be
:S and btw i don't know if i'm telling all the necessary information... anybody takes the risk of helpin me? T_T thanks!
- 04-15-2007 #2
Are you getting the error in grub or after it is actually loading?
Brilliant Mediocrity - Making Failure Look Good
- 04-15-2007 #3Just Joined!
- Join Date
- Jul 2006
- Location
- Rosario, Argentina
- Posts
- 55
Good question
Yay, good question. Nop, it happens after grub, while it's loading; grub works just fine... it also mentions sth about /dev/console not found... I've searched and some1 said to execute the command: MAKEDEV console - it didn't work btw =P
- 04-17-2007 #4Just Joined!
- Join Date
- Jul 2006
- Location
- Rosario, Argentina
- Posts
- 55
More detailed info!
Yay, i took a snapshot of the problem, but i'll transcript the lastest lines anyways for ppl to be able to find this thread on future searches =):
The full log would be here =P:Code:mount: unknown filesystem type 'devfs' SCSI subsystem initialized umount: devfs: not mounted mount: unknown filesystem type 'devfs' NTFS driver 2.1.27 [Flags: R/W MODULE] umount: devfs: not mounted pivot_root: No such file or directory /sbin/init: 432: cannot open dev/console: No such file Kernel panic - not syncing: Attempted to kill init!

Anyways i think i've copied the most important stuff.
Thanks for the help =)
- 04-17-2007 #5
Did you recompile the kernel with devfs enabled? 2.6 uses udev instead....
Do you still have the old kernel installed? Can you boot with that?
First, try adding this to your kernel line devfs=nomount
If that doesn't work, use a live cd or rescue cd and
http://webpages.charter.net/decibels....html#consnullCode:cd /dev mknod -m 660 console c 5 1 mknod -m 660 null c 1 3
Brilliant Mediocrity - Making Failure Look Good
- 04-17-2007 #6Just Joined!
- Join Date
- Jul 2006
- Location
- Rosario, Argentina
- Posts
- 55
Course
course, i never never take my base kernel out of grub.
btw i have no idea where you want me to edit the kernel xD i mean, so i could add the devfs=nomount thingy... and i've no idea what devfs is xD i just did make menuconfig as always when setting up my own kernel... anyways what's best thing to do?
- 04-17-2007 #7
you need to edit grub. In most cases it will be at
Near the bottom of the file there will be something that looks like this (this is mine)Code:/boot/grub/menu.lst
make the 2nd line into kernel /boot/vmlinuz-2.6.18-4-k7 root=/dev/hda1 ro devfs=nomountCode:title Debian GNU/Linux, kernel 2.6.18-4-k7 root (hd0,0) kernel /boot/vmlinuz-2.6.18-4-k7 root=/dev/hda1 ro initrd /boot/initrd.img-2.6.18-4-k7 savedefault
Just make sure it is for the kernel you madeBrilliant Mediocrity - Making Failure Look Good
- 04-17-2007 #8Just Joined!
- Join Date
- Jul 2006
- Location
- Rosario, Argentina
- Posts
- 55
aw
nop... that won't work... all errors are same and has same kernel panic =/ nothin changed... yes, i've put it on the right place, i'm stupid but not that much xD here's my kernel at grub
any other trick on mind?Code:title MyDebian Linux, kernel 2.6.19.7 root (hd0,4) kernel /boot/vmlinuz-2.6.19.7 root=/dev/sda5 ro devfs=nomount initrd /boot/initrd.img-2.6.19.7 savedefault
- 04-17-2007 #9
what number kernel was installed by debian by default?
Brilliant Mediocrity - Making Failure Look Good
- 04-17-2007 #10Just Joined!
- Join Date
- Jul 2006
- Location
- Rosario, Argentina
- Posts
- 55
copied =P
i got Pentium 4 and SATA hd =PCode:title Debian GNU/Linux, kernel 2.6.18-4-686 root (hd0,4) kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/sda5 ro initrd /boot/initrd.img-2.6.18-4-686 savedefault


Reply With Quote
