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 |
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-26-2004, 05:04 PM
|
#1
|
|
LQ Newbie
Registered: Apr 2004
Posts: 8
Rep:
|
DVD Drive not working, Debian, 2.6.8 kernel
Hi All,
Been trying hard to get my DVD to work, but no luck. RTFMed for all I could, but no luck.
Look:
dmesg | grep 'DVD'
hdd: TOSHIBA DVD-ROM SD-M1912, ATAPI CD/DVD-ROM drive
ls -l /dev/dvd
lrwxrwxrwx 1 root root 8 2004-09-24 01:29 /dev/dvd -> /dev/hdd
ls -l /dev/hdd
brwxrwxrwx 1 root disk 22, 64 2001-04-15 02:43 /dev/hdd
cat /dev/hdd
cat: /dev/hdd: No such device or address
So, it looks like it doesn't exist at all, even though it gets detected at boot. What gives? How can I make it work?
There's a CD in the drive. I've installed Ogle and libdvdread and everything. It's the only device on the IDE chain. It gets recognized properly on POST (by the BIOS) and also by the boot process (see above).
/dev/sd0 also gives "No such device or address" error, so I don't think it's a SCSI emulation thing.
Totally clueless here. Any ideas?
|
|
|
|
09-26-2004, 06:14 PM
|
#2
|
|
Senior Member
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509
Rep:
|
If you can't watch dvd's its a software problem. If you can't browse any cd or dvd inside it, its system's problem.
Your config seems to be ok. The device is actually /dev/hdd. Try to insert a cdrom into it and do
mount /dev/hdd /cdrom (or whatever dir you mount'em). Then see if you can browse the cdrom. My guess is you can.
|
|
|
|
09-27-2004, 02:17 AM
|
#3
|
|
LQ Newbie
Registered: Apr 2004
Posts: 8
Original Poster
Rep:
|
Quote:
Originally posted by bruno buys
If you can't watch dvd's its a software problem. If you can't browse any cd or dvd inside it, its system's problem.
Your config seems to be ok. The device is actually /dev/hdd. Try to insert a cdrom into it and do
mount /dev/hdd /cdrom (or whatever dir you mount'em). Then see if you can browse the cdrom. My guess is you can.
|
No... I tried that yesterday. I mean, what I tried was put a normal cd in the drive and type cat /dev/hdd, and I got a "no device or address" error, even with a plain old CD. I didn't try to mount it though, because the mount didn't work previously. I can give it a shot, but basically whenever I get a "no device or address" error, this same error prevents me from mounting later.
Any other ideas? This is really strange.
|
|
|
|
10-08-2004, 05:04 PM
|
#4
|
|
LQ Newbie
Registered: Jul 2003
Posts: 5
Rep:
|
Hi,
I'm facing the same problem after upgrading my debian from 2.4.25 to 2.6.8
I can not mount my dvd or my cd drive
here is what I get from dmesg:
ide-scsi is deprecated for cd burning! Use ide-cd and give dev=/dev/hdX as device
scsi2 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: _NEC Model: DVD_RW ND-2510A Rev: 2.15
Type: CD-ROM ANSI SCSI revision: 02
scsi3 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: SAMSUNG Model: DVD-ROM SD-612F Rev: XS03
Type: CD-ROM ANSI SCSI revision: 02
ide-scsi: unsup command: dev hdd: flags = REQ_CMD REQ_STARTED
sector 0, nr/cnr 1/1
bio 000001000b664a80, biotail 000001000b664a80, buffer 0000010009500000, data 0000000000000000, len 0
end_request: I/O error, dev hdd, sector 0
FAT: unable to read boot sector
ide-scsi: unsup command: dev hdc: flags = REQ_CMD REQ_STARTED
sector 0, nr/cnr 1/1
bio 000001000b664a00, biotail 000001000b664a00, buffer 000001000a72a000, data 0000000000000000, len 0
I've read that id-scsi is not necessary anymore. How can I remove it ?
It is not in my /etc/modules.conf...
if I do: rmmod ide-scsi it does not solve the problem..
Any tips ?
Thanks...
|
|
|
|
10-10-2004, 05:47 AM
|
#5
|
|
LQ Newbie
Registered: Apr 2004
Posts: 8
Original Poster
Rep:
|
Well, actually my problem got solved by _enabling_ ide/scsi emulation.
I enabled it, and then I set up a symlink to /dev/scd0 (which is the emulated SCSI device) as /dvd, like so: ln -s /dev/scd0 /dvd (I hope I didn't mess up the order of the params -- if it doesn't work, try switching them around).
And then it worked! Without mounting. I just stick the DVD in the drive, start up my media player (oKle or whatever) and it works like a charm.
The only problem was that it was a bit jumpy, so I fixed that using hdparm to enable DMA directly to the device itself, /dev/hdd (I think hdparm -d 1 /dev/hdd). And then it worked smoothly and very nicely.
Try it and let me know if it works out.
|
|
|
|
10-10-2004, 07:21 AM
|
#6
|
|
Member
Registered: Aug 2003
Distribution: Slackware 9.1, 10; FreeBSD 5.2.1; Fedora Core 2; SuSE 9.1
Posts: 44
Rep:
|
sld: Look in your /etc/lilo.conf; scsi emulation is something you must specify at your boot prompt, so it should be listed there.
|
|
|
|
10-10-2004, 04:51 PM
|
#7
|
|
LQ Newbie
Registered: Jul 2003
Posts: 5
Rep:
|
Quote:
Originally posted by BedriddenTech
sld: Look in your /etc/lilo.conf; scsi emulation is something you must specify at your boot prompt, so it should be listed there.
|
Thanks this was indeed the problem. After removing the scsi lines from lilo, I got rid of the scsi emulation and managed to read and write dvds!
thanks a million!
|
|
|
|
| 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 05:43 AM.
|
|
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
|
|