Bug 117712 - [reboot] unexpected reboot after mount USB flash drive
Summary: [reboot] unexpected reboot after mount USB flash drive
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: usb (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-usb (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-31 06:50 UTC by andrew barbashov
Modified: 2017-12-31 22:37 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andrew barbashov 2007-10-31 06:50:00 UTC
connect USB flash drive (transcend jetflash with switch read only on / R/o off) via USB, swith on flash - R/O on -

Oct 30 12:20:04 ra kernel: umass0: JetFlash TS256MJF2A, rev 2.00/1.00, addr 2
Oct 30 12:20:04 ra kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Oct 30 12:20:04 ra kernel: da0: <JetFlash TS256MJF2A 1.00> Removable Direct Access SCSI-2 device 
Oct 30 12:20:04 ra kernel: da0: 40.000MB/s transfers
Oct 30 12:20:04 ra kernel: da0: 248MB (508000 512 byte sectors: 64H 32S/T 248C)

all correct.

try to mount  -

#mount -t msdos /dev/da0s1 /mnt

Oct 30 12:21:04 ra kernel: (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 0 0 0 0 40 0 0 8 0 
Oct 30 12:21:04 ra kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
Oct 30 12:21:04 ra kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition
Oct 30 12:21:04 ra kernel: (da0:umass-sim0:0:0:0): DATA PROTECT asc:27,0
Oct 30 12:21:04 ra kernel: (da0:umass-sim0:0:0:0): Write protected
Oct 30 12:21:04 ra kernel: (da0:umass-sim0:0:0:0): Unretryable error
Oct 30 12:21:04 ra kernel: g_vfs_done():da0s1[WRITE(offset=4096, length=4096)]error = 13
Oct 30 12:21:04 ra kernel: (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 0 0 0 0 40 0 0 8 0 
Oct 30 12:21:04 ra kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
Oct 30 12:21:04 ra kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition
Oct 30 12:21:04 ra kernel: (da0:umass-sim0:0:0:0): DATA PROTECT asc:27,0
Oct 30 12:21:04 ra kernel: (da0:umass-sim0:0:0:0): Write protected
Oct 30 12:21:04 ra kernel: (da0:umass-sim0:0:0:0): Unretryable error
Oct 30 12:21:04 ra kernel: g_vfs_done():da0s1[WRITE(offset=4096, length=4096)]error = 13
Oct 30 12:21:04 ra kernel: fsync: giving up on dirty
Oct 30 12:21:04 ra kernel: 0xc2fc9990: tag devfs, type VCHR
Oct 30 12:21:04 ra kernel: usecount 1, writecount 0, refcount 33 mountedhere 0xc3baba00
Oct 30 12:21:04 ra kernel: flags ()
Oct 30 12:21:04 ra kernel: v_object 0xc3cf44a4 ref 0 pages 32
Oct 30 12:21:04 ra kernel: 
Oct 30 12:21:04 ra kernel: dev da0s1

after this system reboot. 
try this on other 2 PC with same effect.
if flash swith R/O off - no this problem.
thanks...
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:41 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped