Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel freezes (no panic) on initrd--older hardware
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
axs
n00b
n00b


Joined: 23 Nov 2004
Posts: 12

PostPosted: Wed Sep 27, 2006 2:55 pm    Post subject: Kernel freezes (no panic) on initrd--older hardware Reply with quote

Hey all -- i've got this old P-MMX laptop with no hdd that ive been trying to make into a network appliance.. It has no cdrom, and it won't boot from USB. I've been using a boot disk with a genkernel kernel and initrd, to try and use a usb flash drive as the root device.

This works (or at least gets further) with my main system -- the initrd loads, finds the root device, mounts it.. However, when i try this on the laptop it freezes right when it should start init.

When i say freezes, i guess i mean it just doesn't start init -- the system is still active (ctrl-alt-del works), unlike when it panics and i can't do anything but cycle its power. Plus when i plug in and unplug the usb flash drive, it spits out the correct messages from usb-storage..

Any ideas? i've tried 2.6.16 and 2.6.17, building with gcc-3.4.6/glibc-2.3 and with gcc-4.1/glibc-2.4 -- no difference. Genkernel 3.3.x and 3.4.x don't seem to make a difference either. The kernel's options do match the hardware in the laptop, as far as i have been able to determine.
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Wed Sep 27, 2006 6:03 pm    Post subject: Reply with quote

I cannot definitively solve your problem, but I can tell you one thing. in my experience, the gentoo bootcd kernels (and, I assume, genkernel, which i've never used) does a pretty bad job of booting on hardware from that era. the problem appears to be the hardware detection stuff and, in general, assumptions the developers made about what anyone's computer ought to have / be capable of in this day and age. well, i have lots of pentiums and many are happily running gentoo. but usually i have to pass in a few (...or maybe several) boot options to the kernel before itll cooperate.

some places to start: don't use a framebuffer. it doesn't really add functionality anyways. don't load acpi or apm on computers that don't support it, or ever, if you can avoid it. Don't load agp support and try to get rid of everything else you can... i highly reccomend turning of kudzu and trying not to autodetect your hardware. if any of that helps, just make sure to boot that way all the time. if not, well then best of luck. [/list]
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
axs
n00b
n00b


Joined: 23 Nov 2004
Posts: 12

PostPosted: Wed Sep 27, 2006 7:12 pm    Post subject: Reply with quote

well given that my kernel and initrd have to fit on a floppy disk, ive done all of that -- no power management, no fb, nothing is turned on that i _know_ isnt there (agp for instance)

what's kudzu? i dont remember seeing anything about that in the kernel, and i definitely dont have it emerged on my build system.
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Wed Sep 27, 2006 7:19 pm    Post subject: Reply with quote

kudzu is RedHat/Fedora's hardware detection program which runs at boot. Wouldn't normally be run during a Getnoo boot — perhaps coldplug does the same thing?
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
axs
n00b
n00b


Joined: 23 Nov 2004
Posts: 12

PostPosted: Thu Sep 28, 2006 1:44 pm    Post subject: Reply with quote

Ah ok, well that's a userspace thing -- this thing stops before init even shows a sign of starting (when using the genkernel initrd -- if i boot to an old harddrive it fails on init too, but i assume that's because the linux install on that hdd is debian potato :)
Back to top
View user's profile Send private message
Corona688
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1204

PostPosted: Thu Sep 28, 2006 6:16 pm    Post subject: Reply with quote

How much memory does this system have? Using an initrd makes it pretty high for old systems. Minimum for the initrd arrangement on the livecd is 64MB.
_________________
Petition for Better 64-bit ATI Drivers - Sign Here
http://www.petitiononline.com/atipet/petition.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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