From owner-freebsd-bugs@FreeBSD.ORG Sat Mar 16 21:30:00 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D60AFB76 for ; Sat, 16 Mar 2013 21:30:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id B2919323 for ; Sat, 16 Mar 2013 21:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2GLU0nK012285 for ; Sat, 16 Mar 2013 21:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2GLU0Am012284; Sat, 16 Mar 2013 21:30:00 GMT (envelope-from gnats) Resent-Date: Sat, 16 Mar 2013 21:30:00 GMT Resent-Message-Id: <201303162130.r2GLU0Am012284@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Petko Bordjukov Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 629E0B31 for ; Sat, 16 Mar 2013 21:23:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 3C40E2FC for ; Sat, 16 Mar 2013 21:23:10 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r2GLNA50008296 for ; Sat, 16 Mar 2013 21:23:10 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r2GLNA5L008295; Sat, 16 Mar 2013 21:23:10 GMT (envelope-from nobody) Message-Id: <201303162123.r2GLNA5L008295@red.freebsd.org> Date: Sat, 16 Mar 2013 21:23:10 GMT From: Petko Bordjukov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: kern/177032: arge1 fails to attach on UBNT Routerstation X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Mar 2013 21:30:00 -0000 >Number: 177032 >Category: kern >Synopsis: arge1 fails to attach on UBNT Routerstation >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 16 21:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Petko Bordjukov >Release: 10-CURRENT >Organization: >Environment: FreeBSD rtrf3n 10.0-CURRENT FreeBSD 10.0-CURRENT #7 r248373M: Sat Mar 16 18:45:52 EET 2013 root@virtbsd10:/usr/obj/mips.mips/usr/src/sys/ROUTERSTATION mips >Description: The phy of the arge1 interface (the two LAN ports) fails to attach during boot. I have not modified the device hints. root@rtrf3n:~ # dmesg KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2013 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 10.0-CURRENT #7 r248373M: Sat Mar 16 18:45:52 EET 2013 root@virtbsd10:/usr/obj/mips.mips/usr/src/sys/ROUTERSTATION mips gcc version 4.2.1 20070831 patched [FreeBSD] real memory = 67108864 (65536K bytes) avail memory = 58482688 (55MB) nexus0: clock0: on nexus0 Timecounter "MIPS32" frequency 340000000 Hz quality 800 Event timer "MIPS32" frequency 340000000 Hz quality 800 apb0 at irq 4 on nexus0 uart0: <16550 or compatible> on apb0 uart0: console (115200,n,8,1) gpio0: on apb0 gpio0: [GIANT-LOCKED] gpio0: gpio pinmask=0x0 gpioc0: on gpio0 gpiobus0: on gpio0 gpioled0: at pin(s) 2 on gpiobus0 ehci0: at mem 0x1b000000-0x1bffffff irq 1 on nexus0 usbus0: set host controller mode usbus0: EHCI version 1.0 usbus0: set host controller mode usbus0 on ehci0 pcib0 at irq 0 on nexus0 pcib0: ar71xx_pci_attach: missing hint 'baseslot', default to AR71XX_PCI_BASE_SLOT pci0: on pcib0 ath0: irq 0 at device 17.0 on pci0 ath0: AR2413 mac 7.8 RF2413 phy 4.5 ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0056 ath1: irq 1 at device 18.0 on pci0 ath1: [HT] enabling HT modes ath1: [HT] 1 stream STBC receive enabled ath1: [HT] 1 stream STBC transmit enabled ath1: [HT] 2 RX streams; 2 TX streams ath1: AR9220 mac 128.2 RF5133 phy 13.0 ath1: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 ath2: irq 2 at device 19.0 on pci0 ath2: AR2413 mac 7.8 RF2413 phy 4.5 ath2: 2GHz radio: 0x0000; 5GHz radio: 0x0056 arge0: at mem 0x19000000-0x19000fff irq 2 on nexus0 arge0: finishing attachment, phymask 100000, proxy null miibus0: on arge0 ukphy0: PHY 20 on miibus0 ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto arge0: Ethernet address: 00:15:6d:c1:2c:08 arge1: at mem 0x1a000000-0x1a000fff irq 3 on nexus0 arge1: finishing attachment, phymask 30000, proxy null arge1: unable to attach PHY 16: 6 device_attach: arge1 attach returned 6 spi0: at mem 0x1f000000-0x1f00000f on nexus0 spibus0: on spi0 mx25l0: at cs 0 on spibus0 mx25l0: mx25ll128, sector 65536 bytes, 256 sectors ar71xx_wdog0: on nexus0 Timecounters tick every 1.000 msec usbus0: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 g_dev_taste: make_dev_p() failed (gp->name=redboot/RedBoot config, error=22) g_dev_taste: make_dev_p() failed (gp->name=redboot/FIS directory, error=22) Root mount waiting for: usbus0 uhub0: 2 ports with 2 removable, self powered Root mount waiting for: usbus0 ugen0.2: at usbus0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x4001 umass0:0:0:-1: Attached to scbus0 Trying to mount root from ufs:gpt/rootfs []... mountroot: waiting for device gpt/rootfs ... da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: < USB FLASH DRIVE PMAP> Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 3824MB (7831552 512 byte sectors: 255H 63S/T 487C) Mounting from ufs:gpt/rootfs failed with error 19. Loader variables: Manual root filesystem specification: : [options] Mount using filesystem and with the specified (optional) option list. eg. ufs:/dev/da0s1a zfs:tank cd9660:/dev/acd0 ro (which is equivalent to: mount -t cd9660 -o ro /dev/acd0 /) ? List valid disk boot devices . Yield 1 second (for background tasks) Abort manual input mountroot> List of GEOM managed disk devices: gptid/a509f995-9cfc-4c9a-aa34-53f9009c4e8e gptid/9acd3c55-05a5-46ea-92ce-c7ae69ed3c0f da0p2 da0p1 da0 redboot/rootfs redboot/kernel redboot/RedBoot flash/spi0 mountroot> Trying to mount root from ufs:da0p1 []... warning: no time-of-day clock registered, system time will not be set accurately >How-To-Repeat: svn checkout http://svn.freebsd.org/base/head src cd src setenv TARGET mips setenv TARGET_ARCH mips setenv TARGET_CPUTYPE mips32 setenv KERNCONF ROUTERSTATION make buildworld make buildkernel setenv DESTDIR /tftpboot make installkernel in Redboot on the RS: load -h boot/kernel/kernel >Fix: >Release-Note: >Audit-Trail: >Unformatted: