From owner-freebsd-embedded@FreeBSD.ORG Tue Oct 5 20:28:00 2010 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C214106566B for ; Tue, 5 Oct 2010 20:28:00 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id B6B508FC13 for ; Tue, 5 Oct 2010 20:27:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o95KI50t046346; Tue, 5 Oct 2010 14:18:06 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 05 Oct 2010 14:18:05 -0600 (MDT) Message-Id: <20101005.141805.280797537.imp@bsdimp.com> To: sven@hazejager.nl From: Warner Losh In-Reply-To: References: X-Mailer: Mew version 6.3 on Emacs 23.2 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-embedded@FreeBSD.org Subject: Re: ath0 bpf errors nanobsd 8.1-p1 on Alix X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Oct 2010 20:28:00 -0000 In message: Sven Hazejager writes: : All, : : I'm having some challenging issues getting nanoBSD 8.1-p1 on an Alix : to work. It seems that ath0 and the BPF do not work together resulting : in dhcpd and hostapd failing to load. I'm sure I'm doing something : wrong here. Perhaps something regarding ath* statements in kernel : config. All is working fine on 7.3. Any suggestions? Didn't the way you configure wlan change between 7 & 8, so now you have to use the wlan device and all that rot? Did you do that conversion? Warner : Thanks, : Sven : : Symptoms, boot output: : : ... : Starting Network: lo0 vr0 vr1 ath0. : ... : ath0: flags=8843 metric 0 mtu 2290 : ether 00:80:48:67:54:6c : media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) : status: no carrier : ... : Starting dhcpd. : Internet Systems Consortium DHCP Server V3.1.3 : Copyright 2004-2009 Internet Systems Consortium. : All rights reserved. : For info, please visit https://www.isc.org/software/dhcp/ : Wrote 0 deleted host decls to leases file. : Wrote 0 new dynamic host decls to leases file. : Wrote 0 leases to leases file. : Listening on BPF/vr0/00:0d:b9:19:aa:94/192.168.0/24 : Sending on BPF/vr0/00:0d:b9:19:aa:94/192.168.0/24 : Oct 4 21:06:12 algol dhcpd: ath0: not foundath0: not found : /etc/rc: WARNING: failed to start dhcpd : ... : Starting hostapd. : Configuration file: /etc/hostapd.conf : pcap_open_live: : ifname='ath0' : bsd driver initialization failed. : rmdir[ctrl_interface]: No such file or directory : /etc/rc: WARNING: failed to start hostapd : ... : : Kernel config: : : cpu I586_CPU : cpu I686_CPU # For testing : ident ALIX : : 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 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_FREEBSD4 # Compatible with FreeBSD4 : #options COMPAT_FREEBSD5 # Compatible with FreeBSD5 : #options COMPAT_FREEBSD6 # Compatible with FreeBSD6 : #options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI : #options KTRACE # ktrace(1) support : options STACK # stack(9) support : options SYSVSHM # SYSV-style shared memory : options SYSVMSG # SYSV-style message queues : options SYSVSEM # SYSV-style semaphores : options P1003_1B_SEMAPHORES # POSIX-style semaphores : options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time : extensions : options KBD_INSTALL_CDEV # install a CDEV entry in /dev : #options AUDIT # Security event auditing : #options KDTRACE_HOOKS # Kernel DTrace hooks : options PRINTF_BUFR_SIZE=128 # Prevent printf output being : interspersed. : options FLOWTABLE # per-cpu routing cache : : # ALIX specific : options CPU_GEODE : options CPU_SOEKRIS : options NO_F00F_HACK : device crypto : device glxsb : : # Bus support. : device pci : : # ATA and ATAPI devices : device ata : device atadisk # ATA disk drives : options ATA_STATIC_ID # Static device numbering : : # SCSI peripherals : device scbus # SCSI bus (required for SCSI) : device da # Direct Access (disks) : : # syscons is the default console driver, resembling an SCO console : #device sc : : # Serial (COM) ports : device uart # Generic UART driver : : # PCI Ethernet NICs that use the common MII bus controller code. : # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! : device miibus # MII bus support : device vr # VIA Rhine, Rhine II : : # Wireless NIC cards : 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_xauth : device ath # Atheros pci/cardbus NIC's : device ath_hal # Atheros HAL (Hardware Access Layer) : options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors : device ath_rate_sample # SampleRate tx rate control for ath : : # Pseudo devices. : 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 firmware # firmware assist module : : # The `bpf' device enables the Berkeley Packet Filter. : # Be aware of the administrative consequences of enabling this! : # Note that 'bpf' is required for DHCP. : device bpf # Berkeley packet filter : device pf : device pflog : : # USB support : device ohci # OHCI PCI->USB interface : device ehci # EHCI PCI->USB interface (USB 2.0) : device usb # USB Bus (required) : device umass # Disks/Mass storage - Requires scbus and da : device uftdi : device ucom : _______________________________________________ : freebsd-embedded@freebsd.org mailing list : http://lists.freebsd.org/mailman/listinfo/freebsd-embedded : To unsubscribe, send any mail to "freebsd-embedded-unsubscribe@freebsd.org" : :