LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-03-2006, 10:44 PM   #1
Z038
Member
 
Registered: Jan 2006
Location: Dallas
Distribution: Slackware
Posts: 912

Rep: Reputation: 174Reputation: 174
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
 
Old 10-03-2006, 10:47 PM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
My first guess would be a permissions issue. Have you tried running them as root?
 
Old 10-03-2006, 10:56 PM   #3
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
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
 
Old 10-03-2006, 11:10 PM   #4
Z038
Member
 
Registered: Jan 2006
Location: Dallas
Distribution: Slackware
Posts: 912

Original Poster
Rep: Reputation: 174Reputation: 174
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.
 
Old 10-04-2006, 06:55 AM   #5
Z038
Member
 
Registered: Jan 2006
Location: Dallas
Distribution: Slackware
Posts: 912

Original Poster
Rep: Reputation: 174Reputation: 174
So does anyone have an idea why my CDROM and DVD have disappeared?
 
Old 10-04-2006, 09:20 AM   #6
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
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
 
Old 10-04-2006, 01:57 PM   #7
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
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
 
Old 10-04-2006, 04:24 PM   #8
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
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
 
Old 10-04-2006, 07:57 PM   #9
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
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.

Last edited by davidsrsb; 10-04-2006 at 08:00 PM.
 
Old 10-04-2006, 08:32 PM   #10
Z038
Member
 
Registered: Jan 2006
Location: Dallas
Distribution: Slackware
Posts: 912

Original Poster
Rep: Reputation: 174Reputation: 174
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?
 
Old 10-04-2006, 11:46 PM   #11
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
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
 
Old 10-05-2006, 07:50 AM   #12
Z038
Member
 
Registered: Jan 2006
Location: Dallas
Distribution: Slackware
Posts: 912

Original Poster
Rep: Reputation: 174Reputation: 174
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/
 
Old 10-05-2006, 11:22 AM   #13
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
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
 
Old 10-08-2006, 01:08 AM   #14
Z038
Member
 
Registered: Jan 2006
Location: Dallas
Distribution: Slackware
Posts: 912

Original Poster
Rep: Reputation: 174Reputation: 174
Got it. I was missing a dependency, libmusicbrainz-2.1.4
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC4: cdrecord can no longer burn 3-inch CDs.. coolingtower Linux - General 4 01-20-2006 03:42 PM
k3b/cdrecord error xobiso Linux - Software 6 12-16-2005 07:20 PM
K3B with no cdrecord (...?) martincho Linux - Software 2 05-06-2005 06:19 PM
K3b Cdrecord inescapeableus Linux - Software 5 03-16-2005 02:27 AM
k3b no longer works guygriffiths Linux - Software 0 03-06-2004 01:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration