eth0 and eth1 gone?

Using applications, configuring, problems
Post Reply
Message
Author
sweatshirt
Posts: 9
Joined: Thu 20 Aug 2009, 12:08
Location: NL

eth0 and eth1 gone?

#1 Post by sweatshirt »

Installed Puppy 4.2.1 on Toshiba tecra 8000 laptop (it's old yes).
The speedtouch 110 card for wireless network access wasn't recognized so I compiled from source the driver module (wlags49_h2_cs) for it.
Installed devx_421.sfs and kernel-src-2.6.25.16-patched-puppy4.1.sfs.

Worked with the menu 'Setup/Network Wizard (Old version)" and was able to scan for available networks.
Based on results of scan, a profile was saved.
Trying to get an IP address via DHCP did not succeed however and now my network interfaces (eth0=cable, eth1=wireless) are gone.

Results from dmesg and ifconfig:

Code: Select all

# dmesg
Linux version 2.6.25.16 (root@(none)) (gcc version 4.2.2) #1 Tue Aug 26 10:45:53 GMT-8 2008
... skipped ...
pcmcia: registering new device pcmcia1.0
eth0: Xircom: port 0x2e0, irq 3, hwaddr 00:80:c7:8c:10:6e
pcmcia: registering new device pcmcia0.1
wlags49_h2_cs v7.18 for PCMCIA, 03/31/2004 14:31:00 by Agere Systems, http://www.agere.com
*** Modified for kernel 2.6 by Andrey Borzenkov <arvidjaar@mail.ru> $Revision: 29 $
=== Modified for HermesII by Jan Pieter van Woerkom <agere@jp.dhs.org> $Revision: 4 $
*** Station Mode (STA) Support: YES
*** Access Point Mode (AP) Support: YES
eth1: PRI 31 variant 3 version 2.26
eth1: NIC 1 variant 13 version 1.00
eth1: Wireless, io_addr 0x100, irq 10, mac_address 00:10:C6:30:D7:C0
Clocksource tsc unstable (delta = 367986450 ns)
0.1: ttyS1 at I/O 0x2f8 (irq = 3) is a 16450
eth0: media 10Base2, silicon revision 1
eth1: Wireless, HCF failure: "Timeout on Busy bit drop during BAP setup"

# ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
The network wizard still shows the eth0 and eth1 with appropriate modules though. Wireless files are:

Code: Select all

# cat /etc/network-wizard/network/interfaces/00\:10\:C6\:30\:D7\:C0.conf
IS_WIRELESS='yes'

# cat /etc/network-wizard/wireless/interfaces/00\:10\:C6\:30\:D7\:C0.conf
INT_WPA_DRV=''
USE_WLAN_NG=''

# cat /etc/network-wizard/wireless/profiles/00\:10\:C6\:2B\:62\:7F.WEP.conf
TITLE="SpeedTouchA9A265"
        WPA_DRV=""
        WPA_TYPE=""
        WPA_AP_SCAN=""
        ESSID="SpeedTouchA9A265"
        NWID=""
        KEY="XXXXXXXXXXXXXXXXXXXXXXXXXX"
        MODE="managed"
        SECURE="open"
        FREQ=""
        CHANNEL="7"
        AP_MAC="00:10:C6:2B:62:7F"
As opposed to xubuntu, puppylinux runs fast on this old thing so i would like to get it working.

Anybody have an idea how can I proceed from here?
Thanks in advance.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#2 Post by tempestuous »

The old wlags49 driver is unreliable.
I just patched the hostap_cs driver to support your device. Get it here -
http://www.murga-linux.com/puppy/viewto ... 218#334218

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#3 Post by tempestuous »

A further thought -
my revised hostap_cs driver will probably conflict (or compete) with your wlags49 driver, so it would be a good idea to delete or shift the wlags49 module - it's probably in /lib/modules/2.6.25.16/extra
then run this

Code: Select all

depmod
then reboot.

space_jazz
Posts: 6
Joined: Sat 22 Aug 2009, 15:02
Location: Poland

#4 Post by space_jazz »

Hi,

I have similar problem to "sweatshirt". I installed puppy 4.2.1 on Toshiba 7020CT and it works fine but i can't connect to the internet with my thomson speedtouch 110 pcmcia card.

I installed the patched driver hostap_cs but it still won't work.

Is there any other way to try to get this to work ?

sweatshirt
Posts: 9
Joined: Thu 20 Aug 2009, 12:08
Location: NL

#5 Post by sweatshirt »

@ tempestuous - Thanks for the suggestion. Starting from scratch and adding the hostap module as you suggested doesn't work however.
See below.
The module i tried earlier (wlags49_h2_cs) installed and recognized the card in a proper way at least.
Any suggestion on what to do next?

Code: Select all

# pccardctl ident

Socket 0:
  product info: "Xircom", "CreditCard Ethernet+Modem 33.6", "CEM33", "1.00"
  manfid: 0x0105, 0x110c
  function: 2 (serial)
Socket 1:
  product info: "Agere Systems", "Wireless PC Card Model 0110", "", ""
  manfid: 0x0156, 0x0003
  function: 6 (network)

# dmesg

Linux version 2.6.25.16 (root@(none)) (gcc version 4.2.2) #1 Tue Aug 26 10:45:53 GMT-8 2008

... skipped ...

pccard: PCMCIA card inserted into slot 0
pccard: PCMCIA card inserted into slot 1

... skipped ...

cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0x3e0-0x4ff: clean.
cs: IO port probe 0x100-0x3af: excluding 0x220-0x22f 0x330-0x337 0x378-0x37f 0x388-0x38f
cs: IO port probe 0xa00-0xaff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
pcmcia: registering new device pcmcia0.0
cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0x3e0-0x4ff: clean.
cs: IO port probe 0x100-0x3af: excluding 0x220-0x22f 0x330-0x337 0x378-0x37f 0x388-0x38f
cs: IO port probe 0xa00-0xaff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: excluding 0xa0000000-0xa00fffff
pcmcia: registering new device pcmcia1.0
ieee80211_crypt: registered algorithm 'NULL'
hostap: no version for "struct_module" found: kernel tainted.
eth0: Xircom: port 0x2e0, irq 3, hwaddr 00:80:c7:8c:10:6e
pcmcia: registering new device pcmcia0.1
pcmcia: hostap_cs: invalid hash for product string "Agere Systems": is 0xe175b0dd, should be 0x33103a9b
pcmcia: see Documentation/pcmcia/devicetable.txt for details
pcmcia: hostap_cs: invalid hash for product string "Linksys WCF54G": is 0x733cc81, should be 0x3d35e172
pcmcia: see Documentation/pcmcia/devicetable.txt for details
pcmcia: hostap_cs: invalid hash for product string "Linksys WCF54G": is 0x98a599e1, should be 0x3d35e172
pcmcia: see Documentation/pcmcia/devicetable.txt for details
hostap_cs: setting Vcc=33 (constant)
Checking CFTABLE_ENTRY 0x05 (default 0x05)
  Vcc mismatch - skipping this entry
Checking CFTABLE_ENTRY 0x07 (default 0x07)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0047, io.base=0x0000, len=128
hostap_cs: Registered netdevice wifi0
hostap_cs: index 0x07: , irq 10, io 0x0400-0x047f
wifi0: init command completed too quickly - retrying
prism2_hw_init: initialized in 28 ms
prism2_enable_aux_port: was not disabled!?
prism2_enable_aux_port: was not enabled!?
wifi0: valid PDA not found
wifi0: NIC: id=0x01 v1.0.13
Could not get RID for component PRI
hostap_cs: Initialization failed
prism2_config() failed
hostap_cs: probe of 1.0 failed with error 1
hostap_cs: setting Vcc=33 (constant)
Checking CFTABLE_ENTRY 0x05 (default 0x05)
  Vcc mismatch - skipping this entry
Checking CFTABLE_ENTRY 0x07 (default 0x07)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0047, io.base=0x0000, len=128
CardServices(RequestIO) returned 29
1.0: RequestIO: Configuration locked
1.0: GetNextTuple: No more items
wifi0: CMD=0x0002 => res=0x7f, resp0=0x0001
hostap_cs: Shutdown failed
prism2_config() failed
hostap_cs: probe of 1.0 failed with error 1
0.1: ttyS1 at I/O 0x2f8 (irq = 3) is a 16450
hostap_cs: setting Vcc=33 (constant)
Checking CFTABLE_ENTRY 0x05 (default 0x05)
  Vcc mismatch - skipping this entry
Checking CFTABLE_ENTRY 0x07 (default 0x07)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0047, io.base=0x0000, len=128
CardServices(RequestIO) returned 30
1.0: RequestIO: Resource in use
1.0: GetNextTuple: No more items
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xffff
wifi0: hfa384x_cmd: entry still in list? (entry=c7218820, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
hostap_cs: Shutdown failed
prism2_config() failed
hostap_cs: probe of 1.0 failed with error 1
[/code]

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#6 Post by tempestuous »

hostap_cs driver revised, but later found to be incompatible with Hermes chipsets.
Attachment removed.
Last edited by tempestuous on Mon 24 Aug 2009, 15:53, edited 1 time in total.

sweatshirt
Posts: 9
Joined: Thu 20 Aug 2009, 12:08
Location: NL

#7 Post by sweatshirt »

@ tempestuous - Ok, could you elaborate a bit on what you have changed?
Currently i have the wlags49_h2_cs module compiled with debug info so i know now that the problem is that it wants the firmware to be loaded.
How would i do that? (no ndiswrapper)

Will try this pep now.
thanks.

sweatshirt
Posts: 9
Joined: Thu 20 Aug 2009, 12:08
Location: NL

#8 Post by sweatshirt »

@ tempestuous - results of new version below:

Code: Select all

>> pccardctl ident

Socket 0:
  product info: "Xircom", "CreditCard Ethernet+Modem 33.6", "CEM33", "1.00"
  manfid: 0x0105, 0x110c
  function: 2 (serial)
Socket 1:
  product info: "Agere Systems", "Wireless PC Card Model 0110", "", ""
  manfid: 0x0156, 0x0003
  function: 6 (network)

>> iwconfig

wifi0     IEEE 802.11-DS  ESSID:"test"  
          Mode:Master  
          Encryption key:off
          
>> dmesg

... skipped

PCI: Bus 1, cardbus bridge: 0000:00:0b.0
  IO window: 0x00001000-0x000010ff
  IO window: 0x00001400-0x000014ff
  PREFETCH window: 0x20000000-0x23ffffff
  MEM window: 0x24000000-0x27ffffff
PCI: Bus 5, cardbus bridge: 0000:00:0b.1
  IO window: 0x00001800-0x000018ff
  IO window: 0x00001c00-0x00001cff
  PREFETCH window: 0x28000000-0x2bffffff
  MEM window: 0x2c000000-0x2fffffff
PCI: Found IRQ 11 for device 0000:00:0b.0
PCI: Setting latency timer of device 0000:00:0b.0 to 64
PCI: Found IRQ 11 for device 0000:00:0b.1
PCI: Setting latency timer of device 0000:00:0b.1 to 64

... skipped ...

pccard: PCMCIA card inserted into slot 0
pccard: PCMCIA card inserted into slot 1

... skipped ...

cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0x3e0-0x4ff: clean.
cs: IO port probe 0x100-0x3af: excluding 0x220-0x22f 0x330-0x337 0x378-0x37f 0x388-0x38f
cs: IO port probe 0xa00-0xaff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
pcmcia: registering new device pcmcia0.0
cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0x3e0-0x4ff: clean.
cs: IO port probe 0x100-0x3af: excluding 0x220-0x22f 0x330-0x337 0x378-0x37f 0x388-0x38f
cs: IO port probe 0xa00-0xaff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: excluding 0xa0000000-0xa00fffff
pcmcia: registering new device pcmcia1.0
eth0: Xircom: port 0x2e0, irq 3, hwaddr 00:80:c7:8c:10:6e
pcmcia: registering new device pcmcia0.1
ieee80211_crypt: registered algorithm 'NULL'
hostap: no version for "struct_module" found: kernel tainted.
hostap_cs: setting Vcc=33 (constant)
Checking CFTABLE_ENTRY 0x05 (default 0x05)
  Vcc mismatch - skipping this entry
Checking CFTABLE_ENTRY 0x07 (default 0x07)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0047, io.base=0x0000, len=128
hostap_cs: Registered netdevice wifi0
hostap_cs: index 0x07: , irq 10, io 0x0400-0x047f
wifi0: init command completed too quickly - retrying
prism2_hw_init: initialized in 24 ms
prism2_enable_aux_port: was not disabled!?
prism2_enable_aux_port: was not enabled!?
wifi0: valid PDA not found
wifi0: NIC: id=0x01 v1.0.13
Could not get RID for component PRI
hostap_cs: Initialization failed
prism2_config() failed
hostap_cs: probe of 1.0 failed with error 1
hostap_cs: setting Vcc=33 (constant)
Checking CFTABLE_ENTRY 0x05 (default 0x05)
  Vcc mismatch - skipping this entry
Checking CFTABLE_ENTRY 0x07 (default 0x07)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0047, io.base=0x0000, len=128
CardServices(RequestIO) returned 29
1.0: RequestIO: Configuration locked
1.0: GetNextTuple: No more items
wifi0: CMD=0x0002 => res=0x7f, resp0=0x0001
hostap_cs: Shutdown failed
prism2_config() failed
hostap_cs: probe of 1.0 failed with error 1
0.1: ttyS1 at I/O 0x2f8 (irq = 3) is a 16450
hostap_cs: setting Vcc=33 (constant)
Checking CFTABLE_ENTRY 0x05 (default 0x05)
  Vcc mismatch - skipping this entry
Checking CFTABLE_ENTRY 0x07 (default 0x07)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0047, io.base=0x0000, len=128
CardServices(RequestIO) returned 30
1.0: RequestIO: Resource in use
1.0: GetNextTuple: No more items
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xffff
wifi0: hfa384x_cmd: entry still in list? (entry=c7ae3120, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
hostap_cs: Shutdown failed
prism2_config() failed
hostap_cs: probe of 1.0 failed with error 1
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xffff
wifi0: hfa384x_cmd: entry still in list? (entry=c7995660, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fdc6, len=12)
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xffff
wifi0: hfa384x_cmd: entry still in list? (entry=c7995660, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fdc1, len=2)
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xffff
wifi0: hfa384x_cmd: entry still in list? (entry=c7995660, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fdc6, len=12)
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xffff
wifi0: hfa384x_cmd: entry still in list? (entry=c7995660, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fd42, len=6)
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xffff
wifi0: hfa384x_cmd: entry still in list? (entry=c7995660, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fc84, len=2)
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xffff
wifi0: hfa384x_cmd: entry still in list? (entry=c7995660, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fc09, len=2)
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xffff
wifi0: hfa384x_cmd: entry still in list? (entry=c7995660, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fc0e, len=34)
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xffff
wifi0: hfa384x_cmd: entry still in list? (entry=c7995660, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fc06, len=2)
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xffff
wifi0: hfa384x_cmd: entry still in list? (entry=c7995660, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fd48, len=2)
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xffff
wifi0: hfa384x_cmd: entry still in list? (entry=c7995660, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fc83, len=2)
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xffff
wifi0: hfa384x_cmd: entry still in list? (entry=c7995660, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fc82, len=2)
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xffff
wifi0: hfa384x_cmd: entry still in list? (entry=c79955e0, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fdc6, len=12)
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xffff
wifi0: hfa384x_cmd: entry still in list? (entry=c79955e0, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fdc1, len=2)
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xffff
wifi0: hfa384x_cmd: entry still in list? (entry=c79955e0, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fdc6, len=12)
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xffff
wifi0: hfa384x_cmd: entry still in list? (entry=c79955e0, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fd42, len=6)
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xffff
wifi0: hfa384x_cmd: entry still in list? (entry=c79955e0, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fc84, len=2)
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xffff
wifi0: hfa384x_cmd: entry still in list? (entry=c79955e0, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fc09, len=2)
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xffff
wifi0: hfa384x_cmd: entry still in list? (entry=c79955e0, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fc0e, len=34)
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xffff
wifi0: hfa384x_cmd: entry still in list? (entry=c79955e0, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fc06, len=2)
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xffff
wifi0: hfa384x_cmd: entry still in list? (entry=c79955e0, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fd48, len=2)
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xffff
wifi0: hfa384x_cmd: entry still in list? (entry=c79955e0, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fc83, len=2)
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xffff
wifi0: hfa384x_cmd: entry still in list? (entry=c79955e0, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fc82, len=2)
[/code]

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#9 Post by tempestuous »

All I did was paste the device ID's from the wlags source file wl_cs.c into the equivalent hostap source file hostap_cs.c -

Code: Select all

PCMCIA_DEVICE_MANF_CARD(0x0156, 0x0003),
PCMCIA_DEVICE_PROD_ID12("Agere Systems", "Wireless PC Card Model 0110",
		    0x33103a9b, 0xe175b0dd),
PCMCIA_DEVICE_MANF_CARD(0x0156, 0x0004),
PCMCIA_DEVICE_PROD_ID12("Linksys", "WCF54G_Wireless-G_CompactFlash_Card",
            0x0733cc81, 0x98a599e1),
... but clearly the HermesII/II.5 devices are not compatible with the hostap driver.

I just compiled the wlags49 drivers now -
http://www.murga-linux.com/puppy/viewto ... 218#334218
Maybe these will work for you?
sweatshirt wrote:i know now that the problem is that it wants the firmware to be loaded.
Mmm. Like most older wifi modules, the firmware is compiled into the module, itself. And Puppy's kernel has hotplug/firmware loading support ...
I wonder if there is a special udev rule necessary? I Puppy, udev is implemented as "pupevent".

sweatshirt
Posts: 9
Joined: Thu 20 Aug 2009, 12:08
Location: NL

#10 Post by sweatshirt »

@ tempestuous - I can report success!
The compiled wlag49 drivers as pep work ok!
(actually accessing this forum via the wireless interface he).

Only when I reboot/shutdown the driver generates a kernel panic. If one can tell me how to capture the messages, i will post them.

I hadn't found the website of deGroot (who made the module work for the 2.6 kernel) yet despite a lot of searching.

Thank you for the support and effort you put in this. Worthwhile.
If I see how to report the kernel panic messages.

Below some info before and after configuring network access:

* after first boot

Code: Select all

>> dmesg

Linux version 2.6.25.16 (root@(none)) (gcc version 4.2.2) #1 Tue Aug 26 10:45:53 GMT-8 2008

... skipped ...

PCI: Bus 1, cardbus bridge: 0000:00:0b.0
  IO window: 0x00001000-0x000010ff
  IO window: 0x00001400-0x000014ff
  PREFETCH window: 0x20000000-0x23ffffff
  MEM window: 0x24000000-0x27ffffff
PCI: Bus 5, cardbus bridge: 0000:00:0b.1
  IO window: 0x00001800-0x000018ff
  IO window: 0x00001c00-0x00001cff
  PREFETCH window: 0x28000000-0x2bffffff
  MEM window: 0x2c000000-0x2fffffff
PCI: Found IRQ 11 for device 0000:00:0b.0
PCI: Setting latency timer of device 0000:00:0b.0 to 64
PCI: Found IRQ 11 for device 0000:00:0b.1
PCI: Setting latency timer of device 0000:00:0b.1 to 64

... skipped ...

pccard: PCMCIA card inserted into slot 0
pccard: PCMCIA card inserted into slot 1

... skipped ...

pcmcia: registering new device pcmcia1.0
eth0: Xircom: port 0x2e0, irq 3, hwaddr 00:80:c7:8c:10:6e
pcmcia: registering new device pcmcia0.1
wlags49_h2_cs: no version for "struct_module" found: kernel tainted.
wlags49_h2_cs v7.22 for PCMCIA, 07/18/2004 13:30:00 by Agere Systems, http://www.agere.com
*** Modified for kernel 2.6 by Henk de Groot <pe1dnn@amsat.org>
*** Based on 7.18 version by Andrey Borzenkov <arvidjaar@mail.ru> $Revision: 39 $
00:10:C6:30:D7:C0
Clocksource tsc unstable (delta = 371978259 ns)
eth1: Wireless, io_addr 0x400, irq 10, mac_address 00:10:C6:30:D7:C0
0.1: ttyS1 at I/O 0x2f8 (irq = 3) is a 16450

Code: Select all

>> ifconfig eth1

eth1      Link encap:Ethernet  HWaddr 00:10:C6:30:D7:C0  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:10 Base address:0x400 

Code: Select all

>> iwconfig -a

eth1      IEEE 802.11b  ESSID:""  Nickname:"Linux"
          Mode:Managed  Frequency:2.457 GHz  Access Point: None   
          Bit Rate=11.5343 Mb/s   Tx-Power=16 dBm   Sensitivity:1/3  
          RTS thr:off   
          Encryption key:off
          Power Management:off
          Link Quality=0/92  Signal level=-102 dBm  Noise level=-102 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

>> pccardctl status

Socket 0:
  5.0V 16-bit PC Card
  Subdevice 0 (function 0) bound to driver "xirc2ps_cs"
  Subdevice 1 (function 0) bound to driver "serial_cs"
Socket 1:
  5.0V 16-bit PC Card
  Subdevice 0 (function 0) bound to driver "wlags49"

>> pccardctl ident

Socket 0:
  product info: "Xircom", "CreditCard Ethernet+Modem 33.6", "CEM33", "1.00"
  manfid: 0x0105, 0x110c
  function: 2 (serial)
Socket 1:
  product info: "Agere Systems", "Wireless PC Card Model 0110", "", ""
  manfid: 0x0156, 0x0003
  function: 6 (network)
Configured the eth1 interface via Network Wizard: scan, Auto DHCP

Code: Select all

>> iwconfig 
 
lo        no wireless extensions.

irda0     no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11b  ESSID:"SpeedTouchA9A265"  Nickname:"Linux"
          Mode:Managed  Frequency:2.442 GHz  Access Point: 00:10:C6:2B:62:7F   
          Bit Rate=11.5343 Mb/s   Tx-Power=16 dBm   Sensitivity:1/3  
          RTS thr:off   
          Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX
          Power Management:off
          Link Quality=43/92  Signal level=-50 dBm  Noise level=-93 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

>> ifconfig eth1

eth1      Link encap:Ethernet  HWaddr 00:10:C6:30:D7:C0  
          inet addr:10.0.0.161  Bcast:10.0.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:770 (770.0 B)  TX bytes:905 (905.0 B)
          Interrupt:10 Base address:0x400 

space_jazz
Posts: 6
Joined: Sat 22 Aug 2009, 15:02
Location: Poland

#11 Post by space_jazz »

I had some troubles... after installing the package Hermes 2-2.5.... my card (thomson speedtouch 110) still wasn't recognized. When i use to try install the module manually the system was freezed.

Then i decdide to unistall previous version of package with patched driver posted by you.... from this moment everything goes really bad - all the modules listed in network manager has dissapear so i was unable to choose something... and at least i started to use option auto-probe. After many false probes, at the end the wlags module was loaded and the card now working.

The main problem with this driver at this moment is the kernel panic at shutdown/reboot system.

Big thanks tempestuous for your work and help on this driver !

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#12 Post by tempestuous »

sweatshirt wrote:Only when I reboot/shutdown the driver generates a kernel panic.
I suspect the module needs to be unloaded before shutdown. Try this:
open /etc/rc.d/rc.shutdown in Geany. Around line 465 you will see this -

Code: Select all

/etc/rc.d/rc.network stop
Add a new line below it, with this -

Code: Select all

rmmod wlags49_h2_cs
Save.
Now see if you can do a clean shutdown.

sweatshirt
Posts: 9
Joined: Thu 20 Aug 2009, 12:08
Location: NL

#13 Post by sweatshirt »

@ tempestuous - Tried it (both rmmod and modprobe -r) but it doesn't work because lsmod reports wlags49_h2_cs as being used.
The use count is 1 but no module is named. This the same for some other modules too though.

Simulated it by doing the

Code: Select all

>> /etc/rc.d/rc.network stop
>> modprobe -r wlags49_h2_cs

Failed: Module wlags49_h2_cs is in use

>> cat /proc/modules

...
wlags49_h2_cs 127368 1 - Live 0xc89b0000 (F)
...
So something else is needed.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#14 Post by tempestuous »

sweatshirt wrote:lsmod reports wlags49_h2_cs as being used.
The use count is 1 but no module is named.
I think you need to get forceful. Try this -

Code: Select all

rmmod -f wlags49_h2_cs

sweatshirt
Posts: 9
Joined: Thu 20 Aug 2009, 12:08
Location: NL

#15 Post by sweatshirt »

Both do not work:

Code: Select all

>> rmmod -f wlags49_h2_cs
ERROR: Removing 'wlags49_h2_cs'. Try again.

>> rmmod -fw wlags49_h2_cs
... waits forever ...

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#16 Post by tempestuous »

I think you should email the author of the driver, describing your problem.
Henk de Groot
pe1dnn at amsat.org

If he suggests a source code modification, I can recompile the driver for you.

space_jazz
Posts: 6
Joined: Sat 22 Aug 2009, 15:02
Location: Poland

#17 Post by space_jazz »

I just bought a cisco 350 aironet pcmcia card and it works out of the box with puppy 4.2.1 . I think it's much more simpler than "fighting" with old driver module for speedtouch wifi.

Post Reply