Click to See Complete Forum and Search --> : combo DVD drive problems
Cryptoniks
05-09-2006, 03:43 PM
im trying to setup my dvd drive to work properly
and im having trouble first off its a combo drive and linux can identify it.
output of dmesg
dmesg | grep DVD:
hdc: QSI DVD+/-RW SDW-082S, ATAPI CD/DVD-ROM drive
hdc: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
as you can see /dev/hdc (my optical drive) has two listings
kernel is 2.6.x series there for the need for SCSI is supposedly deprecated as it pertains to accessing this drive.
i could be wrong
when i try to watch a dvd in mplayer i get seek failed errors
the config in mplayer points to /dev/dvd as my dvd drive which is linked to /dev/hdc
anybody got any ideas how to get this drive working?
thanx in advance for all your help.
Cryptoniks
hard candy
05-09-2006, 03:56 PM
Which distro are you using? Some automount the dvd drive under a different mount point like /media.
What does your /etc/fstab file look like? (You can copy and paste it).
What does "cdrecord -scanbus" from the command line have to say?
ArgPirate
05-09-2006, 07:32 PM
Does the dvd player work at all? I mean can you put a dvd in it and mount and view the contents? Have you tried an audio cd, or a data dvd, you know that sort of thing?
What im trying to say is are you sure its an issue with the actual dvd drive and not somehthng with missing libs to decode and play your dvd?
Cryptoniks
05-09-2006, 08:25 PM
the distro is a LFS
The Kernel is a 2.6.16.9
i can manually mount the drive and view the contents of a dvd say LOTR for example but i can only access small vob files and the small vob files give me this error:
Too many video packets in the buffer:(4096 in 8267837 bytes).
if i try to view the bigger .vob files a get a seek failed error
here is a cdrecord -scanbus output
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.16.9
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'
here is my current fstab
# Begin /etc/fstab
# file system mount-point type options dump fsck
# order
/dev/hda3 / ext2 defaults 1 1
/dev/hda2 swap swap pri=1 0 0
/dev/hda5 /usr ext2 defaults 1 1
/dev/hda6 /usr/src ext2 defaults 1 1
/dev/hda7 /usr/local ext2 defaults 1 1
/dev/hda8 /usr/local/games ext2 defaults 1 1
/dev/hda9 /home ext2 defaults 1 1
/dev/hda10 /home/cryptoniks/subcore ext2 defaults 1 1
/dev/hda11 /var ext2 defaults 1 1
/dev/hda12 /tmp ext2 defaults 1 1
/dev/hda1 /win vfat defaults 1 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
devpts /dev/pts devpts gid=4,mode=620 0 0
shm /dev/shm tmpfs defaults 0 0
# End /etc/fstab
again thanx in advance for the help
je_fro
05-09-2006, 09:34 PM
Sometimes I get those errors if the dvd is old and scratched....new dvd's work like a charm.
Those errors also appear when a drive is about to die.
(and yeah, scsi emulation is not needed anymore, no matter what cdrecord says)
Cryptoniks
05-09-2006, 10:32 PM
I dont think the drive is about to die as it runs like a champ on rocket fuel in my windows boot
there has to be somthing wrong with my software and my luck its probably another lil thing iv over looked like my sound was but i doubt it this time
ladoga
05-09-2006, 10:34 PM
I guess this isn't related but mplayer needs to be compiled with --enable-largefiles in order to handle >2GB files properly.
Icarus
05-10-2006, 09:43 AM
(and yeah, scsi emulation is not needed anymore, no matter what cdrecord says)True, but I had to enable the SCSI emu modules to properly burn CDs and DVDs, could have been a fluke but going to the old kernel that didn't work without them still didn't work.
Combo drives will show up as 2 drive since they have 2 sets of firmware, mine is listed twice alsohdd: IOMEGA DVDRW4216INP-A, ATAPI CD/DVD-ROM drive
hdd: ATAPI 40X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)Make sure you have the proper support in the kernel also# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_ZISOFS_FS=y
CONFIG_UDF_FS=y
CONFIG_UDF_NLS=yI've gone overkill but should give an example ;)
hard candy
05-10-2006, 10:11 AM
I did not see an entry in fstab for the cd/dvd player. So I would add it to the fstab file so you do not need to manually mount it anymore. And what permissions are used for the drive?
Although scsi emulation is not needed anymore for the 2.6 kernel, it may be helpful to use it if you will be using cdrecord (or the gui's that use cdrecord like XCDRoast or K3b) very much.
And the "too many video packets in the buffer" message, are you using a frame buffer driver for your video?
Cryptoniks
05-15-2006, 11:35 PM
sorry i havent replied but i was away on biz
anyhow i tinked around with this a bit and found that mplayer was thwacked out due to using compiler ops
i can now watch dvd's with ease =)
now i just gota learn how to rip and encode under linux and ill be a happy camper lol
i just for the hell of it tried to copy a dvd with k3b sence i have it installed and im not impressed with the 1x speed at all im sure it's user and/or config error there lol
salute!
Modorf
05-16-2006, 10:53 AM
have you activated DMA on the drive?
hdparm -d1 /dev/hdc
This will speed up read / write to the drive.
nathan.
Cryptoniks
05-18-2006, 04:22 PM
yup DMA is set readahead is set and so is unmasking its just k3b seems to think im only capable of 1x speed in read write of image file and burn
GUI tools never work properly for me lol so im reading up on how to do it via the CLI it seems everything i do CLI runs like a champ