Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DVD-ROM drive won't mount unless DMA is turned off!? HELP!!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
TheMasterRat
n00b
n00b


Joined: 21 Apr 2003
Posts: 14
Location: Tucson, AZ

PostPosted: Fri Sep 19, 2003 5:40 am    Post subject: DVD-ROM drive won't mount unless DMA is turned off!? HELP!! Reply with quote

Ok, I've been working on this all day. I'm fried. I need more input.

If I try the following :
mount -t iso9660 /dev/cdrom /mnt/dvdrom
It reports the following :
mount: Not a directory

It does *not* matter what the mount point is..

If I run :
hdparm -d0 /dev/cdrom

I can mount the drive successfully..

PLEASE let me know if you have any ideas. Thx...


System Configuration information :
AMD 1200MHz T-Bird
512MB RAM
Soyo K7V Dragon+ ( Via KT266a chipset w/on board Promise 20265 Controller )

Drive arrangement :
Primary IDE :
Master : 60GB HD ( /dev/hda1 - /dev/hda3 )
Slave : 80GB HD ( /dev/hdb1, hdb5, hdb6 <- Leftovers I haven't worked on yet )
Secondary IDE :
Master : Pioneer A05 DVD-RW ( /dev/sg0, /dev/sr0, /dev/cdroms/cdrom1 )
Slave : Lite-on 32x12x40x CD-RW ( /dev/sg1, /dev/sr1, /dev/cdroms/cdrom2 )

Promise controller ( Setup for regular IDE usage )
Primary :
Master : Pioneer DVD-ROM Slot Load ( I forget the model # ) ( /dev/cdrom, /dev/cdroms/cdrom0 )
Slave : None
Secondary : No drives


Kernel Configuration :

─────────────────── IDE, ATA and ATAPI Block devices ────────────────────┐
<*> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
<*> Include IDE/ATA-2 DISK support
[*] Use multi-mode by default
<*> Include IDE/ATAPI CDROM support
<*> SCSI emulation support
[*] Generic PCI IDE chipset support
[*] Sharing PCI IDE interrupts support
[*] Generic PCI bus-master DMA support
[*] Use PCI DMA by default when available
[*] Intel PIIXn chipsets support
[*] PIIXn Tuning support
[*] PROMISE PDC202{46|62|65|67|68|69|70} support
[*] Special UDMA Feature

─────────────────────────── SCSI support ──────────────────────────────┐
<*> SCSI support
<*> SCSI disk support
(40) Maximum number of SCSI disks that can be loaded as modules
<*> SCSI CD-ROM support
(2) Maximum number of CDROM devices that can be loaded as modules
<*> SCSI generic support
[*] Probe all LUNs on each SCSI device
[*] Verbose SCSI error reporting (kernel size +=12K)


─────────────────────────── LILO.CONF ──────────────────────────────┐
image=/boot/bzImage
label=linux
read-only
root=/dev/hda3
append="hdc=ide-scsi hdd=ide-scsi"
Back to top
View user's profile Send private message
FantasMic
n00b
n00b


Joined: 05 Aug 2003
Posts: 19
Location: Germany/Düsseldorf

PostPosted: Fri Sep 19, 2003 7:06 am    Post subject: Reply with quote

hdparm hdx won't work if your cd-rom drive is handled by the ide-scsi emulation layer.
try diasbling the ide cd-rom driver (you won't need it at all if you use scsi emulation).
Then check /proc/ide/hdc/settings and echo "using_dma:1" if needed. scsi-emulated cd-rom drives have to be configured here.
Those changes may clean up some chaotics in the system, if they don't help, try replacing the ide-cable, updating your BIOS and updating your dvd-drive firmware (this may be hard, flash software often wants windoze).
Another idea is to try another kernel, maybe some 2.4.22?
Back to top
View user's profile Send private message
TheMasterRat
n00b
n00b


Joined: 21 Apr 2003
Posts: 14
Location: Tucson, AZ

PostPosted: Fri Sep 19, 2003 7:28 am    Post subject: Reply with quote

-dual post-

Last edited by TheMasterRat on Fri Sep 19, 2003 7:32 am; edited 1 time in total
Back to top
View user's profile Send private message
TheMasterRat
n00b
n00b


Joined: 21 Apr 2003
Posts: 14
Location: Tucson, AZ

PostPosted: Fri Sep 19, 2003 7:29 am    Post subject: Reply with quote

I'm not using IDE-SCSI emulation for the DVD-ROM drive, nor did I plan to. I may set it up that way just to test, but other than that, it's only used for the CDRW and DVDRW.

HDC and HDD no longer show up under /dev because they are no sg0 and sg1 respectively.
Back to top
View user's profile Send private message
cripwalk
n00b
n00b


Joined: 13 Jul 2003
Posts: 59
Location: Socal

PostPosted: Fri Sep 19, 2003 7:33 am    Post subject: Reply with quote

You should make sure you have UDF file system in you kernel if your going to be mounting dvd's.
Back to top
View user's profile Send private message
TheMasterRat
n00b
n00b


Joined: 21 Apr 2003
Posts: 14
Location: Tucson, AZ

PostPosted: Fri Sep 19, 2003 7:48 am    Post subject: Reply with quote

cripwalk wrote:
You should make sure you have UDF file system in you kernel if your going to be mounting dvd's.


Care to explain why? It can read them fine when I mount them from the DVD-RW...
Back to top
View user's profile Send private message
TheMasterRat
n00b
n00b


Joined: 21 Apr 2003
Posts: 14
Location: Tucson, AZ

PostPosted: Sat Sep 20, 2003 12:10 am    Post subject: Reply with quote

-TTT-

Still looking for a workaround...

Since enabling DMA does not seem to be an option on SCSI-emulated drives, should I enable the DVD-ROM drive as ide-scsi and see if that works (performance wise)?
Back to top
View user's profile Send private message
cripwalk
n00b
n00b


Joined: 13 Jul 2003
Posts: 59
Location: Socal

PostPosted: Sun Sep 21, 2003 5:21 am    Post subject: Reply with quote

TheMasterRat wrote:
cripwalk wrote:
You should make sure you have UDF file system in you kernel if your going to be mounting dvd's.


Care to explain why? It can read them fine when I mount them from the DVD-RW...


I think most dvd's use UDF. Some dvd's use both iso9660 and udf on the same disc. I was having problems a few weeks ago when I could not play a dvd. I was able to mount it as a iso9660 and see the directories and everything on the dvd. But I could not get it to play. After compiling in udf support, i mounted it with udf and I was able to mount and play the dvd.

also if you go to help when your building your kernel, under UDF Filesytem support it says:

Quote:

CONFIG_UDF_FS:

This is the new file system used on some CD-ROMs and DVDs. Say Y if you intend to mount DVD discs or CDRW's written in packet mode, or if written to by other UDF utilities, such as DirectCD. This UDF file system support is read-only...


anyway, its just a suggestion. take it for what its worth
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum