Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PPC Kernel Panic on boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
n9uxu
n00b
n00b


Joined: 16 Mar 2005
Posts: 7

PostPosted: Wed Apr 06, 2005 11:31 am    Post subject: PPC Kernel Panic on boot Reply with quote

Greetings! Installing 2005.0 on a firewire drive currently connected to a macmini. I'm using genkernel --udev all as I hope to use the drive as a portable desktop for all the macs I'm around during the day. Installation went well with no errors/apm issues until the first reboot when I get the following:

VFS Mounted (ext2 filesystem)
/linuxrc has to be run as the init process as the one with PID of 1. Try adding init="/linuxrc" to the kernel command line or running "exec /linuxrc"
VFS cannot open root device "sda4" or unknown-block (0,0)
Please append "root=" boot option
kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block (0,0)

fstab is as follows:

# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.

# <fs> <mountpoint> <type> <opts> <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda2 /boot ext3 defaults,noatime 1 2
/dev/sda4 / ext3 noatime 0 1
/dev/sda3 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0

# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
none /proc/bus/usb usbfs defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none /dev/shm tmpfs defaults 0 0

and yaboot.conf is:

## yaboot.conf generated by yabootconfig 1.0.8
##
## run: "man yaboot.conf" for details. Do not make changes until you have!!
##
## For a dual-boot menu, add one or more of:
## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ

boot=/dev/sda2
device=/pci@f4000000/firewire@e/node@0050770e00071002/sbp-2/disk@0:
partition=4
root=/dev/sda4
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

image=/boot/kernel-2.6.10-gentoo-r6
label=Linux
read-only
initrd=/boot/initrd-2.6.10-gentoo-r6
initrd-size=8192

Any help appreciated.

Dave
Back to top
View user's profile Send private message
n9uxu
n00b
n00b


Joined: 16 Mar 2005
Posts: 7

PostPosted: Wed Apr 06, 2005 7:33 pm    Post subject: exec Reply with quote

Is anyone else experiencing this problem?

Dave
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Apr 06, 2005 7:39 pm    Post subject: Reply with quote

Are you sure all the needed firewire and scsi drivers are included in the kernel, i.e. not as modules but built in?
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
n9uxu
n00b
n00b


Joined: 16 Mar 2005
Posts: 7

PostPosted: Wed Apr 06, 2005 8:04 pm    Post subject: genkernel Reply with quote

It was my understanding that this is the case with the genkernel build. I could rebuild the kernel from scratch to check, of course.

Dave
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 17916

PostPosted: Wed Apr 06, 2005 8:28 pm    Post subject: Reply with quote

You may see better results in the PPC forum (Moved from Installing Gentoo).
Back to top
View user's profile Send private message
rretz
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2005
Posts: 94
Location: Maastricht (NL)

PostPosted: Wed Apr 06, 2005 8:45 pm    Post subject: Reply with quote

try adding doscsi to the kernel line in the grub.conf file.


"kernel /kernel-2.6.11-gentoo-r5 ....... doscsi"

My problem was solved!!!!!

goodluck
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Thu Apr 07, 2005 4:37 pm    Post subject: Re: genkernel Reply with quote

n9uxu wrote:
It was my understanding that this is the case with the genkernel build.

afaik genkernel builds most things as modules and builds an initrd. The modules you need may or may not be in the initrd genkernel generates.

Quote:
I could rebuild the kernel from scratch to check, of course.

Well, simply looking at the .config file in /usr/src/linux will do actually if all you want to do is check the configuration. :wink:
That should tell you what is included in the kernel and what is build as modules.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3221

PostPosted: Sun Apr 10, 2005 2:43 am    Post subject: Reply with quote

I'm having a similar problem on a fresh install on my iBook G4. Everything looks fine in my yaboot.conf and fstab. I'm using the same kernel conf I used in my iBook G3. I'm at a loss what is happening.

Has anyone made progress with this issue?

EDIT: Nevermind. I used the kernel config from here: http://www.aronchi.org/LinuxOnIBookG4 and everything worked. I still am not sure what went wrong...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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