LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-05-2006, 06:02 PM   #1
arobinson74
Member
 
Registered: Nov 2002
Location: Lone Tree, CO
Distribution: Xubuntu Gutsy
Posts: 174

Rep: Reputation: 30
Cannot read CD - no device assigned?


I am trying to get my DVD/CD-RW combo drive working optimally.

I have installed slackware 10.2 on a Thinkpad T43 and done the following to it:
  • Upgraded kernel to 2.6.15
  • Enabled my wireless and sata support as well as the IBM thinkpad buttons
  • Changed lilo.conf to have 'sd' boot and the given options:
  • root = /dev/sda4
  • append = "idebus=66 ide1=noprobe libata.atapi_enabled=1"

Now, the drive is being recognize, and the '/dev/sg1' is enabled for writing, but there is no dev node for reading.

Output of /proc/scsi/scsi:
Code:
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: TOSHIBA MK8032GA Rev: AB31
  Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: MATSHITA Model: DVD-RAM UJ-822S  Rev: 1.61
  Type:   CD-ROM                           ANSI SCSI revision: 05
Output of "lsscsi -g" (which I installed to try to troubleshoot the issue):
Code:
[0:0:0:0]    disk    ATA      TOSHIBA MK8032GA AB31  /dev/sda  /dev/sg0
[1:0:0:0]    cd/dvd  MATSHITA DVD-RAM UJ-822S  1.61  -         /dev/sg1
As expected the following do not work:
Code:
root@andrewslack:/dev# mount -t iso9660 /dev/scd0 /mnt/cdrom
mount: /dev/scd0 is not a valid block device
root@andrewslack:/dev# mount -t iso9660 /dev/sr0 /mnt/cdrom
mount: /dev/sr0 is not a valid block device
There is noting in dmesg that seems to identify the problem (just a lack of information perhaps).
Code:
root@andrewslack:/dev# dmesg | grep scsi
scsi0 : ata_piix
scsi1 : ata_piix
sd 0:0:0:0: Attached scsi disk sda
sd 0:0:0:0: Attached scsi generic sg0 type 0
 1:0:0:0: Attached scsi generic sg1 type 5
It seems like scd0/sr0 wasn't attached with the scsi device.

I'm stuck at this point, I'm not sure what to do next besides default back to /dev/hdc by removing the "ide1=noprobe" option from the kernel. I'd really like to get the burner working in linux (and having the DMA working, etc.)
 
Old 01-16-2006, 06:14 PM   #2
utopicdog
Member
 
Registered: Aug 2003
Location: france
Distribution: suse/fedora
Posts: 105

Rep: Reputation: 15
to mount the disk to read use 'mount /dev/sg0 /mnt' ,
to burn, if your machine can detect the 'scsi1 Channel: 00 Id: 00 Lun: 00' stuff anything cdwriting frontend like Xcdroast should be fine, if the worst comes to the worst you can always use the cdrtools package direct, the manual pages are worth reading even if you never use the tools directly.
 
Old 01-16-2006, 07:47 PM   #3
arobinson74
Member
 
Registered: Nov 2002
Location: Lone Tree, CO
Distribution: Xubuntu Gutsy
Posts: 174

Original Poster
Rep: Reputation: 30
I tried that, the mount gave me an "not a valid block device" error (mount -t iso9660 /dev/sg0 /mnt)
mount /dev/sg0 /mnt
gives a "you must specify the filesystem type"

From reading, sg0 is for writing, scd0 or sr0 is supposed to be for reading, is this not correct?
 
  


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
USB drive not working properly, read only device? (USB key storage device) Arodef Linux - Hardware 14 01-01-2010 07:32 AM
Can't read Pilot device in FC4 rwillard Linux - General 3 12-02-2005 10:06 AM
can't read from USB removable device kookysaint Linux - Hardware 2 02-07-2005 09:37 PM
Fuji M603, SCSI device not assigned via USB anotherlimey Linux - Laptop and Netbook 5 03-14-2004 02:13 AM
Allow apache2 to read from mounted device suit4 Linux - Software 3 02-16-2004 09:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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