Bug 53731

Summary: lanstreamer TR device not correctly detected
Product: [Retired] Red Hat Linux Reporter: Avi Alkalay <avibrazil>
Component: kudzuAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-09-17 12:01:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Avi Alkalay 2001-09-17 12:01:11 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 95)

Description of problem:
The "IBM|TR Auto LANstreamer" token-ring borad is not correctly being 
detected. Kudzu will not assign the correct driver.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Put a Lanstreamer board in your system
2. Boot your machine to let '/etc/init.d/kudzu start' detect it
3. Look wrong driver assignemnts in /etc/modules.conf 
and /etc/sysconfig/hwconf
	

Actual Results:  Doing 'lspci -v' I got:
-------------------->8-------------------------
00:0b.0 Token ring network controller: IBM TR Auto LANstreamer (rev 02)
        Flags: medium devsel, IRQ 10
        I/O ports at 5000 [size=256]
        Memory at 60000800 (32-bit, non-prefetchable) [size=256]
        Expansion ROM at <unassigned> [disabled] [size=16K]
-------------------->8-------------------------



After running kudzu, I found the following in /etc/sysconfig/hwconf:

-------------------->8-------------------------
-
class: NETWORK
bus: PCI
detached: 0
device: tr
driver: tr
desc: "IBM|TR Auto LANstreamer"
vendorId: 1014
deviceId: 0018
subVendorId: 0000
subDeviceId: 0000
pciType: 1
-
-------------------->8-------------------------



And, in /etc/modules.conf, I found:
-------------------->8-------------------------
alias tr0 tr
-------------------->8-------------------------


Expected Results:  In /etc/sysconfig/hwconf, the correct result must be:
driver: lanstreamer


In /etc/modules.conf, must be:
alias tr0 lanstreamer

Additional info:

Anyway, the lanstreamer driver is buggy, and IBM already sent a fix to AC 
an Linus. I'll open a kernel bug report for this.

Comment 1 Bill Nottingham 2001-09-17 18:14:43 UTC
Driver mapping is fixed in current kudzu (0.99.23-1 or so.)