Hello Joey, > What we really need is the line from /proc/bus/pci/devices that ends in > "sungem" after you've loaded the module. Without this info we don't have > enough data to add to the hardware detection database.
There is no line ending with sungem in the above file. ---- /proc/bus/pci # cat devices | grep sun /proc/bus/pci # ---- and this although sungem is loaded as a module: ---- /proc/bus/pci # lsmod | grep sun sungem 37124 0 crc32 5120 1 sungem sungem_phy 10496 1 sungem ---- I've looked up the PCI device number (106b:0051), and it corresponds to the Shasta (Sun GEM) Ethernet Controller of Apple [1,2,3]. According to Benjamin Herrenschmidt, the kernel is missing the proper PCI ID for this particular chip (because it is quite recent). There are a few patches around [4] that I plan to try to build a kernel that will work on my machine. Apparently it has a similar chipset at the new iMac G5, so the same patches should apply. Kind regards Francois [1] http://pciids.sourceforge.net/pci.ids [2] http://www.pcidatabase.com/reports.php?type=tab-delimeted [3] http://developer.apple.com/documentation/Hardware/Developer_Notes/Macintosh_CPUs-G5/PowerMacG5_SP/2Architecture/chapter_3_section_7.html [4] http://ozlabs.org/ppc64-patches/ > On Fri, 2005-03-11 at 19:41, Joey Hess wrote: > Francois wrote: > > The network hardware detection does not detect any ethernet card (though > > I've got one). I'm then asked by d-i to select a card type from a menu. > > I select sungem (Benjamin Herrenschmidt has confirmed me that all recent > > Apple machines have a sungem), but d-i brings me back to the card > > selection menu. > > This looks like two separate bugs, we have a d-i bug that it does not > know what module to load for your ethernet card, and unforutnatly also > apparently a kernel bug in that it does not work with your ethernet > card. > > > lspci is not available, but here is an extract from /proc/pci (I don't > > copy everything, as I have no way to cut and paste from the console to > > my mailer ;o/ ): > > > > ------ > > ~ # cat /proc/pci > > <snip/> > > Bus 3, device 15, function 0: > > Ethernet controller: PCI device 106b:0051 (Apple Computer Inc.) (rev 0). > > IRQ 40 > > Master Capable. Latency=16. Min Gnt=64.Max Lat=64. > > Non-prefetchable 32 bit memory at 0x80400000 [0x805fffff] > > <snip/> > > ------- > > What we really need is the line from /proc/bus/pci/devices that ends in > "sungem" after you've loaded the module. Without this info we don't have > enough data to add to the hardware detection database. > > > If I try ifconfig eth0 though I get > > ------- > > /usr/bin # ifconfig eth0 > > ifconfig: eth0: error fetching interface information: Device not found > > ------- > > Is there anything interesting in dmesg at this point? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]