From owner-FreeBSD-users-jp@jp.freebsd.org  Wed Aug  1 10:25:58 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id KAA95995;
	Wed, 1 Aug 2001 10:25:58 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from sv01.geocities.co.jp (sv01.geocities.co.jp [210.153.89.155])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id KAA95990
	for <FreeBSD-users-jp@jp.freebsd.org>; Wed, 1 Aug 2001 10:25:58 +0900 (JST)
	(envelope-from gwna@geocities.co.jp)
Received: from mail.geocities.co.jp (mail.geocities.co.jp [210.153.89.137]) by sv01.geocities.co.jp (8.9.3+3.2W/3.7W) with ESMTP id KAA20941; Wed, 1 Aug 2001 10:25:52 +0900 (JST)
Received: from CL3208 ([210.175.4.211]) by mail.geocities.co.jp (1.3G-GeocitiesJ-3.3) with SMTP id KAA03931; Wed, 1 Aug 2001 10:25:47 +0900 (JST)
Message-Id: <200108010125.KAA03931@mail.geocities.co.jp>
X-BrokenID: <006f01c11a28$e696efb0$1c20a8c0@nmsjg.co.jp>
From: "Hirokazu WATANABE" <gwna@geocities.co.jp>
To: <FreeBSD-users-jp@jp.freebsd.org>
Cc: "Rachmat Hidajat" <rachmat@canada.com>
References: <Pine.BSF.4.21.0107311713520.5817-100000@tambora.parokinet.org> <20010801094547R.akiba@dit.co.jp>
Date: Wed, 1 Aug 2001 10:25:39 +0900
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-2022-jp"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+010328
X-Sequence: FreeBSD-users-jp 63359
Subject: [FreeBSD-users-jp 63359] Re: burncd: inappropriate ioctl for device
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org
X-Originator: gwna@geocities.co.jp

$BEOJU$G$9!#$"$($FA4J80zMQ$7$^$9!#(B

From: "Shinji Akiba" <akiba@dit.co.jp>
To: <FreeBSD-users-jp@jp.freebsd.org>
Sent: Wednesday, August 01, 2001 9:45 AM
Subject: [FreeBSD-users-jp 63358] Re: burncd: inappropriate ioctl for device

> dit$B$N=)>l$H?=$7$^$9!#(B
> 
> In <Pine.BSF.4.21.0107311713520.5817-100000@tambora.parokinet.org> Rachmat Hidajat <rachmat@canada.com> wrote:
>> Hi All, 
>> I'm sorry for writing this in English.
> 
> $BF|K\8l$OFI$a$^$9$h$M!#(B
> 
>> I Just installed an ATAPI CD-RW as the second CD drive on my computer
>> running FreeBSD(98) 4.3-STABLE. The installation was cool, the drive was
>> readily recognized as /dev/wcd1, and all I had to do was adding a new
>> device in /dev/. I could read CDs as well without any problem. However,
>> when
>> I tried to write with burncd, it came up with the ioctl problem. The
>> related dmesg is as followed:
> 
> $BCfES>JN,(B
> 
>> wcd1: drive speed 5512KB/sec, 4096KB cache
>> wcd1: supported read types: CD-R, CD-RW, CD-DA, packet track
>> wcd1: supported write types: CD-R, CD-RW, test write
>> wcd1: Audio: play, 256 volume levels
>> wcd1: Mechanism: ejectable tray
>> wcd1: Medium: no/blank disc inside, unlocked
>> wdc0: driver is using old-style compatability shims
>> 
>> And when I fire up burncd, I always get the following result:
>> 
>> # burncd -f /dev/wcd1c -s 2 -m data image.iso
>> burncd: ioctl (CDRIOCWRITESPEED): Inapproriate ioctl for device
> 
> burncd$B$O(BATA$B%I%i%$%PMQ$G$9!#(B
> WD$B%I%i%$%P$r;H$&>l9g$O!"(Bwormcontrol$B$H(Bdd$B$rAH$_9g$o$;$F(BCD$B$r>F$-$^$9!#(B
> 
> $B0J2<$N$h$&$J%9%/%j%W%H$r:n$C$F!"0z?t$K(BISO9660$B%$%a!<%8$r;XDj$9$l$P(B
> $B=q$-9~$a$k$G$7$g$&!#(B
> 
> wormcontrol$B$,$J$1$l$P(Bsource$B$+$i%3%s%Q%$%k$9$l$P(BOK$B$G$9!#(B
> team$B$,$J$1$l$P(BWEB$B$G8!:w$9$l$P8+$D$+$k$G$7$g$&!#(B
> 
> -----$B$3$3$+$i(B-----
> #!/bin/sh 
> 
> CDR=/dev/rwcd1c
> 
> wormcontrol -f $CDR prepdisk max
> wormcontrol -f $CDR track data
> rtprio 5 team -v 1m 5 < $@ | rtprio 5 dd of=$CDR obs=20k
> wormcontrol -f $CDR fixate 1
> -----$B$3$3$^$G(B-----
> 
> --
> akiba@dit.co.jp


$BJL2r$H$7$F(B ata driver $B$r;HMQ$9$kJ}K!$b$"$j$^$9!#(B
kernel configuration file $B$N(B wdc, wd, wcd $B$r(B comment out,
ata, nac, atapi* $B$r(B comment in $B$7!"(B kernel rebuild $B$9$l$P;HMQ$G$-(B
$B$^$9!#$3$s$J46$8(B$B!#(B

@@ -73,8 +73,8 @@
 device         fd3     at fdc0 drive 3

 # IDE controller and disks
-device         wdc0    at isa? port IO_WD1 irq 9
-device         wd0     at wdc0 drive 0
+#device                wdc0    at isa? port IO_WD1 irq 9
+#device                wd0     at wdc0 drive 0
 #device                wd1     at wdc0 drive 1
 #device                wd2     at wdc0 drive 2
 #device                wd3     at wdc0 drive 3
@@ -84,17 +84,17 @@
 #device                wd2     at wdc0 drive 3
 #
 # ATA and ATAPI devices
-#device                nac0    at isa? port IO_WD1 irq 9
-#device                ata
-#device                atadisk                 # ATA disk drives
-#device                atapicd                 # ATAPI CDROM drives
+device         nac0    at isa? port IO_WD1 irq 9
+device         ata
+device         atadisk                 # ATA disk drives
+device         atapicd                 # ATAPI CDROM drives
 #device                atapifd                 # ATAPI floppy drives
 #device                atapist                 # ATAPI tape drives
 #options               ATA_STATIC_ID           #Static device numbering
 ##options      ATA_ENABLE_ATAPI_DMA    #Enable DMA on ATAPI devices

 # ATAPI devices on wdc
-device         wcd             #IDE CD-ROM
+#device                wcd             #IDE CD-ROM
 #device                wfd             #IDE Floppy (e.g. LS-120)
 #device                wst             #IDE Tape (e.g. Travan)
 

$B$J$*!"(Breboot $BA0$K(B /etc/fstab $B$r(B wd => ad $B$KJQ99$7$F$*$$$?$[$&$,NI$$(B
$B$H;W$$$^$9!#(B
---
$BEOJU9@OB(B<gwna@geocities.co.jp>,
       <wnabe@par.odn.ne.jp>,
       <wnabe@crux.ocn.ne.jp>$B!wI\Cf(B

