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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-15-2005, 01:10 PM
|
#1
|
|
LQ Newbie
Registered: Mar 2004
Location: Philadelphia, PA
Distribution: Slackware, Ubuntu
Posts: 6
Rep:
|
udev doesn't create scd* device nodes for scsi cdrom
I'm still fairly new to udev type issues. Feel free to direct me to key documentation. My Slack is current and my kernel is 2.6.12.5. My main question is this, how do I mount these scsi CD readers?
I have four old scsi CD readers attached to a Tekram DC315 controller. When I reboot with them attached to the bus, /dev/sg[0-3] are the only device nodes created by udev. Isn't sg* reserved for use with scsi-based CD burners? When I try to mount sg0 (with a CD in it) I get "mount: /dev/sg0 is not a block device". Sure enough an 'ls -l /dev/sg*' produces:
crw-rw---- 1 root cdrom 21, 0 2005-09-15 09:27 /dev/sg0
crw-rw---- 1 root cdrom 21, 1 2005-09-15 09:27 /dev/sg1
crw-rw---- 1 root cdrom 21, 2 2005-09-15 09:27 /dev/sg2
crw-rw---- 1 root cdrom 21, 3 2005-09-15 09:27 /dev/sg3
I think the problem is in either udev.rules or scsi-devfs.sh (not needed for 2.6.x?). Here is a trimmed dmesg output:
dc395x: Tekram DC395(U/UW/F), DC315(U) - ASIC TRM-S1040 v2.05, 2004/03/08
dc395x: Used settings: AdapterID=07, Speed=0(20.0MHz), dev_mode=0x57
dc395x: AdaptMode=0x0f, Tags=4(16), DelayReset=1s
dc395x: Connectors: ext50 Termination: Auto Low High
dc395x: Performing initial SCSI bus reset
scsi0 : Tekram DC395(U/UW/F), DC315(U) - ASIC TRM-S1040 v2.05, 2004/03/08
dc395x: msgin_set_sync: Increase sync nego period to 248ns
dc395x: Target 01: Sync: 248ns Offset 15 (04.0 MB/s)
Vendor: TOSHIBA Model: CD-ROM XM-3501TA Rev: 0315
Type: CD-ROM ANSI SCSI revision: 02
dc395x: msgin_set_sync: Increase sync nego period to 248ns
dc395x: Target 02: Sync: 248ns Offset 15 (04.0 MB/s)
Vendor: TOSHIBA Model: CD-ROM XM-3501TA Rev: 0315
Type: CD-ROM ANSI SCSI revision: 02
dc395x: msgin_set_sync: Increase sync nego period to 248ns
dc395x: Target 03: Sync: 248ns Offset 15 (04.0 MB/s)
Vendor: TOSHIBA Model: CD-ROM XM-3501TA Rev: 0315
Type: CD-ROM ANSI SCSI revision: 02
dc395x: msgin_set_sync: Increase sync nego period to 248ns
dc395x: Target 04: Sync: 248ns Offset 15 (04.0 MB/s)
Vendor: TOSHIBA Model: CD-ROM XM-3501TA Rev: 0315
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi generic sg0 at scsi0, channel 0, id 1, lun 0, type 5
Attached scsi generic sg1 at scsi0, channel 0, id 2, lun 0, type 5
Attached scsi generic sg2 at scsi0, channel 0, id 3, lun 0, type 5
Attached scsi generic sg3 at scsi0, channel 0, id 4, lun 0, type 5
Thanks for any help!
|
|
|
|
09-15-2005, 01:43 PM
|
#2
|
|
Moderator
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,505
Rep: 
|
You did enable scsi cd-rom support in your kernel, correct? sg* is generally an underlying interface to scsi-type devices, including USB mass storage devices. Usually, they would be detected properly by udev on most systems.
|
|
|
|
09-15-2005, 01:59 PM
|
#3
|
|
LQ Newbie
Registered: Mar 2004
Location: Philadelphia, PA
Distribution: Slackware, Ubuntu
Posts: 6
Original Poster
Rep:
|
Wow, that was cool! I've never used a scsi cdrom before so I didn't think to look there. Good catch Matir!
Just compiled sr_mod and tried it. Worked perfectly.
Thank you.
|
|
|
|
09-15-2005, 02:04 PM
|
#4
|
|
Moderator
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,505
Rep: 
|
No problem. I'm glad it was that simple. 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:42 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
|
|