Bug 114514

Summary: Orinoco wireless card is broken in beta 4
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Joe Harmon <jharmon>
Component: NetworkAssignee: Joachim Gleissner <joachim.gleissner>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: aj
Version: Beta 4   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: hwinfo --netcard
ifup on wireless interface
syslog

Description Joe Harmon 2005-08-31 18:26:54 UTC
I have an orinoco card that was working in beta1, broke in beta2, working in
beta3 and is broke in beta 4. It detect the card and I can configure it through
yast, but it fails to start.
Comment 1 Joe Harmon 2005-08-31 18:28:43 UTC
Here is the wireless card information that I took when 9.3 was on the machine.

39: PCMCIA 02.0: 0282 WLAN controller
  [Created at pcmcia.123]
  Unique ID: CmP0.jpmKAVAATH5
  Parent ID: QOEa.J5lSzbB0WR8
  SysFS ID: /devices/pci0000:00/0000:00:1e.0/0000:02:03.0/2.0
  Hardware Class: network
  Model: "Dell TrueMobile 1150 Series PC Card"
  Hotplug: PCMCIA
  Socket: 2
  Vendor: pcmcia 0x0156 "Dell"
  Device: pcmcia 0x0002 "TrueMobile 1150 Series PC Card"
  Driver: "orinoco_cs"
  Device File: eth1
  Features: WLAN
  HW Address: 00:02:2d:58:05:d2
  WLAN channels: 1 2 3 4 5 6 7 8 9 10 11
  WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457
2.462
  WLAN bitrates: 1 2 5.5 11
  WLAN encryption modes: WEP40 WEP104
  WLAN authentication modes: open sharedkey
  Driver Info #0:
    Driver Status: hostap_cs is not active
    Driver Activation Cmd: "modprobe hostap_cs"
  Driver Info #1:
    Driver Status: orinoco_cs is active
    Driver Activation Cmd: "modprobe orinoco_cs"
  Extra Info: Dell, TrueMobile 1150 Series PC Card, Version 01.01
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #22 (CardBus bridge)
Comment 2 Joachim Gleissner 2005-09-01 09:40:50 UTC
Please add 'ifup eth1' output, /var/log/messages, and 'hwinfo --netcard'  
output of Beta4. 
Comment 3 Joe Harmon 2005-09-01 12:57:33 UTC
> Please add 'ifup eth1' output

Well, that is the part that is interesting. It has always been picked up as eth1
before. The information from comment #1 was when I was using 9.3. Not I have
seen it picked up as wifi0 and/or wlan0. Sometimes both at the same time for the
same card. Regardless I will send you that information, but I just wanted to let
you know what I was seeing. Isn't there also a debug setting that I can put in?

> /var/log/messages, and 'hwinfo --netcard' output of Beta4. 

I will have it for you shortly
Comment 4 Joe Harmon 2005-09-01 13:23:37 UTC
Created attachment 48458 [details]
hwinfo --netcard
Comment 5 Joe Harmon 2005-09-01 13:26:36 UTC
Created attachment 48459 [details]
ifup on wireless interface

When I configure my wireless with yast2, it shows up under ifconfig as wlan0
and wifi0 for the same card. So the log that I sent is trying ifup on both
Comment 6 Joe Harmon 2005-09-01 13:27:20 UTC
Created attachment 48460 [details]
syslog
Comment 7 Joe Harmon 2005-09-01 13:27:50 UTC
Let me know if you need any more information
Comment 8 Joachim Gleissner 2005-09-02 12:59:59 UTC
It seems the card does not work properly with hostap_cs. Could you try whether 
the following helps: 
pccardctl eject 
switch_prism_driver orinoco 
rmmod hostap_cs 
pccardctl insert 
 
Comment 9 Joe Harmon 2005-09-02 13:14:19 UTC
Joachim

Should the card be configured before or after I run these commands?
Comment 10 Joe Harmon 2005-09-02 13:17:48 UTC
Yes that procedure fixed it.
Comment 11 Joachim Gleissner 2005-09-02 13:57:09 UTC
hostap_cs claims to handle devices with manifid 0x0156, 0x0002. But there are  
also Orinco devices that use this id, not only Prism2 ones. I'll change the 
default for those devices to orinoco_cs. That means for Prism2 device with 
that id orinoco_cs gets loaded by default, but as this driver at least works 
with Prism2 devices, it's the much saner default. 
Comment 12 Joachim Gleissner 2005-09-02 14:29:43 UTC
Fix checked in for RC1.