kern/56583: panic at writting DVD-RAM after ATAng

Kaho Toshikazu kaho at easy.es.tuat.ac.jp
Sun Sep 7 20:30:35 PDT 2003


>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 at 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:


More information about the freebsd-bugs mailing list