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

[Wg-test-framework] debian-installer failure with arm64 (was RE: laxton (softiron) boot failure with Debian linux-image-4.7.0-0.bpo.1-arm64)



(CCing debian-arm, because I think this is now something related to d-i
on ARML.)

Hi.  I'm writing with my Xen Project hat on.  We have two Softiron
ARM64 servers which I am trying to get up and running in our CI
system.

Right now, I can't get d-i to install on them.  I have tried jessie
with a backports kernel, and stretch.

With stretch, d-i bombs out here:

  Jan  3 18:00:44.412384 Download installer components
  Jan  3 18:00:45.044389 -----------------------------
  Jan  3 18:00:45.052432 Jan  3 18:00:45.052445 No kernel modules were found. 
This probably is due to a mismatch between the 
  Jan  3 18:00:45.060411 kernel used by this version of the installer and the 
kernel version available 
  Jan  3 18:00:45.060450 in the archive.
  Jan  3 18:00:45.068415 Jan  3 18:00:45.068427 If you're installing from a 
mirror, you can work around this problem by 
  Jan  3 18:00:45.068458 choosing to install a different version of Debian. The 
install will probably 
  Jan  3 18:00:45.076422 fail to work if you continue without kernel modules.
  Jan  3 18:00:45.084417 Continue the install without loading kernel modules?
  Jan  3 18:00:45.084448   1: Yes      2: No [*]

If I select `1', it then continues without detecting any hard disks
(`No disk drive was detected').


My kernel image and initrd are:

 
http://ftp.debian.org/debian//dists/stretch/main/installer-arm64/current/images/netboot//debian-installer/arm64/linux
 76ec5622593eeebb7203748530e6b28adedba63a1c23f4e23d086372538fa006  linux

 
http://ftp.debian.org/debian//dists/stretch/main/installer-arm64/current/images/netboot//debian-installer/arm64/initrd.gz
 862e74a54665b1198ee697d8414e19da3ed9b05613cded73db764ea8920aeee5  initrd.gz


My grub.cfg, which I am using to netboot the image, and my preseed
file, are below.


If I boot with `auto' removed from my command line I can quit into a
shell after "No kernel modules were found" and then I see this:

~ # uname -av
Linux laxton0 4.7.0-1-arm64 #1 SMP Debian 4.7.8-1 (2016-10-19) aarch64 GNU/Linux
~ # ls /lib/modules/4.7.0-1-arm64/
kernel               modules.builtin.bin  modules.order
modules.alias        modules.dep          modules.softdep
modules.alias.bin    modules.dep.bin      modules.symbols
modules.builtin      modules.devname      modules.symbols.bin
~ # cat /proc/partitions
~ #

I'm not sure what d-i is looking for and why it isn't finding it.


I also tried jessie with a backports kernel, and that has similar
trouble.  Exactly how I construct the initrd.gz is rather complicated
to explain so let's stick with stretch for now.  Ultimately, though,
I'm hoping to be able to get this working with jessie.

Ian.


All the files used in the installer setup can be found here, for now:
  http://logs.test-lab.xenproject.org/osstest/logs/104013/build-arm64/
 

But here are the netbooted grub's config, and the preseed file.


set default=0
set timeout=5
menuentry 'overwrite' {
  linux /osstest/debian-installer/arm64/2017-01-03-stretch/linux vga=normal 
auto=true preseed hw-detect/load_firmware=false DEBCONF_DEBUG=5 
DEBIAN_FRONTEND=text hostname=laxton0 
url=osstest.test-lab.xenproject.org/~iwj/osstest/laxton0_preseed 
netcfg/dhcp_timeout=150 netcfg/choose_interface=auto 
domain=test-lab.xenproject.org   --  
  initrd /osstest/tmp/laxton0--initrd.gz
}



d-i debian-installer/locale string en_GB
d-i console-keymaps-at/keymap select gb
d-i keyboard-configuration/xkb-keymap string en_GB

#d-i debconf/frontend string readline

d-i mirror/country string manual
d-i mirror/http/proxy string

d-i clock-setup/utc boolean true
d-i time/zone string UTC
d-i clock-setup/ntp boolean true

d-i partman-md/device_remove_md boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman-lvm/confirm boolean true

d-i partman/confirm_nooverwrite true
d-i partman-lvm/confirm_nooverwrite true
d-i partman-md/confirm_nooverwrite true
d-i partman-crypto/confirm_nooverwrite true

#d-i netcfg/disable_dhcp boolean true
d-i netcfg/get_nameservers string 172.16.144.4
d-i netcfg/confirm_static boolean true
d-i netcfg/get_domain string test-lab.xenproject.org
d-i netcfg/wireless_wep string

d-i passwd/root-password password xenroot
d-i passwd/root-password-again password xenroot
d-i passwd/user-fullname string FLOSS Xen Test
d-i passwd/username string osstest
d-i passwd/user-password password osstest
d-i passwd/user-password-again password osstest

console-common  console-data/keymap/policy      select  Don't touch keymap
console-data    console-data/keymap/policy      select  Don't touch keymap
console-data    console-data/keymap/family      select  qwerty
console-data console-data/keymap/template/layout select British

popularity-contest popularity-contest/participate boolean false
tasksel tasksel/first multiselect standard, web-server

d-i grub-installer/only_debian boolean true
# see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=759737
d-i grub-installer/bootdev string default

d-i finish-install/keep-consoles boolean true
d-i finish-install/reboot_in_progress note
d-i cdrom-detect/eject boolean false

d-i mirror/http/hostname string ftp.debian.org
d-i mirror/http/proxy string http://cache:3143/
d-i mirror/http/directory string /debian
d-i apt-setup/use_mirror boolean yes
d-i apt-setup/another boolean false
d-i apt-setup/non-free boolean false
d-i apt-setup/contrib boolean false

d-i pkgsel/include string openssh-server, ntp, ntpdate, ethtool, 
chiark-utils-bin, wget, 

d-i grub-installer/force-efi-extra-removable boolean true

d-i netcfg/get_hostname string laxton0
d-i netcfg/get_ipaddress string 172.16.144.52


d-i clock-setup/ntp-server string infra.test-lab.xenproject.org
d-i mirror/suite string stretch

### END OF DEBIAN PRESEED BASE
d-i partman-auto/method string lvm
#d-i partman-auto/method string regular

#d-i partman-auto/init_automatically_partition select regular
d-i partman-auto/disk string /dev/sda

d-i partman-ext3/no_mount_point boolean false
d-i partman-basicmethods/method_only boolean false

d-i partman-auto/expert_recipe string                                   \
        boot-root ::                                                    \
                300 60 300 free                 \
                        $iflabel{ gpt }                         \
                        reusemethod{ }                                  \
                        method{ efi }                                   \
                        format{ }                                       \
                .                                                       \
                300 50 300 ext3         \
                        $primary{ } $bootable{ }                        \
                        method{ format } format{ }                      \
                        use_filesystem{ } filesystem{ ext3 }            \
                        mountpoint{ /boot }                             \
                .                                                       \
                10000 50 10000 ext3             \
                        method{ format } format{ } $lvmok{ }            \
                        use_filesystem{ } filesystem{ ext3 }            \
                        mountpoint{ / }                                 \
                .                                                       \
                2000 40 100% linux-swap                 \
                        method{ swap } format{ } $lvmok{ }              \
                .                                                       \
                1 30 1000000000 ext3                                    \
                        method{ keep } $lvmok{ }                        \
                        lv_name{ dummy }                                \
                .

d-i preseed/early_command string wget -Y off -O /tmp/early_command-0 
'http://osstest.test-lab.xenproject.org/~iwj/osstest/laxton0_early_command-0' 
&& chmod +x /tmp/early_command-0 && /tmp/early_command-0 && wget -Y off -O 
/tmp/early_command-1 
'http://osstest.test-lab.xenproject.org/~iwj/osstest/laxton0_early_command-1' 
&& chmod +x /tmp/early_command-1 && /tmp/early_command-1 && wget -Y off -O 
/tmp/early_command-2 
'http://osstest.test-lab.xenproject.org/~iwj/osstest/laxton0_early_command-2' 
&& chmod +x /tmp/early_command-2 && /tmp/early_command-2
d-i preseed/late_command string wget -Y off -O /tmp/late_command-0 
'http://osstest.test-lab.xenproject.org/~iwj/osstest/laxton0_late_command-0' && 
chmod +x /tmp/late_command-0 && /tmp/late_command-0 && wget -Y off -O 
/tmp/late_command-1 
'http://osstest.test-lab.xenproject.org/~iwj/osstest/laxton0_late_command-1' && 
chmod +x /tmp/late_command-1 && /tmp/late_command-1 && wget -Y off -O 
/tmp/late_command-2 
'http://osstest.test-lab.xenproject.org/~iwj/osstest/laxton0_late_command-2' && 
chmod +x /tmp/late_command-2 && /tmp/late_command-2 && wget -Y off -O 
/tmp/late_command-3 
'http://osstest.test-lab.xenproject.org/~iwj/osstest/laxton0_late_command-3' && 
chmod +x /tmp/late_command-3 && /tmp/late_command-3 && wget -Y off -O 
/tmp/late_command-4 
'http://osstest.test-lab.xenproject.org/~iwj/osstest/laxton0_late_command-4' && 
chmod +x /tmp/late_command-4 && /tmp/late_command-4 && wget -Y off -O 
/tmp/late_command-5 
'http://osstest.test-lab.xenproject.org/~iwj/osstest/laxton0_late_command-5' && 
chmod +x /tmp/late_command-5 && /tmp/late_command-5
_______________________________________________
Wg-test-framework mailing list
Wg-test-framework@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/cgi-bin/mailman/listinfo/wg-test-framework

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.