From owner-FreeBSD-users-jp@jp.FreeBSD.org Thu Feb  5 00:06:03 2004
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id i14F63576430;
	Thu, 5 Feb 2004 00:06:03 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from pluto44.pluto.ai.kyutech.ac.jp (matumoto@pluto44.pluto.ai.kyutech.ac.jp [131.206.22.44])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id i14F62C76425
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Thu, 5 Feb 2004 00:06:02 +0900 (JST)
	(envelope-from matumoto@pluto.ai.kyutech.ac.jp)
Received: (from matumoto@localhost)
	by pluto44.pluto.ai.kyutech.ac.jp (8.9.3/3.7W00101913) id AAA27242;
	Thu, 5 Feb 2004 00:05:59 +0900 (JST)
Message-Id: <200402041505.AAA27242@pluto44.pluto.ai.kyutech.ac.jp>
From: matumoto@pluto.ai.kyutech.ac.jp (Ryuji Matsumoto)
X-Moe: =?ISO-2022-JP?B?GyRCJDchPCRdJHMbKEI=?=
To: FreeBSD-users-jp@jp.FreeBSD.org
In-Reply-To: Your message of "Mon, 2 Feb 2004 23:42:44 +0900".
	<200402021442.i12EgiYj064067@cherry2.sanpei.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
X-Mailer: mnews [version 1.22] 1999-12/19(Sun)
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Thu, 5 Feb 2004 00:05:59 +0900
X-Sequence: FreeBSD-users-jp 78260
Subject: [FreeBSD-users-jp 78260] Re: DVD 	=?ISO-2022-JP?B?GyRCIV4bKEI=?=
 R/RWLogitec DR-H443SU2 (SCSI/USB2.0
	=?ISO-2022-JP?B?GyRCN3NNURsoQg==?=)
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: matumoto@pluto.ai.kyutech.ac.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+040130

$B>>85$G$9!#(B

In article <200402021442.i12EgiYj064067@cherry2.sanpei.org>
sanpei@sanpei.org writes:
>> $B$=$l$>$l$N%Q%C%A$O!"(B4-stable $B$K(B 1$B7n(B24$BF|$KF~$l$^$7$?$N$G!"$=$l0J9_$N(B
>> 4-stable $B$r;H$&$+(B 4-stable $B$N(B umass.c $B$r;}$C$F$/$l$P;H$($k$H;W$$$^$9!#(B
>> 
>> http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/dev/usb/umass.c?rev=1.11.2.26&content-type=text/plain
>> http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/dev/usb/usbdevs?rev=1.11.2.53&content-type=text/plain

$B%U%)%m!<$"$j$,$H$&$4$6$$$^$9!#(B

$B$A$g$C$HET9g$G(B DVD$B!^(BR/RW Logitec DR-H443SU2 (SCSI/USB2.0$B7sMQ(B)$B$O;H$($J(B
$B$+$C$?$N$G$9$,!"$+$o$j$K=u<j$5$s$+$i<Z$j<j$F$-$?(BDVD+R/RW Logitec
LDR-PR22U2(USB2.0)$B$G;n$7$F$_$^$7$?!#(B

--------------------------
% usbdevs -v
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb1:
addr 1: self powered, config 1, OHCI root hub(0x0000), NEC(0x0000), rev 1.00
 port 1 powered
 port 2 addr 2: self powered, config 1, LDR USB Device(0x0083), Logitec Corp.(0x0789), rev 1.00
 port 3 powered
Controller /dev/usb2:
addr 1: self powered, config 1, OHCI root hub(0x0000), NEC(0x0000), rev 1.00
 port 1 powered
 port 2 powered
--------------------------
% dmesg $BH4?h(B
umass0: Logitec Corp. LDR USB Device, rev 2.00/1.00, addr 2
cd0 at umass-sim0 bus 0 target 0 lun 0
cd0: < DVD+RW RW8160 1.00> Removable CD-ROM SCSI-0 device
cd0: 650KB/s transfers
cd0: cd present [107072 x 2048 byte records]

--------------------------

$B65$($F$b$i$C$?%Q%C%A$r$"$F$F$_$?$N$G$9$,!"(Bcdrecord$B$,@5>oF0:n$7$J$$$h$&(B
$B$G$9!#(B($B%m%0(BA)$B!#(B 

dmesg$B$K(B

	umass0: Unsupported ATAPI command 0x35

$B$H$$$&%(%i!<$,=P$F$$$?$N$G!"(B($B0G$/$b$K0UL#$b2r$i$:$K(B)$B<!$N2~B$$r$7$F$_$^(B
$B$7$?!#(B

*** umass.c.old2        Wed Feb  4 22:48:48 2004
--- umass.c     Wed Feb  4 22:49:19 2004
***************
*** 2952,2957 ****
--- 2952,2958 ----
        case 0xad: /* READ_DVD_STRUCTURE */
        case 0xbb: /* SET_CD_SPEED */
        case 0xe5: /* READ_TRACK_INFO_PHILIPS */
+       case 0x35:
                /* Copy the command into the (zeroed out) destination buffer */
                memcpy(*rcmd, cmd, cmdlen);
                return 1;       /* success */
---------
$B$9$k$H>F$1$k$h$&$K$J$j$^$7$?!#(B($B%m%0(BB)

$B$J$*!"(BDVD+R$B$N%a%G%#%"$O=j;}$7$F$$$J$$$?$a!"(BDVD+R$B$N%F%9%H$O$7$F$^$;$s!#(B

$B0J>e$G$9!#(B

--------------------------------- $B%m%0(B A --------------------------------
% cdrecord -v speed=6 dev=1,0,0 -data /tmp/sourcecd.iso

  ($B>JN,(B)

Track 01: Total bytes read/written: 219283456/219283456 (107072 sectors).
cdrecord: Input/output error. flush cache: scsi sendcmd: retryable error
CDB:  35 00 00 00 00 00 00 00 00 00
status: 0x0 (GOOD STATUS)
cmd finished after 0.002s timeout 120s
Trouble flushing the cache
Writing  time:  274.774s
Average write speed   5.3x.
Min drive buffer fill was 0%
Total of 24 possible drive buffer underruns predicted.
Fixating...
cdrecord: Input/output error. close track/session: scsi sendcmd: retryable error
CDB:  5B 00 02 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0C 00 00 00 00 2C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x2C Qual 0x00 (command sequence error) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.012s timeout 480s
cmd finished after 0.012s timeout 480s


^Ccdrecord: Caught interrupt.         <-- Ctrl+C $B$GL5M}LpM};_$a$?!#(B
^Ccdrecord: fifo had 3454 puts and 3454 gets.
cdrecord: fifo was 0 times empty and 3389 times full, min fill was 98%.

--------------------------------- $B%m%0(B B --------------------------------
% cdrecord -v speed=6 dev=1,0,0 -data /tmp/sparccd.iso

  ($B>JN,(B)

Track 01: Total bytes read/written: 92078080/92078080 (44960 sectors).
Writing  time:  125.254s
Average write speed   5.2x.
Min drive buffer fill was 0%
Total of 9 possible drive buffer underruns predicted.
Fixating...
Fixating time:   41.773s
cdrecord: fifo had 1451 puts and 1451 gets.
cdrecord: fifo was 0 times empty and 1385 times full, min fill was 96%.

--
$B6e=#9)6HBg3X(B $B>pJs9)3XIt(B $BCNG=>pJs9)3X2J(B $BCNG=>pJs%a%G%#%"9V:B(B
$B>>85N4Fs(B E-mail: matumoto@pluto.ai.kyutech.ac.jp
PGP fingerprint: ED 79 12 81 F3 AB AC CC  A6 9A C5 A9 35 C6 5A 78
URL: <http://www.pluto.ai.kyutech.ac.jp/plt/matumoto/>


