[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: QNAP 219 P II, Luks, Debian



On 2014-09-05 06:38, Ian Campbell wrote:
On Thu, 2014-09-04 at 07:02 -0400, Li, Peng wrote:
Thanks for looking into this. Here's output.

Strange, that all looks like I would expect so I'm not sure why it isn't
working.

I've got a dmesg for the non-working case in the thread but could you
post one for the working case so I can compare please.

Thanks,
Ian.

root@NAS:/tmp# ls
root@NAS:/tmp# zcat /boot/initrd.img | cpio -id conf/param.conf
18373 blocks
root@NAS:/tmp# ls
conf
root@NAS:/tmp# cat conf/param.conf
ROOT="/dev/mapper/VG01-LVG01"

root@NAS:~# egrep '^[^#   ]+[     ]+/[    ]' /etc/fstab | awk '{print
$1}'
/dev/mapper/VG01-LVG01

thanks
Peng



HI Ian,

Here's dmesg out put. Let me know whether there's info you are looking for.

thanks
Peng

root@NAS:~# dmesg
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.2.0-4-kirkwood (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 Debian 3.2.60-1+deb7u3 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: QNAP TS-119/TS-219
[    0.000000] Ignoring unrecognised tag 0x41000403
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 131072
[ 0.000000] free_area_init_node: node 0, pgdat c0445b9c, node_mem_map c04ac000
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 130048 pages, LIFO batch:31
[    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: 130048 [ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mapper/VG01-LVG01 initrd=0xa00000,0x900000 ramdisk=34816
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 512MB = 512MB total
[ 0.000000] Memory: 505756k/505756k available, 18532k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xfe800000   ( 480 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc03e85dc   (3970 kB)
[    0.000000]       .init : 0xc03e9000 - 0xc040d000   ( 144 kB)
[    0.000000]       .data : 0xc040e000 - 0xc0448900   ( 235 kB)
[    0.000000]        .bss : 0xc0448924 - 0xc04abfb8   ( 398 kB)
[    0.000000] NR_IRQS:114
[ 0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[    0.000000] Console: colour dummy device 80x30
[    3.390634] Calibrating delay loop... 1980.82 BogoMIPS (lpj=9904128)
[    3.450535] pid_max: default: 32768 minimum: 301
[    3.450622] Security Framework initialized
[    3.450675] Mount-cache hash table entries: 512
[    3.450935] Initializing cgroup subsys cpuacct
[    3.450953] Initializing cgroup subsys memory
[    3.450971] Initializing cgroup subsys devices
[    3.450977] Initializing cgroup subsys freezer
[    3.450982] Initializing cgroup subsys net_cls
[    3.450987] Initializing cgroup subsys blkio
[    3.451002] Initializing cgroup subsys perf_event
[    3.451068] CPU: Testing write buffer coherency: ok
[    3.452046] devtmpfs: initialized
[    3.453350] print_constraints: dummy:
[    3.453536] NET: Registered protocol family 16
[    3.454117] Kirkwood: MV88F6282-Rev-A1, TCLK=200000000.
[    3.454127] Feroceon L2: Enabling L2
[    3.454153] Feroceon L2: Cache support initialised.
[ 3.454543] initial MPP regs: 01112222 43303311 55550000 00000000 00000000 00000000 00000000 [ 3.454558] final MPP regs: 01552222 03303311 55550000 00000000 00000000 00000000 00000000
[    3.455027] Kirkwood PCIe port 0:
[    3.455032] link up
[    3.455035] Kirkwood PCIe port 1:
[    3.455038] link up
[    3.455042] PCI: bus0 uses PCIe port 0
[    3.455150] pci 0000:00:00.0: [11ab:6282] type 0 class 0x000580
[ 3.455165] pci 0000:00:00.0: reg 10: [mem 0xf1000000-0xf10fffff 64bit pref]
[    3.455174] pci 0000:00:00.0: reg 18: [mem 0x00000000-0x1fffffff]
[    3.455197] pci 0000:00:00.0: supports D1 D2
[    3.455229] pci 0000:00:01.0: [197b:2363] type 0 class 0x000106
[    3.455300] pci 0000:00:01.0: reg 24: [mem 0x90000000-0x90001fff]
[ 3.455314] pci 0000:00:01.0: reg 30: [mem 0x00000000-0x0000ffff pref]
[    3.455347] pci 0000:00:01.0: PME# supported from D3hot
[    3.455381] pci 0000:00:01.1: [197b:2363] type 0 class 0x000101
[    3.455404] pci 0000:00:01.1: reg 10: [io  0xfff8-0xffff]
[    3.455418] pci 0000:00:01.1: reg 14: [io  0xfffc-0xffff]
[    3.455432] pci 0000:00:01.1: reg 18: [io  0xfff8-0xffff]
[    3.455446] pci 0000:00:01.1: reg 1c: [io  0xfffc-0xffff]
[    3.455459] pci 0000:00:01.1: reg 20: [io  0xfff0-0xffff]
[    3.455541] PCI: bus0: Fast back to back transfers disabled
[    3.455753] PCI: bus1 uses PCIe port 1
[    3.455850] pci 0000:01:00.0: [11ab:6282] type 0 class 0x000580
[ 3.455863] pci 0000:01:00.0: reg 10: [mem 0xf1000000-0xf10fffff 64bit pref]
[    3.455872] pci 0000:01:00.0: reg 18: [mem 0x00000000-0x1fffffff]
[    3.455893] pci 0000:01:00.0: supports D1 D2
[    3.455924] pci 0000:01:01.0: [1b6f:7023] type 0 class 0x000c03
[ 3.455951] pci 0000:01:01.0: reg 10: [mem 0x98000000-0x98007fff 64bit]
[    3.456040] pci 0000:01:01.0: supports D1 D2
[    3.456046] pci 0000:01:01.0: PME# supported from D0 D1 D2 D3hot
[    3.456085] PCI: bus1: Fast back to back transfers disabled
[ 3.456254] pci 0000:01:01.0: BAR 0: assigned [mem 0xe8000000-0xe8007fff 64bit] [ 3.456275] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe000ffff pref] [ 3.456283] pci 0000:00:01.0: BAR 5: assigned [mem 0xe0010000-0xe0011fff]
[    3.456293] pci 0000:00:01.1: BAR 4: assigned [io  0x1000-0x100f]
[    3.456302] pci 0000:00:01.1: BAR 0: assigned [io  0x1010-0x1017]
[    3.456312] pci 0000:00:01.1: BAR 2: assigned [io  0x1018-0x101f]
[    3.456322] pci 0000:00:01.1: BAR 1: assigned [io  0x1020-0x1023]
[    3.456331] pci 0000:00:01.1: BAR 3: assigned [io  0x1024-0x1027]
[    3.457490] bio: create slab <bio-0> at 0
[    3.457775] vgaarb: loaded
[    3.458155] Switching to clocksource orion_clocksource
[    3.468188] NET: Registered protocol family 2
[ 3.468322] IP route cache hash table entries: 4096 (order: 2, 16384 bytes) [ 3.468726] TCP established hash table entries: 16384 (order: 5, 131072 bytes) [ 3.469106] TCP bind hash table entries: 16384 (order: 4, 65536 bytes) [ 3.469298] TCP: Hash tables configured (established 16384 bind 16384)
[    3.469304] TCP reno registered
[    3.469310] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    3.469328] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    3.469476] NET: Registered protocol family 1
[    3.469567] PCI: CLS 32 bytes, default 32
[    3.469673] Unpacking initramfs...
[    3.750350] Freeing initrd memory: 9216K
[ 3.750364] NetWinder Floating Point Emulator V0.97 (double precision)
[    3.750785] audit: initializing netlink socket (disabled)
[    3.750818] type=2000 audit(0.350:1): initialized
[    3.751685] VFS: Disk quotas dquot_6.5.2
[ 3.751743] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 3.751818] JFFS2 version 2.2. (NAND) (SUMMARY) \xffffffc2\xffffffa9\xffffffa9 2001-2006 Red Hat, Inc.
[    3.752039] msgmni has been set to 1005
[    3.753118] alg: No test for stdrng (krng)
[ 3.753202] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    3.753211] io scheduler noop registered
[    3.753215] io scheduler deadline registered
[    3.753250] io scheduler cfq registered (default)
[    3.753330] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[    3.753352] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[    3.788197] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[    3.828194] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[    3.868195] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[    3.908195] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[    3.908446] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 3.928768] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[    4.439149] console [ttyS0] enabled
[ 4.462779] serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
[    4.470667] m25p80 spi0.0: m25p128 (16384 Kbytes)
[    4.475391] Creating 6 MTD partitions on "spi_flash":
[    4.480491] 0x000000000000-0x000000080000 : "U-Boot"
[    4.486056] 0x000000200000-0x000000400000 : "Kernel"
[    4.491618] 0x000000400000-0x000000d00000 : "RootFS1"
[    4.497240] 0x000000d00000-0x000001000000 : "RootFS2"
[    4.502905] 0x000000080000-0x0000000c0000 : "U-Boot Config"
[    4.509087] 0x0000000c0000-0x000000200000 : "NAS Config"
[    4.515146] mousedev: PS/2 mouse device common for all mice
[    5.528191] rtc-mv rtc-mv: internal RTC not ticking
[    5.533157] i2c /dev entries driver
[ 5.540127] rtc-s35390a 0-0030: rtc core: registered rtc-s35390a as rtc0
[    5.546922] cpuidle: using governor ladder
[    5.551094] cpuidle: using governor menu
[    5.555501] TCP cubic registered
[    5.558758] NET: Registered protocol family 17
[    5.563226] Registering the dns_resolver key type
[    5.567964] Gating clock of unused units
[    5.567969] before: 0x00c7c1dd
[    5.567973]  after: 0x00c7c1cd
[    5.568281] registered taskstats version 1
[ 5.573342] rtc-s35390a 0-0030: setting system clock to 2014-09-05 14:43:07 UTC (1409928187)
[    5.581857] Initializing network drop monitor service
[    5.587535] Freeing init memory: 144K
[    5.638616] udevd[51]: starting version 175
[    5.831663] SCSI subsystem initialized
[    5.890325] libata version 3.00 loaded.
[    5.891560] sata_mv sata_mv.0: version 1.28
[    5.891672] sata_mv sata_mv.0: slots 32 ports 2
[    5.901455] scsi0 : sata_mv
[    5.904780] scsi1 : sata_mv
[    5.907975] ata1: SATA max UDMA/133 irq 21
[    5.912109] ata2: SATA max UDMA/133 irq 21
[    6.418195] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    6.438268] ata1.00: ATA-8: ST1000DM003-9YN162, HP13, max UDMA/100
[ 6.444470] ata1.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    6.488258] ata1.00: configured for UDMA/100
[ 6.492793] scsi 0:0:0:0: Direct-Access ATA ST1000DM003-9YN1 HP13 PQ: 0 ANSI: 5
[    7.008195] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    7.028262] ata2.00: ATA-8: ST1000DM003-9YN162, HP13, max UDMA/100
[ 7.034465] ata2.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    7.078258] ata2.00: configured for UDMA/100
[ 7.082759] scsi 1:0:0:0: Direct-Access ATA ST1000DM003-9YN1 HP13 PQ: 0 ANSI: 5 [ 7.112863] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[    7.120573] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 7.126153] sd 1:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[    7.133854] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[    7.145714] sd 0:0:0:0: [sda] Write Protect is off
[    7.150555] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    7.150631] sd 1:0:0:0: [sdb] Write Protect is off
[    7.155438] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 7.155559] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 7.164664] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    7.188615]  sda: sda1 sda2
[    7.193899] sd 0:0:0:0: [sda] Attached SCSI disk
[    7.216831]  sdb: sdb1 sdb2
[    7.222222] sd 1:0:0:0: [sdb] Attached SCSI disk
[    7.483321] md: md0 stopped.
[    7.493020] md: bind<sdb1>
[    7.501848] md: bind<sda1>
[    7.512515] md: raid0 personality registered for level 0
[    7.518417] bio: create slab <bio-1> at 1
[    7.522640] md/raid0:md0: md_size is 1992704 sectors.
[    7.527748] md: RAID0 configuration for md0 - 1 zone
[    7.532753] md: zone0=[sda1/sdb1]
[ 7.536107] zone-offset= 0KB, device-offset= 0KB, size= 996352KB
[    7.544319]
[    7.546582] md0: detected capacity change from 0 to 1020264448
[    7.556704]  md0: unknown partition table
[    7.804080] md: md1 stopped.
[    7.813741] md: bind<sdb2>
[    7.829527] md: bind<sda2>
[    7.837360] md: raid1 personality registered for level 1
[    7.843374] md/raid1:md1: active with 2 out of 2 mirrors
[    7.848810] md1: detected capacity change from 0 to 999558021120
[    7.863215]  md1: unknown partition table
[    8.068445] device-mapper: uevent: version 1.0.3
[ 8.074292] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com [ 246.417076] EXT4-fs (dm-1): INFO: recovery required on readonly filesystem [ 246.424004] EXT4-fs (dm-1): write access will be enabled during recovery
[  246.786951] EXT4-fs (dm-1): recovery complete
[ 246.792575] EXT4-fs (dm-1): mounted filesystem with ordered data mode. Opts: (null)
[  248.678650] udevd[360]: starting version 175
[ 249.261868] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[  249.361050] ahci 0000:00:01.0: version 3.0
[ 249.381580] ahci 0000:00:01.0: AHCI 0001.0000 32 slots 2 ports 3 Gbps 0x3 impl SATA mode [ 249.389733] ahci 0000:00:01.0: flags: 64bit ncq pm led clo pmp pio slum part
[  249.405764] usbcore: registered new interface driver usbfs
[  249.424395] usbcore: registered new interface driver hub
[  249.442337] usbcore: registered new device driver usb
[  249.457870] scsi2 : ahci
[  249.471034] scsi3 : ahci
[ 249.478524] ata3: SATA max UDMA/133 abar m8192@0xe0010000 port 0xe0010100 irq 9 [ 249.485946] ata4: SATA max UDMA/133 abar m8192@0xe0010000 port 0xe0010180 irq 9
[  249.498562] xhci_hcd 0000:01:01.0: xHCI Host Controller
[ 249.509143] xhci_hcd 0000:01:01.0: new USB bus registered, assigned bus number 1 [ 249.516838] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 249.523736] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  249.531029] usb usb1: Product: xHCI Host Controller
[  249.535922] usb usb1: Manufacturer: Linux 3.2.0-4-kirkwood xhci_hcd
[  249.542220] usb usb1: SerialNumber: 0000:01:01.0
[ 249.549585] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[  249.556845] xHCI xhci_add_endpoint called for root hub
[  249.556853] xHCI xhci_check_bandwidth called for root hub
[  249.557092] hub 1-0:1.0: USB hub found
[  249.560898] hub 1-0:1.0: 2 ports detected
[  249.565076] xhci_hcd 0000:01:01.0: xHCI Host Controller
[ 249.594587] xhci_hcd 0000:01:01.0: new USB bus registered, assigned bus number 2 [ 249.602461] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003 [ 249.609296] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  249.616586] usb usb2: Product: xHCI Host Controller
[  249.621520] usb usb2: Manufacturer: Linux 3.2.0-4-kirkwood xhci_hcd
[  249.627813] usb usb2: SerialNumber: 0000:01:01.0
[  249.639963] xHCI xhci_add_endpoint called for root hub
[  249.639972] xHCI xhci_check_bandwidth called for root hub
[  249.640222] hub 2-0:1.0: USB hub found
[  249.645694] hub 2-0:1.0: 2 ports detected
[  249.838227] ata3: SATA link down (SStatus 0 SControl 300)
[  249.843748] ata4: SATA link down (SStatus 0 SControl 300)
[  249.871248] orion-ehci orion-ehci.0: Marvell Orion EHCI
[ 249.876525] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 3
[  249.908210] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[  249.928183] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 249.934168] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002 [ 249.940997] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  249.948256] usb usb3: Product: Marvell Orion EHCI
[  249.952974] usb usb3: Manufacturer: Linux 3.2.0-4-kirkwood ehci_hcd
[  249.959267] usb usb3: SerialNumber: orion-ehci.0
[  249.964536] hub 3-0:1.0: USB hub found
[  249.968331] hub 3-0:1.0: 1 port detected
[ 249.972430] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[  249.988003] mv643xx_eth smi: probed
[ 249.997456] mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address 00:08:9b:cd:08:be
[  250.768161] EXT4-fs (dm-1): re-mounted. Opts: (null)
[  251.301666] EXT4-fs (dm-1): re-mounted. Opts: errors=remount-ro
[  252.651151] loop: module loaded
[ 254.841448] Adding 996348k swap on /dev/mapper/md0_crypt. Priority:-1 extents:1 across:996348k [ 256.616862] EXT4-fs (dm-2): mounted filesystem with ordered data mode. Opts: (null)
[  258.078982] NET: Registered protocol family 10
[  258.531081] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  258.861686] RPC: Registered named UNIX socket transport module.
[  258.867630] RPC: Registered udp transport module.
[  258.872372] RPC: Registered tcp transport module.
[  258.877096] RPC: Registered tcp NFSv4.1 backchannel transport module.
[  258.939656] FS-Cache: Loaded
[  259.027577] FS-Cache: Netfs 'nfs' registered for caching
[  259.076173] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 261.625498] mv643xx_eth_port mv643xx_eth_port.0: eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[  261.635688] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  272.078265] eth0: no IPv6 routers present


Reply to: