Thread: [Ndiswrapper-general] Dell Latitude D500/Intel Pro 2100/2.6.0
Status: Beta
Brought to you by:
pgiri
From: Scott B. <sc...@sb...> - 2004-01-07 13:43:34
|
Hi there, I'm running Gentoo linux with a 2.6.0 kernel. I compiled the kernel myself, so I know for sure that SMP is disabled, and checking the .config file shows CONFIG_SMP is not set. I installed the latest CVS for ndiswrapper, and initially used the Dell drivers. I could insert the module and load the driver, but could not set an SSID, and a iwlist wlan0 scan would cause a segmentation fault every time. I then tried the Acer drivers linked from the site; I still cannot set an SSID and the scan sometimes causes a segmentation fault, and sometimes gives back a bogus network on (from memory) 3241.21GHz. Does anyone have any suggestions? dmesg output follows... ndiswrapper version 0.4+CVS loaded NdisWriteConfiguration --UNIMPLEMENTED-- NdisWriteConfiguration --UNIMPLEMENTED-- NdisWriteConfiguration --UNIMPLEMENTED-- NdisWriteConfiguration --UNIMPLEMENTED-- NdisInitializeString --UNIMPLEMENTED-- NdisWriteConfiguration --UNIMPLEMENTED-- NdisInitializeString --UNIMPLEMENTED-- NdisWriteConfiguration --UNIMPLEMENTED-- NdisInitializeString --UNIMPLEMENTED-- NdisWriteConfiguration --UNIMPLEMENTED-- NdisInitializeString --UNIMPLEMENTED-- NdisWriteConfiguration --UNIMPLEMENTED-- NdisInitializeString --UNIMPLEMENTED-- NdisWriteConfiguration --UNIMPLEMENTED-- NdisWriteConfiguration --UNIMPLEMENTED-- NdisInitializeString --UNIMPLEMENTED-- NdisWriteConfiguration --UNIMPLEMENTED-- NdisInitializeString --UNIMPLEMENTED-- NdisWriteConfiguration --UNIMPLEMENTED-- NdisWriteConfiguration --UNIMPLEMENTED-- wlan0: ndiswrapper ethernet device 00:04:23:86:1d:47 Unable to handle kernel paging request at virtual address 8c5193b2 printing eip: c0218e64 *pde = 00000000 Oops: 0000 [#1] CPU: 0 EIP: 0060:[<c0218e64>] Tainted: P EFLAGS: 00010213 EIP is at memcpy+0x1c/0x35 eax: 00000006 ebx: 00000005 ecx: 00000001 edx: c2ca99d2 esi: 8c5193b2 edi: c2ca99d2 ebp: c2ca99a8 esp: c2ca999c ds: 007b es: 007b ss: 0068 Process iwlist (pid: 4400, threadinfo=c2ca8000 task=c26f1900) Stack: 31806000 c2ca99cc c2ca99e0 c2ca99f8 d0adce9a c2ca99d2 8c5193b2 00000006 cba7807c cba78040 c2ca9a38 c980c980 8b150014 00000001 00000000 00000000 00000000 c980cb26 cb26c980 c986f986 8c5193ae 00000002 cba780b0 c2ca9ed0 Call Trace: [<d0adce9a>] ndis_translate_scan+0x48/0x3e9 [ndiswrapper] [<d0add443>] ndis_get_scan+0xa1/0xf0 [ndiswrapper] [<c013b017>] buffered_rmqueue+0xcc/0x166 [<c013b157>] __alloc_pages+0xa6/0x342 [<c013b017>] buffered_rmqueue+0xcc/0x166 [<c013b157>] __alloc_pages+0xa6/0x342 [<c013846f>] filemap_nopage+0x21c/0x2f9 [<c014492b>] do_no_page+0x1b8/0x374 [<c0144cc1>] handle_mm_fault+0xdf/0x175 [<c0118faf>] do_page_fault+0x358/0x577 [<c014633d>] do_mmap_pgoff+0x3f3/0x6b7 [<c0246570>] SHATransform+0x26/0x128 [<c02467fc>] extract_entropy+0x18a/0x361 [<c010a4f1>] error_code+0x2d/0x38 [<c02468d5>] extract_entropy+0x263/0x361 [<c011a93f>] schedule+0x30c/0x57d [<d0adc076>] doquery+0x76/0x101 [ndiswrapper] [<c012664a>] schedule_timeout+0x66/0xaf [<c01265d8>] process_timeout+0x0/0xc [<c031c105>] wireless_process_ioctl+0x22a/0x8ed [<d0add3a2>] ndis_get_scan+0x0/0xf0 [ndiswrapper] [<c03136c1>] dev_ioctl+0x2e1/0x421 [<c030a6b0>] sock_ioctl+0x2cd/0x2f2 [<c0163bd9>] sys_ioctl+0xfa/0x285 [<c010a347>] syscall_call+0x7/0xb Code: f3 a5 a8 02 74 02 66 a5 a8 01 74 01 a4 8b 75 f8 8b 7d fc 89 Thanks in advance, Scott |
From: Giridhar P. <gi...@lm...> - 2004-01-07 14:40:23
|
Once you get oops, you can't rely on any information obtained from the driver. Sebastian Abt (sa...@rh...) has same problems. He also uses Gentoo and 2.6.0 kernel. Does anyone else have different experiences with Centrino, Gentoo and 2.6.0? -- Giri |
From: Scott B. <sc...@sb...> - 2004-01-07 15:24:05
|
I've just upgraded my kernel to 2.6.1-rc1, and reinstall ndiswrapper. Scan results now picked up my network. Just out of interest, should I be able to manually set my ESSID? Quoting Giridhar Pemmasani <gi...@lm...>: > > Once you get oops, you can't rely on any information obtained from the > driver. > > Sebastian Abt (sa...@rh...) has same problems. He also uses Gentoo > and 2.6.0 kernel. Does anyone else have different experiences with > Centrino, Gentoo and 2.6.0? > > -- > Giri > |
From: Martin W. <mar...@nt...> - 2004-01-07 19:13:55
|
I am getting occasional oops when running iwlist scan, but only when I have powered down the network card RF stages. So far I haven't seen any problems when power is on. I am running Mandrake 9.2 with 2.4.22 kernel on a HP NX7000 (Centrino). Giridhar Pemmasani wrote: > Once you get oops, you can't rely on any information obtained from the > driver. > > Sebastian Abt (sa...@rh...) has same problems. He also uses Gentoo > and 2.6.0 kernel. Does anyone else have different experiences with > Centrino, Gentoo and 2.6.0? > |
From: Giridhar P. <gi...@lm...> - 2004-01-07 19:27:03
|
Could you elaborate a bit further on what you mean by 'powered down the network card RF stages'? Is it something after you press Fn+F2 key or something like that? If that is the case, then we can power-up the card. How do you wakeup the card now? -- Giri |
From: Sebastian A. <sa...@sa...> - 2004-01-07 15:44:42
|
Hi, * Scott Bye <sc...@sb...> wrote: > I'm running Gentoo linux with a 2.6.0 kernel. I compiled the kernel > myself, so I know for sure that SMP is disabled, and checking the > .config file shows CONFIG_SMP is not set. Same config over here.. > I installed the latest CVS for ndiswrapper, and initially used the > Dell drivers. I could insert the module and load the driver, but could > not set an SSID, and a iwlist wlan0 scan would cause a segmentation > fault every time. I then tried the Acer drivers linked from the site; > I still cannot set an SSID and the scan sometimes causes a > segmentation fault, and sometimes gives back a bogus network on (from > memory) 3241.21GHz. > > Does anyone have any suggestions? dmesg output follows... As Giri mentioned, exactly the same problems over here, even with the strange frequency. I assumed that it's a Gentoo specific problem, while trying kernel 2.6.0 as well as 2.4.24.. I'll try 2.6.1-rc1 and report the results to the list.. sebastian -- whois: sabt-ripe - phone: +49 (0)160 90759764 email: sa...@sa... - pgp-pubkey: 0xD008DA9C ** never send a mail to sp...@25... ** |
From: Martin W. <mar...@nt...> - 2004-01-07 19:47:26
|
Giridhar Pemmasani wrote: > Could you elaborate a bit further on what you mean by 'powered down > the network card RF stages'? Is it something after you press Fn+F2 key > or something like that? If that is the case, then we can power-up the > card. > > How do you wakeup the card now? There is a dedicated button on the front of my laptop, which turns the RF stages of both the WLAN and Bluetooth cards on/off (along with a blue light). As far as I can tell this is a hard-wired function - it works before the operating system boots up. From what I remember from the brief period I was running Windows, it can be switched by software as well. I was doing this to test out your new suspend/resume code. Release 0.3 never survived me turning the power off and on. Release 0.4 seems much more robust :-) Usually 'iwlist eth1 scan' comes back with "No scan results" when the power is off. It is only occasionally that I get the oops. |
From: Sebastian A. <sa...@sa...> - 2004-01-07 20:08:32
|
* Martin Whitaker <mar...@nt...> wrote: > There is a dedicated button on the front of my laptop, which turns the > RF stages of both the WLAN and Bluetooth cards on/off (along with a > blue light). As far as I can tell this is a hard-wired function - it I've a similar button on my machine in addition to an option in the BIOS allowing the card to be set to default enabled or disabled. Some windows apps are being lunched when I hit this button and, oh wonder, the card is enabled/disabled. Anyhow, I'm unsure whether this is a pure hardware thingy or a pure software thingy or a mix. > works before the operating system boots up. From what I remember from Good point, I should try to push this button before linux boots up. > the brief period I was running Windows, it can be switched by software > as well. Do you also have some windows-hotkey apps? Unfortunately, I don't know what this button really controls. I read something about powering on/off the card itself on the one hand and enabling/disabling the wifi sensor on the other hand.. sebastian |
From: Wichert A. <wi...@wi...> - 2004-01-08 14:54:40
|
Previously Scott Bye wrote: > Does anyone have any suggestions? dmesg output follows... I get similar problems if I leave XP with the wireless disabled (Fn-F2 toggle on Dell laptops). After I boot back into XP, enable wireless ndiswrapper works normally. Perhaps you can check if that works for you? Wichert. -- Wichert Akkerman <wi...@wi...> It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. |
From: Giridhar P. <gi...@lm...> - 2004-01-08 17:01:13
|
This, I believe, is difficult to fix. I have sent some patches to Sebastian that forced the card to wake up (setting sleep mode to D0), but that didn't seem to work (I think). I don't know much about what Fn-F2 does. Does it simply put the card in sleep mode? If someone can figure out what exactly is needed to turn the card on, it would be good. Giri. |
From: Stefan <ste...@gm...> - 2004-01-08 19:18:41
|
Am Donnerstag, 8. Januar 2004 18:04 schrieb Giridhar Pemmasani: > This, I believe, is difficult to fix. I have sent some patches to > Sebastian that forced the card to wake up (setting sleep mode to D0), > but that didn't seem to work (I think). I don't know much about what > Fn-F2 does. Does it simply put the card in sleep mode? If someone can > figure out what exactly is needed to turn the card on, it would be > good. Looks like some BIOS routine to me. On my acer TM 803 I can turn the card on/ off with a special key on the front side of my laptop. This works with ndiswrapper too. If the wireless was enabled on startup, the led flashes(or is permanetly on when connected to an AP) and the card connects to the AP. When I disable it, the led goes off, the essid is lost. After enabling it again I have to re-set the WEP key, essid follows automatically. I can enable it after bootup if it was disabled before, but I have to set the WEP key. The system(Bios, Card, Driver??) remembers the wlan state afer a shutdown. Windows XP enables it always. /Stefan |
From: Sebastian A. <sa...@sa...> - 2004-01-08 17:07:50
|
* Giridhar Pemmasani <gi...@lm...> wrote: > This, I believe, is difficult to fix. I have sent some patches to > Sebastian that forced the card to wake up (setting sleep mode to D0), > but that didn't seem to work (I think). I don't know much about what No, they don't work, but iwlist doesn't cause the oops any longer as mentioned. I can enable/disable my Wifi card with a extra butten, not a combination. > Fn-F2 does. Does it simply put the card in sleep mode? If someone can > figure out what exactly is needed to turn the card on, it would be > good. Currently I try to trace back the behavior of my windows apps which successfully enable the card.. |
From: Giridhar P. <gi...@lm...> - 2004-01-08 17:16:55
|
On Thu, 8 Jan 2004 18:07:44 +0100, Sebastian Abt <sa...@sa...> said: Sebastian> No, they don't work, but iwlist doesn't cause the oops Sebastian> any longer as mentioned. I can enable/disable my Wifi Sebastian> card with a extra butten, not a combination. The patch that I sent you that fixed iwlist (which, btw, is in cvs now) is not the solution; it just fixes problems in this particular case. We should either figure out how to enable the card when the driver is loaded, or abort cleanly because the card is not enabled. Giri. |
From: Sebastian A. <sa...@sa...> - 2004-01-08 18:42:05
|
* Giridhar Pemmasani <gi...@lm...> wrote: > We should either figure out how to enable the card when the driver is > loaded, or abort cleanly because the card is not enabled. After figuring out how all those windows apps work together, I disassembled them.. Maybe there's something interesting in the code. If somebody is interested, drop me a mail.. I strongly assume that activating the card is a "software only" thing. |