Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
04-14-2006, 12:27 AM
|
#1
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
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.
|
|
|
04-14-2006, 02:06 AM
|
#2
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Original Poster
Rep:
|
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?
|
|
|
04-14-2006, 02:09 AM
|
#3
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941
Rep:
|
Please post the output of "dmesg | grep -i atapi" and "cat /etc/fstab" and "mount" and let us take a look see.
|
|
|
04-14-2006, 02:17 AM
|
#4
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Original Poster
Rep:
|
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.
|
|
|
04-14-2006, 02:27 AM
|
#5
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941
Rep:
|
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.
|
|
|
04-14-2006, 02:55 AM
|
#6
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Original Poster
Rep:
|
Still gives me "Not a valid block device"
|
|
|
04-14-2006, 08:33 AM
|
#7
|
Member
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654
Rep:
|
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.
|
|
|
04-14-2006, 01:55 PM
|
#8
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Original Poster
Rep:
|
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
|
|
|
04-14-2006, 02:23 PM
|
#9
|
Member
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654
Rep:
|
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
|
|
|
04-14-2006, 06:30 PM
|
#10
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Original Poster
Rep:
|
Yes, I am running reiserfs.
But how could that affect cd mounting?
|
|
|
04-14-2006, 06:40 PM
|
#11
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941
Rep:
|
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?
|
|
|
04-14-2006, 06:55 PM
|
#12
|
Senior Member
Registered: Oct 2002
Distribution: Slackware
Posts: 1,348
|
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
|
|
|
04-14-2006, 06:59 PM
|
#13
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941
Rep:
|
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.
|
|
|
04-14-2006, 07:01 PM
|
#14
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Original Poster
Rep:
|
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.
|
|
|
04-14-2006, 07:26 PM
|
#15
|
Senior Member
Registered: Oct 2002
Distribution: Slackware
Posts: 1,348
|
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.
|
|
|
All times are GMT -5. The time now is 01:03 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|