LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
 
LinkBack Search this Thread
Old 11-16-2006, 09:21 AM   #1
jonlake
Member
 
Registered: Apr 2004
Distribution: Slackware 11.0, Gentoo
Posts: 252

Rep: Reputation: 31
CD Burner not functioning correctly after upgrade


I upgraded from Slackware 10.2 to Slackware 11.0. When I boot, my cd burner doesn't work correctly.
Code:
root@evilpenguin:/var/log/apache# cdrecord -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
Why it is trying to use /dev/pg* (from what I have read, that is associated with parallel ports) instead of /dev/sg* or /dev/sr* (It uses one of these when I pass the kernel parameters, I can't remember which one).

However, if I pass the options
Code:
 hdc=ide-scsi
to the kernel at boot, the cd burner will work, however, after burning a cd, it cannot mount the cd (or any cd).

Here is the cdrecord with the parameters passed (it will burn, but not mount a cd)
Code:
root@evilpenguin:/home/jon# cdrecord -scanbus
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) 'HP      ' 'CD-Writer+ 9500 ' '1.0e' Removable CD-ROM
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
and the error message when attempting to mount a cd

Code:
root@evilpenguin:/home/jon# mount /dev/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
       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
Here is dmesg

Code:
root@evilpenguin:/home/jon# dmesg | tail
pg: pg version 1.02, major 97
pg0: Autoprobe failed
pg: No ATAPI device detected
paride: version 1.06 installed (parport)
pg: pg version 1.02, major 97
pg0: Autoprobe failed
pg: No ATAPI device detected
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

Also, I try to load the sg or sr module (which are both located in /usr/src/linux-2.4.33.3/drivers/scsi) it says module not found.

The ide-scsi module is loaded and running when it works, and when it doesn't work. I can't seem to figure out what I need to do to get the burner to work and be able to mount cd's.
(This was working previous to upgrade)

Last edited by jonlake; 11-16-2006 at 09:50 AM.
 
Old 11-16-2006, 05:27 PM   #2
J.W.
Guru
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 67
The "hdc=ide-scsi" is needed with kernel 2.4.x, but is no longer needed with 2.6.x I'll assume you went with the Slack v11 default, which is 2.4.x, and therefore you should consider just adding that line to your lilo.conf file. (Be sure to rerun /sbin/lilo after you make your changes)

That said, and before digging into this issue, what kind of CD's are you trying to mount? If it's audio CD's, you won't be able to mount them because they lack a valid file system. You'll only be able to mount a data CD, and along these lines after you burn a CD, I have found that you sometimes have to unmount it, physically eject it from the drive, and then re-insert it and remount it. Not sure why that is but sometimes I've burned a CD, unmounted and remounted it, and didn't get results. If I eject it though, it works. Anyway, are you working with data CD's?
 
Old 11-17-2006, 10:29 AM   #3
jonlake
Member
 
Registered: Apr 2004
Distribution: Slackware 11.0, Gentoo
Posts: 252

Original Poster
Rep: Reputation: 31
I am mounting a data cd that I burned. I am able to mount it right now in /dev/hdc without having passed the parameters hdc=ide-scsi. However, I cannot burn any cd's right nos. It gives me the output when running cdrecord -scanbus.

If I pass the parameters, I will not be able to mount the cd, it gives the output listed above when I attempt to mount it. However, I get positive results from cdrecord -scanbus and am able to burn cd's.

Yes, I am on the default kernel 2.4.33.3
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP not functioning correctly dannylee Programming 7 08-30-2006 05:25 AM
How do I test that my dns server is functioning correctly adam_ant Linux - Networking 4 12-13-2005 02:31 PM
USB Not Functioning Correctly. Phoenix_Zero Linux - Newbie 3 01-08-2005 01:42 PM
DVD/CDR/CDRW drive not functioning correctly with mandrake 10 Andrew Skinner Linux - Laptop and Netbook 4 07-02-2004 02:13 PM
Total newbie with stuck cursor: mouse drivers not functioning correctly HELP zaphod111 Linux - Software 2 11-06-2003 07:44 PM


All times are GMT -5. The time now is 04:19 AM.

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
Open Source Consulting | Domain Registration