From owner-freebsd-current Thu Apr 6 8:28:48 2000 Delivered-To: freebsd-current@freebsd.org Received: from blues.jpj.net (blues.jpj.net [204.97.17.146]) by hub.freebsd.org (Postfix) with ESMTP id 8562537C020 for ; Thu, 6 Apr 2000 08:28:38 -0700 (PDT) (envelope-from trevor@jpj.net) Received: from localhost (trevor@localhost) by blues.jpj.net (right/backatcha) with ESMTP id e36FSYp25572; Thu, 6 Apr 2000 11:28:34 -0400 (EDT) Date: Thu, 6 Apr 2000 11:28:33 -0400 (EDT) From: Trevor Johnson To: Soren Schmidt Cc: freebsd-current@freebsd.org Subject: trouble with burncd on FreeBSD-CURRENT Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greetings. I'm getting errors when I use burncd, and I'm hoping you may have insight into them. Both burncd and the kernel were compiled from sources cvsupped at around 11:27 UTC 2000-04-06. While burncd seems to be able to blank a CD-RW disk and to write data onto it, there is always a failure around the time it does the "fixate" operation. Afterward, I cannot eject the disk by pressing the eject button on the drive, until rebooting the computer. Under FreeBSD 3.4, I was able to use wormcontrol with no trouble. My kernel configuration file has these options: # ATA and ATAPI devices device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 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 I have similar problems without ATA_ENABLE_ATAPI_DMA. I also had similar problems when I had the CD-RW drive slaved to the 84000A6 hard disk. Here's a typical attempt: # burncd -s 2 -f /dev/acd0c blank Apr 6 16:13:28 ws99 /kernel: acd0: READ_TOC - ILLEGAL REQUEST asc=24 ascq=00 error=04 Apr 6 16:13:28 ws99 /kernel: acd0: READ_TOC - ILLEGAL REQUEST asc=24 ascq=00 error=04 blanking CD, please wait.. # Apr 6 16:14:58 ws99 /kernel: acd0: READ_TOC - ILLEGAL REQUEST asc=24 ascq=00 error=04 Apr 6 16:14:58 ws99 /kernel: acd0: READ_TOC - ILLEGAL REQUEST asc=24 ascq=00 error=04 # time burncd -s 2 -f /dev/acd0c data test.iso fixate next writeable LBA 0 writing from file test.iso size 360 KB written this track 360 KB (100%) total 360 KB fixating CD, please wait.. burncd: ioctl(CDRIOCCLOSEDISK): Input/output error Apr 6 16:15:30 ws99 /kernel: acd0: CLOSE_TRACK/SESSION - ILLEGAL REQUEST asc=64 ascq=00 error=04 0.0u 0.0s 0:00.87 0.0% 0+0k 8+0io 0pf+0w Apr 6 16:15:30 ws99 /kernel: acd0: CLOSE_TRACK/SESSION - ILLEGAL REQUEST asc=64 ascq=00 error=04 # Apr 6 16:15:30 ws99 /kernel: acd0: PREVENT_ALLOW - ILLEGAL REQUEST asc=64 ascq=00 error=04 Apr 6 16:15:30 ws99 /kernel: acd0: PREVENT_ALLOW - ILLEGAL REQUEST asc=64 ascq=00 error=04 Here's an example of the dmesg output: Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 5.0-CURRENT #0: Thu Apr 6 14:33:41 BST 2000 root@ws99.localdomain:/usr/src/sys/compile/FREEBASE50a Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (411.96-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x650 Stepping = 0 Features=0x183f9ff real memory = 134152192 (131008K bytes) config> di sn0 No such device: sn0 Invalid command or syntax. Type `?' for help. config> di lnc0 No such device: lnc0 Invalid command or syntax. Type `?' for help. config> di le0 No such device: le0 Invalid command or syntax. Type `?' for help. config> di ie0 No such device: ie0 Invalid command or syntax. Type `?' for help. config> di fe0 No such device: fe0 Invalid command or syntax. Type `?' for help. config> di cs0 No such device: cs0 Invalid command or syntax. Type `?' for help. config> di bt0 No such device: bt0 Invalid command or syntax. Type `?' for help. config> di aic0 No such device: aic0 Invalid command or syntax. Type `?' for help. config> aha0 Invalid command or syntax. Type `?' for help. config> di adv0 No such device: adv0 Invalid command or syntax. Type `?' for help. config> q avail memory = 127016960 (124040K bytes) Preloaded elf kernel "kernel" at 0xc035d000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc035d09c. Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 2.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 2.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 2.2 irq 11 chip1: port 0x5000-0x500f at device 2.3 on pci0 pci0: at 13.0 irq 7 ed0: port 0xe400-0xe41f irq 3 at device 15. 0 on pci0 ed0: supplying EUI64: 00:40:05:ff:fe:39:7d:e0 ed0: address 00:40:05:39:7d:e0, type NE2000 (16 bit) fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 sio1: configured irq 3 not in bitmap of probed irqs 0 ppc0: parallel port not found. pca0 at port 0x40 on isa0 sbc0: at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0 sbc0: setting card to irq 5, drq 1, 5 pcm0: on sbc0 unknown0: at port 0x168-0x16f,0x36e-0x36f irq 10 on isa0 unknown1: at port 0x620-0x623 on isa0 unknown2: at port 0x200-0x207 on isa0 unknown3: at port 0x100 on isa0 ad0: 6149MB [12495/16/63] at ata0-master using UDMA33 ad1: 3820MB [7763/16/63] at ata0-slave using WDMA2 acd0: CD-RW at ata1-master using PIO3 Mounting root from ufs:/dev/ad0s1a ed0: starting DAD for fe80:0001::0240:05ff:fe39:7de0 ed0: DAD complete for fe80:0001::0240:05ff:fe39:7de0 - no duplicates found WARNING: run /dev/MAKEDEV before 2000-06-01 to get rid of block devices acd0: READ_TOC - ILLEGAL REQUEST asc=24 ascq=00 error=04 acd0: READ_TOC - ILLEGAL REQUEST asc=24 ascq=00 error=04 acd0: CLOSE_TRACK/SESSION - ILLEGAL REQUEST asc=64 ascq=00 error=04 acd0: PREVENT_ALLOW - ILLEGAL REQUEST asc=64 ascq=00 error=04 __ Trevor Johnson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message