Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Install good but can't boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
rickj
Guru
Guru


Joined: 06 Feb 2003
Posts: 427
Location: Calgary, Alberta, Canada

PostPosted: Tue Feb 11, 2003 10:14 pm    Post subject: Install good but can't boot Reply with quote

I finally got an install to work right from stage1, but I can't boot the resulting system.

I saw several posts about trouble with GRUB on my motherboard, so I chose the well-tried LILO. Built a kernel with nothing special about it. The boot starts well, but shortly after checking the filesystems it suddenly goes into a loop printing:

kmod: failed to exec /sbin/modprobe -s -k binfmt-464c errno=8

Since this is a fast loop, the rest of the boot messages rapidly scroll off the screen so I'm not sure exactly what starts the rot.

Attempts to boot from a bootdisk created with dd result in:

Loading.................................................................
Uncompressing Linux...
invalid compressed format (err=2)

-- System halted

I've checked the obvious stuff: fstab is OK, make.conf is pretty simple, and I chose the vanilla-sources for my first kernel under Gentoo. The system runs well from the CDROM, and has done a lot of compiling by now, so the hardware can't be too bad. There seems to be no such file as binfmt-464c anywhere., and I have no idea what it might do for me if I had one.

System is an Athlon 1333 on an Asus A7N266-VM motherboard, nVidia chipset, 512M DDR RAM, 20G hard disc.
Back to top
View user's profile Send private message
herring
Apprentice
Apprentice


Joined: 22 Jul 2002
Posts: 187
Location: Norway

PostPosted: Tue Feb 11, 2003 11:09 pm    Post subject: Re: Install good but can't boot Reply with quote

never seen it before, but quick search at www.google.com
came up with this one:
http://www.uwsg.iu.edu/hypermail/linux/kernel/0102.3/0006.html
Back to top
View user's profile Send private message
rickj
Guru
Guru


Joined: 06 Feb 2003
Posts: 427
Location: Calgary, Alberta, Canada

PostPosted: Tue Feb 11, 2003 11:22 pm    Post subject: Reply with quote

Thank you. That tells us what the file is, which is somewhat helpful.

If modprobe merely searches for a file and can't find it the message (on my ancient Red Hat 7.2 system) is:

# /sbin/modprobe binfmt-464c
modprobe: Can't locate module binfmt-464c

which is a little different. It is not clear why we wish to execute an ELF file anyway. But at least we now have some clues. I'll keep trying.
Back to top
View user's profile Send private message
herring
Apprentice
Apprentice


Joined: 22 Jul 2002
Posts: 187
Location: Norway

PostPosted: Wed Feb 12, 2003 12:02 am    Post subject: Reply with quote

rickj wrote:
Thank you. That tells us what the file is, which is somewhat helpful.

If modprobe merely searches for a file and can't find it the message (on my ancient Red Hat 7.2 system) is:

# /sbin/modprobe binfmt-464c
modprobe: Can't locate module binfmt-464c

which is a little different. It is not clear why we wish to execute an ELF file anyway. But at least we now have some clues. I'll keep trying.


Executable linux files are either in ELF or a.out format (don't ask for more)
ELF is probably safer or something, a.out is the old format.
Make sure ELF related "stuff" is set during make menuconfig, maybe add module support for a.out if your going to use an old executable laying around (which is not very likely when building a gentoo system).

Anyhow, kernel tries to run/load a executable, not sure which, but it seems to be damaged and kernel then tries to load the non-existing module for ELF-support as a final resort, and exits with this strange error
Back to top
View user's profile Send private message
kraylus
l33t
l33t


Joined: 07 Jun 2002
Posts: 648
Location: ft.worth.tx

PostPosted: Wed Feb 12, 2003 12:21 am    Post subject: Reply with quote

last time i got something like that was because i did make zImage instead of bzImage.
_________________
I used gentoo BEFORE it was cool.
Back to top
View user's profile Send private message
G_Man
n00b
n00b


Joined: 12 Feb 2003
Posts: 2
Location: Brisbane Aust.

PostPosted: Wed Feb 12, 2003 3:31 pm    Post subject: Reply with quote

Ok, I just finished solving this same problem myself ...

When configuring the kernel you have to make sure that ELF support is compiled in ... NOT as a module. If you recompile with this option, you should be set.

Hope this works for you.

Geoffrey.
Back to top
View user's profile Send private message
rickj
Guru
Guru


Joined: 06 Feb 2003
Posts: 427
Location: Calgary, Alberta, Canada

PostPosted: Wed Feb 12, 2003 6:32 pm    Post subject: Reply with quote

G_Man's fix works for me.

How embarrasing - I thought ELF had gone mythical. So I quite deliberately didn't include it in my new kernel, trying to keep size down to allow a floppy reboot.

Thanks to G_Man, and all who contributed to sorting out my problems.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum