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

Cannot login into sparc64 Debian port in qemu



Hi there,

sorry for asking for help with very basic question.

I've installed Debian debian-9.0-sparc64-NETINST-1.iso in qemu, which was successful:

qemu-system-sparc64 -hda debian-unstable-sparc64.qcow2 -cdrom debian-9.0-sparc64-NETINST-1.iso -boot once=d -serial pty -nographic -m 160

But running installed system "hangs" without ability to log in.

Running qemu:
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=debian-unstable-sparc64.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

Below is an output get from "minicom -p /dev/pts/6".

Thanks for any tip.


Kind regards,
Petr

...
Cannot manage 'ethernet controller' PCI device type 'network':
 8086 100e (2 0 0)
Configuration device id QEMU version 1 machine id 0
kernel cmdline 
CPUs: 1 x SUNW,UltraSPARC-IIi
UUID: ccd8b5c2-b8e4-4d5e-af19-9322cd8e55bf
Welcome to OpenBIOS v1.1 built on Nov 24 2016 21:23
  Type 'help' for detailed information
Trying disk:a...
Not a bootable ELF image
Loading a.out image...
Loaded 7680 bytes
entry point is 0x4000
SILO Version 1.4.14
boot: 
Allocated 64 Megs of memory at 0x40000000 for kernel
Uncompressing image...
Loaded kernel version 4.9.16
Loading initial ramdisk (17104500 bytes at 0x4400000 phys, 0x40C00000 virt)...
[    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) ) #1 Debian 4.9.16-1 (2017-03-22)
[    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 52049 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/sda4 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: 1003352K/1047040K available (5432K kernel code, 775K rwdata, 1440K rodata, 416K init, 645K bss, 43688K reserved, 0K cma-reserved)
[    0.000000] NR_IRQS:2048 nr_irqs:2048 1
[   46.723863] clocksource: tick: mask: 0xffffffffffffffff max_cycles: 0x171024e7e0, max_idle_ns: 440795205315 ns
[   46.724741] clocksource: mult[a000000] shift[24]
[   46.725648] clockevent: mult[1999999a] shift[32]
[   46.730265] Console: colour dummy device 80x25
[   46.732713] console [tty0] enabled
[   46.733667] 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) ) #1 Debian 4.9.16-1 (2017-03-22)
[    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 52049 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/sda4 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: 1003352K/1047040K available (5432K kernel code, 775K rwdata, 1440K rodata, 416K init, 645K bss, 43688K reserved, 0K cma-reserved)
[    0.000000] NR_IRQS:2048 nr_irqs:2048 1
[   46.723863] clocksource: tick: mask: 0xffffffffffffffff max_cycles: 0x171024e7e0, max_idle_ns: 440795205315 ns
[   46.724741] clocksource: mult[a000000] shift[24]
[   46.725648] clockevent: mult[1999999a] shift[32]
[   46.730265] Console: colour dummy device 80x25
[   46.732713] console [tty0] enabled
[   46.733667] bootconsole [earlyprom0] disabled
[   46.813186] Calibrating delay using timer specific routine.. 203.22 BogoMIPS (lpj=406453)
[   46.813401] pid_max: default: 32768 minimum: 301
[   46.814692] Security Framework initialized
[   46.814764] Yama: disabled by default; enable with sysctl kernel.yama.*
[   46.815542] AppArmor: AppArmor disabled by boot time parameter
[   46.816059] Mount-cache hash table entries: 2048 (order: 1, 16384 bytes)
[   46.816115] Mountpoint-cache hash table entries: 2048 (order: 1, 16384 bytes)
[   46.825874] ftrace: allocating 18398 entries in 36 pages
[   46.895808] devtmpfs: initialized
[   46.902444] Performance events: No support for PMU type 'ultra12'
[   46.904101] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[   46.904250] futex hash table entries: 256 (order: -1, 6144 bytes)
[   46.908918] NET: Registered protocol family 16
[   46.925966] /pci@1f,0: PCI IO[1fe02000000] MEM[1ff00100000]
[   46.926012] 
[   46.926176] /pci@1f,0: Unable to request IOMMU resource.
[   46.926218] /pci@1f,0: SABRE PCI Bus Module ver[0:0]
[   46.926279] PCI: Scanning PBM /pci@1f,0
[   46.927316] sabre ffe2d650: PCI host bridge to bus 0000:00
[   46.927595] pci_bus 0000:00: root bus resource [io  0x1fe02000000-0x1fe0200ffff] (bus address [0x0000-0xffff])
[   46.927678] pci_bus 0000:00: root bus resource [mem 0x1ff00100000-0x1ff100fffff] (bus address [0x00000000-0x0fffffff])
[   46.927993] pci_bus 0000:00: root bus resource [bus 00-02]
[   46.933967] pci 0000:00:01.0: can't claim BAR 13 [io  0x1000000-0x1fffff]: no compatible bridge window
[   46.934057] pci 0000:00:01.1: can't claim BAR 13 [io  0x1000000-0x1fffff]: no compatible bridge window
[   46.945979] HugeTLB registered 8 MB page size, pre-allocated 0 pages
[   46.951755] vgaarb: setting as boot device: PCI:0000:00:02.0
[   46.951875] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
[   46.952024] vgaarb: loaded
[   46.952077] vgaarb: bridge control possible 0000:00:02.0
[   46.958513] /pci@1f,0/ebus@3/eeprom@14,2000: Mostek regs at 0x1fe02006000
[   46.960349] clocksource: Switched to clocksource tick
[   47.023366] VFS: Disk quotas dquot_6.6.0
[   47.023586] VFS: Dquot-cache hash table entries: 1024 (order 0, 8192 bytes)
[   47.045385] NET: Registered protocol family 2
[   47.049883] TCP established hash table entries: 8192 (order: 3, 65536 bytes)
[   47.050038] TCP bind hash table entries: 8192 (order: 3, 65536 bytes)
[   47.050201] TCP: Hash tables configured (established 8192 bind 8192)
[   47.050811] UDP hash table entries: 512 (order: 1, 16384 bytes)
[   47.050940] UDP-Lite hash table entries: 512 (order: 1, 16384 bytes)
[   47.053112] NET: Registered protocol family 1
[   47.057915] Unpacking initramfs...
[   48.095607] Freeing initrd memory: 16696K (fffff80004400000 - fffff8000544e000)
[   48.098802] audit: initializing netlink subsys (disabled)
[   48.099442] audit: type=2000 audit(1.356:1): initialized
[   48.101660] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[   48.102136] zbud: loaded
[   48.121421] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[   48.121929] io scheduler noop registered
[   48.122006] io scheduler deadline registered
[   48.122299] io scheduler cfq registered (default)
[   48.127161] ffe30ea8: ttyS0 at MMIO 0x1fe020043f8 (irq = 5, base_baud = 115387) is a 16550A
[   48.127340] Console: ttyS0 (SU)
[   48.154118] console [ttyS0] enabled
[   48.158328] mousedev: PS/2 mouse device common for all mice
[   48.165462] rtc-m48t59 rtc-m48t59.0: rtc core: registered m48t59 as rtc0
[   48.166752] ledtrig-cpu: registered to indicate activity on CPUs
[   48.169383] NET: Registered protocol family 10
[   48.176525] mip6: Mobile IPv6
[   48.176812] NET: Registered protocol family 17
[   48.177163] mpls_gso: MPLS GSO support
[   48.185276] registered taskstats version 1
[   48.186578] zswap: loaded using pool lzo/zbud
[   48.191921] rtc-m48t59 rtc-m48t59.0: setting system clock to 2017-05-12 07:47:48 UTC (1494575268)
[   48.222411] This architecture does not have kernel memory protection.
Loading, please wait...
starting version 232
[   48.667954] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[   48.687464] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[   48.693264] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[   48.699830] random: udevadm: uninitialized urandom read (16 bytes read)
[   48.716834] random: udevadm: uninitialized urandom read (16 bytes read)
[   48.727860] random: udevadm: uninitialized urandom read (16 bytes read)
[   48.739817] random: udevadm: uninitialized urandom read (16 bytes read)
[   48.747688] random: udevadm: uninitialized urandom read (16 bytes read)
[   48.755702] random: udevadm: uninitialized urandom read (16 bytes read)
[   48.758203] random: udevadm: uninitialized urandom read (16 bytes read)
[   49.471404] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[   49.472218] e1000: Copyright (c) 1999-2006 Intel Corporation.
[   49.500501] SCSI subsystem initialized
[   50.303259] e1000 0000:00:05.0 eth0: (PCI:33MHz:32-bit) 52:54:00:ce:98:e8
[   50.304034] e1000 0000:00:05.0 eth0: Intel(R) PRO/1000 Network Connection
[   50.340426] scsi host0: pata_cmd64x
[   50.348307] scsi host1: pata_cmd64x
[   50.349333] ata1: PATA max UDMA/33 cmd 0x1fe02008000 ctl 0x1fe02008080 bmdma 0x1fe02008200 irq 6
[   50.349926] ata2: PATA max UDMA/33 cmd 0x1fe02008100 ctl 0x1fe02008180 bmdma 0x1fe02008208 irq 6
[   50.374940] e1000 0000:00:05.0 enp0s5: renamed from eth0
[   50.516420] ata1.00: ATA-7: QEMU HARDDISK, 2.5+, max UDMA/100
[   50.516944] ata1.00: 10485760 sectors, multi 16: LBA48 
[   50.518902] ata1.00: configured for UDMA/33
[   50.527531] scsi 0:0:0:0: Direct-Access     ATA      QEMU HARDDISK    2.5+ PQ: 0 ANSI: 5
[   50.791692] sd 0:0:0:0: [sda] 10485760 512-byte logical blocks: (5.37 GB/5.00 GiB)
[   50.798932] sd 0:0:0:0: [sda] Write Protect is off
[   50.799965] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   50.817255]  sda: sda1 sda2 sda3 sda4
[   50.834101] sd 0:0:0:0: [sda] Attached SCSI disk
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... [   51.271049] PM: Starting manual resume from disk
done.
[   51.438768] aes_sparc64: sparc64 aes opcodes not available.
[   51.465789] 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/sda4] fsck.ext4 -a -C0 /dev/sda4 
/dev/sda4: recovering journal
/dev/sda4: clean, 17084/279072 files, 143383/1114112 blocks
done.
[   51.874474] EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
done.
[   51.881612] random: fast init done
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[   52.743294] ip_tables: (C) 2000-2006 Netfilter Core Team
[   52.831871] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[   52.835131] systemd[1]: Detected architecture sparc64.

Welcome to Debian GNU/Linux 9 (stretch)!

[   52.855987] systemd[1]: Set hostname to <debian-testing-sparc64>.
[   54.155123] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   54.164813] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[   54.171210] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[   54.181000] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount Arbitrary Executab…rmats File System Automount Point.
[   54.186353] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   54.190473] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[   54.194215] systemd[1]: Reached target Encrypted Volumes.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Created slice System Slice.
         Mounting Huge Pages File System...
[  OK  ] Created slice system-systemd\x2dfsck.slice.
[  OK  ] Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Listening on Journal Socket.
         Starting Create list of required st…ce nodes for the current kernel...
         Starting Set the console keyboard layout...
         Starting Remount Root and Kernel File Systems...
         Starting Load Kernel Modules...
[  OK  ] Listening on Syslog Socket.
         Starting Journal Service...
[  OK  ] Reached target Sockets.
         Mounting Debug File System...
[  OK  ] Reached target Paths.
         Mounting POSIX Message Queue File System...
[  OK  ] Created slice system-getty.slice.
[  OK  ] Reached target Slices.
[   55.278724] EXT4-fs (sda4): re-mounted. Opts: errors=remount-ro
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Mounted Debug File System.
[   55.512744] random: crng init done
[  OK  ] Started Create list of required sta…vice nodes for the current kernel.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Load Kernel Modules.
         Starting Apply Kernel Variables...
         Starting Load/Save Random Seed...
         Starting udev Coldplug all Devices...
         Starting Create Static Device Nodes in /dev...
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Create Static Device Nodes in /dev.
[   57.512359] systemd-journald[139]: Received request to flush runtime journal from PID 1
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting udev Kernel Device Manager...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Found device /dev/ttyS0.
[   60.048435] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   60.237781] [drm] Initialized
[   60.461747] [drm] Found bochs VGA, ID 0xb0c5.
[   60.462187] [drm] Framebuffer size 16384 kB @ 0x1ff01000000, mmio @ 0x1ff02000000.
[   60.492653] [TTM] Zone  kernel: Available graphics memory: 510232 kiB
[   60.493133] [TTM] Initializing pool allocator


Reply to: