From owner-freebsd-embedded@FreeBSD.ORG Mon Oct 4 11:06:54 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 88C81106566C for ; Mon, 4 Oct 2010 11:06:54 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 76CFC8FC1A for ; Mon, 4 Oct 2010 11:06:54 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o94B6snr065794 for ; Mon, 4 Oct 2010 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o94B6rKc065792 for freebsd-embedded@FreeBSD.org; Mon, 4 Oct 2010 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 4 Oct 2010 11:06:53 GMT Message-Id: <201010041106.o94B6rKc065792@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-embedded@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-embedded@FreeBSD.org 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: Mon, 04 Oct 2010 11:06:54 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o misc/136889 embedded [nanobsd] [path] nanobsd error reporting and other ref o misc/52256 embedded [picobsd] picobsd build script does not read in user/s o kern/42728 embedded [picobsd] many problems in src/usr.sbin/ppp/* after c 3 problems total. From owner-freebsd-embedded@FreeBSD.ORG Tue Oct 5 20:03:56 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 6A2C4106564A for ; Tue, 5 Oct 2010 20:03:56 +0000 (UTC) (envelope-from sven@hazejager.nl) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1127A8FC0C for ; Tue, 5 Oct 2010 20:03:55 +0000 (UTC) Received: by wyb29 with SMTP id 29so6180473wyb.13 for ; Tue, 05 Oct 2010 13:03:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.138.141 with SMTP id a13mr9352998wbu.208.1286307599447; Tue, 05 Oct 2010 12:39:59 -0700 (PDT) Received: by 10.227.128.207 with HTTP; Tue, 5 Oct 2010 12:39:59 -0700 (PDT) X-Originating-IP: [83.98.246.247] Date: Tue, 5 Oct 2010 21:39:59 +0200 Message-ID: From: Sven Hazejager To: freebsd-embedded@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: 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:03:56 -0000 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? 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 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" : : From owner-freebsd-embedded@FreeBSD.ORG Wed Oct 6 08:01:37 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 7C94F1065673 for ; Wed, 6 Oct 2010 08:01:37 +0000 (UTC) (envelope-from sven@hazejager.nl) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 1B03D8FC0C for ; Wed, 6 Oct 2010 08:01:34 +0000 (UTC) Received: by wwb22 with SMTP id 22so58917wwb.31 for ; Wed, 06 Oct 2010 01:01:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.136.69 with SMTP id q5mr10002432wbt.202.1286351997170; Wed, 06 Oct 2010 00:59:57 -0700 (PDT) Received: by 10.227.128.207 with HTTP; Wed, 6 Oct 2010 00:59:57 -0700 (PDT) X-Originating-IP: [95.97.75.178] In-Reply-To: <20101005.141805.280797537.imp@bsdimp.com> References: <20101005.141805.280797537.imp@bsdimp.com> Date: Wed, 6 Oct 2010 09:59:57 +0200 Message-ID: From: Sven Hazejager To: Warner Losh , freebsd-embedded@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: 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: Wed, 06 Oct 2010 08:01:37 -0000 Hi Warner, > : 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. 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? =A0Did you do that conversi= on? Thanks for pointing out, I didn't, so that's where I went wrong... Cheers, Sven From owner-freebsd-embedded@FreeBSD.ORG Wed Oct 6 08:01:37 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 B05BF1065674 for ; Wed, 6 Oct 2010 08:01:37 +0000 (UTC) (envelope-from sven@hazejager.nl) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 49D838FC12 for ; Wed, 6 Oct 2010 08:01:35 +0000 (UTC) Received: by wwb22 with SMTP id 22so59301wwb.31 for ; Wed, 06 Oct 2010 01:01:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.136.69 with SMTP id q5mr10002432wbt.202.1286351997170; Wed, 06 Oct 2010 00:59:57 -0700 (PDT) Received: by 10.227.128.207 with HTTP; Wed, 6 Oct 2010 00:59:57 -0700 (PDT) X-Originating-IP: [95.97.75.178] In-Reply-To: <20101005.141805.280797537.imp@bsdimp.com> References: <20101005.141805.280797537.imp@bsdimp.com> Date: Wed, 6 Oct 2010 09:59:57 +0200 Message-ID: From: Sven Hazejager To: Warner Losh , freebsd-embedded@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: 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: Wed, 06 Oct 2010 08:01:37 -0000 Hi Warner, > : 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. 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? =A0Did you do that conversi= on? Thanks for pointing out, I didn't, so that's where I went wrong... Cheers, Sven