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

Bug#712842: Install (LVM/encrypted PV) stuck at partitioning with daily testing netinst



Package: installation-reports

Boot method: USB stick
Image version: Daily testing amd64 netinst iso from:
http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/amd64/iso-cd/
Date: June 19th, 00:30 UCT

Machine: Samsung Series 9 - NP900X4C-A01US
Processor: Intel Core i5
Memory: 8G
Partitions: See below
Output of lspci -knn (or lspci -nn): See below

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

Initial boot:           [O]
Detect network card:    [O] (ignoring irrelevant issue w/ wifi FW)
Configure network:      [O]
Detect CD:              [O]
Load installer modules: [O]
Detect hard drives:     [O]
Partition hard drives:  [E]
Install base system:    [ ]
Clock/timezone setup:   [ ]
User/password setup:    [ ]
Install tasks:          [ ]
Install boot loader:    [ ]
Overall install:        [ ]

Comments/Problems:

Installation from latest Testing netinst ISO gets stuck at partitioning (won't
progress past partitioning step) when creating unencrypted boot partition
with filesystems and swap on LVM on encrypted PV.

The problem was recreated with images downloaded on June 16th (md5sum ...4205)
and June 18th (md5sum ...8b10).

A similar problem was seen by at least one other user:

http://forums.debian.net/viewtopic.php?f=17&t=104983&sid=f7d74eebcaa96705744b6f60318b88cb

Steps to recreate:

Select "Manual" partitioning method and set up initial partitions:

sda1 - 104.9M ntfs (existing Windows 7 installation)
sda2 -  39.9G ntfs (existing Windows 7 installation)
sda3 -   1.0G ext4 /boot (Bootable)
sda4 -  87.0G PV for encryption (Passphrase / Do not erase)

Successfully create encrypted volume 'sda4_crypt'.

Successfully create an LVM volume group 'linux' on PV 'sda4_crypt' with
three LVs.  Then successfully assign roles to those three LVs:

root - 30G - ext4 /     (mount options relatime)
home - 20G - ext4 /home (mount options relatime)
swap - 10G - swap

Select "Finish partitioning and write changes to disk", which leads to the
following warning dialog:

    If you continue, the changes listed below will be written to the disks.
    Otherwise, you will be able to make further changes manually.
    
    The partition tables of the following devices are changed:
       LVM VG linux, LV home
       LVM VG linux, LV root
       LVM VG linux, LV swap
    
    The following partitions are going to be formatted:
       LVM VG linux, LV home as ext4
       LVM VG linux, LV root as ext4
       LVM VG linux, LV swap as swap
    
    Write the changes to disks?

Select 'Yes'.  A "Partitions Formatting" progress bar appears for a moment,
then I'm thrown back into "Partition disks"

Select "Finish partitioning and write changes to disk" again, and this time
I get a modified version of the earlier dialog:

    If you continue, the changes listed below will be written to the disks.
    Otherwise, you will be able to make further changes manually.
    
    The partition tables of the following devices are changed:
       LVM VG linux, LV swap

    Write the changes to disks?

Select 'Yes', and I'm taken back to the "Partition disks" dialog with no
intervening steps.

>From this point any further attempts to "Finish partitioning and write..."
kick me immediately back into "Partition disks", as does any attempt to
back out of partitioning and skip to "Install the base system".

Diagnostic data collected after failure...

Partitions (fdisk -l; sdb is USB installation source):
------------------------------------------------------------------------------
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


WARNING: GPT (GUID Partition Table) detected on '/dev/sdb1'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/mapper/sda4_crypt doesn't contain a valid partition table
Disk /dev/mapper/linux-root doesn't contain a valid partition table
Disk /dev/mapper/linux-home doesn't contain a valid partition table
Disk /dev/mapper/linux-swap doesn't contain a valid partition table

Disk /dev/sda: 128.0 GB, 128035676160 bytes
255 heads, 63 sectors/track, 15566 cylinders, total 250069680 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa6521e50

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048      206847      102400    7  HPFS/NTFS/exFAT
/dev/sda2          206848    78125055    38959104    7  HPFS/NTFS/exFAT
/dev/sda3   *    78125056    80078847      976896   83  Linux
/dev/sda4        80078848   250068991    84995072   83  Linux

Disk /dev/sdb: 16.0 GB, 16008609792 bytes
255 heads, 63 sectors/track, 1946 cylinders, total 31266816 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x382fe1bb

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           0      446463      223232    0  Empty
/dev/sdb2           64992       65823         416   ef  EFI (FAT-12/16/32)

Disk /dev/sdb1: 228 MB, 228589568 bytes
255 heads, 63 sectors/track, 27 cylinders, total 446464 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x382fe1bb

     Device Boot      Start         End      Blocks   Id  System
/dev/sdb1p1   *           0      446463      223232    0  Empty
/dev/sdb1p2           64992       65823         416   ef  EFI (FAT-12/16/32)

Disk /dev/mapper/sda4_crypt: 87.0 GB, 87032856576 bytes
255 heads, 63 sectors/track, 10581 cylinders, total 169986048 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/linux-root: 30.0 GB, 29997662208 bytes
255 heads, 63 sectors/track, 3647 cylinders, total 58589184 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/linux-home: 20.0 GB, 19998441472 bytes
255 heads, 63 sectors/track, 2431 cylinders, total 39059456 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/linux-swap: 9999 MB, 9999220736 bytes
255 heads, 63 sectors/track, 1215 cylinders, total 19529728 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
------------------------------------------------------------------------------

Output of lspci -knn (or lspci -nn):
------------------------------------------------------------------------------
00:00.0 Host bridge [0600]: Intel Corporation 3rd Gen Core processor DRAM Controller [8086:0154] (rev 09)
	Subsystem: Samsung Electronics Co Ltd Device [144d:c0d3]
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
	Subsystem: Samsung Electronics Co Ltd Device [144d:c0d3]
00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 [8086:1e3a] (rev 04)
	Subsystem: Samsung Electronics Co Ltd Device [144d:c0d3]
00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
	Subsystem: Samsung Electronics Co Ltd Device [144d:c0d3]
00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 [8086:1e10] (rev c4)
	Kernel driver in use: pcieport
00:1c.3 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 [8086:1e16] (rev c4)
	Kernel driver in use: pcieport
00:1c.4 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 5 [8086:1e18] (rev c4)
	Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04)
	Subsystem: Samsung Electronics Co Ltd Device [144d:c0d3]
00:1f.0 ISA bridge [0601]: Intel Corporation HM75 Express Chipset LPC Controller [8086:1e5d] (rev 04)
	Subsystem: Samsung Electronics Co Ltd Device [144d:c0d3]
00:1f.2 SATA controller [0106]: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e03] (rev 04)
	Subsystem: Samsung Electronics Co Ltd Device [144d:c0d3]
	Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller [8086:1e22] (rev 04)
	Subsystem: Samsung Electronics Co Ltd Device [144d:c0d3]
01:00.0 Network controller [0280]: Intel Corporation Centrino Advanced-N 6235 [8086:088e] (rev 24)
	Subsystem: Intel Corporation Device [8086:4060]
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
	Subsystem: Samsung Electronics Co Ltd Device [144d:c0d3]
	Kernel driver in use: r8169
03:00.0 USB controller [0c03]: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller [1912:0015] (rev 02)
	Subsystem: Samsung Electronics Co Ltd Device [144d:c0cd]
	Kernel driver in use: xhci_hcd
------------------------------------------------------------------------------

tail -60 /var/log/partman (entire partman log available on request ~2M):
------------------------------------------------------------------------------
parted_server: command_partitions()
parted_server: Opening outfifo
parted_server: OUT: OK


parted_server: OUT: 1	0-87032856575	87032856576	primary	ext4	/dev/mapper/sda4_crypt	


parted_server: Partitions printed
parted_server: OUT: 


parted_server: Closing infifo and outfifo
/lib/partman/choose_partition/60partition_tree/choices: paragraph: 1	0-87032856575	87032856576	primary	ext4	/dev/mapper/sda4_crypt
parted_server: main_loop: iteration 1727
parted_server: Opening infifo
/lib/partman/choose_partition/60partition_tree/choices: IN: PARTITIONS =dev=sda
parted_server: Read command: PARTITIONS
parted_server: command_partitions()
parted_server: Opening outfifo
parted_server: OUT: OK


parted_server: OUT: 1	1048576-105906175	104857600	primary	ntfs	/dev/sda1	


parted_server: OUT: 2	105906176-40000028671	39894122496	primary	ntfs	/dev/sda2	


parted_server: OUT: 3	40000028672-41000370175	1000341504	primary	ext4	/dev/sda3	


parted_server: OUT: 4	41000370176-128035323903	87034953728	primary	unknown	/dev/sda4	


parted_server: Partitions printed
parted_server: OUT: 


parted_server: Closing infifo and outfifo
/lib/partman/choose_partition/60partition_tree/choices: paragraph: 1	1048576-105906175	104857600	primary	ntfs	/dev/sda1
/lib/partman/choose_partition/60partition_tree/choices: paragraph: 2	105906176-40000028671	39894122496	primary	ntfs	/dev/sda2
/lib/partman/choose_partition/60partition_tree/choices: paragraph: 3	40000028672-41000370175	1000341504	primary	ext4	/dev/sda3
/lib/partman/choose_partition/60partition_tree/choices: paragraph: 4	41000370176-128035323903	87034953728	primary	unknown	/dev/sda4
parted_server: main_loop: iteration 1728
parted_server: Opening infifo
/lib/partman/choose_partition/60partition_tree/choices: IN: PARTITIONS =dev=sdb
parted_server: Read command: PARTITIONS
parted_server: command_partitions()
parted_server: Opening outfifo
parted_server: OUT: OK


parted_server: No partitions
parted_server: OUT: 


parted_server: Closing infifo and outfifo
parted_server: main_loop: iteration 1729
parted_server: Opening infifo
------------------------------------------------------------------------------


tail -40 /var/log/syslog (full syslog available on request):
------------------------------------------------------------------------------
Jun 20 00:29:05 anna[7871]: DEBUG: resolver (cdebconf-udeb): package doesn't exist (ignored)
Jun 20 00:29:05 anna[7871]: DEBUG: retrieving cdebconf-newt-entropy 0.26
Jun 20 00:29:06 anna-install: Installing partman-crypto-dm
Jun 20 00:29:06 anna[7920]: DEBUG: resolver (cdebconf-udeb): package doesn't exist (ignored)
Jun 20 00:29:06 anna[7920]: DEBUG: resolver (di-utils): package doesn't exist (ignored)
Jun 20 00:29:06 anna[7920]: DEBUG: resolver (kernel-image-3.9-1-amd64-di): package doesn't exist (ignored)
Jun 20 00:29:06 anna[7920]: DEBUG: resolver (core-modules-3.9-1-amd64-di): package doesn't exist (ignored)
Jun 20 00:29:06 anna[7920]: DEBUG: resolver (fat-modules): package doesn't exist (ignored)
Jun 20 00:29:06 anna[7920]: DEBUG: resolver (libdebian-installer4-udeb): package doesn't exist (ignored)
Jun 20 00:29:06 anna[7920]: DEBUG: resolver (archdetect): package doesn't exist (ignored)
Jun 20 00:29:06 anna[7920]: DEBUG: resolver (hw-detect): package doesn't exist (ignored)
Jun 20 00:29:06 anna[7920]: DEBUG: retrieving cryptsetup-udeb 2:1.4.3-4
Jun 20 00:29:06 anna[7920]: DEBUG: retrieving libcryptsetup4-udeb 2:1.4.3-4
Jun 20 00:29:06 anna[7920]: DEBUG: retrieving libgcrypt11-udeb 1.5.2-2
Jun 20 00:29:06 anna[7920]: DEBUG: retrieving libgpg-error0-udeb 1.10-3.1
Jun 20 00:29:06 anna[7920]: DEBUG: retrieving crypto-dm-modules-3.9-1-amd64-di 3.9.6-1
Jun 20 00:29:06 anna[7920]: DEBUG: retrieving dmsetup-udeb 2:1.02.77-3
Jun 20 00:29:06 anna[7920]: DEBUG: retrieving partman-crypto-dm 59
Jun 20 00:29:06 anna[7920]: DEBUG: retrieving libpopt0-udeb 1.16-7
Jun 20 00:32:03 partman-crypto: kernel entropy_avail: 134 bits
Jun 20 00:32:38 kernel: [  465.926872] bio: create slab <bio-1> at 1
Jun 20 00:32:40 kernel: [  467.924605] bio: create slab <bio-1> at 1
Jun 20 00:32:40 kernel: [  468.104881] bio: create slab <bio-1> at 1
Jun 20 00:32:59 partman: mke2fs 1.42.5 (29-Jul-2012)
Jun 20 00:33:13 partman-lvm:   Physical volume "/dev/mapper/sda4_crypt" successfully created
Jun 20 00:33:13 partman-lvm:   Volume group "linux" successfully created
Jun 20 00:34:06 partman-lvm:   Logical volume "root" created
Jun 20 00:34:21 partman-lvm:   Logical volume "home" created
Jun 20 00:34:34 partman-lvm:   Logical volume "swap" created
Jun 20 00:38:48 kernel: [  836.146158] Adding 9764860k swap on /dev/mapper/linux-swap.  Priority:-1 extents:1 across:9764860k SS
Jun 20 00:38:48 partman: mke2fs 1.42.5 (29-Jul-2012)
Jun 20 00:38:50 partman: mke2fs 1.42.5 (29-Jul-2012)
Jun 20 00:38:51 kernel: [  838.982168] EXT4-fs (dm-1): mounted filesystem with ordered data mode. Opts: errors=remount-ro
Jun 20 00:38:51 kernel: [  838.993251] EXT4-fs (dm-2): mounted filesystem with ordered data mode. Opts: (null)
Jun 20 00:38:52 apt-install: Queueing package e2fsprogs for later installation
Jun 20 00:38:52 apt-install: Queueing package cryptsetup for later installation
Jun 20 00:41:53 kernel: [ 1021.333891] Adding 9764860k swap on /dev/mapper/linux-swap.  Priority:-1 extents:1 across:9764860k SS
Jun 20 00:41:54 kernel: [ 1021.702728] EXT4-fs (dm-1): mounted filesystem with ordered data mode. Opts: errors=remount-ro
Jun 20 00:41:54 kernel: [ 1021.713812] EXT4-fs (dm-2): mounted filesystem with ordered data mode. Opts: (null)
Jun 20 00:43:42 init: starting pid 316, tty '/dev/tty2': '-/bin/sh'
------------------------------------------------------------------------------

Reply to: