[MPlayer-users] why my mplayer hangs?

Ivan Kalvachev ikalvachev at gmail.com
Wed Oct 10 15:22:36 CEST 2007


2007/10/9, Y P <yellow.penguin at edpnet.be>:
> Hi,
>
> I'm using mplayer v. 1.0-rc1svn20070225-0.3etch1 under a Debian Etch o s.
> i'm using only the console mode.
>
> On another (older) pc with Debian Sarge and an older version of the mplayer, I'm
> able to play some wmv or other videos from within my text-mode console.
>
> On my (recent) Etch pc the hole Gnu/Linux system hangs when I do that:
>
> man someone tell me how to begin with following the process so that I should
> be able to tell about any error message it is supposed to produce?
> There are no any yet since it totally hangs.
>
> There is a major difference between my Sarge and my Etch pc: the older one
> (Sarge) has an ATI card,
> while my Etch pc has its own Intel video chipset.
>
> Any trial/test ideas welcome!
>
> I paste here an output of a module listing and mainboard hardware info:
>
> galactix:~# lsmod
> Module                  Size  Used by
> button                  6672  0
> ac                      5188  0
> battery                 9636  0
> ipv6                  226272  12
> dm_snapshot            15552  0
> dm_mirror              19152  0
> dm_mod                 50232  2 dm_snapshot,dm_mirror
> ext2                   59048  2
> ide_generic             1408  0 [permanent]
> ide_disk               14848  0
> lp                     11012  0
> sbp2                   20840  0
> loop                   15048  0
> tsdev                   7520  0
> snd_emu10k1_synth       6944  0
> snd_emux_synth         30720  1 snd_emu10k1_synth
> snd_seq_virmidi         6944  1 snd_emux_synth
> snd_seq_midi_emul       5952  1 snd_emux_synth
> snd_emu10k1           102656  1 snd_emu10k1_synth
> snd_hda_intel          17332  0
> snd_hda_codec         137856  1 snd_hda_intel
> snd_seq_dummy           3844  0
> snd_seq_oss            28768  0
> snd_seq_midi            8192  0
> snd_seq_midi_event      7008  3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi
> snd_seq                45680  9 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
> snd_rawmidi            22560  3 snd_seq_virmidi,snd_emu10k1,snd_seq_midi
> snd_ac97_codec         83104  1 snd_emu10k1
> snd_ac97_bus            2400  1 snd_ac97_codec
> snd_pcm_oss            38368  0
> snd_mixer_oss          15200  1 snd_pcm_oss
> snd_pcm                68676  5 snd_emu10k1,snd_hda_intel,snd_hda_codec,snd_ac97_codec,snd_pcm_oss
> snd_seq_device          7820  8 snd_emu10k1_synth,snd_emux_synth,snd_emu10k1,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi
> snd_timer              20996  3 snd_emu10k1,snd_seq,snd_pcm
> snd_page_alloc          9640  3 snd_emu10k1,snd_hda_intel,snd_pcm
> snd_util_mem            4672  2 snd_emux_synth,snd_emu10k1
> snd_hwdep               8836  2 snd_emux_synth,snd_emu10k1
> snd                    47012  15 snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_hda_intel,snd_hda_codec,snd_seq_oss,snd_seq,snd_rawmidi,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_device,snd_timer,snd_hwdep
> parport_pc             32132  1
> psmouse                35016  0
> rtc                    12372  0
> intel_agp              22140  1
> agpgart                29896  1 intel_agp
> i2c_i801                7468  0
> i2c_core               19680  1 i2c_i801
> soundcore               9248  1 snd
> emu10k1_gp              3840  0
> gameport               14632  2 emu10k1_gp
> parport                33256  2 lp,parport_pc
> serio_raw               6660  0
> floppy                 53156  0
> pcspkr                  3072  0
> evdev                   9088  0
> eth1394                18212  0
> ext3                  119240  1
> jbd                    52456  1 ext3
> mbcache                 8356  2 ext2,ext3
> usbhid                 37248  0
> sd_mod                 19040  6
> usb_storage            71840  1
> ide_cd                 36064  0
> cdrom                  32544  1 ide_cd
> ata_piix               13576  3
> libata                 89396  1 ata_piix
> scsi_mod              124168  4 sbp2,sd_mod,usb_storage,libata
> piix                    9444  0 [permanent]
> ohci1394               30800  0
> ieee1394               86904  3 sbp2,eth1394,ohci1394
> generic                 4868  0 [permanent]
> ide_core              110504  6 ide_generic,ide_disk,usb_storage,ide_cd,piix,generic
> ehci_hcd               28136  0
> e1000                 108512  0
> uhci_hcd               21164  0
> usbcore               112644  5 usbhid,usb_storage,ehci_hcd,uhci_hcd
> thermal                13608  0
> processor              28840  1 thermal
> fan                     4804  0
>
> galactix:~# lspci -v
> 00:00.0 Host bridge: Intel Corporation 945G/GZ/P/PL Express Memory Controller Hub (rev 02)
>         Subsystem: Intel Corporation DeskTop Board D945GTP
>         Flags: bus master, fast devsel, latency 0
>         Capabilities: [e0] Vendor Specific Information
>
> 00:02.0 VGA compatible controller: Intel Corporation 945G/GZ Express Integrated Graphics Controller (rev 02) (prog-if 00 [VGA])
>         Subsystem: Intel Corporation DeskTop Board D945GTP
>         Flags: bus master, fast devsel, latency 0, IRQ 11
>         Memory at 50200000 (32-bit, non-prefetchable) [size=512K]
>         I/O ports at 30e0 [size=8]
>         Memory at 40000000 (32-bit, prefetchable) [size=256M]
>         Memory at 50280000 (32-bit, non-prefetchable) [size=256K]
>         Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
>         Capabilities: [d0] Power Management version 2
>
> 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01) (prog-if 00 [Normal decode])
>         Flags: bus master, fast devsel, latency 0
>         Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
>         I/O behind bridge: 00002000-00002fff
>         Memory behind bridge: 50100000-501fffff
>         Capabilities: [40] Express Root Port (Slot+) IRQ 0
>         Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
>         Capabilities: [90] Subsystem: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1
>         Capabilities: [a0] Power Management version 2
>
> 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01) (prog-if 00 [Normal decode])
>         Flags: bus master, fast devsel, latency 0
>         Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
>         Capabilities: [40] Express Root Port (Slot+) IRQ 0
>         Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
>         Capabilities: [90] Subsystem: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3
>         Capabilities: [a0] Power Management version 2
>
> 00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01) (prog-if 00 [Normal decode])
>         Flags: bus master, fast devsel, latency 0
>         Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
>         Capabilities: [40] Express Root Port (Slot+) IRQ 0
>         Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
>         Capabilities: [90] Subsystem: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4
>         Capabilities: [a0] Power Management version 2
>
> 00:1c.4 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 5 (rev 01) (prog-if 00 [Normal decode])
>         Flags: bus master, fast devsel, latency 0
>         Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
>         Capabilities: [40] Express Root Port (Slot+) IRQ 0
>         Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
>         Capabilities: [90] Subsystem: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 5
>         Capabilities: [a0] Power Management version 2
>
> 00:1c.5 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 6 (rev 01) (prog-if 00 [Normal decode])
>         Flags: bus master, fast devsel, latency 0
>         Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
>         Capabilities: [40] Express Root Port (Slot+) IRQ 0
>         Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
>         Capabilities: [90] Subsystem: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 6
>         Capabilities: [a0] Power Management version 2
>
> 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01) (prog-if 00 [UHCI])
>         Subsystem: Intel Corporation DeskTop Board D945GTP
>         Flags: bus master, medium devsel, latency 0, IRQ 58
>         I/O ports at 3080 [size=32]
>
> 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01) (prog-if 00 [UHCI])
>         Subsystem: Intel Corporation DeskTop Board D945GTP
>         Flags: bus master, medium devsel, latency 0, IRQ 185
>         I/O ports at 3060 [size=32]
>
> 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01) (prog-if 00 [UHCI])
>         Subsystem: Intel Corporation DeskTop Board D945GTP
>         Flags: bus master, medium devsel, latency 0, IRQ 177
>         I/O ports at 3040 [size=32]
>
> 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01) (prog-if 00 [UHCI])
>         Subsystem: Intel Corporation DeskTop Board D945GTP
>         Flags: bus master, medium devsel, latency 0, IRQ 193
>         I/O ports at 3020 [size=32]
>
> 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01) (prog-if 20 [EHCI])
>         Subsystem: Intel Corporation DeskTop Board D945GTP
>         Flags: bus master, medium devsel, latency 0, IRQ 58
>         Memory at 502c0400 (32-bit, non-prefetchable) [size=1K]
>         Capabilities: [50] Power Management version 2
>         Capabilities: [58] Debug port
>
> 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1) (prog-if 01 [Subtractive decode])
>         Flags: bus master, fast devsel, latency 0
>         Bus: primary=00, secondary=06, subordinate=06, sec-latency=32
>         I/O behind bridge: 00001000-00001fff
>         Memory behind bridge: 50000000-500fffff
>         Capabilities: [50] Subsystem: Intel Corporation Unknown device 544e
>
> 00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
>         Subsystem: Intel Corporation DeskTop Board D945GTP
>         Flags: bus master, medium devsel, latency 0
>         Capabilities: [e0] Vendor Specific Information
>
> 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01) (prog-if 8a [Master SecP PriP])
>         Subsystem: Intel Corporation DeskTop Board D945GTP
>         Flags: bus master, medium devsel, latency 0, IRQ 177
>         I/O ports at <unassigned>
>         I/O ports at <unassigned>
>         I/O ports at <unassigned>
>         I/O ports at <unassigned>
>         I/O ports at 30b0 [size=16]
>
> 00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller IDE (rev 01) (prog-if 8f [Master SecP SecO PriP PriO])
>         Subsystem: Intel Corporation DeskTop Board D945GTP
>         Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 185
>         I/O ports at 30c8 [size=8]
>         I/O ports at 30ec [size=4]
>         I/O ports at 30c0 [size=8]
>         I/O ports at 30e8 [size=4]
>         I/O ports at 30a0 [size=16]
>         Memory at 502c0000 (32-bit, non-prefetchable) [size=1K]
>         Capabilities: [70] Power Management version 2
>
> 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
>         Subsystem: Intel Corporation DeskTop Board D945GTP
>         Flags: medium devsel, IRQ 185
>         I/O ports at 3000 [size=32]
>
> 01:00.0 Ethernet controller: Intel Corporation 82573V Gigabit Ethernet Controller (Copper) (rev 03)
>         Subsystem: Intel Corporation Unknown device 3094
>         Flags: bus master, fast devsel, latency 0, IRQ 74
>         Memory at 50100000 (32-bit, non-prefetchable) [size=128K]
>         I/O ports at 2000 [size=32]
>         Capabilities: [c8] Power Management version 2
>         Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable+
>         Capabilities: [e0] Express Endpoint IRQ 0
>
> 06:01.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 0a)
>         Subsystem: Creative Labs CT4780 SBLive! Value
>         Flags: bus master, medium devsel, latency 32, IRQ 66
>         I/O ports at 1000 [size=32]
>         Capabilities: [dc] Power Management version 1
>
> 06:01.1 Input device controller: Creative Labs SB Live! Game Port (rev 0a)
>         Subsystem: Creative Labs Gameport Joystick
>         Flags: bus master, medium devsel, latency 32
>         I/O ports at 1020 [size=8]
>         Capabilities: [dc] Power Management version 1
>
> 06:05.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link) (prog-if 10 [OHCI])
>         Subsystem: Intel Corporation Unknown device 544e
>         Flags: bus master, medium devsel, latency 32, IRQ 169
>         Memory at 50004000 (32-bit, non-prefetchable) [size=2K]
>         Memory at 50000000 (32-bit, non-prefetchable) [size=16K]
>         Capabilities: [44] Power Management version 2
>
>
> Greetinx,

Total system hang is usually not problem of mplayer, but of the system.
Try to rule out the affected systems. try -nosound, try -vo null.
AFAIK sb emu10k are quite well supported, so it is unlikely, the intel
videocards are quite common cause of problems (second after ati video
cards).  it is also possible that win32 loader to allow memory
corruption caused by the binary codec (most wmv require them for
decoding).

Having kernel with magic sysreq key is bonus, use it (if it works).
(keyboard leds should flash on kernel panic, at least on ps/2
keyboards).

The recent 2.6.x kernels support kexec startup of emergency
-backup-kernel after kernel panic, that allows producing proper
bugreport to the kernel people. Read the
/usr/src/linux/Documentation/kdump/kdump.txt for details.



More information about the MPlayer-users mailing list