How to determine if my qemu_sparc64 linux is completed booting?
Hi,
Thank you so much, to the team for creating the qemu-sparc64
distribution. I really appreciate it.
I have successfully installed it in my qemu vm.
But here is my problem. I started the vm using the following setting
yunus@mys-debian:~$ LC_ALL=C QEMU_AUDIO_DRV=none \
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
> /usr/bin/qemu-system-sparc64 -name debian-unstable-sparc64 -machine
sun4u,accel=tcg,usb=off -m 1024 \
> -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 \
> -uuid ccd8b5c2-b8e4-4d5e-af19-9322cd8e55bf -rtc base=utc -no-reboot
-no-shutdown \
> -boot strict=on \
> -drive
file=/mypath/linux-sparc64-img.qcow2,if=none,id=drive-ide0-0-1,format=qcow2,cache=none,aio=native
\
> -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-1,id=ide0-0-1 \
> -netdev user,id=hostnet0,hostfwd=tcp::5555-:22 \
> -device e1000,netdev=hostnet0,id=net0,mac=52:54:00:ce:98:e8 \
> -msg timestamp=on -serial pty -nographic
Then when i accessed the VM using minicom -p /dev/pts/2, it showed the
boot process stopped until '[ OK ] Found device QEMU_HARDDISK'.
I try (qemu) info status, and shows the vm is running.
I try to ssh localhost -p 5555 but can't login.
In this case, how can i determine if the system is successfully booted
and fully functional? Thanks.
-yunus
(following is the entire output of the boot process):
[ 0.000000] PROMLIB: Sun IEEE Boot Prom 'OBP 3.10.24 1999/01/01 01:01'
[ 0.000000] PROMLIB: Root node compatible: sun4u
[ 0.000000] Linux version 4.9.0-2-sparc64
(debian-kernel@lists.debian.org) (gcc version 6.3.0 20170321 (Debian
6.3.0-10))
[ 0.000000] bootconsole [earlyprom0] enabled
[ 0.000000] ARCH: SUN4U
[ 0.000000] Ethernet address: 00:00:00:00:00:00
[ 0.000000] MM: PAGE_OFFSET is 0xfffff80000000000 (max_phys_bits == 40)
[ 0.000000] MM: VMALLOC [0x0000000100000000 --> 0x0000060000000000]
[ 0.000000] MM: VMEMMAP [0x0000060000000000 --> 0x00000c0000000000]
[ 0.000000] Kernel: Using 3 locked TLB entries for main kernel image.
[ 0.000000] Remapping the kernel... [ 0.000000] done.
[ 0.000000] OF stdout device is: /pci@1fe,0/ebus@3/su
[ 0.000000] PROM: Built device tree with 50688 bytes of memory.
[ 0.000000] Top of RAM: 0x3fe80000, Total RAM: 0x3fe80000
[ 0.000000] Memory hole size: 0MB
[ 0.000000] Allocated 16384 bytes for kernel page tables.
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x000000003fe7ffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000003fe7ffff]
[ 0.000000] Initmem setup node 0 [mem
0x0000000000000000-0x000000003fe7ffff]
[ 0.000000] Booting Linux...
[ 0.000000] CPU CAPS: [flush,stbar,swap,muldiv,v9,mul32,div32,v8plus]
[ 0.000000] CPU CAPS: [vis]
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 129729
[ 0.000000] Kernel command line: root=/dev/mapper/debsparc64--vg-root ro
[ 0.000000] PID hash table entries: 4096 (order: 2, 32768 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7,
1048576 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 524288
bytes)
[ 0.000000] Sorting __ex_table...
[ 0.000000] Memory: 1002304K/1047040K available (5432K kernel code,
775K rwdata, 1440K rodata, 416K init, 645K bss, 4473)
[ 0.000000] NR_IRQS:2048 nr_irqs:2048 1
[ 97.454428] clocksource: tick: mask: 0xffffffffffffffff max_cycles:
0x171024e7e0, max_idle_ns: 440795205315 ns
[ 97.455978] clocksource: mult[a000000] shift[24]
[ 97.457289] clockevent: mult[1999999a] shift[32]
[ 97.466097] Console: colour dummy device 80x25
[ 97.467390] console [tty0] enabled
[ 97.469062] bootconsole [earlyprom0] disabled
[ 0.000000] PROMLIB: Sun IEEE Boot Prom 'OBP 3.10.24 1999/01/01 01:01'
[ 0.000000] PROMLIB: Root node compatible: sun4u
[ 0.000000] Linux version 4.9.0-2-sparc64
(debian-kernel@lists.debian.org) (gcc version 6.3.0 20170321 (Debian
6.3.0-10))
[ 0.000000] bootconsole [earlyprom0] enabled
[ 0.000000] ARCH: SUN4U
[ 0.000000] Ethernet address: 00:00:00:00:00:00
[ 0.000000] MM: PAGE_OFFSET is 0xfffff80000000000 (max_phys_bits == 40)
[ 0.000000] MM: VMALLOC [0x0000000100000000 --> 0x0000060000000000]
[ 0.000000] MM: VMEMMAP [0x0000060000000000 --> 0x00000c0000000000]
[ 0.000000] Kernel: Using 3 locked TLB entries for main kernel image.
[ 0.000000] Remapping the kernel...
[ 0.000000] done.
[ 0.000000] OF stdout device is: /pci@1fe,0/ebus@3/su
[ 0.000000] PROM: Built device tree with 50688 bytes of memory.
[ 0.000000] Top of RAM: 0x3fe80000, Total RAM: 0x3fe80000
[ 0.000000] Memory hole size: 0MB
[ 0.000000] Allocated 16384 bytes for kernel page tables.
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x000000003fe7ffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000003fe7ffff]
[ 0.000000] Initmem setup node 0 [mem
0x0000000000000000-0x000000003fe7ffff]
[ 0.000000] Booting Linux...
[ 0.000000] CPU CAPS: [flush,stbar,swap,muldiv,v9,mul32,div32,v8plus]
[ 0.000000] CPU CAPS: [vis]
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 129729
[ 0.000000] Kernel command line: root=/dev/mapper/debsparc64--vg-root ro
[ 0.000000] PID hash table entries: 4096 (order: 2, 32768 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7,
1048576 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 524288
bytes)
[ 0.000000] Sorting __ex_table...
[ 0.000000] Memory: 1002304K/1047040K available (5432K kernel code,
775K rwdata, 1440K rodata, 416K init, 645K bss, 4473)
[ 0.000000] NR_IRQS:2048 nr_irqs:2048 1
[ 97.454428] clocksource: tick: mask: 0xffffffffffffffff max_cycles:
0x171024e7e0, max_idle_ns: 440795205315 ns
[ 97.455978] clocksource: mult[a000000] shift[24]
[ 97.457289] clockevent: mult[1999999a] shift[32]
[ 97.466097] Console: colour dummy device 80x25
[ 97.467390] console [tty0] enabled
[ 97.469062] bootconsole [earlyprom0] disabled
[ 97.550563] Calibrating delay using timer specific routine.. 205.77
BogoMIPS (lpj=411544)
[ 97.550889] pid_max: default: 32768 minimum: 301
[ 97.552925] Security Framework initialized
[ 97.553038] Yama: disabled by default; enable with sysctl kernel.yama.*
[ 97.554034] AppArmor: AppArmor disabled by boot time parameter
[ 97.554964] Mount-cache hash table entries: 2048 (order: 1, 16384 bytes)
[ 97.555064] Mountpoint-cache hash table entries: 2048 (order: 1,
16384 bytes)
[ 97.569704] ftrace: allocating 18398 entries in 36 pages
[ 97.704389] devtmpfs: initialized
[ 97.717569] Performance events: No support for PMU type 'ultra12'
[ 97.720820] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 7645041785100000 ns
[ 97.721072] futex hash table entries: 256 (order: -1, 6144 bytes)
[ 97.728558] NET: Registered protocol family 16
[ 97.758804] /pci@1f,0: PCI IO[1fe02000000] MEM[1ff00100000]
[ 97.758898]
[ 97.759150] /pci@1f,0: Unable to request IOMMU resource.
[ 97.759226] /pci@1f,0: SABRE PCI Bus Module ver[0:0]
[ 97.759326] PCI: Scanning PBM /pci@1f,0
[ 97.761114] sabre ffe2b708: PCI host bridge to bus 0000:00
[ 97.761556] pci_bus 0000:00: root bus resource [io
0x1fe02000000-0x1fe0200ffff] (bus address [0x0000-0xffff])
[ 97.761713] pci_bus 0000:00: root bus resource [mem
0x1ff00100000-0x1ff100fffff] (bus address [0x00000000-0x0fffffff])
[ 97.762199] pci_bus 0000:00: root bus resource [bus 00-02]
[ 97.772891] pci 0000:00:01.0: can't claim BAR 13 [io
0x1000000-0x1fffff]: no compatible bridge window
[ 97.773069] pci 0000:00:01.1: can't claim BAR 13 [io
0x1000000-0x1fffff]: no compatible bridge window
[ 97.795477] HugeTLB registered 8 MB page size, pre-allocated 0 pages
[ 97.804936] vgaarb: setting as boot device: PCI:0000:00:02.0
[ 97.805153] vgaarb: device added:
PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
[ 97.805295] vgaarb: loaded
[ 97.805390] vgaarb: bridge control possible 0000:00:02.0
[ 97.819984] clocksource: Switched to clocksource tick
[ 97.957728] VFS: Disk quotas dquot_6.6.0
[ 97.958122] VFS: Dquot-cache hash table entries: 1024 (order 0, 8192
bytes)
[ 98.002578] NET: Registered protocol family 2
[ 98.009948] TCP established hash table entries: 8192 (order: 3, 65536
bytes)
[ 98.010282] TCP bind hash table entries: 8192 (order: 3, 65536 bytes)
[ 98.010609] TCP: Hash tables configured (established 8192 bind 8192)
[ 98.011601] UDP hash table entries: 512 (order: 1, 16384 bytes)
[ 98.011872] UDP-Lite hash table entries: 512 (order: 1, 16384 bytes)
[ 98.015084] NET: Registered protocol family 1
[ 98.022131] Unpacking initramfs...
[ 101.214015] Freeing initrd memory: 17760K (fffff80004400000 -
fffff80005558000)
[ 101.220439] audit: initializing netlink subsys (disabled)
[ 101.221442] audit: type=2000 audit(3.744:1): initialized
[ 101.225275] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[ 101.226122] zbud: loaded
[ 101.253187] Block layer SCSI generic (bsg) driver version 0.4 loaded
(major 252)
[ 101.254138] io scheduler noop registered
[ 101.254278] io scheduler deadline registered
[ 101.254669] io scheduler cfq registered (default)
[ 101.263149] ffe2edd8: ttyS0 at MMIO 0x1fe020003f8 (irq = 5, base_baud
= 115387) is a 16550A
[ 101.263467] Console: ttyS0 (SU)
[ 101.318583] console [ttyS0] enabled
[ 101.326588] mousedev: PS/2 mouse device common for all mice
[ 101.333724] ledtrig-cpu: registered to indicate activity on CPUs
[ 101.336641] NET: Registered protocol family 10
[ 101.354134] mip6: Mobile IPv6
[ 101.354622] NET: Registered protocol family 17
[ 101.355168] mpls_gso: MPLS GSO support
[ 101.360993] registered taskstats version 1
[ 101.362449] zswap: loaded using pool lzo/zbud
[ 101.367630] hctosys: unable to open rtc device (rtc0)
[ 101.418880] This architecture does not have kernel memory protection.
Loading, please wait...
starting version 232
[ 102.877391] random: systemd-udevd: uninitialized urandom read (16
bytes read)
[ 102.910207] random: systemd-udevd: uninitialized urandom read (16
bytes read)
[ 102.916917] random: systemd-udevd: uninitialized urandom read (16
bytes read)
[ 102.925175] random: systemd-udevd: uninitialized urandom read (16
bytes read)
[ 103.067366] random: udevadm: uninitialized urandom read (16 bytes read)
[ 103.075029] random: udevadm: uninitialized urandom read (16 bytes read)
[ 103.089928] random: udevadm: uninitialized urandom read (16 bytes read)
[ 103.102792] random: udevadm: uninitialized urandom read (16 bytes read)
[ 103.106543] random: udevadm: uninitialized urandom read (16 bytes read)
[ 103.113814] random: udevadm: uninitialized urandom read (16 bytes read)
[ 105.361657] e1000: Intel(R) PRO/1000 Network Driver - version
7.3.21-k8-NAPI
[ 105.362280] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 105.395431] SCSI subsystem initialized
[ 106.524278] e1000 0000:00:05.0 eth0: (PCI:33MHz:32-bit) 52:54:00:ce:98:e8
[ 106.525141] e1000 0000:00:05.0 eth0: Intel(R) PRO/1000 Network Connection
[ 106.597065] scsi host0: pata_cmd64x
[ 106.620528] scsi host1: pata_cmd64x
[ 106.622662] ata1: PATA max UDMA/33 cmd 0x1fe02000400 ctl
0x1fe02000480 bmdma 0x1fe02000600 irq 6
[ 106.623480] ata2: PATA max UDMA/33 cmd 0x1fe02000500 ctl
0x1fe02000580 bmdma 0x1fe02000608 irq 6
[ 106.801612] ata1.00: ATA-7: QEMU HARDDISK, 2.1.2, max UDMA/100
[ 106.802161] ata1.00: 16777216 sectors, multi 16: LBA48
[ 106.823475] ata1.00: configured for UDMA/33
[ 106.852820] scsi 0:0:0:0: Direct-Access ATA QEMU HARDDISK
2 PQ: 0 ANSI: 5
[ 107.369451] e1000 0000:00:05.0 enp0s5: renamed from eth0
[ 107.477130] sd 0:0:0:0: [sda] 16777216 512-byte logical blocks: (8.59
GB/8.00 GiB)
[ 107.484914] sd 0:0:0:0: [sda] Write Protect is off
[ 107.495405] sd 0:0:0:0: [sda] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 107.563763] sda: sda1 sda2 sda3
[ 107.612391] sd 0:0:0:0: [sda] Attached SCSI disk
[ 109.188643] device-mapper: uevent: version 1.0.3
[ 109.198682] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23)
initialised: dm-devel@redhat.com
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top
... WARNING: Failed to connect to lvmetad. Falling.
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
[ 112.672345] random: fast init done
done.
Begin: Running /scripts/local-premount ... [ 112.988868] PM: Starting
manual resume from disk
done.
[ 113.645616] aes_sparc64: sparc64 aes opcodes not available.
[ 113.691454] crc32c_sparc64: sparc64 crc32c opcode not available.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
[/sbin/fsck.ext4 (1) -- /dev/mapper/debsparc64--vg-root] fsck.ext4 -a
-C0 /dev/mapper/debsparc64--vg-root
/dev/mapper/debsparc64--vg-root: recovering journal
/dev/mapper/debsparc64--vg-root: clean, 17305/491904 files,
162543/1967104 blocks
done.
[ 116.511885] EXT4-fs (dm-0): mounted filesystem with ordered data
mode. Opts: (null)
done.
[ 116.528375] random: crng init done
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[ 119.872869] systemd[1]: System time before build time, advancing clock.
[ 120.294041] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 120.504819] systemd[1]: systemd 232 running in system mode. (+PAM
+AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP )
[ 120.509372] systemd[1]: Detected architecture sparc64.
Welcome to Debian GNU/Linux 9 (stretch)!
[ 120.557331] systemd[1]: Set hostname to <debsparc64>.
[ 126.115609] systemd[1]: Listening on Journal Audit Socket.
[ OK ] Listening on Journal Audit Socket.
[ 126.130676] systemd[1]: Listening on /dev/initctl Compatibility Named
Pipe.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ 126.141228] systemd[1]: Listening on Syslog Socket.
[ OK ] Listening on Syslog Socket.
[ 126.148451] systemd[1]: Listening on fsck to fsckd communication Socket.
[ OK ] Listening on fsck to fsckd communication Socket.
[ 126.158276] systemd[1]: Started Dispatch Password Requests to Console
Directory Watch.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ 126.166210] systemd[1]: Listening on LVM2 metadata daemon socket.
[ OK ] Listening on LVM2 metadata daemon socket.
[ 126.175423] systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
[ 126.199428] systemd[1]: Created slice System Slice.
[ OK ] Created slice System Slice.
[ 126.213205] systemd[1]: Created slice system-getty.slice.
[ OK ] Created slice system-getty.slice.
[ 126.280948] systemd[1]: Starting Set the console keyboard layout...
Starting Set the console keyboard layout...
[ OK ] Created slice system-serial\x2dgetty.slice.
Mounting POSIX Message Queue File System...
Starting Remount Root and Kernel File Systems...
Mounting Huge Pages File System...
[ OK ] Created slice system-systemd\x2dfsck.slice.
[ OK ] Reached target Slices.
Mounting Debug File System...
Starting Create list of required st��…ce nodes for the current
kernel...
[ OK ] Listening on udev Kernel Socket.
Starting Load Kernel Modules...
[ OK ] Listening on Device-mapper event daemon FIFOs.
Starting Monitoring of LVM2 mirrors��…ng dmeventd or progress
polling...
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ OK ] Reached target Paths.
[ OK ] Reached target Encrypted Volumes.
[ OK ] Listening on LVM2 poll daemon socket.
[ OK ] Listening on udev Control Socket.
[ OK ] Set up automount Arbitrary Executab��…rmats File System
Automount Point.
[ OK ] Reached target Remote File Systems.
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Reached target Sockets.
Starting Journal Service...
[ OK ] Mounted POSIX Message Queue File System.
[ 130.549125] EXT4-fs (dm-0): re-mounted. Opts: errors=remount-ro
[ OK ] Mounted Huge Pages File System.
[ OK ] Mounted Debug File System.
[ 131.130749] systemd[1]: Started Remount Root and Kernel File Systems.
[ OK ] Started Remount Root and Kernel File Systems.
[ 131.323761] systemd[1]: Started Create list of required static device
nodes for the current kernel.
[ OK ] Started Create list of required sta��…vice nodes for the
current kernel.
[ 131.449300] systemd[1]: Started Load Kernel Modules.
[ OK ] Started Load Kernel Modules.
[ 131.964548] systemd[1]: Starting Apply Kernel Variables...
Starting Apply Kernel Variables...
[ 132.258020] systemd[1]: Starting Create Static Device Nodes in /dev...
Starting Create Static Device Nodes in /dev...
[ 132.634402] systemd[1]: Starting Load/Save Random Seed...
Starting Load/Save Random Seed...
[ 133.091014] systemd[1]: Starting udev Coldplug all Devices...
Starting udev Coldplug all Devices...
[ 133.843075] systemd[1]: Started LVM2 metadata daemon.
[ OK ] Started LVM2 metadata daemon.
[ 134.859072] systemd[1]: Started Apply Kernel Variables.
[ OK ] Started Apply Kernel Variables.
[ 135.384365] systemd[1]: Started Load/Save Random Seed.
[ OK ] Started Load/Save Random Seed.
[ 136.688166] systemd[1]: Started Journal Service.
[ OK ] Started Journal Service.
[ OK ] Started Create Static Device Nodes in /dev.
Starting udev Kernel Device Manager...
Starting Flush Journal to Persistent Storage...
[ OK ] Started Monitoring of LVM2 mirrors,��…sing dmeventd or progress
polling.
[ 140.922710] systemd-journald[171]: Received request to flush runtime
journal from PID 1
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Found device /dev/ttyS0.
[ 152.075808] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 152.254281] [drm] Initialized
[ 152.997635] [drm] Found bochs VGA, ID 0xb0c5.
[ 152.998087] [drm] Framebuffer size 16384 kB @ 0x1ff01000000, mmio @
0x1ff02000000.
[ 153.045224] [TTM] Zone kernel: Available graphics memory: 510240 kiB
[ 153.045943] [TTM] Initializing pool allocator
[ OK ] Found device QEMU_HARDDISK.
Reply to: