Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51949 - Live CD on PPC G4 missing Non-Apple SATA kernel modules
Summary: Live CD on PPC G4 missing Non-Apple SATA kernel modules
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: PPC Linux
: High blocker
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-24 14:30 UTC by Jan Örnstedt
Modified: 2004-08-17 04:34 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 Jan Örnstedt 2004-05-24 14:30:39 UTC
No kernel module in the live CD for either sata_sil or 53c1010.

Neither my SeriTek SATA controler or nor my ATTO scsi controler.

Reproducible: Always
Steps to Reproduce:
1. Boot
2. lsmod (no modules)
3. dmesg (no found drives)

Actual Results:  
Nothing. It will only find IDE drives.

Expected Results:  
Detected my controlers and found the drives.

livecd root # lspci
00:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 AGP
00:10.0 VGA compatible controller: ATI Technologies Inc Radeon RV250 If [Radeon 
9000] (rev 01)
01:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 PCI
01:13.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1010 Ultra3 SCSI 
Adapter (rev 01)
01:13.1 SCSI storage controller: LSI Logic / Symbios Logic 53c1010 Ultra3 SCSI 
Adapter (rev 01)
01:14.0 Unknown mass storage controller: Silicon Image, Inc. (formerly CMD 
Technology Inc) Silicon Image Serial ATARaid Controller [ CMD/Sil 3112/3112A ] 
(rev 02)
01:15.0 USB Controller: NEC Corporation USB (rev 43)
01:15.1 USB Controller: NEC Corporation USB (rev 43)
01:15.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
01:17.0 Class ff00: Apple Computer Inc. KeyLargo Mac I/O (rev 03)
01:18.0 USB Controller: Apple Computer Inc. KeyLargo USB
01:19.0 USB Controller: Apple Computer Inc. KeyLargo USB
01:1b.0 USB Controller: NEC Corporation USB (rev 43)
01:1b.1 USB Controller: NEC Corporation USB (rev 43)
01:1b.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
02:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 Internal PCI
02:0d.0 Class ff00: Apple Computer Inc. UniNorth 2 ATA/100
02:0e.0 FireWire (IEEE 1394): Apple Computer Inc. UniNorth 2 FireWire (rev 01)
02:0f.0 Ethernet controller: Apple Computer Inc. UniNorth 2 GMAC (Sun GEM)
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2004-05-24 14:34:18 UTC
Are they under /lib/modules at all?
Comment 2 Jan Örnstedt 2004-05-24 14:39:06 UTC
livecd root # lsmod
Module                  Size  Used by
ipv6                  261264  10
nls_utf8                1920  0
nls_iso8859_15          4640  0
nls_iso8859_1           4032  1
isofs                  35512  1
binfmt_misc            10344  0
ide_scsi               17636  0
sr_mod                 18304  0
zlib_inflate           22336  1 isofs
compressloop            7456  1
cryptoloop              4640  0
loop                   17000  4 compressloop,cryptoloop
Comment 3 Jan Örnstedt 2004-05-24 14:41:28 UTC
These are the only modules availble on the PPC live CD.

/lib/modules/2.6.5-gentoo-G4/kernel/drivers/scsi
/lib/modules/2.6.5-gentoo-G4/kernel/drivers/scsi/BusLogic.ko
/lib/modules/2.6.5-gentoo-G4/kernel/drivers/scsi/advansys.ko
/lib/modules/2.6.5-gentoo-G4/kernel/drivers/scsi/aic7xxx
/lib/modules/2.6.5-gentoo-G4/kernel/drivers/scsi/aic7xxx/aic7xxx.ko
/lib/modules/2.6.5-gentoo-G4/kernel/drivers/scsi/ide-scsi.ko
/lib/modules/2.6.5-gentoo-G4/kernel/drivers/scsi/ips.ko
/lib/modules/2.6.5-gentoo-G4/kernel/drivers/scsi/sr_mod.ko

I have also used the x86 cd and it has drivers for these cards.
Comment 4 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-05-24 15:40:52 UTC
Chris: There are modules on the cd ( only the one(s) for Non-Apple SATA addon cards is/are missing. It's just a matter of adding them. ) The reason for these drivers to be missing is that there are a lot of scsi/ide drivers in the kernel config, and it's hard to figure out what -addon- cards are ppc compatible, because there aren't a lot of users using them. Same thing goes for network cards. For instance: does an Intel or d-link card work when plugged in on ppc, using a ppc machine?

I'll get Jan Ornstedt a 2004.2 prerelease cd asap with the SATA drivers for his addon card enabled. I'd like to point out that the Apple SATA drivers are included, so no need for G5 users to panic :-)
Comment 5 Jan Örnstedt 2004-05-24 16:16:01 UTC
Pieter,

Just one more thing. I also have an ATTO scsi card with out a module as well...

I believe that most PCI cards will work in a new world mac. However it is not possible to boot on non apple disk controllers. 

Though both my SeriTek SATA controler (sata_sil) and my ATTO ( 53c1010 ) are mac boot compatible. They have a slightly different firmware than the generic PC card which has some BIOS compatible firmware...

Anyway I am perfectly happy to try and new Live CD. 

I would just like to add that i have sata_sil cards on an x86 box as well however I have had issues configure them to boot of the sata_sil as well. I have seen a bug here refering to that so please look into adding the same fix as for the x86 environment or it might still be problematic.

/Jan
Comment 6 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-05-24 16:23:42 UTC
I'll enable CONFIG_SCSI_SATA_SIL and CONFIG_FUSION on the next livecd kernel, shouldn't take that long to roll a new livecd version. I'll try to get to it tonight. 
Comment 7 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-05-24 16:38:10 UTC
You're probably talking about http://bugs.gentoo.org/show_bug.cgi?id=46512

but I think that's only valid for 3114, and according to lspci you have 3112 which seems to work ok :-) I'm going to compile both drivers directly into the kernel. If that doesn't work I can always list them as modules to autoload.

Comment 8 Jan Örnstedt 2004-05-24 17:39:50 UTC
Nope this is the bug I mean 51161.
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2004-05-25 04:54:06 UTC
Pieter, keep me informed on what's going on.  Also, are you using catalyst to build your CDs?  Can you send me the .spec files/kernel config once you've gotten it done?
Comment 10 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-05-25 14:03:17 UTC
Yes Chris, like all other archs I've started using catalyst in 2004.0. All other ppc cds before that were build using the ppc-livecd script (in my gentoo/users/pvdabeel cvs space).

Note that I build releases every two days. I would have -tons- of spec files by now, instead I use a wrapper which gets rid of the stage specs (arguments passed on the fly through the command line). For GRP the only thing needed is are the names of the packages. All other stuff (like what profile to use, the version, the snapshot,...) is taken care of by the script.  Are you interested in building ppc releases?
Comment 11 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-05-25 14:13:02 UTC
The cd is ready. Uploading. (will take a few hours). I'll post the url here when upload is complete.
Comment 12 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-05-25 14:15:15 UTC
Chris, I have uploaded that wrapper (a big word for a small script) here:

http://www.metadistribution.org/gentoo/newrelease.sh
Comment 13 Chris Gianelloni (RETIRED) gentoo-dev 2004-05-25 14:41:52 UTC
Thanks.

I am actually just looking to make sure what we have in the catalyst CVS (and the catalyst 1.0.8 release which is coming soon) is capable of building a working release for PPC.

If it all works now, then great!
Comment 14 Jan Örnstedt 2004-05-27 17:23:11 UTC
What happened to that disk image?

Or don't I know where to look?

Regards
Janne
Comment 15 Chris Gianelloni (RETIRED) gentoo-dev 2004-08-17 04:33:25 UTC
Pieter, do the 2004.2 LiveCD's have non-Apple SATA drivers?
Comment 16 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-08-17 04:34:49 UTC
yep