Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Apr 2000 11:28:33 -0400 (EDT)
From:      Trevor Johnson <trevor@jpj.net>
To:        Soren Schmidt <sos@freebsd.dk>
Cc:        freebsd-current@freebsd.org
Subject:   trouble with burncd on FreeBSD-CURRENT
Message-ID:  <Pine.BSI.4.21.0004061027580.22868-100000@blues.jpj.net>

next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA
T,PSE36,MMX,FXSR>
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: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
isab0: <Intel 82371AB PCI to ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 2.1
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 2.2 irq 11
chip1: <Intel 82371AB Power management controller> port 0x5000-0x500f at
device 
2.3 on pci0
pci0: <Matrox MGA Millennium 2064W graphics accelerator> at 13.0 irq 7
ed0: <NE2000 PCI Ethernet (RealTek 8029)> 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: <NEC 72065B or clone> 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: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> 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: <Creative SB16/SB32> 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: <SB DSP 4.13> on sbc0
unknown0: <Generic ESDI/IDE/ATA controller> at port
0x168-0x16f,0x36e-0x36f irq 
10 on isa0
unknown1: <WaveTable> at port 0x620-0x623 on isa0
unknown2: <Game> at port 0x200-0x207 on isa0
unknown3: <StereoEnhance> at port 0x100 on isa0
ad0: 6149MB <Maxtor 90645D3> [12495/16/63] at ata0-master using UDMA33
ad1: 3820MB <Maxtor 84000A6> [7763/16/63] at ata0-slave using WDMA2
acd0: CD-RW <Hewlett-Packard CD-Writer Plus 8100> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.4.21.0004061027580.22868-100000>