LinuxQuestions.org
Review your favorite Linux distribution.
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 05-27-2010, 01:01 PM   #1
dhubsith
Member
 
Registered: Dec 2006
Location: New Mexico, USA
Distribution: Slackware
Posts: 72

Rep: Reputation: 25
Slack 13.1 does not recognize mounted CD


I've just installed Slack 13.1, this was a "clean" install. All seems to be working well except for the dvd-rw, but this is a show stopper, if it doesn't get resolved in a few days I'll have to go back to 13.0.

The drive is detected correctly, but if a cd is mounted it gets errors, and is unable to set it up (it doesn't appear on the desktop).

Here is the info from dmesg:

ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata3.00: ATAPI: TSSTcorp CDDVDW SH-S223Q, SB03, max UDMA/100
ata3.00: configured for UDMA/100
scsi 2:0:0:0: CD-ROM TSSTcorp CDDVDW SH-S223Q SB03 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 2:0:0:0: Attached scsi CD-ROM sr0


And here are the errors:

May 27 10:52:06 darkstar kernel: Buffer I/O error on device sr0, logical block 142503
May 27 10:52:10 darkstar kernel: sr 2:0:0:0: [sr0] Unhandled sense code
May 27 10:52:10 darkstar kernel: sr 2:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
May 27 10:52:10 darkstar kernel: sr 2:0:0:0: [sr0] Sense Key : 0x3 [current]
May 27 10:52:10 darkstar kernel: sr 2:0:0:0: [sr0] ASC=0x11 ASCQ=0x5
May 27 10:52:10 darkstar kernel: sr 2:0:0:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 04 59 4e 00 00 02 00
May 27 10:52:10 darkstar kernel: end_request: I/O error, dev sr0, sector 1140024


Any suggestions?
 
Old 05-27-2010, 01:27 PM   #2
rg3
Member
 
Registered: Jul 2007
Distribution: Fedora
Posts: 527

Rep: Reputation: Disabled
What do you mean by "a cd is mounted"?
 
Old 05-27-2010, 02:13 PM   #3
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 15.0
Posts: 619

Rep: Reputation: 299Reputation: 299Reputation: 299
Hmmm - that looks like either a corrupt CD, or the drive itself is going wonky. Can you perhaps test the following scenarios:

a) try different CD's and DVD's in the drive
b) boot off a USB stick with something like Puppy and try the CD's and DVD's again.

Good luck.
 
Old 05-27-2010, 02:24 PM   #4
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,160
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Do you have the same error if you try another CD?
 
Old 05-27-2010, 02:51 PM   #5
dhubsith
Member
 
Registered: Dec 2006
Location: New Mexico, USA
Distribution: Slackware
Posts: 72

Original Poster
Rep: Reputation: 25
Sorry, I need to be more precise. With Slack 13.0, if I put a cd in the drive, it would, after checking it, create a desktop icon, which you could then use to open the filesystem. This does not happen with Slack 13.1, the drive gets errors. I have tried many cd's, and 2 different drives on 2 different computers. If I issue a "mount" command such as :
mount /dev/sr0 /mnt/cdrom
it will mount the device and I can then read it.

One other point...if I insert a usb stick, the desktop icon gets created. Also, I am using xfce as my desktop.

It seems to be a udev/hal issue, but I'm not sure how to chase that down.

Last edited by dhubsith; 05-27-2010 at 03:00 PM.
 
Old 05-27-2010, 05:42 PM   #6
vigi
Member
 
Registered: May 2009
Location: australia
Distribution: slackware
Posts: 187

Rep: Reputation: 30
check the "/etc/fstab" for the dvd entry below; you probably have to add it?

/dev/sda2 swap swap defaults 0 0
/dev/sda10 / ext4 defaults 1 1
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/dvdwriter /media/dvd auto noauto,users,rw 0 0
/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
tmpfs /dev/shm tmpfs defaults 0 0
 
Old 05-27-2010, 10:48 PM   #7
dhubsith
Member
 
Registered: Dec 2006
Location: New Mexico, USA
Distribution: Slackware
Posts: 72

Original Poster
Rep: Reputation: 25
I did not have the dvd in fstab, so I tried it, and got the same result.
 
Old 05-28-2010, 12:53 AM   #8
veeall
Member
 
Registered: May 2007
Location: Estonia
Distribution: Slackware64-current
Posts: 298

Rep: Reputation: 56
Cd reading(or rather - accessing a cd) is worse in 13.1 than it is in 12.1 - this is my user experience, tested on both releases on the same hardware. Hopefully someone founds what is causing this, for now i have to reboot into slack 12.1 to access some of the cd(r)-s from my data backup collection.
 
Old 05-28-2010, 07:03 AM   #9
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by dhubsith View Post
Sorry, I need to be more precise. With Slack 13.0, if I put a cd in the drive, it would, after checking it, create a desktop icon, which you could then use to open the filesystem. This does not happen with Slack 13.1, the drive gets errors. I have tried many cd's, and 2 different drives on 2 different computers. If I issue a "mount" command such as :
mount /dev/sr0 /mnt/cdrom
it will mount the device and I can then read it.

One other point...if I insert a usb stick, the desktop icon gets created. Also, I am using xfce as my desktop.

It seems to be a udev/hal issue, but I'm not sure how to chase that down.
Are you using XFCE, KDE, or something else?
 
Old 05-28-2010, 11:00 AM   #10
dhubsith
Member
 
Registered: Dec 2006
Location: New Mexico, USA
Distribution: Slackware
Posts: 72

Original Poster
Rep: Reputation: 25
I am using XFCE.

I have tried using both a custom kernel (2.6.34) and huge-smp, and it doesn't make a difference which I use.
 
Old 05-28-2010, 12:31 PM   #11
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
For the entry for the cdrom drive in fstab, try changing the default owner to user.
Code:
#/dev/cdrom      /mnt/cdrom       auto        noauto,user,ro   0   0
Change owner (default) to user. Then reboot and see if the CD automounts.

Also, make sure your user is a member of the cdrom group.

Last edited by tommcd; 05-28-2010 at 12:35 PM.
 
Old 05-28-2010, 03:01 PM   #12
dhubsith
Member
 
Registered: Dec 2006
Location: New Mexico, USA
Distribution: Slackware
Posts: 72

Original Poster
Rep: Reputation: 25
I'm running as root, so it's not a permissions issue.

I still think something has changed in the way hal/udev sets up the device. Before it even gets to mount, which is what you do with fstab, it has trouble recognizing the cd. I think that once that fails, the mount process isn't going to work.
 
Old 05-28-2010, 03:30 PM   #13
mryuck
Member
 
Registered: Feb 2010
Posts: 107

Rep: Reputation: 23
I have same issue but I am upgrading(not fresh install).
I am using xfce as well. My external usb drives don't auto mount either.
It is not really a deal breaker for me as I really don't mind manually mounting devices.

I also get some really fast messages at boot about udevd it is so quick I can't read it and I can't find it in any logs. It says something is being removed from future versions or something.
 
Old 05-28-2010, 03:36 PM   #14
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,160
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Quote:
Originally Posted by dhubsith View Post
I'm running as root, so it's not a permissions issue.
I'm no specialist but HAL may not work if instructions described in file CHANGES_AND_HINTS.TXT are not followed:

Quote:
HAL is not new anymore, but here are a few notes related to it:
1. User accounts with permission to mount removable devices and manipulate
bluetooth devices must be in at least the "plugdev" group.

2. User accounts with permission to do power-management tasks, such as
suspend, hibernate, reboot, and shutdown, via HAL methods should be in
the "power" group.
3. HAL will honor settings in /etc/fstab if a device is present there, so
you could technically have removable devices defined in /etc/fstab, but
if the fstab settings do not allow normal users to mount them (with the
"user" or "users" option), then HAL/dbus will not allow them to be
mounted either.
In other words, for example, if your fstab line for the
cdrom/dvd drive includes the "owner" option, you will not be able to
mount it as a normal user.
4. If you find a need for modified fdi files, those should be placed in the
relevant directories in /etc/hal/fdi/ instead of /usr/share/hal/fdi/
I would suggest that you try to follow those instructions (especially points 1 & 3) even if you think that with your root account it does not matter.

At least we'll know the issue is somewhere else.
 
Old 05-29-2010, 12:14 AM   #15
aocab
Member
 
Registered: Nov 2009
Location: Heart of Texas
Distribution: Slackware-current
Posts: 138

Rep: Reputation: 30
I had a similar problem with current that I was hoping would go away with a fresh install (since I have not done a fresh install since 12.1) but it did not. For me the problem only happens (at least so far) with burned cds (iso9660). Mounting the cds as root using the -t iso9660 option works just fine. Audio cds, dvds, and pressed cds work. And the burned cds mount for me with an entry in fstab. It's the automounting that I'm having a problem with.

To the best of my knowledge, the problem cropped up for me a while back in current. Was there not some change in the way cd drives were handled (something with scsi)? I know a similar thing happened to me before and the fix for me was to make sure certain drivers were loaded in a certain order. But that was back when the drive was using scsi.

I have yet to find anything that fixes my current mounting problems.
Other than item #4 (using a modified fdi) which I have not tried.

And I do not think it is a hardware problem because the cds in question work just fine in windows xp, some of the cds are bootable and will boot the machine just fine...it's only when I pop the cd in while running slackware that I get similar errors as above.

Last edited by aocab; 05-29-2010 at 12:19 AM.
 
  


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
Slack not recognize hard drive tramni1980 Slackware 18 10-10-2006 08:42 AM
How to Make Slack Recognize My Monitor? bongski55 Slackware 6 10-30-2003 01:34 AM
Can't get slack to recognize onboard lan fsu_slacker Linux - Networking 26 08-11-2003 10:09 AM
Mounted partitions in slack 9.0 ?! bynaar Slackware 4 03-30-2003 07:38 PM
slack recognize cdrw jhorvath Slackware 14 12-21-2002 06:19 PM

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

All times are GMT -5. The time now is 06:13 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