From owner-freebsd-bugs@FreeBSD.ORG Sun Sep 7 20:30:35 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 232FD16A4BF for ; Sun, 7 Sep 2003 20:30:35 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16CB243FD7 for ; Sun, 7 Sep 2003 20:30:29 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h883UNUp009500 for ; Sun, 7 Sep 2003 20:30:23 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h883UNlh009499; Sun, 7 Sep 2003 20:30:23 -0700 (PDT) Resent-Date: Sun, 7 Sep 2003 20:30:23 -0700 (PDT) Resent-Message-Id: <200309080330.h883UNlh009499@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kaho Toshikazu Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B57116A4BF for ; Sun, 7 Sep 2003 20:29:54 -0700 (PDT) Received: from easy.es.tuat.ac.jp (easy.es.tuat.ac.jp [165.93.221.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE46143FB1 for ; Sun, 7 Sep 2003 20:29:52 -0700 (PDT) (envelope-from kaho@easy.es.tuat.ac.jp) Received: from easy.es.tuat.ac.jp (localhost [IPv6:::1]) by easy.es.tuat.ac.jp (8.12.9/8.12.9) with ESMTP id h883TmUG000794 for ; Mon, 8 Sep 2003 12:29:48 +0900 (JST) (envelope-from kaho@easy.es.tuat.ac.jp) Received: (from kaho@localhost) by easy.es.tuat.ac.jp (8.12.9/8.12.9/Submit) id h883Tluh000793; Mon, 8 Sep 2003 12:29:47 +0900 (JST) (envelope-from kaho) Message-Id: <200309080329.h883Tluh000793@easy.es.tuat.ac.jp> Date: Mon, 8 Sep 2003 12:29:47 +0900 (JST) From: Kaho Toshikazu To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/56583: panic at writting DVD-RAM after ATAng X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Kaho Toshikazu List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2003 03:30:35 -0000 >Number: 56583 >Category: kern >Synopsis: panic at writting DVD-RAM after ATAng >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 07 20:30:13 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Kaho Toshikazu >Release: FreeBSD 5.1-CURRENT i386 >Organization: TUAT >Environment: System: FreeBSD easy.es.tuat.ac.jp 5.1-CURRENT FreeBSD 5.1-CURRENT #6: Mon Sep 8 11:19:15 JST 2003 kaho@easy.es.tuat.ac.jp:/usr/src/sys/i386/compile/EASY i386 >Description: I am using DVD-RAM with ATAPICAM. there is not any problem to execute disklabel, newfs and mount /dev/cd0. But I will write a file to the DVD-RAM, then kernel panics. Before ATAng, I can write files, but now cannot write. backtarace is here: #0 doadump () at ../../../kern/kern_shutdown.c:240 #1 0xc0228c89 in boot (howto=260) at ../../../kern/kern_shutdown.c:372 #2 0xc0228f8d in panic () at ../../../kern/kern_shutdown.c:550 #3 0xc015ca35 in db_panic () at ../../../ddb/db_command.c:450 #4 0xc015c9cc in db_command (last_cmdp=0xc03f2900, cmd_table=0x0, aux_cmd_tablep=0xc03a7554, aux_cmd_tablep_end=0xc03a7558) at ../../../ddb/db_command.c:346 #5 0xc015caa4 in db_command_loop () at ../../../ddb/db_command.c:472 #6 0xc015f12d in db_trap (type=3, code=0) at ../../../ddb/db_trap.c:73 #7 0xc0340d51 in kdb_trap (type=3, code=0, regs=0xe53759b0) at ../../../i386/i386/db_interface.c:171 #8 0xc0350050 in trap (frame= {tf_fs = -449380328, tf_es = -1071382512, tf_ds = 16, tf_edi = 1, tf_esi = -1069952145, tf_ebp = -449357324, tf_isp = -449357348, tf_ebx = 0, tf_edx = 0, tf_ecx = 0, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1070329919, tf_cs = 8, tf_eflags = 662, tf_esp = -449357280, tf_ss = -449357292}) at ../../../i386/i386/trap.c:577 #9 0xc0342288 in calltrap () at {standard input}:102 #10 0xc0228eef in panic (fmt=0xc039d36f "ufs_dirbad: bad dir") at ../../../kern/kern_shutdown.c:534 #11 0xc0304ec1 in ufs_dirbad (ip=0x0, offset=0, how=0xc039d329 "mangled entry") at ../../../ufs/ufs/ufs_lookup.c:633 #12 0xc03044d6 in ufs_lookup (ap=0xe5375b38) at ../../../ufs/ufs/ufs_lookup.c:296 #13 0xc030af93 in ufs_vnoperate (ap=0x0) at ../../../ufs/ufs/ufs_vnops.c:2792 #14 0xc026a701 in vfs_cache_lookup (ap=0x0) at vnode_if.h:82 #15 0xc030af93 in ufs_vnoperate (ap=0x0) at ../../../ufs/ufs/ufs_vnops.c:2792 #16 0xc026ecdb in lookup (ndp=0xe5375c30) at vnode_if.h:52 #17 0xc026e77d in namei (ndp=0xe5375c30) at ../../../kern/vfs_lookup.c:183 #18 0xc027aa52 in stat (td=0xc61a6be0, uap=0xe5375d14) at ../../../kern/vfs_syscalls.c:1719 #19 0xc0350833 in syscall (frame= {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 134689024, tf_esi = 7, tf_ebp = -1077937736, tf_isp = -449356428, tf_ebx = 134599279, tf_edx = 134599286, tf_ecx = 134684690, tf_eax = 188, tf_trapno = 12, tf_err = 2, tf_eip = 134523587, tf_cs = 31, tf_eflags = 658, tf_esp = -1077937924, tf_ss = 47}) at ../../../i386/i386/trap.c:1005 #20 0xc03422dd in Xint0x80_syscall () at {standard input}:144 >How-To-Repeat: Use ATAPI type DVD drive with ATAPICAM drivers. Write a file to DVD-RAM media after disklabel, newfs, mount. >Fix: sorry, I do not know how to correct it. >Release-Note: >Audit-Trail: >Unformatted: