From owner-freebsd-questions Mon Mar 5 12:14:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from maile.telia.com (maile.telia.com [194.22.190.16]) by hub.freebsd.org (Postfix) with ESMTP id B743337B718 for ; Mon, 5 Mar 2001 12:12:51 -0800 (PST) (envelope-from watchman@ludd.luth.se) Received: from d1o906.telia.com (d1o906.telia.com [195.252.36.241]) by maile.telia.com (8.11.2/8.11.0) with ESMTP id f25KCmn05363 for ; Mon, 5 Mar 2001 21:12:48 +0100 (CET) Received: from ludd.luth.se (h12n1fls20o906.telia.com [213.64.92.12]) by d1o906.telia.com (8.8.8/8.8.8) with ESMTP id VAA10465 for ; Mon, 5 Mar 2001 21:12:46 +0100 (CET) Message-ID: <3AA3F33C.C16EC6E5@ludd.luth.se> Date: Mon, 05 Mar 2001 21:12:44 +0100 From: Joachim =?iso-8859-1?Q?Str=F6mbergson?= Organization: Acne X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-STABLE i386) X-Accept-Language: en-US MIME-Version: 1.0 To: questions Subject: Help: Burning a cd with burncd and Plextor Plexwriter 16/10/40A Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Aloha! (Tried to post this once before, but never see it on the maillist and a search on the freebsd web site doesn't show it, so...) Could somebody help med straighten out a problem for me, please? I have bought a Plextor Plexwriter 16/10/40A IDE cd-burner and are now wasting many fine empty cds in futile attempts at burning stuff onto the poor things. I found out that for ATAPI disks there is a tool in FreeBSD 4.X called burncd that should work. Also, mkisofs is a tool in the ports that allow me to create ISO-images from files. (I found some nice commands and help from the www.freebsddiary.org site). What I do: To create an ISO image from files: # mkisofs -J -L -R -o image.iso * I test the ISO-image by: # vnconfig /dev/vn0c ./image.iso # mount -t cd9660 /dev/vn0c /cdrom And I try to burn the cd with the following command: # burncd -f /dev/acd0c data image.iso fixate The mounting of the image works, so the ISO looks ok. Also, the burncd starts out looking good. But when it reaches the fixate stage (to create the TOC) it reports: "burncd: ioctl(CDRIOCCLOSEDISK): Inappropriate ioctl for device" and quites. If I try to mount the created cd, the cd plyer chews for a while and then spits out the cd. So, it seems yet another poor cd have gotten terminally foot & mouth-illnes or something... Searching the net I found a recommendation to look in /usr/share/examples/atapi for some scripts/commands to use for burning audio of data cds with burncd. But, at least on my installation that directory is empty. Any help and pointers highly welcome. Anything to save those poor cds... .-) My /etc/fstab: -------------- # Device Mountpoint FStype Options Dump Pass# /dev/ad0s2b none swap sw 0 0 /dev/ad1s1a / ufs rw 1 1 /dev/ad1s1e /usr ufs rw 2 2 /dev/acd0c /rcdrom cd9660 rw,noauto 0 0 /dev/acd1c /cdrom cd9660 ro,noauto 0 0 /dev/ad0s1 /mnt/win98 msdos rw 0 0 proc /proc procfs rw 0 0 My /dev/acd0c entry: --------------------- 0 crw-r----- 2 root operator 117, 2 3 Mar 18:09 acd0c My system: ---------- FreeBSD 4.2-STABLE #12: Fri Mar 2 10:52:51 CET 2001 js@fetis.ninja.se:/usr/obj/usr/src/sys/SMP4X Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (534.55-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x665 Stepping = 5 Features=0x183fbff real memory = 134217728 (131072K bytes) avail memory = 127156224 (124176K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 IOAPIC #0 intpin 17 -> irq 9 IOAPIC #0 intpin 18 -> irq 11 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc0378000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc037809c. Preloaded elf module "splash_bmp.ko" at 0xc03780ec. Preloaded elf module "vesa.ko" at 0xc0378190. Preloaded splash_image_data "/daemon1.bmp" at 0xc037822c. VESA: v3.0, 4096k memory, flags:0x1, mode table:0xc032a502 (1000022) VESA: NVidia 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 pci1: at 0.0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 7.2 Timecounter "PIIX" frequency 3579545 Hz chip1: port 0x5000-0x500f at device 7.3 on pci0 vr0: port 0xd400-0xd4ff mem 0xea000000-0xea0000ff irq 9 at device 13.0 on pci0 vr0: Ethernet address: 00:50:ba:6b:6f:21 miibus0: on vr0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto atapci1: port 0xe000-0xe0ff,0xdc00-0xdc03,0xd800-0xd807 irq 11 at device 19.0 on pci0 ata2: at 0xd800 on atapci1 atapci2: port 0xec00-0xecff,0xe800-0xe803,0xe400-0xe407 irq 11 at device 19.1 on pci0 ata3: at 0xe400 on atapci2 isa0: too many dependant configs (8) fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <2880-KB 3.5" drive (in 1440-KB mode)> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model MouseMan+, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: IEEE1284 device found /NIBBLE/ECP Probing for PnP devices on ppbus0: ppbus0: MLC,PCL,PML lpt0: on ppbus0 lpt0: Interrupt-driven port sbc0: at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0 pcm0: on sbc0 unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via IOAPIC #0 intpin 2 SMP: AP CPU #1 Launched! ad0: 9641MB [19590/16/63] at ata0-master UDMA33 ata0-slave: DMA limited to UDMA33, non-ATA66 compliant cable ad1: 16500MB [33525/16/63] at ata0-slave UDMA33 acd0: CD-RW at ata1-master using WDMA2 acd1: DVD-ROM at ata1-slave using UDMA33 -- Cheers! Joachim - Alltid i harmonisk svängning --- FairLight ------ FairLight ------ FairLight ------ FairLight --- Joachim Strömbergson ASIC SoC designer, nice to CUTE animals Phone: +46(0)31 - 27 98 47 Web: http://www.ludd.luth.se/~watchman --------------- Spamfodder: regeringen@regeringen.se --------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message