[FreeBSD] DVD DMA Probleem

Pagina: 1
Acties:

  • Nephilim
  • Registratie: Augustus 2000
  • Laatst online: 15-05 00:38
Ik draai momenteel:

code:
1
FreeBSD 4.6-RELEASE-p1 #0: Sat Jul  6 20:32:55 CEST 2002.


Mijn DVD (volgens dmesg)
code:
1
acd0: DVD-ROM <Pioneer DVD-ROM ATAPIModel DVD-106S 0114> at ata1-master PIO4


Sinds ik deze doos geïnstalleerd heb (paar dagen voor de makeworld), draait mijn dvd in PIO4 mode, hoewel hij DMA ondersteunt. Onder Windows draait hij in ieder geval in DMA.

Enkele default waarden:
hw.ata.ata_dma="1"
hw.ata.atapi_dma="0"

Wanneer ik deze lijnen aan /boot/loader.conf toevoeg en ik verander de 0 in 1, toont dmesg duidelijk UDMA mode:
code:
1
acd0: DVD-ROM <Pioneer DVD-ROM ATAPIModel DVD-106S 0114> at ata1-master UDMA66


Dan beginnen m'n problemen echter :'(


Eerst: wanneer ik een cd mount die een DivX bevat die ik wil afspelen:

(UDMA66)
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
nephilim@orion /cdrom$ mplayer Finding\ Forrester\ CD1.avi


MPlayer 0.90pre5-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Advanced Micro Devices Duron SF Spitfire (Family: 6, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get best performance, r
ecompile mplayer from sources with --disable-runtime-cpudetection
Reading /home/nephilim/.mplayer/codecs.conf: can't open '/home/nephilim/.mplayer/codecs.con
f': No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 34 audio & 94 video codecs
Font /home/nephilim/.mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
Input config file /home/nephilim/.mplayer/input.conf parsed : 50 binds

Playing Finding Forrester CD1.avi
Detected AVI file format!
AVI: Missing video stream!? Contact the author, it may be a bug :(


Exiting... (End of file)
nephilim@orion /cdrom$



(PIO4)
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
nephilim@orion /$ mplayer /cdrom/Finding\ Forrester\ CD1.avi


MPlayer 0.90pre5-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Advanced Micro Devices Duron SF Spitfire (Family: 6, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get best performance, r
ecompile mplayer from sources with --disable-runtime-cpudetection
Reading /home/nephilim/.mplayer/codecs.conf: can't open '/home/nephilim/.mplayer/codecs.con
f': No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 34 audio & 94 video codecs
Font /home/nephilim/.mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
Input config file /home/nephilim/.mplayer/input.conf parsed : 50 binds

Playing /cdrom/Finding Forrester CD1.avi
Detected AVI file format!
VIDEO:  [DIV3]  640x272  24bpp  25.00 fps  1173.9 kbps (143.3 kbyte/s)

[speelt zonder problemen]

Successfully enabled DPMS.006 ct:  0.003   23/ 23  15% 10% 16.0% 0 0 0%

Exiting... (Quit)
nephilim@orion /$


Now I'm trying to play a music dvd, which I didn't mount:

(UDMA66)
code:
1
2
3
4
5
6
7
8
9
10
11
12
nephilim@orion: ~$ ogle
Note[ogle_ctrl]: ogle 0.8.4
Debug[ogle_ctrl]: Started /usr/local/lib/ogle/ogle_cli with pid 303
Debug[ogle_ctrl]: Started /usr/local/lib/ogle/ogle_nav with pid 304
Debug[ogle_ctrl]: Started /usr/local/lib/ogle/ogle_mpeg_ps with pid 305
Debug[ogle_ctrl]: Started /usr/local/lib/ogle/ogle_vout with pid 306
Debug[ogle_vout]: CLK_TCK: 128
Debug[ogle_nav]: Opening DVD at "/dev/acd0c"
libdvdread: Using libdvdcss version 1.2.1 for DVD access
libdvdread: Can't open file VIDEO_TS.IFO.
vm: faild to read VIDEO_TS.IFO
nephilim@orion /$


(PIO4)
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
nephilim@orion ~$ ogle
Note[ogle_ctrl]: ogle 0.8.4
Debug[ogle_ctrl]: Started /usr/local/lib/ogle/ogle_cli with pid 231
Debug[ogle_ctrl]: Started /usr/local/lib/ogle/ogle_nav with pid 232
Debug[ogle_ctrl]: Started /usr/local/lib/ogle/ogle_mpeg_ps with pid 233
Debug[ogle_ctrl]: Started /usr/local/lib/ogle/ogle_vout with pid 234
Debug[ogle_vout]: CLK_TCK: 128
Debug[ogle_nav]: Opening DVD at "/dev/acd0c"
libdvdread: Using libdvdcss version 1.2.1 for DVD access
Note[ogle_nav]: Language 'en' not found, using 'nl' instead
libdvdread: Using libdvdcss version 1.2.1 for DVD access
Debug[ogle_nav]: sending audio demuxstream 0
Debug[ogle_nav]: sending subp demuxstream 0

libdvdread: Attempting to retrieve all CSS keys


De dvd begint dan te spelen, alleen is het net een dia show, veel te traag.

Ik weet dat er in FreeBSD 4.6 een ata bug zit, maar dacht niet dat dit de oorzaak is :?

Elk advies is welkom. Ben net bezig m'n Windows in te ruilen voor FreeBSD, en dan is dvd's kunnen kijken wel handig :P

[ Voor 0% gewijzigd door Nephilim op 02-08-2002 09:09 . Reden: Te vroeg op't knopje geklikt .. grrrrrr ]


  • Infern0
  • Registratie: September 2000
  • Laatst online: 16-03 23:51

Infern0

Hou die ontzettende rust!!

Meneer Murray schreef:
**********************************************
From: Murray Stokely <murray@FreeBSD.org>
To: vendors@FreeBSD.org
Cc: re@FreeBSD.org
Subject: 4.6.1

The ATA problems appears to be fixed with Soren's most recent change.
This was the biggest holdup for 4.6.1. We also have a successfull
package build for the point release. However, in light of new
vulnerabilities, the security officers are going to merge in a few
more changes. The so@ would like to call the release 4.6.2 in light
of these new additions and the fact that the RELENG_4_6 branch has
been called 4.6.1 for over 10 days now.
Misschien ff update'n

http://www.bsdfreaks.nl Home site: http://rob.lensen.nu /me was RobL


  • Nephilim
  • Registratie: Augustus 2000
  • Laatst online: 15-05 00:38
Hhm wist niet dat 4.6.1 al uit was. Deze nacht dan maar es updaten en morgen builden.

Tnx :)

  • Infern0
  • Registratie: September 2000
  • Laatst online: 16-03 23:51

Infern0

Hou die ontzettende rust!!

Hij is ook nog niet uit

De rest van zijn mail
Please email re@ and so@ if calling the release 4.6.2 ISO would
adversely affect your business (i.e., you already have labels printed
that say 4.6.1?).

We are going to have to rebuild the packages with these new security
fixes, so we are again, at least half a week away from the release. ;(

- Murray

http://www.bsdfreaks.nl Home site: http://rob.lensen.nu /me was RobL