Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 01-01-2006, 09:43 PM   #1 (permalink)
macdude425's Avatar
 
Member (again)

Join Date: Jan 2005

Location: Raul's Wild Kingdom...How 'bout that, huh?

Posts: 4,200

macdude425 is on a distinguished road

Send a message via AIM to macdude425 Send a message via Yahoo to macdude425
Default Kernel Problems

So, I downloaded the source for 2.6.14.5 and installed it as I was told to on the Debian website. But now, whenever I get to yaboot, and hit "L" for Linux, I get the following message:
Code:
/pci@f2000000/pci-bridge@d/mac-io@7/ata-3@20000/disk@1:2,/boot/inirtd.img not found
So, it brings me to an Open Firmware prompt, and if I run boot or mac-boot sometimes it fixes it. Then, as the kernel is booting, I get something like this:
Code:
Root filesystem not found or has bad blocks: /dev/hdd2
Put a valid root= line in your boot file.
System will reboot in 180 seconds (0)
But it never reboots: a cpu(0) panic shows up, and keeps repeating itself until I hit the reset button.

What could be wrong?

TIA.
__________________



Debian Support Forums!
macdude425 is offline  
Old 01-02-2006, 08:00 AM   #2 (permalink)
 
Junior Techie

Join Date: Nov 2005

Posts: 74

philg

Default

Sounds like you haven't created an initrd, or named it properly. The initrd contains modules that are needed to mount the filesytem (eg ext3 or reiserfs)

The other alternative is to compile support for everything needed for the kernel to access the file system, ie compile support for your ide controller and file system directly into the kernel, not as modules.

EDIT:

Code:
pci@f2000000/pci-bridge@d/mac-io@7/ata-3@20000/disk@1:2,/boot/inirtd.img not found
In fact I would guess that in your boot managers configuration file you have spelt initrd.img incorrectly
philg is offline  
Old 01-02-2006, 09:55 AM   #3 (permalink)
macdude425's Avatar
 
Member (again)

Join Date: Jan 2005

Location: Raul's Wild Kingdom...How 'bout that, huh?

Posts: 4,200

macdude425 is on a distinguished road

Send a message via AIM to macdude425 Send a message via Yahoo to macdude425
Default

Quote:
Originally posted by philg
In fact I would guess that in your boot managers configuration file you have spelt initrd.img incorrectly
Sorry, I was doing that off the top of my head and misspelled it. This is THE line from the bootloader:
Code:
initrd=/boot/initrd.img
So, how would I go about creating one?
__________________



Debian Support Forums!
macdude425 is offline  
Old 01-02-2006, 10:12 AM   #4 (permalink)
 
Junior Techie

Join Date: Nov 2005

Posts: 74

philg

Default

Consult your debian kernel compilation guide, it would be something like (pulled from the man page)
Code:
mkinitrd -c -k 2.6.7 -m jbd:ext3 -f ext3 -r /dev/hdb3
, adjust for what modules you need and the kernel version.

I use the reiserfs file system and compile reiserfs support along with support for my hardware directly in the kernel so I have no need for an initrd, and as such don't have much experience making them. If I had compiled reiserfs support as a module, which is what Pat does (Slackware maintainer) for the 2.6.x series then I would make me an initrd thusly:
Code:
mkinitrd -c -k 2.6.14.3 -m reiserfs -o /boot/initrd-2.6.14.3.gz

__________________
www.pdgaskell.co.uk
philg is offline  
Old 01-02-2006, 03:00 PM   #5 (permalink)
macdude425's Avatar
 
Member (again)

Join Date: Jan 2005

Location: Raul's Wild Kingdom...How 'bout that, huh?

Posts: 4,200

macdude425 is on a distinguished road

Send a message via AIM to macdude425 Send a message via Yahoo to macdude425
Default

mkinitrd didn't work--at all. I tried running it with all sorts of arguments and commands, but nothing worked. So, I tried to recompile again, with ext3 support compiled in. Now, it just hangs at the serial driver initialization...
__________________



Debian Support Forums!
macdude425 is offline  
Old 01-02-2006, 03:27 PM   #6 (permalink)
 
Junior Techie

Join Date: Nov 2005

Posts: 74

philg

Default

You're missing support for a particular device.

Are you running on a mac? I am unfamiliar with mac hardware so don't know what to suggest otherwise than go into the debian source repository and get the config file for the most recent 2.6.x kernel and base the configuration for your new kernel off of that.
__________________
www.pdgaskell.co.uk
philg is offline  
Old 01-02-2006, 08:08 PM   #7 (permalink)
macdude425's Avatar
 
Member (again)

Join Date: Jan 2005

Location: Raul's Wild Kingdom...How 'bout that, huh?

Posts: 4,200

macdude425 is on a distinguished road

Send a message via AIM to macdude425 Send a message via Yahoo to macdude425
Default

Yes, it's running on my Mac. I'll try that and see what happens.
__________________



Debian Support Forums!
macdude425 is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On