Date: Fri, 9 Apr 1999 00:55:56 -0400 (EDT) From: Davis <dd002f@uhura.cc.rochester.edu> To: freebsd-questions@freebsd.org Subject: fatal trap! How do I escape? Message-ID: <Pine.SOL.3.96.990409004410.223A-100000@uhura.cc.rochester.edu>
next in thread | raw e-mail | index | archive | help
The following story takes place on my FreeBSD 3.1 machine: After using snd0/gus0 for my Gravis Ultrasound for a while, I decided to try using pnp0/pcm0 instead. I put all the appropriate lines in my kernel file. I made a /kernel.config file which looks like this: USERCONFIG pnp 1 0 os enable port0 0x220 irq0 11 drq0 5 drq1 7 quit However, for some reason this file was not being read at startup. Thus, I decided to boot using boot -c, and at the prompt I typed pnp 1 0 os enable port0 0x220 irq0 11 drq0 5 drq1 7 That did it; pcm0 was detected (as pcm1, of course). BUT - several lines later (after the kernel loaded ep0, then npx0), I received the following message: Fatal trap 12: page fault while in kernel mode fault virtual address = 0x4 fault code = supervisor read, page not present instruction pointer = 0x8:0xf01dc7a2 stack pointer = 0x10:0xf02a6f88 frame pointer = 0x10:0xf02a6f88 code segment = base 0x0, limit 0xfffff, type 0x16 = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL=0 current process = 0 () interrupt mask = trap number = 12 panic: page fault This is a 100% reproducible error. Could someone help me out with this? Also, could anyone tell me what I need to do to get /kernel.config to be loaded properly at startup (though that is undesirable at the moment). Thanks in advance to everyone. -Davis p.s. Please reply to me as well as the list; I am not a subscriber due to the volume of mail it produces. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.3.96.990409004410.223A-100000>