kern/88823: [modules] atapicam - kernel trap 12 on loading and unloading

per qu per.qu at email.it
Wed Apr 25 01:00:52 UTC 2007


>
> Synopsis: [modules] atapicam - kernel trap 12 on loading and unloading
> 
> State-Changed-From-To: feedback->analyzed
> State-Changed-By: linimon
> State-Changed-When: Sat Apr 21 23:14:49 UTC 2007
> State-Changed-Why: 
> Submitter notes that this is still a problem.
> 
> 
> Responsible-Changed-From-To: linimon->freebsd-bugs
> Responsible-Changed-By: linimon
> Responsible-Changed-When: Sat Apr 21 23:14:49 UTC 2007
> Responsible-Changed-Why: 
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=88823


Is this giving more info?

acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 
cd0 at ata0 bus 0 target 1 lun 0
cd0: <PIONEER DVD-ROM DVD-117 1.07> Removable CD-ROM SCSI-0 device 
cd0: 66.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
acd1: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x48 0x00
0x01
(cd0:ata0:0:1:0): lost device
(cd0:ata0:0:1:0): removing device entry
atapicam0: detached
lock order reversal: (sleepable after non-sleepable)
 1st 0xc5e29a3c ATAPICAM lock (ATAPICAM lock) @
/usr/src/sys/modules/ata/atapicam/../../../dev/ata/atapi-cam.c:872
 2nd 0xc143e344 user map (user map) @ /usr/src/sys/vm/vm_map.c:3074
KDB: stack backtrace:
kdb_backtrace(c072507f,c143e344,c0738393,c0738393,c0738413,...) at
kdb_backtrace+0x2f
witness_checkorder(c143e344,9,c0738413,c02,13e,...) at
witness_checkorder+0x6db
_sx_xlock(c143e344,c0738413,c02,c22,f8614a08,...) at _sx_xlock+0x7f
_vm_map_lock_read(c143e300,c0738413,c02,1000000,deadc000,...) at
_vm_map_lock_read+0x4a
vm_map_lookup(f8614aa0,deadc000,1,f8614aa4,f8614a94,...) at
vm_map_lookup+0x2e
vm_fault(c144b000,deadc000,1,0,c61aad80,...) at vm_fault+0x7e
trap_pfault(f8614b6c,0,deadc0de,1a1,deadc0de,...) at trap_pfault+0x162
trap(c0780008,c5cd0028,28,c5e29a3c,19,...) at trap+0x35e
calltrap() at calltrap+0x5
--- trap 0xc, eip = 0xc5c2b3bb, esp = 0xf8614bac, ebp = 0xf8614bb8 ---
free_hcb_and_ccb_done(c5e29a3c,0,c5c2bc3b,368,c5e29800,...) at
free_hcb_and_ccb_done+0x12
free_softc(c5e29a3c,0,c5c2bc3b,100,c5e62980,...) at free_softc+0x4d
atapi_cam_detach(c5e62980,1,c0722c31,96f,c5e2d810,...) at
atapi_cam_detach+0xc7
device_detach(c5e62980,0,c5e62980,c5b6e880,c5c2ce88,...) at
device_detach+0x8f
devclass_delete_driver(c5b6e880,c5c2ce9c,1,c5c20800,c5c20800,...) at
devclass_delete_driver+0x8e
driver_module_handler(c5c20800,1,c5c2ce88) at driver_module_handler+0xe7
module_unload(c5c20800,0,219,0,0,...) at module_unload+0x61
linker_file_unload(c6602d00,0,c071ec76,345,0,...) at linker_file_unload+0x89
kern_kldunload(c61aad80,6,0,f8614d30,c06e1962,...) at kern_kldunload+0x96
kldunloadf(c61aad80,f8614d04,8,420,2,...) at kldunloadf+0x2c
syscall(bfbf003b,bfbf003b,bfbf003b,6,bfbfef12,...) at syscall+0x295
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (444, FreeBSD ELF32, kldunloadf), eip = 0x280bf1f7, esp =
0xbfbfe9dc, ebp = 0xbfbfee48 ---
panic: vm_fault: fault on nofault entry, addr: deadc000
KDB: enter: panic
panic: from debugger
Uptime: 6m18s
Physical memory: 1522 MB
Dumping 73 MB: 58 42 26 10

#0  doadump () at pcpu.h:165
165     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:165
#1  0xc0535163 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xc0535481 in panic (fmt=0xc070dcbd "from debugger")
    at /usr/src/sys/kern/kern_shutdown.c:565
#3  0xc0454e37 in db_panic (addr=-1068164582, have_addr=0, count=-1, 
    modif=0xf8614848 "") at /usr/src/sys/ddb/db_command.c:438
#4  0xc0454db0 in db_command (last_cmdp=0xc0786644, cmd_table=0x0, 
    aux_cmd_tablep=0xc07463a4, aux_cmd_tablep_end=0xc07463a8)
    at /usr/src/sys/ddb/db_command.c:350
#5  0xc0454ea1 in db_command_loop () at /usr/src/sys/ddb/db_command.c:458
#6  0xc0456db9 in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_main.c:222
#7  0xc0551ca4 in kdb_trap (type=0, code=0, tf=0xf8614994)
    at /usr/src/sys/kern/subr_kdb.c:473
#8  0xc06e10aa in trap (frame=
      {tf_fs = -1066205176, tf_es = 40, tf_ds = -127860696, tf_edi = 1,
tf_esi = -1066172763, tf_ebp = -127841828, tf_isp = -127841856, tf_ebx =
-127841772, tf_edx = 1, tf_ecx = -1052684288, tf_eax = 18, tf_trapno = 3,
tf_err = 0, tf_eip = -1068164582, tf_cs = 32, tf_eflags = 642, tf_esp =
-1066257592, tf_ss = -1066266397}) at /usr/src/sys/i386/i386/trap.c:594
#9  0xc06cc95a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#10 0xc0551a1a in kdb_enter (msg=0x12 <Address 0x12 out of bounds>)
    at cpufunc.h:60
#11 0xc0535419 in panic (
---Type <return> to continue, or q <return> to quit---
    fmt=0xc0737ea5 "vm_fault: fault on nofault entry, addr: %lx")
    at /usr/src/sys/kern/kern_shutdown.c:549
#12 0xc06882fe in vm_fault (map=0xc144b000, vaddr=3735928832, 
    fault_type=1 '\001', fault_flags=0) at /usr/src/sys/vm/vm_fault.c:279
#13 0xc06e12f2 in trap_pfault (frame=0xf8614b6c, usermode=0, eva=3735929054)
    at /usr/src/sys/i386/i386/trap.c:734
#14 0xc06e0f2a in trap (frame=
      {tf_fs = -1065877496, tf_es = -976420824, tf_ds = 40, tf_edi =
-975005124, tf_esi = 25, tf_ebp = -127841352, tf_isp = -127841384, tf_ebx =
-559038242, tf_edx = 25, tf_ecx = 2, tf_eax = -559038242, tf_trapno = 12,
tf_err = 0, tf_eip = -977095749, tf_cs = 32, tf_eflags = 66182, tf_esp =
-976387072, tf_ss = -559038242}) at /usr/src/sys/i386/i386/trap.c:435
#15 0xc06cc95a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#16 0xc5c2b3bb in ?? ()
Previous frame inner to this frame (corrupt stack?)
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Analisi di Bilancio: come capire correttamente un bilancio aziendale
Esempi, modelli pratici, software utili
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6199&d=20070425




More information about the freebsd-bugs mailing list