From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C8kAJ-0003Fb-FQ for qemu-devel@nongnu.org; Sat, 18 Sep 2004 14:42:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C8kAH-0003Ei-4g for qemu-devel@nongnu.org; Sat, 18 Sep 2004 14:42:30 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C8kAG-0003Ec-Tu for qemu-devel@nongnu.org; Sat, 18 Sep 2004 14:42:29 -0400 Received: from [64.4.35.37] (helo=hotmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C8k4N-0002oa-4B for qemu-devel@nongnu.org; Sat, 18 Sep 2004 14:36:23 -0400 From: "Blue Swirl" Subject: Re: [Qemu-devel] Patch: Sparc system support (3/3) Date: Sat, 18 Sep 2004 20:36:22 +0200 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: hetz@witch.dyndns.org, qemu-devel@nongnu.org >One question: doesn't the sun machine that you emulate requires SCSI >devices >for storage? (if I recall correctly, only the UltraSparc based machines >came >with IDE drives).. Eventually yes, for now my aim is to get a simple diskless client booting. Sun4m architecture was used in diskless JavaStations as well as complete workstations with SCSI disks, so it's easy scale the system. Today I got Proll loading Linux completely for the first time. Linux starts executing, but stops at an unimplemented instruction, which shouldn't even be there. Mysterious. Could be related to the UDP checksum problems. If you want to try it, please convert the Proll ELF executable to binary with objdump on Sparc machine like this: objcopy -O binary proll.elf proll.bin It can load a.out format kernel: elftoaout -o 0A00020F.PROL vmlinux qemu-system-sparc -tftp 0A00020F.PROL -user-net -kernel proll.bin Oh, and tftp patch needs a small hack: --- slirp/tftp.c 2004-09-18 11:49:34.000000000 +0200 +++ slirp/tftp.c~ 2004-09-18 11:29:01.000000000 +0200 @@ -280,7 +280,7 @@ /* do sanity checks on the filename */ - if ((spt->filename[0] == '/') + if ((spt->filename[0] != '/') || (spt->filename[strlen(spt->filename) - 1] == '/') || strstr(spt->filename, "/../")) { n = 2; /* access violation */ _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail