Re: ATA DMA broken/kernel panic with 5.1-R/5.1-C and VIA 82C586B
Soeren Schmidt writes: > It seems Nicolai E M Plum wrote: > > I noticed some ATA problems solved in -current recently, so I tried > > compiling a kernel from sources about 2 days ago. Booting from that > > (GENERIC) kernel, I do not get "Mounting root..", instead I get > > (approximately, can't cut/paste that console): > > > > Fatal trap 12: page fault while in kernel mode > > fault virtual address = 0xdeadc0de > > fault code= supervisor read, page not present > > instruction pointer = 0x8:0xdeadcode > > stack pointer = 0x10:0xc736bc38 > > frame pointer = 0x19:0xc736bc50 > > > > current process = 21 (irc14: ata0) > > kernel: type 12 trap, code=0 > > > > Is this a known problem, perhaps specific to the 82C586B ATA controller? > > This looks strange, I dont have semilar HW here to verify the problem > so I'm a bit in the dark. Is it possible you can build a kernel with > ddb in it so we can get a traceback of the panic ? I get the following (copied by hand, hopefully no typos): db> trace 0 mi_switch(c05bdfc0,4c,c0316220,c05bdfc0,0) at mi_switch+0x210 msleep(c0acb2c4,0,4c,c05dce9f,1) at msleep+0x484 ad_attach(c0acb2c4,1,c14d47c0,c058fef0,c06f7d80) at ad_attach+0x21b ata_boot_attach(0,6fc000,c06f7d80,c03220ba,0) at ata_boot_attach+0x186 run_interrupt_driven_config_hooks(0,6f4000,6f4c00,6f4000,0) at run_interrupt_driven_config_hooks+0x2b mi_startup() at mi_startup+0xb5 begin() at begin+0x2c db> Is that any help? Nicolai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ATA DMA broken/kernel panic with 5.1-R/5.1-C and VIA 82C586B
Tuesday, June 17, 2003, 11:24:53 PM, you wrote: > Hi > I installed 5.1-RELEASE from the CD images, and have problems using DMA > on my ATA discs. I get the same problem on several discs, both several > years old and brand new, across several vendors. 4.6-RELEASE handles the > discs fine. Relevant excepts from the boot messages are below, the > entire thing can be seen at http://www.esperi.org/nicolai/misc/dmesg.eriador [...] > Is this a known problem, perhaps specific to the 82C586B ATA controller? Had the same kind of bug on a quite old motherboard with an intel controller : atapci0: port 0xffa0-0xffaf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 Kernel and world are a bit older : FreeBSD cragganmore.lacave.local 5.1-BETA2 FreeBSD 5.1-BETA2 #0: Thu May 22 16:18:16 CEST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CRAGGANMORE i386 (The bug did happen with the first boot on the generic kernel.) Currently, I run it in PIO mode ; the machine is in use, I can't afford much downtime. If I can provide other information with the machine running, I'd be glad to help. > Thanks > Nicolai Fred Who had forgotten about this bug... :) -- And you run and you run to catch up with the sun, but it's sinking And racing around to come up behind you again The sun is the same in the relative way, but you're older Shorter of breath and one day closer to death (Pink Floyd, Time) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ATA DMA broken/kernel panic with 5.1-R/5.1-C and VIA 82C586B
It seems Nicolai E M Plum wrote: > Hi > > I installed 5.1-RELEASE from the CD images, and have problems using DMA > on my ATA discs. I get the same problem on several discs, both several > years old and brand new, across several vendors. 4.6-RELEASE handles the > discs fine. Relevant excepts from the boot messages are below, the > entire thing can be seen at http://www.esperi.org/nicolai/misc/dmesg.eriador > > FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC > ... > atapci0: port 0xfcd0-0xfcdf mem > 0xfbffe000-0xfbff at device 7.1 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > ... > Timecounters tick every 10.000 msec > ad0: 114473MB [232581/16/63] at ata0-master UDMA33 > ad0: READ command timeout tag=0 serv=0 - resetting > ata0: resetting devices .. > done > ... [ this repeats ] > ad1: trying fallback to PIO mode > ata0: resetting devices .. > done > Mounting root from ufs:/dev/ad0s1a > > I noticed some ATA problems solved in -current recently, so I tried > compiling a kernel from sources about 2 days ago. Booting from that > (GENERIC) kernel, I do not get "Mounting root..", instead I get > (approximately, can't cut/paste that console): > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0xdeadc0de > fault code = supervisor read, page not present > instruction pointer = 0x8:0xdeadcode > stack pointer = 0x10:0xc736bc38 > frame pointer = 0x19:0xc736bc50 > > current process = 21 (irc14: ata0) > kernel: type 12 trap, code=0 > > Is this a known problem, perhaps specific to the 82C586B ATA controller? This looks strange, I dont have semilar HW here to verify the problem so I'm a bit in the dark. Is it possible you can build a kernel with ddb in it so we can get a traceback of the panic ? -Søren ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"