[tlinux-users:07373] sattelite m60-135 was [no dma on teac DV-W28EAT]
Mario Fetka <[email protected]>
| Newsgroups | gmane.linux.hardware.toshiba |
|---|---|
| Message-ID | <1130405170.17312.20.camel@localhost> |
Hallo Manuel,
I have solved the problem.
1.
I looked at the dmesg output and found that the ide-generic (in default
only PIO Mode) driver was used for my dvd.
2. the ide channel 0 was already used when the ide-generic was loaded.
The soluton this laptop has a pata compatibily mode for dvd.
but this dvd is connected to the sata bus.
so i had to add ide0=noprobe ide1=noprobe to my kernel Parameters
so a new sata channel was detected with a atapi device on it.
to activate atapi on sata i have to compile a new kernel with some small
modifications.
change, in include/linux/libata.h
#undef ATA_ENABLE_ATAPI /* define to enable ATAPI support */
to
#define ATA_ENABLE_ATAPI /* define to enable ATAPI support */
With this new kernel module the dvd is detected.
in scsi mode (this is real dma).
i will write a howto when i get the last part (card reader) of this
Laptop running.
wfg
Mario
p.s.: the show stoppers for Linux on this Laptop are the dvd (kernel
patch), lcd, pcmcia (kernel patch), cardreader (kernel patch)
On Thu, 2005-10-27 at 09:52 +0100, Manuel López-Ibáñez wrote:
> Mario Fetka wrote:
> > the output shows that udma is activated but the in xine the dvd still to
> > slow for showing a dvd without skiped frames.
> >
>
> No, the output shows that the dma is deactivated.
>
> > /dev/hdc:
> > IO_support = 0 (default 16-bit)
> > unmaskirq = 1 (on)
> > using_dma = 0 (off)
>
> If nobody here can help you, I would recommend to ask people working in
> hdparm. Honestly, I would take this path. Grab a Knoppix or Ubuntu Live
> and check with hdparm that the DVD has DMA (or can be set). If the
> LiveCD works, report this as a bug in my distribution and check what the
> maintainer says. If there is no way to get DMA, then I will try with
> another computer, WindowsXP, MacOSX, or technical service shop, whatever
> to make sure it is working correctly. If it is working then the error is
> in hdparm or in linux kernel, so go to their mailing lists and ask there
> in the hope that someone will have 5 minutes for answer you.
>
> Or you can look for someone who provides paid technical support and pay
> them.
>
> Cheers,
>
> Manuel.
>
>
>
> > This dvd Drive is a killing my nerves.
> >
> > wfg
> > Mario
> >
> > On Wed, 2005-10-26 at 13:52 +0100, Manuel López-Ibáñez wrote:
> >
> >>Hi Mario,
> >>
> >>I don't have any idea about your particular issue, however, the
> >>following command will provide even more information:
> >>
> >>hdparm -vI /dev/hdc
> >>
> >>so please post this information to the mailing list.
> >>
> >>Also, you may check which configuration (DMA, mode, anything) has the
> >>DVD under windows.
> >>
> >>Good luck!
> >>
> >>
> >>Mario Fetka wrote:
> >>
> >>>Hallo List,
> >>>
> >>>I have a small problem with on my new M60-135 notebook
> >>>I am not able to activate the dma mode on this teac DVD
> >>>
> >>>the output of hdparm -d1 /dev/hdc
> >>>
> >>>/dev/hdc:
> >>> setting using_dma to 1 (on)
> >>> HDIO_SET_DMA failed: Operation not permitted
> >>> using_dma = 0 (off)
> >>>
> >>>The crazy thing is that hdparm -i /dev/hdc
> >>>
> >>>/dev/hdc:
> >>>
> >>> Model=DV-W28EAT, FwRev=1.9B, SerialNo=
> >>> Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
> >>> RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
> >>> BuffType=unknown, BuffSize=0kB, MaxMultSect=0
> >>> (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
> >>> IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
> >>> PIO modes: pio0 pio1 pio2 pio3 pio4
> >>> DMA modes: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
> >>> UDMA modes: udma0 udma1 *udma2
> >>> AdvancedPM=no
> >>> Drive conforms to: device does not report version:
> >>>
> >>> * signifies the current active mode
> >>>
> >>>allready says its activated
> >>>
> >>>but xine-check
> >>>
> >>>says it isnt
> >>>
> >>>[ hint ] DMA is disabled for your DVD interface.
> >>> This will probably result in a serious performance hit when
> >>> playing DVDs. You can issue the command
> >>> hdparm -d1 /dev/hdc
> >>> as root to enable DMA. It would be wise to add this command to
> >>> some script that is executed executed at boot time.
> >>> Note that you probably have to set the DMA mode for your drive
> >>>as well.
> >>> Most DVD-ROMs work fine with multiword DMA mode 2. You can use
> >>> hdparm -d1 -X34 /dev/hdc
> >>> (as root again) to set this mode. Maybe UDMA2 will give you
> >>>even better
> >>> performance, but it only works well with some controllers.
> >>>You'll
> >>> probably need UDMA capable IDE cables for this mode. If you
> >>>want
> >>> to try: make backups of your important data and type (as root
> >>>again)
> >>> sync
> >>> hdparm -d1 -X66 /dev/hdc
> >>> If your System still works fine after this, you probably want
> >>>to keep
> >>> these settings (add them to some boot script).
> >>> If your system hangs or behaves very strangely after a few
> >>>minutes, you
> >>> should reboot immediately and never use this setting again on
> >>>this
> >>> machine. Good luck ;-)
> >>> press <enter> to continue...
> >>>
> >>>
> >>>could someone plz help me (I want to watch my dvds without glitchs)
> >>>
> >>>wfg
> >>>thx in av
> >>>
> >>>Mario Fetka
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >>______________________________________________
> >>Renovamos el Correo Yahoo!
> >>Nuevos servicios, más seguridad
> >>http://correo.yahoo.es
> >>
> >>
> >
> >
> >
> >
>
>
> ______________________________________________
> Renovamos el Correo Yahoo!
> Nuevos servicios, más seguridad
> http://correo.yahoo.es
>
>