Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30734 - LiveCD mising critical scsi driver for "Oldworld" Mac
Summary: LiveCD mising critical scsi driver for "Oldworld" Mac
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High blocker (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on: 49549
Blocks:
  Show dependency tree
 
Reported: 2003-10-09 00:28 UTC by axelmasok
Modified: 2006-02-04 06:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description axelmasok 2003-10-09 00:28:34 UTC
Gentoo LiveCD 1.4 PPC does not include the sd_mod driver for scsi hard disk
support (as far as I can tell). Boot messages find the MESH scsi controller but
does not search for hard drives nor does it report them (ie no /dev/sda). AFter
booting from BootX and arriving at the shell prompt the only accessible drives
are the CDROM (/dev/sg0 or /dev/scd0) and /dev/sg1 (the sg_mod driver trying to
access the HDD). I have prooven the Gentoo kernel to be at fault by booting
various kernels from ppckernel.org and sourcemage.org and visually seeing the
detection of sda and its partitions (sda1 etc). I can't use these kernels
because of the lack of cloop.o support. I have no other PPC to compile a
suitable replacement kernel and modules.

Reproducible: Always
Steps to Reproduce:
1.Booted kernel and intird from BootX
2.Logged on as root
3.mac-fdisk /dev/sda
4.ls /dev/sd*
5.dmesg
6.modprobe sd_mod
7.find / -iname sd_mod.o

Actual Results:  
3.device not found
4.file not found
5.No reference to sda or partitions 
6.module not found
7.no items found

Expected Results:  
dmesg would show hard drive information and partition information. Devfs would
show /dev/sda as a valid device.
Comment 1 Kelly Price 2004-01-12 09:25:43 UTC
I can confirm this on a OldWorld PowerMac 7200 and any 1.4 LiveCD.

Comment 2 David Holm (RETIRED) gentoo-dev 2004-02-15 04:14:53 UTC
I'm reassigning this to Pieter since he is maintaining the livecd script.
Comment 3 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-03-03 14:36:26 UTC
The ppc 2004.0 kernel has support, but hasn't got module autoloading yet. Pass debug to the kernel, modprobe the module you need, and then exit the busybox shell to continue booting using the live environment. 

Reassigning to genkernel. Since this is a linuxrc issue. it should be possible to pass the device /dev category to look for with my new initrd. This is why automatic module loading is needed.

Feature suggestion for catalyst: check out bootfrom argument in the ppc 2004.0 initrd.
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2004-03-16 15:04:44 UTC
Hmh, I'm reassigning this to the PPC team as genkernel does indeed support autoloading of modules - nobody's added any modules to the PPC configuration available in /usr/share/genkernel/ppc/modules_load and so this is more of a configuration problem - if somebody would like to make a list and attach it here I'd be happy to commit it in with the next Genkernel release.
Comment 5 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-03-17 05:42:41 UTC
There is module autoloading 'on demand' and 'forced' module autoloading. 

Genkernel does 'forced' module autoloading and prevents kmod from autoloading on demand. 
The problem with current 'forced' module autoloading is that:

- different machines require different modules (thermal management, network, scsi cards,...). I could go modprobe all modules on every system, but that will take up much memory and might lead to more kernel oopses.

- genkernel force-loads the same modules for all kernels

I'm ok with genkernel pruning the non-storage modules for the initrd. But the remaining modules should be loaded on demand if possible. 

This being said, does anyone know what configurations ppckernel.org and sourcemage are using? Could you have a look at gentoo/src/genkernel_bradmssw/ppc/ and see whether the G4 configuration (also compatible with G3) has the necessary options for /dev/sda detection enabled?
Comment 6 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-08-19 16:05:18 UTC
2004.2 has the necessary drivers. Please test.
Comment 7 Kelly Price 2004-08-20 20:19:06 UTC
Can't test due to bug 49549.