Blue Swirl wrote:
boot: Allocated 8 Megs of memory at 0x40000000 for kernel Loaded kernel version 2.6.26 Loading initial ramdisk (4300466 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-17) (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 Sun Jun 21 04:31:33 UTC 2009 [ 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/pci@1/pci@1,1/ebus@3/su@1fe [ 0.000000] PROM: Built device tree with 32942 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] [ 40.504885] Console: colour dummy device 80x25 [ 40.737695] console handover: boot [earlyprom0] -> real [tty0]
after this nothing happens. Same with graphical console.
Hmmm that's weird. I get the following:
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/pci@1/pci@1,1/ebus@3/su@1fe [ 0.000000] PROM: Built device tree with 31881 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] [ 7.357542] Console: colour dummy device 80x25 [ 7.400290] console handover: boot [earlyprom0] -> real [tty0]
And then if I leave it another 20-30s then I get lots of console output followed by eventually:
[ 29.264039] Console: switching to mono PROM 128x96 [ 42.284272] [drm] Initialized drm 1.1.0 20060810 [ 42.349671] su: probe of ffe2d760 failed with error -12 [ 42.452645] brd: module loaded [ 42.514544] loop: module loaded [ 42.563405] Uniform Multi-Platform E-IDE driver [ 42.624159] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx [ 42.724442] mice: PS/2 mouse device common for all mice [ 42.798597] usbcore: registered new interface driver usbhid [ 42.869024] usbhid: v2.6:USB HID core driver [ 42.938149] TCP cubic registered [ 42.987376] NET: Registered protocol family 17 [ 43.050789] registered taskstats version 1 [ 43.109580] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Could it be that you're running on quite a slow machine? The fact it takes your kernel 40s to get where mine does in 7s seems a bit strange.
Or perhaps it could be a regression in Qemu as I haven't updated for a while? git log shows my last commit as being:
commit 7a9773563c99a86aec454f9e14f7a19ca1f87659 Author: Edgar E. Iglesias edgar.iglesias@gmail.com Date: Mon Feb 15 11:47:34 2010 +0100
cris: Add v10 style interrupts.
Signed-off-by: Edgar E. Iglesias edgar.iglesias@gmail.com
I'll try a git pull again and see if I get anything different.
ATB,
Mark.