Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Sep 2005 15:03:44 +0200
From:      Andreas Klemm <andreas@klemm.apsfilter.org>
To:        freebsd-stable@freebsd.org
Subject:   burncd input output error
Message-ID:  <20050917130343.GA1239@titan.klemm.apsfilter.org>

next in thread | raw e-mail | index | archive | help
2 problems with FreeBSD 5.4 stable:

- burncd has strange exit status when reading ISO file from stdin
  according to manual page possible: 
   [...]
   gunzip -c file.iso.gz | burncd -f /dev/acd0 data - fixate
   [...]

- burncd leaves cdrom in a way that CD cannot be mounted
  after burning, one has to open and re-close CD tray manually
  before one is able to mount the frshly burned CD.

*** trying to burn ISO file

root# rtprio 5 bzcat myfile.iso.bz2 \
	| rtprio 5 burncd -s max -f /dev/acd1 data - fixate
next writeable LBA 0
writing from stdin
written this track 224678 KB total 224678 KB
fixating CD, please wait..
burncd: ioctl(CDRIOCFIXATE): Input/output error
Exitcode 74

*** trying to mount cdrom

root# mount -r -t cd9660 /dev/acd1 /cdrom
cd9660: /dev/acd1: Input/output error
Exit 1

*** ejecting cdrom manually and retrying mount operation

root# mount -r -t cd9660 /dev/acd1 /cdrom
root# cd /cdrom
root# ll
total 21752
-rw-r--r--   2 root  wheel       878 Sep 11 14:23 .cshrc
-rw-r--r--   2 root  wheel       329 Sep 11 14:23 .profile
-r--r--r--   1 root  wheel      6886 Sep 11 14:23 COPYRIGHT
[...]

*** dmesg output

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.4-STABLE #0: Mon Sep 12 20:43:56 CEST 2005
    root@titan.klemm.apsfilter.org:/usr/src/sys/amd64/compile/TITAN64
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 3000+ (1808.81-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x10ff0  Stepping = 0
  Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  AMD Features=0xe2500800<SYSCALL,NX,MMX+,<b25>,LM,3DNow+,3DNow>
real memory  = 1073676288 (1023 MB)
avail memory = 1026531328 (978 MB)
cpu0 on motherboard
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xfc003000-0xfc003fff irq 7 at device 2.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
ohci1: <OHCI (generic) USB controller> mem 0xfc004000-0xfc004fff irq 7 at device 2.1 on pci0
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 4 ports with 4 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfc005000-0xfc0050ff irq 7 at device 2.2 on pci0
usb2: EHCI version 1.0
usb2: companion controllers, 4 ports each: usb0 usb1
usb2: <EHCI (generic) USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 8 ports with 8 removable, self powered
pci0: <bridge> at device 5.0 (no driver attached)
pcm0: <nVidia nForce3 250> port 0xac00-0xac7f,0xa800-0xa8ff mem 0xfc001000-0xfc001fff irq 11 at device 6.0 on pci0
pcm0: <Avance Logic ALC850 AC97 Codec>
atapci0: <nVidia nForce3 Pro UDMA133 controller> port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 8.0 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
atapci1: <GENERIC ATA controller> port 0xc800-0xc80f,0xb60-0xb63,0x960-0x967,0xbe0-0xbe3,0x9e0-0x9e7 irq 10 at device 9.0 on pci0
ata2: channel #0 on atapci1
ata3: channel #1 on atapci1
atapci2: <GENERIC ATA controller> port 0xe000-0xe00f,0xb70-0xb73,0x970-0x977,0xbf0-0xbf3,0x9f0-0x9f7 irq 11 at device 10.0 on pci0
ata4: channel #0 on atapci2
ata5: channel #1 on atapci2
pcib1: <PCI-PCI bridge> at device 11.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pci1: <display> at device 0.1 (no driver attached)
pcib2: <PCI-PCI bridge> at device 14.0 on pci0
pci2: <PCI bus> on pcib2
pci2: <multimedia, audio> at device 8.0 (no driver attached)
fwohci0: <VIA Fire II (VT6306)> port 0x9000-0x907f mem 0xfb001000-0xfb0017ff irq 5 at device 12.0 on pci2
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:10:dc:00:00:77:91:3e
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:10:dc:77:91:3e
fwe0: Ethernet address: 02:10:dc:77:91:3e
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
re0: <RealTek 8169S Single-chip Gigabit Ethernet> port 0x9400-0x94ff mem 0xfb000000-0xfb0000ff irq 5 at device 13.0 on pci2
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S media interface> on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
re0: Ethernet address: 00:11:09:cd:3e:59
orm0: <ISA Option ROMs> at iomem 0xd6000-0xd6fff,0xd4000-0xd57ff,0xd0000-0xd3fff,0xc0000-0xccfff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <4 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ugen0: Syncrosoft Protected Executer, rev 1.10/1.01, addr 2
Timecounter "TSC" frequency 1808811445 Hz quality 800
Timecounters tick every 1.000 msec
Fast IPsec: Initialized Security Association Processing.
ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 100 packets/entry by default
acd0: DVDROM <LITEON DVD-ROM LTD122/IHNC> at ata1-master PIO4
acd1: DVDR <HL-DT-ST DVDRAM GSA-4082B/A201> at ata1-slave PIO4
ad4: 152627MB <ST3160827AS/3.42> [310101/16/63] at ata2-master UDMA33
ad6: 152627MB <ST3160827AS/3.42> [310101/16/63] at ata3-master UDMA33
cd0 at ata1 bus 0 target 0 lun 0
cd0: <LITEON DVD-ROM LTD122 IHNC> Removable CD-ROM SCSI-0 device 
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
cd1 at ata1 bus 0 target 1 lun 0
cd1: <HL-DT-ST DVDRAM GSA-4082B A201> Removable CD-ROM SCSI-0 device 
cd1: 16.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present
Mounting root from ufs:/dev/ad6s1a

	Andreas ///

-- 
http://www.64bits.de
http://www.apsfilter.org
http://people.FreeBSD.org/~andreas



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050917130343.GA1239>