6-current panics if mounting a pen drive that is write-protected
Sean McNeil
sean at mcneil.com
Mon Sep 19 11:47:55 PDT 2005
I get the following problem from BETA4:
Sep 17 19:29:44 server kernel: umass0: USB Mass storage, rev 2.00/2.00,
addr 2
Sep 17 19:29:44 server kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Sep 17 19:29:44 server kernel: da0: <Memorex USB2 Thumbdrive 2.00>
Removable Direct Access SCSI-2 device
Sep 17 19:29:44 server kernel: da0: 40.000MB/s transfers
Sep 17 19:29:44 server kernel: da0: 125MB (256000 512 byte sectors: 64H
32S/T 125C)
Sep 17 19:29:50 server kernel: (da0:umass-sim0:0:0:0): WRITE(10). CDB:
2a 0 0 0
0 21 0 0 8 0
Sep 17 19:29:50 server kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI
Status Error
Sep 17 19:29:50 server kernel: (da0:umass-sim0:0:0:0): SCSI Status:
Check Condition
Sep 17 19:29:50 server kernel: (da0:umass-sim0:0:0:0): DATA PROTECT
asc:27,0
Sep 17 19:29:50 server kernel: (da0:umass-sim0:0:0:0): Write protected
Sep 17 19:29:50 server kernel: (da0:umass-sim0:0:0:0): Unretryable error
Sep 17 19:29:50 server kernel: g_vfs_done():da0s1[WRITE(offset=512,
length=4096)]error = 13
Sep 17 19:29:50 server kernel: (da0:umass-sim0:0:0:0): WRITE(10). CDB:
2a 0 0 0
0 21 0 0 8 0
Sep 17 19:29:50 server kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI
Status Error
Sep 17 19:29:50 server kernel: (da0:umass-sim0:0:0:0): SCSI Status:
Check Condition
Sep 17 19:29:50 server kernel: (da0:umass-sim0:0:0:0): DATA PROTECT
asc:27,0
Sep 17 19:29:50 server kernel: (da0:umass-sim0:0:0:0): Write protected
Sep 17 19:29:50 server kernel: (da0:umass-sim0:0:0:0): Unretryable error
Sep 17 19:29:50 server kernel: g_vfs_done():da0s1[WRITE(offset=512,
length=4096)]error = 13
Sep 17 19:29:50 server kernel: fsync: giving up on dirty
Sep 17 19:29:50 server kernel: 0xffffff00687e35d0: tag devfs, type VCHR
Sep 17 19:29:50 server kernel: usecount 1, writecount 0, refcount 34
mountedhere 0xffffff0048e2e800
Sep 17 19:29:50 server kernel: flags ()
Sep 17 19:29:50 server kernel: v_object 0xffffff0064874b60 ref 0 pages
32
Sep 17 19:29:50 server kernel:
Sep 17 19:29:50 server kernel: dev da0s1
Sep 17 19:29:54 server kernel: (da0:umass-sim0:0:0:0): WRITE(10). CDB:
2a 0 0 0
0 21 0 0 8 0
Sep 17 19:29:54 server kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI
Status Error
Sep 17 19:29:54 server kernel: (da0:umass-sim0:0:0:0): SCSI Status:
Check Condition
Sep 17 19:29:54 server kernel: (da0:umass-sim0:0:0:0): DATA PROTECT
asc:27,0
Sep 17 19:29:54 server kernel: (da0:umass-sim0:0:0:0): Write protected
Sep 17 19:29:54 server kernel: (da0:umass-sim0:0:0:0): Unretryable error
Sep 17 19:29:54 server kernel: g_vfs_done():da0s1[WRITE(offset=512,
length=4096)]error = 13
Sep 17 19:29:54 server kernel: (da0:umass-sim0:0:0:0): WRITE(10). CDB:
2a 0 0 0
0 21 0 0 8 0
Sep 17 19:29:54 server kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI
Status Error
Sep 17 19:29:54 server kernel: (da0:umass-sim0:0:0:0): SCSI Status:
Check Condition
Sep 17 19:29:54 server kernel: (da0:umass-sim0:0:0:0): DATA PROTECT
asc:27,0
Sep 17 19:29:54 server kernel: (da0:umass-sim0:0:0:0): Write protected
Sep 17 19:29:54 server kernel: (da0:umass-sim0:0:0:0): Unretryable error
Sep 17 19:29:54 server kernel: g_vfs_done():da0s1[WRITE(offset=512,
length=4096)]error = 13
Sep 17 19:29:54 server kernel: fsync: giving up on dirty
Sep 17 19:29:54 server kernel: 0xffffff00687e35d0: tag devfs, type VCHR
Sep 17 19:29:54 server kernel: usecount 1, writecount 0, refcount 35
mountedhere 0xffffff0048e2e800
Sep 17 19:29:54 server kernel: flags ()
Sep 17 19:29:54 server kernel: v_object 0xffffff0064874b60 ref 0 pages
32
Sep 17 19:29:54 server kernel:
Sep 17 19:29:54 server kernel: dev da0s1
Sep 17 19:36:16 server syslogd: kernel boot file is /boot/kernel/kernel
Sep 17 19:36:16 server kernel:
Sep 17 19:36:16 server kernel:
Sep 17 19:29:54 server kernel: dev da0s1
Sep 17 19:36:16 server syslogd: kernel boot file is /boot/kernel/kernel
Sep 17 19:36:16 server kernel:
Sep 17 19:36:16 server kernel:
Sep 17 19:36:16 server kernel: Fatal trap 12: page fault while in kernel
mode
Sep 17 19:36:16 server kernel: fault virtual address = 0x0
Sep 17 19:36:16 server kernel: fault code = supervisor
read, page
not present
Sep 17 19:36:16 server kernel: instruction pointer =
0x8:0xffffffff802eb0b6Sep 17 19:36:16 server kernel: stack pointer
= 0x10:0xffffffffb1ef1aa0
Sep 17 19:36:16 server kernel: frame pointer =
0x10:0xffffff004a2fba00
Sep 17 19:36:16 server kernel: code segment = base 0x0,
limit 0xfffff, type 0x1b
Sep 17 19:36:16 server kernel: = DPL 0, pres 1, long 1, def32 0, gran 1
Sep 17 19:36:16 server kernel: processor eflags = interrupt enabled,
resume, IOPL = 0
Sep 17 19:36:16 server kernel: current process = 57 (syncer)
Sep 17 19:36:16 server kernel: trap number = 12
Sep 17 19:36:16 server kernel: panic: page fault
I just upgraded to BETA5. Please let me know if this cannot be
reproduced and if I can provide additional info. If the unit is not
write-protected, I have no issues at all.
Sean
More information about the freebsd-amd64
mailing list