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 10-01-2006, 06:27 AM   #1
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Rep: Reputation: 36
/dev/cdrom links to /dev/sg0 instead of /dev/sr0 -why?


For some reason, /dev/cdrom links to the character device rather than the block device, causing the "mount /dev/cdrom" to fail.

My 10-local.rules file has the following entry:
Code:
# Sony USB CD/DVD-RW
BUS=="usb", SYSFS{manufacturer}=="Sony", SYSFS{serial}=="DRX-510ULK_CED011664",
NAME="%k", GROUP="cdrom", MODE="0666", SYMLINK+="dvd cdrom"
For some reason this tags the character device sg0 rather than the block device, sr0 ...

Anyone?

-Y1
 
Old 10-01-2006, 04:33 PM   #2
pld
Member
 
Registered: Jun 2003
Location: Southern US
Distribution: Ubuntu 5.10
Posts: 206

Rep: Reputation: 30
I am having the same issues here, and was wondering if anyone knew what might be happening? (My external usb dvdrw used to work fine).

Relevant dmesg section looks like this when I plug it in:
Code:
[17201921.372000] usb 3-4.1: new high speed USB device using ehci_hcd and address 11
[17201921.496000] scsi8 : SCSI emulation for USB Mass Storage devices
[17201921.496000] usb-storage: device found at 11
[17201921.496000] usb-storage: waiting for device to settle before scanning
[17201926.528000]   Vendor: HL-DT-ST  Model: DVDRRW GSA-2166D  Rev: 1.00
[17201926.528000]   Type:   CD-ROM                             ANSI SCSI revision: 00
[17201927.056000] sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[17201927.056000] sr 8:0:0:0: Attached scsi CD-ROM sr0
[17201927.056000] sr 8:0:0:0: Attached scsi generic sg2 type 5
[17201927.056000] usb-storage: device scan complete
 
Old 10-01-2006, 04:53 PM   #3
ardya
Member
 
Registered: Mar 2006
Distribution: Slackware since 1997
Posts: 89

Rep: Reputation: 18
Quote:
Originally Posted by Yalla-One
For some reason, /dev/cdrom links to the character device rather than the block device, causing the "mount /dev/cdrom" to fail.

My 10-local.rules file has the following entry:
Code:
# Sony USB CD/DVD-RW
BUS=="usb", SYSFS{manufacturer}=="Sony", SYSFS{serial}=="DRX-510ULK_CED011664",
NAME="%k", GROUP="cdrom", MODE="0666", SYMLINK+="dvd cdrom"
For some reason this tags the character device sg0 rather than the block device, sr0 ...

Anyone?

-Y1
Check udev.rules
 
Old 10-01-2006, 07:02 PM   #4
marnold
Member
 
Registered: Dec 2005
Distribution: Slackware64 15.0 Multilib
Posts: 313

Rep: Reputation: 52
A bit of a shot in the dark here, but did you try

bus=="scsi"
 
  


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
Livecd cannot mount CDROM (/dev/sr0) robmool Linux - Kernel 2 09-28-2006 02:52 AM
I cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom! Dmalic Linux - Hardware 13 11-18-2005 07:11 PM
external cdrw assigned to /dev/uba instead of /dev/sr0 gchew Slackware 0 11-14-2004 03:22 AM
Sandisk USB card Reader not linking /dev/sg0 to /dev/sda acidraven Linux - Hardware 1 06-19-2004 03:56 PM
mounting 2 ide-scsi devices /dev/cdrom and /dev/cdrom1 issue penguin123 Linux - Hardware 3 09-26-2003 08:36 PM

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

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