Bug 105598 - Three drivers for the same device loaded at once
Summary: Three drivers for the same device loaded at once
Status: RESOLVED DUPLICATE of bug 106003
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Beta 2
Hardware: Other All
: P5 - None : Normal
Target Milestone: ---
Assignee: Christian Zoz
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-18 15:45 UTC by Lenz Grimmer
Modified: 2005-08-24 19:55 UTC (History)
0 users

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


Attachments
hwinfo.txt (200.45 KB, text/plain)
2005-08-18 15:45 UTC, Lenz Grimmer
Details
y2logs.tgz (193.34 KB, application/x-gzip)
2005-08-18 16:03 UTC, Lenz Grimmer
Details
A tiny hotplug logging howto (2.23 KB, text/plain)
2005-08-19 06:33 UTC, Christian Zoz
Details
The script for nice logging output (1.71 KB, text/plain)
2005-08-19 06:35 UTC, Christian Zoz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lenz Grimmer 2005-08-18 15:45:06 UTC
I have a NetGear MA301 PCMCIA WLAN card in my desktop system that is connected
to the main board via a PCI card. YaST2 discovers this card correctly, but the
WLAN configuration did not succeed. After some investigation it turned out that
three(!) different kernel drivers were loaded for this card at the same time:
orinoco_plx, hostap_plx and prism2_plx. I wonder how that is even possible...

After unloading them and just loading the orinoco_plx module, the WLAN worked...
Comment 1 Lenz Grimmer 2005-08-18 15:45:44 UTC
Created attachment 46559 [details]
hwinfo.txt
Comment 2 Lenz Grimmer 2005-08-18 16:03:36 UTC
Created attachment 46569 [details]
y2logs.tgz
Comment 3 Martin Vidner 2005-08-18 17:00:54 UTC
The modules are loaded even before the network proposal. 
Christian, maybe hotplug does it? How can we find out? 
Comment 4 Lenz Grimmer 2005-08-18 19:13:21 UTC
Could it be ther kernel itself that triggers module loading according to the PCI
ID? modules.pcimap maybe?
Comment 5 Lenz Grimmer 2005-08-18 19:21:33 UTC
After a reboot, only the prism2_plx module was loaded, as it was configured in
/etc/sysconfig/hardware/hwcfg-bus-pci-*
Comment 6 Christian Zoz 2005-08-19 06:33:49 UTC
Created attachment 46628 [details]
A tiny hotplug logging howto
Comment 7 Christian Zoz 2005-08-19 06:35:54 UTC
Created attachment 46629 [details]
The script for nice logging output
Comment 8 Christian Zoz 2005-08-19 06:46:34 UTC
Hi Lenz,

please remove the hwcfg file for your wlan device and follow the attached howto.
The interesting pci events have usually a low sequence number (below 100). So
'show_event_log 1 100 pci > hotplug.pci.log' should show you what hotplug does
for  cpi devices.
Comment 9 Lenz Grimmer 2005-08-19 09:46:29 UTC
Hmm, but this card is not really used as a hot-pluggable device - it should
rather be treated as a built-in PCI network card. In fact, the PLX interface
does not support hot-plugging the PCMICA card. it would probably kill the device.

Does that matter in this case? Or do your instructions above apply nevertheless?
Comment 10 Christian Zoz 2005-08-19 10:56:30 UTC
It does not matter if you can physically hotplug a device. We treat them all the
same way:
detect device --> hotplug event --> initialize device --> register interface (*)
--> hotplug event --> setup interface (*)

Of course there are exceptions, as always, but we tryto minimize them.

(*) /dev/hda is also an interface, even if called device
    register interface can also mean reister new bus system, where we detect new
    devices
Comment 11 Christian Zoz 2005-08-24 19:55:20 UTC
Joe, this is the same case with the *_plx modules.

*** This bug has been marked as a duplicate of 106003 ***