Re: [gentoo-user] Wireless network card not loaded on first boot after shutdown

2011-11-04 Thread Sebastian Beßler
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



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Wireless network card not loaded on first boot after shutdown

2011-11-03 Thread Sebastian Beßler
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



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Wireless network card not loaded on first boot after shutdown

2011-11-03 Thread Mick
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


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Wireless network card not loaded on first boot after shutdown

2011-11-02 Thread Canek Peláez Valdés
On Wed, Nov 2, 2011 at 3:29 AM, Sebastian Beßler
sebast...@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 fdce (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