Re: I lost ath0 support on current sometime between Sept 20 and Sept 26.

From: आशीष शुक्ल Ashish Shukla <wahjava.ml_at_gmail.com>
Date: Thu, 2 Oct 2008 19:27:03 +0530
In <9BD7602D-0DC4-4042-986E-17100B155C95_at_freebsd.org>, Rui Paulo wrote:

> Hmm. What do you mean? It seems you can now get an IP from the DHCP server, 
> so things should be working, no?

I'm running in a network where IPv4 addresses are statically assigned. And if you notice 
the dmesg output (in my last mail), you can see continuous change in link state of wlan0, which 
is caused by wpa_supplicant failing to negotiate encryption. Sorry this I've not 
mentioned earlier. I've even tried connecting without authentication, but no successes so far. 
i.e. I can't communicate with any other nodes of the network.

Following is the output of dmesg and manually running wpa_supplicant. The 
wpa_supplicant configuration is same as the one which I use in Gentoo GNU/Linux 
(which is co-installed with it).

---->8----->8-----
abbe [~] monte-cristo% sudo killall wpa_supplicant
abbe [~] monte-cristo% sudo ifconfig wlan0 up
abbe [~] monte-cristo% sudo wpa_supplicant -Dbsd -iwlan0 -c/etc/wpa_supplicant.conf
ioctl[SIOCS80211, op 103, len 128]: Device not configured
Failed to initiate AP scan.
Trying to associate with 00:1e:2a:76:f4:60 (SSID='18-B-PARVATIYA' freq=2437 MHz)
Associated with 00:1e:2a:76:f4:60
WPA: 4-Way Handshake failed - pre-shared key may be incorrect
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Trying to associate with 00:1e:2a:76:f4:60 (SSID='18-B-PARVATIYA' freq=2437 MHz)
Associated with 00:1e:2a:76:f4:60
WPA: 4-Way Handshake failed - pre-shared key may be incorrect
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Trying to associate with 00:1e:2a:76:f4:60 (SSID='18-B-PARVATIYA' freq=2437 MHz)
Authentication with 00:1e:2a:76:f4:60 timed out.
Trying to associate with 00:1e:2a:76:f4:60 (SSID='18-B-PARVATIYA' freq=2437 MHz)
Associated with 00:1e:2a:76:f4:60
WPA: 4-Way Handshake failed - pre-shared key may be incorrect
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Trying to associate with 00:1e:2a:76:f4:60 (SSID='18-B-PARVATIYA' freq=2437 MHz)
Associated with 00:1e:2a:76:f4:60
WPA: 4-Way Handshake failed - pre-shared key may be incorrect
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Trying to associate with 00:1e:2a:76:f4:60 (SSID='18-B-PARVATIYA' freq=2437 MHz)
Associated with 00:1e:2a:76:f4:60
^CCTRL-EVENT-TERMINATING - signal 2 received
ioctl[SIOCS80211, op 26, arg 0x0]: Operation not supported
Failed to disable WPA in the driver.
abbe [~] monte-cristo% dmesg 
Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.0-CURRENT #10: Thu Oct  2 15:11:19 IST 2008
     root_at_monte-cristo.france:/usr/obj/usr/src/sys/ULE
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU     T5450  _at_ 1.66GHz (1669.16-MHz K8-class CPU)
   Origin = "GenuineIntel"  Id = 0x6fd  Stepping = 13
   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Features2=0xe39d<SSE3,DTES64,MON,DS_CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM>
   AMD Features=0x20100800<SYSCALL,NX,LM>
   AMD Features2=0x1<LAHF>
   Cores per package: 2
usable memory = 2125701120 (2027 MB)
avail memory  = 2053513216 (1958 MB)
ACPI APIC Table: <HPQOEM SLIC-MPC>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 4
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, RF2417)
cryptosoft0: <software crypto> on motherboard
acpi0: <HPQOEM SLIC-MPC> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_ec0: <Embedded Controller: GPE 0x1c> port 0x62,0x66 on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
acpi_button0: <Power Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button1: <Sleep Button> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0x30d0-0x30d7 mem 0x91000000-0x910fffff,0x80000000-0x8fffffff irq 16 at device 2.0 on pci0
agp0: <Intel GM965 SVGA controller> on vgapci0
agp0: detected 7676k stolen memory
agp0: aperture size is 256M
vgapci1: <VGA-compatible display> mem 0x91100000-0x911fffff at device 2.1 on pci0
hdac0: <Intel 82801H High Definition Audio Controller> mem 0x92400000-0x92403fff irq 22 at device 27.0 on pci0
hdac0: <HDA Driver Revision: 20080916_0112>
hdac0: [ITHREAD]
pcib1: <ACPI PCI-PCI bridge> irq 18 at device 28.0 on pci0
pci1: <ACPI PCI bus> on pcib1
ath0: <Atheros 5424/2424> mem 0x91300000-0x9130ffff irq 16 at device 0.0 on pci1
ath0: [ITHREAD]
ath0: WARNING: using obsoleted if_watchdog interface
ath0: mac 14.2 phy 7.0 radio 10.2
uhci0: <Intel 82801H (ICH8) USB controller USB-A> port 0x3080-0x309f irq 21 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <Intel 82801H (ICH8) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801H (ICH8) USB controller USB-B> port 0x3060-0x307f irq 20 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <Intel 82801H (ICH8) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801H (ICH8) USB controller USB-C> port 0x3040-0x305f irq 19 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2: <Intel 82801H (ICH8) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
uhub2: 2 ports with 2 removable, self powered
ehci0: <Intel 82801H (ICH8) USB 2.0 controller USB2-A> mem 0x92404800-0x92404bff irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: <Intel 82801H (ICH8) USB 2.0 controller USB2-A> on ehci0
usb3: USB revision 2.0
uhub3: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb3
uhub3: 6 ports with 6 removable, self powered
umass0: <Generic USB2.0-CRW, class 0/0, rev 2.00/51.95, addr 2> on uhub3
ugen0: <Syntek USB2.0 UVC PC Camera, class 239/2, rev 2.00/11.08, addr 3> on uhub3
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
rl0: <RealTek 8139 10/100BaseTX> port 0x1000-0x10ff mem 0x91200000-0x912000ff irq 16 at device 1.0 on pci2
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> PHY 0 on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:1b:38:ea:5c:76
rl0: [ITHREAD]
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH8M UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x30a0-0x30af irq 19 at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
atapci1: <Intel AHCI controller> port 0x30b8-0x30bf,0x30dc-0x30df,0x30b0-0x30b7,0x30d8-0x30db,0x3020-0x303f mem 0x92404000-0x924047ff irq 17 at device 31.2 on pci0
atapci1: [ITHREAD]
atapci1: AHCI Version 01.10 controller with 3 ports PM supported
ata2: <ATA channel 0> on atapci1
ata2: executing CLO failed
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci1
ata3: port not implemented
ata3: [ITHREAD]
ata4: <ATA channel 2> on atapci1
ata4: port not implemented
ata4: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_tz0: <Thermal Zone> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x77 on acpi0
atrtc0: Warning: Couldn't map I/O.
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model GlidePoint, device ID 0
cpu0: <ACPI CPU> on acpi0
coretemp0: <CPU On-Die Thermal Sensors> on cpu0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
cpu1: <ACPI CPU> on acpi0
coretemp1: <CPU On-Die Thermal Sensors> on cpu1
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
ppc0: cannot reserve I/O port range
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ums0: <Logitech USB Optical Mouse, class 0/0, rev 2.00/43.01, addr 2> on uhub0
ums0: 8 buttons and Z dir.
Timecounters tick every 1.000 msec
IPsec: Initialized Security Association Processing.
acd0: DVDR <TSSTcorp CDDVDW TS-L632H/HS02> at ata0-master PIO4
ad4: 152627MB <TOSHIBA MK1637GSX DL032C> at ata2-master SATA150
hdac0: <HDA Codec #0: Conexant (Unknown)>
pcm0: <HDA codec #0 Conexant (Unknown) PCM #0> on hdac0
pcm1: <HDA codec #0 Conexant (Unknown) PCM #1> on hdac0
GEOM_LABEL: Label for provider ad4s4 is ntfs/PRESARIO_RP.
GEOM_LABEL: Label for provider ad4s8 is ext2fs//boot.
SMP: AP CPU #1 Launched!
WARNING: WITNESS option enabled, expect reduced performance.
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <Generic- Multi-Card 1.00> Removable Direct Access SCSI-0 device 
da0: 40.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
Trying to mount root from ufs:/dev/ad4s2a
lock order reversal:
  1st 0xffffff000194d000 vfslock (vfslock) _at_ /usr/src/sys/kern/vfs_subr.c:372
  2nd 0xffffff0001854d80 devfs (devfs) _at_ /usr/src/sys/kern/vfs_lookup.c:428
  3rd 0xffffff000194cc80 vfslock (vfslock) _at_ /usr/src/sys/kern/vfs_subr.c:372
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
_witness_debugger() at _witness_debugger+0x49
witness_checkorder() at witness_checkorder+0x7a4
__lockmgr_args() at __lockmgr_args+0xca6
vfs_busy() at vfs_busy+0xd0
vfs_mount_alloc() at vfs_mount_alloc+0x7d
vfs_donmount() at vfs_donmount+0xf0d
kernel_mount() at kernel_mount+0xa1
kernel_vmount() at kernel_vmount+0xce
vfs_mountroot_try() at vfs_mountroot_try+0xf4
vfs_mountroot() at vfs_mountroot+0x3ea
start_init() at start_init+0x62
fork_exit() at fork_exit+0x12a
fork_trampoline() at fork_trampoline+0xe
--- trap 0, rip = 0, rsp = 0xfffffffe40012d40, rbp = 0 ---
lock order reversal:
  1st 0xffffff0001854620 ufs (ufs) _at_ /usr/src/sys/kern/vfs_subr.c:2051
  2nd 0xffffff000194d000 vfslock (vfslock) _at_ /usr/src/sys/kern/vfs_subr.c:372
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
_witness_debugger() at _witness_debugger+0x49
witness_checkorder() at witness_checkorder+0x7a4
__lockmgr_args() at __lockmgr_args+0xca6
vfs_busy() at vfs_busy+0xd0
lookup() at lookup+0x8c0
namei() at namei+0x454
kern_unlinkat() at kern_unlinkat+0x9d
vfs_mountroot_try() at vfs_mountroot_try+0x415
vfs_mountroot() at vfs_mountroot+0x3ea
start_init() at start_init+0x62
fork_exit() at fork_exit+0x12a
fork_trampoline() at fork_trampoline+0xe
--- trap 0, rip = 0, rsp = 0xfffffffe40012d40, rbp = 0 ---
lock order reversal:
  1st 0xffffff0001325070 user map (user map) _at_ /usr/src/sys/vm/vm_map.c:3115
  2nd 0xffffff0001854448 ufs (ufs) _at_ /usr/src/sys/kern/vfs_subr.c:2051
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
_witness_debugger() at _witness_debugger+0x49
witness_checkorder() at witness_checkorder+0x7a4
__lockmgr_args() at __lockmgr_args+0xca6
ffs_lock() at ffs_lock+0x8c
VOP_LOCK1_APV() at VOP_LOCK1_APV+0x9b
_vn_lock() at _vn_lock+0x50
vget() at vget+0x7d
vnode_pager_lock() at vnode_pager_lock+0x1d4
vm_fault() at vm_fault+0x22f
trap_pfault() at trap_pfault+0x103
trap() at trap+0x51c
calltrap() at calltrap+0x8
--- trap 0xc, rip = 0x40014f, rsp = 0x7fffffffee70, rbp = 0x7fffffffee90 ---
wlan0: Ethernet address: 00:1f:3a:1a:50:b3
lock order reversal:
  1st 0xfffffffe694ace50 bufwait (bufwait) _at_ /usr/src/sys/kern/vfs_bio.c:2443
  2nd 0xffffff0001918400 dirhash (dirhash) _at_ /usr/src/sys/ufs/ufs/ufs_dirhash.c:254
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
_witness_debugger() at _witness_debugger+0x49
witness_checkorder() at witness_checkorder+0x7a4
_sx_xlock() at _sx_xlock+0x44
ufsdirhash_acquire() at ufsdirhash_acquire+0x29
ufsdirhash_remove() at ufsdirhash_remove+0x16
ufs_dirremove() at ufs_dirremove+0x170
ufs_remove() at ufs_remove+0x80
VOP_REMOVE_APV() at VOP_REMOVE_APV+0x93
kern_unlinkat() at kern_unlinkat+0x23b
syscall() at syscall+0x1bf
Xfast_syscall() at Xfast_syscall+0xab
--- syscall (10, FreeBSD ELF64, unlink), rip = 0x80070b8ac, rsp = 0x7fffffffe468, rbp = 0x7fffffffef76 ---
lock order reversal:
  1st 0xffffff0001d2d640 vfslock (vfslock) _at_ /usr/src/sys/kern/vfs_subr.c:372
  2nd 0xffffff0001ce9ba8 syncer (syncer) _at_ /usr/src/sys/kern/vfs_subr.c:3292
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
_witness_debugger() at _witness_debugger+0x49
witness_checkorder() at witness_checkorder+0x7a4
__lockmgr_args() at __lockmgr_args+0xc59
vop_stdlock() at vop_stdlock+0x39
VOP_LOCK1_APV() at VOP_LOCK1_APV+0x9b
_vn_lock() at _vn_lock+0x50
vfs_allocate_syncvnode() at vfs_allocate_syncvnode+0x6b
vfs_donmount() at vfs_donmount+0x132d
nmount() at nmount+0xa8
syscall() at syscall+0x1bf
Xfast_syscall() at Xfast_syscall+0xab
--- syscall (378, FreeBSD ELF64, nmount), rip = 0x8007a03dc, rsp = 0x7fffffffda68, rbp = 0x7fffffffe018 ---
svc_tli_create: could not bind to requested address
NLM: unable to create (NLM_PROG, 0).
drm0: <Intel i965GM> on vgapci0
vgapci0: child drm0 requested pci_enable_busmaster
info: [drm] AGP at 0x80000000 256MB
info: [drm] Initialized i915 1.6.0 20080312
drm0: [ITHREAD]
wlan0: link state changed to UP
wlan0: link state changed to DOWN
wlan0: link state changed to UP
wlan0: link state changed to DOWN
wlan0: link state changed to UP
wlan0: link state changed to DOWN
wlan0: link state changed to UP
wlan0: link state changed to DOWN
wlan0: link state changed to UP
wlan0: link state changed to DOWN
wlan0: link state changed to UP
wlan0: link state changed to DOWN
wlan0: link state changed to UP
wlan0: link state changed to DOWN
wlan0: link state changed to UP
wlan0: link state changed to DOWN
wlan0: link state changed to UP
wlan0: link state changed to DOWN
wlan0: link state changed to UP
wlan0: link state changed to DOWN
wlan0: link state changed to UP
wlan0: link state changed to DOWN
wlan0: link state changed to UP
wlan0: link state changed to DOWN
wlan0: link state changed to UP
wlan0: link state changed to DOWN
wlan0: link state changed to UP
wlan0: link state changed to DOWN
SGI XFS with large block numbers, tracing, no debug enabled
fsname '/dev/ad4s7' logname '' rtname ''
flags 0x200000 sunit 0 swidth 0 logbufs -1 logbufsize -1
xfs_setsize_buftarg NI 0xffffff007a86a020
XFS mounting filesystem /dev/ad4s7
Ending clean XFS mount for filesystem: /dev/ad4s7
lock order reversal:
  1st 0xffffff007a8437f8 xfs (xfs) _at_ /usr/src/sys/modules/xfs/../../gnu/fs/xfs/FreeBSD/xfs_mountops.c:307
  2nd 0xffffff0001d2d320 vfslock (vfslock) _at_ /usr/src/sys/kern/vfs_subr.c:372
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
_witness_debugger() at _witness_debugger+0x49
witness_checkorder() at witness_checkorder+0x7a4
__lockmgr_args() at __lockmgr_args+0xca6
vfs_busy() at vfs_busy+0xd0
vfs_donmount() at vfs_donmount+0xb03
nmount() at nmount+0xa8
syscall() at syscall+0x1bf
Xfast_syscall() at Xfast_syscall+0xab
--- syscall (378, FreeBSD ELF64, nmount), rip = 0x8007a53dc, rsp = 0x7fffffffe818, rbp = 0x61fce8 ---
lock order reversal:
  1st 0xfffffffe696cb790 bufwait (bufwait) _at_ /usr/src/sys/kern/vfs_bio.c:1783
  2nd 0xffffff007a005b80 xfsino (xfsino) _at_ /usr/src/sys/modules/xfs/../../gnu/fs/xfs/xfs_iget.c:883
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
_witness_debugger() at _witness_debugger+0x49
witness_checkorder() at witness_checkorder+0x7a4
_sx_slock() at _sx_slock+0x44
xfs_ilock_map_shared() at xfs_ilock_map_shared+0x1e
xfs_iomap() at xfs_iomap+0x127
_xfs_bmap() at _xfs_bmap+0xa5
_xfs_strategy() at _xfs_strategy+0xca
bufstrategy() at bufstrategy+0x43
breadn() at breadn+0xc8
bread() at bread+0x1e
xfs_read_file() at xfs_read_file+0x21c
xfs_read() at xfs_read+0x7d
_xfs_read() at _xfs_read+0x40
vn_read() at vn_read+0x263
dofileread() at dofileread+0x8a
kern_readv() at kern_readv+0x52
read() at read+0x4d
syscall() at syscall+0x1bf
Xfast_syscall() at Xfast_syscall+0xab
--- syscall (3, FreeBSD ELF64, read), rip = 0x80071cd8c, rsp = 0x7fffffffe8d8, rbp = 0 ---
----8<----8<-----

Thats it.

Ashish
-- 
()  ascii ribbon campaign - against HTML e-mail
/\  www.asciiribbon.org   - against proprietary attachments
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
% dig +short cname cdac.in _at_::1
ms.gov.in

Received on Thu Oct 02 2008 - 11:56:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:35 UTC