public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Wireless network card not loaded on first boot after shutdown
@ 2011-11-02 10:29 Sebastian Beßler
  2011-11-02 19:39 ` Canek Peláez Valdés
  0 siblings, 1 reply; 5+ messages in thread
From: Sebastian Beßler @ 2011-11-02 10:29 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 904 bytes --]

Hi,

I have a wireless card that works most of the time perfect with the
ath9k kernel module but not on first boot after a few hours long shutdown.

 * Bringing up interface wlan0
 *   ERROR: interface wlan0 does not exist
 *   Ensure that you have loaded the correct kernel module for your hardware
 * ERROR: net.wlan0 failed to start

A reboot fixes the problem.
The kernel module loads without error in both cases.

# uname -r
3.1.0-gentoo

# lspci -v
03:07.0 Network controller: Atheros Communications Inc. Device 002d (rev 01)
        Subsystem: Atheros Communications Inc. Device 0300
        Flags: bus master, 66MHz, medium devsel, latency 176, IRQ 21
        Memory at fdce0000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [44] Power Management version 2
        Kernel driver in use: ath9k
        Kernel modules: ath9k

Greetings

Sebastian Beßler


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 900 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Wireless network card not loaded on first boot after shutdown
  2011-11-02 10:29 [gentoo-user] Wireless network card not loaded on first boot after shutdown Sebastian Beßler
@ 2011-11-02 19:39 ` Canek Peláez Valdés
  2011-11-03 13:16   ` Sebastian Beßler
  0 siblings, 1 reply; 5+ messages in thread
From: Canek Peláez Valdés @ 2011-11-02 19:39 UTC (permalink / raw
  To: gentoo-user

On Wed, Nov 2, 2011 at 3:29 AM, Sebastian Beßler
<sebastian@darkmetatron.de> wrote:
> Hi,
>
> I have a wireless card that works most of the time perfect with the
> ath9k kernel module but not on first boot after a few hours long shutdown.
>
>  * Bringing up interface wlan0
>  *   ERROR: interface wlan0 does not exist
>  *   Ensure that you have loaded the correct kernel module for your hardware
>  * ERROR: net.wlan0 failed to start
>
> A reboot fixes the problem.
> The kernel module loads without error in both cases.
>
> # uname -r
> 3.1.0-gentoo
>
> # lspci -v
> 03:07.0 Network controller: Atheros Communications Inc. Device 002d (rev 01)
>        Subsystem: Atheros Communications Inc. Device 0300
>        Flags: bus master, 66MHz, medium devsel, latency 176, IRQ 21
>        Memory at fdce0000 (32-bit, non-prefetchable) [size=64K]
>        Capabilities: [44] Power Management version 2
>        Kernel driver in use: ath9k
>        Kernel modules: ath9k
>
> Greetings

Does the wireless card needs a firmware? Do you use an initramfs? I
ask since my iwlagn wireless car does, and if I boot using an
initramfs, I need to include the firmware file on it for the card to
work.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Wireless network card not loaded on first boot after shutdown
  2011-11-02 19:39 ` Canek Peláez Valdés
@ 2011-11-03 13:16   ` Sebastian Beßler
  2011-11-03 22:57     ` Mick
  0 siblings, 1 reply; 5+ messages in thread
From: Sebastian Beßler @ 2011-11-03 13:16 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 625 bytes --]

Am 02.11.2011 20:39, schrieb Canek Peláez Valdés:

> Does the wireless card needs a firmware? Do you use an initramfs? I
> ask since my iwlagn wireless car does, and if I boot using an
> initramfs, I need to include the firmware file on it for the card to
> work.

No the card need no firmware.

I start my PC in the morning after it was shutdown for a few hours and
the card will not work. I then reboot without changing or doing anything
else and the card works just fine.

I get no error modprobing the driver in both cases, but only after a
reboot wlan0 gets created.

Greetings

Sebastian Beßler


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 900 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Wireless network card not loaded on first boot after shutdown
  2011-11-03 13:16   ` Sebastian Beßler
@ 2011-11-03 22:57     ` Mick
  2011-11-04  9:17       ` Sebastian Beßler
  0 siblings, 1 reply; 5+ messages in thread
From: Mick @ 2011-11-03 22:57 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 841 bytes --]

On Thursday 03 Nov 2011 13:16:40 Sebastian Beßler wrote:
> Am 02.11.2011 20:39, schrieb Canek Peláez Valdés:
> > Does the wireless card needs a firmware? Do you use an initramfs? I
> > ask since my iwlagn wireless car does, and if I boot using an
> > initramfs, I need to include the firmware file on it for the card to
> > work.
> 
> No the card need no firmware.
> 
> I start my PC in the morning after it was shutdown for a few hours and
> the card will not work. I then reboot without changing or doing anything
> else and the card works just fine.
> 
> I get no error modprobing the driver in both cases, but only after a
> reboot wlan0 gets created.

This sounds familiar.  Please check with modinfo any options to switch off 
(e.g. QoS, or power management) when you're loading the module.

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Wireless network card not loaded on first boot after shutdown
  2011-11-03 22:57     ` Mick
@ 2011-11-04  9:17       ` Sebastian Beßler
  0 siblings, 0 replies; 5+ messages in thread
From: Sebastian Beßler @ 2011-11-04  9:17 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 526 bytes --]

Am 03.11.2011 23:57, schrieb Mick:
> This sounds familiar.  Please check with modinfo any options to switch off 
> (e.g. QoS, or power management) when you're loading the module.

modinfo only gives me this options

# modinfo -F parm ath9k
btcoex_enable:Enable wifi-BT coexistence
blink:Enable LED blink on activity
nohwcrypt:Disable hardware encryption
debug:Debugging mask

but I will try and see if debug shows something that helps.
Thx for the tip, modinfo was new to me.

Greetings

Sebastian Beßler


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 900 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-11-04  9:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-02 10:29 [gentoo-user] Wireless network card not loaded on first boot after shutdown Sebastian Beßler
2011-11-02 19:39 ` Canek Peláez Valdés
2011-11-03 13:16   ` Sebastian Beßler
2011-11-03 22:57     ` Mick
2011-11-04  9:17       ` Sebastian Beßler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox