LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-31-2003, 09:08 AM   #1
il-gringo
LQ Newbie
 
Registered: Dec 2003
Distribution: Debian
Posts: 8

Rep: Reputation: 0
Combo DVD + CDRW drive - scd0 is not a valid block device


I have a Dell Inspiron 2650 drive with a Toshiba DVD-ROM / CDRW combo drive onboard. It's attached to IDE as hdc. I am running Debian 3.0 Woody and had no problems getting the drive working when using /dev/hdc.

Now, I've installed ide-scsi as a module and removed ide-cd from the kernel by modularising "Include IDE/ATAPI CDROM Support" from ATA/IDE/MFM/RLL support. I am using Kernel 2.4.22 with supermount-ng patch and latest ACPI patch from sourceforge.

I cant get anything to mount on the drive using scsi emulation, but I can with IDE. Everything else seems to be fine, I'm not auto-loading either ide-cd.o or ide-scsi.o

Here's what I'm doing:

Situation 1: This works (will mount cd's but wont work as a writer)

modprobe ide-cd
mount -t iso9660 /dev/hdc /mnt/cdrom
mounts the cd OK and I can read it.

Situation 2: Does not mount CDs but xcdroast WILL READ + WRITE discs!

modprobe ide-scsi

mount -t iso9660 /dev/hdc /mnt/cdrom
complains that I am using the IDE device when using ide-scsi.

mount -t iso9660 /dev/scd0 /mnt/cdrom
 
Old 12-31-2003, 09:13 AM   #2
il-gringo
LQ Newbie
 
Registered: Dec 2003
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
(sorry ... windows box started acting up ... so this is a continuation of last post)

mount -t iso9660 /dev/scd0 /mnt/cdrom
Complains that "/dev/scd0 is not a valid block device"

The same happens if I use /dev/sr0, /dev/sg0 /dev/scd0,1,2,3,4,5 etc

Here's a dump of lsmod when I'm having the problem:

Moresse:~# lsmod
Module Size Used by Not tainted
ide-scsi 10800 0
pcmf502r3 64992 1
nls_iso8859-1 2812 2 (autoclean)
nls_cp437 4316 2 (autoclean)
i810_audio 22940 0 (unused)
ac97_codec 13076 0 [i810_audio]

I've modularised both ide-cd and ide-scsi. Meaning, that ide-cd is not loaded when scsi emulation is working. Before I modularised both ide-cd and ide-scsi, I had ide-scsi built in and NO IDE-CD. Same fault exactly.

dmesg looks like this:
(or at least I'm sure this is the bit you're interested in)

hdc: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: TOSHIBA Model: DVD-ROM SD-R2412 Rev: X015
Type: CD-ROM ANSI SCSI revision: 02
scsi : 0 hosts left.
hdc: attached ide-cdrom driver.
hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
ISO 9660 Extensions: Microsoft Joliet Level 3
ISOFS: changing to secondary root
hdc: attached ide-cdrom driver.
hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
ISO 9660 Extensions: Microsoft Joliet Level 3
ISOFS: changing to secondary root
Uniform CD-ROM driver unloaded
hdc: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: TOSHIBA Model: DVD-ROM SD-R2412 Rev: X015
Type: CD-ROM ANSI SCSI revision: 02
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
Uniform CD-ROM driver unloaded
Moresse:~#


Please note: I've no idea what the end_request: I/O error means. This gets added to DMESG after I try to mount a disc, but is not there before.

Can anyone shed some light on this? Thanks.
 
Old 12-31-2003, 09:20 AM   #3
il-gringo
LQ Newbie
 
Registered: Dec 2003
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
one more thing to add...

I have set "hdc=scsi" in the append line of lilo and re-installed lilo to activate the changes. This breaks the /dev/hdc capabilities, but doesn't fix the /dev/scd0 issue.

I've also tried hdc=ide-scsi and this also doesn't fix anything.

However,

Leaving hdc=ide-scsi off the append line, modprobing ide-cd, and mounting /dev/hdc does work fine. I have no problems with the drive under Windows, (curse it) so I'm sure the drive itself is OK.

On the posts, the hdc=scsi line is not included. So I guess that may account for some of the error messages. The question is guess is - what does /dev/scd0 is not a block device mean, considering ide-cd.o is not loaded and ide-scsi is loaded. Xcdroast has no problems using the drive at all, I just cant mount for some reason. Help!
 
Old 12-31-2003, 03:10 PM   #4
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Did you include scsi cdrom support?
 
Old 01-01-2004, 12:46 PM   #5
il-gringo
LQ Newbie
 
Registered: Dec 2003
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
no I didn't add scsi CD-ROM support. I will give that a try. Thanks for your reply, aaa.
 
Old 01-01-2004, 02:50 PM   #6
il-gringo
LQ Newbie
 
Registered: Dec 2003
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
That appears to have fixed it. Thanks.
 
  


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
Play DVD on CDRW/DVD Combo Drive?? halo14 Linux - Laptop and Netbook 13 09-21-2004 09:21 AM
Trouble with DVD/CDRW combo drive jenna_h Linux - Hardware 4 10-01-2003 08:59 AM
New CDRW/DVD combo drive not working! Derrick Linux - Newbie 6 09-20-2003 09:07 AM
DVD/CDRW combo drive toySOILDer Linux - Hardware 0 08-12-2003 10:23 PM
scd0 suddenly not a valid block device bluecadet Linux - General 2 12-17-2001 04:31 AM

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

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