PDA

View Full Version : Wireless D-Link DWL-G650 h/w ver.:C2 f/w.:3.1.6 freeze Toshiba 8200 laptop...


raffe
15th March 2005, 07:58 AM
I had a struggle to install my wireless, you can read more about that here:
http://www.fedoraforum.org/forum/showthread.php?t=44954

But after the solution (acpi=off in kernel startup) I was happy surfing for two days. Then suddenly in the middle of surfing (in the forums here http://www.mpeg-playcenter.com/index.php ) the computer suddenly freeze. And I promise, I have done nothing between working to freeze with updates or nothing, only surfing (don't fix it if it works ;) ).

After that first freeze, it now freeze everytime I put in the pcmcia card. When I put in the card I get this in /var/log/messages (if I use dhcp):
Mar 15 08:25:38 localhost kernel: PCI: Enabling device 0000:0b:00.0 (0000 -> 0002)
Mar 15 08:25:38 localhost kernel: ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
Mar 15 08:25:38 localhost kernel: ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
Mar 15 08:25:38 localhost kernel: ath0: mac 5.9 phy 4.3 radio 4.6
Mar 15 08:25:38 localhost kernel: ath0: 802.11 address: 00:0f:3d:aa:ee:d8
Mar 15 08:25:38 localhost kernel: ath0: Use hw queue 0 for WME_AC_BE traffic
Mar 15 08:25:38 localhost kernel: ath0: Use hw queue 1 for WME_AC_BK traffic
Mar 15 08:25:38 localhost kernel: ath0: Use hw queue 2 for WME_AC_VI traffic
Mar 15 08:25:38 localhost kernel: ath0: Use hw queue 3 for WME_AC_VO traffic
Mar 15 08:25:38 localhost kernel: ath0: Atheros 5212: mem=0x11800000, irq=11
Mar 15 08:25:41 localhost NetworkManager: ath0: Driver support level for 'ath_pci' is fully-supported
Mar 15 08:25:43 localhost dhclient: Can't bind to dhcp address: Address already in use
Mar 15 08:25:43 localhost dhclient: Please make sure there is no other dhcp server
Mar 15 08:25:43 localhost dhclient: running and that there's no entry for dhcp or
Mar 15 08:25:43 localhost dhclient: bootp in /etc/inetd.conf. Also make sure you
Mar 15 08:25:43 localhost dhclient: are not running HP JetAdmin software, which
Mar 15 08:25:43 localhost dhclient: includes a bootp server.
Mar 15 08:25:43 localhost dhclient:
Mar 15 08:25:43 localhost dhclient: If you did not get this software from ftp.isc.org, please
Mar 15 08:25:43 localhost dhclient: get the latest from ftp.isc.org and install that before
Mar 15 08:25:43 localhost dhclient: requesting help.
Mar 15 08:25:43 localhost dhclient:
Mar 15 08:25:43 localhost dhclient: If you did get this software from ftp.isc.org and have not
Mar 15 08:25:43 localhost dhclient: yet read the README, please read it before requesting help.
Mar 15 08:25:43 localhost dhclient: If you intend to request help from the dhcp-server@isc.org
Mar 15 08:25:43 localhost dhclient: mailing list, please read the section on the README about
Mar 15 08:25:43 localhost dhclient: submitting bug reports and requests for help.
Mar 15 08:25:43 localhost dhclient:
Mar 15 08:25:43 localhost dhclient: Please do not under any circumstances send requests for
Mar 15 08:25:43 localhost dhclient: help directly to the authors of this software - please
Mar 15 08:25:43 localhost dhclient: send them to the appropriate mailing list as described in
Mar 15 08:25:43 localhost dhclient: the README file.
Mar 15 08:25:43 localhost dhclient:
Mar 15 08:25:43 localhost dhclient: exiting.

And this with static ip adress:
Mar 15 08:38:40 localhost kernel: PCI: Enabling device 0000:0b:00.0 (0000 -> 0002)
Mar 15 08:38:40 localhost kernel: ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
Mar 15 08:38:40 localhost kernel: ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
Mar 15 08:38:40 localhost kernel: ath0: mac 5.9 phy 4.3 radio 4.6
Mar 15 08:38:40 localhost kernel: ath0: 802.11 address: 00:0f:3d:aa:ee:d8
Mar 15 08:38:40 localhost kernel: ath0: Use hw queue 0 for WME_AC_BE traffic
Mar 15 08:38:40 localhost kernel: ath0: Use hw queue 1 for WME_AC_BK traffic
Mar 15 08:38:40 localhost kernel: ath0: Use hw queue 2 for WME_AC_VI traffic
Mar 15 08:38:40 localhost kernel: ath0: Use hw queue 3 for WME_AC_VO traffic
Mar 15 08:38:40 localhost kernel: ath0: Atheros 5212: mem=0x11800000, irq=11
Mar 15 08:38:43 localhost NetworkManager: ath0: Driver support level for 'ath_pci' is fully-supported

I'm totally lost. Any ideas? :D

VlacDebil
15th March 2005, 04:51 PM
are you using ndiswrapper ?
if yes do you use a kernel with 16k stack ?
(For me It made a big difference)

raffe
15th March 2005, 08:59 PM
I'm using madwifi. But maybe this stack-thing can help me even so? :)
How do I know if I have 16k stack? And what do I do if I have 16k? :confused:
How can I see more info about the freeze (when /var/log/messages don't show error messages)? :confused:

Some more about my fc3:
- I have 2.6.10-1.770_FC3
- Now I remember that I used a USB mouse at the time that the computer freeze the first time. Maybe something with USB? Or maybe not, because it now freeze even without the USB mouse... :cool:

In my messages one line is:
Mar 15 08:38:43 localhost NetworkManager: ath0: Driver support level for 'ath_pci' is fully-supported
And I have "acpi=off" in my kernel grub startup. Can this give some problems like this?

VlacDebil
15th March 2005, 09:36 PM
I dont think the stack is an issue for you: it is only for ndiswrapper since the windows drivers
require a lot of ... " memory ??" (kind of I guess). However, I am not an expert....

Maybe you face the same kind of pb than me : IRQ something... (I am trying to figure out how I can do that)
Apparently, there are too many things in the same IRQ (11) on my laptop (including the USB ports)

I've seen that it can be an issue and I will try configuring it this evening...
I've posted something, but no body answers me.

Hard to be a linux newbie with a very new laptop....

raffe
16th March 2005, 01:49 PM
Yeah, my computer also use IRQ 11 a lot (maybe also for USB, but don't know that for sure). In Windows XP (don't know how to check this in Linux):

Intel(R) PRO/100 VE Network Connection
Memory Range F7DF7000 - F7DF7FFF
I/O Range DEC0 - DEFF
IRQ 11
Toshiba Wireless LAN Mini PCI Card
I/O Range FF40 - FF7F
IRQ 11
D-Link AirPlus DWL-G650 Wireless Cardbus Adapter(rev.C)
Memory Range E7FF0000 - E7FFFFFF
IRQ 11

(But in XP they all work OK together and/or separatelly :) )

raffe
18th March 2005, 01:31 PM
I tried this (I hope i did it the right way):
kernel /boot/vmlinuz-2.6.10-1.770_FC3 ro root=LABEL=/ rhgb quiet pci=noacpi nousb
But my wireless pcmcia nic still freeze my computer when I put it in my laptop, so I guess it was not the USB :rolleyes:

raffe
20th March 2005, 04:12 PM
Happy, happy times!!! :) :rolleyes: :p ;) :D
Found the solution here: http://www.linuxquestions.org/questions/showthread.php?s=&postid=1542122#post1542122 Or actually geeksunny found it here http://forums.gentoo.org/viewtopic.php?t=99753 Where WhiteKnight "told" me this: Reason for this = conflicting resources!

There are two resources, that might conflict:
io-ports
io-memory

First try the io-ports, I think, it's more often the io-ports, which make trouble...

1. IO-ports

In /etc/pcmcia/config.opts are entries for the included io-ports:
Code:
cat /etc/pcmcia/config.opts
#(...snip...)
include port 0x100-0x4ff, port 0x800-0x8ff, port 0xc00-0xcff
#(...snip...)

Now take a look at your already used/reserved io-ports:
Code:
cat /proc/ioports

Make sure, to remove all entries in /etc/pcmcia/config.opts, which are already in use!
Note: cat /proc/ioports shows 4-digit (okay, it's no digit, it's hex) numbers, in /etc/pcmcia/config.opts are 3-digit numbers, so you have to read the 0x100 in /etc/pcmcia/config.opts as 0x0100,

If all of the predefined io-ports are in use, try to choose an adressrange from 0xp00-0xpff, where p, insert a hex-number from 0,1,2,...,9,a,...,f.
This adress must not be listet in /proc/ioports!

1. IO-memory

In /etc/pcmcia/config.opts are entries for the included io-memory:
Code:
cat /etc/pcmcia/config.opts
#(...snip...)
include memory 0xc0000-0xfffff
include memory 0xa0000000-0xa0ffffff, memory 0x60000000-0x60ffffff
#(...snip...)

In the normal case, the cardmgr (it's the "pcmcia-daemon") scans these adress-ranges and searches a free segment, that's not used by another device.
Unfortunately, this could sometimes fail, so you have to comment the predefined "include memory..." entries out and insert new ones.
Try to search an memory-range from 0xp0000-0xpffff and/or 0xp0000000-0xp0ffffff that's not used! Again, check that with:

Code:
cat /proc/iomem

Don't try to use the adressrange, that's assigned to your pcmcia-controller, that will not work.

One last hint... a little bit off-topic, but I wasted too much time, before knowing this: Many pcmcia-Cards are so called pc-cards, the are 16 bit cards!! To use 16-bit pcmcia cards, you must have ISA-support compiled into your kernel.
One example for acutal 16-bit cards: wlan-cards with the atmel chipset seem to be mostly (all of them?) 16-bit cards.

Tanghe Travel Photos on Instagram - Kuala Lumpur Photos on Instagram - El Fasher