[mythtv] Mythfrontend and Audiophile 2496 (ICE1712) ALSA hangs
after 20sec
Pekka
psx at pp.inet.fi
Wed Jan 19 06:50:26 EST 2005
Hi,
I have a CCRMA (ccrma.stanford.edu) Fedora Core 3 home music studio, that I would also like to use as mythfrontend:
Fedora Core 3, Athlon XP 3000+, 1GB low latency memory, AsusA7V880, M-Audio Audiophile 2496 (PCI card), ALSA drivers and kernel 2.6.10-2.1.ll.rhfc3.ccrma from ccrm.stanford.edu. ALSA sound is already working with all the CCRM studio applications.
I tried to make mythfrontend (CVS-version: 0.16.20041126-1 www.mythtv.org, same as backend) to work with "native ALSA":
I commented out OSS and activated ALSA in settings.pro:
# Default audio output, OSS
#CONFIG += using_oss
#DEFINES += USING_OSS
# Native ALSA support
CONFIG += using_alsa
ALSA_LIBS = -lasound
then "configure, qmake mythtv.pro, make, make install"
Started mythfrontend, and changed from "/dev/dsp" to "ALSA:default"
While watching live or recorded programme, at first I get picture and sound, but after about 20 seconds frontend hangs. In the terminal I see:
2005-01-18 23:53:28.022 Connecting to backend server: 192.168.0.44:6543 (try 1 o f 5)
2005-01-18 23:53:31.029 Using protocol version 14
2005-01-18 23:53:31.182 Using protocol version 14
2005-01-18 23:53:33.904 All Programs
2005-01-18 23:53:37.280 Initializing audio parms from stream #0.
2005-01-18 23:53:37.536 Opening audio device 'default'.
2005-01-18 23:53:37.606 Using XV port 69
2005-01-18 23:53:37.904 Using realtime priority.
2005-01-18 23:53:37.905 Changing from None to WatchingPreRecorded
2005-01-18 23:53:37.936 Video timing method: DRM
2005-01-18 23:53:50.629 RemoteFile::Read() failed in RingBuffer::safe_read().
2005-01-18 23:53:56.069 prebuffering pause
2005-01-18 23:53:56.069 WriteAudio: buffer underrun
2005-01-18 23:53:56.885 Waited 2 seconds for data to become available, waiting a gain...
2005-01-18 23:53:58.886 Waited 2 seconds for data to become available, waiting a gain...
2005-01-18 23:54:00.888 Waited 2 seconds for data to become available, waiting a gain...
After killing the frontend with Ctrl-C I noticed that the ethernet connection is down.
"/etc/init.d/network stop" gives:
Jan 18 23:46:08 localhost kernel: eth0: network connection down
Jan 18 23:46:08 localhost kernel: eth0: -- ERROR --
Jan 18 23:46:08 localhost kernel: Class: Hardware failure
Jan 18 23:46:08 localhost kernel: Nr: 0xd9
Jan 18 23:46:08 localhost kernel: Msg: FATAL: SkGeStopPort() does not terminate (Tx)
I suspect that there's something wrong with ACPI/APM, IRQ:s/busmastering, ethernet/audiophile or whatever...
Before installing audiophile card I had a working mythfrontend that was made with the same sources - only without Audiophile and using /dev/dsp/ instead of ALSA.
Any ideas?
Pekka
/proc/interrups:
16: 1141583 IO-APIC-level mga at pci:0000:01:00.0 (Matrox G450)
17: 132516 IO-APIC-level ICE1712 (Audiophile 2496)
18: 58719 IO-APIC-level SysKonnect SK-98xx (Internal ethernet)
Some boot messages:
Jan 16 21:32:54 localhost kernel: mtrr: v2.0 (20020519)
Jan 16 21:32:54 localhost kernel: ACPI: Subsystem revision 20041105
Jan 16 21:32:54 localhost kernel: ACPI: Interpreter enabled
Jan 16 21:32:54 localhost kernel: ACPI: Using IOAPIC for interrupt routing
Jan 16 21:32:54 localhost kernel: ACPI: PCI Root Bridge [PCI0] (00:00)
Jan 16 21:32:54 localhost kernel: PCI: Probing PCI hardware (bus 00)
Jan 16 21:32:54 localhost kernel: ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 10 *11 14 15)
Jan 16 21:32:54 localhost kernel: ACPI: PCI Interrupt Link [LNKB] (IRQs *3 4 5 7 10 11 14 15)
Jan 16 21:32:54 localhost kernel: ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 *10 11 14 15)
Jan 16 21:32:54 localhost autofs: automount startup succeeded
Jan 16 21:32:54 localhost kernel: ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 *5 7 10 11 14 15)
Jan 16 21:32:54 localhost kernel: ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
Jan 16 21:32:54 localhost kernel: ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
Jan 16 21:32:54 localhost kernel: ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
Jan 16 21:32:54 localhost kernel: ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
Jan 16 21:32:54 localhost kernel: Linux Plug and Play Support v0.97 (c) Adam Belay
Jan 16 21:32:54 localhost kernel: pnp: PnP ACPI init
Jan 16 21:32:54 localhost kernel: pnp: PnP ACPI: found 11 devices
Jan 16 21:32:54 localhost kernel: usbcore: registered new driver usbfs
Jan 16 21:32:54 localhost kernel: usbcore: registered new driver hub
Jan 16 21:32:54 localhost kernel: PCI: Using ACPI for IRQ routing
Jan 16 21:32:55 localhost kernel: ** PCI interrupts are no longer routed automatically. If this
Jan 16 21:32:52 localhost ifup: valmis.
Jan 16 21:32:55 localhost mDNSResponder: käynnistys succeeded
Jan 16 21:32:55 localhost kernel: ** causes a device to stop working, it is probably because the
Jan 16 21:32:52 localhost NET: /etc/sysconfig/network-scripts/ifup-post : updated /etc/resolv.conf
Jan 16 21:32:55 localhost kernel: ** driver failed to call pci_enable_device(). As a temporary
Jan 16 21:32:52 localhost network: Otetaan liitäntä eth0 käyttöön: succeeded
Jan 16 21:32:55 localhost kernel: ** workaround, the "pci=routeirq" argument restores the old
Jan 16 21:32:55 localhost smartd[4220]: smartd version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Jan 16 21:32:55 localhost kernel: ** behavior. If this argument makes the device work again,
Jan 16 21:32:55 localhost smartd[4220]: Home page is http://smartmontools.sourceforge.net/
Jan 16 21:32:55 localhost kernel: ** please email the output of "lspci" to bjorn.helgaas at hp.com
Jan 16 21:32:55 localhost smartd[4220]: Opened configuration file /etc/smartd.conf
Jan 16 21:32:55 localhost kernel: ** so I can fix the driver.
Jan 16 21:32:55 localhost smartd[4220]: Configuration file /etc/smartd.conf parsed.
Jan 16 21:32:55 localhost kernel: TC classifier action (bugs to netdev at oss.sgi.com cc hadi at cyberus.ca)
Jan 16 21:32:55 localhost smartd[4220]: Device: /dev/hda, opened
Jan 16 21:32:55 localhost kernel: pnp: 00:08: ioport range 0x480-0x487 has been reserved
Jan 16 21:32:55 localhost smartd[4220]: Device: /dev/hda, found in smartd database.
Jan 16 21:32:55 localhost kernel: pnp: 00:08: ioport range 0xc00-0xc7f has been reserved
Jan 16 21:32:55 localhost kernel: apm: BIOS not found.
Jan 16 21:32:56 localhost smartd[4220]: Device: /dev/hda, is SMART capable. Adding to "monitor" list.
Jan 16 21:32:56 localhost kernel: audit: initializing netlink socket (disabled)
Jan 16 21:32:56 localhost smartd[4220]: Monitoring 1 ATA and 0 SCSI devices
Jan 16 21:32:56 localhost kernel: audit(1105903934.019:0): initialized
Jan 16 21:32:56 localhost smartd[4222]: smartd has fork()ed into background mode. New PID=4222.
Jan 16 21:32:56 localhost kernel: highmem bounce pool size: 64 pages
More information about the mythtv-dev
mailing list