LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   ndiswrapper Old Thinkpad 760XL wireless problems (https://www.linuxquestions.org/questions/slackware-14/ndiswrapper-old-thinkpad-760xl-wireless-problems-421405/)

curos 03-03-2006 08:12 PM

ndiswrapper Old Thinkpad 760XL wireless problems
 
Kernel 2.4.31
Slackware 10.2

I'm not sure where to go from here, and one thought that came to mind was that maybe the old Thinkpad 760XL doesn't support cardbus32, but maybe that's a crazy thought. Anyway

Does this mean its carbus 16 only?
Code:

00:02.0 CardBus bridge: Texas Instruments PCI1130 (rev 04)
        Flags: bus master, medium devsel, latency 168
        Memory at 10811000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=01, subordinate=03, sec-latency=176
        Memory window 0: 10000000-103ff000 (prefetchable)
        Memory window 1: 10400000-107ff000
        I/O window 0: 00004000-000040ff
        I/O window 1: 00004400-000044ff
        16-bit legacy interface ports at 0001

00:02.1 CardBus bridge: Texas Instruments PCI1130 (rev 04)
        Flags: bus master, medium devsel, latency 168
        Memory at 10810000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=04, subordinate=06, sec-latency=176
        Memory window 0: 10c00000-10fff000 (prefetchable)
        Memory window 1: 11000000-113ff000
        I/O window 0: 00004800-000048ff
        I/O window 1: 00004c00-00004cff
        Secondary status: SERR
        16-bit legacy interface ports at 0001


lspci -n and found out this:
04:00.0 Class 0200: 11ab:1faa (rev 03)
Code:

04:00.0 Ethernet controller: Marvell Technology Group Ltd. 88w8335 [Libertas] 802.11b/g Wireless (rev 03)
        Subsystem: Netgear: Unknown device 4e00
        Flags: bus master, 66Mhz, medium devsel, latency 64
        Memory at 11000000 (32-bit, non-prefetchable) [size=64K]
        Memory at 11010000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [40] Power Management version 2

It's a Marvell chipset supported by ndiswrapper. Went to go install the WinXP driver from the cd

Code:

# ndiswrapper -i WG511v2.INF
Installing wg511v2
Forcing parameter AdhocGMode|1 to AdhocGMode|0
#ndiswrapper -l
Installed drivers:
wg511v2        driver installed, hardware present

Did a modprobe ndiswrapper but wlan0 does not show up in ifconfig. End of dmesg says:
Code:

ndiswrapper version 1.10 loaded (preempt=no,smp=no)
ndiswrapper: driver wg511v2 (NETGEAR,09/17/2004,3.1.0.19) loaded
PCI: No IRQ known for interrupt pin A of device 04:00.0. Please try using pci=biosirq.
PCI: Setting latency timer of device 04:00.0 to 64
ndiswrapper: request for irq 0 failed
ndiswrapper (miniport_init:227): couldn't initialize device: C0000001
ndiswrapper (pnp_start_device:533): Windows driver couldn't initialize the device (C0000001)
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A

Not sure what to do next, the led lights on the thing don't even flash on.

onebuck 03-03-2006 10:53 PM

Hi,

I've been working on my 760s' wireless a long time. Might I suggest you try the win2k drivers instead of the winxp.

The 4k vs 8k stack can cause some headaches. You can use the 2.6 kernel and change the stack and get rid of some of the problem.

I've found some success with using the win2k vs the winxp drivers when using ndiswrappers. I also found that the IRQ conflicts can be a problem with the TP series.

You should try and get the current drivers from the vendor and not use the ones on the CD for your card.

What does your cardctl give you for ident,status, config?

HTH!

curos 03-04-2006 12:51 AM

Similar output when I try the Win 2000 drivers.
Code:

ndiswrapper version 1.10 loaded (preempt=no,smp=no)
ndiswrapper: driver wg511v2 (NETGEAR,09/17/2004,3.1.0.19) loaded
PCI: No IRQ known for interrupt pin A of device 04:00.0. Please try using pci=biosirq.
PCI: Setting latency timer of device 04:00.0 to 64
ndiswrapper: request for irq 0 failed
ndiswrapper (miniport_init:227): couldn't initialize device: C0000001
ndiswrapper (pnp_start_device:533): Windows driver couldn't initialize the device (C0000001)

Unfortunately can't seem to download latest drivers since the Netgear driver download from their site comes as an exe and I couldn't find an .inf file in there.

What do you mean by 4k vs 8k stacks? I'm not quite familar with that and changing stacks?

cardctl information below. The first socket is my SMC 10/100 network card I'm using to connect currently.


config
Code:

Socket 0:
  Vcc 5.0V  Vpp1 0.0V  Vpp2 0.0V
  interface type is "memory and I/O"
  irq 3 [exclusive] [level]
  function 0:
    config base 0x0400
      option 0x50
    io 0x0300-0x031f [auto]
Socket 1:
  Vcc 3.3V  Vpp1 3.3V  Vpp2 3.3V
  interface type is "cardbus"
  function 0:

ident
Code:

Socket 0:
  product info: "Dual Speed", "10/100 Port Attached PC Card", "1.0", " "
  manfid: 0x0149, 0xc1ab
  function: 6 (network)
Socket 1:
  product info: "Marvell Semiconductor", "88W8310 802.11g Cardbus PC Card", "83", "01"
  manfid: 0x02df, 0x8310
  function: 6 (network)

status
Code:

Socket 0:
  5V 16-bit PC Card
  function 0: [ready]
Socket 1:
  3.3V CardBus card
  function 0: [ready]


onebuck 03-04-2006 10:04 AM

Quote:

Originally Posted by curos
Similar output when I try the Win 2000 drivers.
Code:

ndiswrapper version 1.10 loaded (preempt=no,smp=no)
ndiswrapper: driver wg511v2 (NETGEAR,09/17/2004,3.1.0.19) loaded
PCI: No IRQ known for interrupt pin A of device 04:00.0. Please try using pci=biosirq.
PCI: Setting latency timer of device 04:00.0 to 64
ndiswrapper: request for irq 0 failed
ndiswrapper (miniport_init:227): couldn't initialize device: C0000001
ndiswrapper (pnp_start_device:533): Windows driver couldn't initialize the device (C0000001)

Unfortunately can't seem to download latest drivers since the Netgear driver download from their site comes as an exe and I couldn't find an .inf file in there.

What do you mean by 4k vs 8k stacks? I'm not quite familar with that and changing stacks?

cardctl information below. The first socket is my SMC 10/100 network card I'm using to connect currently.


config
Code:

Socket 0:
  Vcc 5.0V  Vpp1 0.0V  Vpp2 0.0V
  interface type is "memory and I/O"
  irq 3 [exclusive] [level]
  function 0:
    config base 0x0400
      option 0x50
    io 0x0300-0x031f [auto]
Socket 1:
  Vcc 3.3V  Vpp1 3.3V  Vpp2 3.3V
  interface type is "cardbus"
  function 0:

ident
Code:

Socket 0:
  product info: "Dual Speed", "10/100 Port Attached PC Card", "1.0", " "
  manfid: 0x0149, 0xc1ab
  function: 6 (network)
Socket 1:
  product info: "Marvell Semiconductor", "88W8310 802.11g Cardbus PC Card", "83", "01"
  manfid: 0x02df, 0x8310
  function: 6 (network)

status
Code:

Socket 0:
  5V 16-bit PC Card
  function 0: [ready]
Socket 1:
  3.3V CardBus card
  function 0: [ready]



Hi,

One, the exe file needs you to be extracted by running it on a windows os. Then you can copy the files onto floppy,cdrw, flash or network, whatever so as to get it to your linux os.

edit: disregard this. I was thinking about suggesting pcmcia-cs usage and failed to expand on it. Sorry!

Memory serves me right I think your rc.wireless.conf will need tweaked for the high memory. Not on a TP right now so I can't look at my file.

edit: end


Try to get the driver files for this card as suggested.

It looks like your close. Switch the card to the slot 0 and see what happens. Look at your dmesg, cardctl and lspci -vv to trail this.

As for the stack issue, you can work with a 4k stack but you should expect dropouts or overruns. The 8k stack will require
a kernel compile.

A google got this;

http://verens.com/archives/2005/02/2...pset-in-linux/

In the post is a reference for the drivers and a simple install description with ndiswrapper.

So close!

stragatto 03-04-2006 04:10 PM

I had similar problem for a pcmcia ethernet adapter and I could trace it bt looking at dmesg and lspci. The problem was not at driver level, but it was at bios level !
There were in the bios setup some different option for the pcmcia mode. I found the default setting was "Automatic" and I changed it to "cardbus". After that, the pcmcia slots and also the pcmcia card were recognized with the correct IRQ (I could see it by looking at dmesg) and the ethernet card was finally working.


All times are GMT -5. The time now is 05:46 AM.