All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jes Sorensen <jes.sorensen@gmail.com>
To: Katherine Dunne <kdunne@mail.ccsf.edu>
Cc: Julia Lawall <julia.lawall@lip6.fr>,  outreachy-kernel@googlegroups.com
Subject: Re: Tutorial Help - Can't detect wifi after reboot
Date: Fri, 13 Feb 2015 23:32:58 -0500	[thread overview]
Message-ID: <54DECFFA.7020103@gmail.com> (raw)
In-Reply-To: <CA+Cr939ZXBcs=7pe4TTQ3XJu3iLfVd0DzCXsMmGftHv=H0pRog@mail.gmail.com>

On 02/13/15 22:28, Katherine Dunne wrote:
> Forgive me if I end up not addressing your suggestions. I am new to Linux,
> so I've been researching exactly what your responses mean.
> 
> When I ran dmesg | grep wlan it did not give any information.
> 
> The next thing I did was to reboot in recovery mode, then resume normal
> rebooting, which connected me back to wifi.
> 
> After that I ran dmesg | grep wlan and this information seemed important:
> 
> [    8.279472] usb 1-1.6: Direct firmware load failed with error -2
> [    8.280800] usb 1-1.6: Falling back to user helper
> [    8.282676] Bluetooth: can't load firmware, may not work correctly
> [    8.322736] wl: module license 'MIXED/Proprietary' taints kernel.
> [    8.323730] Disabling lock debugging due to kernel taint
> [    8.326499] wl: module verification failed: signature and/or  required
> key missing - tainting kernel
> [    8.329087] wl 0000:06:00.0: enabling device (0000 -> 0002)
> [    8.340921] intel_rapl: domain uncore energy ctr 28408:28408 not
> working, skip
> [    8.359971] INFO @wl_cfg80211_attach : Registered CFG80211 phy
> [    8.361506] uvcvideo: Found UVC 1.00 device Integrated_Webcam_HD
> (1bcf:2b8b)
> [    8.371637] input: Integrated_Webcam_HD as
> /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.5/1-1.5:1.0/input/input9
> [    8.372808] usbcore: registered new interface driver uvcvideo
> [    8.373989] USB Video Class driver (1.1.1)
> [    8.406564] lib80211_crypt: registered algorithm 'TKIP'
> [    8.500670] wlan0: Broadcom BCM4365 802.11 Hybrid Wireless Controller
> 6.30.223.141 (r415941)
> [    8.645326] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
> [    8.645333] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
> [   10.288246] Bluetooth: hci0 command 0x1003 tx timeout
> 
> 
> The wifi driver I am using is Broadcom Corporation BCM43142 802.11b/g/n
> (rev 01)
> 
> With the suggestion that the wireless driver was not in the kernel I built,
> I realized I didn't follow the step under Configure the Kernel. So I copied
> a config file from /boot into git/kernels/staging thinking this would
> include the wireless driver, but it has not solved the problem. I have the
> feeling that is not what you were suggesting.

OK, what you see above is a message indicating that the wifi driver is
in the kernel, it is this line:

[    8.500670] wlan0: Broadcom BCM4365 802.11 Hybrid Wireless Controller
6.30.223.141 (r415941)

If that didn't show up in your self built kernel it means the driver
wasn't built or loaded correctly.

I did a bit of searching and it looks like the 43142 is known for being
a tricky device, however I don't have any first hand experience with it.
There seems to be various drivers for it. Do you get any output if you
run this command from a system where the wifi is working:

ls -l /sys/class/net/wlan0/device/driver/module/drivers/

On my laptop it looks like with (it is using the iwlwifi driver module):

[jes@ultrasam ~]$ ls -l /sys/class/net/wlan0/device/driver/module/drivers/
total 0
lrwxrwxrwx. 1 root root 0 Feb 13 23:29 pci:iwlwifi ->
../../../bus/pci/drivers/iwlwifi

Jes


> 
> 
> On Fri, Feb 13, 2015 at 10:04 AM, Jes Sorensen <jes.sorensen@gmail.com>
> wrote:
> 
>> On 02/13/15 12:12, Julia Lawall wrote:
>>> On Fri, 13 Feb 2015, Katherine Dunne wrote:
>>>
>>>> I have been going through the tutorial, using Ubuntu 14.04.1
>>>> I am at the point under Test Your Changes under Modifying a Driver on
>> Native
>>>> Linux.
>>>> Since rebooting, my computer can't detect wifi.
>>>> I noticed on rebooting a new message appeared "Bluetooth TX [hex
>> address]
>>>> timeout," but after disabling bluetooth per another tutorial's
>> suggestion,
>>>> the message does not appear, and there is still no wifi detected.
>>>>
>>>> The last time I succesfully rebooted and had a wifi connection was right
>>>> before cloning the staging repository in the Tool Set Up section.
>>>> Would it be helpful to list the commands that I've run between my two
>> reboot
>>>> times?
>>>> The driver I modified was /drivers/net/hamradio/baycom_epp.c
>>>
>>> Perhaps the kernel you are compiling does not have the wifi driver that
>>> the ubuntu kernel uses for your laptop?  Maybe it would help to use lspci
>>> with your ubuntu setup to see what wifi driver you are using, and then to
>>> see if that is in the configuration of the one that you are compiling?
>>> One could also wonder if the driver you modified is selected in the
>>> configuration of the kernel you are modifying.  When you compiled your
>>> kernel, did you get a file drivers/net/hamradio/baycom_epp.o?  If you did
>>> not, then your probably has nothing to do with your change, because you
>>> change is not even in the compiled kernel.  But they are probably not
>>> related in any case.
>>
>> The wireless card could be either PCI or USB or SDIO, so if you run
>> 'iw dev' as root, it should tell you the state of your device.
>>
>> If nothing shows up in the output, try 'dmesg | grep wlan' and see if it
>> shows something.
>>
>> It is very possible that you didn't include the wireless driver in the
>> kernel you built, as Julia points out.
>>
>> Cheers,
>> Jes
>>
>>
> 



  reply	other threads:[~2015-02-14  4:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-13 17:04 Tutorial Help - Can't detect wifi after reboot Katherine Dunne
2015-02-13 17:12 ` Julia Lawall
2015-02-13 18:04   ` Jes Sorensen
2015-02-14  3:28     ` Katherine Dunne
2015-02-14  4:32       ` Jes Sorensen [this message]
2015-02-14  4:42         ` Jes Sorensen
2015-02-14 18:30           ` Katherine Dunne
2015-02-14 18:53             ` [Outreachy kernel] " Julia Lawall
2015-02-14 19:44               ` Katherine Dunne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54DECFFA.7020103@gmail.com \
    --to=jes.sorensen@gmail.com \
    --cc=julia.lawall@lip6.fr \
    --cc=kdunne@mail.ccsf.edu \
    --cc=outreachy-kernel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.