SMP Proll image
Hi,
The attached Proll image can be used to test Qemu (latest CVS) Sparc32 SMP support. Example:
$ qemu-system-sparc -L ~/proll -kernel ~/vmlinuz-2.2.17-14smp -append "console=prom -p" -nographic -smp 4 (qemu) PROLL ID18 QEMU CPUs: 4 128 MB total IOMMU: impl 0 vers 0 page table at 0xFFD20000 of size 32768 bytes NVRAM: id QEMU_BIOS version 1 Prom console: serial dma0: Revision 0 le0: LANCE 52:54:0:12:34:56 le0: using TPE. dma1: Revision 2 Boot device: d Kernel already loaded Memory used: virt 0xFFD00000:0xFFD372BC[220K] iomap 0xFFD3C000:0xFFD4B000 PROMLIB: Sun Boot Prom Version 3 Revision 77 Linux version 2.2.17-14smp ([email protected]) (gcc version egcs-2.91.6 6 19990314/Linux (egcs-1.1.2 release)) #1 SMP Mon Feb 5 17:50:05 EST 2001 ARCH: SUN4M Unknown boot switch (-p) TYPE: SparcStation Ethernet address: 52:54:0:12:34:56 Boot time fixup v1.6. 4/Mar/98 Jakub Jelinek ([email protected]). Patching kerne l for srmmu[Fujitsu Swift]/iommu [0]: v[f0000000,f7fc4000](7fc4000) p[00000000] SRMMU: Compact physical memory. Using strightforward VA<->PA translations. Found CPU 0 <node=00000019,mid=0> Found CPU 1 <node=0000001a,mid=1> Found CPU 2 <node=0000001b,mid=2> Found CPU 3 <node=0000001c,mid=3> Found 4 CPU prom device tree node(s). Power off control detected. Console: mono PROM 80x25 Calibrating delay loop... 182.27 BogoMIPS Memory: 127356k available (1316k kernel code, 2032k data, 128k init) [f0000000,f 8000000] Dentry hash table entries: 16384 (order 5, 128k) Buffer cache hash table entries: 131072 (order 7, 512k) Page cache hash table entries: 32768 (order 5, 128k) VFS: Diskquotas version dquot_6.4.0 initialized POSIX conformance testing by UNIFIX Entering SMP Mode... Starting CPU 1 at f019ad04 Calibrating delay loop... 182.27 BogoMIPS Starting CPU 2 at f019ad10 Calibrating delay loop... 182.68 BogoMIPS Starting CPU 3 at f019ad1c Calibrating delay loop... 182.68 BogoMIPS Total of 4 Processors activated (729.91 BogoMIPS). IOMMU: impl 0 vers 4 page table at f03c0000 of size 262144 bytes sbus0: Clock 25.0 MHz dma0: Revision 2 dma1: Revision 2 Linux NET4.0 for Linux 2.2 Based upon Swansea University Computer Society NET3.039 NET4: Unix domain sockets 1.0 for Linux NET4.0. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP TCP: Hash tables configured (ehash 131072 bhash 65536) IPVS: Connection hash table configured (size=4096, memory=32Kbytes) Linux IP multicast router 0.06 plus PIM-SM Initializing RT netlink socket Starting kswapd v 1.5
And then the kernel hangs.
At register level, Sun4m architecture supports up to 16 CPUs, but Linux limits the number to 4. I guess that's the hardware limit on real machines.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/