Re: usb/150401: Errors from USB drives mixed between UFS and ZFS

2010-11-03 Thread Andriy Bakay


On 2010-10-12, at 15:32, Andriy Bakay and...@irbisnet.com wrote:

 Hi All,
 
 I have same issue (see below link) on FreeBSD 8.1-RELEASE-p1 i386. Do you 
 know what is root cause of it or how to fix it?
 
 http://lists.freebsd.org/pipermail/freebsd-usb/2010-September/009283.html
 
 Thanks,
 Andriy
 
 ___
 freebsd-usb@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-usb
 To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org

I have Free Agent Pro and Go Flex external hard drives both of them connected 
to same USB controller. After I disable power saving feature on both of them 
(Seagate tool for Windows was used) the issue seems go away. I did not notice 
it for three week for now.

Andriy___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/150401: Errors from USB drives mixed between UFS and ZFS

2010-09-21 Thread Jim Nasby
The following reply was made to PR usb/150401; it has been noted by GNATS.

From: Jim Nasby j...@nasby.net
To: bug-follo...@freebsd.org,
 deci...@decibel.org
Cc:  
Subject: Re: usb/150401: Errors from USB drives mixed between UFS and ZFS
Date: Tue, 21 Sep 2010 11:03:42 -0500

 My best guess at this point is that this issue is caused strictly by =
 having multiple IO requests out at once. Any operation involving more =
 than one drive at a time is able to produce errors. Hammering on a =
 single drive works fine.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/150401: Errors from USB drives mixed between UFS and ZFS

2010-09-13 Thread Jim Nasby
The following reply was made to PR usb/150401; it has been noted by GNATS.

From: Jim Nasby j...@nasby.net
To: bug-follo...@freebsd.org,
 deci...@decibel.org
Cc:  
Subject: Re: usb/150401: Errors from USB drives mixed between UFS and ZFS
Date: Mon, 13 Sep 2010 07:39:16 -0500

 Also, I've now seen errors on all 3 USB drives (though most commonly on =
 the two ZFS ones). I suspect this is strictly a USB issue and nothing to =
 do with ZFS.=
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/150401: Errors from USB drives mixed between UFS and ZFS

2010-09-13 Thread Hans Petter Selasky
On Monday 13 September 2010 14:40:05 Jim Nasby wrote:
 The following reply was made to PR usb/150401; it has been noted by GNATS.
 
 From: Jim Nasby j...@nasby.net
 To: bug-follo...@freebsd.org,
  deci...@decibel.org
 Cc:
 Subject: Re: usb/150401: Errors from USB drives mixed between UFS and ZFS
 Date: Mon, 13 Sep 2010 07:39:16 -0500
 
  Also, I've now seen errors on all 3 USB drives (though most commonly on =
  the two ZFS ones). I suspect this is strictly a USB issue and nothing to =
  do with ZFS.=
 ___
 freebsd-usb@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-usb
 To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org

Have you tried enabling USB quirks on your drives?

--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/150401: Errors from USB drives mixed between UFS and ZFS

2010-09-12 Thread Jim Nasby
The following reply was made to PR usb/150401; it has been noted by GNATS.

From: Jim Nasby j...@nasby.net
To: bug-follo...@freebsd.org,
 deci...@decibel.org
Cc:  
Subject: Re: usb/150401: Errors from USB drives mixed between UFS and ZFS
Date: Sun, 12 Sep 2010 14:38:10 -0500

 UQ_MSC_NO_SYNC_CACHE didn't help. Are there other quirks to try?
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/150401: Errors from USB drives mixed between UFS and ZFS

2010-09-09 Thread Hans Petter Selasky
On Monday 06 September 2010 05:33:09 Decibel! wrote:
 Number: 150401
 Category:   usb
 Synopsis:   Errors from USB drives mixed between UFS and ZFS
 Confidential:   no
 Severity:   serious
 Priority:   medium
 Responsible:freebsd-usb
 State:  open
 Quarter:
 Keywords:
 Date-Required:
 Class:  sw-bug
 Submitter-Id:   current-users
 Arrival-Date:   Thu Sep 09 03:00:08 UTC 2010
 Closed-Date:
 Last-Modified:
 Originator: Decibel!
 Release:FreeBSD 8.1-RELEASE amd64
 Organization:
 
 Environment:
 System: FreeBSD noel.decibel.org 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Thu
 Sep 2 19:38:40 CDT 2010 r...@noel.decibel.org:/usr/obj/usr/src/sys/GENERIC
 amd64
 
 Description:
 I have a system with 3 USB drives: 2 are in a zpool mirror (though I've
 seen the same behavior with them in a simple zpool stripe), one is
 stand-alone UFS.
 
 I can hit either ZFS or the UFS drive hard (running bonnie++) and things
 are fine. But as soon as I start hitting both of them, I start getting
 errors:
 
 Sep  6 03:16:31 noel kernel: (da0:umass-sim0:0:0:0): AutoSense failed
 Sep  6 03:16:31 noel root: ZFS: vdev I/O failure, zpool=zsb path=/dev/da0
 offset=1145095418880 size=1024 error=5 (I'll get some number of the second
 error, usually between 5 and 20 per incident).
 
 The frequency of these errors is dependent on workload. I've been rsyncing
 some data at a rate of ~500kB/s (rsync --bwlimit=500) and that's
 generating roughly 3 events per hour:
 
 Sep  6 00:36:00 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed
 Sep  6 01:37:11 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed
 Sep  6 01:38:25 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed
 Sep  6 01:40:02 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed
 Sep  6 01:41:03 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed
 Sep  6 01:41:34 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed
 Sep  6 02:18:27 noel kernel: (da0:umass-sim0:0:0:0): AutoSense failed
 Sep  6 02:37:36 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed
 Sep  6 02:42:30 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed
 Sep  6 03:13:30 noel kernel: (da0:umass-sim0:0:0:0): AutoSense failed
 Sep  6 03:15:38 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed
 Sep  6 03:16:31 noel kernel: (da0:umass-sim0:0:0:0): AutoSense failed
 
 The errors are always on the ZFS drives (da0, da1); I haven't seen any on
 the UFS drive.
 
 deci...@noel.2[22:32]~:15sudo usbconfig
 ugen0.1: OHCI root HUB nVidia at usbus0, cfg=0 md=HOST spd=FULL (12Mbps)
 pwr=ON ugen1.1: EHCI root HUB nVidia at usbus1, cfg=0 md=HOST spd=HIGH
 (480Mbps) pwr=ON ugen1.2: FreeAgent Seagate at usbus1, cfg=0 md=HOST
 spd=HIGH (480Mbps) pwr=ON ugen1.3: FreeAgent Seagate at usbus1, cfg=0
 md=HOST spd=HIGH (480Mbps) pwr=ON ugen1.4: FreeAgent Pro Seagate at
 usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen0.2: USB Mouse
 Logitech at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
 
 How-To-Repeat:
 Hopefully someone else can repeat this with a similar setup.
 
 Fix:
 Release-Note:
 Audit-Trail:
 
 Unformatted:
 ___
 freebsd-usb@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-usb
 To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org

Hi,

Try to enable quirks on your USB mass storage device, for example no 
synchronize cache. See man usbconfig and usbconfig -h and kldload usb_quirk.ko

--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/150401: Errors from USB drives mixed between UFS and ZFS

2010-09-09 Thread Hans Petter Selasky
The following reply was made to PR usb/150401; it has been noted by GNATS.

From: Hans Petter Selasky hsela...@c2i.net
To: freebsd-usb@freebsd.org,
 Decibel! deci...@decibel.org
Cc: freebsd-gnats-sub...@freebsd.org
Subject: Re: usb/150401: Errors from USB drives mixed between UFS and ZFS
Date: Thu, 9 Sep 2010 08:53:41 +0200

 On Monday 06 September 2010 05:33:09 Decibel! wrote:
  Number: 150401
  Category:   usb
  Synopsis:   Errors from USB drives mixed between UFS and ZFS
  Confidential:   no
  Severity:   serious
  Priority:   medium
  Responsible:freebsd-usb
  State:  open
  Quarter:
  Keywords:
  Date-Required:
  Class:  sw-bug
  Submitter-Id:   current-users
  Arrival-Date:   Thu Sep 09 03:00:08 UTC 2010
  Closed-Date:
  Last-Modified:
  Originator: Decibel!
  Release:FreeBSD 8.1-RELEASE amd64
  Organization:
  
  Environment:
  System: FreeBSD noel.decibel.org 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Thu
  Sep 2 19:38:40 CDT 2010 r...@noel.decibel.org:/usr/obj/usr/src/sys/GENERIC
  amd64
  
  Description:
  I have a system with 3 USB drives: 2 are in a zpool mirror (though I've
  seen the same behavior with them in a simple zpool stripe), one is
  stand-alone UFS.
  
  I can hit either ZFS or the UFS drive hard (running bonnie++) and things
  are fine. But as soon as I start hitting both of them, I start getting
  errors:
  
  Sep  6 03:16:31 noel kernel: (da0:umass-sim0:0:0:0): AutoSense failed
  Sep  6 03:16:31 noel root: ZFS: vdev I/O failure, zpool=zsb path=/dev/da0
  offset=1145095418880 size=1024 error=5 (I'll get some number of the second
  error, usually between 5 and 20 per incident).
  
  The frequency of these errors is dependent on workload. I've been rsyncing
  some data at a rate of ~500kB/s (rsync --bwlimit=500) and that's
  generating roughly 3 events per hour:
  
  Sep  6 00:36:00 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed
  Sep  6 01:37:11 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed
  Sep  6 01:38:25 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed
  Sep  6 01:40:02 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed
  Sep  6 01:41:03 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed
  Sep  6 01:41:34 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed
  Sep  6 02:18:27 noel kernel: (da0:umass-sim0:0:0:0): AutoSense failed
  Sep  6 02:37:36 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed
  Sep  6 02:42:30 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed
  Sep  6 03:13:30 noel kernel: (da0:umass-sim0:0:0:0): AutoSense failed
  Sep  6 03:15:38 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed
  Sep  6 03:16:31 noel kernel: (da0:umass-sim0:0:0:0): AutoSense failed
  
  The errors are always on the ZFS drives (da0, da1); I haven't seen any on
  the UFS drive.
  
  deci...@noel.2[22:32]~:15sudo usbconfig
  ugen0.1: OHCI root HUB nVidia at usbus0, cfg=0 md=HOST spd=FULL (12Mbps)
  pwr=ON ugen1.1: EHCI root HUB nVidia at usbus1, cfg=0 md=HOST spd=HIGH
  (480Mbps) pwr=ON ugen1.2: FreeAgent Seagate at usbus1, cfg=0 md=HOST
  spd=HIGH (480Mbps) pwr=ON ugen1.3: FreeAgent Seagate at usbus1, cfg=0
  md=HOST spd=HIGH (480Mbps) pwr=ON ugen1.4: FreeAgent Pro Seagate at
  usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen0.2: USB Mouse
  Logitech at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
  
  How-To-Repeat:
  Hopefully someone else can repeat this with a similar setup.
  
  Fix:
  Release-Note:
  Audit-Trail:
  
  Unformatted:
  ___
  freebsd-usb@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-usb
  To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
 
 Hi,
 
 Try to enable quirks on your USB mass storage device, for example no 
 synchronize cache. See man usbconfig and usbconfig -h and kldload usb_quirk.ko
 
 --HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org