Bug#816858: Logical volumes on external USB disk cause boot to enter emergency shell

Christoph Pleger Christoph at plmail.de
Sun Mar 6 12:16:21 UTC 2016


Hello,

> I have no idea what you mean with "logical volumes cannot be found".

It means that the logical volume device nodes are listed in /etc/fstab, but 
the filesystems cannot be mounted because the device nodes are not present.

> If
> devices may be missing, please make sure that the fstab entry includes
> "nofail".

That is no option, because mounting the filesystems is necessary for the 
computer to work as required. 
 
> 
> Please show full logs and please test with a current version, something
> like 2.02.142.

Upgrading to a newer version did not help. 

I have attached the output of dmesg directly after entering the emergency 
shell.

Regards
  Christoph Pleger
-------------- next part --------------
[    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 3.16.0-4-armmp (debian-kernel at lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17)
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Wandboard i.MX6 Quad Board
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 524288
[    0.000000] free_area_init_node: node 0, pgdat c09de940, node_mem_map ee7f8000
[    0.000000]   DMA zone: 1520 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 194560 pages, LIFO batch:31
[    0.000000]   HighMem zone: 2576 pages used for memmap
[    0.000000]   HighMem zone: 329728 pages, LIFO batch:31
[    0.000000] PERCPU: Embedded 9 pages/cpu @ee7b3000 s12608 r8192 d16064 u36864
[    0.000000] pcpu-alloc: s12608 r8192 d16064 u36864 alloc=9*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522768
[    0.000000] Kernel command line: console=ttymxc0,115200 apparmor=1 security=apparmor quiet init=/lib/sysvinit/init
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 2054716K/2097152K available (6413K kernel code, 829K rwdata, 2204K rodata, 688K init, 393K bss, 42436K reserved, 1318912K highmem)
[    0.000000] Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
    vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
    lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc0872938   (8619 kB)
      .init : 0xc0873000 - 0xc091f140   ( 689 kB)
      .data : 0xc0920000 - 0xc09ef610   ( 830 kB)
       .bss : 0xc09ef610 - 0xc0a51b34   ( 394 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] L2C-310 erratum 769419 enabled
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 ID prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x76070001
[    0.000000] Switching to timer-based delay loop
[    0.000006] sched_clock: 32 bits at 66MHz, resolution 15ns, wraps every 65075262448ns
[    0.002098] Console: colour dummy device 80x30
[    0.002127] Calibrating delay loop (skipped), value calculated using timer frequency.. 132.00 BogoMIPS (lpj=264000)
[    0.002142] pid_max: default: 32768 minimum: 301
[    0.002271] Security Framework initialized
[    0.002316] AppArmor: AppArmor initialized
[    0.002326] Yama: disabled by default; enable with sysctl kernel.yama.*
[    0.002401] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002416] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003322] Initializing cgroup subsys memory
[    0.003349] Initializing cgroup subsys devices
[    0.003389] Initializing cgroup subsys freezer
[    0.003409] Initializing cgroup subsys net_cls
[    0.003441] Initializing cgroup subsys blkio
[    0.003469] Initializing cgroup subsys perf_event
[    0.003484] Initializing cgroup subsys net_prio
[    0.003559] CPU: Testing write buffer coherency: ok
[    0.003589] ftrace: allocating 23120 entries in 68 pages
[    0.041431] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.041723] Setting up static identity map for 0x105c2418 - 0x105c2470
[    0.051939] CPU1: Booted secondary processor
[    0.051974] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.053066] CPU2: Booted secondary processor
[    0.053093] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.054145] CPU3: Booted secondary processor
[    0.054171] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.054257] Brought up 4 CPUs
[    0.054288] SMP: Total of 4 processors activated (528.00 BogoMIPS).
[    0.054296] CPU: All CPU(s) started in SVC mode.
[    0.054903] devtmpfs: initialized
[    0.059312] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.064602] pinctrl core: initialized pinctrl subsystem
[    0.065000] regulator-dummy: no parameters
[    0.073096] NET: Registered protocol family 16
[    0.074093] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.075779] CPU identified as i.MX6Q, unknown revision
[    0.092890] No ATAGs?
[    0.092930] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.092941] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.093136] EXYNOS: PMU not supported
[    0.094264] imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.094679] Serial: AMBA PL011 UART driver
[    0.117096] mxs-dma 110000.dma-apbh: initialized
[    0.117688] edma-dma-engine edma-dma-engine.0: Can't allocate PaRAM dummy slot
[    0.117710] edma-dma-engine: probe of edma-dma-engine.0 failed with error -5
[    0.118526] 2P5V: 2500 mV 
[    0.118789] 3P3V: 3300 mV 
[    0.121063] vgaarb: loaded
[    0.121593] usbcore: registered new interface driver usbfs
[    0.121664] usbcore: registered new interface driver hub
[    0.121802] usbcore: registered new device driver usb
[    0.122771] media: Linux media interface: v0.10
[    0.122837] Linux video capture interface: v2.00
[    0.122941] pps_core: LinuxPPS API ver. 1 registered
[    0.122949] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti at linux.it>
[    0.122977] PTP clock support registered
[    0.124546] Switched to clocksource mxc_timer1
[    0.165703] AppArmor: AppArmor Filesystem Enabled
[    0.180142] NET: Registered protocol family 2
[    0.181297] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.181384] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.181511] TCP: Hash tables configured (established 8192 bind 8192)
[    0.181598] TCP: reno registered
[    0.181615] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.181685] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.181977] NET: Registered protocol family 1
[    0.182036] PCI: CLS 0 bytes, default 64
[    0.182517] Unpacking initramfs...
[    1.305903] Freeing initrd memory: 14376K (c3000000 - c3e0a000)
[    1.306305] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
[    1.308945] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    1.309175] audit: initializing netlink subsys (disabled)
[    1.309268] audit: type=2000 audit(1.291:1): initialized
[    1.310691] zbud: loaded
[    1.311044] VFS: Disk quotas dquot_6.5.2
[    1.311105] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.311250] msgmni has been set to 1465
[    1.312773] alg: No test for stdrng (krng)
[    1.312881] bounce: pool size: 64 pages
[    1.312957] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    1.313164] io scheduler noop registered
[    1.313180] io scheduler deadline registered
[    1.313354] io scheduler cfq registered (default)
[    1.317535] imx-sdma 20ec000.sdma: firmware: failed to load imx/sdma/sdma-imx6q.bin (-2)
[    1.321075] imx-sdma 20ec000.sdma: initialized
[    1.321930] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.323658] Serial: AMBA driver
[    1.324063] Serial: IMX driver
[    1.324380] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58, base_baud = 5000000) is a IMX
[    1.340217] console [ttymxc0] enabled
[    1.340955] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 60, base_baud = 5000000) is a IMX
[    1.345751] 2188000.ethernet supply phy not found, using dummy regulator
[    1.364143] libphy: fec_enet_mii_bus: probed
[    1.364811] fec 2188000.ethernet eth0: registered PHC device 0
[    1.366046] mousedev: PS/2 mouse device common for all mice
[    1.367775] snvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-rtc-lp as rtc0
[    1.369751] ledtrig-cpu: registered to indicate activity on CPUs
[    1.369844] hidraw: raw HID events driver (C) Jiri Kosina
[    1.370487] usbcore: registered new interface driver usbhid
[    1.370497] usbhid: USB HID core driver
[    1.371508] TCP: cubic registered
[    1.371620] NET: Registered protocol family 10
[    1.372738] mip6: Mobile IPv6
[    1.372763] NET: Registered protocol family 17
[    1.372799] mpls_gso: MPLS GSO support
[    1.373331] ThumbEE CPU extension supported.
[    1.373356] Registering SWP/SWPB emulation handler
[    1.374107] registered taskstats version 1
[    1.374254] AppArmor: AppArmor sha1 policy hashing enabled
[    1.374829] snvs_rtc 20cc034.snvs-rtc-lp: setting system clock to 2016-03-06 12:00:50 UTC (1457265650)
[    1.384567] PM: Hibernation image not present or could not be loaded.
[    1.385744] Freeing unused kernel memory: 688K (c0873000 - c091f000)
[    1.451211] systemd-udevd[73]: starting version 215
[    1.453632] random: systemd-udevd urandom read with 1 bits of entropy available
[    1.546510] sdhci: Secure Digital Host Controller Interface driver
[    1.546529] sdhci: Copyright(c) Pierre Ossman
[    1.547454] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.557511] sdhci-esdhc-imx 2190000.usdhc: could not get ultra high speed state, work on normal mode
[    1.558632] mmc0: no vqmmc regulator found
[    1.558650] mmc0: no vmmc regulator found
[    1.580140] SCSI subsystem initialized
[    1.591464] libata version 3.00 loaded.
[    1.600717] ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabled
[    1.600755] ahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[    1.600774] ahci-imx 2200000.sata: flags: ncq sntf stag pm led clo only pmp pio slum part ccc apst 
[    1.602279] scsi0 : ahci_platform
[    1.602690] ata1: SATA max UDMA/133 mmio [mem 0x02200000-0x02203fff] port 0x100 irq 71
[    1.612806] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
[    1.613207] sdhci-esdhc-imx 2194000.usdhc: could not get ultra high speed state, work on normal mode
[    1.614297] mmc1: no vqmmc regulator found
[    1.614308] mmc1: no vmmc regulator found
[    1.652581] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[    1.653005] sdhci-esdhc-imx 2198000.usdhc: could not get ultra high speed state, work on normal mode
[    1.653089] mmc2: no vqmmc regulator found
[    1.653100] mmc2: no vmmc regulator found
[    1.682121] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.683837] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.685558] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.688644] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.688752] mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
[    1.694594] mmc1: queuing unknown CIS tuple 0x80 (11 bytes)
[    1.745621] mmc1: new high speed SDIO card at address 0001
[    1.808931] mmc2: host does not support reading read-only switch. assuming write-enable.
[    1.815701] mmc2: new high speed SDHC card at address aaaa
[    1.816209] mmcblk0: mmc2:aaaa SL32G 29.7 GiB 
[    1.817666]  mmcblk0: p1 p2 p3
[    1.920602] ata1: SATA link down (SStatus 0 SControl 300)
[    1.920662] ahci-imx 2200000.sata: no device found, disabling link.
[    1.920672] ahci-imx 2200000.sata: pass .hotplug=1 to enable hotplug
[    2.356084] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[    3.344612] systemd-udevd[289]: starting version 215
[    3.554884] [drm] Initialized drm 1.1.0 20060810
[    3.557365] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[    3.558798] i2c i2c-0: IMX I2C adapter registered
[    3.582897] ipu_smfc_init: ioremap 0x02650000 -> f04ee000
[    3.583665] imx-ipuv3 2400000.ipu: IPUv3H probed
[    3.584044] ipu_smfc_init: ioremap 0x02a50000 -> f05d6000
[    3.584782] imx-ipuv3 2800000.ipu: IPUv3H probed
[    3.588728] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.656751] imxdrm: module is from the staging directory, the quality is unknown, you have been warned.
[    3.656755] imxdrm: module is from the staging directory, the quality is unknown, you have been warned.
[    3.661930] imx_hdmi: module is from the staging directory, the quality is unknown, you have been warned.
[    3.756800] imx_ipuv3_crtc: module is from the staging directory, the quality is unknown, you have been warned.
[    3.756805] imx_ipuv3_crtc: module is from the staging directory, the quality is unknown, you have been warned.
[    3.759219] imx_ipuv3_crtc: module is from the staging directory, the quality is unknown, you have been warned.
[    3.760193] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.760215] [drm] No driver support for vblank timestamp query.
[    3.760421] imx-drm display-subsystem: bound imx-ipuv3-crtc.0 (ops .LANCHOR0 [imx_ipuv3_crtc])
[    3.760604] imx-drm display-subsystem: bound imx-ipuv3-crtc.1 (ops .LANCHOR0 [imx_ipuv3_crtc])
[    3.760775] imx-drm display-subsystem: bound imx-ipuv3-crtc.4 (ops .LANCHOR0 [imx_ipuv3_crtc])
[    3.760956] imx-drm display-subsystem: bound imx-ipuv3-crtc.5 (ops .LANCHOR0 [imx_ipuv3_crtc])
[    3.761327] imx-hdmi 120000.hdmi: Detected HDMI controller 0x13:0xa:0xa0:0xc1
[    3.761495] imx-drm display-subsystem: bound 120000.hdmi (ops imx_hdmi_driver_exit [imx_hdmi])
[    3.761783] imx-drm display-subsystem: No connectors reported connected with modes
[    3.761797] [drm] Cannot find any crtc or sizes - going 1024x768
[    3.767887] Console: switching to colour frame buffer device 128x48
[    3.775423] imx-drm display-subsystem: fb0:  frame buffer device
[    3.775435] imx-drm display-subsystem: registered panic notifier
[    3.784768] [drm] Initialized imx-drm 1.0.0 20120507 on minor 0
[    3.823311] cfg80211: Calling CRDA to update world regulatory domain
[    3.832932] sgtl5000 1-000a: sgtl5000 revision 0x11
[    3.834032] imx-spdif sound-spdif: ASoC: CPU DAI (null) not registered
[    3.840722] imx-spdif sound-spdif: snd_soc_register_card failed: -517
[    3.847468] platform sound-spdif: Driver imx-spdif requests probe deferral
[    3.848900] imx-spdif sound-spdif: snd-soc-dummy-dai <-> 2004000.spdif mapping ok
[    3.878924] brcmfmac_sdio mmc1:0001:1: firmware: failed to load brcm/brcmfmac4330-sdio.bin (-2)
[    3.879200] i2c i2c-1: IMX I2C adapter registered
[    3.880259] ci_hdrc ci_hdrc.0: ChipIdea HDRC found, lpm: 0; cap: f0cea100 op: f0cea140
[    3.883239] ci_hdrc ci_hdrc.0: It is OTG capable controller
[    3.884109] 2184200.usb supply vbus not found, using dummy regulator
[    3.884485] ci_hdrc ci_hdrc.1: ChipIdea HDRC found, lpm: 0; cap: f0cee300 op: f0cee340
[    3.888001] ci_hdrc ci_hdrc.1: doesn't support gadget
[    3.888024] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    3.888333] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[    3.894043] 1-000a: 1200 mV normal 
[    3.894142] sgtl5000 1-000a: Using internal LDO instead of VDDD
[    3.896618] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    3.896935] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.896949] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.896959] usb usb1: Product: EHCI Host Controller
[    3.896970] usb usb1: Manufacturer: Linux 3.16.0-4-armmp ehci_hcd
[    3.896984] usb usb1: SerialNumber: ci_hdrc.1
[    3.897744] hub 1-0:1.0: USB hub found
[    3.897800] hub 1-0:1.0: 1 port detected
[    3.911223] imx-sgtl5000 sound: sgtl5000 <-> 2028000.ssi mapping ok
[    4.208613] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[    4.280652] random: nonblocking pool is initialized
[    4.342199] usb 1-1: New USB device found, idVendor=1058, idProduct=1021
[    4.342217] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.342229] usb 1-1: Product: Ext HDD 1021
[    4.342237] usb 1-1: Manufacturer: Western Digital
[    4.342246] usb 1-1: SerialNumber: 57434156354A313738383234
[    4.381821] usb-storage 1-1:1.0: USB Mass Storage device detected
[    4.382438] scsi1 : usb-storage 1-1:1.0
[    4.383681] usbcore: registered new interface driver usb-storage
[    4.896652] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[    5.120349] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
[    5.215533] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro
[    5.382082] scsi 1:0:0:0: Direct-Access     WD       Ext HDD 1021     2002 PQ: 0 ANSI: 4
[    5.425786] sd 1:0:0:0: [sda] 1953519616 512-byte logical blocks: (1.00 TB/931 GiB)
[    5.426974] sd 1:0:0:0: [sda] Test WP failed, assume Write Enabled
[    5.428095] sd 1:0:0:0: [sda] Asking for cache data failed
[    5.433628] sd 1:0:0:0: [sda] Assuming drive cache: write through
[    5.910813] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[   17.501163]  sda: sda1 sda2 sda3 sda4
[   17.531490] sd 1:0:0:0: [sda] Attached SCSI disk
[   17.548154] sd 1:0:0:0: Attached scsi generic sg0 type 0
[   17.939303] Adding 2104476k swap on /dev/sda1.  Priority:-1 extents:1 across:2104476k FS


More information about the pkg-lvm-maintainers mailing list