Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EngBb-0001bL-N8 for qemu-devel@nongnu.org; Sat, 17 Dec 2005 12:49:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EngBa-0001aS-FM for qemu-devel@nongnu.org; Sat, 17 Dec 2005 12:49:34 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EngBa-0001aJ-8U for qemu-devel@nongnu.org; Sat, 17 Dec 2005 12:49:34 -0500 Received: from [128.114.48.10] (helo=services.cse.ucsc.edu) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EngED-0008Qu-9p for qemu-devel@nongnu.org; Sat, 17 Dec 2005 12:52:17 -0500 Received: from [172.16.1.35] (adsl-70-137-183-122.dsl.snfc21.sbcglobal.net [70.137.183.122]) (authenticated bits=0) by services.cse.ucsc.edu (8.13.1/8.13.1) with ESMTP id jBHHmgvU008744 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Sat, 17 Dec 2005 09:48:43 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v623) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed From: Jose Renau Date: Sat, 17 Dec 2005 09:48:42 -0800 Subject: [Qemu-devel] SPARC boot problems (same on smp) 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 Hello, I am trying to install the debian sparc, but it crashes when the kernel boots. ./sparc-softmmu/qemu-system-sparc -smp 1 -L ./pc-bios/ -cdrom ./sparc-test/debian-31r0a-sparc-netinst.iso -nographic starting qemu... (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 + 226560, id 4, flags 10 b: 0 + 226560, id 2, flags 10 c: 0 + 226560, id 2, flags 10 d: 0 + 226560, id 2, flags 10 e: 0 + 226560, id 2, flags 10 f: 0 + 226560, id 2, flags 10 g: 0 + 226560, id 2, flags 10 h: 0 + 226560, 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_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... 115.91 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 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 (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 Segmentation fault If I try with -smp 2 it detects the 2 cpus, but it freezes on the same place: .... 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 CPU 1 Found 2 CPU prom device tree node(s). Power off control detected. .... If I try the aurora (aurora-1.0-sparc-disc1.iso), it goes further, but it is not able start the installation (when I set the esp driver to install the cdrom it crashes badly) .... RAMDISK: Compressed image found at block 0 Freeing initrd memory: 696k freed VFS: Mounted root (ext2 filesystem). Greetings. Aurora install init version 7.2 starting mounting /proc filesystem... done mounting /proc/openprom filesystem... done mounting /dev/pts (unix98 pty) filesystem... done Aurora install init version 7.2 using a serial console remember, cereal is an important part of a nutritionally balanced breakfast. checking for NFS root filesystem...no trying to remount root filesystem read write... done checking for writeable /tmp... yes couldn't open /dev/tty4 for syslog -- still using /tmp/syslog running install... running /sbin/loader