[Bug 1173313] New: [aarch64] jeos qcow2 image: Root device not found during virt-install boot
http://bugzilla.opensuse.org/show_bug.cgi?id=1173313 Bug ID: 1173313 Summary: [aarch64] jeos qcow2 image: Root device not found during virt-install boot Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.2 Hardware: aarch64 OS: Other Status: NEW Severity: Major Priority: P5 - None Component: Cloud:Images Assignee: public-cloud-maintainers@suse.de Reporter: rrichter@marvell.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 Build Identifier: Booting today's openSUSE Leap 15.2 qcow2 image with virt-inst fails: # virsh net-start default # virt-install --transient --name opensuse --import --memory 16384 --disk /srv/vm/opensuse/openSUSE-Leap-15.2-ARM-JeOS-efi.aarch64-2020.06.16-Build1.8.qcow2 ... Loading Linux 5.3.18-lp152.18-default ... ... Welcome to openSUSE Leap 15.2 dracut-049.1+suse.144.ge0eaf296-lp152.1.1 (Initramfs)! ... [ OK ] Reached target Basic System. [ *] A start job is running for dev-disk…75ec6bc9c9.device (46s / no limit) This runs forever. Image from: https://download.opensuse.org/ports/aarch64/distribution/leap/15.2/appliance... Using a customized kernel and initrd made the image boot: + virt-install --transient --name 5.7.0-virt-01309-g9046fbbe2919 --boot 'uefi,kernel=/boot/Image-5.7.0-virt-01309-g9046fbbe2919,initrd=/boot/initrd-5.7.0-virt-01309-g9046fbbe2919,kernel_args=root=/dev/sda3 ro console=ttyS0,115200n8 no_timer_check net.ifnames=0 crashkernel=auto rd.shell rd.debug log_buf_len=1M' --memory 16384 --disk /srv/vm/opensuse/openSUSE-Leap-15.2-ARM-JeOS-efi.aarch64-2020.06.16-Build1.8.qcow2 After applying dracut in the guest the original image could be booted too (with the above command line): # dracut -f /boot/initrd-5.3.18-lp152.18-default 5.3.18-lp152.18-default Though, during boot there is a long timeout of about 15 mins (which are not seen with the custom kernel, time varies): [ 915.761207] cloud-init[533]: Cloud-init v. 19.4 running 'init-local' at Wed, 24 Jun 2020 13:12:32 +0000. Up 900.51 seconds. Reproducible: Always Steps to Reproduce: See above. Actual Results: Root device is not found, no root fs. Systemd start job hangs forever: [ *] A start job is running for dev-disk…75ec6bc9c9.device (46s / no limit) Expected Results: System is booted to the prompt: Welcome to openSUSE Leap 15.2 - Kernel 5.3.18-lp152.18-default (ttyAMA0). sbr2s-27 login: Details on the host (Marvell CN99xx): sbr2s-27:~ # cat /etc/os-release NAME="SLES" VERSION="15-SP1" VERSION_ID="15.1" PRETTY_NAME="SUSE Linux Enterprise Server 15 SP1" ID="sles" ID_LIKE="suse" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:suse:sles:15:sp1" sbr2s-27:~ # uname -a Linux sbr2s-27 5.3.18-50.g39d1ea9-default #1 SMP Sun Apr 5 19:41:26 UTC 2020 (39d1ea9) aarch64 aarch64 aarch64 GNU/Linux sbr2s-27:~ # dmidecode -t 0 # dmidecode 3.2 Getting SMBIOS data from sysfs. SMBIOS 3.1.1 present. Handle 0x0000, DMI type 0, 26 bytes BIOS Information Vendor: EDK II Version: 0ACKL029 Release Date: 02/21/2020 Address: 0xF0000 Runtime Size: 64 kB ROM Size: 64 MB Characteristics: PCI is supported BIOS is upgradeable BIOS shadowing is allowed Boot from CD is supported Selectable boot is supported BIOS ROM is socketed ACPI is supported BIOS boot specification is supported Targeted content distribution is supported UEFI is supported BIOS Revision: 7.4 sbr2s-27:~ # dmidecode -t 1 # dmidecode 3.2 Getting SMBIOS data from sysfs. SMBIOS 3.1.1 present. Handle 0x0001, DMI type 1, 27 bytes System Information Manufacturer: To be filled by O.E.M. Product Name: Saber Version: 1.0 Serial Number: To be filled by O.E.M. UUID: 6b7bd980-bfde-1000-03f5-e0d55e60f6d4 Wake-up Type: Power Switch SKU Number: SABER SKU Family: CN99XX Systemd log showing boot timing: Jun 24 12:57:39 sbr2s-27 systemd[1]: Started Apply settings from /etc/sysconfig/keyboard. Jun 24 13:07:32 sbr2s-27 systemd[1]: Started Daily Cleanup of Snapper Snapshots. Jun 24 13:07:32 sbr2s-27 dbus-daemon[527]: [system] Activating service name='org.opensuse.Snapper' requested by ':1.2' (uid=0 pid=589 comm="/usr/lib/snapper/systemd-helper --cleanup ") (using servicehelper) Jun 24 13:07:32 sbr2s-27 dbus-daemon[527]: [system] Successfully activated service 'org.opensuse.Snapper' Jun 24 13:07:32 sbr2s-27 systemd-helper[589]: running number cleanup for 'root'. Jun 24 13:07:32 sbr2s-27 systemd-helper[589]: running timeline cleanup for 'root'. Jun 24 13:07:32 sbr2s-27 systemd-helper[589]: running empty-pre-post cleanup for 'root'. Jun 24 13:12:32 sbr2s-27 kernel: random: crng init done Jun 24 13:12:32 sbr2s-27 kernel: random: 7 urandom warning(s) missed due to ratelimiting Jun 24 13:12:32 sbr2s-27 dhclient[600]: Internet Systems Consortium DHCP Client 4.3.6-P1 Jun 24 13:12:32 sbr2s-27 dhclient[600]: Copyright 2004-2018 Internet Systems Consortium. Jun 24 13:12:32 sbr2s-27 dhclient[600]: All rights reserved. Jun 24 13:12:32 sbr2s-27 dhclient[600]: For info, please visit https://www.isc.org/software/dhcp/ Jun 24 13:12:32 sbr2s-27 dhclient[600]: Jun 24 13:12:32 sbr2s-27 dhclient[600]: Listening on LPF/eth0/52:54:00:d7:71:f6 Jun 24 13:12:32 sbr2s-27 dhclient[600]: Sending on LPF/eth0/52:54:00:d7:71:f6 Jun 24 13:12:32 sbr2s-27 dhclient[600]: Sending on Socket/fallback Jun 24 13:12:32 sbr2s-27 dhclient[600]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 (xid=0x371dbcf6) Jun 24 13:12:32 sbr2s-27 dhclient[600]: DHCPOFFER from 192.168.122.1 Jun 24 13:12:32 sbr2s-27 kernel: NET: Registered protocol family 17 Jun 24 13:12:37 sbr2s-27 dhclient[600]: DHCPREQUEST on eth0 to 255.255.255.255 port 67 (xid=0x371dbcf6) Jun 24 13:12:37 sbr2s-27 dhclient[600]: DHCPACK from 192.168.122.1 (xid=0x371dbcf6) Jun 24 13:12:37 sbr2s-27 dhclient[600]: bound to 192.168.122.196 -- renewal in 1631 seconds. Jun 24 13:12:47 sbr2s-27 cloud-init[533]: Cloud-init v. 19.4 running 'init-local' at Wed, 24 Jun 2020 13:12:32 +0000. Up 900.51 seconds. Jun 24 13:12:47 sbr2s-27 cloud-init[533]: 2020-06-24 13:12:47,783 - util.py[WARNING]: No active metadata service found Jun 24 13:12:47 sbr2s-27 systemd[1]: Started Initial cloud-init job (pre-networking). Jun 24 13:12:47 sbr2s-27 systemd[1]: Reached target Network (Pre). Jun 24 13:12:47 sbr2s-27 systemd[1]: Starting wicked AutoIPv4 supplicant service... Jun 24 13:12:47 sbr2s-27 systemd[1]: Starting wicked DHCPv4 supplicant service... Jun 24 13:12:47 sbr2s-27 systemd[1]: Starting wicked DHCPv6 supplicant service... Jun 24 13:12:48 sbr2s-27 systemd[1]: Started wicked DHCPv6 supplicant service. Jun 24 13:12:48 sbr2s-27 systemd[1]: Started wicked AutoIPv4 supplicant service. Jun 24 13:12:48 sbr2s-27 systemd[1]: Started wicked DHCPv4 supplicant service. Jun 24 13:12:48 sbr2s-27 systemd[1]: Starting wicked network management service daemon... Jun 24 13:12:48 sbr2s-27 systemd[1]: Started wicked network management service daemon. Jun 24 13:12:48 sbr2s-27 systemd[1]: Starting wicked network nanny service... Jun 24 13:12:48 sbr2s-27 systemd[1]: Started wicked network nanny service. Jun 24 13:12:48 sbr2s-27 systemd[1]: Starting wicked managed network interfaces... Jun 24 13:12:48 sbr2s-27 wickedd-dhcp4[622]: eth0: Request to acquire DHCPv4 lease with UUID 5051f35e-40a5-0300-7002-000004000000 Jun 24 13:12:48 sbr2s-27 wickedd-dhcp4[622]: eth0: Committed DHCPv4 lease with address 192.168.122.34 (lease time 3600 sec, renew in 1800 sec, rebind in 3150 sec) Jun 24 13:12:53 sbr2s-27 wicked[628]: lo up Jun 24 13:12:53 sbr2s-27 wicked[628]: eth0 up Jun 24 13:12:53 sbr2s-27 systemd[1]: Started wicked managed network interfaces. Jun 24 13:12:53 sbr2s-27 systemd[1]: Starting Initial cloud-init job (metadata service crawler)... Jun 24 13:12:53 sbr2s-27 systemd[1]: Reached target Network. Jun 24 13:12:53 sbr2s-27 systemd[1]: Starting NTP client/server... Jun 24 13:12:53 sbr2s-27 chronyd[1045]: chronyd version 3.2 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP -SCFILTER +SECHASH -SIGND +ASYNCDNS +IPV6 -DEBUG) Jun 24 13:12:53 sbr2s-27 chronyd[1045]: Frequency -104.991 +/- 2.220 ppm read from /var/lib/chrony/drift Jun 24 13:12:53 sbr2s-27 systemd[1]: Started NTP client/server. Jun 24 13:12:53 sbr2s-27 systemd[1]: Reached target System Time Synchronized. Jun 24 13:12:53 sbr2s-27 systemd[1]: Started Discard unused blocks once a week. Jun 24 13:12:53 sbr2s-27 systemd[1]: Started Backup of /etc/sysconfig. Jun 24 13:12:53 sbr2s-27 systemd[1]: Started Check if mainboard battery is Ok. Jun 24 13:12:53 sbr2s-27 systemd[1]: Started Backup of RPM database. Jun 24 13:12:53 sbr2s-27 systemd[1]: Starting Cleanup of Temporary Directories... Jun 24 13:12:53 sbr2s-27 systemd[1]: Started Daily rotation of log files. Jun 24 13:12:53 sbr2s-27 systemd[1]: Started Timeline of Snapper Snapshots. Jun 24 13:12:53 sbr2s-27 systemd[1]: Reached target Timers. Jun 24 13:12:53 sbr2s-27 systemd-tmpfiles[1071]: [/usr/lib/tmpfiles.d/tmp.conf:13] Duplicate line for path "/var/tmp", ignoring. Jun 24 13:12:53 sbr2s-27 systemd-tmpfiles[1071]: [/usr/lib/tmpfiles.d/var.conf:21] Duplicate line for path "/var/lib", ignoring. Jun 24 13:12:53 sbr2s-27 systemd-tmpfiles[1071]: [/usr/lib/tmpfiles.d/var.conf:23] Duplicate line for path "/var/spool", ignoring. Jun 24 13:12:54 sbr2s-27 systemd[1]: Started Cleanup of Temporary Directories. Jun 24 13:13:04 sbr2s-27 cloud-init[1042]: Cloud-init v. 19.4 running 'init' at Wed, 24 Jun 2020 13:12:54 +0000. Up 922.48 seconds. Jun 24 13:13:04 sbr2s-27 cloud-init[1042]: ci-info: ++++++++++++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++++++++++++ Jun 24 13:13:04 sbr2s-27 cloud-init[1042]: ci-info: +--------+------+----------------------------+---------------+--------+-------------------+ Jun 24 13:13:04 sbr2s-27 cloud-init[1042]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address | Jun 24 13:13:04 sbr2s-27 cloud-init[1042]: ci-info: +--------+------+----------------------------+---------------+--------+-------------------+ Jun 24 13:13:04 sbr2s-27 cloud-init[1042]: ci-info: | eth0 | True | 192.168.122.34 | 255.255.255.0 | global | 52:54:00:d7:71:f6 | Jun 24 13:13:04 sbr2s-27 cloud-init[1042]: ci-info: | eth0 | True | fe80::5054:ff:fed7:71f6/64 | . | link | 52:54:00:d7:71:f6 | Jun 24 13:13:04 sbr2s-27 cloud-init[1042]: ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . | Jun 24 13:13:04 sbr2s-27 cloud-init[1042]: ci-info: | lo | True | ::1/128 | . | host | . | Jun 24 13:13:04 sbr2s-27 cloud-init[1042]: ci-info: +--------+------+----------------------------+---------------+--------+-------------------+ Jun 24 13:13:04 sbr2s-27 cloud-init[1042]: ci-info: +++++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++++ Jun 24 13:13:04 sbr2s-27 cloud-init[1042]: ci-info: +-------+---------------+---------------+---------------+-----------+-------+ Jun 24 13:13:04 sbr2s-27 cloud-init[1042]: ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags | Jun 24 13:13:04 sbr2s-27 cloud-init[1042]: ci-info: +-------+---------------+---------------+---------------+-----------+-------+ Jun 24 13:13:04 sbr2s-27 cloud-init[1042]: ci-info: | 0 | 0.0.0.0 | 192.168.122.1 | 0.0.0.0 | eth0 | UG | Jun 24 13:13:04 sbr2s-27 cloud-init[1042]: ci-info: | 1 | 192.168.122.0 | 0.0.0.0 | 255.255.255.0 | eth0 | U | Jun 24 13:13:04 sbr2s-27 cloud-init[1042]: ci-info: +-------+---------------+---------------+---------------+-----------+-------+ Jun 24 13:13:04 sbr2s-27 cloud-init[1042]: ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++ Jun 24 13:13:04 sbr2s-27 cloud-init[1042]: ci-info: +-------+-------------+---------+-----------+-------+ Jun 24 13:13:04 sbr2s-27 cloud-init[1042]: ci-info: | Route | Destination | Gateway | Interface | Flags | Jun 24 13:13:04 sbr2s-27 cloud-init[1042]: ci-info: +-------+-------------+---------+-----------+-------+ Jun 24 13:13:04 sbr2s-27 cloud-init[1042]: ci-info: | 1 | fe80::/64 | :: | eth0 | U | Jun 24 13:13:04 sbr2s-27 cloud-init[1042]: ci-info: | 3 | local | :: | eth0 | U | Jun 24 13:13:04 sbr2s-27 cloud-init[1042]: ci-info: | 4 | ff00::/8 | :: | eth0 | U | Jun 24 13:13:04 sbr2s-27 cloud-init[1042]: ci-info: +-------+-------------+---------+-----------+-------+ Jun 24 13:13:04 sbr2s-27 cloud-init[1042]: 2020-06-24 13:13:04,683 - util.py[WARNING]: No active metadata service found Jun 24 13:13:05 sbr2s-27 kernel: BTRFS info (device sda3): new size for /dev/sda3 is 1289728000 Jun 24 13:13:05 sbr2s-27 systemd[1]: Started Initial cloud-init job (metadata service crawler). Jun 24 13:13:05 sbr2s-27 systemd[1]: Starting Permit User Sessions... Jun 24 13:13:05 sbr2s-27 systemd[1]: Reached target Network is Online. Jun 24 13:13:05 sbr2s-27 systemd[1]: Starting OpenSSH Daemon... Jun 24 13:13:05 sbr2s-27 systemd[1]: Reached target Cloud-config availability. Jun 24 13:13:05 sbr2s-27 sshd-gen-keys-start[1118]: Checking for missing server keys in /etc/ssh Jun 24 13:13:05 sbr2s-27 systemd[1]: Starting Apply the settings specified in cloud-config... Jun 24 13:13:05 sbr2s-27 systemd[1]: Started Permit User Sessions. Jun 24 13:13:05 sbr2s-27 sshd[1122]: Server listening on 0.0.0.0 port 22. Jun 24 13:13:05 sbr2s-27 sshd[1122]: Server listening on :: port 22. Jun 24 13:13:05 sbr2s-27 systemd[1]: Started OpenSSH Daemon. Jun 24 13:13:05 sbr2s-27 systemd[1]: Started Getty on tty1. Jun 24 13:13:05 sbr2s-27 systemd[1]: Started Serial Getty on ttyAMA0. Jun 24 13:13:05 sbr2s-27 systemd[1]: Reached target Login Prompts. Jun 24 13:13:05 sbr2s-27 systemd[1]: Reached target Multi-User System. Jun 24 13:13:05 sbr2s-27 systemd[1]: Reached target Graphical Interface. Jun 24 13:13:05 sbr2s-27 systemd[1]: Starting Update UTMP about System Runlevel Changes... Jun 24 13:13:05 sbr2s-27 systemd[1]: Started Update UTMP about System Runlevel Changes. Jun 24 13:13:06 sbr2s-27 cloud-init[1120]: Cloud-init v. 19.4 running 'modules:config' at Wed, 24 Jun 2020 13:13:06 +0000. Up 933.97 seconds. Jun 24 13:13:06 sbr2s-27 systemd[1]: Started Apply the settings specified in cloud-config. Jun 24 13:13:06 sbr2s-27 systemd[1]: Starting Execute cloud user/final scripts... Jun 24 13:13:06 sbr2s-27 cloud-init[1133]: Cloud-init v. 19.4 running 'modules:final' at Wed, 24 Jun 2020 13:13:06 +0000. Up 934.77 seconds. Jun 24 13:13:06 sbr2s-27 cloud-init[1133]: Cloud-init v. 19.4 finished at Wed, 24 Jun 2020 13:13:06 +0000. Datasource DataSourceNone. Up 934.87 seconds Jun 24 13:13:06 sbr2s-27 cloud-init[1133]: 2020-06-24 13:13:06,909 - cc_final_message.py[WARNING]: Used fallback datasource Jun 24 13:13:06 sbr2s-27 systemd[1]: Started Execute cloud user/final scripts. Jun 24 13:13:06 sbr2s-27 systemd[1]: Reached target Cloud-init target. Jun 24 13:13:06 sbr2s-27 systemd[1]: Startup finished in 1.505s (kernel) + 4.647s (initrd) + 15min 28.807s (userspace) = 15min 34.961s. Jun 24 13:13:41 sbr2s-27 sshd[1142]: Accepted keyboard-interactive/pam for root from 192.168.122.1 port 42104 ssh2 Jun 24 13:13:41 sbr2s-27 systemd-logind[531]: New session 1 of user root. Jun 24 13:13:41 sbr2s-27 systemd[1]: Created slice User Slice of UID 0. Jun 24 13:13:41 sbr2s-27 systemd[1]: Starting User Manager for UID 0... Jun 24 13:13:41 sbr2s-27 systemd[1]: Started Session 1 of user root. Jun 24 13:13:41 sbr2s-27 systemd[1145]: pam_unix(systemd-user:session): session opened for user root by (uid=0) Jun 24 13:13:41 sbr2s-27 systemd[1145]: Reached target Paths. Jun 24 13:13:41 sbr2s-27 systemd[1145]: Reached target Timers. Jun 24 13:13:41 sbr2s-27 systemd[1145]: Starting D-Bus User Message Bus Socket. Jun 24 13:13:41 sbr2s-27 systemd[1145]: Listening on D-Bus User Message Bus Socket. Jun 24 13:13:41 sbr2s-27 systemd[1145]: Reached target Sockets. Jun 24 13:13:41 sbr2s-27 systemd[1145]: Reached target Basic System. Jun 24 13:13:41 sbr2s-27 systemd[1]: Started User Manager for UID 0. Jun 24 13:13:41 sbr2s-27 sshd[1142]: pam_unix(sshd:session): session opened for user root by (uid=0) Jun 24 13:13:41 sbr2s-27 systemd[1145]: Reached target Default. Jun 24 13:13:41 sbr2s-27 systemd[1145]: Startup finished in 52ms. Additional issue seen: [FAILED] Failed to start Load Kernel Modules. See 'systemctl status systemd-modules-load.service' for details. This is due to multipath-tools package: sbr2s-27:~ # systemctl status systemd-modules-load ● systemd-modules-load.service - Load Kernel Modules Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disabled) Active: failed (Result: exit-code) since Wed 2020-06-24 12:57:39 UTC; 24min ago Docs: man:systemd-modules-load.service(8) man:modules-load.d(5) Process: 480 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE) Main PID: 480 (code=exited, status=1/FAILURE) Jun 24 12:57:39 sbr2s-27 systemd[1]: Starting Load Kernel Modules... Jun 24 12:57:39 sbr2s-27 systemd-modules-load[480]: Failed to find module 'scsi_dh_alua' Jun 24 12:57:39 sbr2s-27 systemd-modules-load[480]: Failed to find module 'scsi_dh_emc' Jun 24 12:57:39 sbr2s-27 systemd-modules-load[480]: Failed to find module 'scsi_dh_rdac' Jun 24 12:57:39 sbr2s-27 systemd-modules-load[480]: Failed to find module 'dm-multipath' Jun 24 12:57:39 sbr2s-27 systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE Jun 24 12:57:39 sbr2s-27 systemd[1]: Failed to start Load Kernel Modules. Jun 24 12:57:39 sbr2s-27 systemd[1]: systemd-modules-load.service: Unit entered failed state. Jun 24 12:57:39 sbr2s-27 systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'. sbr2s-27:~ # cat /usr/lib/modules-load.d/multipath.conf # Load device-handler and multipath module at boot scsi_dh_alua scsi_dh_emc scsi_dh_rdac dm-multipath sbr2s-27:~ # rpm -qf /usr/lib/modules-load.d/multipath.conf multipath-tools-0.8.2+18.9ff73e7-lp152.2.1.aarch64 sbr2s-27:~ # find /lib/modules/ -name '*dm-multipath*' It does not have impact to the boot issue. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1173313 Andreas Färber <afaerber@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |afaerber@suse.com, | |dmueller@suse.com, | |guillaume.gardet@arm.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1173313 http://bugzilla.opensuse.org/show_bug.cgi?id=1173313#c3 --- Comment #3 from Robert Richter <rrichter@marvell.com> --- Created attachment 839080 --> http://bugzilla.opensuse.org/attachment.cgi?id=839080&action=edit boot log - bad -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1173313 http://bugzilla.opensuse.org/show_bug.cgi?id=1173313#c4 --- Comment #4 from Robert Richter <rrichter@marvell.com> --- Created attachment 839081 --> http://bugzilla.opensuse.org/attachment.cgi?id=839081&action=edit boot log - good -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1173313 http://bugzilla.opensuse.org/show_bug.cgi?id=1173313#c5 --- Comment #5 from Robert Richter <rrichter@marvell.com> --- The main reason for experimenting with this is guest kernel testing. virt-install seemed the easiest way to me to setup the environment. There was no particular reason to take it. But I do not think the issue is related to virt-install itself, as I see grub booting and starting kernel and initrd from the image. Rather it seems to be a kernel module or config issue. Enclosed some boot logs with dracut debug options enabled (rd.shell rd.debug log_buf_len=1M). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1173313 http://bugzilla.opensuse.org/show_bug.cgi?id=1173313#c6 --- Comment #6 from Guillaume GARDET <guillaume.gardet@arm.com> --- Could add the result of lshw command, please? It should help to identify required kernel modules. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1173313 http://bugzilla.opensuse.org/show_bug.cgi?id=1173313#c7 --- Comment #7 from Robert Richter <rrichter@marvell.com> --- (In reply to Guillaume GARDET from comment #6)
Could add the result of lshw command, please? It should help to identify required kernel modules.
sbr2s-27:~ # uname -a Linux sbr2s-27 5.3.18-lp152.18-default #1 SMP Fri Jun 5 07:06:38 UTC 2020 (32f87b5) aarch64 aarch64 aarch64 GNU/Linux sbr2s-27:~ # lshw sbr2s-27 description: Computer product: KVM Virtual Machine vendor: QEMU version: virt-3.1 width: 64 bits capabilities: smbios-3.0.0 dmi-3.0.0 cp15_barrier setend swp configuration: boot=normal uuid=78D11567-D972-BE4C-9403-2676A0BD1285 *-core description: Motherboard physical id: 0 *-cpu description: CPU vendor: QEMU physical id: 400 bus info: cpu@0 version: virt-3.1 slot: CPU 0 size: 2GHz capacity: 2GHz configuration: cores=1 enabledcores=1 threads=1 *-memory description: System Memory physical id: 1000 size: 16GiB capabilities: ecc configuration: errordetection=multi-bit-ecc *-bank description: DIMM RAM vendor: QEMU physical id: 0 slot: DIMM 0 size: 16GiB *-firmware description: BIOS vendor: EFI Development Kit II / OVMF physical id: 0 version: 0.0.0 date: 02/06/2015 size: 96KiB capabilities: uefi virtualmachine *-pci description: Host bridge product: QEMU PCIe Host bridge vendor: Red Hat, Inc. physical id: 100 bus info: pci@0000:00:00.0 version: 00 width: 32 bits clock: 33MHz *-pci:0 description: PCI bridge product: QEMU PCIe Root port vendor: Red Hat, Inc. physical id: 1 bus info: pci@0000:00:01.0 version: 00 width: 32 bits clock: 33MHz capabilities: pci pciexpress msix normal_decode bus_master cap_list configuration: driver=pcieport resources: irq:38 memory:10a00000-10a00fff ioport:1000(size=4096) memory:10000000-101fffff ioport:8000000000(size=2097152) *-network description: Ethernet controller product: Virtio network device vendor: Red Hat, Inc. physical id: 0 bus info: pci@0000:01:00.0 version: 01 width: 64 bits clock: 33MHz capabilities: msix pm pciexpress bus_master cap_list rom configuration: driver=virtio-pci latency=0 resources: iomemory:800-7ff irq:38 memory:10040000-10040fff memory:8000000000-8000003fff memory:10000000-1003ffff *-virtio0 description: Ethernet interface physical id: 0 bus info: virtio@0 logical name: eth0 serial: 52:54:00:6e:f5:06 capabilities: ethernet physical configuration: autonegotiation=off broadcast=yes driver=virtio_net driverversion=1.0.0 ip=192.168.122.248 link=yes multicast=yes *-pci:1 description: PCI bridge product: QEMU PCIe Root port vendor: Red Hat, Inc. physical id: 1.1 bus info: pci@0000:00:01.1 version: 00 width: 32 bits clock: 33MHz capabilities: pci pciexpress msix normal_decode bus_master cap_list configuration: driver=pcieport resources: irq:38 memory:10a01000-10a01fff ioport:2000(size=4096) memory:10200000-103fffff ioport:8000200000(size=2097152) *-usb description: USB controller product: QEMU XHCI Host Controller vendor: Red Hat, Inc. physical id: 0 bus info: pci@0000:02:00.0 version: 01 width: 64 bits clock: 33MHz capabilities: msix pciexpress xhci bus_master cap_list configuration: driver=xhci_hcd latency=0 resources: irq:38 memory:10200000-10203fff *-usbhost:0 product: xHCI Host Controller vendor: Linux 5.3.18-lp152.18-default xhci-hcd physical id: 0 bus info: usb@1 logical name: usb1 version: 5.03 capabilities: usb-2.00 configuration: driver=hub slots=15 speed=480Mbit/s *-usbhost:1 product: xHCI Host Controller vendor: Linux 5.3.18-lp152.18-default xhci-hcd physical id: 1 bus info: usb@2 logical name: usb2 version: 5.03 capabilities: usb-3.00 configuration: driver=hub slots=15 speed=5000Mbit/s *-pci:2 description: PCI bridge product: QEMU PCIe Root port vendor: Red Hat, Inc. physical id: 1.2 bus info: pci@0000:00:01.2 version: 00 width: 32 bits clock: 33MHz capabilities: pci pciexpress msix normal_decode bus_master cap_list configuration: driver=pcieport resources: irq:38 memory:10a02000-10a02fff ioport:3000(size=4096) memory:10400000-105fffff ioport:8000400000(size=2097152) *-scsi description: SCSI storage controller product: Virtio SCSI vendor: Red Hat, Inc. physical id: 0 bus info: pci@0000:03:00.0 version: 01 width: 64 bits clock: 33MHz capabilities: scsi msix pm pciexpress bus_master cap_list configuration: driver=virtio-pci latency=0 resources: iomemory:800-7ff irq:38 memory:10400000-10400fff memory:8000400000-8000403fff *-virtio1 description: Virtual I/O device physical id: 0 bus info: virtio@1 logical name: scsi0 configuration: driver=virtio_scsi *-disk description: SCSI Disk product: QEMU HARDDISK vendor: QEMU physical id: 0.0.0 bus info: scsi@0:0.0.0 logical name: /dev/sda version: 2.5+ size: 1747MiB (1831MB) capabilities: 5400rpm gpt-1.00 partitioned partitioned:gpt configuration: ansiversion=5 guid=f48c35ab-8dbe-4f68-81bd-752111421ba2 logicalsectorsize=512 sectorsize=512 *-volume:0 UNCLAIMED description: Windows FAT volume vendor: mkfs.fat physical id: 1 bus info: scsi@0:0.0.0,1 version: FAT16 serial: 99eb-fc20 size: 15EiB capabilities: boot fat initialized configuration: FATs=2 filesystem=fat label=EFI name=p.UEFI *-volume:1 description: Linux swap volume vendor: Linux physical id: 2 bus info: scsi@0:0.0.0,2 logical name: /dev/sda2 version: 1 serial: 44e57654-b091-41b8-9c8e-92a14cfcbacd size: 499MiB capacity: 499MiB capabilities: nofs swap initialized configuration: filesystem=swap label=SWAP name=p.swap pagesize=4095 *-volume:2 description: EFI partition physical id: 3 bus info: scsi@0:0.0.0,3 logical name: /dev/sda3 logical name: / logical name: /srv logical name: /usr/local logical name: /.snapshots logical name: /boot/grub2/arm64-efi logical name: /var logical name: /home logical name: /opt logical name: /tmp logical name: /root serial: 720bd9e9-f7b9-4876-85a4-766210338256 capacity: 1229MiB configuration: mount.fstype=btrfs mount.options=rw,relatime,compress=lzo,space_cache,autodefrag,subvolid=261,subvol=/@/root name=p.lxroot state=mounted *-pci:3 description: PCI bridge product: QEMU PCIe Root port vendor: Red Hat, Inc. physical id: 1.3 bus info: pci@0000:00:01.3 version: 00 width: 32 bits clock: 33MHz capabilities: pci pciexpress msix normal_decode bus_master cap_list configuration: driver=pcieport resources: irq:38 memory:10a03000-10a03fff ioport:4000(size=4096) memory:10600000-107fffff ioport:8000600000(size=2097152) *-communication description: Communication controller product: Virtio console vendor: Red Hat, Inc. physical id: 0 bus info: pci@0000:04:00.0 version: 01 width: 64 bits clock: 33MHz capabilities: msix pm pciexpress bus_master cap_list configuration: driver=virtio-pci latency=0 resources: iomemory:800-7ff irq:38 memory:10600000-10600fff memory:8000600000-8000603fff *-virtio2 UNCLAIMED description: Virtual I/O device physical id: 0 bus info: virtio@2 configuration: driver=virtio_console *-pci:4 description: PCI bridge product: QEMU PCIe Root port vendor: Red Hat, Inc. physical id: 1.4 bus info: pci@0000:00:01.4 version: 00 width: 32 bits clock: 33MHz capabilities: pci pciexpress msix normal_decode bus_master cap_list configuration: driver=pcieport resources: irq:38 memory:10a04000-10a04fff ioport:5000(size=4096) memory:10800000-109fffff ioport:8000800000(size=2097152) *-pnp00:00 product: PnP device PNP0c02 physical id: 1 capabilities: pnp configuration: driver=system sbr2s-27:~ # lsblk -f NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT sda ├─sda1 vfat EFI 99EB-FC20 14.7M 8% /boot/efi ├─sda2 swap SWAP 44e57654-b091-41b8-9c8e-92a14cfcbacd [SWAP] └─sda3 btrfs ROOT 4960dfd3-30fa-4f33-a4d6-be75ec6bc9c9 527.9M 51% / sbr2s-27:~ # cat /boot/efi/EFI/BOOT/grub.cfg set btrfs_relative_path="yes" search --fs-uuid --set=root 4960dfd3-30fa-4f33-a4d6-be75ec6bc9c9 set prefix=($root)/boot/grub2 normal sbr2s-27:~ # lsmod Module Size Used by af_packet 61440 0 nls_iso8859_1 16384 1 nls_cp437 20480 1 vfat 24576 1 fat 81920 1 vfat efivarfs 20480 1 btrfs 1392640 1 libcrc32c 16384 1 btrfs xor 20480 1 btrfs xor_neon 16384 1 xor zlib_deflate 28672 1 btrfs raid6_pq 110592 1 btrfs sd_mod 53248 4 xhci_pci 20480 0 xhci_hcd 278528 1 xhci_pci usbcore 311296 2 xhci_hcd,xhci_pci virtio_scsi 24576 3 virtio_net 57344 0 net_failover 20480 1 virtio_net failover 16384 1 net_failover qemu_fw_cfg 24576 0 virtio_mmio 20480 0 sg 49152 0 scsi_mod 262144 3 virtio_scsi,sd_mod,sg sbr2s-27:~ # xzcat /boot/initrd-5.3.18-lp152.18-default | cpio -t | grep lib/modules/ lib/modules/5.3.18-lp152.18-default lib/modules/5.3.18-lp152.18-default/kernel lib/modules/5.3.18-lp152.18-default/kernel/arch lib/modules/5.3.18-lp152.18-default/kernel/arch/arm64 lib/modules/5.3.18-lp152.18-default/kernel/arch/arm64/lib lib/modules/5.3.18-lp152.18-default/kernel/arch/arm64/lib/xor-neon.ko lib/modules/5.3.18-lp152.18-default/kernel/crypto lib/modules/5.3.18-lp152.18-default/kernel/crypto/xor.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers lib/modules/5.3.18-lp152.18-default/kernel/drivers/ata lib/modules/5.3.18-lp152.18-default/kernel/drivers/ata/ahci.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/ata/ata_piix.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/ata/libahci.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/ata/libata.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/block lib/modules/5.3.18-lp152.18-default/kernel/drivers/block/virtio_blk.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/cdrom lib/modules/5.3.18-lp152.18-default/kernel/drivers/cdrom/cdrom.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/char lib/modules/5.3.18-lp152.18-default/kernel/drivers/char/hw_random lib/modules/5.3.18-lp152.18-default/kernel/drivers/char/hw_random/virtio-rng.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/firmware lib/modules/5.3.18-lp152.18-default/kernel/drivers/firmware/qemu_fw_cfg.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/hid lib/modules/5.3.18-lp152.18-default/kernel/drivers/hid/hid-generic.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/hid/usbhid lib/modules/5.3.18-lp152.18-default/kernel/drivers/hid/usbhid/usbhid.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/net lib/modules/5.3.18-lp152.18-default/kernel/drivers/net/ethernet lib/modules/5.3.18-lp152.18-default/kernel/drivers/net/ethernet/8390 lib/modules/5.3.18-lp152.18-default/kernel/drivers/net/ethernet/8390/8390.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/net/ethernet/8390/ne2k-pci.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/net/ethernet/intel lib/modules/5.3.18-lp152.18-default/kernel/drivers/net/ethernet/intel/e100.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/net/ethernet/intel/e1000 lib/modules/5.3.18-lp152.18-default/kernel/drivers/net/ethernet/intel/e1000/e1000.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/net/ethernet/realtek lib/modules/5.3.18-lp152.18-default/kernel/drivers/net/ethernet/realtek/8139cp.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/net/mii.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/net/net_failover.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/net/virtio_net.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/scsi lib/modules/5.3.18-lp152.18-default/kernel/drivers/scsi/scsi_mod.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/scsi/sd_mod.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/scsi/sg.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/scsi/sr_mod.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/scsi/virtio_scsi.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/usb lib/modules/5.3.18-lp152.18-default/kernel/drivers/usb/core lib/modules/5.3.18-lp152.18-default/kernel/drivers/usb/core/usbcore.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/usb/host lib/modules/5.3.18-lp152.18-default/kernel/drivers/usb/host/ehci-hcd.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/usb/host/ehci-pci.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/usb/host/ohci-hcd.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/usb/host/ohci-pci.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/usb/host/uhci-hcd.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/usb/host/xhci-hcd.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/usb/host/xhci-pci.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/usb/storage lib/modules/5.3.18-lp152.18-default/kernel/drivers/usb/storage/ums-alauda.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/usb/storage/ums-cypress.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/usb/storage/ums-datafab.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/usb/storage/ums-eneub6250.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/usb/storage/ums-freecom.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/usb/storage/ums-isd200.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/usb/storage/ums-jumpshot.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/usb/storage/ums-karma.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/usb/storage/ums-onetouch.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/usb/storage/ums-realtek.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/usb/storage/ums-sddr09.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/usb/storage/ums-sddr55.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/usb/storage/ums-usbat.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/usb/storage/usb-storage.ko lib/modules/5.3.18-lp152.18-default/kernel/drivers/virtio lib/modules/5.3.18-lp152.18-default/kernel/drivers/virtio/virtio_mmio.ko lib/modules/5.3.18-lp152.18-default/kernel/fs lib/modules/5.3.18-lp152.18-default/kernel/fs/btrfs lib/modules/5.3.18-lp152.18-default/kernel/fs/btrfs/btrfs.ko lib/modules/5.3.18-lp152.18-default/kernel/fs/fat lib/modules/5.3.18-lp152.18-default/kernel/fs/fat/fat.ko lib/modules/5.3.18-lp152.18-default/kernel/fs/fat/vfat.ko lib/modules/5.3.18-lp152.18-default/kernel/lib lib/modules/5.3.18-lp152.18-default/kernel/lib/libcrc32c.ko lib/modules/5.3.18-lp152.18-default/kernel/lib/raid6 lib/modules/5.3.18-lp152.18-default/kernel/lib/raid6/raid6_pq.ko lib/modules/5.3.18-lp152.18-default/kernel/lib/zlib_deflate lib/modules/5.3.18-lp152.18-default/kernel/lib/zlib_deflate/zlib_deflate.ko lib/modules/5.3.18-lp152.18-default/kernel/net lib/modules/5.3.18-lp152.18-default/kernel/net/core lib/modules/5.3.18-lp152.18-default/kernel/net/core/failover.ko lib/modules/5.3.18-lp152.18-default/modules.alias lib/modules/5.3.18-lp152.18-default/modules.alias.bin lib/modules/5.3.18-lp152.18-default/modules.builtin lib/modules/5.3.18-lp152.18-default/modules.builtin.bin lib/modules/5.3.18-lp152.18-default/modules.dep lib/modules/5.3.18-lp152.18-default/modules.dep.bin lib/modules/5.3.18-lp152.18-default/modules.devname lib/modules/5.3.18-lp152.18-default/modules.order lib/modules/5.3.18-lp152.18-default/modules.softdep lib/modules/5.3.18-lp152.18-default/modules.symbols lib/modules/5.3.18-lp152.18-default/modules.symbols.bin 60731 blocks (Note this is the rebuilt initrd.) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1173313 http://bugzilla.opensuse.org/show_bug.cgi?id=1173313#c8 --- Comment #8 from Robert Richter <rrichter@marvell.com> ---
From /boot/grub2/grub.cfg:
echo 'Loading Linux 5.3.18-lp152.18-default ...' linux /boot/Image-5.3.18-lp152.18-default root=UUID=4960dfd3-30fa-4f33-a4d6-be75ec6bc9c9 rw ${extra_cmdline} loglevel=3 splash=silent plymouth.enable=0 echo 'Loading initial ramdisk ...' initrd /boot/initrd-5.3.18-lp152.18-default -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1173313 http://bugzilla.opensuse.org/show_bug.cgi?id=1173313#c9 Guillaume GARDET <guillaume.gardet@arm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rrichter@marvell.com Flags| |needinfo?(rrichter@marvell. | |com) --- Comment #9 from Guillaume GARDET <guillaume.gardet@arm.com> --- Could you try the qcow2 image from https://download.opensuse.org/repositories/home:/Guillaume_G:/branches:/open... please? I added 'scsi_mod' kernel module. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1173313 http://bugzilla.opensuse.org/show_bug.cgi?id=1173313#c10 --- Comment #10 from Robert Richter <rrichter@marvell.com> --- Still something missing: +virt-install --transient --name opensuse --import --memory 16384 --disk /srv/vm/opensuse/openSUSE-Leap-15.2-ARM-JeOS-efi.aarch64-2020.06.29-Build3.2.qcow2 Starting install... Connected to domain opensuse Escape character is ^] ... [ OK ] Reached target System Initialization. [ OK ] Reached target Basic System. [ OK ] Started dracut pre-mount hook. [* ] A start job is running for dev-disk…d2f55f22e.device (1min / no limit) I tried some debugging, but the default root password does not work, what is the root pw? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1173313 http://bugzilla.opensuse.org/show_bug.cgi?id=1173313#c11 --- Comment #11 from Guillaume GARDET <guillaume.gardet@arm.com> --- The default password is 'linux'. In the meantime I tested this new image locally, on a Tumbleweed host and it finds the rootfs properly, but hangs later. Probably related to the cloud-init problem. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1173313 http://bugzilla.opensuse.org/show_bug.cgi?id=1173313#c12 --- Comment #12 from Guillaume GARDET <guillaume.gardet@arm.com> --- If I remove the cloud-init packages from the image, the system boots properly, reach the login prompt and I am able to login properly. So, there is definitely something wrong with cloud-init. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1173313 http://bugzilla.opensuse.org/show_bug.cgi?id=1173313#c15 --- Comment #15 from Guillaume GARDET <guillaume.gardet@arm.com> --- Robert, could you check if this still happens with latest image, please? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1173313 http://bugzilla.opensuse.org/show_bug.cgi?id=1173313#c16 --- Comment #16 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1173313) was mentioned in https://build.opensuse.org/request/show/1069173 15.5 / JeOS -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com