Hi bodhi,
first of all thanks for the latest rootfs and kernel files! I just had time now to start upgrading my systems and i want(ed) to give them a fresh start. I rebuilt my sata disk builder script with the new rootfs and kernel 4.4.89. It works fine and the pogo boots with some warning messages but generally works fine. But when i boot with my USB to SATA device plugged the boot ends up with kernel panic (this worked for years). I made some tests with other devices. Using USB stick with FAT partition works fine, but if it is formatted to ext4 it produces the same error.
Here is the boot log for the console:
This is the boot when no usb drive attached:
If i plug the drive after boot in mounted fine:
I looked at the boot log and see the following in both cases. /dev/sda2 is my root partition this was LABEL=rootfs in /etc/fstab, but with that it always fell to emergency prompt at boot.
the other is about the USB attached drive:
Here is the boot line for the kernel from uboot:
Now i am bit stuck as i use the USB harddrive, but i can't boot the device with it attached....
ps: as it can be seen from the log i have quite a few USB devices attached. I tried to boot without them only the harddrive attached, but it ended with the same result.
first of all thanks for the latest rootfs and kernel files! I just had time now to start upgrading my systems and i want(ed) to give them a fresh start. I rebuilt my sata disk builder script with the new rootfs and kernel 4.4.89. It works fine and the pogo boots with some warning messages but generally works fine. But when i boot with my USB to SATA device plugged the boot ends up with kernel panic (this worked for years). I made some tests with other devices. Using USB stick with FAT partition works fine, but if it is formatted to ext4 it produces the same error.
Here is the boot log for the console:
IDE device 0: Model: Samsung SSD 840 PRO Series Firm: DXM06B0Q Ser#: S1ATNSAF50
Type: Hard Disk
Supports 48-bit addressing
Capacity: 244198.3 MB = 238.4 GB (500118192 x 512)
4100416 bytes read in 558 ms (7 MiB/s)
4280781 bytes read in 583 ms (7 MiB/s)
7075 bytes read in 15 ms (460 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
Image Name: Linux-4.4.89-oxnas-tld-1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4100352 Bytes = 3.9 MiB
Load Address: 60008000
Entry Point: 60008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 60e00000 ...
Image Name: initramfs-4.4.89-oxnas-tld-1
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 4280717 Bytes = 4.1 MiB
Load Address: 60000000
Entry Point: 60000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
Booting using the fdt blob at 0x62c00000
Loading Kernel Image ... OK
Loading Ramdisk to 67a16000, end 67e2b18d ... OK
Loading Device Tree to 67a11000, end 67a15ba2 ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.4.89-oxnas-tld-1 (root@tldDebian) (gcc version 67
[ 0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cd
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructie
[ 0.000000] Machine model: Pogoplug V3 Classic
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] DT missing boot CPU MPIDR[23:0], fall back to default cpu_logicap
[ 0.000000] PERCPU: Embedded 12 pages/cpu @c7eda000 s17676 r8192 d23284 u4912
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pa2
[ 0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs root0
[ 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: 117604K/131072K available (5664K kernel code, 285K rwdat)
[ 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 - 0xc07185bc (7234 kB)
[ 0.000000] .init : 0xc0719000 - 0xc0750000 ( 220 kB)
[ 0.000000] .data : 0xc0750000 - 0xc0797478 ( 286 kB)
[ 0.000000] .bss : 0xc0797478 - 0xc07d4298 ( 244 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:160
[ 0.000000] clocksource: rps_clocksource_timer: mask: 0xffffff max_cycles: 0s
[ 0.000007] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 2s
[ 0.000163] Console: colour dummy device 80x30
[ 0.000197] Calibrating delay loop... 319.48 BogoMIPS (lpj=1597440)
[ 0.050027] pid_max: default: 32768 minimum: 301
[ 0.050206] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.050227] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.051123] Initializing cgroup subsys net_cls
[ 0.051212] CPU: Testing write buffer coherency: ok
[ 0.051660] Setting up static identity map for 0x60008220 - 0x60008258
[ 0.190156] Brought up 2 CPUs
[ 0.190179] SMP: Total of 2 processors activated (638.97 BogoMIPS).
[ 0.191027] devtmpfs: initialized
[ 0.196526] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms
[ 0.196569] futex hash table entries: 512 (order: 2, 16384 bytes)
[ 0.196889] prandom: seed boundary self test passed
[ 0.201576] prandom: 100 self tests passed
[ 0.201610] pinctrl core: initialized pinctrl subsystem
[ 0.202483] NET: Registered protocol family 16
[ 0.203043] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.230018] cpuidle: using governor ladder
[ 0.260011] cpuidle: using governor menu
[ 0.265223] gpio-oxnas 44000000.gpio: at address c8848000
[ 0.265658] gpio-oxnas 44100000.gpio: at address c884a000
[ 0.266240] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver
[ 0.278881] vgaarb: loaded
[ 0.279395] SCSI subsystem initialized
[ 0.280363] usbcore: registered new interface driver usbfs
[ 0.280486] usbcore: registered new interface driver hub
[ 0.280652] usbcore: registered new device driver usb
[ 0.280855] pps_core: LinuxPPS API ver. 1 registered
[ 0.280867] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom>
[ 0.280934] PTP clock support registered
[ 0.282314] clocksource: Switched to clocksource rps_clocksource_timer
[ 0.301639] NET: Registered protocol family 2
[ 0.302745] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.302791] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.302827] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.302942] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.302988] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.303275] NET: Registered protocol family 1
[ 0.303797] RPC: Registered named UNIX socket transport module.
[ 0.303818] RPC: Registered udp transport module.
[ 0.303831] RPC: Registered tcp transport module.
[ 0.303841] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.304245] Unpacking initramfs...
[ 0.774561] Freeing initrd memory: 4184K
[ 0.776122] Initialise system trusted keyring
[ 0.803816] zbud: loaded
[ 0.821498] NFS: Registering the id_resolver key type
[ 0.821570] Key type id_resolver registered
[ 0.821585] Key type id_legacy registered
[ 0.821629] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.821652] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 0.822663] fuse init (API version 7.23)
[ 0.824844] Key type big_key registered
[ 0.924495] Key type asymmetric registered
[ 0.924531] Asymmetric key parser 'x509' registered
[ 0.924672] Block layer SCSI generic (bsg) driver version 0.4 loaded (major )
[ 0.924702] io scheduler noop registered
[ 0.924725] io scheduler deadline registered
[ 0.924792] io scheduler cfq registered (default)
[ 0.925455] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.926958] console [ttyS0] disabled
[ 0.927057] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 6, base_baud = 39A
[ 1.447595] console [ttyS0] enabled
[ 1.463301] loop: module loaded
[ 1.468485] scsi host0: sata_oxnas
[ 1.472430] ata1: SATA max UDMA/133 irq 7
[ 1.476526] sata_oxnas: resetting SATA core
[ 1.477570] nand: Could not find valid ONFI parameter page; aborting
[ 1.477614] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[ 1.477621] nand: Hynix NAND 128MiB 3,3V 8-bit
[ 1.477632] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB si4
[ 1.477665] Scanning device for bad blocks
[ 1.494766] Bad eraseblock 208 at 0x000001a00000
[ 1.554278] Bad eraseblock 937 at 0x000007520000
[ 1.565870] 2 ofpart partitions found on MTD device 41000000.nand
[ 1.571960] Creating 2 MTD partitions on "41000000.nand":
[ 1.577354] 0x000000000000-0x000000e00000 : "boot"
[ 1.584179] 0x000000e00000-0x000008000000 : "data"
[ 1.591741] oxnas-gmac 40400000.ethernet: no reset control found
[ 1.597729] stmmac - user ID: 0x12, Synopsys ID: 0x35
[ 1.602803] Ring mode enabled
[ 1.605841] DMA HW capability register supported
[ 1.610365] Enhanced/Alternate descriptors
[ 1.614696] Enabled extended descriptors
[ 1.618680] RX Checksum Offload Engine supported (type 2)
[ 1.624151] TX Checksum insertion supported
[ 1.628392] Wake-Up On Lan supported
[ 1.632048] Enable RX Mitigation via HW Watchdog Timer
[ 1.665239] libphy: stmmac: probed
[ 1.668633] eth%d: PHY ID 001cc914 at 0 IRQ POLL (stmmac-0:00) active
[ 1.675102] eth%d: PHY ID 001cc914 at 3 IRQ POLL (stmmac-0:03)
[ 1.681845] PPP generic driver version 2.4.2
[ 1.686438] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.693007] ehci-pci: EHCI PCI platform driver
[ 1.697963] oxnas-ehci 40200100.ehci: EHCI Host Controller
[ 1.703587] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus n1
[ 1.711452] oxnas-ehci 40200100.ehci: irq 10, io mem 0x40200100
[ 1.730150] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[ 1.736476] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.743270] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber1
[ 1.750479] usb usb1: Product: EHCI Host Controller
[ 1.755333] usb usb1: Manufacturer: Linux 4.4.89-oxnas-tld-1 ehci_hcd
[ 1.761758] usb usb1: SerialNumber: 40200100.ehci
[ 1.767431] hub 1-0:1.0: USB hub found
[ 1.771294] hub 1-0:1.0: 2 ports detected
[ 1.776401] usbcore: registered new interface driver cdc_acm
[ 1.782077] cdc_acm: USB Abstract Control Model driver for USB modems and ISs
[ 1.790184] usbcore: registered new interface driver cdc_wdm
[ 1.796016] usbcore: registered new interface driver usb-storage
[ 1.802219] usbcore: registered new interface driver usbserial
[ 1.808089] usbcore: registered new interface driver usbserial_generic
[ 1.814702] usbserial: USB Serial support registered for generic
[ 1.821153] mousedev: PS/2 mouse device common for all mice
[ 1.826887] i2c /dev entries driver
[ 1.831746] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.837368] usbcore: registered new interface driver usbhid
[ 1.842954] usbhid: USB HID core driver
[ 1.849064] NET: Registered protocol family 10
[ 1.854996] sit: IPv6 over IPv4 tunneling driver
[ 1.860789] NET: Registered protocol family 17
[ 1.865397] Key type dns_resolver registered
[ 1.871308] registered taskstats version 1
[ 1.875435] Loading compiled-in X.509 certificates
[ 1.880363] zswap: loaded using pool lzo/zbud
[ 1.899816] Key type encrypted registered
[ 2.030010] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[ 2.036897] ata1.00: ATA-9: Samsung SSD 840 PRO Series, DXM06B0Q, max UDMA/13
[ 2.044134] ata1.00: 500118192 sectors, multi 16: LBA48 NCQ (depth 0/32)
[ 2.051153] ata1.00: configured for UDMA/133
[ 2.070702] scsi 0:0:0:0: Direct-Access ATA Samsung SSD 840 6B0Q P5
[ 2.080189] ata1.00: Enabling discard_zeroes_data
[ 2.084979] sd 0:0:0:0: [sda] 500118192 512-byte logical blocks: (256 GB/238)
[ 2.093913] sd 0:0:0:0: [sda] Write Protect is off
[ 2.098923] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doeA
[ 2.100172] usb 1-1: new high-speed USB device number 2 using oxnas-ehci
[ 2.115645] ata1.00: Enabling discard_zeroes_data
[ 2.121779] sda: sda1 sda2 sda3
[ 2.126955] ata1.00: Enabling discard_zeroes_data
[ 2.132695] sd 0:0:0:0: [sda] Attached SCSI disk
[ 2.137658] Freeing unused kernel memory: 220K
Loading, please wait...
[ 2.262133] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[ 2.268823] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2.276008] usb 1-1: Product: USB2.0 Hub
[ 2.281415] hub 1-1:1.0: USB hub found
[ 2.285629] hub 1-1:1.0: 4 ports detected
starting version 232
[ 2.328465] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 2.339911] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 2.341184] random: udevadm: uninitialized urandom read (16 bytes read, 0 bi)
[ 2.343713] random: udevadm: uninitialized urandom read (16 bytes read, 0 bi)
[ 2.343889] random: udevadm: uninitialized urandom read (16 bytes read, 0 bi)
[ 2.344972] random: udevadm: uninitialized urandom read (16 bytes read, 0 bi)
[ 2.346094] random: udevadm: uninitialized urandom read (16 bytes read, 0 bi)
[ 2.347141] random: udevadm: uninitialized urandom read (16 bytes read, 0 bi)
[ 2.353131] random: udevadm: uninitialized urandom read (16 bytes read, 0 bi)
[ 2.354127] random: udevadm: uninitialized urandom read (16 bytes read, 0 bi)
[ 2.600240] usb 1-1.1: new high-speed USB device number 3 using oxnas-ehci
[ 2.865986] usb 1-1.1: New USB device found, idVendor=046d, idProduct=0991
[ 2.872977] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumbe2
[ 2.880450] usb 1-1.1: SerialNumber: 2CCCCCE2
[ 2.970283] usb 1-1.2: new high-speed USB device number 4 using oxnas-ehci
[ 3.227970] usb 1-1.2: New USB device found, idVendor=046d, idProduct=0991
[ 3.234862] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumbe2
[ 3.242155] usb 1-1.2: SerialNumber: 516F6CE2
[ 3.330140] usb 1-1.3: new high-speed USB device number 5 using oxnas-ehci
[ 3.442094] usb 1-1.3: New USB device found, idVendor=05e3, idProduct=0608
[ 3.448947] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumbe0
[ 3.456256] usb 1-1.3: Product: USB2.0 Hub
[ 3.461844] hub 1-1.3:1.0: USB hub found
[ 3.466124] hub 1-1.3:1.0: 4 ports detected
[ 3.550141] usb 1-1.4: new high-speed USB device number 6 using oxnas-ehci
[ 3.671590] usb 1-1.4: New USB device found, idVendor=152d, idProduct=2329
[ 3.678440] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumbe5
[ 3.685752] usb 1-1.4: Product: USB to ATA/ATAPI bridge
[ 3.691038] usb 1-1.4: Manufacturer: JMicron
[ 3.695349] usb 1-1.4: SerialNumber: F000A6DFFFFF
[ 3.701975] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[ 3.708684] usb-storage 1-1.4:1.0: Quirks match for vid 152d pid 2329: 8020
[ 3.715863] scsi host1: usb-storage 1-1.4:1.0
[ 3.755563] usbcore: registered new interface driver uas
[ 3.770234] usb 1-1.3.1: new high-speed USB device number 7 using oxnas-ehci
[ 4.030973] usb 1-1.3.1: New USB device found, idVendor=046d, idProduct=0819
[ 4.038000] usb 1-1.3.1: New USB device strings: Mfr=0, Product=0, SerialNum2
[ 4.045478] usb 1-1.3.1: SerialNumber: 439AA2F0
[ 4.130142] usb 1-1.3.2: new full-speed USB device number 8 using oxnas-ehci
[ 4.247349] usb 1-1.3.2: New USB device found, idVendor=0403, idProduct=6001
[ 4.254415] usb 1-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNum3
[ 4.261882] usb 1-1.3.2: Product: FT232R USB UART
[ 4.266567] usb 1-1.3.2: Manufacturer: FTDI
[ 4.270748] usb 1-1.3.2: SerialNumber: A10125LI
[ 4.360140] usb 1-1.3.3: new low-speed USB device number 9 using oxnas-ehci
[ 4.574348] usb 1-1.3.3: New USB device found, idVendor=051d, idProduct=0002
[ 4.581404] usb 1-1.3.3: New USB device strings: Mfr=3, Product=1, SerialNum2
[ 4.588853] usb 1-1.3.3: Product: Back-UPS CS 650 FW:817.v6.I USB FW:v6
[ 4.595458] usb 1-1.3.3: Manufacturer: American Power Conversion
[ 4.601456] usb 1-1.3.3: SerialNumber: 4B1037P54836
[ 4.721351] scsi 1:0:0:0: Direct-Access Hitachi HDS721010KLA330 PS
[ 4.735242] sd 1:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/9)
[ 4.748157] sd 1:0:0:0: [sdb] Write Protect is off
[ 4.754659] sd 1:0:0:0: [sdb] No Caching mode page found
[ 4.759964] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[ 4.791713] sdb: sdb1
[ 4.808714] sd 1:0:0:0: [sdb] Attached SCSI disk
[ 5.291456] EXT4-fs (sdb1): couldn't mount as ext3 due to feature incompatibs
[ 5.541404] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
[ 6.150656] hid-generic 0003:051D:0002.0001: hiddev0,hidraw0: USB HID v1.10 0
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda2
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[ 21.418388] EXT4-fs (sda2): mounting ext3 file system using the ext4 subsystm
[ 21.440691] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
run-init: nuking initramfs contents: Directory not empty
[ 21.580188] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00
[ 21.580188]
[ 21.589291] CPU: 0 PID: 1 Comm: run-init Not tainted 4.4.89-oxnas-tld-1 #1
[ 21.596131] Hardware name: PLXTECH NAS782X SoC (Flattened Device Tree)
[ 21.602652] [<c0010ce8>] (unwind_backtrace) from [<c000cf90>] (show_stack+0x)
[ 21.610368] [<c000cf90>] (show_stack) from [<c02d48b8>] (dump_stack+0x80/0x9)
[ 21.617561] [<c02d48b8>] (dump_stack) from [<c0093e74>] (panic+0x8c/0x1ec)
[ 21.624412] [<c0093e74>] (panic) from [<c001a790>] (do_exit+0x974/0x9d8)
[ 21.631086] [<c001a790>] (do_exit) from [<c001b788>] (SyS_exit+0x10/0x14)
[ 21.637847] [<c001b788>] (SyS_exit) from [<c000a440>] (ret_fast_syscall+0x0/)
[ 21.645299] CPU1: stopping
[ 21.648005] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.4.89-oxnas-tld-1 #1
[ 21.654932] Hardware name: PLXTECH NAS782X SoC (Flattened Device Tree)
[ 21.661445] [<c0010ce8>] (unwind_backtrace) from [<c000cf90>] (show_stack+0x)
[ 21.669155] [<c000cf90>] (show_stack) from [<c02d48b8>] (dump_stack+0x80/0x9)
[ 21.676349] [<c02d48b8>] (dump_stack) from [<c000fbfc>] (handle_IPI+0x190/0x)
[ 21.683714] [<c000fbfc>] (handle_IPI) from [<c0009494>] (gic_handle_irq+0x78)
[ 21.691251] [<c0009494>] (gic_handle_irq) from [<c000da00>] (__irq_svc+0x40/)
[ 21.698693] Exception stack(0xc7469f88 to 0xc7469fd0)
[ 21.703723] 9f80: 00000001 00000000 00000000 00000000 c746c
[ 21.711864] 9fa0: 00000000 c7469fe0 c074b2c4 c074e208 00000000 c07586ac 00008
[ 21.720000] 9fc0: c000aef8 c000aefc 60000013 ffffffff
[ 21.725030] [<c000da00>] (__irq_svc) from [<c000aefc>] (arch_cpu_idle+0x28/0)
[ 21.732398] [<c000aefc>] (arch_cpu_idle) from [<c004e2a8>] (cpu_startup_entr)
[ 21.740628] [<c004e2a8>] (cpu_startup_entry) from [<60009528>] (0x60009528)
[ 21.747563] ---[ end Kernel panic - not syncing: Attempted to kill init! exi0
[ 21.747563]
This is the boot when no usb drive attached:
IDE device 0: Model: Samsung SSD 840 PRO Series Firm: DXM06B0Q Ser#: S1ATNSAF50
Type: Hard Disk
Supports 48-bit addressing
Capacity: 244198.3 MB = 238.4 GB (500118192 x 512)
4100416 bytes read in 558 ms (7 MiB/s)
4280781 bytes read in 583 ms (7 MiB/s)
7075 bytes read in 14 ms (493.2 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
Image Name: Linux-4.4.89-oxnas-tld-1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4100352 Bytes = 3.9 MiB
Load Address: 60008000
Entry Point: 60008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 60e00000 ...
Image Name: initramfs-4.4.89-oxnas-tld-1
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 4280717 Bytes = 4.1 MiB
Load Address: 60000000
Entry Point: 60000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
Booting using the fdt blob at 0x62c00000
Loading Kernel Image ... OK
Loading Ramdisk to 67a16000, end 67e2b18d ... OK
Loading Device Tree to 67a11000, end 67a15ba2 ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.4.89-oxnas-tld-1 (root@tldDebian) (gcc version 67
[ 0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cd
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructie
[ 0.000000] Machine model: Pogoplug V3 Classic
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] DT missing boot CPU MPIDR[23:0], fall back to default cpu_logicap
[ 0.000000] PERCPU: Embedded 12 pages/cpu @c7eda000 s17676 r8192 d23284 u4912
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pa2
[ 0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs root0
[ 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: 117604K/131072K available (5664K kernel code, 285K rwdat)
[ 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 - 0xc07185bc (7234 kB)
[ 0.000000] .init : 0xc0719000 - 0xc0750000 ( 220 kB)
[ 0.000000] .data : 0xc0750000 - 0xc0797478 ( 286 kB)
[ 0.000000] .bss : 0xc0797478 - 0xc07d4298 ( 244 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:160
[ 0.000000] clocksource: rps_clocksource_timer: mask: 0xffffff max_cycles: 0s
[ 0.000010] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 2s
[ 0.000163] Console: colour dummy device 80x30
[ 0.000197] Calibrating delay loop... 319.48 BogoMIPS (lpj=1597440)
[ 0.050024] pid_max: default: 32768 minimum: 301
[ 0.050201] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.050222] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.051120] Initializing cgroup subsys net_cls
[ 0.051207] CPU: Testing write buffer coherency: ok
[ 0.051650] Setting up static identity map for 0x60008220 - 0x60008258
[ 0.190154] Brought up 2 CPUs
[ 0.190177] SMP: Total of 2 processors activated (638.97 BogoMIPS).
[ 0.191032] devtmpfs: initialized
[ 0.196321] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms
[ 0.196367] futex hash table entries: 512 (order: 2, 16384 bytes)
[ 0.196689] prandom: seed boundary self test passed
[ 0.201379] prandom: 100 self tests passed
[ 0.201413] pinctrl core: initialized pinctrl subsystem
[ 0.202283] NET: Registered protocol family 16
[ 0.202841] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.230018] cpuidle: using governor ladder
[ 0.260011] cpuidle: using governor menu
[ 0.265231] gpio-oxnas 44000000.gpio: at address c8848000
[ 0.265676] gpio-oxnas 44100000.gpio: at address c884a000
[ 0.266286] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver
[ 0.279055] vgaarb: loaded
[ 0.279674] SCSI subsystem initialized
[ 0.280629] usbcore: registered new interface driver usbfs
[ 0.280744] usbcore: registered new interface driver hub
[ 0.280911] usbcore: registered new device driver usb
[ 0.281111] pps_core: LinuxPPS API ver. 1 registered
[ 0.281123] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom>
[ 0.281190] PTP clock support registered
[ 0.282621] clocksource: Switched to clocksource rps_clocksource_timer
[ 0.302179] NET: Registered protocol family 2
[ 0.303306] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.303354] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.303390] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.303500] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.303546] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.303828] NET: Registered protocol family 1
[ 0.304335] RPC: Registered named UNIX socket transport module.
[ 0.304355] RPC: Registered udp transport module.
[ 0.304366] RPC: Registered tcp transport module.
[ 0.304378] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.304791] Unpacking initramfs...
[ 0.777295] Freeing initrd memory: 4184K
[ 0.778831] Initialise system trusted keyring
[ 0.804044] zbud: loaded
[ 0.821501] NFS: Registering the id_resolver key type
[ 0.821573] Key type id_resolver registered
[ 0.821591] Key type id_legacy registered
[ 0.821632] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.821655] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 0.822673] fuse init (API version 7.23)
[ 0.824808] Key type big_key registered
[ 0.924367] Key type asymmetric registered
[ 0.924405] Asymmetric key parser 'x509' registered
[ 0.924546] Block layer SCSI generic (bsg) driver version 0.4 loaded (major )
[ 0.924577] io scheduler noop registered
[ 0.924600] io scheduler deadline registered
[ 0.924664] io scheduler cfq registered (default)
[ 0.925347] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.926848] console [ttyS0] disabled
[ 0.926945] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 6, base_baud = 39A
[ 1.447439] console [ttyS0] enabled
[ 1.463096] loop: module loaded
[ 1.468239] scsi host0: sata_oxnas
[ 1.472161] ata1: SATA max UDMA/133 irq 7
[ 1.476252] sata_oxnas: resetting SATA core
[ 1.477350] nand: Could not find valid ONFI parameter page; aborting
[ 1.477393] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[ 1.477399] nand: Hynix NAND 128MiB 3,3V 8-bit
[ 1.477406] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB si4
[ 1.477440] Scanning device for bad blocks
[ 1.494361] Bad eraseblock 208 at 0x000001a00000
[ 1.553267] Bad eraseblock 937 at 0x000007520000
[ 1.564858] 2 ofpart partitions found on MTD device 41000000.nand
[ 1.570944] Creating 2 MTD partitions on "41000000.nand":
[ 1.576335] 0x000000000000-0x000000e00000 : "boot"
[ 1.583188] 0x000000e00000-0x000008000000 : "data"
[ 1.590755] oxnas-gmac 40400000.ethernet: no reset control found
[ 1.596748] stmmac - user ID: 0x12, Synopsys ID: 0x35
[ 1.601817] Ring mode enabled
[ 1.604858] DMA HW capability register supported
[ 1.609364] Enhanced/Alternate descriptors
[ 1.613716] Enabled extended descriptors
[ 1.617702] RX Checksum Offload Engine supported (type 2)
[ 1.623173] TX Checksum insertion supported
[ 1.627420] Wake-Up On Lan supported
[ 1.631075] Enable RX Mitigation via HW Watchdog Timer
[ 1.665482] libphy: stmmac: probed
[ 1.668879] eth%d: PHY ID 001cc914 at 0 IRQ POLL (stmmac-0:00) active
[ 1.675345] eth%d: PHY ID 001cc914 at 3 IRQ POLL (stmmac-0:03)
[ 1.682099] PPP generic driver version 2.4.2
[ 1.686691] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.693260] ehci-pci: EHCI PCI platform driver
[ 1.698209] oxnas-ehci 40200100.ehci: EHCI Host Controller
[ 1.703823] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus n1
[ 1.711713] oxnas-ehci 40200100.ehci: irq 10, io mem 0x40200100
[ 1.730150] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[ 1.736499] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.743293] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber1
[ 1.750497] usb usb1: Product: EHCI Host Controller
[ 1.755353] usb usb1: Manufacturer: Linux 4.4.89-oxnas-tld-1 ehci_hcd
[ 1.761781] usb usb1: SerialNumber: 40200100.ehci
[ 1.767467] hub 1-0:1.0: USB hub found
[ 1.771340] hub 1-0:1.0: 2 ports detected
[ 1.776430] usbcore: registered new interface driver cdc_acm
[ 1.782105] cdc_acm: USB Abstract Control Model driver for USB modems and ISs
[ 1.790220] usbcore: registered new interface driver cdc_wdm
[ 1.796055] usbcore: registered new interface driver usb-storage
[ 1.802257] usbcore: registered new interface driver usbserial
[ 1.808128] usbcore: registered new interface driver usbserial_generic
[ 1.814735] usbserial: USB Serial support registered for generic
[ 1.821178] mousedev: PS/2 mouse device common for all mice
[ 1.826918] i2c /dev entries driver
[ 1.831761] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.837381] usbcore: registered new interface driver usbhid
[ 1.842972] usbhid: USB HID core driver
[ 1.848929] NET: Registered protocol family 10
[ 1.854845] sit: IPv6 over IPv4 tunneling driver
[ 1.860615] NET: Registered protocol family 17
[ 1.865208] Key type dns_resolver registered
[ 1.871162] registered taskstats version 1
[ 1.875294] Loading compiled-in X.509 certificates
[ 1.880225] zswap: loaded using pool lzo/zbud
[ 1.900147] Key type encrypted registered
[ 2.030010] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[ 2.036840] ata1.00: ATA-9: Samsung SSD 840 PRO Series, DXM06B0Q, max UDMA/13
[ 2.044080] ata1.00: 500118192 sectors, multi 16: LBA48 NCQ (depth 0/32)
[ 2.051100] ata1.00: configured for UDMA/133
[ 2.070704] scsi 0:0:0:0: Direct-Access ATA Samsung SSD 840 6B0Q P5
[ 2.080207] ata1.00: Enabling discard_zeroes_data
[ 2.084994] sd 0:0:0:0: [sda] 500118192 512-byte logical blocks: (256 GB/238)
[ 2.093957] sd 0:0:0:0: [sda] Write Protect is off
[ 2.098967] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doeA
[ 2.100172] usb 1-1: new high-speed USB device number 2 using oxnas-ehci
[ 2.115699] ata1.00: Enabling discard_zeroes_data
[ 2.121804] sda: sda1 sda2 sda3
[ 2.126988] ata1.00: Enabling discard_zeroes_data
[ 2.132728] sd 0:0:0:0: [sda] Attached SCSI disk
[ 2.137692] Freeing unused kernel memory: 220K
Loading, please wait...
[ 2.262141] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[ 2.268830] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2.276019] usb 1-1: Product: USB2.0 Hub
[ 2.281456] hub 1-1:1.0: USB hub found
[ 2.285655] hub 1-1:1.0: 4 ports detected
starting version 232
[ 2.326750] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 2.338058] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 2.339950] random: udevadm: uninitialized urandom read (16 bytes read, 0 bi)
[ 2.342438] random: udevadm: uninitialized urandom read (16 bytes read, 0 bi)
[ 2.342617] random: udevadm: uninitialized urandom read (16 bytes read, 0 bi)
[ 2.343705] random: udevadm: uninitialized urandom read (16 bytes read, 0 bi)
[ 2.344801] random: udevadm: uninitialized urandom read (16 bytes read, 0 bi)
[ 2.345894] random: udevadm: uninitialized urandom read (16 bytes read, 0 bi)
[ 2.352064] random: udevadm: uninitialized urandom read (16 bytes read, 0 bi)
[ 2.353098] random: udevadm: uninitialized urandom read (16 bytes read, 0 bi)
[ 2.600279] usb 1-1.1: new high-speed USB device number 3 using oxnas-ehci
[ 2.849643] usb 1-1.1: New USB device found, idVendor=046d, idProduct=0991
[ 2.856896] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumbe2
[ 2.865937] usb 1-1.1: SerialNumber: 2CCCCCE2
[ 2.960261] usb 1-1.2: new high-speed USB device number 4 using oxnas-ehci
[ 3.217986] usb 1-1.2: New USB device found, idVendor=046d, idProduct=0991
[ 3.224878] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumbe2
[ 3.232179] usb 1-1.2: SerialNumber: 516F6CE2
[ 3.320143] usb 1-1.3: new high-speed USB device number 5 using oxnas-ehci
[ 3.431982] usb 1-1.3: New USB device found, idVendor=05e3, idProduct=0608
[ 3.438832] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumbe0
[ 3.446141] usb 1-1.3: Product: USB2.0 Hub
[ 3.451581] hub 1-1.3:1.0: USB hub found
[ 3.455884] hub 1-1.3:1.0: 4 ports detected
Begin: Loading essential drivers ... done.
[ 3.740142] usb 1-1.3.1: new high-speed USB device number 6 using oxnas-ehci
[ 4.000614] usb 1-1.3.1: New USB device found, idVendor=046d, idProduct=0819
[ 4.007639] usb 1-1.3.1: New USB device strings: Mfr=0, Product=0, SerialNum2
[ 4.015124] usb 1-1.3.1: SerialNumber: 439AA2F0
[ 4.100175] usb 1-1.3.2: new full-speed USB device number 7 using oxnas-ehci
[ 4.217105] usb 1-1.3.2: New USB device found, idVendor=0403, idProduct=6001
[ 4.224163] usb 1-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNum3
[ 4.231631] usb 1-1.3.2: Product: FT232R USB UART
[ 4.236311] usb 1-1.3.2: Manufacturer: FTDI
[ 4.240494] usb 1-1.3.2: SerialNumber: A10125LI
[ 4.330147] usb 1-1.3.3: new low-speed USB device number 8 using oxnas-ehci
[ 4.549237] usb 1-1.3.3: New USB device found, idVendor=051d, idProduct=0002
[ 4.556295] usb 1-1.3.3: New USB device strings: Mfr=3, Product=1, SerialNum2
[ 4.563763] usb 1-1.3.3: Product: Back-UPS CS 650 FW:817.v6.I USB FW:v6
[ 4.570368] usb 1-1.3.3: Manufacturer: American Power Conversion
[ 4.576345] usb 1-1.3.3: SerialNumber: 4B1037P54836
[ 6.125742] hid-generic 0003:051D:0002.0001: hiddev0,hidraw0: USB HID v1.10 0
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda2
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[ 18.708513] EXT4-fs (sda2): mounting ext3 file system using the ext4 subsystm
[ 18.721121] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts:)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok
[....] Synthesizing the initial hotplug events...[ 20.811404] media: Linux me0
[ ok [ 20.849226] Linux video capture interface: v2.00
[ 20.897013] usbcore: registered new interface driver ftdi_sio
[ 20.927155] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0991)
[ 20.970503] usbserial: USB e
done.
[ 21.007859] input: UVC Camera (046d:0991) as /devices/platform/40200100.ehci0
[ 21.023956] ftdi_sio 1-1.3.2:1.0: FTDI USB Serial Device converter detected
[....] Waiting for /dev[ 21.050611] uvcvideo: Found UVC 1.00 device <unnamed>)
to be fully populated...[ 21.066145] usb 1-1.3.2: Detected FT232RL
[ 21.106268] usb 1-1.3.2: FTDI USB Serial Device converter now attached to tt0
[ 21.164904] input: UVC Camera (046d:0991) as /devices/platform/40200100.ehci1
[ 21.213130] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0819)
[ 21.351157] input: UVC Camera (046d:0819) as /devices/platform/40200100.ehci2
[ 21.382927] usbcore: registered new interface driver uvcvideo
[ 21.390586] USB Video Class driver (1.1.1)
[ 21.436428] usb 1-1.1: set resolution quirk: cval->res = 384
[ 21.846113] usb 1-1.2: set resolution quirk: cval->res = 384
[ 22.366113] usb 1-1.3.1: set resolution quirk: cval->res = 384
[ 22.376947] usbcore: registered new interface driver snd-usb-audio
done.
[ 23.218347] EXT4-fs (sda2): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.29.2
e2fsck 1.43.4 (31-Jan-2017)
rootfs: clean, 66572/262144 files, 560280/1048576 blocks
done.
[ 23.471447] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro
[....] Activating lvm and md swap...[ 25.484715] Adding 524284k swap on /swapS
done.
[....] Checking file systems...fsck from util-linux 2.29.2
e2fsck 1.43.4 (31-Jan-2017)
home: clean, 1212/15368192 files, 32931415/61463382 blocks
done.
[....] Loading kernel modules...done.
[....] Cleaning up temporary files... /tmp. ok
/etc/init.d/mountall.sh: 4: /etc/default/locale: LC_TIME: not found
/etc/init.d/mountall.sh: 5: /etc/default/locale: LC_MONETARY: not found
/etc/init.d/mountall.sh: 6: /etc/default/locale: LC_ADDRESS: not found
/etc/init.d/mountall.sh: 7: /etc/default/locale: LC_TELEPHONE: not found
/etc/init.d/mountall.sh: 8: /etc/default/locale: LC_NAME: not found
/etc/init.d/mountall.sh: 9: /etc/default/locale: LC_MEASUREMENT: not found
/etc/init.d/mountall.sh: 10: /etc/default/locale: LC_IDENTIFICATION: not found
/etc/init.d/mountall.sh: 11: /etc/default/locale: LC_NUMERIC: not found
/etc/init.d/mountall.sh: 12: /etc/default/locale: LC_PAPER: not found
/etc/init.d/mountall.sh: 13: /etc/default/locale: LANG: not found
[....] Mounting local filesystems...done.
[....] Activating swapfile swap...done.
[....] Cleaning up temporary files.... ok
[....] Setting kernel variables...done.
[ 31.270297] oxnas-gmac 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flox
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0/00:25:31:02:98:3b
Sending on LPF/eth0/00:25:31:02:98:3b
Sending on Socket/fallback
DHCPREQUEST of 192.168.0.86 on eth0 to 255.255.255.255 port 67
DHCPREQUEST of 192.168.0.86 on eth0 to 255.255.255.255 port 67
DHCPNAK from 192.168.0.254
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPREQUEST of 192.168.0.10 on eth0 to 255.255.255.255 port 67
DHCPOFFER of 192.168.0.10 from 192.168.0.254
DHCPACK of 192.168.0.10 from 192.168.0.254
invoke-rc.d: could not determine current runlevel
Reloading /etc/samba/smb.conf: smbd.
bound to 192.168.0.10 -- renewal in 19834 seconds.
done.
[....] Starting RPC port mapper daemon: rpcbind. ok
[....] Starting NFS common utilities: statd idmapd. ok
[....] Cleaning up temporary files.... ok
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd.
1285 (syslogd)
. ok
[....] Starting bittorrent daemon: transmission-daemon. ok
[....] Starting NFS common utilities: statd idmapd. ok
[....] Starting periodic command scheduler: cron. ok
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1283 (klogd)
. ok
[....] Starting MTA:[....] Starting system message bus: dbus exim4. ok
. ok
[....] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon. ok
[....] Starting network daemon:: mosquitto. ok
[....] Starting NetBIOS name server: nmbd. ok
[....] Not starting NFS kernel daemon: no exports. ... (warning).
[....] Starting NTP server: ntpd. ok
[....] Starting OpenBSD Secure Shell server: sshd. ok
Starting TLS tunnels: /etc/stunnel/cam.conf: started /etc/stunnel/espserial.cond
[....] Starting SMB/CIFS daemon: smbd. ok
Debian GNU/Linux 9 sch ttyS0
sch login:
If i plug the drive after boot in mounted fine:
433.830144] usb 1-1.4: new high-speed USB device number 9 using oxnas-ehci [ 433.941995] usb 1-1.4: New USB device found, idVendor=152d, idProduct=2329 [ 433.949719] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumbe5 [ 433.970160] usb 1-1.4: Product: USB to ATA/ATAPI bridge [ 433.976017] usb 1-1.4: Manufacturer: JMicron [ 433.981552] usb 1-1.4: SerialNumber: F000A6DFFFFF [ 433.989647] usb-storage 1-1.4:1.0: USB Mass Storage device detected [ 434.010344] usb-storage 1-1.4:1.0: Quirks match for vid 152d pid 2329: 8020 [ 434.030530] scsi host1: usb-storage 1-1.4:1.0 [ 434.125870] usbcore: registered new interface driver uas [ 435.031800] scsi 1:0:0:0: Direct-Access Hitachi HDS721010KLA330 PS [ 435.049505] sd 1:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/9) [ 435.061772] sd 1:0:0:0: [sdb] Write Protect is off [ 435.068500] sd 1:0:0:0: [sdb] No Caching mode page found [ 435.074567] sd 1:0:0:0: [sdb] Assuming drive cache: write through [ 435.115115] sdb: sdb1 [ 435.125032] sd 1:0:0:0: [sdb] Attached SCSI disk [ 436.093004] EXT4-fs (sdb1): recovery complete [ 436.097794] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts:)
I looked at the boot log and see the following in both cases. /dev/sda2 is my root partition this was LABEL=rootfs in /etc/fstab, but with that it always fell to emergency prompt at boot.
Begin: Will now check root file system ... fsck from util-linux 2.29.2 fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda2 fsck exited with status code 8 done. Warning: File system check failed but did not detect errors [ 18.708513] EXT4-fs (sda2): mounting ext3 file system using the ext4 subsystm [ 18.721121] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts:) done.
the other is about the USB attached drive:
[ 4.721351] scsi 1:0:0:0: Direct-Access Hitachi HDS721010KLA330 PS [ 4.735242] sd 1:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/9) [ 4.748157] sd 1:0:0:0: [sdb] Write Protect is off [ 4.754659] sd 1:0:0:0: [sdb] No Caching mode page found [ 4.759964] sd 1:0:0:0: [sdb] Assuming drive cache: write through [ 4.791713] sdb: sdb1 [ 4.808714] sd 1:0:0:0: [sdb] Attached SCSI disk [ 5.291456] EXT4-fs (sdb1): couldn't mount as ext3 due to feature incompatibs [ 5.541404] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts:) [ 6.150656] hid-generic 0003:051D:0002.0001: hiddev0,hidraw0: USB HID v1.10 0 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done.
Here is the boot line for the kernel from uboot:
ide_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10
Now i am bit stuck as i use the USB harddrive, but i can't boot the device with it attached....
ps: as it can be seen from the log i have quite a few USB devices attached. I tried to boot without them only the harddrive attached, but it ended with the same result.