LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   k3b and cdrecord no longer work (https://www.linuxquestions.org/questions/slackware-14/k3b-and-cdrecord-no-longer-work-489219/)

Z038 10-03-2006 10:44 PM

k3b and cdrecord no longer work
 
I'm running Slackware 10.2, kernel 2.6.15.3. I improperly tried to bring it up to -current about three months ago by downloading and installing packages using slackcurrent. I'm afraid I didn't really understand what I was doing, and I've hosed something. I'm expecting a lecture over this.

K3B no longer works. It used to before I hosed my system. When I try to start it from the KDE menu, nothing happens. cdrecord won't work either. It can't find my CD or DVD burner. All cdrecord -scanbuss shows me is my two SATA drives that I'm not even using.

I'd really like to burn my copy of Slackware 11.0 to a DVD, but I need to resolve this problem.

My CD and DVD used to be /dev/hdc and /dev/hdd once upon a time. I think. They are ATAPI devices. I'm not sure if I need a SCSI driver for them, but I don't seem to have one loaded. I can't use my UCB ports to mount CF cards or USB key drives anymore either.

I'm not sure where to start to figure out what my problem is. Help?

Here is output from lsmod

Code:

Module                  Size  Used by
radeon                104352  1
drm                    62996  2 radeon
ipv6                  232832  14
w83627hf              23824  0
hwmon_vid              2432  1 w83627hf
hwmon                  2452  1 w83627hf
eeprom                  5648  0
i2c_isa                3712  1 w83627hf
pcmcia                31396  0
firmware_class          7808  1 pcmcia
yenta_socket          24204  0
rsrc_nonstatic        11264  1 yenta_socket
pcmcia_core            34960  3 pcmcia,yenta_socket,rsrc_nonstatic
usblp                  11136  0
ntfs                  210576  0
isofs                  32440  0
zlib_inflate          17152  1 isofs
ext3                  124296  1
jbd                    48276  1 ext3
videodev                7296  0
psmouse                33284  0
sk98lin              160352  0
shpchp                42048  0
sg                    28832  0
amd64_agp              10180  1
agpgart                28744  2 drm,amd64_agp
ohci1394              30516  0
skge                  34064  0
ieee1394              86712  1 ohci1394
i2c_viapro              7700  0
i2c_core              16784  4 w83627hf,eeprom,i2c_isa,i2c_viapro
uhci_hcd              29584  0
ehci_hcd              29960  0
serio_raw              5764  0
reiserfs              244464  1
root@ixian1:/mnt/hda1/boot/grub# lsmod
Module                  Size  Used by
radeon                104352  1
drm                    62996  2 radeon
ipv6                  232832  14
w83627hf              23824  0
hwmon_vid              2432  1 w83627hf
hwmon                  2452  1 w83627hf
eeprom                  5648  0
i2c_isa                3712  1 w83627hf
pcmcia                31396  0
firmware_class          7808  1 pcmcia
yenta_socket          24204  0
rsrc_nonstatic        11264  1 yenta_socket
pcmcia_core            34960  3 pcmcia,yenta_socket,rsrc_nonstatic
usblp                  11136  0
ntfs                  210576  0
isofs                  32440  0
zlib_inflate          17152  1 isofs
ext3                  124296  1
jbd                    48276  1 ext3
videodev                7296  0
psmouse                33284  0
sk98lin              160352  0
shpchp                42048  0
sg                    28832  0
amd64_agp              10180  1
agpgart                28744  2 drm,amd64_agp
ohci1394              30516  0
skge                  34064  0
ieee1394              86712  1 ohci1394
i2c_viapro              7700  0
i2c_core              16784  4 w83627hf,eeprom,i2c_isa,i2c_viapro
uhci_hcd              29584  0
ehci_hcd              29960  0
serio_raw              5764  0
reiserfs              244464  1


rickh 10-03-2006 10:47 PM

My first guess would be a permissions issue. Have you tried running them as root?

BCarey 10-03-2006 10:56 PM

Don't waste your time trying to figure out what's wrong. Just go ahead an upgrade to 11.0. You don't need to burn CDs/DVDs to do that. Just download all the packages and follow the directions in UPGRADE.TXT. This will probably resolve your problems.

Brian

Z038 10-03-2006 11:10 PM

rickh, I tried cdrecord as root from a console. It can't find the devices.

BCarey, I don't know that I could possibly download all the packages. Seems like that would take ages. I have them on the ISO already, if I could just burn it. Anyway, I want to install Slackware 11.0 first on two other machines, one a desktop and the other a laptop, before I put it on my main desktop.

Z038 10-04-2006 06:55 AM

So does anyone have an idea why my CDROM and DVD have disappeared?

BCarey 10-04-2006 09:20 AM

If you already have the ISO on your computer you can mount it with:

Code:


mount -o loop -t iso9660 /path/to/iso/file.iso /mnt/somemountpoint

and then do the upgrade.

Brian

gbonvehi 10-04-2006 01:57 PM

I would first see if it's been seen by the kernel with: dmesg | grep hd[c-d]
Then try to burn according to the device: cdrecord dev=/dev/hdX file.iso
This is possible since 2.6 kernels can use the device without SCSI emulation, which is what you should see when using -scanbus

BCarey 10-04-2006 04:24 PM

I believe the syntax to use to scan for ATAPI drives without SCSI emulation in 2.6 kernels is

Code:

cdrecord dev=ATA: -scanbus

Brian

davidsrsb 10-04-2006 07:57 PM

I had this problem when I first switched to 2.6
I still had the scsi flag in /etc/lilo.conf for /dev/hdd, which was needed for 2.4
Removed it and it worked.

Z038 10-04-2006 08:32 PM

Thanks for the suggestions. A little progress was made.

1) I'm using GRUB, not LILO. I don't have a SCSI flag set.

2) There is no output from either "dmesg | grep -i hdc" or the same with "hdd". I haven't rebooted in several weeks. Do those messages roll off the dmesg log in that amount of time?

3) Hmmm. This is interesting. Results from cdrecord dev=/dev/hdc file.iso (Note, I don't have a file called file.iso, but just wanted to see if cdrecord would find my drive.)

Code:

root@here# cdrecord dev=/dev/hdc file.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.15.3
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'GENERIC '
Identifikation : 'DVD RW 4XMax    '
Revision      : '2.15'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.

cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
cdrecord: If you need DVD-R/DVD-RW support, ask the Author for cdrecord-ProDVD.
cdrecord: Free test versions and free keys for personal use are at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
Using generic SCSI-3/mmc  CD-R/CD-RW driver (mmc_cdr).
Driver flags  : MMC SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO RAW/R96R
cdrecord: No such file or directory. Cannot open 'file.iso'.

and from cdrecord dev=/dev/hdd file.iso

Code:

root@here# cdrecord dev=/dev/hdd file.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.15.3
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: '/dev/hdd'
devname: '/dev/hdd'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'LG      '
Identifikation : 'CD-RW CED-8083B '
Revision      : '1.10'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc  CD-R/CD-RW driver (mmc_cdr).
Driver flags  : MMC SWABAUDIO
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R

cdrecord: No such file or directory. Cannot open 'file.iso'.

Output from cdrecord dev=ATA: -scanbus

Code:

root@here# cdrecord dev=ATA: -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.15.3
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATA:'
devname: 'ATA'
scsibus: -1 target: -1 lun: -1
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
scsibus1:
        1,0,0  100) 'GENERIC ' 'DVD RW 4XMax    ' '2.15' Removable CD-ROM
        1,1,0  101) 'LG      ' 'CD-RW CED-8083B ' '1.10' Removable CD-ROM
        1,2,0  102) *
        1,3,0  103) *
        1,4,0  104) *
        1,5,0  105) *
        1,6,0  106) *
        1,7,0  107) *

So, progress. cdrecord actually does know about my devices. Only cdrecord says it can't burn a DVD, and it considers the use of /dev/hdX to be a "bad" design. So I still need K3B to work, but it doesn't.

Thank you again. What can I check next to get better device support that cdrecord likes, or get k3b to work?

BCarey 10-04-2006 11:46 PM

The syntax you should try is cdrecord dev=ATA:1,0,0 file.iso.

But you can mount the iso and upgrade without burning the DVD, as I mentioned. My guess is a proper upgrade will solve all your problems.

Brian

Z038 10-05-2006 07:50 AM

Quote:

Originally Posted by BCarey
The syntax you should try is cdrecord dev=ATA:1,0,0 file.iso.

But you can mount the iso and upgrade without burning the DVD, as I mentioned. My guess is a proper upgrade will solve all your problems.

Brian

Brian, thank you. I understand I can mount the ISO and upgrade this system. But I am reluctant to upgrade this machine first because it is my last working system and my most important one. I want to install 11.0 on a new desktop I just built first, then on my laptop, then finally on this system.

I still get errors when I try the cdrecord dev=ATA:1.0.0 slackware-11.0-iso. It looks like cdrecord still wants a SCSI driver. Also complains that Open by 'devname' is unintentional and not supported. Also on a previous attempt it said it didn't support DVD, so I'm guessing K3B, which used to be able to burn to my DVD drive, used something besides cdrecord to do it.

Code:

root@here# cdrecord dev=ATA:1.0.0 slackware-11.0-iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.15.3
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATA:1.0.0'
devname: 'ATA:1.0.0'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
cdrecord: No such file or directory. Cannot open 'ATA:1.0.0'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

I guess I'll try to get the package described by these earlier messages:

Code:

Device seems to be: Generic mmc2 DVD-R/DVD-RW.
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
cdrecord: If you need DVD-R/DVD-RW support, ask the Author for cdrecord-ProDVD.
cdrecord: Free test versions and free keys for personal use are at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/


BCarey 10-05-2006 11:22 AM

k3b does use cdrecord for burning dvds.

Another thing you might try, if you still have some 10.2 disks around, is reinstalling the packages for cdrecord and the other dvd/cd-related packages.

Brian

Z038 10-08-2006 01:08 AM

Got it. I was missing a dependency, libmusicbrainz-2.1.4


All times are GMT -5. The time now is 05:35 PM.