LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 03-26-2015, 05:09 AM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,252

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
No wifi in kernel 3.18.0-rc4 - /proc files


I had to do a kernel 'git bisect' and have tried to build a current kernel. It fails to deliver wifi, and complains of /proc/net/wireless file being missing.

Where the <expletive deleted> do I set that? I'm running slackware-current dated 09/14. The wifi is a B43 using the standard kernel driver. It is a usb chip somehow linked to the pci bus via SSB, and that is appearing on the lspci output, which is a fair sign of kernel recognition.
 
Old 03-26-2015, 05:19 AM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
bash-4.3# cat /proc/net/wireless
Inter-| sta-| Quality | Discarded packets | Missed | WE
face | tus | link level noise | nwid crypt frag retry misc | beacon | 22
Seems like when I had a laptop that used the b43 module I had to take it through a process to get it to work. As I recall I found it on SBO / Slackbuilds.org.

I just lsmod | grep b43 to see if the kernel sees it and has loaded the module, otherwise I could find references to it in messages when it was detected during boot.

Last edited by dijetlo; 03-26-2015 at 05:20 AM.
 
Old 03-26-2015, 01:11 PM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,252

Original Poster
Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Will get to that box and double check module loading. It looks good - showing in lspci. I will check firmware too. That thing is offline due to the wifi issue.
 
Old 03-26-2015, 01:46 PM   #4
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Slackbuilds b43-firmware and b43-fwcutter were the packages, maintained by none other than r.workman (who is likely lurking about giggling at our ineptitude...)

This is the homepage for the project
 
Old 03-27-2015, 04:49 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,252

Original Poster
Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Thanks for the replies, guys. This is not a newbie question.

This box has run b43 for years and ran it on this install. This is a kernel issue. That's all that changed. The details:
lsmod |grep b43 shows
  • b43
  • bcma
  • ssb

According to logs, it's loading firmware version 666.2.

ifconfig wlan0 up does just that. (No bytes ever sent/received, etc).
iwconfig shows wlan0 as having no wireless extensions, and shows sit0 that I know nothing about.

cat /proc/net/wireless shows "No such file or directory"

The logs show it finds the Broadcom 4311 WLAN, the PHY, and the Radio and loads the b43xx driver [ Features: PL ]. But nothing works. All the wireless utilities give me the middle finger :-(.

On a reboot, it throws these errors
Error for wireless request "Set Mode" <blah>
Error for wireless request "Set Frequency" <blah>

set failed on wlan0: invalid argument
followed by a string of ioctl errors as it tailspins.

I'm thinking either
  1. Some files have been moved to sys and my software wants them in /proc and I have to rebuild with some "keep those old files in /proc" setting
  2. The b43 modules or part of it is incorrigibly knackered by all this git bisecting that has gone on.
 
Old 03-27-2015, 05:29 AM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
/proc/net/wireless is a copy of /proc/net/dev according to /usr/include/linux/wireless.h. I got the info from here http://www.hpl.hp.com/personal/Jean_...xtensions.html.
 
Old 03-27-2015, 07:25 AM   #7
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
This is the output from the laptop I was referencing above with the wlan0 up

Code:
ash-4.3$ cat /proc/net/wireless
Inter-| sta-|   Quality        |   Discarded packets               | Missed | WE
 face | tus | link level noise |  nwid  crypt   frag  retry   misc | beacon | 22
 wlan0: 0000   70.  -39.  -256        0      0      0      7     22        0

bash-4.3$ sudo lsmod | egrep 'bcma|b43|ssb'
b43                   365616  0 
bcma                   32438  1 b43
mac80211              471627  1 b43
cfg80211              412363  2 b43,mac80211
ssb_hcd                 2477  0 
ssb                    52264  3 b43,b44,ssb_hcd
pcmcia                 34796  2 b43,ssb
mmc_core               90004  4 b43,ssb,sdhci,sdhci_pci
bash-4.3$ sudo lsmod | grep b43
b43                   365616  0 
bcma                   32438  1 b43
mac80211              471627  1 b43
cfg80211              412363  2 b43,mac80211
ssb                    52264  3 b43,b44,ssb_hcd
pcmcia                 34796  2 b43,ssb
mmc_core               90004  4 b43,ssb,sdhci,sdhci_pci

ash-4.3$ sudo dmesg| grep b43
[    8.881286] b43-phy0: Broadcom 4311 WLAN found (core revision 10)
[    8.897052] b43-phy0: Found PHY: Analog 4, Type 2 (G), Revision 8
[   44.350072] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)

bash-4.3$ cat /sys/module/b43/parameters/             
allhwsupport        hwpctl              qos
bad_frames_preempt  hwtkip              verbose
btcoex              nohwcrypt           
fwpostfix           pio                 
bash-4.3$ cat /sys/module/b43/parameters/allhwsupport 
0
bash-4.3$ cat /sys/module/b43/parameters/bad_frames_preempt 
0
bash-4.3$ cat /sys/module/b43/parameters/btcoex             
1
bash-4.3$ cat /sys/module/b43/parameters/fwpostfix 
bash-4.3$ cat /sys/module/b43/parameters/hw        
hwpctl  hwtkip  
bash-4.3$ cat /sys/module/b43/parameters/hwpctl 
0
bash-4.3$ cat /sys/module/b43/parameters/hwtkip 
0
bash-4.3$ cat /sys/module/b43/parameters/nohwcrypt 
0
bash-4.3$ cat /sys/module/b43/parameters/pio       
0
bash-4.3$ cat /sys/module/b43/parameters/qos 
1
bash-4.3$ cat /sys/module/b43/parameters/verbose 
2
bash-4.3$ cat /sys/module/b43/                   
coresize    holders/    initstate   parameters/ sections/   uevent
drivers/    initsize    notes/      refcnt      taint       
bash-4.3$ cat /sys/module/b43/initstate 
live
I hope that helps, if you need any other configuration data off a working example, let me know.

Last edited by dijetlo; 03-27-2015 at 07:29 AM.
 
1 members found this post helpful.
Old 03-28-2015, 04:39 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,252

Original Poster
Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Code:
bash-4.3$ sudo lsmod | egrep 'bcma|b43|ssb'
Thanks, that one proved to be interesting. I have no mac80211, no b44, no sdhi, no sdhi_pci, and no ssb_hcd.

AFAIK, I do not need b44, sdhi*, or ssb_hcd. But I do need mac80211. Here we go building again.
 
Old 03-28-2015, 08:59 AM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,252

Original Poster
Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Right -sending this from the offending box. We are sorted. It's singing on wifi, so I presume all the files are correct enough.

In the config, mac80211=y is not good enough, apparently. It's now a module. I also added FUSE_FS=m as well, and that sorted it out.

The git bisect did mess around whether something was set to module, or in the case of fuse, at all. I never had a good .config for this box before on such a late kernel, so that's good. (Hmmm, better check sound and the other stuff before I crow).

Thank you all for suggestions & help.
 
Old 03-28-2015, 10:55 AM   #10
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
I've seen you do the same for others. It was my pleasure, and of course, Kudos on the save.

Last edited by dijetlo; 03-28-2015 at 10:56 AM.
 
Old 03-29-2015, 10:53 AM   #11
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,252

Original Poster
Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Thanks. I ran off and checked other stuff - sound notably and sound id good, as far as that goes (not very far).

The powersaving seems ok also, so the only untested item is bluetooth, and I really don't care. Bluetooth was always dependent on the sun not being behind a cloud (Rare in Ireland), balancing forces from the correct coordination of planets & galaxies, and a complete lack of disturbance in the Space/Time continuum. :-P.
 
  


Reply



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
LXer: Linux 3.10-rc4 Kernel Is Smaller LXer Syndicated Linux News 0 06-03-2013 01:31 AM
LXer: Linux 3.9-rc4 Kernel Is Not Calm LXer Syndicated Linux News 0 03-24-2013 04:00 PM
LXer: Download Linux Kernel 3.3 RC4 Now LXer Syndicated Linux News 0 02-19-2012 11:51 AM
How frequently does kernel update the /proc files? geddysekar Linux - Kernel 7 05-15-2010 09:28 AM
rc4 kernel module azza Programming 1 06-28-2009 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 02:50 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration