I was wondering if anyone could help me with the following please?
I installed ogle a while back but the DVD playback kept jumping. On the assumption that this was ogle playing up I installed xine, and the test script that comes with it mentioned that my DVD player hadn't got DMA enabled. following the instructions to enable it just caused my system (SuSE 8.0) to fall over in a heap. There is no problem under windows though. I assume therefore that the mobo/dvd drive can't use DMA under linux (sorry, haven't got the make/models of them). Before I go out and buy a new motherboard/DVD drive, could the fault be anywhere else? Do I need to compile anything into the kernel perhaps? Sacrifice a chicken to a dark god?
cheers,
BenE
BenEBoy mail@psychoferret.freeserve.co.uk wrote:
script that comes with it mentioned that my DVD player hadn't got DMA enabled. following the instructions to enable it just caused my system (SuSE 8.0) to fall over in a heap.
Hi!
I think I've found a bug in your request for help here. I need to know what commands you did (because the xine instructions may have changed), the output for hdparm before and after and how it "fall over in a heap" (unless you really mean that your system fell to bits and spilt over sidewards, in which case I blame those earthquakes).
I know you said you haven't got mobo and DVD details, but if you can find them, they might also help and it's cheaper than buying new ones. :-)
Best wishes,
Hi BenE
DMA transfers over the IDE bus work fine under linux - I suspect you need to enable it using hdparm as it is normally disabled by default at boot time (as I recall). The hdparm configs will need to be added to the end of one of your boot scripts so that the settings take effect on the next reboot.
Regards, Paul.
I'll race yer for Qt & KDE..
On Thursday 12 Dec 2002 10:01 pm, BenEBoy wrote:
I installed ogle a while back but the DVD playback kept jumping. On the assumption that this was ogle playing up I installed xine, and the test script that comes with it mentioned that my DVD player hadn't got DMA enabled. following the instructions to enable it just caused my system (SuSE 8.0) to fall over in a heap. There is no problem under windows though. I assume therefore that the mobo/dvd drive can't use DMA under linux (sorry, haven't got the make/models of them). Before I go out and buy a new motherboard/DVD drive, could the fault be anywhere else? Do I need to compile anything into the kernel perhaps? Sacrifice a chicken to a dark god?
BenEBoy wrote:
I was wondering if anyone could help me with the following please?
I installed ogle a while back but the DVD playback kept jumping. On the assumption that this was ogle playing up I installed xine, and the test script that comes with it mentioned that my DVD player hadn't got DMA enabled. following the instructions to enable it just caused my system
(SuSE
8.0) to fall over in a heap. There is no problem under windows though.
if it works under windows, it will probably work under linux with the right incantations. hdparm -d /dev/hdX will set/unset the using_DMA flag for the drive, where hdX is hdc or whatever your dvd drive is (might even be /dev/dvd) hdparm -Xn /dev/hdX where n is the right number (man hdparm to find out). this will muck about with DMA, POIU, UDMA modes.
however, your best bet is to pass hdX=ide-scsi to the kernel. under lilo it is...
append=" hdX=ide-scsi"
before all image declarations. (in /etc/lilo.conf)
this requires you to have scsi->scsi support scsi->scsi cdrom support scsi->scsi generic support ATA/IDE/MFM/RLL support -> ATA/IDE/MFM/RLL support ATA/IDE/MFM/RLL support -> IDA, ATA and ATAPI Block devices -> Enchanced IDE/MFM/RLL disk/cdrom/tape/floppy support ATA/IDE/MFM/RLL support -> IDA, ATA and ATAPI Block devices ->SCSI emulation support all built/modules in the kernel. since you're running SuSE then you can /probably/ ignore that cos it'll /probably/ have already been done. when youve done all this (and remembered to rerun 'lilo -v' when you've changed the /etc/lilo.conf with the append setting) it ought to work. maybe. try sacrificing a chicken.
incidentally you'll have to do this anyway to geta write to work, so if theres a way to get a writer to work easily in SuSE, try pretending your DVD drive writes.
if you dont use lilo as your bootloader, ask someone who uses grub how to pass kernel arguments.
poke about is your system tools, there may be a gui bit to do some/all of this.
sorry about the disjointed order, ive got back from 2-10 shift, and its midnight (sodding offpeak only free net)
Tristan
PS. run a console and 'less /proc/ide/hdX/settings' for all the info for your drive (and other stuff is in '/proc/ide/hdX/')
Tristan Scott alug@scott998.freeserve.co.uk wrote:
if you dont use lilo as your bootloader, ask someone who uses grub how to pass kernel arguments.
Add them to the kernel line in the grub menu.lst file (in /boot maybe).
MJR
BenEBoy wrote:
I was wondering if anyone could help me with the following please?
I installed ogle a while back but the DVD playback kept jumping. On the assumption that this was ogle playing up I installed xine, and the test script that comes with it mentioned that my DVD player hadn't got DMA enabled. following the instructions to enable it just caused my system (SuSE 8.0) to fall over in a heap. There is no problem under windows though.
if it works under windows, it will probably work under linux with the right incantations. hdparm -d /dev/hdX will set/unset the using_DMA flag for the drive, where hdX is hdc or whatever your dvd drive is (might even be /dev/dvd) hdparm -Xn /dev/hdX where n is the right number (man hdparm to find out). this will muck about with DMA, POIU, UDMA modes.
however, your best bet is to pass hdX=ide-scsi to the kernel. under lilo it is...
append=" hdX=ide-scsi"
before all image declarations. (in /etc/lilo.conf)
this requires you to have scsi->scsi support scsi->scsi cdrom support scsi->scsi generic support ATA/IDE/MFM/RLL support -> ATA/IDE/MFM/RLL support ATA/IDE/MFM/RLL support -> IDA, ATA and ATAPI Block devices -> Enchanced IDE/MFM/RLL disk/cdrom/tape/floppy support ATA/IDE/MFM/RLL support -> IDA, ATA and ATAPI Block devices ->SCSI emulation support all built/modules in the kernel. since you're running SuSE then you can /probably/ ignore that cos it'll /probably/ have already been done. when youve done all this (and remembered to rerun 'lilo -v' when you've changed the /etc/lilo.conf with the append setting) it ought to work. maybe. try sacrificing a chicken.
incidentally you'll have to do this anyway to geta write to work, so if theres a way to get a writer to work easily in SuSE, try pretending your DVD drive writes.
if you dont use lilo as your bootloader, ask someone who uses grub how to pass kernel arguments.
poke about is your system tools, there may be a gui bit to do some/all of this.
sorry about the disjointed order, ive got back from 2-10 shift, and its midnight (sodding offpeak only free net)
Tristan
PS. run a console and 'less /proc/ide/hdX/settings' for all the info for your drive (and other stuff is in '/proc/ide/hdX/')
On Thu, Dec 12, 2002 at 10:01:50PM +0000, BenEBoy wrote:
assume therefore that the mobo/dvd drive can't use DMA under linux (sorry,
I have a current problem with my DVD drive that it can use DMA fine, if you are either watching a Video DVD or mounting/reading from a CD-Rom. As soon as you try to read a data DVD though you get lots of error messages in the dmesg log, disabling dma you can then read from the DVD data disc. Anyhow what is your motherboard chipset? (type lspci to get a list of hardware on the motherboard) and you can find out the DVD drive with a cat /proc/ide/hdX/model (where X is the ide device name)
Currently I think that my problems may be related to the motherboard chipset being not a very good one on this machine (an Ali M5229) but I have my via motherboard back from repair soon and am going to try again with that.
Adam
On Friday 13 December 2002 11:16, Adam Bower wrote:
I have a current problem with my DVD drive that it can use DMA fine, if you are either watching a Video DVD or mounting/reading from a CD-Rom. As soon as you try to read a data DVD though you get lots of error messages in the dmesg log, disabling dma you can then read from the DVD data disc. Anyhow what is your motherboard chipset? (type lspci to get a list of hardware on the motherboard) and you can find out the DVD drive with a cat /proc/ide/hdX/model (where X is the ide device name)
Well I never knew you could do that. Live and learn eh? It appears I have a VIA VT8386/8365 (I assume they are 2 separate board models rather than one long one separated with a '/') mobo and DVD-ROM BDV212B.
In answer to the commands I used for xine (from MJ) I did ./configure && make ...oh, did you mean how I enabled DMA? hdparm -d1 /dev/hdd I *think*. It's what the xine-check script suggests. I also enabled DMA for the DVD in the yast2 config prog thing.
OK, cheers for all the suggestions. I'll have a play around to see if anything works.
BenE