linux, mplayer, external DVD

From: Chris Babstock (chris2_at_cs.mun.ca)
Date: 08/05/04

  • Next message: Mark Hobley: "Debian - ATI Radeon 9000 - Error: no screens found"
    Date: Wed, 04 Aug 2004 23:08:27 GMT
    
    

    I rescently bought an LG 4801 DVD+-RW, and a USB 2.0 enclosure to put it
    in (as I am using a laptop). It seems to work flawlessly in windows, but I
    have a few issues when using it in Linux... I can't tell if the problem is
    with the OS, the drive, or with mplayer (I'm trying to play media files
    which I previously burnt onto a DVD in avi format).

    I can get a directory listing without any bitching, and I can aparantly
    read files; I can read a text file using cat... however, when I try to
    play a media file, whether from a DVD+-R or a CD-R, mplayer locks up at
    about 1.7% when caching the data.

    I tried using -nocache with mplayer, but it still locks up at about the
    same spot.

    When I do a killall -s HUP mplayer, I get two different errors:

    -----------------------------------

    chris@sakura [/mnt/dvd]$ mplayer Full\ Moon\ wo\ Saga***\ -\ Ep\ 01\ \[a.f.k.\]\ \[D2658E09\].avi
    MPlayer dev-CVS-040804-09:48-3.2.3 (C) 2000-2004 MPlayer Team

    CPU: Intel Pentium 4/Xeon/Celeron Foster 2193 MHz (Family: 8, Stepping: 7)
    Detected cache-line size is 64 bytes
    CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

    Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
    Reading config file /home/chris/.mplayer/config
    Reading /home/chris/.mplayer/codecs.conf: Can't open '/home/chris/.mplayer/codecs.conf': No such file or directory
    Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
    Using built-in default codecs.conf.
    font: can't open file: /home/chris/.mplayer/font/font.desc
    Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
    Failed to open /dev/rtc: No such file or directory (it should be readable by the user.)
    Using usleep() timing
    Input config file /home/chris/.mplayer/input.conf parsed: 5 binds

    Playing Full Moon wo Saga*** - Ep 01 [a.f.k.] [D2658E09].avi.
    Cache fill: 1.17% (98304 bytes)

    MPlayer interrupted by signal 1 in module: enable_cache
    - MPlayer crashed. This shouldn't happen.
      It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
      gcc version. If you think it's MPlayer's fault, please read
      DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
      won't help unless you provide this information when reporting a possible bug.

    After trying with -nocache, I get the following:

    (snip)
    MPlayer interrupted by signal 2 in module: demux_open

    ---------------------------------------

    dmesg gives me the following:

    SCSI cdrom error : host 1 channel 0 id 0 lun 0 return code = 70000
     I/O error: dev 0b:00, sector 712
    SCSI cdrom error : host 1 channel 0 id 0 lun 0 return code = 70000
     I/O error: dev 0b:00, sector 716
    SCSI cdrom error : host 1 channel 0 id 0 lun 0 return code = 70000
     I/O error: dev 0b:00, sector 720
    SCSI cdrom error : host 1 channel 0 id 0 lun 0 return code = 70000
     I/O error: dev 0b:00, sector 724
    SCSI cdrom error : host 1 channel 0 id 0 lun 0 return code = 70000
     I/O error: dev 0b:00, sector 728
     I/O error: dev 0b:00, sector 732
     I/O error: dev 0b:00, sector 712
     I/O error: dev 0b:00, sector 430000
     I/O error: dev 0b:00, sector 712
     I/O error: dev 0b:00, sector 431904
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 758920
     I/O error: dev 0b:00, sector 8345400
     I/O error: dev 0b:00, sector 712
     I/O error: dev 0b:00, sector 430000
     I/O error: dev 0b:00, sector 712

    Looks like this is related, but I don't know what it means..

    ---------------------------------------

    I don't understand why it's locking up.. It even doesn't respond to a HUP
    signal right away, as it takes nearly a minute or two to respond.

    Here are the stats of my machine:
    Gentoo 1.4
    Kernel 2.4.22
    Mplayer (latest CVS for today, August 4th, 2004)

    I did a ./configure --enable-dvdread --enable-mpdvdkit --enable-largefiles
    and then compiled. I have all the necessary binary codecs, so that
    shouldn't be a problem..

    In the end, it looks like it's a hardware problem.. I have my internal
    CD-Rom setup in grub with hda=ide-scsi, but I don't know how (or even if
    it's needed) to do the same for my USB drive.

    Any help would be appreciated.

    Thanks,
    Chris


  • Next message: Mark Hobley: "Debian - ATI Radeon 9000 - Error: no screens found"