Igor Kovalenko wrote:
With many debian iso images I consistently get scrolling blanks after the following line on qemu video console:
io sched cfq registered (default)
Please share your qemu command line, and installer prompt input if any.
Yeah, I do too. I originally thought that the Debian kernel was broken, but if you leave it long enough then it does proceed to the end. My guess is that there is a bug in the OpenBIOS console which is obscuring the output.
The first part of the boot below happens reasonably quickly; then like you the console puts out lots of junk before it returns:
OpenBIOS for Sparc64 Configuration device id QEMU version 1 machine id 0 kernel cmdline CPUs: 1 x SUNW,UltraSPARC-IIi UUID: 00000000-0000-0000-0000-000000000000 Welcome to OpenBIOS v1.0 built on May 28 2010 08:24 Type 'help' for detailed information
[sparc64] Booting file 'cdrom' with parameters '' Not a bootable ELF image Not a Linux kernel image Loading a.out image... Loaded 7680 bytes entry point is 0x4000
Jumping to entry point 0000000000004000 for type 0000000000000005... switching to new context: entry point 0x4000 stack 0x00000000ffe02b51 SILO Version 1.4.13 \
Welcome to Debian GNU/Linux lenny!
This is a Debian installation CDROM, built on 20100201-16:54. Keep it once you have installed your system, as you can boot from it to repair the system on your hard disk if that ever becomes necessary.
WARNING: You should completely back up all of your hard disks before proceeding. The installation procedure can completely and irreversibly erase them! If you haven't made backups yet, remove the rescue CD from the drive and press L1-A to get back to the OpenBoot prompt.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.
[ ENTER - Boot install ] [ Type "expert" - Boot into expert mode ] [ Type "rescue" - Boot into rescue mode ] boot: Allocated 8 Megs of memory at 0x40000000 for kernel Loaded kernel version 2.6.26 Loading initial ramdisk (4312781 bytes at 0xC00000 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] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.26-2-sparc64 (Debian 2.6.26-21) (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 Tue Jan 12 22:16:05 UTC 2010 [ 0.000000] console [earlyprom0] enabled [ 0.000000] ARCH: SUN4U [ 0.000000] Ethernet address: 52:54:00:12:34:56 [ 0.000000] Kernel: Using 1 locked TLB entries for main kernel image. [ 0.000000] Remapping the kernel... done. [ 0.000000] OF stdout device is: /pci@1fe,0/ebus@3/su [ 0.000000] PROM: Built device tree with 32655 bytes of memory. [ 0.000000] Top of RAM: 0x7e80000, Total RAM: 0x7e80000 [ 0.000000] Memory hole size: 0MB [ 0.000000] [0000000200000000-fffff80000800000] page_structs=131072 node=0 entry=0/0 [ 0.000000] [0000000200000000-fffff80001400000] page_structs=131072 node=0 entry=1/0 [ 0.000000] Zone PFN ranges: [ 0.000000] Normal 0 -> 16192 [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[1] active PFN ranges [ 0.000000] 0: 0 -> 16192 [ 0.000000] Booting Linux... [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16081 [ 0.000000] Kernel command line: [ 0.000000] PID hash table entries: 512 (order: 9, 4096 bytes) [ 0.000000] clocksource: mult[a0000] shift[16] [ 0.000000] clockevent: mult[19999999] shift[32] [ 11.273908] Console: colour dummy device 80x25 [ 11.339826] console handover: boot [earlyprom0] -> real [tty0]
.... the console then prints blocks along the RHS of the screen for about 60s on my Intel Core 2 1.83GHz before returning...
[ 40.450573] Console: switching to mono PROM 128x96 [ 60.624138] [drm] Initialized drm 1.1.0 20060810 [ 60.725621] ffe2df18: ttyS0 at MMIO 0x1fe020003f8 (irq = 0) is a 16550A [ 60.849637] Console: ttyS0 (SU) [ 60.931684] console [ttyS0] enabled [ 0.000000] PROMLIB: Sun IEEE Boot Prom 'OBP 3.10.24 1999/01/01 01:01' [ 0.000000] PROMLIB: Root node compatible: sun4u .24 1999/01/01 01:01' [ 0.000000] Initializing cgroup subsys cpu sun4u [ 0.000000] Linux version 2.6.26-2-sparc64 (Debian 2.6.26-21) (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Deeebian 4.1.2-25)) #1 Tue Jan 12 22:16:05 U bian 4.1.2-25)) #1 Tue Jan 12 22:16:05 UTC 2010 [ 0.000000] console [earlyprom0] enabled 4 (Debian 2.6.26-21) (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (De [ 0.000000] ARCH: SUN4U lyprom0] enabled [ 0.000000] Ethernet address: 52:54:00:12:34:56 [ 0.000000] Kernel: Using 1 locked TLB entries for main kernel image. [ 0.000000] Remapping the kernel... done. ries for main kernel image. [ 0.000000] OF stdout device is: /pci@1fe,0/ebus@3/su [ 0.000000] PROM: Built device tree with 32655 bytes of memory. [ 0.000000] Top of RAM: 0x7e80000, Total RAM: 0x7e80000 memory. 0.000000] [0000000200000000-fffff80000800000] page_structs=131072 node=0 entry=0/0 0.000000] Zone PFN ranges: -fffff80001400000] page_structs=131072 node=0 entry=1/0 0.000000] Movable zone start PFN for each node 0.000000] 0: 0 -> 16192 ranges 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16081 0.000000] PID hash table entries: 512 (order: 9, 4096 bytes) 0.000000] clockevent: mult[19999999] shift[32] 10.861313] console handover: boot [earlyprom0] -> real [tty0] 10.943240] Inode-cache hash table entries: 8192 (order: 3, 65536 bytes)es) 11.052494] Calibrating delay using timer specific routine.. 203.38 BogoMIPS (lpj=406760)00000000,0000000007e80000] 11.057509] SELinux: Disabled at boot.zed 11.058937] Mount-cache hash table entries: 512 11.073067] Initializing cgroup subsys cpuacct 11.107516] net_namespace: 1208 bytess devices 11.160324] PCI: Probing for controllers.ly 16 11.166356] /pci@1f,0: PCI IO[1fe02000000] MEM[1ff00000000] 11.182694] ebus0: [fdthree] [su] [kb_ps2] 11.218962] usbcore: registered new interface driver hubfs 11.256772] NET: Registered protocol family 2iver usb 11.305741] TCP established hash table entries: 4096 (order: 3, 65536 bytes) 11.307073] TCP: Hash tables configured (established 4096 bind 4096)) [ 11.307399] TCP reno registerednfigured (established 4096 bind 4096) [ 11.317930] NET: Registered protocol family 1 [ 11.329393] checking if image is initramfs... it is [ 19.232833] Freeing initrd memory: 4211k freedit is [ 19.241377] audit: initializing netlink socket (disabled) [ 19.242582] type=2000 audit(8.292:1): initializedisabled) [ 19.246130] Total HugeTLB memory allocated, 0ized [ 19.250809] VFS: Disk quotas dquot_6.5.1ed, 0 [ 19.251650] Dquot-cache hash table entries: 1024 (order 0, 8192 bytes) [ 19.254760] msgmni has been set to 228ries: 1024 (order 0, 8192 bytes) [ 19.258260] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 19.258713] io scheduler noop registeredg) driver version 0.4 loaded (major 253) [ 19.258713] io scheduler noop registered [ 19.258943] io scheduler anticipatory registered [ 19.258943] io scheduler anticipatory registered [ 19.259135] io scheduler deadline registered [ 19.259135] io scheduler deadline registered [ 19.259503] io scheduler cfq registered (default) [ 19.259503] io scheduler cfq registered (default) [ 40.450573] Console: switching to mono PROM 128x96 [ 40.450573] Console: switching to mono PROM 128x96 [ 60.624138] [drm] Initialized drm 1.1.0 20060810 [ 60.624138] [drm] Initialized drm 1.1.0 20060810 [ 60.725621] ffe2df18: ttyS0 at MMIO 0x1fe020003f8 (irq = 0) is a 16550A [ 60.725621] ffe2df18: ttyS0 at MMIO 0x1fe020003f8 (irq = 0) is a 16550A [ 60.849637] Console: ttyS0 (SU) [ 60.849637] Console: ttyS0 (SU) [ 60.931684] console [ttyS0] enabled [ 60.931684] console [ttyS0] enabled [ 68.952023] brd: module loaded [ 68.952023] brd: module loaded [ 69.074597] loop: module loaded [ 69.074597] loop: module loaded [ 69.185675] Uniform Multi-Platform E-IDE driver [ 69.185675] Uniform Multi-Platform E-IDE driver [ 69.315268] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx [ 69.315268] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx [ 69.500789] mice: PS/2 mouse device common for all mice [ 69.500789] mice: PS/2 mouse device common for all mice [ 69.646046] usbcore: registered new interface driver usbhid [ 69.646046] usbcore: registered new interface driver usbhid [ 69.793655] usbhid: v2.6:USB HID core driver [ 69.793655] usbhid: v2.6:USB HID core driver [ 69.928176] TCP cubic registered [ 69.928176] TCP cubic registered [ 70.038642] NET: Registered protocol family 17 [ 70.038642] NET: Registered protocol family 17 [ 70.172972] registered taskstats version 1 [ 70.172972] registered taskstats version 1 [ 70.297926] drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 70.297926] drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 70.482657] su: Cannot register IRQ 0 [ 70.482657] su: Cannot register IRQ 0 qemu: fatal: Trap 0x0068 while trap level (5) >= MAXTL (5), Error state pc: 0000000000424d18 npc: 0000000000424d1c General Registers: %g0-3: 0000000000000000 0000000008000000 0000000000004000 0000000000000002 %g4-7: 00000000000003fe 0000000000000001 0000000000000020 0000000000004000
Current Register Window: %o0-3: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 %o4-7: 0000000000000000 0000000000000000 00000000ffb29ef0 0000000000000000 %l0-3: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 %l4-7: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 %i0-3: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 %i4-7: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
Floating Point Registers: %f00: 000000000.000000 000000000.000000 000000000.000000 000000000.000000 %f04: 000000000.000000 000000000.000000 000000000.000000 000000000.000000 %f08: 000000000.000000 000000000.000000 000000000.000000 000000000.000000 %f12: 000000000.000000 000000000.000000 000000000.000000 000000000.000000 %f16: 000000000.000000 000000000.000000 000000000.000000 000000000.000000 %f20: 000000000.000000 000000000.000000 000000000.000000 000000000.000000 %f24: 000000000.000000 000000000.000000 000000000.000000 000000000.000000 %f28: 000000000.000000 000000000.000000 000000000.000000 000000000.000000 %f32: 000000000.000000 000000000.000000 000000000.000000 000000000.000000 %f36: 000000000.000000 000000000.000000 000000000.000000 000000000.000000 %f40: 000000000.000000 000000000.000000 000000000.000000 000000000.000000 %f44: 000000000.000000 000000000.000000 000000000.000000 000000000.000000 %f48: 000000000.000000 000000000.000000 000000000.000000 000000000.000000 %f52: 000000000.000000 000000000.000000 000000000.000000 000000000.000000 %f56: 000000000.000000 000000000.000000 000000000.000000 000000000.000000 %f60: 000000000.000000 000000000.000000 000000000.000000 000000000.000000 pstate: 00000414 ccr: 00 (icc: ---- xcc: ----) asi: 82 tl: 5 pil: 0 cansave: 6 canrestore: 0 otherwin: 0 wstate: 2 cleanwin: 0 cwp: 7 fsr: 0000000000000000 y: 0000000000000000 fprs: 0000000000000000 Aborted
It looks like your latest set of OpenBIOS patches has helped with the serial port, since before these the buffered portion (i.e. the part that I imagine is supposed to appear at the time when the blocks are being drawn on the console) never used to appear. Not quite sure why some of the entries are duplicated though.
Finally, the command line I am using is:
./qemu-system-sparc64 -cdrom debian-504-sparc-netinst.iso -nographic -boot d
HTH,
Mark.