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

Bug#778773: Jessie RC1 Installer parted server segfault



Package: installation-reports
Followup-For: Bug #778773


Boot method: USB Flash
Image version: debian-jessie-DI-rc1-amd64-netinst.iso
Date: 3/1/2015

Architecture: amd64
Processor: Pentium 4
Memory: 2GB

Hi,

Same problem here. Details about reproducing segfault further down.


Install

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:    [ ]
Clock/timezone setup:   [ ]
User/password setup:    [ ]
Install tasks:          [ ]
Install boot loader:    [ ]
Overall install:        [ ]


Output of lspci -knn:

00:00.0 Host bridge [0600]: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub [8086:2770] (rev 02)
        Subsystem: Intel Corporation Device [8086:544e]
        Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller [0300]: Intel Corporation 82945G/GZ Integrated Graphics Controller [8086:2772] (rev 02)
        Subsystem: Intel Corporation Device [8086:544e]
00:1b.0 Audio device [0403]: Intel Corporation NM10/ICH7 Family High Definition Audio Controller [8086:27d8] (rev 01)
        Subsystem: Intel Corporation Device [8086:0606]
00:1c.0 PCI bridge [0604]: Intel Corporation NM10/ICH7 Family PCI Express Port 1 [8086:27d0] (rev 01)
        Kernel driver in use: pcieport
00:1c.2 PCI bridge [0604]: Intel Corporation NM10/ICH7 Family PCI Express Port 3 [8086:27d4] (rev 01)
        Kernel driver in use: pcieport
00:1c.3 PCI bridge [0604]: Intel Corporation NM10/ICH7 Family PCI Express Port 4 [8086:27d6] (rev 01)
        Kernel driver in use: pcieport
00:1c.4 PCI bridge [0604]: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 5 [8086:27e0] (rev 01)
        Kernel driver in use: pcieport
00:1c.5 PCI bridge [0604]: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 6 [8086:27e2] (rev 01)
        Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 [8086:27c8] (rev 01)
        Subsystem: Intel Corporation Device [8086:544e]
        Kernel driver in use: uhci_hcd
00:1d.1 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 [8086:27c9] (rev 01)
        Subsystem: Intel Corporation Device [8086:544e]
        Kernel driver in use: uhci_hcd
00:1d.2 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 [8086:27ca] (rev 01)
        Subsystem: Intel Corporation Device [8086:544e]
        Kernel driver in use: uhci_hcd
00:1d.3 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 [8086:27cb] (rev 01)
        Subsystem: Intel Corporation Device [8086:544e]
        Kernel driver in use: uhci_hcd
00:1d.7 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller [8086:27cc] (rev 01)
        Subsystem: Intel Corporation Device [8086:544e]
        Kernel driver in use: ehci-pci
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev e1)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge [8086:27b8] (rev 01)
        Subsystem: Intel Corporation Device [8086:544e]
00:1f.1 IDE interface [0101]: Intel Corporation 82801G (ICH7 Family) IDE Controller [8086:27df] (rev 01)
        Subsystem: Intel Corporation Device [8086:544e]
        Kernel driver in use: ata_piix
00:1f.2 SATA controller [0106]: Intel Corporation NM10/ICH7 Family SATA Controller [AHCI mode] [8086:27c1] (rev 01)
        Subsystem: Intel Corporation Device [8086:544e]
        Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation NM10/ICH7 Family SMBus Controller [8086:27da] (rev 01)
        Subsystem: Intel Corporation Device [8086:544e]
01:00.0 Ethernet controller [0200]: Intel Corporation 82573E Gigabit Ethernet Controller (Copper) [8086:108c] (rev 03)
        Subsystem: Intel Corporation Device [8086:3099]
        Kernel driver in use: e1000e
01:00.3 Serial controller [0700]: Intel Corporation Active Management Technology - SOL [8086:108f] (rev 03)
        Subsystem: Intel Corporation Device [8086:0000]
        Kernel driver in use: serial
01:00.4 IPMI SMIC interface [0c07]: Intel Corporation 82573E KCS (Active Management) [8086:108e] (rev 03)
        Subsystem: Intel Corporation Device [8086:0000]
06:00.0 Mass storage controller [0180]: Promise Technology, Inc. 20269 [105a:4d69] (rev 02)
        Subsystem: Promise Technology, Inc. Device [105a:4d68]
        Kernel driver in use: pata_pdc2027x
06:01.0 SCSI storage controller [0100]: Artop Electronic Corp ATP865 [1191:0009] (rev 07)
        Subsystem: Artop Electronic Corp ATP865 [1191:0009]
        Kernel driver in use: pata_artop


Partitions:

Disk 1

/dev/sdc1  *       2048   2099199   2097152    1G fd Linux raid autodetect
/dev/sdc2       2099200 232785919 230686720  110G fd Linux raid autodetect

Disk 2

/dev/sde1  *         2048   2099199   2097152    1G fd Linux raid autodetect
/dev/sde2         2099200 232785919 230686720  110G fd Linux raid autodetect
/dev/sde3       232785920 547358719 314572800  150G fd Linux raid autodetect
/dev/sde4       547360766 562982911  15622146  7.5G  5 Extended
/dev/sde5       547360768 562982911  15622144  7.5G 83 Linux


RAID Setup:

Personalities : [raid1] 
md2 : active raid1 sde3[0]
      157155328 blocks super 1.2 [2/1] [U_]
      bitmap: 2/2 pages [8KB], 65536KB chunk

md11 : active raid1 sde2[0]
      115277824 blocks super 1.2 [2/1] [U_]
      bitmap: 1/1 pages [4KB], 65536KB chunk

md10 : active raid1 sde1[0]
      1047552 blocks super 1.2 [2/1] [U_]
      
md1 : active raid1 md11[1](W) sdc2[0]
      115212288 blocks super 1.2 [2/2] [UU]
      bitmap: 0/1 pages [0KB], 65536KB chunk

md0 : active raid1 md10[1](W) sdc1[0]
      1046528 blocks super 1.2 [2/2] [UU]
      bitmap: 0/1 pages [0KB], 65536KB chunk

unused devices: <none>


Comments/Problems:

Trying to install Debian Jessie using RC1 installer, using md RAID1 +
LUKS + LVM. Swap partition on a non-RAID encrypted partition.

RAID1 devices created and tested using both the installer busybox
shell and a separate rescue environment. They are always verified in
an installer busybox shell before starting partman ("Partition
disks").


Starting point before starting partman:

/dev/md0         1G  <- meant for /boot
/dev/md1       110G  <- crypt + lvm for /root, /usr, /usr/local, /opt
/dev/md2       150G  <- crypt + lvm for /home, /var, /tmp
/dev/sdc5        8G  <- crypt for swap


But when applying the LVM layout the installer stops at 81% of "Detecting
file systems...", and dmesg show partman has segfaulted:

[ 1058.507210] Adding 7811068k swap on /dev/mapper/sde5_crypt. Priority:-1 extents:1 across:7811068k FS 
[ 1383.769684] parted_server[7322]: segfault at 8 ip 000000000040b4b1 sp 00007fffff6d9e40 error 4 in parted_server[400000+12000]


Here's the steps to trigger partman segfault:

1.  Create ext2 partition on /dev/md0, set mountpoint /boot
2.  Create crypt partitions on /dev/md1, /dev/md2, /dev/sdc5
3.  Configure crypt partitions
    - Using passphrase on /dev/md1 and /dev/md2
    - Using random key on /dev/sdc5
4.  Configure swap space on cryptdisk for /dev/sdc5
5.  Create LVM space on cryptdisks for /dev/md1 and /dev/md2
6.  Configure LVM, create two separate VGs (one on each cryptdisk)
7.  Configure LVM, create LVs for each VG
8.  Finish LVM
9.  Disk detection triggered, stuck at 81% and segfault


Been trying for about ten times now and always get the above result.

Should i send dmesg, syslog and partman log as attachment or inline?


-- kchr


Reply to: