by hornpipe2 » Wed Mar 29, 2017 10:20 pm
Some more info for this question. I got Netconsole working and can see it's booting, but it gets stuck.
uBoot output:
$this->bbcode_second_pass_code('', 'U-Boot 2016.09.01-1 (Oct 10 2016 - 23:13:37 -0600) Arch Linux ARM
Pogoplug V4
gcc (GCC) 6.2.1 20160830
GNU ld (GNU Binutils) 2.27
Hit any key to stop autoboot: 0
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Reset IDE: ide_preinit failed
switch to partitions #0, OK
mmc0 is current device
mmc found on device 0
Checking for: /boot/uEnv.txt ...
** File not found /boot/zImage **
4604912 bytes read in 198 ms (22.2 MiB/s)
loading /boot/dtbs/kirkwood-pogoplug-series-4.dtb ...
** File not found /boot/dtbs/kirkwood-pogoplug-series-4.dtb **
4460378 bytes read in 195 ms (21.8 MiB/s)
Booting uImage with initrd
## Booting kernel from Legacy Image at 00810000 ...
Image Name: Linux-4.4.57-1-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4604848 Bytes = 4.4 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK')
Kernel output:
$this->bbcode_second_pass_code('', '[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.57-1-ARCH (builduser@leming) (gcc version 6.3.1 20170306 (GCC) ) #1 PREEMPT Sun Mar 26 23:43:15 MDT 2017
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Pogoplug V4
[ 0.000000] debug: ignoring loglevel setting.
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat c091ac9c, node_mem_map c7eda000
[ 0.000000] Normal zone: 288 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 pages, LIFO batch:7
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32480
[ 0.000000] Kernel command line: console=ttyS0,115200 mtdparts=orion_nand:1M(u-boot),-(rootfs) root=PARTUUID=00000000-01 rw rootwait ignore_loglevel netconsole=6665@10.10.10.3/eth0,6666@10.10.10.4/
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 115328K/131072K available (6606K kernel code, 547K rwdata, 1876K rodata, 300K init, 725K bss, 15744K reserved, 0K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xc8800000 - 0xff800000 ( 880 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0850a04 (8483 kB)
[ 0.000000] .init : 0xc0851000 - 0xc089c000 ( 300 kB)
[ 0.000000] .data : 0xc089c000 - 0xc0924eec ( 548 kB)
[ 0.000000] .bss : 0xc0924eec - 0xc09da4b8 ( 726 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] NR_IRQS:114
[ 0.000019] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns
[ 15.002489] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns
[ 15.002775] Console: colour dummy device 80x30
[ 15.002821] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
[ 15.092599] pid_max: default: 32768 minimum: 301
[ 15.092747] Security Framework initialized
[ 15.092858] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 15.092886] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 15.094006] Initializing cgroup subsys io
[ 15.094056] Initializing cgroup subsys memory
[ 15.094138] Initializing cgroup subsys devices
[ 15.094181] Initializing cgroup subsys freezer
[ 15.094217] Initializing cgroup subsys net_cls
[ 15.094248] Initializing cgroup subsys perf_event
[ 15.094283] Initializing cgroup subsys net_prio
[ 15.094405] CPU: Testing write buffer coherency: ok
[ 15.095090] Setting up static identity map for 0x81e0 - 0x8238
[ 15.097992] devtmpfs: initialized
[ 15.101762] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 15.101820] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 15.102639] pinctrl core: initialized pinctrl subsystem
[ 15.103805] NET: Registered protocol family 16
[ 15.104647] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 15.132627] cpuidle: using governor ladder
[ 15.162626] cpuidle: using governor menu
[ 15.162956] Kirkwood: MV88F6281-A1, TCLK=166666667.
[ 15.162995] Feroceon L2: Enabling L2
[ 15.163046] Feroceon L2: Cache support initialised.
[ 15.164134] initial MPP regs: 01111111 11113322 00551111 00100000 00000000 00000000 00000000
[ 15.164176] final MPP regs: 01111111 11113322 00551111 00000000 00000000 00000000 00000000
[ 15.166494] Kirkwood PCIe port 0: link up
[ 15.166510] PCI: bus0 uses PCIe port 0
[ 15.166853] PCI host bridge to bus 0000:00
[ 15.166880] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[ 15.166897] pci_bus 0000:00: root bus resource [io 0x1000-0xffff]
[ 15.166914] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 15.166962] pci 0000:00:00.0: [11ab:6281] type 00 class 0x058000
[ 15.167014] pci 0000:00:00.0: reg 0x10: [mem 0xd0000000-0xd00fffff 64bit pref]
[ 15.167039] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x07ffffff]
[ 15.167119] pci 0000:00:00.0: supports D1 D2
[ 15.167447] pci 0000:00:01.0: [1b73:1009] type 00 class 0x0c0330
[ 15.167515] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[ 15.167547] pci 0000:00:01.0: reg 0x18: [mem 0x00000000-0x00000fff 64bit]
[ 15.167578] pci 0000:00:01.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit]
[ 15.167658] pci 0000:00:01.0: supports D1
[ 15.167674] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[ 15.168064] PCI: bus0: Fast back to back transfers disabled
[ 15.168087] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 15.168134] pci 0000:00:01.0: BAR 0: assigned [mem 0xe0000000-0xe000ffff 64bit]
[ 15.168168] pci 0000:00:01.0: BAR 2: assigned [mem 0xe0010000-0xe0010fff 64bit]
[ 15.168197] pci 0000:00:01.0: BAR 4: assigned [mem 0xe0011000-0xe0011fff 64bit]
[ 15.204793] vgaarb: loaded
[ 15.205260] SCSI subsystem initialized
[ 15.205534] libata version 3.00 loaded.
[ 15.206008] usbcore: registered new interface driver usbfs
[ 15.206129] usbcore: registered new interface driver hub
[ 15.206217] usbcore: registered new device driver usb
[ 15.206464] pps_core: LinuxPPS API ver. 1 registered
[ 15.206478] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 15.206529] PTP clock support registered
[ 15.208204] clocksource: Switched to clocksource orion_clocksource
[ 15.265402] FS-Cache: Loaded
[ 15.284376] NET: Registered protocol family 2
[ 15.285541] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 15.285580] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 15.285610] TCP: Hash tables configured (established 1024 bind 1024)
[ 15.285722] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 15.285756] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 15.286033] NET: Registered protocol family 1
[ 15.286506] RPC: Registered named UNIX socket transport module.
[ 15.286523] RPC: Registered udp transport module.
[ 15.286533] RPC: Registered tcp transport module.
[ 15.286543] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 15.286618] pci 0000:00:01.0: enabling device (0140 -> 0142)
[ 15.286726] PCI: CLS 32 bytes, default 32
[ 15.287107] Trying to unpack rootfs image as initramfs...
[ 15.839874] Freeing initrd memory: 4356K (c1100000 - c1541000)
[ 15.861480] VFS: Disk quotas dquot_6.6.0
[ 15.861884] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 15.864925] FS-Cache: Netfs 'nfs' registered for caching
[ 15.866596] NFS: Registering the id_resolver key type
[ 15.866670] Key type id_resolver registered
[ 15.866682] Key type id_legacy registered
[ 15.866806] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 15.868950] fuse init (API version 7.23)
[ 15.872105] aufs 4.4-20170220
[ 15.879764] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 15.879794] io scheduler noop registered
[ 15.879812] io scheduler deadline registered
[ 15.880207] io scheduler cfq registered
[ 15.880601] io scheduler bfq registered (default)
[ 15.880613] BFQ I/O-scheduler: v7r11
[ 15.880919] mv_xor mv_xor.0: Marvell shared XOR driver
[ 15.920338] mv_xor mv_xor.0: Marvell XOR (Registers Mode): ( xor cpy )
[ 15.920682] mv_xor mv_xor.1: Marvell shared XOR driver
[ 15.960207] mv_xor mv_xor.1: Marvell XOR (Registers Mode): ( xor cpy )
[ 15.968520] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 15.970022] console [ttyS0] disabled
[ 15.990113] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 10416666) is a 16550A
[ 16.749943] console [ttyS0] enabled
[ 16.776913] brd: module loaded
[ 16.791433] loop: module loaded
[ 16.794999] sata_mv sata_mv.0: version 1.28
[ 16.799341] sata_mv sata_mv.0: cannot get optional clkdev
[ 16.804812] sata_mv sata_mv.0: slots 32 ports 1
[ 16.811842] scsi host0: sata_mv
[ 16.815520] ata1: SATA max UDMA/133 irq 21
[ 16.820694] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[ 16.827023] nand: Hynix H27U1G8F2BTR-BC
[ 16.831040] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 16.838628] Scanning device for bad blocks
[ 16.865835] Bad eraseblock 281 at 0x000002320000
[ 16.931198] 2 cmdlinepart partitions found on MTD device orion_nand
[ 16.937442] Creating 2 MTD partitions on "orion_nand":
[ 16.942588] 0x000000000000-0x000000100000 : "u-boot"
[ 16.948302] 0x000000100000-0x000008000000 : "rootfs"
[ 16.972269] libphy: orion_mdio_bus: probed
[ 16.976537] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 17.178245] ata1: SATA link down (SStatus 0 SControl F300)
[ 18.062617] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:05:3f:7a
[ 18.071549] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 18.078060] ehci-pci: EHCI PCI platform driver
[ 18.082624] ehci-orion: EHCI orion driver
[ 18.086731] orion-ehci orion-ehci.0: EHCI Host Controller
[ 18.092186] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 18.099962] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 18.118251] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 18.125594] hub 1-0:1.0: USB hub found
[ 18.129458] hub 1-0:1.0: 1 port detected
[ 18.134395] xhci_hcd 0000:00:01.0: xHCI Host Controller
[ 18.139718] xhci_hcd 0000:00:01.0: new USB bus registered, assigned bus number 2
[ 18.148543] xhci_hcd 0000:00:01.0: hcc params 0x200073a1 hci version 0x100 quirks 0x00080010
[ 18.158437] hub 2-0:1.0: USB hub found
[ 18.162230] hub 2-0:1.0: 2 ports detected
[ 18.167079] xhci_hcd 0000:00:01.0: xHCI Host Controller
[ 18.172377] xhci_hcd 0000:00:01.0: new USB bus registered, assigned bus number 3
[ 18.179906] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[ 18.189241] hub 3-0:1.0: USB hub found
[ 18.193027] hub 3-0:1.0: 2 ports detected
[ 18.198112] usbcore: registered new interface driver uas
[ 18.203740] usbcore: registered new interface driver usb-storage
[ 18.209875] usbcore: registered new interface driver ums-alauda
[ 18.215852] usbcore: registered new interface driver ums-cypress
[ 18.221970] usbcore: registered new interface driver ums-datafab
[ 18.228033] usbcore: registered new interface driver ums_eneub6250
[ 18.234945] usbcore: registered new interface driver ums-freecom
[ 18.241049] usbcore: registered new interface driver ums-isd200
[ 18.247024] usbcore: registered new interface driver ums-jumpshot
[ 18.253200] usbcore: registered new interface driver ums-karma
[ 18.259283] usbcore: registered new interface driver ums-onetouch
[ 18.265472] usbcore: registered new interface driver ums-realtek
[ 18.271575] usbcore: registered new interface driver ums-sddr09
[ 18.277553] usbcore: registered new interface driver ums-sddr55
[ 18.283560] usbcore: registered new interface driver ums-usbat
[ 18.290250] mousedev: PS/2 mouse device common for all mice
[ 19.298245] rtc-mv rtc-mv: internal RTC not ticking
[ 19.303308] i2c /dev entries driver
[ 19.307647] sdhci: Secure Digital Host Controller Interface driver
[ 19.313840] sdhci: Copyright(c) Pierre Ossman
[ 19.358553] sdhci-pltfm: SDHCI platform and OF driver helper
[ 19.368068] ledtrig-cpu: registered to indicate activity on CPUs
[ 19.374321] usbcore: registered new interface driver r8712u
[ 19.380329] gre: GRE over IPv4 demultiplexor driver
[ 19.385280] NET: Registered protocol family 17
[ 19.389972] Key type dns_resolver registered
[ 19.398961] registered taskstats version 1
[ 19.426480] mmc0: host does not support reading read-only switch, assuming write-enable
[ 19.444270] Key type encrypted registered
[ 19.449592] mmc0: new high speed SDHC card at address b368
[ 19.456488] netpoll: netconsole: local port 6665
[ 19.461351] netpoll: netconsole: local IPv4 address 10.10.10.3
[ 19.467163] netpoll: netconsole: interface 'eth0'
[ 19.472194] mmcblk0: mmc0:b368 LEXAR 3.73 GiB
[ 19.477508] netpoll: netconsole: remote port 6666
[ 19.482390] mmcblk0: p1
[ 19.485963] netpoll: netconsole: remote IPv4 address 10.10.10.4
[ 19.492011] netpoll: netconsole: remote ethernet address ff:ff:ff:ff:ff:ff
[ 19.498914] netpoll: netconsole: device eth0 not up yet, forcing it
[ 23.082882] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[ 23.097072] console [netcon0] enabled
[ 23.100857] netconsole: network logging started
[ 23.106092] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 23.113342] hctosys: unable to open rtc device (rtc0)
[ 23.121305] Freeing unused kernel memory: 300K (c0851000 - c089c000)
[ 23.222897] random: systemd-tmpfile: uninitialized urandom read (16 bytes read, 15 bits of entropy available)
[ 23.261552] random: systemd-udevd: uninitialized urandom read (16 bytes read, 15 bits of entropy available)
[ 23.278788] random: udevadm: uninitialized urandom read (16 bytes read, 15 bits of entropy available)
[ 23.289015] random: systemd-udevd: uninitialized urandom read (16 bytes read, 15 bits of entropy available)
[ 23.449096] random: udevadm: uninitialized urandom read (16 bytes read, 15 bits of entropy available)
[ 23.479491] random: udevadm: uninitialized urandom read (16 bytes read, 16 bits of entropy available)
[ 23.511237] random: udevadm: uninitialized urandom read (16 bytes read, 16 bits of entropy available)
[ 23.540982] random: udevadm: uninitialized urandom read (16 bytes read, 16 bits of entropy available)
[ 23.571966] random: udevadm: uninitialized urandom read (16 bytes read, 16 bits of entropy available)
[ 23.604003] random: udevadm: uninitialized urandom read (16 bytes read, 16 bits of entropy available)
[ 197.048251] random: nonblocking pool is initialized')