Bug #1418
closedHAMMER and problem with external drive(s)
0%
Description
Problems beginning some time after mount on line beginning with "(da8". This is
a new version 2 hammer partition made and used on freshly updated system on
ThinkPad X31 laptop. Same kind of error and messages have appeared with a
different external drive (older hammer partition, older installation) on a
different DragonFly install as well, as well as when trying to use its even
older installation CD (which was an old 09-02-06 snapshot) live as well as
trying to install with HAMMER on said different external drive (for later manual
adjustment and use in laptop).
No such problem with other filesystems, no problem (ever) with HAMMER on
non-external drives.
For log below (until a first incident), these messages with which the problem
begins keep repeating if trying further use. Unmounting and re-mounting gives
some time (though much data written during previous mount lost) before it
happens again in the same way.
Everything works until the
"(da8:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0
(da8:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da8:umass-sim0:0:0:0): SCSI Status: Check Condition
(da8:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0
(da8:umass-sim0:0:0:0): Invalid command operation code
(da8:umass-sim0:0:0:0): Unretryable error"
starts repeating, followed by
"HAMMER: Critical error inode=-1 while flushing meta-data"
and
"HAMMER: Forcing read-only mode"
.
Console log for fluffc.localhost
umass0: <Generic USB Storage Device, class 0/0, rev 2.00/0.00, addr 2> on uhub3
umass0: Get Max Lun not supported (TIMEOUT)
da8 at umass-sim0 bus 0 target 0 lun 0
da8: <WDC WD40 WD-WMAMY1717283 6A04> Fixed Direct Access SCSI-2 device
da8: 40.000MB/s transfers
da8: 381554MB (781422768 512 byte sectors: 255H 63S/T 48641C)
Jul 8 23:06:57 fluffc su: joel to root on /dev/ttyp1
(da8:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0
(da8:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da8:umass-sim0:0:0:0): SCSI Status: Check Condition
(da8:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0
(da8:umass-sim0:0:0:0): Invalid command operation code
(da8:umass-sim0:0:0:0): Unretryable error
(da8:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0
(da8:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da8:umass-sim0:0:0:0): SCSI Status: Check Condition
(da8:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0
(da8:umass-sim0:0:0:0): Invalid command operation code
(da8:umass-sim0:0:0:0): Unretryable error
(da8:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0
(da8:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da8:umass-sim0:0:0:0): SCSI Status: Check Condition
(da8:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0
(da8:umass-sim0:0:0:0): Invalid command operation code
(da8:umass-sim0:0:0:0): Unretryable error
HAMMER: Critical error inode=-1 while flushing meta-data
HAMMER: Forcing read-only mode
HAMMER: Critical write error during flush, refusing to sync UNDO FIFO