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

Bug#535784: Systen does not boot with encrypted root fs



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: installation-reports

Boot method: CD
Image version:
ftp://ftp.at.debian.org/debian-cd/5.0.2/amd64/iso-cd/debian-502-amd64-CD-1.iso
Date: 04-Jul-2009 21:00


Machine: NoName Intel Atom, 2G RAM, 32G SSD-HDD
Partitions:
Disk /dev/hdb: 32.0 GB, 32078036992 bytes
255 heads, 63 sectors/track, 3899 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x12641263

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1          30      240943+  83  Linux
/dev/hdb2              31        3899    31077742+   5  Extended
/dev/hdb5              31        3899    31077711   8e  Linux LVM



Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [O]
Detect network card:    [O]
Configure network:      [O]
Detect CD:              [O]
Load installer modules: [O]
Detect hard drives:     [O]
Partition hard drives:  [O]
Install base system:    [O]
Clock/timezone setup:   [O]
User/password setup:    [O]
Install tasks:          [O]
Install boot loader:    [O]
Overall install:        [O]

Comments/Problems:

This is a fresh installation of lenny 5.0R2.
I setup a boot fs and a LVM partition. This partition contains a
encrypted swap partition (random key) and a encrypted root partition
(luks passphrase).

After reboot the system is unable to start.
Following error occurs:
<cite>
RAMDISK: Couldn't find valid RAM disk image starting at 0.
List of all partitions:
No filesystem could mount root, tried:
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(253,2)
</cite>

I checked lilo.conf, the root= entry points to
/dev/mapper/rootvg-rootlv_crypt - seems OK to me.

Summary of LVM configuration:
# vgs
  VG     #PV #LV #SN Attr   VSize  VFree
  rootvg   1   2   0 wz--n- 29.64G    0

# lvs
  LV     VG     Attr   LSize   Origin Snap%  Move Log Copy%  Convert
  rootlv rootvg -wi-a-  29.17G
  swaplv rootvg -wi-a- 476.00M

# ls -l /dev/mapper/
crw-rw----    1 root     root      10,  60 Jul  5 01:37 control
brw-------    1 root     root     253,   1 Jul  5 01:37 rootvg-rootlv
brw-------    1 root     root     253,   2 Jul  5 01:42 rootvg-rootlv_crypt
brw-------    1 root     root     253,   0 Jul  5 01:37 rootvg-swaplv


For completeness here the hardware-summary which was written by
installation report:
umame -a: Linux srv1 2.6.26-2-amd64 #1 SMP Sun Jun 21 04:47:08 UTC 2009
x86_64 unknown
lspci -knn: 00:00.0 Host bridge [0600]: Intel Corporation 82945G/GZ/P/PL
Memory Controller Hub [8086:2770] (rev 02)
lspci -knn: 00:02.0 VGA compatible controller [0300]: Intel Corporation
82945G/GZ Integrated Graphics Controller [8086:2
772] (rev 02)

lspci -knn: 00:1c.0 PCI bridge [0604]: Intel Corporation 82801G (ICH7
Family) PCI Express Port 1 [8086:27d0] (rev 01)
lspci -knn:     Kernel driver in use: pcieport-driver

lspci -knn: 00:1c.2 PCI bridge [0604]: Intel Corporation 82801G (ICH7
Family) PCI Express Port 3 [8086:27d4] (rev 01)
lspci -knn:     Kernel driver in use: pcieport-driver

lspci -knn: 00:1c.3 PCI bridge [0604]: Intel Corporation 82801G (ICH7
Family) PCI Express Port 4 [8086:27d6] (rev 01)
lspci -knn:     Kernel driver in use: pcieport-driver

lspci -knn: 00:1d.0 USB Controller [0c03]: Intel Corporation 82801G
(ICH7 Family) USB UHCI Controller #1 [8086:27c8] (re
v 01)

lspci -knn:     Kernel driver in use: uhci_hcd

lspci -knn:     Kernel modules: uhci-hcd

lspci -knn: 00:1d.1 USB Controller [0c03]: Intel Corporation 82801G
(ICH7 Family) USB UHCI Controller #2 [8086:27c9] (re
v 01)

lspci -knn:     Kernel driver in use: uhci_hcd

lspci -knn:     Kernel modules: uhci-hcd

lspci -knn: 00:1d.3 USB Controller [0c03]: Intel Corporation 82801G
(ICH7 Family) USB UHCI Controller #4 [8086:27cb] (re
v 01)

lspci -knn:     Kernel driver in use: uhci_hcd

lspci -knn:     Kernel modules: uhci-hcd

lspci -knn: 00:1d.7 USB Controller [0c03]: Intel Corporation 82801G
(ICH7 Family) USB2 EHCI Controller [8086:27cc] (rev
01)

lspci -knn:     Kernel driver in use: ehci_hcd

lspci -knn:     Kernel modules: ehci-hcd

lspci -knn: 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI
Bridge [8086:244e] (rev e1)
lspci -knn: 00:1f.0 ISA bridge [0601]: Intel Corporation 82801GB/GR
(ICH7 Family) LPC Interface Bridge [8086:27b8] (rev
01)

lspci -knn: 00:1f.1 IDE interface [0101]: Intel Corporation 82801G (ICH7
Family) IDE Controller [8086:27df] (rev 01)
lspci -knn:     Kernel driver in use: PIIX_IDE

lspci -knn:     Kernel modules: piix

lspci -knn: 00:1f.2 IDE interface [0101]: Intel Corporation
82801GB/GR/GH (ICH7 Family) SATA IDE Controller [8086:27c0]
(rev 01)

lspci -knn:     Kernel driver in use: ata_piix

lspci -knn:     Kernel modules: ata_piix

lspci -knn: 00:1f.3 SMBus [0c05]: Intel Corporation 82801G (ICH7 Family)
SMBus Controller [8086:27da] (rev 01)
lspci -knn: 01:00.0 Ethernet controller [0200]: Realtek Semiconductor
Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ether
net controller [10ec:8136] (rev 02)

lspci -knn:     Kernel driver in use: r8169

lspci -knn:     Kernel modules: r8169

lspci -knn: 04:00.0 Ethernet controller [0200]: D-Link System Inc
DGE-528T Gigabit Ethernet Adapter [1186:4300] (rev 10)
lspci -knn:     Kernel driver in use: r8169

lspci -knn:     Kernel modules: r8169

lsmod: Module                  Size  Used by

lsmod: nls_cp437              11008  1

lsmod: ufs                    67848  0

lsmod: qnx4                   13576  0

lsmod: ntfs                  188416  0

lsmod: cbc                     7936  2

lsmod: sha256_generic         13696  0

lsmod: aes_generic            32552  4

lsmod: dm_crypt               17032  1

lsmod: crypto_blkcipher       21636  4 cbc,dm_crypt

lsmod: dm_mod                 58864  10 dm_crypt

lsmod: md_mod                 80164  0

lsmod: xfs                   475304  1

lsmod: reiserfs              210944  0

lsmod: jfs                   157904  0

lsmod: ext3                  124944  1

lsmod: jbd                    51240  1 ext3

lsmod: vfat                   14848  1

lsmod: fat                    50872  1 vfat

lsmod: ext2                   66448  0

lsmod: mbcache                12676  2 ext3,ext2

lsmod: r8169                  31492  0

lsmod: nls_utf8                6144  3

lsmod: isofs                  35496  1

lsmod: nls_base               12932  7
nls_cp437,ntfs,jfs,vfat,fat,nls_utf8,isofs

lsmod: zlib_inflate           18688  1 isofs

lsmod: sg                     36448  0

lsmod: sr_mod                 19396  1

lsmod: cdrom                  37800  1 sr_mod

lsmod: sd_mod                 29248  2

lsmod: vga16fb                16408  2

lsmod: vgastate               12672  1 vga16fb

lsmod: fan                     9224  0

lsmod: usb_storage            95040  2

lsmod: ide_disk               16512  3

lsmod: parport_pc             30888  0

lsmod: parport                41520  1 parport_pc

lsmod: ata_piix               22532  0

lsmod: libata                165344  1 ata_piix

lsmod: scsi_mod              160248  5
sg,sr_mod,sd_mod,usb_storage,libata

lsmod: dock                   13984  1 libata

lsmod: piix                   12296  0 [permanent]

lsmod: ide_core              127772  2 ide_disk,piix

lsmod: ehci_hcd               35980  0

lsmod: uhci_hcd               25632  0

lsmod: thermal                22688  0

lsmod: processor              42048  1 thermal

lsmod: thermal_sys            17600  3 fan,thermal,processor

df: Filesystem           1k-blocks      Used Available Use% Mounted on

df: tmpfs                  1026808        44   1026764   0% /dev

df: /dev/mapper/rootvg-rootlv_crypt

df:                       30572968    336928  30236040   1% /target

df: /dev/hdb1               233333     17541    203745   8% /target/boot

df: /dev/mapper/rootvg-rootlv_crypt

df:                       30572968    336928  30236040   1%
/dev/.static/dev
df: tmpfs                  1026808        44   1026764   0% /target/dev

df: /dev/scd0               662526    662526         0 100% /cdrom

df: /dev/sdb1                 1418         0      1418   0% /mnt

free:               total         used         free       shared
buffers
free:   Mem:      2053616       461088      1592528            0
 2216
free:  Swap:       487416            0       487416

free: Total:      2541032       461088      2079944

/proc/cmdline: priority=low vga=normal initrd=/install.amd/initrd.gz --
 BOOT_IMAGE=/install.amd/vmlinuz
/proc/cpuinfo: processor        : 0

/proc/cpuinfo: vendor_id        : GenuineIntel

/proc/cpuinfo: cpu family       : 6

/proc/cpuinfo: model            : 28

/proc/cpuinfo: model name       :          Intel(R) Atom(TM) CPU  230
@ 1.60GHz
/proc/cpuinfo: stepping : 2

/proc/cpuinfo: cpu MHz          : 1596.000

/proc/cpuinfo: cache size       : 512 KB

/proc/cpuinfo: physical id      : 0

/proc/cpuinfo: siblings : 2

/proc/cpuinfo: core id          : 0

/proc/cpuinfo: cpu cores        : 1

/proc/cpuinfo: apicid           : 0

/proc/cpuinfo: initial apicid   : 0

/proc/cpuinfo: fpu              : yes

/proc/cpuinfo: fpu_exception    : yes

/proc/cpuinfo: cpuid level      : 10

/proc/cpuinfo: wp               : yes

/proc/cpuinfo: flags            : fpu vme de pse tsc msr pae mce cx8
apic sep mtrr pge mca cmov pat clflush dts acpi mmx
 fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs
bts rep_good pni monitor ds_cpl tm2 ssse3 cx16
xtpr lahf_lm

/proc/cpuinfo: bogomips : 3195.85

/proc/cpuinfo: clflush size     : 64

/proc/cpuinfo: cache_alignment  : 64

/proc/cpuinfo: address sizes    : 32 bits physical, 48 bits virtual

/proc/cpuinfo: power management:

/proc/cpuinfo:

/proc/cpuinfo: processor        : 1

/proc/cpuinfo: vendor_id        : GenuineIntel

/proc/cpuinfo: cpu family       : 6

/proc/cpuinfo: model            : 28

/proc/cpuinfo: model name       :          Intel(R) Atom(TM) CPU  230
@ 1.60GHz
/proc/cpuinfo: stepping : 2

/proc/cpuinfo: cpu MHz          : 1596.000

/proc/cpuinfo: cache size       : 512 KB

/proc/cpuinfo: physical id      : 0

/proc/cpuinfo: siblings : 2

/proc/cpuinfo: core id          : 0

/proc/cpuinfo: cpu cores        : 1

/proc/cpuinfo: apicid           : 1

/proc/cpuinfo: initial apicid   : 1

/proc/cpuinfo: fpu              : yes

/proc/cpuinfo: fpu_exception    : yes

/proc/cpuinfo: cpuid level      : 10

/proc/cpuinfo: wp               : yes

/proc/cpuinfo: flags            : fpu vme de pse tsc msr pae mce cx8
apic sep mtrr pge mca cmov pat clflush dts acpi mmx
 fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs
bts rep_good pni monitor ds_cpl tm2 ssse3 cx16
xtpr lahf_lm

/proc/cpuinfo: bogomips : 3191.95

/proc/cpuinfo: clflush size     : 64

/proc/cpuinfo: cache_alignment  : 64

/proc/cpuinfo: address sizes    : 32 bits physical, 48 bits virtual

/proc/cpuinfo: power management:

/proc/cpuinfo:

/proc/ioports: 0000-001f : dma1

/proc/ioports: 0020-0021 : pic1

/proc/ioports: 0040-0043 : timer0

/proc/ioports: 0050-0053 : timer1

/proc/ioports: 0060-0060 : keyboard

/proc/ioports: 0064-0064 : keyboard

/proc/ioports: 0070-0071 : rtc0

/proc/ioports: 0080-008f : dma page reg

/proc/ioports: 00a0-00a1 : pic2

/proc/ioports: 00c0-00df : dma2

/proc/ioports: 00f0-00ff : fpu

/proc/ioports: 0170-0177 : 0000:00:1f.1

/proc/ioports:   0170-0177 : ICH7

/proc/ioports: 01f0-01f7 : 0000:00:1f.1

/proc/ioports:   01f0-01f7 : ICH7

/proc/ioports: 0376-0376 : 0000:00:1f.1

/proc/ioports:   0376-0376 : ICH7

/proc/ioports: 0378-037a : parport0

/proc/ioports: 03c0-03df : vga+

/proc/ioports: 03f6-03f6 : 0000:00:1f.1

/proc/ioports:   03f6-03f6 : ICH7

/proc/ioports: 03f8-03ff : serial

/proc/ioports: 0400-047f : 0000:00:1f.0

/proc/ioports:   0400-047f : pnp 00:06

/proc/ioports:     0400-0403 : ACPI PM1a_EVT_BLK

/proc/ioports:     0404-0405 : ACPI PM1a_CNT_BLK

/proc/ioports:     0408-040b : ACPI PM_TMR

/proc/ioports:     0410-0415 : ACPI CPU throttle

/proc/ioports:     0420-0420 : ACPI PM2_CNT_BLK

/proc/ioports:     0428-042f : ACPI GPE0_BLK

/proc/ioports: 0500-053f : 0000:00:1f.0

/proc/ioports:   0500-053f : pnp 00:06

/proc/ioports: 0680-06ff : pnp 00:06

/proc/ioports: 0cf8-0cff : PCI conf1

/proc/ioports: 1000-1fff : PCI Bus 0000:04

/proc/ioports:   1000-10ff : 0000:04:00.0

/proc/ioports:     1000-10ff : r8169

/proc/ioports: 2000-2fff : PCI Bus 0000:01

/proc/ioports:   2000-20ff : 0000:01:00.0

/proc/ioports:     2000-20ff : r8169

/proc/ioports: 3000-301f : 0000:00:1f.3

/proc/ioports: 3020-303f : 0000:00:1d.3

/proc/ioports:   3020-303f : uhci_hcd

/proc/ioports: 3040-305f : 0000:00:1d.1

/proc/ioports:   3040-305f : uhci_hcd

/proc/ioports: 3060-307f : 0000:00:1d.0

/proc/ioports:   3060-307f : uhci_hcd

/proc/ioports: 3080-308f : 0000:00:1f.2

/proc/ioports:   3080-308f : ata_piix

/proc/ioports: 3090-309f : 0000:00:1f.1

/proc/ioports:   3090-309f : ICH7

/proc/ioports: 30a0-30a7 : 0000:00:1f.2

/proc/ioports:   30a0-30a7 : ata_piix

/proc/ioports: 30a8-30af : 0000:00:1f.2

/proc/ioports:   30a8-30af : ata_piix

/proc/ioports: 30c0-30c7 : 0000:00:02.0

/proc/ioports: 30c8-30cb : 0000:00:1f.2

/proc/ioports:   30c8-30cb : ata_piix

/proc/ioports: 30cc-30cf : 0000:00:1f.2

/proc/ioports:   30cc-30cf : ata_piix

/proc/iomem: 00000000-0008efff : System RAM

/proc/iomem: 0008f000-0009ffff : reserved

/proc/iomem: 000c0000-000dffff : pnp 00:01

/proc/iomem: 000e0000-000fffff : reserved

/proc/iomem: 00100000-7f533fff : System RAM

/proc/iomem:   00200000-0042c509 : Kernel code

/proc/iomem:   0042c50a-0053a6f7 : Kernel data

/proc/iomem:   005de000-00673397 : Kernel bss

/proc/iomem: 7f534000-7f53bfff : reserved

/proc/iomem: 7f53c000-7f5ccfff : System RAM

/proc/iomem: 7f5cd000-7f5d0fff : reserved

/proc/iomem: 7f5d1000-7f65ffff : System RAM

/proc/iomem: 7f660000-7f6effff : ACPI Non-volatile Storage

/proc/iomem: 7f6f0000-7f6f2fff : System RAM

/proc/iomem: 7f6f3000-7f6fefff : ACPI Tables

/proc/iomem: 7f6ff000-7f6fffff : System RAM

/proc/iomem: 7f700000-7fffffff : reserved

/proc/iomem: 80000000-87ffffff : 0000:00:02.0

/proc/iomem: 88000000-880fffff : PCI Bus 0000:01

/proc/iomem:   88000000-8800ffff : 0000:01:00.0

/proc/iomem:     88000000-8800ffff : r8169

/proc/iomem:   88020000-8803ffff : 0000:01:00.0

/proc/iomem: 88100000-881fffff : PCI Bus 0000:04

/proc/iomem:   88100000-881000ff : 0000:04:00.0

/proc/iomem:     88100000-881000ff : r8169

/proc/iomem: 88200000-882fffff : PCI Bus 0000:01

/proc/iomem:   88200000-88200fff : 0000:01:00.0

/proc/iomem:     88200000-88200fff : r8169

/proc/iomem: 88300000-8837ffff : 0000:00:02.0

/proc/iomem: 88380000-8839ffff : 0000:00:02.0

/proc/iomem: 883a0000-883a03ff : 0000:00:1d.7

/proc/iomem:   883a0000-883a03ff : ehci_hcd

/proc/iomem: 88400000-884fffff : PCI Bus 0000:04

/proc/iomem:   88400000-8841ffff : 0000:04:00.0

/proc/iomem: f0000000-ffffffff : reserved

/proc/iomem:   fec00000-fec00fff : IOAPIC 0

/proc/iomem:   fee00000-fee00fff : Local APIC

/proc/interrupts:            CPU0       CPU1

/proc/interrupts:   0:         37          0   IO-APIC-edge      timer

/proc/interrupts:   1:       2336          0   IO-APIC-edge      i8042

/proc/interrupts:   7:          0          0   IO-APIC-edge
parport0
/proc/interrupts:   8:          1          0   IO-APIC-edge      rtc0

/proc/interrupts:   9:          0          0   IO-APIC-fasteoi   acpi

/proc/interrupts:  12:          3          0   IO-APIC-edge      i8042

/proc/interrupts:  14:      32108          0   IO-APIC-edge      ide0

/proc/interrupts:  16:          0          0   IO-APIC-fasteoi
uhci_hcd:usb3
/proc/interrupts:  19:          0          0   IO-APIC-fasteoi
uhci_hcd:usb2, ata_piix
/proc/interrupts:  21:      14391          0   IO-APIC-fasteoi   eth1

/proc/interrupts:  23:      47324          0   IO-APIC-fasteoi
uhci_hcd:usb1, ehci_hcd:usb4
/proc/interrupts: NMI:          0          0   Non-maskable interrupts

/proc/interrupts: LOC:     109765      96195   Local timer interrupts

/proc/interrupts: RES:       7288       9057   Rescheduling interrupts

/proc/interrupts: CAL:        783        613   function call interrupts

/proc/interrupts: TLB:      15410      13387   TLB shootdowns

/proc/interrupts: TRM:          0          0   Thermal event interrupts

/proc/interrupts: THR:          0          0   Threshold APIC interrupts

/proc/interrupts: SPU:          0          0   Spurious interrupts

/proc/interrupts: ERR:          0

/proc/meminfo: MemTotal:      2053616 kB

/proc/meminfo: MemFree:       1592524 kB

/proc/meminfo: Buffers:          2216 kB

/proc/meminfo: Cached:         386312 kB

/proc/meminfo: SwapCached:          0 kB

/proc/meminfo: Active:         140692 kB

/proc/meminfo: Inactive:       252496 kB

/proc/meminfo: SwapTotal:      487416 kB

/proc/meminfo: SwapFree:       487416 kB

/proc/meminfo: Dirty:               0 kB

/proc/meminfo: Writeback:           0 kB

/proc/meminfo: AnonPages:        4660 kB

/proc/meminfo: Mapped:           2148 kB

/proc/meminfo: Slab:            46680 kB

/proc/meminfo: SReclaimable:    36964 kB

/proc/meminfo: SUnreclaim:       9716 kB

/proc/meminfo: PageTables:        600 kB
/proc/meminfo: NFS_Unstable:        0 kB
/proc/meminfo: Bounce:              0 kB
/proc/meminfo: WritebackTmp:        0 kB
/proc/meminfo: CommitLimit:   1514224 kB
/proc/meminfo: Committed_AS:     7620 kB
/proc/meminfo: VmallocTotal: 34359738367 kB
/proc/meminfo: VmallocUsed:     15512 kB
/proc/meminfo: VmallocChunk: 34359722831 kB
/proc/meminfo: HugePages_Total:     0
/proc/meminfo: HugePages_Free:      0
/proc/meminfo: HugePages_Rsvd:      0
/proc/meminfo: HugePages_Surp:      0
/proc/meminfo: Hugepagesize:     2048 kB
/proc/bus/input/devices: I: Bus=0017 Vendor=0001 Product=0001 Version=0100
/proc/bus/input/devices: N: Name="Macintosh mouse button emulation"
/proc/bus/input/devices: P: Phys=
/proc/bus/input/devices: S: Sysfs=/class/input/input0
/proc/bus/input/devices: U: Uniq=
/proc/bus/input/devices: H: Handlers=mouse0
/proc/bus/input/devices: B: EV=7
/proc/bus/input/devices: B: KEY=70000 0 0 0 0
/proc/bus/input/devices: B: REL=3
/proc/bus/input/devices:
/proc/bus/input/devices: I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
/proc/bus/input/devices: N: Name="AT Translated Set 2 keyboard"
/proc/bus/input/devices: P: Phys=isa0060/serio0/input0
/proc/bus/input/devices: S: Sysfs=/class/input/input1
/proc/bus/input/devices: U: Uniq=
/proc/bus/input/devices: H: Handlers=kbd
/proc/bus/input/devices: B: EV=120013
/proc/bus/input/devices: B: KEY=402000000 3803078f800d001
feffffdfffefffff fffffffffffffffe
/proc/bus/input/devices: B: MSC=10
/proc/bus/input/devices: B: LED=7
/proc/bus/input/devices:


Kind regards,

- -Andreas.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpP7QMACgkQ5xn1PeU7yzu5TACfQjawbSlsTndkH5Gd0XZ6b62U
b7YAnA9RVr7ccKLnJgNPbOE52qMZdcdU
=Gjf3
-----END PGP SIGNATURE-----



Reply to: