LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 10-15-2005, 06:53 AM   #1
dave`2005
Member
 
Registered: Aug 2005
Distribution: Ubuntu 7.10, Slackware 12
Posts: 266

Rep: Reputation: 30
WG155T causing slackware to hang at boot


Hi all, i installed the madwifi driver for my netgear WG511T, reboot, it gets to the activating hardware detection /etc/rc.d/rc.hotplug and just stays there with a blinking cursor, the WG511T lights are blinking one at a time alternating. Does anyone have any suggestions on what i should try next? Ive already re-installed slackware 10.2 twice trying to get this wifi card going but no luck yet Sad Any help at all would be very appreciated.

Last edited by dave`2005; 10-16-2005 at 04:27 PM.
 
Old 10-16-2005, 08:41 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,785
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
You might want to have a look through syslog and messages (both in /var/log) and see if you can figure out what hotplug is trying to do when it hangs. Any messages hotplug is leaving might be helpful.
 
Old 10-16-2005, 10:32 AM   #3
dave`2005
Member
 
Registered: Aug 2005
Distribution: Ubuntu 7.10, Slackware 12
Posts: 266

Original Poster
Rep: Reputation: 30
For some reason even with acpi off (upgraded to the 2.6.13.4 kernel) the madwifi driver didnt want to work, i tried the ndiswrapper driver for my card and after altering the rc.wireless.conf and rc.inet1.conf it was up and running

The 2.6.13.4 kernel seemed to fix the 4K_STACK problem, unless something else did it
 
Old 10-16-2005, 11:38 AM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,785
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
I'm glad you got something working, but if you want to push on madwifi a little more, it should work in Slackware. When you compiled madwifi, did you use the madwifi.Slackbuild script?

Also, I'm curious about the 4K stack warnings. I haven't seen that happen on any of the stock Slackware kernels.
 
Old 10-16-2005, 03:25 PM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,259

Rep: Reputation: Disabled
Ndiswrapper gives these (false) 4K stack warningw when compiling on a 2.6 kernel.

Eric
 
Old 10-16-2005, 04:23 PM   #6
dave`2005
Member
 
Registered: Aug 2005
Distribution: Ubuntu 7.10, Slackware 12
Posts: 266

Original Poster
Rep: Reputation: 30
I did use the madwifi.Slackbuild script yeah. I might have to give it another go, do you know which one is "better" ?

I got the 4k stack warnings using the 2.6.13 generic kernel on cd 2 of slackware 10.2 but never got them using the 2.6.13.4
 
Old 10-17-2005, 07:37 AM   #7
dave`2005
Member
 
Registered: Aug 2005
Distribution: Ubuntu 7.10, Slackware 12
Posts: 266

Original Poster
Rep: Reputation: 30
something went wrong with the ndiswrapper when doing "modprobe ndiswrapper" it makes the whole system hang. Anyone have any ideas on how to stop that happening?

I thought since ndiswrapper didnt seem to be working i'd give the madwifi driver another go. It seemed to install ok (no 4k stack errors) but when it came to loading the driver "modprobe ath_pci" the ath_pci module couldnt be found

Any ideas?
 
Old 10-17-2005, 07:41 AM   #8
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,785
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
I haven't built madwifi since I can't use it, but my guess is that an available Slackware build script is likely to be a good starting place. Personally I think that a native linux driver has got to be a better deal than ndiswrapper, but then again, if you have a working card under ndiswrapper, it is hard to argue that you should change.

I've been doing a bit of digging into the 4K stacks issue, and it sounds like the kernel team has decided that it will be the default for kernels. However, you can change the options under kernel hacking if you are building your own. What makes no sense to me is that I recently compiled a 2.6.13.4 kernel for my server and looking at the config, it appears to be using 8K stacks. I know I didn't change that option so maybe the kernel team hasn't completely settled the issue and Slackware is using them on its own.
 
Old 10-17-2005, 12:47 PM   #9
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,259

Rep: Reputation: Disabled
Quote:
Originally posted by Hangdog42
I've been doing a bit of digging into the 4K stacks issue, and it sounds like the kernel team has decided that it will be the default for kernels. However, you can change the options under kernel hacking if you are building your own. What makes no sense to me is that I recently compiled a 2.6.13.4 kernel for my server and looking at the config, it appears to be using 8K stacks. I know I didn't change that option so maybe the kernel team hasn't completely settled the issue and Slackware is using them on its own.
I had concluded as well that the 2.6 kernels that I build with Slackware (as well as the 2.6 kernels that ship with Slackware) have 8k stacks. You will have to explicitly enable 4k stacks in the kernel hacking section when configuring the kernel source tree.

Ndiswrapper's makefile just checks for the existence of the CONFIG_4KSTACKS parameter in the kernel source's .config (as I explained in this other thread) and when it does not find it, concludes incorrectly that your kernel uses 4k stacks.
Nothing to worry about (except that the ndiswrapper developers warn that many Windows NDIS drivers nowadays require even larger stack sizes (up to 32k) in order not to bring down your kernel after some time.

Try this madwifi.SlackBuild - maybe you've already used it, maybe not. Anyway, let us hear whether it helps you get your wireless card working.

Cheers, Eric
 
Old 10-17-2005, 01:24 PM   #10
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,785
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
A 32K stack? Great, just what we all need, bloatware drivers........

Thanks for the explanation on how ndiswrapper determines if there are 4K stacks or not. That is very useful to know.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
wlan0 causing SuSE to hang Kintwa Linux - Networking 1 08-02-2005 09:38 PM
USB causing hang on boot/detection mortoray Linux - Hardware 3 07-25-2005 04:53 PM
iptables causing system to hang @ boot blackdragonblood Linux - General 2 06-23-2005 04:57 PM
DVD-ROM causing system to hang father_of_miles Linux - Hardware 1 08-06-2004 12:26 PM
How can I determine what is causing my system to hang? lewisdw Linux - Hardware 7 06-16-2004 05:13 PM


All times are GMT -5. The time now is 09:43 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration