You are not logged in.

#1 2005-10-09 23:28:37

soloport
Member
Registered: 2005-03-01
Posts: 442

[solved] ifconfig wlan0 up - locks h/w solid

Upgraded my desktop and all is very well.  However, when I upgraded my laptop, wireless broke in a serious way.

Am running a Belkin 54g CardBus through a PCMCIA interface.  If I do a 'modprobe ndiswrapper' or 'ifconfic wlan0 up' the laptop locks up so hard, the mouse doesn't even move.  Prior to the Oct upgrade, all was working.

I've re-installed ndiswrapper and driver, pcmcia-cs, pcmciautils, and got rid of wlan (not needed).  Still locks up, hard.  (Am not using ipw2200.)

/etc/rc.conf:

eth0="dhcp"
wlan0="dhcp"
INTERFACES=(lo eth0)
WIRELESS_PROFILES=(profile0 profile1 profile2)
....
DAEMONS=(syslog-ng hotplug !pcmcia network !ifplugd !wireless netfs crond sshd exim ntpd cups dbus hal iptables)

Am keeping 'wireless' disabled until it doesn't lock up my laptop on boot.

lspci:

00:00.0 Host bridge: VIA Technologies, Inc. P/KN266 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP]
00:0a.0 CardBus bridge: O2 Micro, Inc. OZ6912 Cardbus Controller
00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio Controller (rev 50)
00:11.6 Communication controller: VIA Technologies, Inc. Intel 537 [AC97 Modem] (rev 80)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
01:00.0 VGA compatible controller: S3 Inc. VT8751 [ProSavageDDR P4M266] VGA Controller
02:00.0 Network controller: Broadcom Corporation: Unknown device 4320 (rev 02)

lsmod:

.... (iptables stuff)
ohci_hcd               20100  0
pcspkr                  3680  0
rtc                    10808  0
i2c_prosavage           3840  0
i2c_algo_bit            9096  1 i2c_prosavage
i2c_core               18560  1 i2c_algo_bit
via_rhine              21252  0
mii                     5248  1 via_rhine
... (sound stuff)
via_ircc               24724  0
irda                  128568  1 via_ircc
crc_ccitt               2176  1 irda
ehci_hcd               32904  0
uhci_hcd               32144  0
yenta_socket           23308  1
rsrc_nonstatic         12416  1 yenta_socket
pcmcia_core            37912  2 yenta_socket,rsrc_nonstatic
shpchp                 96388  0
pci_hotplug            27204  1 shpchp
via_agp                 8192  1
agpgart                30160  1 via_agp
usbserial              29416  0
usbcore               114300  5 ohci_hcd,ehci_hcd,uhci_hcd,usbserial
joydev                  8768  0
evdev                   7936  0
tsdev                   6336  0

Any help is appreciated.

[edit]
/etc/modprobe.conf

# OSS Compatibility
install snd-pcm modprobe -i snd-pcm ; modprobe snd-pcm-oss ; true
install snd-seq modprobe -i snd-seq ; modprobe snd-seq-oss ; true

alias wlan0 ndiswrapper

Offline

#2 2005-10-10 06:28:33

ivi3
Member
Registered: 2005-10-06
Posts: 62

Re: [solved] ifconfig wlan0 up - locks h/w solid

Try to downgrade to an older kernel.

For me all 2.6.12 kernels are doing fine with wireless extensions.

greetings
Mathias

Offline

#3 2005-10-11 01:10:21

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: [solved] ifconfig wlan0 up - locks h/w solid

Thanks!

I downgraded all the way to 2.6.11 but now I get "FATAL: ndiswrapper module not found" when I modprobe...

So then I reinstalled ndiswrapper, wireless_tools, etc. and get the same.

(So frustrated.)

Offline

#4 2005-10-11 01:21:20

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: [solved] ifconfig wlan0 up - locks h/w solid

Sounds like reinstall time. Do you have a separate /home and / partition?

Offline

#5 2005-10-11 01:32:00

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: [solved] ifconfig wlan0 up - locks h/w solid

So I did as you suggested, exactly, and installed kernel26-2.6.12

Then I ABS-compiled ndiswrapper-bin and ndiswrapper and 'pacman -A' installed both, in sequence.

Now when I 'modprobe wlan0' I get:
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.12-ARCH/misc/ndiswrapper.ko): Invalid module format

What the heck is that?

Offline

#6 2005-10-11 01:46:33

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: [solved] ifconfig wlan0 up - locks h/w solid

Gullible Jones wrote:

Sounds like reinstall time. Do you have a separate /home and / partition?

I have rsync and other Arch machines with extra disk space... but wow.

When the 0.7 image is done installing and I do my first 'pacman -Syu', how do I handle the birrage of packages coming in and hold back upgrading the kernel?  Will the latest packages even play nice with the original 0.7 image kernel?

I suppose I could:
* backup /home and /
* re-image to 0.7
* upgrade to the 2.6.12 kernel
* blacklist the kernel
* install latest packages
* restore /home and /
* install ndiswrapper
* and *hope* your suggestion works...

but wow.

Offline

#7 2005-10-11 01:54:06

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: [solved] ifconfig wlan0 up - locks h/w solid

I would just back up /etc/ and /home. The rest should be reinstalled manually. If you are going to reinstall, get the packages from the install cd and reboot. At that point you can change devfs instances in menu.lst and fstab to udev then do a full system upgrade.

Offline

#8 2005-10-11 02:06:24

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: [solved] ifconfig wlan0 up - locks h/w solid

Before giving up, I got rid of the ndiswrapper-1.4-1.pkg.tar.gz and ndiswrapper-bin-1.4-1.pkg.tar.gz packages (pacman -R) and -- on a whim -- installed (pacman -A) ndiswrapper-1.2-2.pkg.tar.gz

All's well that ends well, they say.

The ndiswrapper-1.2-2.pkg.tar.gz works with kernel26-2.6.12.2-1.pkg.tar.gz and I now live my life, again, untethered.

Thanks to everyone for your help!

Offline

#9 2005-10-12 08:36:49

bravo90078
Member
Registered: 2005-04-22
Posts: 18

Re: [solved] ifconfig wlan0 up - locks h/w solid

So is there an actual fix for this problem rather than just downgrading?

I'm having the exact same problems.... I have a Linksys WPC11v4 which is a cardbus card and needs ndiswrapper. I can't even boot up if I have the card inserted. It'll lock up even if I try to remove the module...

Offline

#10 2005-10-12 11:10:16

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: [solved] ifconfig wlan0 up - locks h/w solid

Apparently (http://bbs.archlinux.org/viewtopic.php?p=118117#118117) kernel 2.6.13.4 may fix this -- look for it an try it out.

Since Arch is bleeding edge, sometimes one has to wait for breakage to get fixed, I guess.  I am just interested in it working for now.

Offline

#11 2005-10-12 11:44:57

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: [solved] ifconfig wlan0 up - locks h/w solid

The reason the new NDISWrapper probably didn't work with the older kernel (2.6.12) is because the older kernel was compiled with GCC 3.4, while the new NDISWrapper was compiled with GCC 4.   This can cause the "Invalid module format" errors.

Offline

#12 2005-10-12 15:37:57

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [solved] ifconfig wlan0 up - locks h/w solid

I have to apologize for this - when I first tried the 1.4 ndiswrapper, it worked fine, but hung when I tried to rmmod (modprobe -r) it.  Afterwards it no longer worked.  I have no idea if it is possible to downgrade the community packages.

If anyone would like to track this down, try to recompile the ndiswrapper module with "make DEBUG=6" and run "modprobe ndiswrapper debug=6".  It should give you something like this

Mine seems to hang on the set_pm_state stuff (power management).  Turns out acpi seems fugged on my laptop as well, which may be related.

Offline

#13 2005-10-13 02:29:41

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: [solved] ifconfig wlan0 up - locks h/w solid

phrakture wrote:

Turns out acpi seems fugged on my laptop as well, which may be related.

Um, fogive me my ignorance, but if my laptop battery indicator (KDE system tray) seems to work accurately -- progressively indicates charge/discharge and imminent death -- doesn't that imply that acpi is working for me?

Just curious.

Offline

#14 2005-10-13 04:38:08

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [solved] ifconfig wlan0 up - locks h/w solid

soloport wrote:
phrakture wrote:

Turns out acpi seems fugged on my laptop as well, which may be related.

Um, fogive me my ignorance, but if my laptop battery indicator (KDE system tray) seems to work accurately -- progressively indicates charge/discharge and imminent death -- doesn't that imply that acpi is working for me?

Just curious.

For the most part, yes - but for me it's a factor of uptime - for about 10 hours or so, it all works fine... but after that the THRM disappears and battery freaks out...

Offline

#15 2005-10-19 17:21:13

s0lar
Member
Registered: 2005-05-19
Posts: 56

Re: [solved] ifconfig wlan0 up - locks h/w solid

Same here, I installed ndiwswrapper 1.1 from source because the ndiswrapper 1.4 also makes my pc hang when I try to load the module.
Perhaps there could be a ndiswrapper 1.2 package or so in the community for people who have this problem.

Offline

#16 2005-10-19 18:58:05

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [solved] ifconfig wlan0 up - locks h/w solid

The package in community should be a snapshot - 1.4.05<something> - it should work now

Offline

#17 2005-10-24 17:56:55

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: [solved] ifconfig wlan0 up - locks h/w solid

Thanks.  Finally had a chance to try the latest.  It all just works.

Offline

Board footer

Powered by FluxBB