Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jun 2008 10:47:11 GMT
From:      Arnaud Houdelette <arnaud.houdelette@tzim.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/124186: [zfs] Illegal request messages when using ZFS on USB flash drive
Message-ID:  <200806011047.m51AlBpk063998@www.freebsd.org>
Resent-Message-ID: <200806011050.m51Ao1Ff042112@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         124186
>Category:       kern
>Synopsis:       [zfs] Illegal request messages when using ZFS on USB flash drive
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 01 10:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Arnaud Houdelette
>Release:        7.0-Stable
>Organization:
N/A
>Environment:
FreeBSD carenath.tzim.net 7.0-STABLE FreeBSD 7.0-STABLE #5: Fri May 30 12:14:34 CEST 2008     tzim@carenath.tzim.net:/usr/obj/usr/src/sys/CARENATH  amd64

>Description:
When creating a zpool on a certain usb flash disk, I keep getting kernel messages:
(da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0
(da0:umass-sim0:0:0:0): Invalid command operation code
(da0:umass-sim0:0:0:0): Unretryable error

However, the zpool and file system on it seem to work as expected.

I can't reproduce the problem with another (more recent) usb flash drive.

Below are the (verbose) dmesg output for the usb keys.
umass0: <vendor 0x0930 USB Flash Memory, class 0/0, rev 2.00/1.00, addr 2> on uhub5
umass0:0:0:-1: Attached to scbus0
umass1: <USB DISK 2.0, class 0/0, rev 2.00/12.19, addr 3> on uhub5
umass1:1:1:-1: Attached to scbus1
da0 at umass-sim0 bus 0 target 0 lun 0
da0: < USB Flash Memory 1.00> Removable Direct Access SCSI-2 device
da0: Serial Number \^_
da0: 40.000MB/s transfers
da0: 1930MB (3953664 512 byte sectors: 255H 63S/T 246C)
da1 at umass-sim1 bus 1 target 0 lun 0
da1: <USB DISK 2.0 1219> Removable Direct Access SCSI-0 device
da1: Serial Number \^_
da1: 40.000MB/s transfers
da1: 1912MB (3915776 512 byte sectors: 255H 63S/T 243C)


>How-To-Repeat:
Plug a certain type (?) of usb key. 
Enter the following : 

zfs create testusb /dev/da0

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806011047.m51AlBpk063998>