Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ep7h8-0006Ff-QC for qemu-devel@nongnu.org; Wed, 21 Dec 2005 12:24:07 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ep7h5-0006DL-Il for qemu-devel@nongnu.org; Wed, 21 Dec 2005 12:24:04 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ep7h5-0006D0-0G for qemu-devel@nongnu.org; Wed, 21 Dec 2005 12:24:03 -0500 Received: from [130.206.1.3] (helo=chico.rediris.es) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ep7kP-0008NQ-8V for qemu-devel@nongnu.org; Wed, 21 Dec 2005 12:27:29 -0500 Received: from rediris.es (login.rediris.es [130.206.1.21]) by chico.rediris.es (8.12.10/8.9.1) with ESMTP id jBLHN0kR021577 for ; Wed, 21 Dec 2005 18:23:00 +0100 (CET) Message-Id: <200512211723.jBLHN0kR021577@chico.rediris.es> From: Francisco Jesus Monserrat Coll Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1135185780_3680P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Wed, 21 Dec 2005 18:23:00 +0100 Subject: [Qemu-devel] Some test with the SPARC system emulator Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --==_Exmh_1135185780_3680P Content-Type: text/plain; charset=us-ascii Hello, I'd done some testing of the SPARC system emulator, qemu-system-sparc with several operating systems, using the last CVS version, with very small success, I have tested the following operating systems: - Debian Linux 3.1r0a , trying to boot from CDROM. - SunOS 4.1.4 , from cdrom - SunOS 2.3 From CDROM - NetBSD from cdrom. - NetBSD from a disk image I'm planning to test also with a disk image of a Running Solaris 8 system (it seems that solaris 9 and 10 requires an ultrasparc chip). regards paco Below there is the results: --------------------------------------------- Debian Linux 3.1r0a Using the debian-31r0a-sparc-businesscard.iso image , the system load the boot sector from the cdrom and Linux kernel is boot, but the system fails at the end: qemu/sparc-softmmu/qemu-system-sparc -nographic -L qemu/pc-bios/ -hda hard-disk.dd -cdrom debian-31r0a-sparc-businesscard.iso -boot d (qemu) PROLL ID18 QEMU 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: I'm planning to test also with a disk image of a Running Solaris 8 system (it seems that solaris 9 and 10 requires an ultrasparc chip. using TPE. dma1: Revision 2 Boot device: d Loading partition table from target 2: hw sector: 2048, CHS: 2048/1/640, partitions: a: 0 + 49920, id 4, flags 10 b: 0 + 49920, id 2, flags 10 c: 0 + 49920, id 2, flags 10 d: 0 + 49920, id 2, flags 10 e: 0 + 49920, id 2, flags 10 f: 0 + 49920, id 2, flags 10 g: 0 + 49920, id 2, flags 10 h: 0 + 49920, id 2, flags 10 booting sd(0,2,0):d (offset 1) Memory used: virt 0xFFD00000:0xFFD37000[220K] iomap 0xFFD3C000:0xFFD4B000 Kernel loaded at 0x4000, size 0K, command line = '' SILO Version 1.4.9 \ boot: Uncompressing image... Loaded kernel version 2.4.27 Loading initial ramdisk (3041649 bytes at 0x3000000 phys, 0x60000000 virt)... PROMLIB: obio_ranges 1 bootmem_init: Scan sp_banks, init_bootmem(spfn[20a],bpfn[20a],mlpfn[7fc4]) free_bootmem: base[0] size[7fc4000] reserve_bootmem: base[3000000] size[2e6971] reserve_bootmem: base[0] size[20a000] reserve_bootmem: base[20a000] size[ffc] Booting Linux... mem_ I'm planning to test also with a disk image of a Running Solaris 8 system (it seems that solaris 9 and 10 requires an ultrasparc chip. init: Calling free_all_bootmem(). PROMLIB: Sun Boot Prom Version 3 Revision 77 Linux version 2.4.27-2-sparc32 (joshk@fortissimo.triplehelix.org) (gcc version 3.3.5 (Debian 1:3.3.5-8)) #1 Tue Feb 15 00:11:41 PST 2005 ARCH: SUN4M TYPE: SparcStation Ethernet address: 52:54:0:12:34:56 Boot time fixup v1.6. 4/Mar/98 Jakub Jelinek (jj@ultra.linux.cz). Patching kernel for srmmu[Fujitsu Swift]/iommu On node 0 totalpages: 31442 zone(0): 32708 pages. zone(1): 0 pages. zone(2): 0 pages. Found CPU 0 Found 1 CPU prom device tree node(s). Power off control detected. Kernel command line: root=/dev/rd/0 cdrom ramdisk_size=16384 devfs=mount rw Calibrating delay loop... 32.76 BogoMIPS Memory: 122152k available (1436k kernel code, 220k data, 128k init, 0k highmem) [f0000000,07fc4000] 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 25.0 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 0xffd4a004 (irq = 44) is a Zilog8530 tty01 at 0xffd4a000 (irq = 44) is a Zilog8530 tty02 at 0xffd49004 (irq = 44) is a Zilog8530 tty03 at 0xffd49000 (irq = 44) is a Zilog8530 Sun T I'm planning to test also with a disk image of a Running Solaris 8 system (it seems that solaris 9 and 10 requires an ultrasparc chip. YPE 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 (rgooch@atnf.csiro.au) devfs: boot_options: 0x1 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 16384K 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: Compressed image found at block 0 Freeing initrd memory: 2970k freed VFS: Mounted root (ext2 filesystem). Mounted devfs on /dev VFS: Mounted root (ext2 filesystem). Trying to move old root to /initrd ... okay Mounted devfs on /dev Freeing unused kernel memory: 128k freed umount[12]: Unimplemented SPARC system call 188 umount[13]: Unimplemented SPARC system call 188 Segmentation fault ----------------------------------------- Old Solaris / Sun Os distributions: SunOS 4.1.1 & Solaris 2.3 With two iso images of the operating system the system is unable to load the boot sector: qemu/sparc-softmmu/qemu-system-sparc -nographic -L qemu/pc-bios/ -hda hard-disk.dd -cdrom solaris-2.3.iso -boot d (qemu) PROLL ID18 QEMU 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 Loading partition table from target 2: hw sector: 2048, CHS: 2048/1/640, partitions: a: 0 + 624000, id 4, flags 10 b: 975 + 32640, id 2, flags 10 c: 1026 + 32640, id 2, flags 10 d: 1077 + 32640, id 2, flags 10 e: 1128 + 32640, id 2, flags 10 f: 1179 + 32640, id 2, flags 10 g: 0 + 0, id 0, flags 0 h: 0 + 0, id 0, flags 0 booting sd(0,2,0):d (offset 1) Memory used: virt 0xFFD00000:0xFFD37000[220K] iomap 0xFFD3C000:0xFFD4B000 Kernel loaded at 0x4000, size 0K, command line = '' (same output with sunos-4.1.4 ----------------------------------------- NetBSD >From CDROM: Same problem that whith Solaris , the system don't load the boot sector from the cdrom: (qemu) PROLL ID18 QEMU 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 Loading partition table from target 2: hw sector: 2048, CHS: 444/1/640, partitions: a: 0 + 280960, id 0, flags 0 b: 439 + 3200, id 0, flags 0 c: 439 + 3200, id 0, flags 0 d: 439 + 3200, id 0, flags 0 e: 0 + 0, id 0, flags 0 f: 0 + 0, id 0, flags 0 g: 0 + 0, id 0, flags 0 h: 0 + 0, id 0, flags 0 booting sd(0,2,0):d (offset 1) Memory used: virt 0xFFD00000:0xFFD37000[220K] iomap 0xFFD3C000:0xFFD4B000 Kernel loaded at 0x4000, size 0K, command line = '' >From a Disk image: from a disk image of a old sparc system with NetBSD the system load the boot sector and load the NetBSD loader, but is unable to find the kernel file to boot, but runs the loader, can can choose different ------------------------------------------- qemu/sparc-softmmu/qemu-system-sparc -nographic -L qemu/pc-bios/ -hda netbsd.dsk -boot c (qemu) PROLL ID18 QEMU 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: c Loading partition table from target 0: hw sector: 512, CHS: 1254/9/36, partitions: a: 0 + 309420, id 20, flags 53 b: 955 + 96552, id 4E, flags 32 c: 0 + 406296, id 0, flags 55 d: 0 + 0, id 30, flags 30 e: 0 + 0, id 20, flags 79 f: 0 + 0, id 20, flags 32 g: 0 + 0, id 34, flags 0 h: 0 + 0, id 0, flags 0 booting sd(0,0,0):d (offset 1) Memory used: virt 0xFFD00000:0xFFD37000[220K] iomap 0xFFD3C000:0xFFD4B000 Kernel loaded at 0x4000, size 0K, command line = '' >> NetBSD/sparc Secondary Boot, Revision 1.9 >> (root@flambard, Thu Nov 23 03:02:02 MET 2000) Booting netbsd open netbsd: No such file or directory : trying netbsd.gz... Booting netbsd.gz open netbsd.gz: No such file or directory : trying netbsd.old... Booting netbsd.old open netbsd.old: No such file or directory : trying netbsd.old.gz... Booting netbsd.old.gz open netbsd.old.gz: No such file or directory : trying onetbsd... Booting onetbsd open onetbsd: No such file or directory : trying onetbsd.gz... Booting onetbsd.gz open onetbsd.gz: No such file or directory : trying vmunix... Booting vmunix open vmunix: No such file or directory device[sd(0,0,0):d] ("halt" to halt): --==_Exmh_1135185780_3680P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Exmh version 2.1.0 iQCVAwUBQ6mPdFKs6y7TpCxhAQLTkQP/Xvwkg6yJfDV/QoNlotNrPzPPKHrj4Twn 64Puey0jw3iEk1shJIaTZ8lMxHPUM7WobLeSxs138gv9TxmO4A255h1C7oJVhCHz ci5RHFg2gU2dOaMAWwo1o+mHGrKYwfMtppfgsXcs0SLDxGvE91At25+2rp25VVbw 8UFfn2SZJIQ= =dwd0 -----END PGP SIGNATURE----- --==_Exmh_1135185780_3680P--