From owner-freebsd-stable@FreeBSD.ORG Thu Oct 25 23:27:56 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAFB616A421 for ; Thu, 25 Oct 2007 23:27:56 +0000 (UTC) (envelope-from bazzoola@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.235]) by mx1.freebsd.org (Postfix) with ESMTP id 2E61513C4C4 for ; Thu, 25 Oct 2007 23:27:55 +0000 (UTC) (envelope-from bazzoola@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so583353nzf for ; Thu, 25 Oct 2007 16:27:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; bh=fY9L7zwiT1ajeg6J8sx2+2Ccf8fZvH2hym7/qlNDruw=; b=PJ23zysd8PFHSdjMa2eYiYuUeOydwW/QjcOFPhmEk0UXJicE09D1FWljODSf9QQZUcqDlW7JqH+NWCVRaY1DwPzQ8+DUXT0IGajnP4bUxSFBpIA47fguHh1O7Pt8XKr/SXw9m+HowOekhYLb7r4oQ7d0PAY4Z/5vF1qMMbW5S/w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; b=EkhmG+dgV5jpw13YYRCbqF00pNFvOpdMRIZTjISi2b4y7LQ7rx01dONV0oppRbv8oUlshWHAEBaCFylbLlqw5wgfBDy02CNPCM42n7Fx/ZR8iLlnVRLCAWqdfhkxvKQ1murGzFXwi0TTfNggbV08qRyrS8cgEfnF7rMQmiK3LsE= Received: by 10.65.44.5 with SMTP id w5mr5011601qbj.1193353353098; Thu, 25 Oct 2007 16:02:33 -0700 (PDT) Received: from ?192.168.1.9? ( [76.247.157.31]) by mx.google.com with ESMTPS id c1sm2047765nzd.2007.10.25.16.02.30 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 25 Oct 2007 16:02:31 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: <4BD0BCCE-7A3D-4660-8128-162886178D2A@gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-stable@freebsd.org From: bazzoola Date: Thu, 25 Oct 2007 19:01:53 -0400 X-Mailer: Apple Mail (2.752.3) Subject: ral timeout in RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2007 23:27:56 -0000 Greetings, csup'd today: I am using ral0 to setup a wireless access point. Whenever my laptop searches for my AP I get "ral0: device timeout" I read in the man pages that this should not happen. However, I have been running an AP since RELENG_6 was formed and I have never had any issues with it. #pciconf ral0@pci0:0:13:0: class=0x028000 card=0x00321737 chip=0x02011814 rev=0x01 hdr=0x00 vendor = 'Ralink Technology, Corp' device = '0x03011814 Zonet ZEW1601 (Ralink Chipset) 802.11b/ g WLAN Card' class = network cap 01[40] = powerspec 2 supports D0 D3 current D0 #cat /root/kernels/GENERIC2 # GENERIC2 -- Generic kernel configuration file for FreeBSD/i386 cpu I486_CPU cpu I586_CPU cpu I686_CPU ident GENERIC2 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 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 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 ADAPTIVE_GIANT # Giant mutex is adaptive. options STOP_NMI # Stop CPUS using NMI instead of IPI options AUDIT # Security event auditing device apic # I/O APIC 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 atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device kbdmux # keyboard multiplexer device vga # VGA video card driver device agp # support several AGP chipsets device pmtimer device sio # 8250, 16[45]50 based serial ports device uart # Generic UART driver device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet device wlan # 802.11 support device wlan_wep # 802.11 WEP support device wlan_ccmp # 802.11 CCMP support device wlan_tkip # 802.11 TKIP support device wlan_amrr # AMRR transmit rate control algorithm device wlan_scan_ap # 802.11 AP mode scanning device wlan_scan_sta # 802.11 STA mode scanning device ral # Ralink Technology RT2500 wireless NICs. device loop # Network loopback device random # Entropy device device ether # Ethernet support device sl # Kernel SLIP device ppp # Kernel PPP 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 #dmesg Copyright (c) 1992-2007 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 7.0-BETA1 #3: Thu Oct 25 14:20:12 EDT 2007 root@nixnixnix.local:/usr/obj/usr/src/sys/GENERIC2 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD-K6(tm) 3D processor (501.14-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 Features=0x8021bf AMD Features=0x80000800 real memory = 266272768 (253 MB) avail memory = 251076608 (239 MB) wlan: mac acl policy registered kbd1 at kbdmux0 K6-family MTRR support enabled (2 registers) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, fcf0000 (3) failed Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x5008-0x500b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff,0x480-0x48f, 0x5000-0x5041 on acpi0 pci0: on pcib0 pcib0: no PRT entry for 0.0.INTA agp0: on hostb0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x4000-0x400f irq 14 at device 0.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] isab0: at device 1.0 on pci0 isa0: on isab0 pci0: at device 1.1 (no driver attached) pci0: at device 1.2 (no driver attached) pcib1: at device 2.0 on pci0 pci1: on pcib1 vgapci0: port 0xc000-0xc07f mem 0xe2000000-0xe27fffff,0xe2c00000-0xe2c0ffff at device 0.0 on pci1 skc0: port 0xd000-0xd0ff mem 0xe2d04000-0xe2d07fff irq 11 at device 9.0 on pci0 skc0: DGE-530T Gigabit Ethernet Adapter rev. (0x9) sk0: on skc0 sk0: Ethernet address: XX:XX:5b:XX:XX:XX miibus0: on sk0 e1000phy0: PHY 0 on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto skc0: [ITHREAD] skc1: port 0xd400-0xd4ff mem 0xe2d00000-0xe2d03fff irq 10 at device 11.0 on pci0 skc1: DGE-530T Gigabit Ethernet Adapter rev. (0x9) sk1: on skc1 sk1: Ethernet address: XX:19:XX:6a:2f:XX miibus1: on sk1 e1000phy1: PHY 0 on miibus1 e1000phy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto skc1: [ITHREAD] ral0: mem 0xe2d08000-0xe2d09fff irq 12 at device 13.0 on pci0 ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525 ral0: Ethernet address: XX:12:XX:XX:XX:XX ral0: [ITHREAD] pci0: at device 15.0 (no driver attached) fdc0: port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A, console sio0: [FILTER] sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A sio1: [FILTER] atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x100> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 501139932 Hz quality 800 Timecounters tick every 1.000 msec ad0: 29311MB at ata0-master UDMA66 acd0: CDRW at ata1-master PIO4 Trying to mount root from ufs:/dev/ad0s1a Loading configuration files. kernel dumps on /dev/ad0s1b Entropy harvesting: interrupts ethernet point_to_point kickstart . swapon: adding /dev/ad0s1b as swap device Starting file system checks: /dev/ad0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ad0s1a: clean, 153181 free (7253 frags, 18241 blocks, 2.9% fragmentation) /dev/ad0s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ad0s1e: clean, 248240 free (80 frags, 31020 blocks, 0.0% fragmentation) /dev/ad0s1f: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ad0s1f: clean, 10470226 free (146002 frags, 1290528 blocks, 1.1% fragmentation) /dev/ad0s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ad0s1d: clean, 495135 free (16031 frags, 59888 blocks, 2.6% fragmentation) Setting hostuuid: 9a553a70-82b3-11dc-b362-00195b6a1fa8. Setting hostid: 0x33fb7eb8. Mounting local file systems: . Setting hostname: nixnixnix.local. net.inet6.ip6.auto_linklocal: 1 -> 0 net.inet.tcp.blackhole: 0 -> 2 net.inet.udp.blackhole: 0 -> 1 net.inet.ip.forwarding: 0 -> 1 net.inet.ip.fastforwarding: 0 -> 1 bridge0: Ethernet address: c6:84:59:5c:1e:dc sk1: no link ... . got link DHCPREQUEST on sk1 to 255.255.255.255 port 67 DHCPACK from 192.168.0.1 bound to XXX.XXX.XXX.XXX -- renewal in 300 seconds. lo0: flags=8049 metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 sk0: flags=8943 metric 0 mtu 1500 options=8 ether XX:XX:5b:XX:XX:XX inet 192.168.1.11 netmask 0xffffff00 broadcast 192.168.1.255 media: Ethernet autoselect (1000baseTX ) status: active sk1: flags=8843 metric 0 mtu 1500 options=b ether XX:19:XX:6a:2f:XX inet XXX.XXX.XXX.XXX netmask 0xffffff00 broadcast 76.247.157.255 media: Ethernet autoselect (100baseTX ) status: active ral0: flags=8843 metric 0 mtu 1500 ether XX:12:XX:XX:XX:XX inet 192.168.2.11 netmask 0xffffff00 broadcast 192.168.2.255 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect ) status: no carrier ssid "" channel 1 (2412 Mhz 11g) authmode OPEN privacy OFF txpowmax 100 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11g 14 roam:rate11g 5 protmode CTS bintval 100 bridge0: flags=8843 metric 0 mtu 1500 ether c6:84:59:5c:1e:dc id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: sk0 flags=143 Enabling pf. No ALTQ support in kernel ALTQ related functions disabled No ALTQ support in kernel ALTQ related functions disabled No ALTQ support in kernel ALTQ related functions disabled pf enabled Additional routing options: IP gateway=YES . Starting devd. hw.acpi.cpu.cx_lowest: C1 -> C1 Additional IP options: . Mounting NFS file systems: . ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/ local/lib/compat/pkg a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout Creating and/or trimming log files: . Starting syslogd. Checking for core dump on /dev/ad0s1b... savecore: no dumps found Initial i386 initialization: . Additional ABI support: . Starting named. Oct 25 15:29:36 nixnixnix named[726]: zone 0.in-addr.arpa/IN: NS 'localhost.0.in-addr.arpa' has no address records (A or AAAA) Oct 25 15:29:36 nixnixnix named[726]: zone 255.in-addr.arpa/IN: NS 'localhost.255.in-addr.arpa' has no address records (A or AAAA) Setting date via ntp. 25 Oct 15:29:38 ntpdate[731]: step time server 67.159.5.116 offset -1.894423 sec Clearing /tmp (X related). Starting local daemons: . Updating motd . Mounting late file systems: . Starting ntpd. Starting usbd. usb: Kernel module not available: No such file or directory Configuring syscons: blanktime . Starting sshd. Starting cron. Local package initialization: . Starting hostapd. Configuration file: /etc/hostapd.conf Starting background file system checks in 60 seconds. Thu Oct 25 15:29:47 EDT 2007 Oct 25 15:29:56 nixnixnix login: ROOT LOGIN (root) ON ttyd0 #cat /etc/hostapd.conf cat /etc/hostapd.conf interface=ral0 driver=bsd logger_syslog=-1 logger_syslog_level=0 logger_stdout=-1 logger_stdout_level=0 debug=4 dump_file=/tmp/hostapd.dump ctrl_interface=/var/run/hostapd ctrl_interface_group=wheel ssid=NIX wpa=1 wpa_passphrase=test wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP # ifconfig ral0 ral0: flags=8843 metric 0 mtu 2290 ether XX:12:XX:XX:XX:XX inet 192.168.2.11 netmask 0xffffff00 broadcast 192.168.2.255 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect ) status: associated ssid NIX channel 1 (2412 Mhz 11g) bssid XX:12:XX:XX:XX:XX authmode WPA privacy MIXED deftxkey 2 TKIP 2:128-bit TKIP 3:128-bit txpowmax 100 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11g 14 roam:rate11g 5 protmode CTS dtimperiod 1 bintval 100 Thanks!