LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-14-2006, 12:27 AM   #1
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
CDR burner not being recognized by K3B setup


The title says it all. "Could not find an additional device at
/dev/hdd" I've tried /dev/hdd , /dev/cdrom2 /dev/cdrw2. (I've added the cdrw1 and cdrw2 devices in /dev). Both cdrom are cdrw's, tried cdrw1, hdc, etc. Always the same... It usually is mounted at /cdrom1 or /cdrom2 (/dev/hdc /dev/hdd). cd read fine. The mepis livecd I have finds/burns with no problem.

Running Slack 10.2, not current, KDE, kernel 2.4.31

***Update***

cd1 & cd2 is now reading/mounting cdroms when booted from mepis livecd, but wiil not mount/read in Slackware.

Last edited by cwwilson721; 04-14-2006 at 02:01 AM.
 
Old 04-14-2006, 02:06 AM   #2
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649

Original Poster
Blog Entries: 1

Rep: Reputation: 67
Cleaned CDROM, now can boot Mepis LiveCD, and mount/read from Mepis. But when I boot Slackware, it refuses to mount either cd1 or cd2, saying neither are valid block devices.

Any ideas?
 
Old 04-14-2006, 02:09 AM   #3
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941

Rep: Reputation: 129Reputation: 129
Please post the output of "dmesg | grep -i atapi" and "cat /etc/fstab" and "mount" and let us take a look see.
 
Old 04-14-2006, 02:17 AM   #4
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649

Original Poster
Blog Entries: 1

Rep: Reputation: 67
Code:
# dmesg | grep -i atapi
hdc: LITE-ON COMBO SOHC-4832K, ATAPI CD/DVD-ROM drive
hdd: PHILIPS CDRW2412A, ATAPI CD/DVD-ROM drive
Code:
# cat /etc/fstab
/dev/hdb4        swap             swap        defaults         0   0
/dev/hdb1        /                reiserfs    defaults         1   1
/dev/hdb2        /root            reiserfs    defaults         1   2
/dev/hdb3        /home            reiserfs    defaults         1   2
/dev/hda1        /winxp           ntfs        ro               1   0
/dev/hdc         /cdrom1          auto        defaults         1   2
/dev/hdd         /cdrom2          auto        defaults         1   2
/dev/sda1        /usbkey          auto        defaults         1   2
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
And
Code:
# mount
/dev/hdb1 on / type reiserfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
/dev/hdb2 on /root type reiserfs (rw)
/dev/hdb3 on /home type reiserfs (rw)
/dev/hda1 on /winxp type ntfs (ro)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
UPDATE****
Changed fstab to "auto,users" on both devices, no help. Also deleted the cdrw devices I added in /dev, still will not mount cdroms.
"dev /dev/hdx not a valid block device"

Last edited by cwwilson721; 04-14-2006 at 02:24 AM.
 
Old 04-14-2006, 02:27 AM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941

Rep: Reputation: 129Reputation: 129
I would put back the one Slackware setup originally:
Code:
/dev/cdrom       /mnt/cdrom       auto        noauto,owner,ro  0   0
Try adding these also:
Code:
/dev/hdc         /cdrom1            auto        noauto,users,ro  0   0
/dev/hdd         /cdrom2            auto        noauto,users,ro  0   0
You can read "man fstab" and "man mount" if you're wondering why. Sorry to be brief, bbl.
 
Old 04-14-2006, 02:55 AM   #6
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649

Original Poster
Blog Entries: 1

Rep: Reputation: 67
Still gives me "Not a valid block device"
 
Old 04-14-2006, 08:33 AM   #7
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
try ejecting from root, /dev/hdd and hdc by "eject /dev/hdd" and see wether it is working or not (simple check), your dmesg output shows they are the devices

if this is working (from root) then ok, now the problem is mounting and reading data cds.

this is one guessing....

have u done the scsi emulation(by appending lilo), "YUO WIL HAVE PROBLEM WITH READING CDS" if so ur devices may be "/dev/scd0 and /dev/scd1" if so u have to make a link, "
Code:
ln -sf /dev/scd0 /dev/cdrom
and in fstab make it like "/dev/cdrom /mnt/cdrom (or /cdrom as you do) noauto,users,ro 0 0"

make sure that you have a /cdrom in "root /" folder

Last edited by rkrishna; 04-14-2006 at 08:39 AM.
 
Old 04-14-2006, 01:55 PM   #8
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649

Original Poster
Blog Entries: 1

Rep: Reputation: 67
Won't mount, won't eject, won't do anything in Slackware. Will mount, will eject, will burn in Mepis. Not scsi devices, nor any append in my lilo.conf
 
Old 04-14-2006, 02:23 PM   #9
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
hope nothing to do with filesystem but even...

are you using reiserfs??? frankly speaking i had some problem with slack 10.2 (10.1 was good) reiserfs always caused unusual errors, (may be with my cds i dont know) sorry that i couldn't help
regards
 
Old 04-14-2006, 06:30 PM   #10
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649

Original Poster
Blog Entries: 1

Rep: Reputation: 67
Yes, I am running reiserfs.

But how could that affect cd mounting?
 
Old 04-14-2006, 06:40 PM   #11
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941

Rep: Reputation: 129Reputation: 129
Doesn't effect it at all, as CD/VCD/DVDs don't use reiserfs, nor does your ROM drive. Have you read /var/log/messages to see what your error messages are?
 
Old 04-14-2006, 06:55 PM   #12
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware
Posts: 1,348

Rep: Reputation: 217Reputation: 217Reputation: 217
with 2.4 kernels you need to be running scsi emulation. (default is "on" in slack - see /etc/rc.d/rc.modules)

This also requires an append line in lilo.conf as such:

Code:
# Linux bootable partition config begins
image = /boot/vmlinuz-ide-2.4.32
  append="hdc=ide-scsi"
  root = /dev/hda7
  label = Slackware-1
  read-only
# Linux bootable partition config ends
You can put the append line at the beginning of lilo.conf as well, but I have 2.6 kernels that boot from lilo and to put it there would bork them.

In such a system, /dev/cdrom or /dev/cdwriter needs to be a symlink to /dev/sr0, or /dev/sr0 needs to be the entry in fstab (or both):

Code:
steve@peggyo:/dev$ ls -la cdrom
lrwxrwxrwx 1 root root 8 2005-09-26 22:51 cdrom -> /dev/sr0
steve@peggyo:/dev$
Code:
/dev/hda8          /mnt/slackware   reiserfs    noauto,user      0   0
/dev/hda9          /mnt/debian      reiserfs    noauto,user      0   0
/dev/hda10         /mnt/data-1      reiserfs    noauto,user      0   0
/dev/hda11         /home            reiserfs    defaults         1   2
/dev/hda12         swap             swap        defaults         0   0
/dev/hdb4          /mnt/zip         vfat        noauto,user      1   0
/dev/sr0           /mnt/cdrom       auto        noauto,user,ro   0   0  <--- LOOK
/dev/fd0           /mnt/floppy      auto        noauto,owner     0   0
devpts             /dev/pts         devpts      gid=5,mode=620   0   0
proc               /proc            proc        defaults         0   0
bertha:/data       /mnt/data-n      nfs         auto,user        0   0
This is what works for me in my slack-current-2.4 box.

HTH
 
Old 04-14-2006, 06:59 PM   #13
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941

Rep: Reputation: 129Reputation: 129
You do not need SCSI emulation for ATAPI drives in Slackware 10.2 with kernel 2.4.31. Not true, and I have quite a few systems I've built with which to prove that.
 
Old 04-14-2006, 07:01 PM   #14
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649

Original Poster
Blog Entries: 1

Rep: Reputation: 67
Thanks for the info, I'll try it later. But the basic issue remains: I cannot mount/read any cd device. I'm not so much worried at the moment about writing, I'll hop on that after I can get them to mount like normal.
 
Old 04-14-2006, 07:26 PM   #15
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware
Posts: 1,348

Rep: Reputation: 217Reputation: 217Reputation: 217
Quote:
Originally Posted by Chinaman
You do not need SCSI emulation for ATAPI drives in Slackware 10.2 with kernel 2.4.31. Not true, and I have quite a few systems I've built with which to prove that.
Well, I have no reason to dispute that, yet I am happily burning CD's as we speak using the exact set-up I describe. In other in stalls, I have found that burning did NOT work without doing what I have described.

As the OP is interested in being able to burn CD's in slackware using a 2.4 kernel and I can do exactly that doing exactly what I described, I see no issue offering it as a solution.

Forgive me for getting your panties in a bunch.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Cd burner not recognized corbis_demon Slackware 8 04-14-2006 10:38 PM
Can U recommend cdr media for LG burner? aus9 General 3 12-03-2004 06:03 AM
fedora... CDR not recognized AnimaSola Linux - Hardware 14 09-03-2004 02:27 AM
Replacing old CDR drive -- New burner doesn't work KingofBLASH Slackware 2 03-24-2004 05:32 PM
cdr/burner problems Lagg Slackware 7 09-02-2003 05:41 PM

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

All times are GMT -5. The time now is 01:03 PM.

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