Date: Thu, 24 Apr 97 00:53:11 +0200 From: Ben Stuyts <benst@terminus.stuyts.nl> To: stable@freebsd.org Subject: How to use CD-writer as regular cd reader? Message-ID: <199704232320.BAA00270@terminus.stuyts.nl>
next in thread | raw e-mail | index | archive | help
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 <Adaptec aic7880 Ultra SCSI host adapter> 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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704232320.BAA00270>