You are not logged in.

#1 2011-05-20 02:08:47

rob356
Member
Registered: 2010-12-31
Posts: 8

carl9170 driver causes kernel problem

I am an arch linux newb, just switched from ubuntu. However I do know just enough about linux to screw stuff up.

So, I have a SMCWUSB-N2 (USB atheros wireless N). Don't remember the exact chipset, but I do know the carl9170 driver supports it. The default arch version of carl9170 worked, but with horrible speed and frequent disconnects. So I downloaded the latest compat-wireless, built, and installed it. Now when I plug in the adapter the light on it stays solid (normally blinks with activity) and nothing else happens. Dmesg prints the following when I plug it in:

[   49.333357] usb 1-5: new high speed USB device using ehci_hcd and address 7
[   49.640199] cfg80211: Calling CRDA to update world regulatory domain
[   49.780031] usb 1-5: reset high speed USB device using ehci_hcd and address 7
[   49.943426] usbcore: registered new interface driver carl9170
[   49.948631] usb 1-5: driver   API: 1.9.0 2010-10-29 [1-1]
[   49.948638] usb 1-5: firmware API: 1.9.2 2010-12-25
[   50.283047] ath: EEPROM regdomain: 0x809c
[   50.283052] ath: EEPROM indicates we should expect a country code
[   50.283055] ath: doing EEPROM country->regdmn map search
[   50.283057] ath: country maps to regdmn code: 0x52
[   50.283059] ath: Country alpha2 being used: CN
[   50.283061] ath: Regpair used: 0x52
[   50.283064] ------------[ cut here ]------------
[   50.283077] WARNING: at /home/<USER>/wireless/compat-wireless-2011-05-16/net/wireless/reg.c:1222 wiphy_apply_custom_regulatory+0x182/0x190 [cfg80211]()
[   50.283080] Hardware name: EG194AA-ABA A1250N
[   50.283082] Modules linked in: carl9170 mac80211 ath cfg80211 fuse ipv6 ext3 jbd usb_storage uas usbhid hid btusb bluetooth rfkill s5h1409 cx88_dvb cx88_vp3054_i2c videobuf_dvb dvb_core rc_pinnacle_pctv_hd xc5000 snd_seq_dummy ir_lirc_codec lirc_dev snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device tuner ir_sony_decoder ir_jvc_decoder ir_rc6_decoder radeon ir_rc5_decoder snd_pcm_oss snd_mixer_oss cx8800 cx8802 cx88_alsa ir_nec_decoder cx88xx rc_core ttm tveeprom v4l2_common snd_atiixp drm_kms_helper ppdev videodev snd_ac97_codec v4l2_compat_ioctl32 btcx_risc ac97_bus 8139cp ohci_hcd videobuf_dma_sg videobuf_core drm snd_pcm i2c_algo_bit firewire_ohci evdev ehci_hcd snd_timer snd parport_pc sg i2c_piix4 firewire_core crc_itu_t 8139too soundcore snd_page_alloc usbcore psmouse lp processor mii button parport edac_core edac_mce_amd i2c_core k8temp pcspkr serio_raw ext4 mbcache jbd2 crc16 sd_mod sr_mod cdrom pata_acpi pata_atiixp sata_sil libata scsi_mod
[   50.283156] Pid: 3473, comm: firmware/carl91 Not tainted 2.6.38-ARCH #1
[   50.283158] Call Trace:
[   50.283167]  [<ffffffff81058caa>] ? warn_slowpath_common+0x7a/0xb0
[   50.283170]  [<ffffffff81058cf5>] ? warn_slowpath_null+0x15/0x20
[   50.283176]  [<ffffffffa089cfe2>] ? wiphy_apply_custom_regulatory+0x182/0x190 [cfg80211]
[   50.283182]  [<ffffffffa091a050>] ? carl9170_reg_notifier+0x0/0x40 [carl9170]
[   50.283187]  [<ffffffffa08cd776>] ? ath_regd_init+0x346/0x430 [ath]
[   50.283192]  [<ffffffffa091cbea>] ? carl9170_register+0x1ea/0x4b0 [carl9170]
[   50.283197]  [<ffffffff812c35e0>] ? request_firmware_work_func+0x0/0x80
[   50.283201]  [<ffffffffa091e7e0>] ? carl9170_usb_firmware_step2+0x60/0xd0 [carl9170]
[   50.283205]  [<ffffffff812c3622>] ? request_firmware_work_func+0x42/0x80
[   50.283210]  [<ffffffff81079a47>] ? kthread+0x87/0x90
[   50.283214]  [<ffffffff8100bc24>] ? kernel_thread_helper+0x4/0x10
[   50.283218]  [<ffffffff810799c0>] ? kthread+0x0/0x90
[   50.283221]  [<ffffffff8100bc20>] ? kernel_thread_helper+0x0/0x10
[   50.283224] ---[ end trace 7d16e3a764ee0f8f ]---
[   50.283228] ------------[ cut here ]------------
[   50.283234] WARNING: at /home/<USER>/wireless/compat-wireless-2011-05-16/net/wireless/core.c:492 wiphy_register+0x31c/0x380 [cfg80211]()
[   50.283237] Hardware name: EG194AA-ABA A1250N
[   50.283238] Modules linked in: carl9170 mac80211 ath cfg80211 fuse ipv6 ext3 jbd usb_storage uas usbhid hid btusb bluetooth rfkill s5h1409 cx88_dvb cx88_vp3054_i2c videobuf_dvb dvb_core rc_pinnacle_pctv_hd xc5000 snd_seq_dummy ir_lirc_codec lirc_dev snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device tuner ir_sony_decoder ir_jvc_decoder ir_rc6_decoder radeon ir_rc5_decoder snd_pcm_oss snd_mixer_oss cx8800 cx8802 cx88_alsa ir_nec_decoder cx88xx rc_core ttm tveeprom v4l2_common snd_atiixp drm_kms_helper ppdev videodev snd_ac97_codec v4l2_compat_ioctl32 btcx_risc ac97_bus 8139cp ohci_hcd videobuf_dma_sg videobuf_core drm snd_pcm i2c_algo_bit firewire_ohci evdev ehci_hcd snd_timer snd parport_pc sg i2c_piix4 firewire_core crc_itu_t 8139too soundcore snd_page_alloc usbcore psmouse lp processor mii button parport edac_core edac_mce_amd i2c_core k8temp pcspkr serio_raw ext4 mbcache jbd2 crc16 sd_mod sr_mod cdrom pata_acpi pata_atiixp sata_sil libata scsi_mod
[   50.283294] Pid: 3473, comm: firmware/carl91 Tainted: G        W   2.6.38-ARCH #1
[   50.283296] Call Trace:
[   50.283299]  [<ffffffff81058caa>] ? warn_slowpath_common+0x7a/0xb0
[   50.283302]  [<ffffffff81058cf5>] ? warn_slowpath_null+0x15/0x20
[   50.283307]  [<ffffffffa0899c2c>] ? wiphy_register+0x31c/0x380 [cfg80211]
[   50.283318]  [<ffffffffa08d6238>] ? ieee80211_register_hw+0xa8/0x5d0 [mac80211]
[   50.283324]  [<ffffffffa08d6353>] ? ieee80211_register_hw+0x1c3/0x5d0 [mac80211]
[   50.283329]  [<ffffffffa091cc41>] ? carl9170_register+0x241/0x4b0 [carl9170]
[   50.283355]  [<ffffffff812c35e0>] ? request_firmware_work_func+0x0/0x80
[   50.283359]  [<ffffffffa091e7e0>] ? carl9170_usb_firmware_step2+0x60/0xd0 [carl9170]
[   50.283363]  [<ffffffff812c3622>] ? request_firmware_work_func+0x42/0x80
[   50.283367]  [<ffffffff81079a47>] ? kthread+0x87/0x90
[   50.283370]  [<ffffffff8100bc24>] ? kernel_thread_helper+0x4/0x10
[   50.283374]  [<ffffffff810799c0>] ? kthread+0x0/0x90
[   50.283377]  [<ffffffff8100bc20>] ? kernel_thread_helper+0x0/0x10
[   50.283379] ---[ end trace 7d16e3a764ee0f90 ]---

I blacklisted the ar9170usb driver as the wiki suggests, yet I still have problems. Is this a kernel bug that I should report, or am I doing something wrong?

Thanks!

Offline

#2 2011-05-20 03:48:42

akb825
Member
Registered: 2011-03-27
Posts: 81

Re: carl9170 driver causes kernel problem

Have you installed the firmware? You can download it from here (http://linuxwireless.org/en/users/Drivers/carl9170) and put it in /lib/firmware.

Offline

#3 2011-05-20 10:43:26

rob356
Member
Registered: 2010-12-31
Posts: 8

Re: carl9170 driver causes kernel problem

yes I have the carl9170 firmware installed.

Offline

Board footer

Powered by FluxBB