From owner-freebsd-bugs Tue Jan 30 04:07:25 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA12089 for bugs-outgoing; Tue, 30 Jan 1996 04:07:25 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id EAA11335 for ; Tue, 30 Jan 1996 04:01:39 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id MAA25379; Tue, 30 Jan 1996 12:53:02 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id MAA02943; Tue, 30 Jan 1996 12:52:53 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.3/8.6.9) id MAA13737; Tue, 30 Jan 1996 12:31:01 +0100 (MET) From: J Wunsch Message-Id: <199601301131.MAA13737@uriah.heep.sax.de> Subject: Re: Jesus' matcd problem To: amora@obelix.cica.es (Jesus A. Mora Marin) Date: Tue, 30 Jan 1996 12:31:01 +0100 (MET) Cc: bugs@FreeBSD.org, uhclem@nemesis.lonestar.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199601292101.WAA02694@obelix.cica.es> from "Jesus A. Mora Marin" at Jan 29, 96 10:01:53 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-bugs@FreeBSD.org Precedence: bulk As Jesus A. Mora Marin wrote: > > Thomas Graichen (graichen@omega.physik.fu-berlin.de) said: > > is this a joke or truth ... ? > > I like jokes, but also DO hate to waste bandwith just for hoaxing. Sending > endless bug reports causes me no ethical concerns :) And we love people like you who provide us with detailed bug reports. But you knew that. :-) > > Does the crash occur with the GENERIC kernel, ie, the one that > > came on the CD-ROM? If that version also crashes, it will help > > eliminate the numerous differences between the GENERIC kernel and > > your custom kernel. > > Yes. It happens all the time. I've seen it with kernel.GENERIC, ... > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0xf1dff000 > fault code = supervisor write, page not present > instruction pointer = 0x8:0xf01cffce > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL=0 > current process = Idle > interrupt mask = > panic: page fault Now, that was detailed enough, i think. It happens here: case STEN: /*DTEN=L STEN=H*/ case 0: /*DTEN=L STEN=L*/ #ifdef DEBUGIO printf("matcd%d: Data Phase\n",ldrive); #endif /*DEBUGIO*/ addr=bp->b_un.b_addr + mbx->skip; #ifdef DEBUGIO printf("matcd%d: Xfer Addr %x size %x", ldrive,(unsigned int)addr,mbx->sz); i=0; /*<20>Reset read count*/ #endif /*DEBUGIO*/ if (iftype==0) { /*<20>Creative host I/F*/ outb(port+PHASE,1); /*Enable data read*/ while((inb(port+STATUS) & (DTEN|STEN))==STEN) {/*<19>*/ *addr++=inb(port+DATA); ^^^^^^^^^^^^^^^^^^^^^^^ #ifdef DEBUGIO i++; #endif /*DEBUGIO*/ } outb(port+PHASE,0); /*Disable read*/ Frank, any clues? -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)