Date: Tue, 5 Mar 2002 18:24:56 -0500 From: Chris Faulhaber <jedgar@fxp.org> To: =?iso-8859-1?Q?S=F8ren?= Schmidt <sos@freebsd.dk> Cc: stable@freebsd.org Subject: Re: Request for testers of new ATA driver patches Message-ID: <20020305232456.GA91446@darkstar.doublethink.cx> In-Reply-To: <20020305002139.GA96846@peitho.fxp.org> References: <200203042201.g24M1nU36308@freebsd.dk> <20020305002139.GA96846@peitho.fxp.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Mon, Mar 04, 2002 at 07:21:39PM -0500, Chris Faulhaber wrote:
> So far so good, my system (Gigabyte 7DXR) with:
>
> atapci0: <VIA 82C686 ATA100 controller> port 0xb400-0xb40f at device 7.1 on pci0
> ...
> atapci1: <Promise ATA100 controller> port 0xe800-0xe83f,0xe400-0xe403,0xe000-0xe007,0xdc00-0xdc03,0xd800-0xd807 mem 0xe9100000-0xe911ffff irq 11 at device 16.0 on pci0
> ...
> ad0: 38166MB <WDC WD400BB-00CFC0> [77545/16/63] at ata0-master UDMA100
> acd0: DVD-ROM <DVD-ROM BDV212B> at ata1-master PIO4
> acd1: CD-RW <PCRW804> at ata2-master PIO4
>
Guess I spoke too soon... It seems my machine panic's if I mount
a CDRW (4.5-mini.iso) in my burner (acd1) and 'more filename.txt'
(yes, that is the name of the file). The CDRW reads fine in the
DVD player and with either device under Windows.
Just before the panic I get:
acd1: READ_BIG command timeout - resetting
ata2: resetting devices
Trace follows:
$ sudo gdb -k /sys/compile/DARKSTAR/kernel.debug vmcore.1
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
IdlePTD at phsyical address 0x00470000
initial pcb at physical address 0x00304ac0
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x70
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc018df68
stack pointer = 0x10:0xc02c5898
frame pointer = 0x10:0xc02c58bc
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 = net tty bio cam
trap number = 12
panic: page fault
syncing disks...
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x30
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc020a868
stack pointer = 0x10:0xc02c56c4
frame pointer = 0x10:0xc02c56cc
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 = net tty bio cam
trap number = 12
panic: page fault
Uptime: 44m53s
dumping to dev #ad/0x30001, offset 1048704
dump ata0: resetting devices .. done
511 510 *snip* 1 0
---
#0 dumpsys () at ../../kern/kern_shutdown.c:487
487 if (dumping++) {
(kgdb) bt
#0 dumpsys () at ../../kern/kern_shutdown.c:487
#1 0xc018af27 in boot (howto=260) at ../../kern/kern_shutdown.c:316
#2 0xc018b365 in panic (fmt=0xc02bd36c "%s") at ../../kern/kern_shutdown.c:595
#3 0xc0273227 in trap_fatal (frame=0xc02c5684, eva=48)
at ../../i386/i386/trap.c:966
#4 0xc0272ed5 in trap_pfault (frame=0xc02c5684, usermode=0, eva=48)
at ../../i386/i386/trap.c:859
#5 0xc0272a7b in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = 0,
tf_esi = 0, tf_ebp = -1070836020, tf_isp = -1070836048,
tf_ebx = -1070745988, tf_edx = 6867008, tf_ecx = -1036926963,
tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1071601560, tf_cs = 8,
tf_eflags = 66182, tf_esp = -862322628, tf_ss = 0})
at ../../i386/i386/trap.c:458
#6 0xc020a868 in acquire_lock (lk=0xc02db67c)
at ../../ufs/ffs/ffs_softdep.c:266
#7 0xc020ff4c in softdep_count_dependencies (bp=0xcc9a003c, wantcount=0)
at ../../ufs/ffs/ffs_softdep.c:4792
#8 0xc0213264 in ffs_fsync (ap=0xc02c5740) at ../../ufs/ffs/ffs_vnops.c:168
#9 0xc0211d7f in ffs_sync (mp=0xc2301800, waitfor=2, cred=0xc21c0d00,
p=0xc031afa0) at vnode_if.h:558
#10 0xc01ba5e7 in sync (p=0xc031afa0, uap=0x0) at ../../kern/vfs_syscalls.c:554
#11 0xc018acc2 in boot (howto=256) at ../../kern/kern_shutdown.c:235
#12 0xc018b365 in panic (fmt=0xc02bd36c "%s") at ../../kern/kern_shutdown.c:595
---Type <return> to continue, or q <return> to quit---
#13 0xc0273227 in trap_fatal (frame=0xc02c5858, eva=112)
at ../../i386/i386/trap.c:966
#14 0xc0272ed5 in trap_pfault (frame=0xc02c5858, usermode=0, eva=112)
at ../../i386/i386/trap.c:859
#15 0xc0272a7b in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = 0,
tf_esi = -1038197760, tf_ebp = -1070835524, tf_isp = -1070835580,
tf_ebx = 0, tf_edx = 55303, tf_ecx = -1038144000, tf_eax = 6867008,
tf_trapno = 12, tf_err = 0, tf_eip = -1072111768, tf_cs = 8,
tf_eflags = 66118, tf_esp = 55296, tf_ss = -1038197680})
at ../../i386/i386/trap.c:458
#16 0xc018df68 in tsleep (ident=0xc21e5c00, priority=16,
wmesg=0xc028ef66 "atacmd", timo=1000) at ../../kern/kern_synch.c:436
#17 0xc0146148 in ata_command (atadev=0xc21e5c50, command=161 '¡', lba=0,
count=0, feature=0, flags=2) at ../../dev/ata/ata-all.c:1055
#18 0xc0144cbb in ata_getparam (atadev=0xc21e5c50, command=161)
at ../../dev/ata/ata-all.c:441
#19 0xc0145915 in ata_reinit (ch=0xc21e5c00) at ../../dev/ata/ata-all.c:843
#20 0xc0150d67 in atapi_timeout (request=0xc25b6f80)
at ../../dev/ata/atapi-all.c:639
#21 0xc0190dc5 in softclock () at ../../kern/kern_timeout.c:131
(kgdb)
--
Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
--------------------------------------------------------
FreeBSD: The Power To Serve - http://www.FreeBSD.org
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: FreeBSD: The Power To Serve
iEYEARECAAYFAjyFU8gACgkQObaG4P6BelDPkQCggC3WaFpdlYZFn0lDy2RrQ+cr
hqYAn2E/3Om8IrysGT4YgYxZ5dJI5zAr
=ktbD
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020305232456.GA91446>
