From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BSlVC-0000SX-KH for qemu-devel@nongnu.org; Tue, 25 May 2004 19:38:34 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BSlFy-0006OY-NO for qemu-devel@nongnu.org; Tue, 25 May 2004 19:23:22 -0400 Received: from [193.252.22.27] (helo=mwinf0405.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BSl9u-00059P-1H for qemu-devel@nongnu.org; Tue, 25 May 2004 19:16:34 -0400 Received: from mwinf0402.wanadoo.fr (mwinf0402 [172.22.135.24]) by mwinf0405.wanadoo.fr (SMTP Server) with ESMTP id BEE521400F320 for ; Wed, 26 May 2004 00:32:27 +0200 (CEST) Received: from bellard.org (ATuileries-112-1-4-138.w81-53.abo.wanadoo.fr [81.53.133.138]) by mwinf0402.wanadoo.fr (SMTP Server) with ESMTP id 83E068001B5 for ; Wed, 26 May 2004 00:32:14 +0200 (CEST) Message-ID: <40B3C9FC.2010105@bellard.org> Date: Wed, 26 May 2004 00:34:36 +0200 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] FreeBSD status References: <20040524232328.A69576@saturn.kn-bremen.de> In-Reply-To: <20040524232328.A69576@saturn.kn-bremen.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Juergen Lock wrote: > As mentioned on irc I was having some success with FreeBSD: > > 4.10RC3 install cd: boots, but kernel doesnt see any disks > (error message when trying to partition, -hda with empty image) > > 5.2.1 install cd and boot.flp: boot now with the fixes in cvs, > but panic when trying to write to disk (same empty image). > to repeat: at the mountroot prompt type: > ufs:md0 > then in sysinstall select custom install, partition, `c', > enter slice (partition) size, hit `w' to write immediately, > confirm, select mbr -> panic writing to disk I found the problem : it seems that FreeBSD expects the IDE READY status bit just after the IDE WRITE command. It is weird as it is not mentionned in the IDE specs. I would like to be sure it is a standard IDE behaviour. > I also get: npx0: WARNING: no FPU! from the kernel (kernel > messages can be viewed with scroll-lock and then page-up/down, > cursur-up/down), Fabrice says that the FPU error comes from the fact > that FreeBSD uses FPU interrupts to test the FPU exception reporting. I made a fix (not commited yet). > Fabrice also said the FreeBSD host patches are not in yet, > is that just lack of time or do they have some problems? Still no time. > Also, would it help if i try to make a debug version of the 5.2.1 > GENERIC kernel to see where the panic is? It is always trying to > read from 0x2c, supervisor read, page not present. (I guess a NULL > pointer to a struct, unfortunately i won't be able to take crashdumps > and get a full backtrace as that requires writing to disk...) Fabrice.