Bug 114695 - Apple network card (bmac) is not pci devide
Summary: Apple network card (bmac) is not pci devide
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Beta 4
Hardware: PowerPC All
: P5 - None : Normal
Target Milestone: ---
Assignee: Patrick Kirsch
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-01 13:11 UTC by Patrick Kirsch
Modified: 2006-09-28 13:26 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
hwinfo output (133.48 KB, text/plain)
2005-09-01 13:12 UTC, Patrick Kirsch
Details
getcfg eth0 output (612 bytes, text/plain)
2005-09-01 13:13 UTC, Patrick Kirsch
Details
macio boot event log (6.70 KB, text/plain)
2005-09-06 15:12 UTC, Christian Zoz
Details
ppc-module_device_table-of.patch (4.11 KB, patch)
2005-09-08 10:09 UTC, Olaf Hering
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Kirsch 2005-09-01 13:11:33 UTC
Apple's network card does not load properly, the device is mapped as pci in
/etc/sysconfig/hardware/hwcfg-bus-pci-0000:01:05.0 . IMHO it should be 
/etc/sysconfig/hardware/hwcfg-static-0 

If you need more information, 'apple' currently holds this status.
Comment 1 Patrick Kirsch 2005-09-01 13:12:37 UTC
Created attachment 48455 [details]
hwinfo output
Comment 2 Patrick Kirsch 2005-09-01 13:13:16 UTC
Created attachment 48456 [details]
getcfg eth0 output
Comment 3 Christian Zoz 2005-09-01 14:18:30 UTC
Please describe more detailed. 
Is it a mac-io device? I don't know much about this hardware.

How does the hotplug event for this device look like?

Have a look at /usr/share/doc/packages/udev/README.Logging to watch complete
event processing during boot. Additionally create /events to store all events.
Comment 4 Olaf Hering 2005-09-02 07:50:04 UTC
ls -l /sys/class/net/eth?/device shows it as a macio device.

there is no hotplug event for that, I'm sure getcfg doesnt have to care about them.
Comment 5 Christian Zoz 2005-09-06 15:12:47 UTC
Created attachment 48949 [details]
macio boot event log

There are macio events
Comment 6 Christian Zoz 2005-09-06 15:23:20 UTC
Add a udev rule:
  SUBSYSTEM=="macio", ACTION=="add", RUN+="/sbin/hwup macio-devpath-/sys%p -o
hotplug"
and module should be loaded if modilias is matching.

Patrick, i added this rule. Please reboot and try.

For hwcfg-* configuration support there are two possible solutions:
1) YaST writes hwcfg-bus-macio-..... config files and hwup learns to find them.
No need to patch getcfg, since we try to get rid of it anyway. Have a look at
/etc/sysconfig/hardware/scripts/functions.template. Add the needed functions to
set HWD_BUSNAME and HWD_BUSID and hwup will happily find the file.

2) YaST writes hwcfg-static
Comment 7 Christian Zoz 2005-09-06 15:53:40 UTC
The rule has to be added to /etc/udev/rules.d/50-udev.rules. I fixed this rule
now in udev package. So the modules should be loaded with recent kernels.

Please investigate what YaST does regarding hwcfg file.

The script that creates configuration files for remote installations need to be
fixed. getcfg does not and will not support macio.
Comment 8 Patrick Kirsch 2005-09-07 10:37:06 UTC
ok, the network card loads fine.
Yast now creates one hwcfg-static-0 file and that is for module snd-powermac,
seems quite ok.

Comment 9 Olaf Hering 2005-09-08 10:09:48 UTC
Created attachment 49170 [details]
ppc-module_device_table-of.patch

I have added this patch.
Comment 10 Olaf Hering 2005-09-08 10:10:07 UTC
bmac is now loaded.