william Posted June 27, 2004 Report Share Posted June 27, 2004 2 months ago (before updating the system) my LG cd writer was working properly, I've been trying to burn an ISO image file (with k3b), recently and fineshed with a cdrecord error 254. It burns till a certain point and gives this error output. I've done a google search on this errror but was not able to find any final solution to my problem, so I read this tutorial and figured out that my lilo.conf file doesn't mentioned any "hdc=ide-scsi hdb=ide-scsi" line. 1)lilo.conf: boot=/dev/hda map=/boot/map default="Linux-2.6.3-9" keytable=/boot/us.klt prompt nowarn timeout=200 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz label="failsafe" root=/dev/hda5 initrd=/boot/initrd.img append="failsafe acpi=ht resume=/dev/sda5 devfs=nomount" read-only other=/dev/hda1 label="windows" table=/dev/hda other=/dev/fd0 label="floppy" unsafe image=/boot/vmlinuz-2.6.3-9mdk label="Linux-2.6.3-9" root=/dev/hda5 initrd=/boot/initrd-2.6.3-9mdk.img append="devfs=mount acpi=ht resume=/dev/sda5 splash=silent" vga=794 read-only 2) k3b stuff: [root@poseidon william]# rpm -qa | grep k3b k3b-dvd-0.11.1-15mdk libk3b1-0.11.1-15mdk k3b-0.11.1-15mdk libk3b1-devel-0.11.1-15mdk 3) cdrecord output [root@poseidon william]# cdrecord -scanbus Cdrecord-Clone 2.01a28-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling Note: This version is an unofficial (modified) version with DVD support Note: and therefore may have bugs that are not present in the original. Note: Please send bug reports or support requests to <warly@mandrakesoft.com>. Note: The author of cdrecord should not be bothered with problems in this version. Linux sg driver version: 3.5.30 Using libscg version 'schily-0.8'. cdrecord: Warning: using inofficial libscg transport code version (warly-Mandrakelinux-scsi-linux-sg '@(#)scsi-linux-sg.c 1.81 04/04/18 Copyright 1997 J. Schilling'). scsibus0: 0,0,0 0) 'Maxtor 2' 'F040J0 ' '' Disk 0,1,0 1) * 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) * 0,7,0 7) * scsibus1: 1,0,0 100) 'IOMEGA ' 'ZIP 750 ' '72.u' Removable Disk 1,1,0 101) * 1,2,0 102) * 1,3,0 103) * 1,4,0 104) * 1,5,0 105) * 1,6,0 106) * 1,7,0 107) * 4) fstab /dev/hda5 / ext3 noatime 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hda7 /home ext3 noatime 1 2 /dev/sda1 /mnt/altroot ext3 user,defaults 1 2 none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,exec,--,umask=0,user,iocharset=iso8859-1,codepage=850 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0 /dev/sda6 /mnt/storage ext3 user,exec,defaults 1 2 /dev/hda1 /mnt/windows vfat umask=0,iocharset=iso8859-1,codepage=850 0 0 none /mnt/zip supermount dev=/dev/scsi/host1/bus0/target0/lun0/part4,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,kudzu,codepage=850 0 0 none /proc proc defaults 0 0 /dev/hda6 swap swap defaults 0 0 /dev/sda5 swap swap defaults 0 0 It reads cds and dvds quite well. The only issue is related to its writing capability. Any prompt reply would be very much appreciated. Thanks. Quote Link to comment Share on other sites More sharing options...
DragonMage Posted June 28, 2004 Report Share Posted June 28, 2004 If everything works properly, kernel 2.6.x doesn't require scsi emulation in order to burn cd. So the hdc=ide-scsi and hdd=ide-scsi line is not needed. I'm afraid in Mandrake 10, cdrecord has a problem with supermount. I disable supermount and use magicdev for my laptop, so that I can burn properly. However my desktop hate magicdev, so I have to mount everything manually. Although it is somewhat strange that cdrecord doesn't detect your IDE cdrom. Also, from what I see in your /etc/lilo.conf, it seems that you have a scsi harddrive? (from the line resume=/dev/sda5). My detected DVD-RW looks like this from cdrecord-scanbus [dmage@aragorn dmage]$ cdrecord -scanbus Cdrecord-Clone 2.01a28-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling Note: This version is an unofficial (modified) version with DVD support Note: and therefore may have bugs that are not present in the original. Note: Please send bug reports or support requests to <warly@mandrakesoft.com>. Note: The author of cdrecord should not be bothered with problems in this version. scsidev: 'ATA' devname: 'ATA' scsibus: -2 target: -2 lun: -2 Warning: Using badly designed ATAPI via /dev/hd* interface. Linux sg driver version: 3.5.27 Using libscg version 'schily-0.8'. cdrecord: Warning: using inofficial libscg transport code version (warly-Mandrakelinux-scsi-linux-sg '@(#)scsi-linux-sg.c 1.81 04/04/18 Copyright 1997 J. Schilling'). scsibus0: 0,0,0 0) * 0,1,0 1) 'TOSHIBA ' 'DVD-ROM SD-R6012' '1330' Removable CD-ROM 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) * 0,7,0 7) * As you can see there is a line saying ATA interface. Since my DVD-RW is /dev/hdb, it is located in the second device of the scsibus. Do you enable devfs so that /dev/hdc and /dev/hdd goes into the right places? Quote Link to comment Share on other sites More sharing options...
zero0w Posted June 28, 2004 Report Share Posted June 28, 2004 I think supermount should be disabled for the problem it creates.... Quote Link to comment Share on other sites More sharing options...
william Posted June 28, 2004 Author Report Share Posted June 28, 2004 I'm sorry DragonMage, but I'm completely ignorant regarding these issues: SCSI and ATA/IDE. I have a USB Maxto HD as cdrecord-scanbus properly detected, but that partition sda5 in lilo conf. is related to a swap partition I've created on this HD, so that I could be able to try other linux flavors. Why the hell it's there in lilo.conf? "Do you enable devfs so that /dev/hdc and /dev/hdd goes into the right places?" How to check it? Thanks all . Quote Link to comment Share on other sites More sharing options...
william Posted June 29, 2004 Author Report Share Posted June 29, 2004 I got it working after playing around (un) plugging my external HD and zip drive, my gentoo ISO file was finally duly burnt. I figured out that the USB zip drive was fighting with the LG CDRW/DVDRW for a SCSI positioon, tried gcombust (device not recognised) even with the zip drive unplugged, upgraded from -9mdk to 2.6.3-14mdk, reinstalled k3b and at this moment these are the system's output: [william@poseidon william]$ cdrecord -scanbus Cdrecord-Clone 2.01a28-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling Note: This version is an unofficial (modified) version with DVD support Note: and therefore may have bugs that are not present in the original. Note: Please send bug reports or support requests to <warly@mandrakesoft.com>. Note: The author of cdrecord should not be bothered with problems in this version. scsidev: 'ATA' devname: 'ATA' scsibus: -2 target: -2 lun: -2 [color=yellow] Warning: Using badly designed ATAPI via /dev/hd* interface. (WHAT IS IT?) [/color] Linux sg driver version: 3.5.27 Using libscg version 'schily-0.8'. cdrecord: Warning: using inofficial libscg transport code version (warly-Mandrakelinux-scsi-linux-sg '@(#)scsi-linux-sg.c1.81 04/04/18 Copyright 1997 J. Schilling'). scsibus1: 1,0,0 100) 'HL-DT-ST' 'DVDRAM GSA-4081B' 'A100' Removable CD-ROM 1,1,0 101) * 1,2,0 102) * 1,3,0 103) * 1,4,0 104) * 1,5,0 105) * 1,6,0 106) * 1,7,0 107) * My current fstab. I reformatted the 2nd HD and it's just waiting for gentoo (if I succeed in got it installed here) :P [william@poseidon william]$ cat /etc/fstab /dev/hda5 / ext3 noatime 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hda7 /home ext3 noatime 1 2 none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0 none /mnt/hdc supermount dev=/dev/hdc,fs=auto,--,umask=0,user,iocharset=iso8859-1,codepage=850 0 0 /dev/hda1 /mnt/windows vfat umask=0,iocharset=iso8859-1,codepage=850 0 0 none /mnt/zip supermount dev=/dev/scsi/host1/bus0/target0/lun0/part4,fs=vfat,exec,--,umask=0,user,iocharset=iso8859-1,dev,codepage=850,suid,kudzu 0 0 none /proc proc defaults 0 0 /dev/hda6 swap swap defaults 0 0 The zip drive is there in fstab, but before booting the system I unplugged it. DragonMage, after the kernel update I went to MCC in the boot loader section and let the system choose for the default mode in the append part of lilo setup. That is it...I'll keep playing around with these devices here in order to get both working together. In case of any query I'll don't hesitate to let you know. Thanks! Quote Link to comment Share on other sites More sharing options...
william Posted June 29, 2004 Author Report Share Posted June 29, 2004 This is my new fstab after attaching the zip drive to the computer. [william@poseidon william]$ cat /etc/fstab /dev/hda5 / ext3 noatime 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hda7 /home ext3 noatime 1 2 none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0 none /mnt/hdc supermount dev=/dev/hdc,fs=auto,--,umask=0,user,iocharset=iso8859-1,codepage=850 0 0 /dev/hda1 /mnt/windows vfat umask=0,iocharset=iso8859-1,codepage=850 0 0 none /proc proc defaults 0 0 /dev/hda6 swap swap defaults 0 0 none /mnt/zip supermount dev=/dev/sda1,fs=ext2:vfat,--,codepage=850,kudzu,iocharset=iso8859-15 0 0 none /mnt/zip2 supermount dev=/dev/scsi/host0/bus0/target0/lun0/part4,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,kudzu,codepage=850 0 0 zip1 despite of being mounted has no file on it while 2 is also mounted and full of files. hotplug is stopped, harddrake is not. I've already seen an issue like this here. Quote Link to comment Share on other sites More sharing options...
DragonMage Posted June 29, 2004 Report Share Posted June 29, 2004 So you got it working? That's cool :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.