Skip site navigation (1)Skip section navigation (2)
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

--W/nzBZO5zC0uMSeA
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Mar 04, 2002 at 07:21:39PM -0500, Chris Faulhaber wrote:
> So far so good, my system (Gigabyte 7DXR) with:
>=20
> atapci0: <VIA 82C686 ATA100 controller> port 0xb400-0xb40f at device 7.1 =
on pci0
> ...
> atapci1: <Promise ATA100 controller> port 0xe800-0xe83f,0xe400-0xe403,0xe=
000-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
>=20

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 condition=
s.
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	=3D 0x70
fault code		=3D supervisor read, page not present
instruction pointer	=3D 0x8:0xc018df68
stack pointer	        =3D 0x10:0xc02c5898
frame pointer	        =3D 0x10:0xc02c58bc
code segment		=3D base 0x0, limit 0xfffff, type 0x1b
			=3D DPL 0, pres 1, def32 1, gran 1
processor eflags	=3D interrupt enabled, resume, IOPL =3D 0
current process		=3D Idle
interrupt mask		=3D net tty bio cam=20
trap number		=3D 12
panic: page fault

syncing disks...=20

Fatal trap 12: page fault while in kernel mode
fault virtual address	=3D 0x30
fault code		=3D supervisor read, page not present
instruction pointer	=3D 0x8:0xc020a868
stack pointer	        =3D 0x10:0xc02c56c4
frame pointer	        =3D 0x10:0xc02c56cc
code segment		=3D base 0x0, limit 0xfffff, type 0x1b
			=3D DPL 0, pres 1, def32 1, gran 1
processor eflags	=3D interrupt enabled, resume, IOPL =3D 0
current process		=3D Idle
interrupt mask		=3D net tty bio cam=20
trap number		=3D 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=3D260) at ../../kern/kern_shutdown.c:316
#2  0xc018b365 in panic (fmt=3D0xc02bd36c "%s") at ../../kern/kern_shutdown=
.c:595
#3  0xc0273227 in trap_fatal (frame=3D0xc02c5684, eva=3D48)
    at ../../i386/i386/trap.c:966
#4  0xc0272ed5 in trap_pfault (frame=3D0xc02c5684, usermode=3D0, eva=3D48)
    at ../../i386/i386/trap.c:859
#5  0xc0272a7b in trap (frame=3D{tf_fs =3D 16, tf_es =3D 16, tf_ds =3D 16, =
tf_edi =3D 0,=20
      tf_esi =3D 0, tf_ebp =3D -1070836020, tf_isp =3D -1070836048,=20
      tf_ebx =3D -1070745988, tf_edx =3D 6867008, tf_ecx =3D -1036926963,=
=20
      tf_eax =3D 0, tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D -1071601560,=
 tf_cs =3D 8,=20
      tf_eflags =3D 66182, tf_esp =3D -862322628, tf_ss =3D 0})
    at ../../i386/i386/trap.c:458
#6  0xc020a868 in acquire_lock (lk=3D0xc02db67c)
    at ../../ufs/ffs/ffs_softdep.c:266
#7  0xc020ff4c in softdep_count_dependencies (bp=3D0xcc9a003c, wantcount=3D=
0)
    at ../../ufs/ffs/ffs_softdep.c:4792
#8  0xc0213264 in ffs_fsync (ap=3D0xc02c5740) at ../../ufs/ffs/ffs_vnops.c:=
168
#9  0xc0211d7f in ffs_sync (mp=3D0xc2301800, waitfor=3D2, cred=3D0xc21c0d00=
,=20
    p=3D0xc031afa0) at vnode_if.h:558
#10 0xc01ba5e7 in sync (p=3D0xc031afa0, uap=3D0x0) at ../../kern/vfs_syscal=
ls.c:554
#11 0xc018acc2 in boot (howto=3D256) at ../../kern/kern_shutdown.c:235
#12 0xc018b365 in panic (fmt=3D0xc02bd36c "%s") at ../../kern/kern_shutdown=
.c:595
---Type <return> to continue, or q <return> to quit---
#13 0xc0273227 in trap_fatal (frame=3D0xc02c5858, eva=3D112)
    at ../../i386/i386/trap.c:966
#14 0xc0272ed5 in trap_pfault (frame=3D0xc02c5858, usermode=3D0, eva=3D112)
    at ../../i386/i386/trap.c:859
#15 0xc0272a7b in trap (frame=3D{tf_fs =3D 16, tf_es =3D 16, tf_ds =3D 16, =
tf_edi =3D 0,=20
      tf_esi =3D -1038197760, tf_ebp =3D -1070835524, tf_isp =3D -107083558=
0,=20
      tf_ebx =3D 0, tf_edx =3D 55303, tf_ecx =3D -1038144000, tf_eax =3D 68=
67008,=20
      tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D -1072111768, tf_cs =3D 8,=
=20
      tf_eflags =3D 66118, tf_esp =3D 55296, tf_ss =3D -1038197680})
    at ../../i386/i386/trap.c:458
#16 0xc018df68 in tsleep (ident=3D0xc21e5c00, priority=3D16,=20
    wmesg=3D0xc028ef66 "atacmd", timo=3D1000) at ../../kern/kern_synch.c:436
#17 0xc0146148 in ata_command (atadev=3D0xc21e5c50, command=3D161 '=A1', lb=
a=3D0,=20
    count=3D0, feature=3D0, flags=3D2) at ../../dev/ata/ata-all.c:1055
#18 0xc0144cbb in ata_getparam (atadev=3D0xc21e5c50, command=3D161)
    at ../../dev/ata/ata-all.c:441
#19 0xc0145915 in ata_reinit (ch=3D0xc21e5c00) at ../../dev/ata/ata-all.c:8=
43
#20 0xc0150d67 in atapi_timeout (request=3D0xc25b6f80)
    at ../../dev/ata/atapi-all.c:639
#21 0xc0190dc5 in softclock () at ../../kern/kern_timeout.c:131
(kgdb)=20

--=20
Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
--------------------------------------------------------
FreeBSD: The Power To Serve   -   http://www.FreeBSD.org

--W/nzBZO5zC0uMSeA
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: FreeBSD: The Power To Serve

iEYEARECAAYFAjyFU8gACgkQObaG4P6BelDPkQCggC3WaFpdlYZFn0lDy2RrQ+cr
hqYAn2E/3Om8IrysGT4YgYxZ5dJI5zAr
=ktbD
-----END PGP SIGNATURE-----

--W/nzBZO5zC0uMSeA--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020305232456.GA91446>