LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 10-15-2006, 07:56 PM   #1
chris6335
LQ Newbie
 
Registered: Oct 2006
Posts: 1

Rep: Reputation: Disabled
CDRW seen by Slack 10.1 (2.4.x kernel) not working


EDIT - PROBLEM SOLVED:
You know what? I forgot to update /etc/fstab. Instead of /dev/hdc pointing to /mnt/cdrom it should be /dev/scd0. I also set /dev/scd0 chmod 666 to allow all users to be able to utilise the burner, although setting group permissions and adding individual users to the appropriate group should also work.
I thought I should update this to show the solution in case others have a similar problem.

---------Original Section of Post-----------
I'm hoping someone can point out the obvious (to everyone but myself) error that I have made in setting my IDE CD-RW to work under a 2.4 series Kernel in Slackware 10.1. My cd-rw was originally recognised as an IDE CD-ROM on secondary IDE BUS (hdc) and worked fine (although I do recall I may have done some weird tweaking originally that may be coming back to haunt me and that I now cannot recall well enough to duplicate - possibly).

Background on what I have done so far:

Once I decided I really should be able to use my CD-RW fully and not just as a CD-ROM I:

1. Edited lilo.conf to include append="hdc=ide-scsi"
2. Re-ran lilo to set the change
3. As root I performed cd /dev && rm cdrom && ln -sf scd0 cdrom
(I figured keeping the mountpoint set as /mnt/cdrom shouldn't hurt, perhaps I was wrong).

So, I then rebooted and tried: cdrecord -scanbus which identifies my cd-rw and the "scsi bus" to which it is attached as follows:
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.8'.
scsibus0: 0,0,0 0) 'MATSHITA' 'UJDD410 ' '2.02' Removable CD-ROM

However, if I try to mount and read a data cd, I am told:
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
missing codepage or other error
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
In some cases useful info is found in syslog - try
dmesg | tail or so

And running dmesg | tail produces:
ide-scsi: hdc: unsupported command in request queue (0)
end_request: I/O error, dev 16:00 (hdc), sector 64
isofs_read_super: bread failed, dev=16:00, iso_blknum=16, block=32

Any help would be greatly apreciated and I will, of course, be MORE than happy to supply any further necessary info that may be required.

Thanks in advance for any help you are able to provide.
Chris

Last edited by chris6335; 10-15-2006 at 09:39 PM.
 
Old 10-16-2006, 09:18 PM   #2
glsen_az
Member
 
Registered: Oct 2003
Location: Tucson, AZ
Distribution: XUbuntu 12.10, Smoothwall 3
Posts: 32

Rep: Reputation: 15
Quote:
Originally Posted by chris6335
EDIT - PROBLEM SOLVED:
However, if I try to mount and read a data cd, I am told:
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
missing codepage or other error
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
In some cases useful info is found in syslog - try
dmesg | tail or so
I did a Google search on Linux + CDRW + UDF and here's a link I found that seems to be a good point in the right direction:
http://www.seto.org/mt-diary/2005/10...g_udf_cdr.html

I think UDF stands for Universal Disk Format - packet-based disk/file system. This is all a moot point when the CD-RW is finalized/session closed.

Quote:
And running dmesg | tail produces:
ide-scsi: hdc: unsupported command in request queue (0)
end_request: I/O error, dev 16:00 (hdc), sector 64
isofs_read_super: bread failed, dev=16:00, iso_blknum=16, block=32
I'm not sure if the above is an artifact of the disk not being mounted UDF. Try the commands in the above link and see if that takes care of your situation.

-*-Bill
Beelybox.com
 
  


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
DVD Burner not working under slack 10.2 kernel 2.4.31 kde 4.3 duhasst0 Linux - Hardware 1 12-29-2005 09:59 AM
USB pendrive not working on kernel 2.6.8.1 (Slack 10.0) mmmm Slackware 7 02-16-2005 02:23 PM
ASUS CDRW not working after kernel upgrade to 2.6.7 Linner Fedora 3 06-24-2004 05:18 AM
How I got networking working on slack 9.1 with Kernel 2.6.1 B1TW1SE Slackware 1 01-15-2004 08:23 AM
Need help installing CDRW in Slack 9.0 CodeWarrior Slackware 13 05-25-2003 07:35 PM


All times are GMT -5. The time now is 02:56 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration