Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2002 13:58:12 +0300
From:      =?Windows-1251?B?3vjq6O0g0eXw4+XpIMLo6vLu8O7i6Pc=?= <yushkin@mail.ru>
To:        freebsd-stable@freebsd.org
Subject:   USB Flash drive trouble
Message-ID:  <1910323724.20020312135812@mail.ru>

next in thread | raw e-mail | index | archive | help
Device: www.usbdrive.com 32Mb

OS: FreeBSD 4.4

KERNEL:
...
device          scbus   # SCSI bus (required)
device          da              # Direct Access (disks)
device          pass            # Passthrough device (direct SCSI
access)
options         SCSI_DELAY=15000        #Delay (in ms) before probing
SCSI
device          uhci            # UHCI PCI->USB interface
device          ohci            # OHCI PCI->USB interface
device          usb             # USB Bus (required)
device          ugen            # Generic
device          uhid
device         umass           # Disks/Mass storage - Requires scbus and da
device          ums             # Mouse "Human Interface Devices"
device          ukbd            # Keyboard

rc.conf:
ubsd_enable="YES"

# reboot

dmesg:
umass0: vendor 0x0c76 product 0x0003, rev 1.10/1.00, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <GENERIC USB Mass Storage 1.00> Removable Direct Access SCSI-2
device
da0: 650KB/s transfers
da0: 31MB (64000 512 byte sectors: 64H 32S/T 31C)

# mount_msdos /dev/da0 /mnt/flashdrive
Input/Output Error
dmesg:
(da0:umass-sim0:0:0:0): READ(06). CDB: 8 0 0 0 1 0
(da0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0
(da0:umass-sim0:0:0:0): Invalid command operation code
da0: reading primary partition table: error reading fsbn 0

:(


|  Yushkin Sergey Viktorovich   | ICQ: 7183425           |
|       Network Engineer        | Ph: +7 (095) 725-4432  |
|         Prime Group           | Ph: +7 (095) 725-4433  |
| E-Mail: yushkin@primegroup.ru | http://yushkin.chat.ru |


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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