[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-bugs
Subject: Re: Jesus' matcd problem
From: J Wunsch <j () uriah ! heep ! sax ! de>
Date: 1996-01-30 11:31:01
[Download RAW message or body]
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. ;-)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic