Bug#597621: installation-reports: installer failed to mount when two or more encrypted partitions were set up
Package: installation-reports
Boot method: CD
Image version:
http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/amd64/iso-cd/debian-testing-amd64-netinst.iso
Date: Installation done on 19-Sep-2010 (ISO image from this date)
Machine: Custom built computer (M/B ECS A890GXM-AU v1.0)
Processor: AMD Phenom II X6 1090T
Memory: 8GB (4x2GB) DDR3 1333MHZ OCZ Gold
Partitions:
# fdisk -l /dev/sdb
Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00089278
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 49 390144 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sdb2 49 1994 15625216 82 Linux swap / Solaris
/dev/sdb3 1994 64242 499999744 83 Linux
/dev/sdb4 64242 182402 949122048 83 Linux
# fdisk -l /dev/sda
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c21bf
Device Boot Start End Blocks Id System
/dev/sda1 1 32 247808 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 32 1977 15625216 82 Linux swap / Solaris
/dev/sda3 1977 243202 1937639512 83 Linux
# df -Tl
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/sdb3 ext4 492153872 19767808 462386072 5% /
tmpfs tmpfs 3840176 0 3840176 0% /lib/init/rw
udev tmpfs 3801224 280 3800944 1% /dev
tmpfs tmpfs 3840176 2932 3837244 1% /dev/shm
/dev/sdb1 ext4 377831 40351 325776 12% /boot
/dev/mapper/sdb4_crypt
ext4 934227060 28707236 905519824 4% /home
/dev/mapper/sda3_crypt
ext4 1907175504 1123091716 784083788 59% /mnt
Output of lspci -knn (or lspci -nn):
00:00.0 Host bridge [0600]: Advanced Micro Devices [AMD] RS780 Host Bridge
Alternate [1022:9601]
Subsystem: Elitegroup Computer Systems Device [1019:2257]
00:01.0 PCI bridge [0604]: Elitegroup Computer Systems Device [1019:9602]
00:11.0 SATA controller [0106]: ATI Technologies Inc SB700/SB800 SATA
Controller [AHCI mode] [1002:4391] (rev 40)
Subsystem: Elitegroup Computer Systems Device [1019:4391]
Kernel driver in use: ahci
00:12.0 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI0
Controller [1002:4397]
Subsystem: Elitegroup Computer Systems Device [1019:2257]
Kernel driver in use: ohci_hcd
00:12.2 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB EHCI
Controller [1002:4396]
Subsystem: Elitegroup Computer Systems Device [1019:2257]
Kernel driver in use: ehci_hcd
00:13.0 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI0
Controller [1002:4397]
Subsystem: Elitegroup Computer Systems Device [1019:2257]
Kernel driver in use: ohci_hcd
00:13.2 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB EHCI
Controller [1002:4396]
Subsystem: Elitegroup Computer Systems Device [1019:2257]
Kernel driver in use: ehci_hcd
00:14.0 SMBus [0c05]: ATI Technologies Inc SBx00 SMBus Controller [1002:4385]
(rev 41)
Subsystem: Elitegroup Computer Systems Device [1019:2257]
Kernel driver in use: piix4_smbus
00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA)
[1002:4383] (rev 40)
Subsystem: Elitegroup Computer Systems Device [1019:2257]
Kernel driver in use: HDA Intel
00:14.3 ISA bridge [0601]: ATI Technologies Inc SB700/SB800 LPC host
controller [1002:439d] (rev 40)
Subsystem: Elitegroup Computer Systems Device [1019:2257]
00:14.4 PCI bridge [0604]: ATI Technologies Inc SBx00 PCI to PCI Bridge
[1002:4384] (rev 40)
00:14.5 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI2
Controller [1002:4399]
Subsystem: Elitegroup Computer Systems Device [1019:2257]
Kernel driver in use: ohci_hcd
00:15.0 PCI bridge [0604]: ATI Technologies Inc Device [1002:43a0]
Kernel driver in use: pcieport
00:15.1 PCI bridge [0604]: ATI Technologies Inc Device [1002:43a1]
Kernel driver in use: pcieport
00:16.0 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI0
Controller [1002:4397]
Subsystem: Elitegroup Computer Systems Device [1019:2257]
Kernel driver in use: ohci_hcd
00:16.2 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB EHCI
Controller [1002:4396]
Subsystem: Elitegroup Computer Systems Device [1019:2257]
Kernel driver in use: ehci_hcd
00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor
HyperTransport Configuration [1022:1200]
00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor
Address Map [1022:1201]
00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor
DRAM Controller [1022:1202]
00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor
Miscellaneous Control [1022:1203]
Kernel driver in use: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor
Link Control [1022:1204]
01:05.0 VGA compatible controller [0300]: ATI Technologies Inc RS880 [Radeon
HD 4290] [1002:9714]
Subsystem: Elitegroup Computer Systems Device [1019:2257]
Kernel driver in use: radeon
02:05.0 Multimedia controller [0480]: Philips Semiconductors
SAA7131/SAA7133/SAA7135 Video Broadcast Decoder [1131:7133] (rev 10)
Subsystem: Pinnacle Systems Inc. PCTV Stereo [11bd:002b]
Kernel driver in use: saa7134
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 03)
Subsystem: Elitegroup Computer Systems Device [1019:8d48]
Kernel driver in use: r8169
04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 03)
Subsystem: Elitegroup Computer Systems Device [1019:8d48]
Kernel driver in use: r8169
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: [E]
Install base system: [O]
Clock/timezone setup: [O]
User/password setup: [O]
Install tasks: [O]
Install boot loader: [O]
Overall install: [O]
Comments/Problems:
I did the installation in "expert mode". Unfortunately I had two problems
concerning the setup of LUKS encrypted partitions and filesystems. The first
and critical one was that the installer couldn't setup more than one encrypted
partition. Whenever I tried to specify two or more encrypted partitions the
installer failed after formatting them, during the mounting phase. It seemed
that the installer arbitrarily corrupted the filesystems right after
creating/formatting them. I was trying to create four encrypted partitions:
/dev/sdb4 (ext4) as /home (see disks layout above), /dev/sdb2 as swap,
/dev/sda3 (ext4) as /mnt and /dev/sda2 as second swap. Unfortunately I had to
create only one (sdb4) and to leave the remaining three to be done after the
system installation.
The second problem was that at times the filesystem's type and its settings
were not remembered, so I was forced to setup and re-setup the filesystem for
some partitions.
Suggestion:
I would like to suggest that in "expert mode" the user should be able to
choose to continue the installation process even if a previous phase has
failed. When I experienced the major issue reported above, I was able to
switch to a terminal and create/format/mount the encrypted partitions
manually. But unfortunately the installation process didn't let me continue to
the next stage because the previous stage had failed.
--
Douglas A. Augusto
Reply to: