public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] /proc/net/wirelesslessness
  2013-01-23 15:52 [gentoo-user] libv8 segfault Nilesh Govindrajan
@ 2013-01-23 17:25 ` ☈king
  2013-01-23 20:24   ` Paul Hartman
  2013-01-24 11:07   ` ☈king
  0 siblings, 2 replies; 4+ messages in thread
From: ☈king @ 2013-01-23 17:25 UTC (permalink / raw
  To: gentoo-user

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

I'm trying to build a kernel with this Atheros AR9287 wifi card. I had it working last week and rebuilt the kernel without saving my config, now I'm kind of stuck.

The most immediate problem I see is that I have /proc/net/wireless, even though when I boot with SystemRescueCD it comes up fine.

Thanks in advance!  (Here's the info I have, feel free to query for more):


- iwconfig wlan0 # On the bad boot

wlan0  No wireless extensions

- dmesg | grep -i ath # Same both boots (except for timestamps)

[    9.852491] ath: phy0: ASPM enabled: 0x42
[    9.852495] ath: EEPROM regdomain: 0x65
[    9.852496] ath: EEPROM indicates we should expect a direct regpair map
[    9.852498] ath: Country alpha2 being used: 00
[    9.852499] ath: Regpair used: 0x65
[    9.853587] ieee80211 phy0: Selected rate control algorithm 'ath9k_rate_control'
[    9.853716] Registered led device: ath9k-phy0
[    9.853720] ieee80211 phy0: Atheros AR9287 Rev:2 mem=0xffffc90010720000, irq=17

- lspci -v | perl -ne 'print if /^03/../^$/' # Same on both boots

03:00.0 Network controller: Atheros Communications Inc. AR9287 Wireless Network Adapter (PCI-Express) (rev 01)
	Subsystem: Foxconn International, Inc. Device e034
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at c0500000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [60] Express Legacy Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Virtual Channel
	Capabilities: [160] Device Serial Number 00-15-17-ff-ff-24-14-12
	Capabilities: [170] Power Budgeting <?>
	Kernel driver in use: ath9k
	Kernel modules: ath9k

- lsmod # on the SystemRescueCD

arc4                   12390  2
ath9k                 102072  0
mac80211              350410  1 ath9k
ath9k_common           12681  1 ath9k
coretemp               12440  0
ath9k_hw              335435  2 ath9k,ath9k_common
ath                    21059  3 ath9k,ath9k_common,ath9k_hw
crc32c_intel           12440  0
ghash_clmulni_intel    12526  0
cfg80211              133830  3 ath9k,mac80211,ath
acer_wmi               28774  0
tpm_tis                16533  0
microcode              20802  0
tpm                    17694  1 tpm_tis
tpm_bios               12440  1 tpm
i2c_i801               16533  0
sparse_keymap          12655  1 acer_wmi
joydev                 16535  0
rfkill                 17293  2 cfg80211,acer_wmi
iTCO_wdt               16533  0
iTCO_vendor_support    12639  1 iTCO_wdt
raid10                 32929  0
raid456                53467  0
async_raid6_recov      12457  1 raid456
async_pq               12534  2 raid456,async_raid6_recov
raid6_pq               82586  2 async_raid6_recov,async_pq
async_xor              12452  3 raid456,async_raid6_recov,async_pq
xor                    12425  1 async_xor
async_memcpy           12388  2 raid456,async_raid6_recov
async_tx               12624  5 raid456,async_raid6_recov,async_pq,async_xor,async_memcpy
raid1                  28846  0
raid0                  16515  0
multipath              12390  0
linear                 12390  0
radeon                723200  0
ttm                    54081  1 radeon
i915                  349881  2
drm_kms_helper         26341  2 radeon,i915
usb_storage            46993  1
drm                   183602  5 radeon,ttm,i915,drm_kms_helper
atl1c                  30162  0
i2c_algo_bit           12477  2 radeon,i915
i2c_core               22125  6 i2c_i801,radeon,i915,drm_kms_helper,drm,i2c_algo_bit
video                  16668  2 acer_wmi,i915
wmi                    16837  1 acer_wmi




[-- Attachment #2: Type: text/html, Size: 3918 bytes --]

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

* Re: [gentoo-user] /proc/net/wirelesslessness
  2013-01-23 17:25 ` [gentoo-user] /proc/net/wirelesslessness ☈king
@ 2013-01-23 20:24   ` Paul Hartman
  2013-01-24 11:07   ` ☈king
  1 sibling, 0 replies; 4+ messages in thread
From: Paul Hartman @ 2013-01-23 20:24 UTC (permalink / raw
  To: gentoo-user

On Wed, Jan 23, 2013 at 11:25 AM, ☈king <rkingmob@sharpsaw.org> wrote:
> I'm trying to build a kernel with this Atheros AR9287 wifi card. I had it
> working last week and rebuilt the kernel without saving my config, now I'm
> kind of stuck. The most immediate problem I see is that I have
> /proc/net/wireless, even though when I boot with SystemRescueCD it comes up
> fine. Thanks in advance! (Here's the info I have, feel free to query for
> more): - iwconfig wlan0 # On the bad boot wlan0 No wireless extensions

Do you have CONFIG_WIRELESS_EXT=y ?

If you can boot your old (working) kernel you may have /proc/config.gz
where you can extract the kernel config (gzip -dc /proc/config.gz)

similarly you can do the same from your boot CD environment and use it
as a starting point for customizing.


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

* Re: [gentoo-user] /proc/net/wirelesslessness
@ 2013-01-24  1:21 rking (Clumsily Typing via Phone)
  0 siblings, 0 replies; 4+ messages in thread
From: rking (Clumsily Typing via Phone) @ 2013-01-24  1:21 UTC (permalink / raw
  To: gentoo-user

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

> Do you have CONFIG_WIRELESS_EXT=y ? 

No, I sure don't. Looking at this list of conditions that are required to enable that setting is quite impressive/daunting. I'm not sure which I should enable. I'll work on it.

-RK




[-- Attachment #2: Type: text/html, Size: 503 bytes --]

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

* Re: [gentoo-user] /proc/net/wirelesslessness
  2013-01-23 17:25 ` [gentoo-user] /proc/net/wirelesslessness ☈king
  2013-01-23 20:24   ` Paul Hartman
@ 2013-01-24 11:07   ` ☈king
  1 sibling, 0 replies; 4+ messages in thread
From: ☈king @ 2013-01-24 11:07 UTC (permalink / raw
  To: gentoo-user

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

On 1/23/13 11:25 AM, ☈king wrote:
> - iwconfig wlan0 # On the bad boot
>
Turns out that this was my main problem: iwconfig and iwlist are 
deprecated in favor of iw.

I just updated my wifi script to use iw instead, and everything is 
working well.

Thanks!
-☈

[-- Attachment #2: Type: text/html, Size: 777 bytes --]

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

end of thread, other threads:[~2013-01-24 11:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-24  1:21 [gentoo-user] /proc/net/wirelesslessness rking (Clumsily Typing via Phone)
  -- strict thread matches above, loose matches on Subject: below --
2013-01-23 15:52 [gentoo-user] libv8 segfault Nilesh Govindrajan
2013-01-23 17:25 ` [gentoo-user] /proc/net/wirelesslessness ☈king
2013-01-23 20:24   ` Paul Hartman
2013-01-24 11:07   ` ☈king

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