FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 02-11-2012, 10:29 PM
Jonathan Nieder
 
Default Bug#659521: ATH9K driver will not connect to my adhoc network

reassign 659521 src:linux-2.6 3.2.4-1
quit

Hi,

Ankman wrote:

> Connection to adhoc won't work. Booting the previous
> (3.1.0-1-686-pae) and it works again. Although in 3.2.0-1-686-pae
> managed (router bound) connection DO work.

Thanks for reporting it. Could you elaborate? In particular:

- please attach output from
"reportbug --template linux-image-$(uname -r)", so we can get to
know your configuration and hardware

- what commands do you use to set up an ad hoc connection? See [1]
for hints on ruling out problems from networkmanager and other
higher-level tools when working on wireless bugs, and for hints on
getting an event log. How do you know it failed? Any other hints
or weird symptoms?

- please attach full "dmesg" output from booting up and attempting to
connect in ad-hoc mode.

If you have time to test the attached patch[2], that might also be
useful.

Hope that helps,
Jonathan

[1] http://linuxwireless.org/en/users/Documentation/Reporting_bugs
[2] see http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s4.2.2
or the corresponding page in the debian-kernel-handbook package for
instructions.
From: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Date: Wed, 7 Dec 2011 16:51:38 +0530
Subject: ath9k: validate for non-zero BSSID

commit 356cb55d81d1692bd74b96c71deeb7e1cf956196 upstream.

before concluding that the recieved beacon is for us, let us make sure
that the BSSID is non-zero. when I configured ad-hoc mode as creator and
left it for some time without joining I found we recieved few frames whose
BSSID is zero, which we concluded wrongly as 'my_beacons'

Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
---
drivers/net/wireless/ath/ath9k/recv.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c
index 67b862cdae6d..8af038fa9ab3 100644
--- a/drivers/net/wireless/ath/ath9k/recv.c
+++ b/drivers/net/wireless/ath/ath9k/recv.c
@@ -1824,6 +1824,7 @@ int ath_rx_tasklet(struct ath_softc *sc, int flush, bool hp)
hdr = (struct ieee80211_hdr *) (hdr_skb->data + rx_status_len);
rxs = IEEE80211_SKB_RXCB(hdr_skb);
if (ieee80211_is_beacon(hdr->frame_control) &&
+ !is_zero_ether_addr(common->curbssid) &&
!compare_ether_addr(hdr->addr3, common->curbssid))
rs.is_mybeacon = true;
else
--
1.7.9
 
Old 02-11-2012, 11:14 PM
Ankman
 
Default Bug#659521: ATH9K driver will not connect to my adhoc network

Hello,

On Sat, Feb 11, 2012 at 18:29, Jonathan Nieder <jrnieder@gmail.com> wrote:
>
> reassign 659521 src:linux-2.6 3.2.4-1
> quit
>
> Hi,
>
> Ankman wrote:
>
> > Connection to adhoc won't work. Booting the previous
> > (3.1.0-1-686-pae) and it works again. Although in 3.2.0-1-686-pae
> > managed (router bound) connection DO work.
>
> Thanks for reporting it. *Could you elaborate? *In particular:
>
> *- please attach output from
> * "reportbug --template linux-image-$(uname -r)", so we can get to
> * know your configuration and hardware

This (attachment "report.txt") will be from my currently booted kernel
(3.1.0-1-686-pae) as I cannot go online with 3.2... because of the
bug, and not tend to boot it any time soon as the computer is busy. If
you really need it I can do this on Monday or Tuesday. And ignore the
/etc/network/interface part as I start the connection with a script I
wrote which has different IPs and all, see below.

> *- what commands do you use to set up an ad hoc connection? *See [1]
> * for hints on ruling out problems from networkmanager and other
> * higher-level tools when working on wireless bugs, and for hints on
> * getting an event log.

I solely rely on a script I wrote (key and essid were replaced by me),
no network manager involved:

ifconfig wlan0 down
iwconfig wlan0 mode ad-hoc
iwconfig wlan0 my-essid
iwconfig wlan0 key 12345
ifconfig wlan0 192.168.198.251
route add default gw 192.168.198.78

Above works reliable for me since months. Until yesterday when the
kernel-update was installed

> *How do you know it failed? *Any other hints or weird symptoms?

The script is executed, no errors or messages printed on the screen,
nor anything seen in logs (dmesg or syslog). But there is no
connection to the other computer (which routes the internet over
here). When I ping the "router", even if I give it 5 minutes to
connect (usually not longer than 20 seconds) ping will time out. And
there is of course no server in the internet to be reached.

> *- please attach full "dmesg" output from booting up and attempting to
> * connect in ad-hoc mode.

The dmesg.0 is from my the time I booted 3.2.0-1-686-pae and had no
connection. I also attach dmesg which is from the currently still
running 3.1.0-1-686-pae

> If you have time to test the attached patch[2], that might also be
> useful.

Sorry, I don't have much time for that.

I hope this helps, Ankman
Include network configuration and status from this computer?
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="utf-8"
From: Ankman <ank@spamfence.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: linux-image-3.1.0-1-686-pae: none

Package: linux-2.6
Version: 3.1.8-2
Severity: wishlist

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?

*** End of the template - remove these lines ***


-- Package-specific info:
** Version:
Linux version 3.1.0-1-686-pae (Debian 3.1.8-2) (ben@decadent.org.uk) (gcc version 4.6.2 (Debian 4.6.2-11) ) #1 SMP Tue Jan 10 05:42:54 UTC 2012

** Command line:
BOOT_IMAGE=/boot/vmlinuz-3.1.0-1-686-pae root=UUID=23d43e5c-70af-40a5-9e05-531bdc47e724 ro mousedev.tap_time=1 pnpbios=off

** Tainted: O (4096)
* Out-of-tree module has been loaded.

** Kernel log:
[ 3.670265] PM: Hibernation image partition 8:6 present
[ 3.670270] PM: Looking for hibernation image.
[ 3.695362] PM: Image not found (code -22)
[ 3.695367] PM: Hibernation image not present or could not be loaded.
[ 3.781477] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)
[ 5.824215] udevd[260]: starting version 175
[ 6.651035] input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1
[ 6.651179] ACPI: Power Button [PWRB]
[ 6.651464] input: Sleep Button as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input2
[ 6.651604] ACPI: Sleep Button [SLPB]
[ 6.651718] ACPI: acpi_idle yielding to intel_idle
[ 6.651903] input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input3
[ 6.653101] ACPI: Lid Switch [LID0]
[ 6.657983] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input4
[ 6.658134] ACPI: Power Button [PWRF]
[ 6.682113] wmi: Mapper loaded
[ 7.040205] i801_smbus 0000:00:1f.3: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[ 7.328299] ACPI: Battery Slot [BAT0] (battery present)
[ 7.456292] ACPI: AC Adapter [AC] (on-line)
[ 7.461384] cfg80211: Calling CRDA to update world regulatory domain
[ 7.532427] iTCO_vendor_support: vendor-support=0
[ 7.615227] input: PC Speaker as /devices/platform/pcspkr/input/input5
[ 7.619820] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.06
[ 7.620232] iTCO_wdt: Found a NM10 TCO device (Version=2, TCOBASE=0x0460)
[ 7.622528] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[ 7.699864] [drm] Initialized drm 1.1.0 20060810
[ 7.758109] acer_wmi: Acer Laptop ACPI-WMI Extras
[ 7.897503] Linux media interface: v0.10
[ 7.916171] acer_wmi: Function bitmap for Communication Button: 0x1
[ 7.916453] acer_wmi: Brightness must be controlled by generic video driver
[ 7.917683] input: Acer WMI hotkeys as /devices/virtual/input/input6
[ 8.127024] Linux video capture interface: v2.00
[ 8.140959] ath9k 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 8.141095] ath9k 0000:02:00.0: setting latency timer to 64
[ 8.176655] uvcvideo: Found UVC 1.00 device WebCam (0402:7675)
[ 8.193485] ath: EEPROM regdomain: 0x65
[ 8.193493] ath: EEPROM indicates we should expect a direct regpair map
[ 8.193504] ath: Country alpha2 being used: 00
[ 8.193509] ath: Regpair used: 0x65
[ 8.200713] input: WebCam as /devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4:1.0/input/input7
[ 8.202782] usbcore: registered new interface driver uvcvideo
[ 8.202887] USB Video Class driver (1.1.1)
[ 8.207590] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 8.207705] i915 0000:00:02.0: setting latency timer to 64
[ 8.290330] i915 0000:00:02.0: irq 43 for MSI/MSI-X
[ 8.290342] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[ 8.290439] [drm] Driver supports precise vblank timestamp query.
[ 8.290599] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem: owns=io+mem
[ 8.341324] ieee80211 phy0: Selected rate control algorithm 'ath9k_rate_control'
[ 8.343104] Registered led device: ath9k-phy0
[ 8.343119] ieee80211 phy0: Atheros AR9285 Rev:2 mem=0xf8660000, irq=17
[ 8.344417] fixme: max PWM is zero.
[ 8.631475] [drm] initialized overlay support
[ 8.659911] fbcon: inteldrmfb (fb0) is primary device
[ 8.699152] Synaptics Touchpad, model: 1, fw: 7.2, id: 0x1c0b1, caps: 0xd04733/0xa40000/0xa0000
[ 8.763250] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input8
[ 9.076228] Console: switching to colour frame buffer device 128x37
[ 9.084056] fb0: inteldrmfb frame buffer device
[ 9.084061] drm: registered panic notifier
[ 9.388178] acpi device:28: registered as cooling_device3
[ 9.388958] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input9
[ 9.389384] ACPI: Video Device [OVGA] (multi-head: yes rom: no post: no)
[ 9.389707] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[ 9.391343] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[ 9.391695] snd_hda_intel 0000:00:1b.0: irq 44 for MSI/MSI-X
[ 9.391770] snd_hda_intel 0000:00:1b.0: setting latency timer to 64
[ 9.558488] hda_codec: ALC272X: BIOS auto-probing.
[ 9.560613] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input10
[ 9.563931] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[ 9.568110] input: HDA Intel Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[ 10.887750] Adding 1999864k swap on /dev/sda6. Priority:-1 extents:1 across:1999864k
[ 10.912881] EXT4-fs (sda5): re-mounted. Opts: (null)
[ 11.253836] EXT4-fs (sda5): re-mounted. Opts: errors=remount-ro
[ 12.190052] fuse init (API version 7.17)
[ 15.473460] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 28.190646] Disabling lock debugging due to kernel taint
[ 28.213529] vboxdrv: Found 2 processor cores.
[ 28.214224] vboxdrv: fAsync=0 offMin=0x366 offMax=0x1874
[ 28.214544] vboxdrv: TSC mode is 'synchronous', kernel timer mode is 'normal'.
[ 28.214737] vboxdrv: Successfully loaded version 4.1.8_Debian (interface 0x00190000).
[ 28.492180] vboxpci: IOMMU not found (not registered)
[ 30.586313] uhci_hcd 0000:00:1d.0: PCI INT A disabled
[ 30.586936] uhci_hcd 0000:00:1d.2: PCI INT C disabled
[ 30.587287] uhci_hcd 0000:00:1d.3: PCI INT D disabled
[ 30.587636] ehci_hcd 0000:00:1d.7: PCI INT D disabled
[ 30.587784] ehci_hcd 0000:00:1d.7: PME# enabled
[ 30.740133] ehci_hcd 0000:00:1d.7: BAR 0: set to [mem 0x58204400-0x582047ff] (PCI address [0x58204400-0x582047ff])
[ 30.740353] ehci_hcd 0000:00:1d.7: restoring config space at offset 0xf (was 0x400, writing 0x40b)
[ 30.740386] ehci_hcd 0000:00:1d.7: restoring config space at offset 0x1 (was 0x2900000, writing 0x2900002)
[ 30.740487] ehci_hcd 0000:00:1d.7: PME# disabled
[ 30.740507] ehci_hcd 0000:00:1d.7: PCI INT D -> GSI 22 (level, low) -> IRQ 22
[ 30.740652] ehci_hcd 0000:00:1d.7: setting latency timer to 64
[ 30.837674] uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 30.837831] uhci_hcd 0000:00:1d.0: setting latency timer to 64
[ 30.883175] uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 21 (level, low) -> IRQ 21
[ 30.883379] uhci_hcd 0000:00:1d.2: setting latency timer to 64
[ 30.923638] uhci_hcd 0000:00:1d.3: PCI INT D -> GSI 22 (level, low) -> IRQ 22
[ 30.923847] uhci_hcd 0000:00:1d.3: setting latency timer to 64
[ 44.492203] wlan0: Creating new IBSS network, BSSID 12:e2:f9:cd:0f:cb
[ 47.520052] wlan0: no IPv6 routers present

** Model information
not available

** Loaded modules:
pci_stub
vboxpci(O)
vboxnetadp(O)
vboxnetflt(O)
vboxdrv(O)
fuse
snd_hda_codec_realtek
joydev
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_pcm_oss
snd_mixer_oss
snd_pcm
snd_seq_midi
arc4
i915
uvcvideo
ath9k
videodev
snd_rawmidi
snd_seq_midi_event
mac80211
snd_seq
drm_kms_helper
media
snd_timer
snd_seq_device
acer_wmi
drm
ath9k_common
ath9k_hw
iTCO_wdt
pcspkr
sparse_keymap
i2c_algo_bit
psmouse
snd
ath
serio_raw
evdev
iTCO_vendor_support
soundcore
cfg80211
i2c_i801
snd_page_alloc
rfkill
i2c_core
ac
battery
power_supply
wmi
video
processor
button
ext4
mbcache
jbd2
crc16
sd_mod
crc_t10dif
ahci
libahci
libata
scsi_mod
uhci_hcd
ehci_hcd
usbcore
fan
thermal
thermal_sys
atl1c

** Network interface configuration:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo wlan0 eth0
iface lo inet loopback

iface wlan0 inet static
address 192.168.7.1
netmask 255.255.255.0
network 192.168.7.0
broadcast 192.168.7.255

** Network status:
*** IP interfaces and addresses:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 1c:75:08:e4:14:00 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 68:a3:c4:36:69:e4 brd ff:ff:ff:ff:ff:ff
inet 192.168.198.251/24 brd 192.168.198.255 scope global wlan0
inet6 fe80::6aa3:c4ff:fe36:69e4/64 scope link
valid_lft forever preferred_lft forever

*** Device statistics:
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
lo: 1440 24 0 0 0 0 0 0 1440 24 0 0 0 0 0 0
eth0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
wlan0: 709048695 554389 0 0 0 0 0 0 51049452 476671 0 0 0 0 0 0

*** Protocol statistics:
Ip:
554375 total packets received
0 forwarded
0 incoming packets discarded
554360 incoming packets delivered
476659 requests sent out
96 dropped because of missing route
Icmp:
37 ICMP messages received
12 input ICMP message failed.
ICMP input histogram:
destination unreachable: 35
echo replies: 2
3 ICMP messages sent
0 ICMP messages failed
ICMP output histogram:
destination unreachable: 1
echo request: 2
IcmpMsg:
InType0: 2
InType3: 35
OutType3: 1
OutType8: 2
Tcp:
9308 active connections openings
0 passive connection openings
13 failed connection attempts
25 connection resets received
14 connections established
521512 segments received
444593 segments send out
56 segments retransmited
0 bad segments received.
58 resets sent
Udp:
32783 packets received
1 packets to unknown port received.
0 packet receive errors
32019 packets sent
UdpLite:
TcpExt:
7 packets pruned from receive queue because of socket buffer overrun
6116 TCP sockets finished time wait in fast timer
11789 delayed acks sent
2 delayed acks further delayed because of locked socket
Quick ack mode was activated 12 times
223 packets directly queued to recvmsg prequeue.
80274 bytes directly received in process context from prequeue
462318 packet headers predicted
10 packets header predicted and directly queued to user
15448 acknowledgments not containing data payload received
4944 predicted acknowledgments
18 congestion windows recovered without slow start after partial ack
20 retransmits in slow start
32 other TCP timeouts
239 packets collapsed in receive queue due to low socket buffer
13 DSACKs sent for old packets
12 DSACKs received
8 connections reset due to unexpected data
19 connections reset due to early user close
1 connections aborted due to timeout
TCPDSACKIgnoredNoUndo: 3
TCPSackShiftFallback: 6
IpExt:
OutMcastPkts: 2
InBcastPkts: 39
InOctets: 701286083
OutOctets: 34842368
OutMcastOctets: 321
InBcastOctets: 9291


** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation N10 Family DMI Bridge [8086:a010]
Subsystem: Acer Incorporated [ALI] Device [1025:0349]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
Latency: 0
Capabilities: <access denied>
Kernel driver in use: agpgart-intel

00:02.0 VGA compatible controller [0300]: Intel Corporation N10 Family Integrated Graphics Controller [8086:a011] (prog-if 00 [VGA controller])
Subsystem: Acer Incorporated [ALI] Device [1025:0349]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 43
Region 0: Memory at 58180000 (32-bit, non-prefetchable) [size=512K]
Region 1: I/O ports at 60c0 [size=8]
Region 2: Memory at 40000000 (32-bit, prefetchable) [size=256M]
Region 3: Memory at 58000000 (32-bit, non-prefetchable) [size=1M]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: i915

00:02.1 Display controller [0380]: Intel Corporation N10 Family Integrated Graphics Controller [8086:a012]
Subsystem: Acer Incorporated [ALI] Device [1025:0349]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Region 0: Memory at 58100000 (32-bit, non-prefetchable) [size=512K]
Capabilities: <access denied>

00:1b.0 Audio device [0403]: Intel Corporation N10/ICH 7 Family High Definition Audio Controller [8086:27d8] (rev 02)
Subsystem: Acer Incorporated [ALI] Device [1025:0349]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 44
Region 0: Memory at 58200000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 1 [8086:27d0] (rev 02) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00005000-00005fff
Memory behind bridge: 57000000-57ffffff
Prefetchable memory behind bridge: 0000000050000000-0000000050ffffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1c.1 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 2 [8086:27d2] (rev 02) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00004000-00004fff
Memory behind bridge: 56000000-56ffffff
Prefetchable memory behind bridge: 0000000051000000-0000000051ffffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1d.0 USB controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 [8086:27c8] (rev 02) (prog-if 00 [UHCI])
Subsystem: Acer Incorporated [ALI] Device [1025:0349]
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 18
Region 4: I/O ports at 6080 [size=32]
Kernel driver in use: uhci_hcd

00:1d.1 USB controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 [8086:27c9] (rev 02) (prog-if 00 [UHCI])
Subsystem: Acer Incorporated [ALI] Device [1025:0349]
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin B routed to IRQ 20
Region 4: I/O ports at 6060 [size=32]
Kernel driver in use: uhci_hcd

00:1d.2 USB controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 [8086:27ca] (rev 02) (prog-if 00 [UHCI])
Subsystem: Acer Incorporated [ALI] Device [1025:0349]
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin C routed to IRQ 21
Region 4: I/O ports at 6040 [size=32]
Kernel driver in use: uhci_hcd

00:1d.3 USB controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 [8086:27cb] (rev 02) (prog-if 00 [UHCI])
Subsystem: Acer Incorporated [ALI] Device [1025:0349]
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin D routed to IRQ 22
Region 4: I/O ports at 6020 [size=32]
Kernel driver in use: uhci_hcd

00:1d.7 USB controller [0c03]: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller [8086:27cc] (rev 02) (prog-if 20 [EHCI])
Subsystem: Acer Incorporated [ALI] Device [1025:0349]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin D routed to IRQ 22
Region 0: Memory at 58204400 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e2) (prog-if 01 [Subtractive decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Bus: primary=00, secondary=05, subordinate=05, sec-latency=32
Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>

00:1f.0 ISA bridge [0601]: Intel Corporation NM10 Family LPC Controller [8086:27bc] (rev 02)
Subsystem: Acer Incorporated [ALI] Device [1025:0349]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Capabilities: <access denied>

00:1f.2 SATA controller [0106]: Intel Corporation N10/ICH7 Family SATA Controller [AHCI mode] [8086:27c1] (rev 02) (prog-if 01 [AHCI 1.0])
Subsystem: Acer Incorporated [ALI] Device [1025:0349]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin B routed to IRQ 42
Region 0: I/O ports at 60b8 [size=8]
Region 1: I/O ports at 60cc [size=4]
Region 2: I/O ports at 60b0 [size=8]
Region 3: I/O ports at 60c8 [size=4]
Region 4: I/O ports at 60a0 [size=16]
Region 5: Memory at 58204000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ahci

00:1f.3 SMBus [0c05]: Intel Corporation N10/ICH 7 Family SMBus Controller [8086:27da] (rev 02)
Subsystem: Acer Incorporated [ALI] Device [1025:0349]
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin B routed to IRQ 17
Region 4: I/O ports at 6000 [size=32]
Kernel driver in use: i801_smbus

01:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR8152 v1.1 Fast Ethernet [1969:2060] (rev c1)
Subsystem: Acer Incorporated [ALI] Device [1025:0349]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 16
Region 0: Memory at 57000000 (64-bit, non-prefetchable) [size=256K]
Region 2: I/O ports at 5000 [size=128]
Capabilities: <access denied>
Kernel driver in use: atl1c

02:00.0 Network controller [0280]: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
Subsystem: Lite-On Communications Inc Device [11ad:6631]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 17
Region 0: Memory at 56000000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: ath9k


** USB devices:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0402:7675 ALi Corp.


-- System Information:
Debian Release: wheezy/sid
APT prefers testing-proposed-updates
APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_CA.utf8, LC_CTYPE=en_CA.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-3.1.0-1-686-pae depends on:
ii debconf [debconf-2.0] 1.5.41
ii initramfs-tools [linux-initramfs-tool] 0.99
ii linux-base 3.4
ii module-init-tools 3.16-1

Versions of packages linux-image-3.1.0-1-686-pae recommends:
ii firmware-linux-free <none>
ii libc6-i686 2.13-26

Versions of packages linux-image-3.1.0-1-686-pae suggests:
pn grub-pc 1.99-14
pn linux-doc-3.1 <none>

Versions of packages linux-image-3.1.0-1-686-pae is related to:
pn firmware-bnx2 <none>
pn firmware-bnx2x <none>
pn firmware-ipw2x00 <none>
pn firmware-ivtv <none>
pn firmware-iwlwifi <none>
pn firmware-linux <none>
pn firmware-linux-nonfree <none>
pn firmware-qlogic <none>
pn firmware-ralink <none>
pn xen-hypervisor <none>

-- debconf information:
linux-image-3.1.0-1-686-pae/prerm/removing-running-kernel-3.1.0-1-686-pae: true
linux-image-3.1.0-1-686-pae/postinst/missing-firmware-3.1.0-1-686-pae:
linux-image-3.1.0-1-686-pae/postinst/ignoring-ramdisk:
linux-image-3.1.0-1-686-pae/postinst/depmod-error-initrd-3.1.0-1-686-pae: false
 
Old 02-11-2012, 11:27 PM
Jonathan Nieder
 
Default Bug#659521: ATH9K driver will not connect to my adhoc network

Ankman wrote:

> This (attachment "report.txt") will be from my currently booted kernel
> (3.1.0-1-686-pae)

Thanks! That's fine. Forwarded to the bug log.

[...]
> I solely rely on a script I wrote (key and essid were replaced by me),
> no network manager involved:
>
> ifconfig wlan0 down
> iwconfig wlan0 mode ad-hoc
> iwconfig wlan0 my-essid
> iwconfig wlan0 key 12345
> ifconfig wlan0 192.168.198.251
> route add default gw 192.168.198.78
>
> Above works reliable for me since months. Until yesterday when the
> kernel-update was installed

Ok, please send a summary of this problem upstream (that's
ath9k-devel@lists.ath9k.org, cc-ing linux-wireless@vger.kernel.org,
linux-kernel@vger.kernel.org, and either me or this bug log so we can
track it).

Be sure to mention the steps to reproduce, expected result, actual
result, and versions tested, and what kind of testing you would and
would not be able to do to track this down, just as you have here, and
include a link to this bug log for the full story.

>> If you have time to test the attached patch[2], that might also be
>> useful.
>
> Sorry, I don't have much time for that.

That's fine. If we're lucky, someone more familiar with these things
upstream can come up with some way to confirm or rule out that cause
without having to build a new kernel.

Thanks for the quick feedback.
Jonathan



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120212002737.GF2719@burratino">http://lists.debian.org/20120212002737.GF2719@burratino
 
Old 02-12-2012, 09:58 AM
David Goodenough
 
Default Bug#659521: ATH9K driver will not connect to my adhoc network

On Sunday 12 Feb 2012, Jonathan Nieder wrote:
> Ankman wrote:
> > This (attachment "report.txt") will be from my currently booted kernel
> > (3.1.0-1-686-pae)
>
> Thanks! That's fine. Forwarded to the bug log.
>
> [...]
>
> > I solely rely on a script I wrote (key and essid were replaced by me),
> > no network manager involved:
> >
> > ifconfig wlan0 down
> > iwconfig wlan0 mode ad-hoc
> > iwconfig wlan0 my-essid
> > iwconfig wlan0 key 12345
> > ifconfig wlan0 192.168.198.251
> > route add default gw 192.168.198.78
> >
> > Above works reliable for me since months. Until yesterday when the
> > kernel-update was installed
>
> Ok, please send a summary of this problem upstream (that's
> ath9k-devel@lists.ath9k.org, cc-ing linux-wireless@vger.kernel.org,
> linux-kernel@vger.kernel.org, and either me or this bug log so we can
> track it).
I suspect that if you do that the reply will be to rewrite the script
to use iw rather than iwconfig. It might be worth trying that first
as it may solve the problem.

David
>
> Be sure to mention the steps to reproduce, expected result, actual
> result, and versions tested, and what kind of testing you would and
> would not be able to do to track this down, just as you have here, and
> include a link to this bug log for the full story.
>
> >> If you have time to test the attached patch[2], that might also be
> >> useful.
> >
> > Sorry, I don't have much time for that.
>
> That's fine. If we're lucky, someone more familiar with these things
> upstream can come up with some way to confirm or rule out that cause
> without having to build a new kernel.
>
> Thanks for the quick feedback.
> Jonathan


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201202121058.49548.david.goodenough@btconnect.com" >http://lists.debian.org/201202121058.49548.david.goodenough@btconnect.com
 
Old 02-12-2012, 01:41 PM
Ankman
 
Default Bug#659521: ATH9K driver will not connect to my adhoc network

Hello,

as this is my first bug report ever I'm not sure if I understand.

Am I supposed to send all I sent to you previously to the addresses
given in this mail? So the dmesg log and my setup? Can't you do it
instead? I don't want to make a mistake.

I also might later (cannot guarantee though) be able to apply the
patch you provided. But I didn't apply pages since quite some time and
have not much time. If you are interested that I try this can you
please provide me with all console commands how I do this?

With kind regards, Ankman

On Sat, Feb 11, 2012 at 19:27, Jonathan Nieder <jrnieder@gmail.com> wrote:
> Ankman wrote:
>
>> This (attachment "report.txt") will be from my currently booted kernel
>> (3.1.0-1-686-pae)
>
> Thanks! *That's fine. *Forwarded to the bug log.
>
> [...]
>> I solely rely on a script I wrote (key and essid were replaced by me),
>> no network manager involved:
>>
>> ifconfig wlan0 down
>> iwconfig wlan0 mode ad-hoc
>> iwconfig wlan0 my-essid
>> iwconfig wlan0 key 12345
>> ifconfig wlan0 192.168.198.251
>> route add default gw 192.168.198.78
>>
>> Above works reliable for me since months. Until yesterday when the
>> kernel-update was installed
>
> Ok, please send a summary of this problem upstream (that's
> ath9k-devel@lists.ath9k.org, cc-ing linux-wireless@vger.kernel.org,
> linux-kernel@vger.kernel.org, and either me or this bug log so we can
> track it).
>
> Be sure to mention the steps to reproduce, expected result, actual
> result, and versions tested, and what kind of testing you would and
> would not be able to do to track this down, just as you have here, and
> include a link to this bug log for the full story.
>
>>> If you have time to test the attached patch[2], that might also be
>>> useful.
>>
>> Sorry, I don't have much time for that.
>
> That's fine. *If we're lucky, someone more familiar with these things
> upstream can come up with some way to confirm or rule out that cause
> without having to build a new kernel.
>
> Thanks for the quick feedback.
> Jonathan



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAMke3RrKe3EbzPV=ZgTYpB3smR3cSNWj1Q+hxPGxCr0_7v8Uw A@mail.gmail.com">http://lists.debian.org/CAMke3RrKe3EbzPV=ZgTYpB3smR3cSNWj1Q+hxPGxCr0_7v8Uw A@mail.gmail.com
 
Old 02-12-2012, 05:52 PM
Jonathan Nieder
 
Default Bug#659521: ATH9K driver will not connect to my adhoc network

(Resending to the correct bug. Sorry for the duplicate messages, Ankman
and David.)
Hi,

Ankman wrote:

> Am I supposed to send all I sent to you previously to the addresses
> given in this mail? So the dmesg log and my setup? Can't you do it
> instead? I don't want to make a mistake.

More important than the logs (which they can get e.g. through a link to
<http://bugs.debian.org/659519>) is a succinct summary of the problem.

I usually ask bug reporters to make the first contact with upstream
so they can add additional information if appropriate and choose an
appropriate time to be able to reply to followups if busy.

> I also might later (cannot guarantee though) be able to apply the
> patch you provided. But I didn't apply pages since quite some time and
> have not much time. If you are interested that I try this can you
> please provide me with all console commands how I do this?

Thanks! Here's a summary of the page[1] I mentioned before:

# as root:
apt-get source linux-2.6
apt-get install build-essential fakeroot devscripts
apt-get build-dep linux-2.6

# as a normal user:
cd linux-2.6-<version>

bash debian/bin/test-patches <path to patch>
# or, for parallel build:
bash debian/bin/test-patches -j <num> <path to patch>

# as root:
dpkg -i ../<name of package>
reboot

[...]
>>> ifconfig wlan0 down
>>> iwconfig wlan0 mode ad-hoc
>>> iwconfig wlan0 my-essid
>>> iwconfig wlan0 key 12345
>>> ifconfig wlan0 192.168.198.251
>>> route add default gw 192.168.198.78

As David Goodenough hinted, upstream might be more comfortable working
with the "ip" and "iw" tools from the iproute and iw packages. Something
like this:

ip link set wlan0 down
ip link set wlan0 up
iw dev wlan0 interface add ah0 type ibss
ip link set ah0 up
iw dev ah0 ibss join my-essid 2412
ip address add 192.168.198.251 dev wlan0
ip route add default via 192.168.198.78 dev wlan0

...
iw dev ah0 ibss leave
ip link set ah0 down
ip link set wlan0 down

Running "iw event -t" in another terminal while doing this can give
interesting progress information. And "dmesg" tends to report errors,
as usual.

Hope that helps,
Jonathan

[1] http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s4.2.2



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120212185222.GD7917@burratino">http://lists.debian.org/20120212185222.GD7917@burratino
 
Old 02-12-2012, 11:14 PM
Jonathan Nieder
 
Default Bug#659521: ATH9K driver will not connect to my adhoc network

Jonathan Nieder wrote:

> Forwarding to the bug log.

Oh, dear. Now I've reread your message. Sorry for publishing your
email address (in message ID <20120213000954.GB2256@burratino>, sent
to bug 659521). Don, I assume it is too late to remove that message
from the archive? :/

Unhappily,
Jonathan



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120213001419.GC2256@burratino">http://lists.debian.org/20120213001419.GC2256@burratino
 
Old 02-12-2012, 11:36 PM
Jonathan Nieder
 
Default Bug#659521: ATH9K driver will not connect to my adhoc network

Jonathan Nieder wrote:

> Oh, dear. Now I've reread your message. Sorry for publishing your
> email address (in message ID <20120213000954.GB2256@burratino>, sent
> to bug 659521). Don, I assume it is too late to remove that message
> from the archive? :/

Same question for listmaster (for http://lists.debian.org/debian-kernel).
I realize the mistake cannot be taken back and the message is already
public, but maybe it is possible to mitigate the damage by removing the
message from public archives.

I've contacted Lars from gmane separately. mail-archive.com already
munges email addresses. I'm not aware of any other public archives
of debian-kernel@ and debian-bugs-dist@, though that doesn't mean
they don't exist. I've read

http://www.debian.org/MailingLists/disclaimer

which makes it clear I cannot *demand* that you remove my message, but
maybe I am lucky and politely asking it can work so another does not
suffer for my mistake. (Information on that page either way about
whether old messages can be removed and under what circumstances would
be welcome, by the way.)

Thanks and sorry,
Jonathan



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120213003600.GE2256@burratino">http://lists.debian.org/20120213003600.GE2256@burratino
 

Thread Tools




All times are GMT. The time now is 07:22 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org