qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] SPARC not booting (SMP)


From: Jose Renau
Subject: Re: [Qemu-devel] SPARC not booting (SMP)
Date: Tue, 29 Aug 2006 10:16:28 -0700


I tried to boot using a 2.4 (debian) kernel that it is SMP ready. It goes ahead quite a bit, but still fails.
It never finish the "Initializing RT netlink socket" step.

I tried the non-smp kernel (debian distributionn), and works fine. Any hints?

______________
SMP BOOT
./sparc-softmmu/qemu-system-sparc -smp 2 -L pc-bios -kernel ./sparc-test/vmlinux-2.4.27-2-sparc32-smp -initrd ./sparc-test/sun4m.img -append "root=/dev/ram ramdisk=8192" -cdrom ./sparc-test/aurora-1.0-sparc-disc1.iso -nographic
starting qemu...
(qemu)
Nvram id QEMU_BIOS, version 1
CPUs: 2
nvram error detected, zapping pram
Welcome to OpenBIOS v1.0RC1 built on Aug 12 2006 01:31
  Type 'help' for detailed information

[sparc] Kernel already loaded
PROMLIB: obio_ranges 1
bootmem_init: Scan sp_banks, init_bootmem(spfn[271],bpfn[271],mlpfn[7f8b])
free_bootmem: base[0] size[7f8b000]
reserve_bootmem: base[800000] size[7d0000]
reserve_bootmem: base[0] size[271000]
reserve_bootmem: base[271000] size[ff4]
Booting Linux...
mem_init: Calling free_all_bootmem().
PROMLIB: Sun Boot Prom Version 3 Revision 2
Linux version 2.4.27-2-sparc32-smp (address@hidden) (gcc version 3.3.6 (Debian 1:3.3.6-12)) #2 SMP Sat Dec 31 14:44:25 PST 2005
ARCH: SUN4M
TYPE: SPARCstation 5
Ethernet address: 52:54:0:12:34:56
Boot time fixup v1.6. 4/Mar/98 Jakub Jelinek (address@hidden). Patching kernel for srmmu[Fujitsu Swift]/iommu
On node 0 totalpages: 30025
zone(0): 32651 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Found CPU 0 <node=ffd50e9c,mid=0>
Found CPU 1 <node=ffd511e0,mid=8>
Found 2 CPU prom device tree node(s).
Power off control detected.
Kernel command line: root=/dev/ram ramdisk=8192
Calibrating delay loop... 69.42 BogoMIPS
Memory: 116488k available (1648k kernel code, 232k data, 148k init, 0k highmem) [f0000000,07f8b000]
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
POSIX conformance testing by UNIFIX
Entering SMP Mode...
Starting CPU 1 at f01e46e4
Processor 1 is stuck.
Error: only one Processor found.
Waiting on wait_init_idle (map = 0x0)
All processors have done init_idle
IOMMU: impl 0 vers 4 page table at f7f00000 of size 262144 bytes
sbus0: Clock 21.1250 MHz
dma0: Revision 2
dma1: Revision 2
Sparc Zilog8530 serial driver version 1.68.2.2
Sun Mouse-Systems mouse driver version 1.00
tty00 at 0xffe70004 (irq = 44) is a Zilog8530
tty01 at 0xffe70000 (irq = 44) is a Zilog8530
tty02 at 0xffe71004 (irq = 44) is a Zilog8530
tty03 at 0xffe71000 (irq = 44) is a Zilog8530
Sun TYPE 5 keyboard detected without keyclick
Console: ttyS0 (Zilog8530)
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket


-------------
NON-SMP Boot
./sparc-softmmu/qemu-system-sparc -smp 2 -L pc-bios -kernel ./sparc-test/vmlinux-2.4.27-2-sparc32 -initrd ./sparc-test/sun4m.img -append "root=/dev/ram ramdisk=8192" -cdrom ./sparc-test/aurora-1.0-sparc-disc1.iso -nographic
starting qemu...
(qemu)
Nvram id QEMU_BIOS, version 1
CPUs: 2
nvram error detected, zapping pram
Welcome to OpenBIOS v1.0RC1 built on Aug 12 2006 01:31
  Type 'help' for detailed information

[sparc] Kernel already loaded
PROMLIB: obio_ranges 1
bootmem_init: Scan sp_banks, init_bootmem(spfn[20a],bpfn[20a],mlpfn[7f8b])
free_bootmem: base[0] size[7f8b000]
reserve_bootmem: base[800000] size[7d0000]
reserve_bootmem: base[0] size[20a000]
reserve_bootmem: base[20a000] size[ff4]
Booting Linux...
mem_init: Calling free_all_bootmem().
PROMLIB: Sun Boot Prom Version 3 Revision 2
Linux version 2.4.27-2-sparc32 (address@hidden) (gcc version 3.3.5 (Debian 1:3.3.5-8)) #1 Tue Feb 15 00:11:41 PST 2005
ARCH: SUN4M
TYPE: SPARCstation 5
Ethernet address: 52:54:0:12:34:56
Boot time fixup v1.6. 4/Mar/98 Jakub Jelinek (address@hidden). Patching kernel for srmmu[Fujitsu Swift]/iommu
On node 0 totalpages: 30128
zone(0): 32651 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Found CPU 0 <node=ffd50e9c,mid=0>
Found CPU 1 <node=ffd511e0,mid=8>
Found 2 CPU prom device tree node(s).
Power off control detected.
Kernel command line: root=/dev/ram ramdisk=8192
Calibrating delay loop... 65.33 BogoMIPS
Memory: 116900k available (1436k kernel code, 220k data, 128k init, 0k highmem) [f0000000,07f8b000]
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
POSIX conformance testing by UNIFIX
IOMMU: impl 0 vers 4 page table at f05c0000 of size 262144 bytes
sbus0: Clock 21.1250 MHz
dma0: Revision 2
dma1: Revision 2
Sparc Zilog8530 serial driver version 1.68.2.2
Sun Mouse-Systems mouse driver version 1.00
tty00 at 0xffe70004 (irq = 44) is a Zilog8530
tty01 at 0xffe70000 (irq = 44) is a Zilog8530
tty02 at 0xffe71004 (irq = 44) is a Zilog8530
tty03 at 0xffe71000 (irq = 44) is a Zilog8530
Sun TYPE 5 keyboard detected without keyclick
Console: ttyS0 (Zilog8530)
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
devfs: v1.12c (20020818) Richard Gooch (address@hidden)
devfs: boot_options: 0x0
pty: 256 Unix98 ptys configured
Floppy drive(s): fd0 is 1.44M
ioremap: done with statics, switching to malloc
FDC 0 is a S82078B
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 8000 blocks [1 disk] into ram disk... done.
Freeing initrd memory: 8000k freed
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 128k freed
sh: can't access tty; job control turned off
#



On Aug 29, 2006, at 10:06 AM, Blue Swirl wrote:

I have some problems (Linux and OS X) trying to run the spart-test-0.2. When I
run the following command. I just get a blank screen.

That's because openbios-sparc32 image is not updated yet to the latest version (svn r79) which fixes the bug. As a workaround, please add -cdrom /some/file.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

--
You can't do something you don't know, if you keep on doing what you do know. by F.M. Alexander





reply via email to

[Prev in Thread] Current Thread [Next in Thread]