Bug#901851: Dell LATITUDE E7250 unattended network install failure
Package: installation-reports
Boot method: network
Image version: http://ftp.nl.debian.org/debian/dists/stretch/main/installer-amd64/current/images/netboot/netboot.tar.gz ( Installer build: 20170615+deb9u3 )
Date: Tue Jun 19 12:05:57 CEST 2018
Machine: Dell LATITUDE E7250
Processor: Intel Core i7-5600U
Memory: 16GB
Partitions: none
Output of lspci -knn (or lspci -nn):
00:00.0 Host bridge [0600]: Intel Corporation Broadwell-U Host Bridge -OPI [8086:1604] (rev 09)
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 5500 [8086:1616] (rev 09)
00:03.0 Audio device [0403]: Intel Corporation Broadwell-U Audio Controller [8086:160c] (rev 09)
00:04.0 Signal processing controller [1180]: Intel Corporation Broadwell-U Processor Thermal Subsystem [8086:1603] (rev 09)
00:14.0 USB controller [0c03]: Intel Corporation Wildcat Point-LP USB xHCI Controller [8086:9cb1] (rev 03)
00:16.0 Communication controller [0780]: Intel Corporation Wildcat Point-LP MEI Controller #1 [8086:9cba] (rev 03)
00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection (3) I218-LM [8086:15a2] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation Wildcat Point-LP High Definition Audio Controller [8086:9ca0] (rev 03)
00:1c.0 PCI bridge [0604]: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 [8086:9c90] (rev e3)
00:1c.3 PCI bridge [0604]: Intel Corporation Wildcat Point-LP PCI Express Root Port #4 [8086:9c96] (rev e3)
00:1d.0 USB controller [0c03]: Intel Corporation Wildcat Point-LP USB EHCI Controller [8086:9ca6] (rev 03)
00:1f.0 ISA bridge [0601]: Intel Corporation Wildcat Point-LP LPC Controller [8086:9cc3] (rev 03)
00:1f.2 RAID bus controller [0104]: Intel Corporation 82801 Mobile SATA Controller [RAID mode] [8086:282a] (rev 03)
00:1f.3 SMBus [0c05]: Intel Corporation Wildcat Point-LP SMBus Controller [8086:9ca2] (rev 03)
01:00.0 SD Host controller [0805]: O2 Micro, Inc. SD/MMC Card Reader Controller [1217:8520] (rev 01)
02:00.0 Network controller [0280]: Intel Corporation Wireless 7265 [8086:095a] (rev 59)
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: [ ]
Load installer modules: [O]
Detect hard drives: [E]
Partition hard drives: [ ]
Install base system: [ ]
Clock/timezone setup: [ ]
User/password setup: [ ]
Install tasks: [ ]
Install boot loader: [ ]
Overall install: [ ]
Comments/Problems:
Interactive install works, unattended install stops, because it can't find the system disk on first attempt.
pxeboot commands used for unattended install:
kernel debian-installer/amd64/linux
append DEBCONF_DEBUG=5 auto=true netcfg/choose_interface=auto netcfg/get_hostname=debianXX netcfg/get_domain=molgen.mpg.de hw-detect/load_firmware=false url=tftp://wtf.molgen.mpg.de/tftpboot/preseed/debbix vga=788 initrd=debian-installer/amd64/initrd.gz
preseed file ( preseed/debbix ):
d-i debian-installer/language string en
d-i debian-installer/country string DE
d-i debian-installer/locale string en_US.UTF-8
d-i keyboard-configuration/xkb-keymap select us
d-i passwd/root-password password CENSORED
d-i passwd/root-password-again password CENSORED
d-i passwd/user-fullname string CENSORED
d-i passwd/username string CENSORED
d-i passwd/user-password password CENSORED
d-i passwd/user-password-again password CENSORED
d-i partman-auto/init_automatically_partition select biggest_free
d-i partman-auto/method string regular
d-i partman-auto/choose_recipe select atomic
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i mirror/country string manual
d-i mirror/http/hostname string ftp.gwdg.de
d-i mirror/http/directory string /debian/
d-i mirror/http/proxy string
d-i apt-setup/cdrom/set-first boolean false
d_i popularity-contest/participate boolean false
d_i tasksel/first multiselect standard, desktop, xfce-desktop
d-i grub-installer/only_debian boolean true
d-i grub-installer/bootdev string default
d-i finish-install/reboot_in_progress note
d-i preseed/late_command string in-target wget -O /tmp/debbix.sh https://CENSORED && in-target chmod +x /tmp/debbix.sh && in-target /tmp/debbix.sh && in-target rm /tmp/debbix.sh
Installer error:
[!] Detect disks
No disk drive was detected, If you know the name of the driver needed by your disk drive,
you can select it from the list.
[...]
If disk detection is repeated, by pressing <ESC> at this point and selecting "Detect disks" from the Debian installer main menu, the installation completes.
If, instead, I switch to a virtual console (Alt-F2) at this point, I can see the following:
~ # list-devices disk
~ # udevadm trigger
~ # list-devices disk
/dev/sda
~ #
So `udevadm trigger` fixed it. Now going back to the installer menu (Alt-F1) I can select "Continue with no disk drive" and the installation will also complete.
If, instead, /bin/disk-detect is called from the console, the disk wills spring into existence, too.
Here is the relevant portion from /var/log/installer/syslog. The "init: starting pid 186, tty '/dev/tty2" is my intervention typing `udevadm settle`.
Jun 19 10:38:20 net/hw-detect.hotplug: Detected hotpluggable network interface eno1
Jun 19 10:38:20 net/hw-detect.hotplug: Detected hotpluggable network interface lo
Jun 19 10:38:20 debconf: --> PROGRESS STEP 25
Jun 19 10:38:20 debconf: <-- 0 OK
Jun 19 10:38:20 debconf: --> PROGRESS STEP 25
Jun 19 10:38:20 debconf: <-- 0 OK
Jun 19 10:38:20 debconf: --> PROGRESS STEP 900
Jun 19 10:38:20 debconf: <-- 0 OK
Jun 19 10:38:20 debconf: --> PROGRESS SET 1000
Jun 19 10:38:20 debconf: <-- 0 OK
Jun 19 10:38:20 debconf: --> PROGRESS STOP
Jun 19 10:38:20 debconf: <-- 0 OK
Jun 19 10:38:21 check-missing-firmware: looking at dmesg again, restarting from \[ 15.600410\]
Jun 19 10:38:21 check-missing-firmware: timestamp found, truncating dmesg accordingly
Jun 19 10:38:21 check-missing-firmware: saving timestamp for a later use: [ 39.848544]
Jun 19 10:38:21 check-missing-firmware: /dev/.udev/firmware-missing does not exist, skipping
Jun 19 10:38:21 check-missing-firmware: /run/udev/firmware-missing does not exist, skipping
Jun 19 10:38:21 check-missing-firmware: no missing firmware in loaded kernel modules
Jun 19 10:38:49 debconf: --> CAPB backup
Jun 19 10:38:49 debconf: <-- 0 multiselect backup progresscancel align escape plugin-terminal
Jun 19 10:38:49 debconf: --> SUBST disk-detect/module_select CHOICES 3w-9xxx, 3w-sas, 3w-xxxx, BusLogic, DAC960, a100u2w, aacraid, advansys, aic79xx, aic7xxx, aic94xx, am53c974, arcmsr, atp870u, be2iscsi, bfa, bnx2fc, bnx2i, cciss, ch, csiostor, dc395x, dmx3191d, dpt_i2o, eata, esas2r, esp_scsi, fdomain, fnic, gdth, hpsa, hptiop, hv_storvsc, initio, ipr, ips, isci, iscsi_boot_sysfs, iscsi_tcp, libfc, libfcoe, libiscsi, libiscsi_tcp, libsas, loop, lpfc, megaraid, megaraid_mbox, megaraid_mm, megaraid_sas, mpt3sas, mptbase, mptfc, mptsas, mptscsih, mptspi, mtip32xx, mvsas, mvumi, osst, pm80xx, pmcraid, qla1280, qla2xxx, qla4xxx, qlogicfas408, raid_class, scsi_mod, scsi_transport_fc, scsi_transport_iscsi, scsi_transport_sas, scsi_transport_spi, sd_mod, sg, smartpqi, snic, sr_mod, st, stex, sx8, sym53c8xx, ufshcd, ufshcd-pci, virtio_blk, virtio_scsi, vmw_pvscsi, wd719x, xen-blkfront, xen-scsifront
Jun 19 10:38:49 debconf: Adding [CHOICES] -> [3w-9xxx, 3w-sas, 3w-xxxx, BusLogic, DAC960, a100u2w, aacraid, advansys, aic79xx, aic7xxx, aic94xx, am53c974, arcmsr, atp870u, be2iscsi, bfa, bnx2fc, bnx2i, cciss, ch, csiostor, dc395x, dmx3191d, dpt_i2o, eata, esas2r, esp_scsi, fdomain, fnic, gdth, hpsa, hptiop, hv_storvsc, initio, ipr, ips, isci, iscsi_boot_sysfs, iscsi_tcp, libfc, libfcoe, libiscsi, libiscsi_tcp, libsas, loop, lpfc, megaraid, megaraid_mbox, megaraid_mm, megaraid_sas, mpt3sas, mptbase, mptfc, mptsas, mptscsih, mptspi, mtip32xx, mvsas, mvumi, osst, pm80xx, pmcraid, qla1280, qla2xxx, qla4xxx, qlogicfas408, raid_class, scsi_mod, scsi_transport_fc, scsi_transport_iscsi, scsi_transport_sas, scsi_transport_spi, sd_mod, sg, smartpqi, snic, sr_mod, st, stex, sx8, sym53c8xx, ufshcd, ufshcd-pci, virtio_blk, virtio_scsi, vmw_pvscsi, wd719x, xen-blkfront, xen-scsifront]
Jun 19 10:38:49 debconf: <-- 0
Jun 19 10:38:49 debconf: --> INPUT high disk-detect/module_select
Jun 19 10:38:49 debconf: <-- 0 question will be asked
Jun 19 10:38:49 debconf: --> GO
Jun 19 10:39:00 init: starting pid 186, tty '/dev/tty2': '-/bin/sh'
Jun 19 10:39:26 kernel: [ 110.252732] libata version 3.00 loaded.
Jun 19 10:39:26 kernel: [ 110.253536] ahci 0000:00:1f.2: version 3.0
Jun 19 10:39:26 kernel: [ 110.253725] ahci 0000:00:1f.2: SSS flag set, parallel bus scan disabled
Jun 19 10:39:26 kernel: [ 110.263818] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 2 ports 6 Gbps 0x3 impl RAID mode
Jun 19 10:39:26 kernel: [ 110.263821] ahci 0000:00:1f.2: flags: 64bit ncq stag pm led clo only pio slum part sxs deso sadm sds apst
Jun 19 10:39:26 kernel: [ 110.264067] scsi host0: ahci
Jun 19 10:39:26 kernel: [ 110.264173] scsi host1: ahci
Jun 19 10:39:26 kernel: [ 110.264234] ata1: SATA max UDMA/133 abar m2048@0xf7241000 port 0xf7241100 irq 46
Jun 19 10:39:26 kernel: [ 110.264236] ata2: SATA max UDMA/133 abar m2048@0xf7241000 port 0xf7241180 irq 46
Jun 19 10:39:26 kernel: [ 110.578069] ata1: SATA link down (SStatus 0 SControl 300)
Jun 19 10:39:26 kernel: [ 110.894367] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Jun 19 10:39:26 kernel: [ 110.896748] ata2.00: NCQ Send/Recv Log not supported
Jun 19 10:39:26 kernel: [ 110.896754] ata2.00: ATA-9: SAMSUNG SSD PM851 mSATA 256GB, EXT4AD0Q, max UDMA/133
Jun 19 10:39:26 kernel: [ 110.896759] ata2.00: 500118192 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
Jun 19 10:39:26 kernel: [ 110.897576] ata2.00: NCQ Send/Recv Log not supported
Jun 19 10:39:26 kernel: [ 110.897669] ata2.00: configured for UDMA/133
Jun 19 10:39:26 kernel: [ 110.898182] scsi 1:0:0:0: Direct-Access ATA SAMSUNG SSD PM85 AD0Q PQ: 0 ANSI: 5
Jun 19 10:39:26 kernel: [ 110.928349] sd 1:0:0:0: [sda] 500118192 512-byte logical blocks: (256 GB/238 GiB)
Jun 19 10:39:26 kernel: [ 110.928427] sd 1:0:0:0: [sda] Write Protect is off
Jun 19 10:39:26 kernel: [ 110.928429] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
Jun 19 10:39:26 kernel: [ 110.928444] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jun 19 10:39:26 kernel: [ 110.928851] sda: sda1 sda2 < sda5 >
Jun 19 10:39:26 kernel: [ 110.929086] sd 1:0:0:0: [sda] Attached SCSI disk
Jun 19 10:40:57 debconf: <-- 0 ok
Jun 19 10:40:57 debconf: --> CAPB
Jun 19 10:40:57 debconf: <-- 0 multiselect backup progresscancel align escape plugin-terminal
Jun 19 10:40:57 debconf: --> GET disk-detect/module_select
Jun 19 10:40:57 debconf: <-- 0 continue with no disk drive
Jun 19 10:40:57 debconf: --> GET debconf/priority
Jun 19 10:40:57 debconf: <-- 0 high
Jun 19 10:40:57 debconf: --> X_SAVE
Jun 19 10:40:57 debconf: <-- 0 OK
Jun 19 10:40:57 debconf: --> METAGET debian-installer/localechooser/title Description
Jun 19 10:40:57 debconf: <-- 0 Choose language
Jun 19 10:40:57 debconf: --> METAGET debian-installer/brltty-udeb/title Description
Jun 19 10:40:57 debconf: <-- 10 debian-installer/brltty-udeb/title doesn't exist
Take note of `hw-detect/load_firmware=false` (from the kernel command line) which might play a role here. Without it, the installer would prompt for firmware because of the wifi interface, which we don't use for the network install.
`/bin/disk-detect` calls `update-dev` ( which does a `udevadm trigger` ) after the module select question, which might explain, why everything works when it is called a second time.
Thanks
Donald
--
Donald Buczek
buczek@molgen.mpg.de
Tel: +49 30 8413 1433
Reply to: