Re: I lost ath0 support on current sometime between Sept20 and Sept 26. - FreeBSD
This is a discussion on Re: I lost ath0 support on current sometime between Sept20 and Sept 26. - FreeBSD ; Ashish Shukla आशीष शुक्ल writes:
> At the moment, I'm not on my FreeBSD box, but as soon as I boot into my
> FreeBSD box, I'll verify it and will try rebuilding my kernel and
> world.
Following is ...
-
Re: I lost ath0 support on current sometime between Sept20 and Sept 26.
Ashish Shukla आशीष शुक्ल writes:
> At the moment, I'm not on my FreeBSD box, but as soon as I boot into my
> FreeBSD box, I'll verify it and will try rebuilding my kernel and
> world.
Following is the output of dmesg, after I manually loaded ath_hal and
if_ath.ko:
---->8---->8----
ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, RF2417)
ath0: 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
wlan0: Ethernet address: 00:1f:3a:1a:50:b3
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
----8<----8<-----
And following is some other relevant output:
---->8---->8----
abbe [ath] monte-cristo% kldstat
Id Refs Address Size Name
1 39 0xffffffff80100000 924ff8 kernel (/boot/kernel/kernel)
4 6 0xffffffff80a9b000 52000 wlan.ko (/boot/kernel/wlan.ko)
6 2 0xffffffff80af0000 74890 sound.ko (/boot/kernel/sound.ko)
7 1 0xffffffff80b65000 213c0 snd_hda.ko (/boot/kernel/snd_hda.ko)
8 1 0xffffffff80b87000 1dc0 coretemp.ko (/boot/kernel/coretemp.ko)
9 1 0xffffffff80b89000 24e0 wlan_wep.ko (/boot/kernel/wlan_wep.ko)
10 1 0xffffffff80b8c000 7610 wlan_ccmp.ko (/boot/kernel/wlan_ccmp.ko)
11 1 0xffffffff80b94000 3c20 wlan_tkip.ko (/boot/kernel/wlan_tkip.ko)
12 1 0xffffffff80c22000 2cc1c pf.ko (/boot/kernel/pf.ko)
13 1 0xffffffff80c4f000 a566 nfslockd.ko (/boot/kernel/nfslockd.ko)
14 1 0xffffffff80c5a000 c847 krpc.ko (/boot/kernel/krpc.ko)
15 1 0xffffffff80c67000 8967 i915.ko (/boot/kernel/i915.ko)
16 1 0xffffffff80c70000 fbd7 drm.ko (/boot/kernel/drm.ko)
17 3 0xffffffff80c80000 4773c ath_hal.ko (/boot/kernel/ath_hal.ko)
19 1 0xffffffff80cc8000 b9e1 if_ath.ko (/boot/kernel/if_ath.ko)
20 1 0xffffffff80cd4000 186a ath_rate.ko (/boot/kernel/ath_rate.ko)
abbe [ath] monte-cristo% uname -a
FreeBSD monte-cristo.france 8.0-CURRENT FreeBSD 8.0-CURRENT #10: Thu Oct 2 15:11:19 IST 2008 root@monte-cristo.france:/usr/obj/usr/src/sys/ULE amd64
abbe [ath] monte-cristo% cat /usr/src/sys/amd64/conf/ULE |grep -v ^[[:space:]]*# |grep -v ^[[:space:]]*$
cpu HAMMER
ident ULE
makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
options SCHED_ULE # ULE scheduler
options PREEMPTION # Enable kernel thread preemption
options INET # InterNETworking
options INET6 # IPv6 communications protocols
options SCTP # Stream Control Transmission Protocol
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options UFS_GJOURNAL # Enable gjournal-based UFS journaling
options MD_ROOT # MD is a potential root device
options NFSCLIENT # Network Filesystem Client
options NFSSERVER # Network Filesystem Server
options NFS_ROOT # NFS usable as /, requires NFSCLIENT
options NTFS # NT File System
options MSDOSFS # MSDOS Filesystem
options CD9660 # ISO 9660 Filesystem
options PROCFS # Process filesystem (requires PSEUDOFS)
options PSEUDOFS # Pseudo-filesystem framework
options GEOM_PART_GPT # GUID Partition Tables.
options GEOM_LABEL # Provides labelization
options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!]
options COMPAT_IA32 # Compatible with i386 binaries
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options COMPAT_FREEBSD6 # Compatible with FreeBSD6
options COMPAT_FREEBSD7 # Compatible with FreeBSD6
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options KTRACE # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options STOP_NMI # Stop CPUS using NMI instead of IPI
options AUDIT # Security event auditing
options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
options STACK
options SMP # Symmetric MultiProcessor Kernel
options KDB # Enable kernel debugger support.
options DDB # Support DDB.
options GDB # Support remote GDB.
options INVARIANTS # Enable calls of extra sanity checking
options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
options WITNESS # Enable checks to detect deadlocks and cycles
options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
device cpufreq
device acpi
device pci
device fdc
device ata
device atadisk # ATA disk drives
device ataraid # ATA RAID drives
device atapicd # ATAPI CDROM drives
device atapifd # ATAPI floppy drives
device atapist # ATAPI tape drives
options ATA_STATIC_ID # Static device numbering
device scbus # SCSI bus (required for SCSI)
device ch # SCSI media changers
device da # Direct Access (disks)
device sa # Sequential Access (tape etc)
device cd # CD
device pass # Passthrough device (direct SCSI access)
device ses # SCSI Environmental Services (and SAF-TE)
device atkbdc # AT keyboard controller
device atkbd # AT keyboard
device psm # PS/2 mouse
device kbdmux # keyboard multiplexer
device vga # VGA video card driver
device splash # Splash screen and screen saver support
device sc
device agp # support several AGP chipsets
device cbb # cardbus (yenta) bridge
device pccard # PC Card (16-bit) bus
device cardbus # CardBus (32-bit) bus
device uart # Generic UART driver
device ppc
device ppbus # Parallel port bus (required)
device lpt # Printer
device plip # TCP/IP over parallel
device ppi # Parallel port interface device
device miibus # MII bus support
device rl # RealTek 8129/8139
device loop # Network loopback
device random # Entropy device
device ether # Ethernet support
device tun # Packet tunnel.
device pty # Pseudo-ttys (telnet etc)
device md # Memory "disks"
device gif # IPv6 and IPv4 tunneling
device faith # IPv6-to-IPv4 relaying (translation)
device firmware # firmware assist module
device bpf # Berkeley packet filter
device uhci # UHCI PCI->USB interface
device ohci # OHCI PCI->USB interface
device ehci # EHCI PCI->USB interface (USB 2.0)
device usb # USB Bus (required)
device ugen # Generic
device uhid # "Human Interface Devices"
device ukbd # Keyboard
device ulpt # Printer
device umass # Disks/Mass storage - Requires scbus and da
device ums # Mouse
options IPSEC
options IPSEC_FILTERTUNNEL
device crypto
device cryptodev
abbe [~] monte-cristo% ifconfig
rl0: flags=8843 metric 0 mtu 1500
options=8
ether 00:1b:38:ea:5c:76
inet6 fe80::21b:38ff:feea:5c76%rl0 prefixlen 64 scopeid 0x2
inet6 fdcf:425d:3151::3 prefixlen 48
media: Ethernet autoselect (none)
status: no carrier
lo0: flags=8049 metric 0 mtu 16384
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
ath0: flags=8843 metric 0 mtu 2290
ether 00:1f:3a:1a:50:b3
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
status: associated
wlan0: flags=8843 metric 0 mtu 1500
ether 00:1f:3a:1a:50:b3
inet6 fe80::21f:3aff:fe1a:50b3%wlan0 prefixlen 64 scopeid 0x4
inet 172.16.0.7 netmask 0xffffffe0 broadcast 172.16.0.31
media: IEEE 802.11 Wireless Ethernet DS/1Mbps mode 11g
status: associated
ssid 18-B-PARVATIYA channel 6 (2437 Mhz 11g) bssid 00:1e:2a:76:f4:60
regdomain 103 indoor ecm authmode WPA2/802.11i privacy ON
deftxkey UNDEF txpower 16 bmiss 7 scanvalid 450 bgscan bgscanintvl 300
bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst
roaming MANUAL
abbe [~] monte-cristo% sudo ifconfig wlan0 scan
Password:
SSID BSSID CHAN RATE S:N INT CAPS
rpok 00:14:d1:41:ae:d6 1 54M -149:-96 100 EPS RSN WPS
18-B-PARVATIYA 00:1e:2a:76:f4:60 6 54M -64:-96 100 EPS RSN WME ATH
linksys 00:18:f8:7b:66:47 6 54M -92:-96 100 EP
----8<----8<----
If there is some more diagnostic information needed from me to fix this
issue, please mention.
TIA
Ashish
--
() ascii ribbon campaign - against HTML e-mail
/\ www.asciiribbon.org - against proprietary attachments
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
% dig +short cname cdac.in @::1
ms.gov.in
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkjko50ACgkQHy+EEHYuXnQ9gACfZtXWNgnEv7 y2VTIhJQLsvSDv
GPsAoMe24ywQ1fbgAt+vUM44TSSHpH+j
=qjyl
-----END PGP SIGNATURE-----
-
Re: I lost ath0 support on current sometime between Sept 20 and Sept26.
Ashish Shukla आशीष शुक्ल wrote:
> Sam Leffler writes:
>
>
>
>
>> I've lost track of what you've tried. Try to simplify your
>> configuration to isolate what is causing the problem. For example,
>> disable WPA and see if you can associate and pass traffic. If that
>> works then we know this is a crypto problem. If you cannot setup an
>> open association then I probably need a packet trace from a 3rd
>> station to see what's happening.
>>
>
> Following is what I did when I booted my FreeBSD notebook:
>
> ---->8---->8----
> abbe [~] monte-cristo% ifconfig
> ath0: flags=8802 metric 0 mtu 2290
> ether 00:1f:3a:1a:50:b3
> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
> status: no carrier
> rl0: flags=8843 metric 0 mtu 1500
> options=8
> ether 00:1b:38:ea:5c:76
> inet 172.16.0.7 netmask 0xffffffe0 broadcast 172.16.0.31
> inet6 fe80::21b:38ff:feea:5c76%rl0 prefixlen 64 scopeid 0x2
> inet6 fdxx:xxxx:xxxx:xxxx::3 prefixlen 64
> media: Ethernet autoselect (none)
> status: no carrier
> lo0: flags=8049 metric 0 mtu 16384
> inet 127.0.0.1 netmask 0xff000000
> inet6 ::1 prefixlen 128
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
> wlan0: flags=8802 metric 0 mtu 1500
> ether 00:1f:3a:1a:50:b3
> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
> status: no carrier
> ssid "" channel 1 (2412 Mhz 11b)
> regdomain 103 indoor ecm authmode OPEN privacy OFF txpower 16 bmiss 7
> scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7
> roam:rate 1 wme burst bintval 0
> abbe [~] monte-cristo% sudo ifconfig wlan0 up
> Password:
> abbe [~] monte-cristo% sudo ifconfig wlan0 list scan
> SSID BSSID CHAN RATE S:N INT CAPS
> 18-B-PARVATIYA 00:1e:2a:76:f4:60 6 54M -66:-96 100 ES WME ATH
> abbe [~] monte-cristo% sudo ifconfig wlan0 bssid 00:1e:2a:76:f4:60
> abbe [~] monte-cristo% ifconfig
> ath0: flags=8843 metric 0 mtu 2290
> ether 00:1f:3a:1a:50:b3
> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
> status: associated
> rl0: flags=8843 metric 0 mtu 1500
> options=8
> ether 00:1b:38:ea:5c:76
> inet 172.16.0.7 netmask 0xffffffe0 broadcast 172.16.0.31
> inet6 fe80::21b:38ff:feea:5c76%rl0 prefixlen 64 scopeid 0x2
> inet6 fdxx:xxxx:xxxx:xxxx::3 prefixlen 64
> media: Ethernet autoselect (none)
> status: no carrier
> lo0: flags=8049 metric 0 mtu 16384
> inet 127.0.0.1 netmask 0xff000000
> inet6 ::1 prefixlen 128
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
> wlan0: flags=8843 metric 0 mtu 1500
> ether 00:1f:3a:1a:50:b3
> inet6 fe80::21f:3aff:fe1a:50b3%wlan0 prefixlen 64 scopeid 0x4
> media: IEEE 802.11 Wireless Ethernet DS/1Mbps mode 11g
> status: associated
> ssid 18-B-PARVATIYA channel 6 (2437 Mhz 11g) bssid 00:1e:2a:76:f4:60
> regdomain 103 indoor ecm authmode OPEN privacy OFF txpower 16 bmiss 7
> scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7
> roam:rate 5 protmode CTS wme burst
> abbe [~] monte-cristo% sudo ifconfig rl0 172.16.0.7 -alias
> abbe [~] monte-cristo% sudo ifconfig wlan0 172.16.0.8/27
> abbe [~] monte-cristo% ping 172.16.0.2
> PING 172.16.0.2 (172.16.0.2): 56 data bytes
> ping: sendto: Operation not permitted
> ^C
> --- 172.16.0.2 ping statistics ---
> 1 packets transmitted, 0 packets received, 100.0% packet loss
> abbe [~] monte-cristo% sudo pfctl -d
> No ALTQ support in kernel
> ALTQ related functions disabled
> pf disabled
> abbe [~] monte-cristo% ping 172.16.0.2
> PING 172.16.0.2 (172.16.0.2): 56 data bytes
> ^C
> --- 172.16.0.2 ping statistics ---
> 19 packets transmitted, 0 packets received, 100.0% packet loss
> abbe [~] monte-cristo% ping 172.16.0.1
> PING 172.16.0.1 (172.16.0.1): 56 data bytes
> ^C
> --- 172.16.0.1 ping statistics ---
> 1 packets transmitted, 0 packets received, 100.0% packet loss
> abbe [~] monte-cristo% ping 172.16.0.3
> PING 172.16.0.3 (172.16.0.3): 56 data bytes
> ^C
> --- 172.16.0.3 ping statistics ---
> 2 packets transmitted, 0 packets received, 100.0% packet loss
> abbe [~] monte-cristo% ifconfig wlan0
> wlan0: flags=8843 metric 0 mtu 1500
> ether 00:1f:3a:1a:50:b3
> inet6 fe80::21f:3aff:fe1a:50b3%wlan0 prefixlen 64 scopeid 0x4
> inet 172.16.0.8 netmask 0xffffffe0 broadcast 172.16.0.31
> media: IEEE 802.11 Wireless Ethernet DS/1Mbps mode 11g
> status: associated
> ssid 18-B-PARVATIYA channel 6 (2437 Mhz 11g) bssid 00:1e:2a:76:f4:60
> regdomain 103 indoor ecm authmode OPEN privacy OFF txpower 16 bmiss 7
> scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7
> roam:rate 5 protmode CTS wme burst
> abbe [~] monte-cristo% netstat -f inet -rn
> Routing tables
>
> Internet:
> Destination Gateway Flags Refs Use Netif Expire
> 127.0.0.1 127.0.0.1 UH 0 0 lo0
> 172.16.0.0/27 link#4 UC 0 0 wlan0
> abbe [~] monte-cristo% fgrep wlan /etc/rc.conf
> wlans_ath0="wlan0"
> #ifconfig_wlan0="WPA"
> abbe [~] monte-cristo% uname -a
> FreeBSD monte-cristo.france 8.0-CURRENT FreeBSD 8.0-CURRENT #10: Thu Oct 2 15:11:19 IST 2008 root@monte-cristo.france:/usr/obj/usr/src/sys/ULE amd64
> ----8<----8<----
>
> The wlan0 interface is already created for me by rc scripts executing at
> bootup. I've disabled authentication in my wireless access point
> (Netgear WGT624). 172.16.0.{1,2,3} are my other boxes available on wired
> network. I've a pf setup on this notebook, which I disabled later, as
> you can see above. My rl0 interface also connects to the same router, so
> I've removed 172.16.0.0/27 address assigned to my rl0, so I can assign
> other address of the same network to my other interface wlan0.
>
> If there is some information which I missed, please tell me ?
>
Your problem is not wireless related. I just pulled out an identical
card to yours and ran lengthy tests w/o any issues. You appear to have
your network misconfigured.
Sam
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...reebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
-
Re: I lost ath0 support on current sometimebetween Sept 20 and Sept 26.
Sam Leffler writes:
[...]
> Your problem is not wireless related. I just pulled out an identical
> card to yours and ran lengthy tests w/o any issues. You appear to
> have your network misconfigured.
What kind of misconfiguration according to you, I might be having,
hmm...? There're no ACLs set in my wireless router, nor any IP addresses
are bound with any MAC address. I've disabled my 'rl0' and 'pf' in my
rc.conf and rebooted, but I'm still not able to get it working. I'm
pasting my rc.conf and sysctl output of '*.ath.*' variables. Do you
suspect anything wrong there ? Any tweaks ? Anything else do you
recommend me, hmm...?
----8<----8<----
abbe [~] monte-cristo % grep -v '^#' /etc/rc.conf |grep -v '^[[:space:]]*$'
hostname="monte-cristo.france"
ipv6_enable="YES"
dbus_enable="YES"
sshd_enable="YES"
gnome_enable="YES"
inetd_enable="YES"
fusefs_enable="YES"
lighttpd_enable="YES"
pf_enable="YES"
moused_enable="YES"
moused_port="/dev/psm0"
moused_type="glidepoint"
moused_ums0_type="auto"
moused_ums0_flags=""
moused_flags="-m 11=4"
named_enable="YES"
clear_tmp_enable="YES"
ftpproxy_enable="YES"
ftpproxy_flags="-r"
rpcbind_enable="YES"
nfs_server_enable="YES"
mountd_flags="-r -p 32001"
mountd_enable="YES"
nfs_client_enable="YES"
rpc_lockd_enable="YES"
rpc_lockd_flags="-p 32002"
rpc_statd_enable="YES"
rpc_statd_flags="-p 32002"
nfs_reserved_port_only="YES"
gdm_enable="NO"
ipv6_enable="YES"
hostname="monte-cristo.france"
rsyncd_enable="YES"
wlans_ath0="wlan0"
abbe [~] monte-cristo % sysctl -a |fgrep .ath.
hw.ath.hal.swba_backoff: 0
hw.ath.hal.sw_brt: 10
hw.ath.hal.dma_brt: 2
hw.ath.hal.version: 0.10.5.10
hw.ath.txbuf: 200
hw.ath.rxbuf: 40
hw.ath.calibrate: 30
dev.ath.0.%desc: Atheros 5424/2424
dev.ath.0.%driver: ath
dev.ath.0.%location: slot=0 function=0 handle=\_SB_.PCI0.EXP1.PXS1
dev.ath.0.%pnpinfo: vendor=0x168c device=0x001c subvendor=0x103c subdevice=0x137b class=0x020000
dev.ath.0.%parent: pci1
dev.ath.0.smoothing_rate: 95
dev.ath.0.sample_rate: 10
dev.ath.0.countrycode: 0
dev.ath.0.regdomain: 103
dev.ath.0.slottime: 9
dev.ath.0.acktimeout: 48
dev.ath.0.ctstimeout: 48
dev.ath.0.softled: 0
dev.ath.0.ledpin: 0
dev.ath.0.ledon: 0
dev.ath.0.ledidle: 2700
dev.ath.0.txantenna: 0
dev.ath.0.rxantenna: 2
dev.ath.0.diversity: 1
dev.ath.0.txintrperiod: 5
dev.ath.0.diag: 0
dev.ath.0.tpscale: 0
dev.ath.0.tpc: 0
dev.ath.0.tpack: 63
dev.ath.0.tpcts: 63
dev.ath.0.rfsilent: 1
dev.ath.0.rfkill: 1
dev.ath.0.monpass: 24
---->8---->8----
I've Gentoo GNU/Linux also installed on the same notebook, and that
boots and connects to wireless network just fine with HAL 0.10.5.6 with
WPA2 enabled. Any debugging information from that OS, I can provide, hmm...?
TIA
Ashish
--
() ascii ribbon campaign - against HTML e-mail
/\ www.asciiribbon.org - against proprietary attachments
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
% dig +short cname cdac.in @::1
ms.gov.in
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkjoXUAACgkQHy+EEHYuXnRWhgCfSJJso6tD9B jMVI2+U/iq78nF
5OUAnjp9QjQkaOl9AhUtZiKDqolgFmm7
=UJYl
-----END PGP SIGNATURE-----