From owner-freebsd-stable Wed Apr 23 16:31:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA00296 for stable-outgoing; Wed, 23 Apr 1997 16:31:23 -0700 (PDT) Received: from relay.NL.net (relay.NL.net [193.78.240.18]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id QAA00291 for ; Wed, 23 Apr 1997 16:31:19 -0700 (PDT) Received: from stuyts by relay.NL.net (5.65b/NLnet-3.4) id AA03270; Thu, 24 Apr 1997 01:31:13 +0200 Received: from daneel (daneel.stuyts.nl [193.78.231.7]) by terminus.stuyts.nl (8.8.5/8.8.4) with SMTP id BAA00270 for ; Thu, 24 Apr 1997 01:20:57 +0200 (MET DST) Message-Id: <199704232320.BAA00270@terminus.stuyts.nl> Received: by daneel (NX5.67f2/NX3.0X) id AA01036; Thu, 24 Apr 97 00:53:13 +0200 Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) X-Nextstep-Mailer: Mail 3.3 (Enhance 1.2) Received: by NeXT.Mailer (1.118.2) From: Ben Stuyts Date: Thu, 24 Apr 97 00:53:11 +0200 To: stable@freebsd.org Subject: How to use CD-writer as regular cd reader? Reply-To: ben@stuyts.nl Sender: owner-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello, This is on FreeBSD 2.2-STABLE, ctm 248. I've been using my Philips CDD2600 as a regular cd-rom, but today I wanted to try it as a cd-writer. I added the worm device to my kernel, added rworm0 in /dev, and it seems I succeeded in burning a cdrom. (I used the Philips CDD2000 settings for wormcontrol, and that seems to work.) I used to be able to mount a cd using the /dev/cd0a device with something like mount -o ro -t cd9660 /dev/cd0a /cdrom This now no longer works, as the cd has been taken over by the /dev/rworm0 device. The mount command gives the following error: cd9660: /dev/cd0a: Device not configured Is there a way to mount the cd writer as a cd rom when having a worm device in the kernel? Here is some output of dmesg: ahc0 rev 0 int a irq 9 on pci0:12 ahc0: Using left over BIOS settings ahc0: aic7880 Wide Channel, SCSI Id=7, 16/255 SCBs ahc0 waiting for scsi devices to settle ahc0: target 1 Tagged Queuing Device (ahc0:1:0): "IBM DCAS-34330W S61A" type 0 fixed SCSI 2 sd0(ahc0:1:0): Direct-Access 4134MB (8467200 512 byte sectors) sd0(ahc0:1:0): with 8205 cyls, 6 heads, and an average 171 sectors/track ahc0: target 2 Tagged Queuing Device (ahc0:2:0): "FUJITSU M2694ES-512 812A" type 0 fixed SCSI 2 sd1(ahc0:2:0): Direct-Access 1033MB (2117025 512 byte sectors) sd1(ahc0:2:0): with 1819 cyls, 15 heads, and an average 77 sectors/track (ahc0:3:0): "QUANTUM TRB850S 0404" type 0 fixed SCSI 2 sd2(ahc0:3:0): Direct-Access 810MB (1660299 512 byte sectors) sd2(ahc0:3:0): with 3653 cyls, 4 heads, and an average 113 sectors/track (ahc0:4:0): "PHILIPS CDD2600 1.06" type 5 removable SCSI 2 worm0(ahc0:4:0): Write-Once And here is an extract from the kernel config: options "CD9660" #ISO 9660 Filesystem options SCSI_DELAY=5 #Be pessimistic about Joe SCSI device options BOUNCE_BUFFERS #include support for DMA bounce buffers controller ahc0 options AHC_TAGENABLE options AHC_SCBPAGING_ENABLE options AHC_ALLOW_MEMIO controller scbus0 device sd0 device st0 device cd0 #Only need one of these, the code dynamically grows device worm0 at scbus? # SCSI worm options SCSI_REPORT_GEOMETRY Best regards, Ben Stuyts (ben@stuyts.nl)