Date: Tue, 24 Apr 2018 01:40:21 +0200 From: Bernd Walter <ticso@cicely7.cicely.de> To: freebsd-mips@freebsd.org Cc: Bernd Walter <ticso@cicely7.cicely.de> Subject: WDR-4300 problems Message-ID: <20180423234020.GW85060@cicely7.cicely.de>
next in thread | raw e-mail | index | archive | help
I'm running a TP-Link WDR4300 on an image I'd build end of 2015 with freebsd-wifi-build. Now I want another system (and later on update the other one), but I also never liked the mini OS and I need a few more features on it. Since I never had success with stable rootfs on USB drives on any Atheros based system I like to go nfsroot instead. Now that's where my problem begin. I also started with freebsd-wifi-build as I remembered that it created a perfectly fine root tree. I've started with current (r332885) and fresh checked out freebsd-wifi-build (9d8dfe08a6bccd6f94b742b23c6cf0952691e149). I did the following changes: [70]cicely7> svn diff Index: TL-WDR4300 =================================================================== --- TL-WDR4300 (revision 332885) +++ TL-WDR4300 (working copy) @@ -39,8 +39,8 @@ options AR71XX_ENV_UBOOT # uzip - to boot natively from flash -device geom_uzip -options GEOM_UZIP +#device geom_uzip +#options GEOM_UZIP # Used for the static uboot partition map device geom_map @@ -51,4 +51,10 @@ options ATH_EEPROM_FIRMWARE # Boot off of the rootfs, as defined in the geom_map setup. -options ROOTDEVNAME=\"ufs:map/rootfs.uzip\" +options BOOTP +options BOOTP_NFSROOT +options BOOTP_NFSV3 +options BOOTP_WIRED_TO=arge0 +options BOOTP_COMPAT +options ROOTDEVNAME=\"nfs:10.1.1.16/data/apx1.cicely.de\" + Index: std.AR934X =================================================================== --- std.AR934X (revision 332885) +++ std.AR934X (working copy) @@ -27,12 +27,17 @@ options SCHED_4BSD #4BSD scheduler options INET #InterNETworking -#options INET6 #InterNETworking +options INET6 #InterNETworking options TCP_HHOOK # hhook(9) framework for TCP #options NFSCL #Network Filesystem Client options PSEUDOFS #Pseudo-filesystem framework options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions +options NFSCL # Network Filesystem Client +options NFSD # Network Filesystem Server +options NFSLOCKD # Network Lock Manager +options NFS_ROOT # NFS usable as /, requires NFSCL + # PMC options HWPMC_HOOKS @@ -43,9 +48,9 @@ #options WITNESS #options WITNESS_SKIPSPIN options FFS #Berkeley Fast Filesystem -#options SOFTUPDATES #Enable FFS soft updates support +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_DIRHASH #Improve performance on big directories options NO_FFS_SNAPSHOT # We don't require snapshot support include "std.AR_MIPS_BASE" I created build/cfg/tl-wdr4300 based on wdr3600: [182]cicely1# diff -u build/cfg/tl-wdr3600 build/cfg/tl-wdr4300 --- build/cfg/tl-wdr3600 2018-04-23 15:59:36.616020809 +0200 +++ build/cfg/tl-wdr4300 2018-04-23 18:07:13.158492990 +0200 @@ -5,8 +5,8 @@ # The configuration load/save script needs to know the # configuration partition name and location. -BIN_CFG_PARTITION="/dev/map/cfg" -BIN_CFG_SIZE="65536" +#BIN_CFG_PARTITION="/dev/map/cfg" +#BIN_CFG_SIZE="65536" RECOVERY_PIN="16" RECOVERY_PIN_ACTIVE="0" @@ -57,15 +57,15 @@ TPLINK_IMG_NAME="FreeBSD" TPLINK_IMG_VERSION="FreeBSD-HEAD" # New-style board config -TPLINK_HARDWARE_ID=0x36000001 +TPLINK_HARDWARE_ID=0x43000001 TPLINK_HARDWARE_VER=1 TPLINK_HARDWARE_FLASHID=8M TPLINK_FIRMWARE_RESERV=0x40000 # Building the firmware image -X_BUILD_BUILD_IMG_DEFAULTS="fetchpkgs mfsroot makepkgs addpkgs fsimage tplink" +X_BUILD_BUILD_IMG_DEFAULTS="fetchpkgs mfsroot makepkgs addpkgs tplink" # Configuration file overrides X_CFG_DEFAULT_ETHER="arge0" X_CFG_DEFAULT_HOSTNAME="freebsd-tl-wdr3600" -X_PACKAGELIST="dropbear dnsmasq lua lzo2 openvpn" +#X_PACKAGELIST="dropbear dnsmasq lua lzo2 openvpn" Initially I only changed the HARDWARE_ID, but it failed somewhere with dropbear and since I didn't need that part, I'd disabled it. Now my problems - and there are a few of them. USB controller and the external USB hub are found, but the system didn't notice when I plug an USB stick in. Maybe neither da nor ugen is compiled in, have to reinstall the rootfs to test. A freebsd-wifi-build commit mentions USB support was removed, so maybe the config in the OS tree gets modified somewhere as da is within std.AR934X The root/mips_ap/ tree lacks propper file properties (user, permission, ...), even when build as root. This is a minor issue to handle but anyway. I think this problem also exists in my 2015 build. Maybe I should create it with a standard cross build run instead? Also missing was /bin/cc - there is no compiler and therefor I can't compile any ports, but at least packages worked. The 2015 build had a compiler in the tree. devmatch coredumps: devmatch: Can't read linker hints file. Apr 23 20:22:57 apx1 kernel: BAD_PAGE_FAULT: pid 696 tid 100049 (devmatch), uid 0: pc 0x400e60 got a read fault (type 0x2) at 0 Apr 23 20:22:57 apx1 kernel: Trapframe Register Dump: Apr 23 20:22:57 apx1 kernel: zero: 0 at: 0 v0: 0xfffffffffffffffc v1: 0 Apr 23 20:22:57 apx1 kernel: a0: 0x7fffeabc a1: 0x40441968 a2: 0x404419c8 a3: 0x404417a8 Apr 23 20:22:57 apx1 kernel: t0: 0 t1: 0 t2: 0x4 t3: 0 Apr 23 20:22:57 apx1 kernel: t4: 0x5851f42d t5: 0x1 t6: 0x20 t7: 0x402398 Apr 23 20:22:57 apx1 kernel: t8: 0xd t9: 0x400e50 s0: 0x406123c4 s1: 0x4043a00a Apr 23 20:22:57 apx1 kernel: s2: 0x4043a008 s3: 0x40441940 s4: 0x404419c8 s5: 0 Apr 23 20:22:57 apx1 kernel: s6: 0x410000 s7: 0x410000 k0: 0 k1: 0 Apr 23 20:22:57 apx1 kernel: gp: 0x41b130 sp: 0x7fffe898 s8: 0x410000 ra: 0x40144c Apr 23 20:22:57 apx1 kernel: sr: 0xfc13 mullo: 0x5fd8 mulhi: 0xfd badvaddr: 0 Apr 23 20:22:57 apx1 kernel: cause: 0x8 pc: 0x400e60 Apr 23 20:22:57 apx1 kernel: Page table info for pc address 0x400e60: pde = 0x80f6f000, pte = 0xa01a2c5a Apr 23 20:22:57 apx1 kernel: Dumping 4 words starting at pc address 0x400e60: Apr 23 20:22:57 apx1 kernel: 8c620000 24630004 03e00008 ac830000 Apr 23 20:22:57 apx1 kernel: Page table info for bad address 0: pde = 0, pte = 0 Segmentation fault (core dumped) Yes, there is no kernel.hints, even after renaming the kernel directory from kernel.*WDR4300* to kernel. Ethernet worked fine and also nfs rootfs worked well so far. But there are no WiFi devices. dmesg mentions none and net.wlan.devices doesn't exist. Then I tried building stable, but it failed during the build itsself: /usr/local/bin/mips-unknown-freebsd11.0-ld: Warning: libc.so.7.full uses -mhard-float (set by /data/builder-new/builder/wdr-4300/11/../obj/mips_ap//mips.mips/data/builder-new/builder/wdr-4300/11/tmp/usr/lib/crti.o), /data/builder-new/builder/wdr-4300/11/../obj/mips_ap//mips.mips/data/builder-new/builder/wdr-4300/11/tmp/usr/lib/libcompiler_rt.a(ffsdi2.o) uses -msoft-float /usr/local/bin/mips-unknown-freebsd11.0-ld: Warning: libc.so.7.full uses -mhard-float (set by /data/builder-new/builder/wdr-4300/11/../obj/mips_ap//mips.mips/data/builder-new/builder/wdr-4300/11/tmp/usr/lib/crti.o), /data/builder-new/builder/wdr-4300/11/../obj/mips_ap//mips.mips/data/builder-new/builder/wdr-4300/11/tmp/usr/lib/libcompiler_rt.a(floatunsidf.o) uses -msoft-float /usr/local/bin/mips-unknown-freebsd11.0-ld: Warning: libc.so.7.full uses -mhard-float (set by /data/builder-new/builder/wdr-4300/11/../obj/mips_ap//mips.mips/data/builder-new/builder/wdr-4300/11/tmp/usr/lib/crti.o), /data/builder-new/builder/wdr-4300/11/../obj/mips_ap//mips.mips/data/builder-new/builder/wdr-4300/11/tmp/usr/lib/libcompiler_rt.a(fixunsdfsi.o) uses -msoft-float /usr/local/bin/mips-unknown-freebsd11.0-ld: Warning: libc.so.7.full uses -mhard-float (set by /data/builder-new/builder/wdr-4300/11/../obj/mips_ap//mips.mips/data/builder-new/builder/wdr-4300/11/tmp/usr/lib/crti.o), /data/builder-new/builder/wdr-4300/11/../obj/mips_ap//mips.mips/data/builder-new/builder/wdr-4300/11/tmp/usr/lib/crtendS.o uses -msoft-float collect2: error: ld returned 1 exit status --- libc.so.7.full --- *** [libc.so.7.full] Error code 1 make[4]: stopped in /data/builder-new/builder/wdr-4300/11/lib/libc 1 error make[4]: stopped in /data/builder-new/builder/wdr-4300/11/lib/libc --- lib/libc__L --- *** [lib/libc__L] Error code 2 make[3]: stopped in /data/builder-new/builder/wdr-4300/11 1 error make[3]: stopped in /data/builder-new/builder/wdr-4300/11 --- libraries --- *** [libraries] Error code 2 make[2]: stopped in /data/builder-new/builder/wdr-4300/11 1 error make[2]: stopped in /data/builder-new/builder/wdr-4300/11 --- _libraries --- *** [_libraries] Error code 2 make[1]: stopped in /data/builder-new/builder/wdr-4300/11 1 error make[1]: stopped in /data/builder-new/builder/wdr-4300/11 --- buildworld --- *** [buildworld] Error code 2 make: stopped in /data/builder-new/builder/wdr-4300/11 1 error make: stopped in /data/builder-new/builder/wdr-4300/11 202.912u 60.836s 3:26.91 127.4% 22727+876k 12+45659io 5482pf+0w Exit 1 [67]cicely7# pwd /data/builder-new/builder/wdr-4300/11 This is the dmesg with current, which was missing the WiFi devices: U-Boot 1.1.4 (Jun 17 2013 - 12:31:57) U-boot DB120 DRAM: 128 MB id read 0x100000ff flash size 8MB, sector count = 128 Flash: 8 MB Using default environment PCIe Reset OK!!!!!! In: serial Out: serial Err: serial Net: ag934x_enet_initialize... No valid address in Flash. Using fixed address wasp reset mask:c03300 WASP ----> S17 PHY * : cfg1 0x7 cfg2 0x7114 eth0: ba:be:fa:ce:08:41 athrs17_reg_init: complete eth0 up eth0 Autobooting in 1 seconds ## Booting image at 9f020000 ... Uncompressing Kernel Image ... OK Starting kernel ... ar934x_chip_detect_sys_frequency: mdio=100MHz CPU platform: Atheros AR9344 rev 2 CPU Frequency=560 MHz CPU DDR Frequency=450 MHz CPU AHB Frequency=225 MHz platform frequency: 560 MHz CPU reference clock: 40 MHz CPU MDIO clock: 100 MHz arguments: a0 = 00000007 a1 = a7f8ffb0 a2 = 08000000 a3 = 00000008 Cmd line:argv is invalid Environment: envp is invalid Cache info: picache_stride = 4096 picache_loopcount = 16 pdcache_stride = 4096 pdcache_loopcount = 8 max line size = 32 cpu0: MIPS Technologies processor v76.151 MMU: Standard TLB, 32 entries (4K 16K 64K 256K 1M 16M 64M 256M pg sizes) L1 i-cache: 4 ways of 512 sets, 32 bytes per line L1 d-cache: 4 ways of 256 sets, 32 bytes per line L2 cache: disabled Config1=0xbee3519e<PerfCount,WatchRegs,MIPS16,EJTAG> Config2=0x80001000 Config3=0x2c20<ULRI> Config7=0x80000800<WII> Physical memory chunk(s): 0x625000 - 0x7ffffff, 127774720 bytes (31195 pages) Maxmem is 0x8000000 ar934x_chip_init_gmac: gmac_cfg=0x00000001 ar934x_configure_gmac: ETH_CFG=0x00000001 ar71xx: Overriding MAC from EEPROM ar71xx: Board MAC: c4:e9:84:7d:cc:1a ar71xx: devid 'ath.0', MAC offset '0' hint.ath.0.macaddr => c4:e9:84:7d:cc:1a ar71xx: devid 'ath.1', MAC offset '-1' hint.ath.1.macaddr => c4:e9:84:7d:cc:19 ar71xx: devid 'arge.0', MAC offset '-2' hint.arge.0.macaddr => c4:e9:84:7d:cc:18 KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2018 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 12.0-CURRENT #2 r332885M: Mon Apr 23 19:36:21 CEST 2018 ticso@cicely7.cicely.de:/data/builder-new/builder/wdr-4300/obj/mips_ap/data/builder-new/builder/wdr-4300/head/mips.mips/sys/TL-WDR4300 mips gcc version 6.3.0 (FreeBSD Ports Collection for mips) Preloaded elf kernel "kernel" at 0x8061ec7c. real memory = 134217728 (131072K bytes) Physical memory chunk(s): 0x006b9000 - 0x07de1fff, 124948480 bytes (30505 pages) avail memory = 124514304 (118MB) arc4random: no preloaded entropy cache random: entropy device external interface mem: <memory> null: <full device, null device, zero device> nfslock: pseudo-device nexus0: <MIPS32 root nexus> ar71xx_caldata: ar71xx_caldata0 already exists; skipping it nexus0: failed to add child: ar71xx_caldata0 random: harvesting attach, 8 bytes (4 bits) from nexus0 ar71xx_caldata0 on nexus0 ar71xx_caldata0: map.0.ath_fixup_addr=0x1fff0000; size=16384 ar71xx_caldata0: EEPROM firmware: 0x1fff0000 @ 16384 bytes firmware: 'ar71xx_caldata.0.map.0.eeprom_firmware' version 1: 16384 bytes loaded at 0xc086a000 ar71xx_caldata0: device EEPROM 'ar71xx_caldata.0.map.0.eeprom_firmware' registered random: harvesting attach, 8 bytes (4 bits) from ar71xx_caldata0 argemdio0: <Atheros AR71xx built-in ethernet interface, MDIO controller> at mem 0x19000000-0x19000fff on nexus0 mdio0: <MDIO> on argemdio0 mdioproxy0: <MII/MDIO proxy, MDIO side> on mdio0 random: harvesting attach, 8 bytes (4 bits) from mdioproxy0 arswitch0: <Atheros AR8327 Ethernet Switch (ver 1 rev 4)> on mdio0 arswitch0: ar8327_fetch_pdata_port: port 0: speed=3, duplex=1, txpause=1, rxpause=1 arswitch0: ar8327_fetch_pdata_pad: pad 0: mode=6, rxclk_sel=0, txclk_sel=0, txclk_delay_sel=1, rxclk_delay_sel=2, txclk_delay_en=1, rxclk_enable_en=1, sgmii_delay_en=0, pipe_rxclk_sel=0 arswitch0: ar8327_phy_fixup: called; phy=0; chiprev=4 arswitch0: ar8327_phy_fixup: called; phy=1; chiprev=4 arswitch0: ar8327_phy_fixup: called; phy=2; chiprev=4 arswitch0: ar8327_phy_fixup: called; phy=3; chiprev=4 arswitch0: ar8327_phy_fixup: called; phy=4; chiprev=4 arswitch0: ar8327_atu_learn_default: TODO! miibus0: <MII bus> on arswitch0 ukphy0: <Generic IEEE 802.3u media interface> PHY 0 on miibus0 ukphy0: OUI 0x00c82e, model 0x0003, rev. 4 ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto random: harvesting attach, 8 bytes (4 bits) from ukphy0 random: harvesting attach, 8 bytes (4 bits) from miibus0 miibus1: <MII bus> on arswitch0 ukphy1: <Generic IEEE 802.3u media interface> PHY 1 on miibus1 ukphy1: OUI 0x00c82e, model 0x0003, rev. 4 ukphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto random: harvesting attach, 8 bytes (4 bits) from ukphy1 random: harvesting attach, 8 bytes (4 bits) from miibus1 miibus2: <MII bus> on arswitch0 ukphy2: <Generic IEEE 802.3u media interface> PHY 2 on miibus2 ukphy2: OUI 0x00c82e, model 0x0003, rev. 4 ukphy2: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto random: harvesting attach, 8 bytes (4 bits) from ukphy2 random: harvesting attach, 8 bytes (4 bits) from miibus2 miibus3: <MII bus> on arswitch0 ukphy3: <Generic IEEE 802.3u media interface> PHY 3 on miibus3 ukphy3: OUI 0x00c82e, model 0x0003, rev. 4 ukphy3: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto random: harvesting attach, 8 bytes (4 bits) from ukphy3 random: harvesting attach, 8 bytes (4 bits) from miibus3 miibus4: <MII bus> on arswitch0 ukphy4: <Generic IEEE 802.3u media interface> PHY 4 on miibus4 ukphy4: OUI 0x00c82e, model 0x0003, rev. 4 ukphy4: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto random: harvesting attach, 8 bytes (4 bits) from ukphy4 random: harvesting attach, 8 bytes (4 bits) from miibus4 etherswitch0: <Switch controller> on arswitch0 random: harvesting attach, 8 bytes (4 bits) from etherswitch0 mdio1: <MDIO> on arswitch0 mdioproxy1: <MII/MDIO proxy, MDIO side> on mdio1 random: harvesting attach, 8 bytes (4 bits) from mdioproxy1 random: harvesting attach, 8 bytes (4 bits) from mdio1 random: harvesting attach, 8 bytes (4 bits) from arswitch0 random: harvesting attach, 8 bytes (4 bits) from mdio0 random: harvesting attach, 8 bytes (4 bits) from argemdio0 argemdio1: <Atheros AR71xx built-in ethernet interface, MDIO controller> at mem 0x1a000000-0x1a000fff on nexus0 mdio2: <MDIO> on argemdio1 mdioproxy2: <MII/MDIO proxy, MDIO side> on mdio2 random: harvesting attach, 8 bytes (4 bits) from mdioproxy2 arswitch1: <Atheros AR9340 Ethernet Switch (ver 0 rev 0)> on mdio2 arswitch1: ar9340_hw_global_setup: GMII arswitch1: ar9340_hw_global_setup: PHY4 - Local miibus5: <MII bus> on arswitch1 ukphy5: <Generic IEEE 802.3u media interface> PHY 0 on miibus5 ukphy5: OUI 0x00c82e, model 0x0004, rev. 2 ukphy5: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto random: harvesting attach, 8 bytes (4 bits) from ukphy5 random: harvesting attach, 8 bytes (4 bits) from miibus5 miibus6: <MII bus> on arswitch1 ukphy6: <Generic IEEE 802.3u media interface> PHY 1 on miibus6 ukphy6: OUI 0x00c82e, model 0x0004, rev. 2 ukphy6: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto random: harvesting attach, 8 bytes (4 bits) from ukphy6 random: harvesting attach, 8 bytes (4 bits) from miibus6 miibus7: <MII bus> on arswitch1 ukphy7: <Generic IEEE 802.3u media interface> PHY 2 on miibus7 ukphy7: OUI 0x00c82e, model 0x0004, rev. 2 ukphy7: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto random: harvesting attach, 8 bytes (4 bits) from ukphy7 random: harvesting attach, 8 bytes (4 bits) from miibus7 miibus8: <MII bus> on arswitch1 ukphy8: <Generic IEEE 802.3u media interface> PHY 3 on miibus8 ukphy8: OUI 0x00c82e, model 0x0004, rev. 2 ukphy8: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto random: harvesting attach, 8 bytes (4 bits) from ukphy8 random: harvesting attach, 8 bytes (4 bits) from miibus8 miibus9: <MII bus> on arswitch1 ukphy9: <Generic IEEE 802.3u media interface> PHY 4 on miibus9 ukphy9: OUI 0x00c82e, model 0x0004, rev. 2 ukphy9: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto random: harvesting attach, 8 bytes (4 bits) from ukphy9 random: harvesting attach, 8 bytes (4 bits) from miibus9 etherswitch1: <Switch controller> on arswitch1 random: harvesting attach, 8 bytes (4 bits) from etherswitch1 mdio3: <MDIO> on arswitch1 mdioproxy3: <MII/MDIO proxy, MDIO side> on mdio3 random: harvesting attach, 8 bytes (4 bits) from mdioproxy3 random: harvesting attach, 8 bytes (4 bits) from mdio3 random: harvesting attach, 8 bytes (4 bits) from arswitch1 random: harvesting attach, 8 bytes (4 bits) from mdio2 random: harvesting attach, 8 bytes (4 bits) from argemdio1 clock0: <Generic MIPS32 ticker> on nexus0 Timecounter "MIPS32" frequency 280000000 Hz quality 800 Event timer "MIPS32" frequency 280000000 Hz quality 800 random: harvesting attach, 8 bytes (4 bits) from clock0 apb0 at irq 4 on nexus0 uart0: <16550 or compatible> at mem 0x18020003-0x1802001a irq 3 on apb0 uart0: console (115200,n,8,1) uart0: fast interrupt uart0: PPS capture mode: DCD random: harvesting attach, 8 bytes (4 bits) from uart0 random: harvesting attach, 8 bytes (4 bits) from apb0 ehci0: <AR71XX Integrated USB 2.0 controller> at mem 0x1b000100-0x1b0010ff irq 1 on nexus0 usbus0: EHCI version 1.0 usbus0 on ehci0 ehci0: usbpf: Attached random: harvesting attach, 8 bytes (4 bits) from usbus0 random: harvesting attach, 8 bytes (4 bits) from ehci0 pcib0 at irq 0 on nexus0 pcib0: ar724x_pci_slot_fixup: checking dev pcib0, 0/0/0 pcib0: found EEPROM at 0x1fff4000 on 0.0.0 pcib0: EEPROM firmware: 0x1fff4000 @ 16384 bytes firmware: 'pcib.0.bus.0.0.0.eeprom_firmware' version 1: 16384 bytes loaded at 0xc0892000 pcib0: device EEPROM 'pcib.0.bus.0.0.0.eeprom_firmware' registered pci0: <PCI bus> on pcib0 pci0: domain=0, physical bus=0 found-> vendor=0x168c, dev=0x0033, revid=0x01 domain=0, bus=0, slot=0, func=0 class=02-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0146, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=255 powerspec 3 supports D0 D1 D3 current D0 MSI supports 4 messages, 64 bit, vector masks map[10]: type Memory, range 64, base 0, size 17, enabled pci0: <network> at device 0.0 (no driver attached) random: harvesting attach, 8 bytes (4 bits) from pci0 random: harvesting attach, 8 bytes (4 bits) from pcib0 arge0: <Atheros AR71xx built-in ethernet interface> at mem 0x19000000-0x19000fff irq 2 on nexus0 arge0: Overriding MAC address from environment: 'c4:e9:84:7d:cc:18' arge0: arge_fetch_pll_config: pll_1000 = 0x6000000 arge0: arge_attach: overriding MII mode to 'RGMII' mii_attach_proxy: not attaching, no mdio device hint for arge0 arge0: finishing attachment, phymask 0000, proxy null arge0: bpf attached arge0: Ethernet address: c4:e9:84:7d:cc:18 random: harvesting attach, 8 bytes (4 bits) from arge0 arge1: <Atheros AR71xx built-in ethernet interface> at mem 0x1a000000-0x1a000fff irq 3 on nexus0 arge1: arge_attach: overriding MII mode to 'GMII' arge1: Generating random ethernet address. mii_attach_proxy: not attaching, no mdio device hint for arge1 arge1: finishing attachment, phymask 0000, proxy null arge1: bpf attached arge1: Ethernet address: 62:73:64:9c:90:ef random: harvesting attach, 8 bytes (4 bits) from arge1 spi0: <AR71XX SPI> at mem 0x1f000000-0x1f00000f on nexus0 spibus0: <SPI bus> on spi0 mx25l0: <M25Pxx Flash Family> at cs 0 mode 0 on spibus0 mx25l0: device type w25q64, size 8192K in 128 sectors of 64K, erase size 4K random: harvesting attach, 8 bytes (4 bits) from mx25l0 random: harvesting attach, 8 bytes (4 bits) from spibus0 random: harvesting attach, 8 bytes (4 bits) from spi0 ar71xx_wdog0: <Atheros AR71XX watchdog timer> on nexus0 random: harvesting attach, 8 bytes (4 bits) from ar71xx_wdog0 Device configuration finished. Timecounters tick every 1.000 msec lo0: bpf attached tcp_init: net.inet.tcp.tcbhashsize auto tuned to 2048 arswitch0port1: link state changed to DOWN arswitch0port2: link state changed to DOWN arswitch0port3: link state changed to DOWN arswitch0port4: link state changed to DOWN arswitch0port5: link state changed to DOWN arswitch1port1: link state changed to DOWN arswitch1port2: link state changed to DOWN arswitch1port3: link state changed to DOWN arswitch1port4: link state changed to DOWN arswitch1port5: link state changed to DOWN GEOM: new disk flash/spi0 MAP: flash/spi0: 0x20000, data=0x20000 "/dev/map/u-boot" MAP: search flash/spi0 for key ".!/bin/sh" from 0x20000, step 0x10000 usbus0: 480Mbps High Speed USB v2.0 ugen0.1: <Atheros EHCI root HUB> at usbus0 uhub0: <Atheros EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0 MAP: flash/spi0: 20000x1b0000, data=0x1b0000 "/dev/map/kernel" MAP: search flash/spi0 for key ".!/bin/sh" from 0x20000, step 0x10000 MAP: flash/spi0: 1d0000x600000, data=0x600000 "/dev/map/rootfs" MAP: flash/spi0: 7d0000x10000, data=0x10000 "/dev/map/cfg" MAP: flash/spi0: 7e0000x10000, data=0x10000 "/dev/map/mib0" MAP: flash/spi0: 7f0000x10000, data=0x10000 "/dev/map/ART" bootpc_init: wired to interface 'arge0' Sending DHCP Discover packet from interface arge0 (c4:e9:84:7d:cc:18) uhub0: 1 port with 1 removable, self powered random: harvesting attach, 8 bytes (4 bits) from uhub0 arswitch0: arswitch_miipollstat: port 1: port -> UP arswitch0port2: link state changed to UP ugen0.2: <vendor 0x05e3 USB2.0 Hub> at usbus0 uhub1 on uhub0 uhub1: <vendor 0x05e3 USB2.0 Hub, class 9/0, rev 2.00/85.36, addr 2> on usbus0 Received DHCP Offer packet on arge0 from 10.1.1.16 (accepted) uhub1: 4 ports with 4 removable, self powered random: harvesting attach, 8 bytes (4 bits) from uhub1 Sending DHCP Request packet from interface arge0 (c4:e9:84:7d:cc:18) Received DHCP Ack packet on arge0 from 10.1.1.16 (accepted) (got root path) arge0 at 10.1.1.129 server 10.1.1.16 server name cicely11.cicely.de boot file pxeboot subnet mask 255.255.255.0 router 10.1.1.4 rootfs 10.1.1.16:/data/apx1.cicely.de/ hostname dyn1-129.cicely.de Adjusted interface arge0 Trying to mount root from nfs: []... NFS ROOT: 10.1.1.16:/data/apx1.cicely.de/ Warning: no time-of-day clock registered, system time will not be set accurately Warning: no time-of-day clock registered, system time will not be set accurately start_init: trying /sbin/init Interface arge0 IP-Address 10.1.1.129 Broadcast 10.1.1.255 Setting hostuuid: 1b19873c-1dd2-11b2-91a8-c4e9847dcc18. Setting hostid: 0xe603710b. No suitable dump device was found. Starting file system checks: random: unblocking device. mount_nfs: can't update /var/db/mounttab for 10.1.1.16:/data/apx1.cicely.de Mounting local filesystems:. ELF ldconfig path: /lib /usr/lib /usr/lib/compat Setting hostname: apx1.cicely.de. Setting up harvesting: [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,NET_ETHER,NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED Feeding entropy: . ... -- B.Walter <bernd@bwct.de> http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180423234020.GW85060>