Date: Tue, 29 Apr 2008 19:59:37 +0800 From: "Xiaofan Chen" <xiaofanc@gmail.com> To: "Hans Petter Selasky" <hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: USB Mass Storage Device with HPS Stack Message-ID: <a276da400804290459o26b6b447id7d98452a4d315b@mail.gmail.com> In-Reply-To: <200804290901.08874.hselasky@c2i.net> References: <a276da400804250733v1e8db234x75265d7cfca915c@mail.gmail.com> <200804281035.30155.hselasky@c2i.net> <a276da400804280646g43924cc9id1f83c3510d2e2f1@mail.gmail.com> <200804290901.08874.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 29, 2008 at 3:01 PM, Hans Petter Selasky <hselasky@c2i.net> wrote: > If umass is in the kernel you need to rebuild. Else you "kldunload umass". Ok I rebuild the kernel and use atausb instead of umass. Here is the dmesg output, so it is not working either. atausb0: <USB Mass Storage, class 0/0, rev 2.00/2.00, addr 2> on usb2 atausb0: using SCSI over Bulk-Only ata4: <USB lun 0> on atausb0 afd0: 476MB <FLASH DISK 2.00> at ata4-master USB2 ata5: <USB lun 1> on atausb0 acd1: DEVICE_RESET unsupported afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 acd1: CDRW <FLASH DISK/2.00> at ata5-master USB2 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 GEOM_LABEL: Label for provider afd0s1 is msdosfs/NATIONAL. acd1: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 acd1: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 acd1: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 acd1: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 If I use umass, umass0: <USB Mass Storage, class 0/0, rev 2.00/2.00, addr 2> on usb2 umass0: SCSI over Bulk-Only; quirks = 0x0000 umass0:0:0:-1: Attached to scbus0 da0 at umass-sim0 bus 0 target 0 lun 0 da0: <NATIONAL FLASH DISK 2.00> Removable Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: 477MB (976896 512 byte sectors: 64H 32S/T 477C) cd0 at umass-sim0 bus 0 target 0 lun 1 cd0: <NATIONAL FLASH DISK 2.00> Removable CD-ROM SCSI-2 device cd0: 40.000MB/s transfers cd0: cd present [30720 x 2048 byte records] GEOM_LABEL: Label for provider da0s1 is msdosfs/NATIONAL. GEOM_LABEL: Label for provider cd0 is iso9660/NATIONAL. [mcuee@freebsd7 /usr/home/mcuee]$ sudo mount_cd9660 /dev/cd0 /media/usbcd/ mount_cd9660: /dev/cd0: Invalid argument Something is strange here. Xiaofan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a276da400804290459o26b6b447id7d98452a4d315b>