[Bug 210316] panic after trying to r/w mount msdosfs on write protected media
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jun 16 08:41:56 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210316
Bug ID: 210316
Summary: panic after trying to r/w mount msdosfs on write
protected media
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: avg at FreeBSD.org
At first there were some error messages:
(da1:umass-sim0:0:0:1): WRITE(10). CDB: 2a 20 00 00 00 04 00 00 08 00
(da1:umass-sim0:0:0:1): CAM status: SCSI Status Error
(da1:umass-sim0:0:0:1): SCSI status: Check Condition
(da1:umass-sim0:0:0:1): SCSI sense: DATA PROTECT asc:27,0 (Write protected)
(da1:umass-sim0:0:0:1): Error 19, Unretryable error
g_vfs_done():da1s1[WRITE(offset=512, length=4096)]error = 19
(da1:umass-sim0:0:0:1): WRITE(10). CDB: 2a 20 00 00 00 04 00 00 08 00
(da1:umass-sim0:0:0:1): CAM status: SCSI Status Error
(da1:umass-sim0:0:0:1): SCSI status: Check Condition
(da1:umass-sim0:0:0:1): SCSI sense: DATA PROTECT asc:27,0 (Write protected)
(da1:umass-sim0:0:0:1): Error 19, Unretryable error
g_vfs_done():da1s1[WRITE(offset=512, length=4096)]error = 19
(da1:umass-sim0:0:0:1): WRITE(10). CDB: 2a 20 00 00 00 04 00 00 08 00
(da1:umass-sim0:0:0:1): CAM status: SCSI Status Error
(da1:umass-sim0:0:0:1): SCSI status: Check Condition
(da1:umass-sim0:0:0:1): SCSI sense: DATA PROTECT asc:27,0 (Write protected)
(da1:umass-sim0:0:0:1): Error 19, Unretryable error
g_vfs_done():da1s1[WRITE(offset=512, length=4096)]error = 19
fsync: giving up on dirty
0xfffff802c126c938: tag devfs, type VCHR
usecount 1, writecount 0, refcount 9 mountedhere 0xfffff80168b65000
flags (VI_ACTIVE)
v_object 0xfffff8029ed6e318 ref 0 pages 6 cleanbuf 6 dirtybuf 1
lock type devfs: UNLOCKED
dev da1s1
(da1:umass-sim0:0:0:1): SYNCHRONIZE CACHE(10). CDB: 35 20 00 00 00 00 00 00 00
00
(da1:umass-sim0:0:0:1): CAM status: SCSI Status Error
(da1:umass-sim0:0:0:1): SCSI status: Check Condition
(da1:umass-sim0:0:0:1): SCSI sense: DATA PROTECT asc:27,0 (Write protected)
(da1:umass-sim0:0:0:1): Error 19, Unretryable error
g_vfs_done():da1s1[WRITE(offset=512, length=4096)]error = 1
fsync: giving up on dirty
0xfffff802c126c938: tag devfs, type VCHR
usecount 1, writecount 0, refcount 12 mountedhere 0xfffff80168b65000
flags (VI_ACTIVE)
v_object 0xfffff8029ed6e318 ref 0 pages 10 cleanbuf 9 dirtybuf 1
lock type devfs: UNLOCKED
dev da1s1
And then BOOM:
Fatal trap 9: general protection fault while in kernel mode
cpuid = 2; apic id = 02
instruction pointer = 0x20:0xffffffff8061eb51
stack pointer = 0x28:0xfffffe0517dff8a0
frame pointer = 0x28:0xfffffe0517dff910
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 25 (syncer)
trap number = 9
panic: general protection fault
cpuid = 2
KDB: stack backtrace:
db_trace_self_wrapper() at 0xffffffff80420f0b =
db_trace_self_wrapper+0x2b/frame
0xfffffe0517dff400
kdb_backtrace() at 0xffffffff80673439 = kdb_backtrace+0x39/frame
0xfffffe0517dff4b0
vpanic() at 0xffffffff8063c94c = vpanic+0x14c/frame 0xfffffe0517dff4f0
panic() at 0xffffffff8063c693 = panic+0x43/frame 0xfffffe0517dff550
trap_fatal() at 0xffffffff8083e99f = trap_fatal+0x33f/frame 0xfffffe0517dff5b0
trap() at 0xffffffff8083e603 = trap+0x823/frame 0xfffffe0517dff7c0
trap_check() at 0xffffffff8083ecba = trap_check+0x2a/frame 0xfffffe0517dff7e0
calltrap() at 0xffffffff808273ea = calltrap+0x8/frame 0xfffffe0517dff7e0
--- trap 0x9, rip = 0xffffffff8061eb51, rsp = 0xfffffe0517dff8b0, rbp =
0xfffffe0517dff910 ---
__mtx_lock_flags() at 0xffffffff8061eb51 = __mtx_lock_flags+0x51/frame
0xfffffe0517dff910
g_vfs_strategy() at 0xffffffff805b8776 = g_vfs_strategy+0x36/frame
0xfffffe0517dff940
bstrategy() at 0xffffffff806cc946 = bstrategy+0x26/frame 0xfffffe0517dff950
bufwrite() at 0xffffffff806cab2e = bufwrite+0x20e/frame 0xfffffe0517dff9b0
bwrite() at 0xffffffff806cd8f6 = bwrite+0x26/frame 0xfffffe0517dff9c0
bawrite() at 0xffffffff806cd3ad = bawrite+0xd/frame 0xfffffe0517dff9d0
vop_stdfsync() at 0xffffffff806d7660 = vop_stdfsync+0x1a0/frame
0xfffffe0517dffa20
devfs_fsync() at 0xffffffff80531d66 = devfs_fsync+0x26/frame 0xfffffe0517dffa50
VOP_FSYNC_APV() at 0xffffffff80884be0 = VOP_FSYNC_APV+0x120/frame
0xfffffe0517dffaa0
VOP_FSYNC() at 0xffffffff806e7d58 = VOP_FSYNC+0x28/frame 0xfffffe0517dffad0
sync_vnode() at 0xffffffff806eb99d = sync_vnode+0x11d/frame 0xfffffe0517dffb20
sched_sync() at 0xffffffff806eb63e = sched_sync+0x23e/frame 0xfffffe0517dffb80
fork_exit() at 0xffffffff8060280f = fork_exit+0xdf/frame 0xfffffe0517dffbf0
fork_trampoline() at 0xffffffff8082791e = fork_trampoline+0xe/frame
0xfffffe0517dffbf0
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list