dce5 2TB USB Drive g_vfs_done Errors - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Peripheral Hardware

Peripheral Hardware Stuff that plugs in via USB, FireWire, eSATA, PS/2, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old April 27th, 2012, 06:56
Persephone Persephone is offline
Junior Member
 
Join Date: Nov 2011
Posts: 33
Thanks: 1
Thanked 1 Time in 1 Post
Default 2TB USB Drive g_vfs_done Errors

I have a Western Digital 2TB USB drive. Its format is msdosfs.

My base system and ports are up to date as of today.

Code:
FreeBSD  9.0-STABLE FreeBSD 9.0-STABLE #0: Thu Apr 26 03:00:17 PDT 2012     
user@:/usr/obj/usr/src/sys/GENERIC  amd64
Attempts to write to the drive will either work for a few small files and then fail or outright fail immediately. After write failure an endless stream of:

Code:
kernel: g_vfs_done():da1s1[WRITE(offset=-886695100416, length=32768)]error = 5
is generated in /var/log/messages.

I have run smartctl tests on the device and they show:

Code:
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
I have used the drive extensively in Windows with no read or write errors and have run the system drive check on the drive multiple times with no errors reported.

Last edited by DutchDaemon; April 27th, 2012 at 23:24. Reason: more formatting
Reply With Quote
  #2  
Old April 27th, 2012, 17:07
phoenix's Avatar
phoenix phoenix is offline
Moderator
 
Join Date: Nov 2008
Location: Kamloops, BC, Canada
Posts: 3,140
Thanks: 43
Thanked 700 Times in 578 Posts
Default

Those are general I/O failures, not specific hard disk sector errors (hence why nothing shows in SMART). These errors usually mean there's a failure higher in the stack above the disk itself: disk controller, USB-to-SATA adapter, USB controller in disk pack, USB connector on disk, USB cable, USB connector on computer, USB controller in computer, etc.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.

Last edited by phoenix; April 27th, 2012 at 20:54.
Reply With Quote
  #3  
Old April 27th, 2012, 19:28
jb_fvwm2 jb_fvwm2 is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,385
Thanks: 60
Thanked 145 Times in 130 Posts
Default

I've posted[1] where one can use gcp and/or rsync to write to/from the thumbdrives slower, making their use more reliable. Howsoever [also], if you reformat it to ufs, you can fix it if it breaks with the fsck_ffs -y /dev/da0 also, more easily maybe.
[1] use the forum search maybe.
Reply With Quote
  #4  
Old April 27th, 2012, 22:35
Persephone Persephone is offline
Junior Member
 
Join Date: Nov 2011
Posts: 33
Thanks: 1
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by phoenix View Post
Those are general I/O failures, not specific hard disk sector errors (hence why nothing shows in SMART). These errors usually mean there's a failure higher in the stack above the disk itself: disk controller, USB-to-SATA adapter, USB controller in disk pack, USB connector on disk, USB cable, USB connector on computer, USB controller in computer, etc.
Thank you for the replies.

I rebooted the same machine into Windows 7 a short while ago - same cables, same USB port and copied tens of GBs of data to the drive with no problem.

Also I see that any msdosfs drive always reports this when I do a fsck_msdosfs:

Code:
** Phase 1 - Read and Compare FATs
FAT starts with odd byte sequence (f8ffff0ffffffff7)

Last edited by DutchDaemon; April 27th, 2012 at 23:25.
Reply With Quote
  #5  
Old April 28th, 2012, 03:04
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,701
Thanks: 429
Thanked 1,757 Times in 1,456 Posts
Default

The drive may need a usb_quirk(4).
Reply With Quote
  #6  
Old April 28th, 2012, 03:07
Persephone Persephone is offline
Junior Member
 
Join Date: Nov 2011
Posts: 33
Thanks: 1
Thanked 1 Time in 1 Post
Default

Thanks. I am reading about it now.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] ZFS: errors: Permanent errors have been detected overmind General 5 May 29th, 2011 23:55
Areca and kernel error "g_vfs_done" HeavyUnit System Hardware 1 December 5th, 2010 21:19
g_vfs_done killwin System Hardware 2 March 18th, 2010 16:50
Cannot read from ext2 disk - g_vfs_done():da2[READ(snip)] error 5 skaffen General 0 March 6th, 2009 16:02
g_vfs_done() Error GEOM Disk Encryption ter2007 Installing & Upgrading 4 December 31st, 2008 17:26


All times are GMT +1. The time now is 03:07.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0