Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Apr 2005 09:55:26 -0700
From:      Drew Tomlinson <drew@mykitchentable.net>
To:        FreeBSD Multimedia <freebsd-multimedia@freebsd.org>
Subject:   Stability Issues When Using /dev/cxm0
Message-ID:  <426A7DFE.90207@mykitchentable.net>

next in thread | raw e-mail | index | archive | help
I've installed a PVR-250 card in a system running 5.4-STABLE.  The 
system was built from code downloaded around April 15th.  The system is 
an AMD Athlon Slot A 750 mhz processor running on an Asus K7V-T 
motherboard.  I have 1gb of PC-133 RAM installed.  I'll include dmesg 
output below.

My ultimate goal is to build a PVR based on MythTV.  As part of this 
goal, I've installed the pvr-250 port and mythtv ports from 
http://mythtv.son.org/tiki-index.php?page=Multimedia+Drivers.  I can 
view tv with either 'mplayer /dev/cxm0' or the 'Watch Live TV' function 
in MythTV but the picture quality varies from moderate to poor.

The poorest picture comes when there is the most motion so I suspect it 
has something to do with encoding or decoding. Then anywhere from a few 
to 30 minutes, the machine just locks up.  No error. No nothing.  Only 
power cycling the machine will free it.  While watching a stream from 
/dev/cxm0, the cpu seems to run around 50% - 70%.  Is this a reasonable 
usage for this cpu?  Any ideas on what I may do to optimize and or 
stabilize my setup?

Thanks,

Drew

tv> uname -a
FreeBSD tv.mykitchentable.net 5.4-STABLE FreeBSD 5.4-STABLE #4: Mon Apr 
18 17:32:48 PDT 2005     
login@tv.mykitchentable.net:/usr/obj/usr/src/sys/TV  i386
tv> dmesg
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.4-STABLE #4: Mon Apr 18 17:32:48 PDT 2005
   login@tv.mykitchentable.net:/usr/obj/usr/src/sys/TV
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) Processor (750.03-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x622  Stepping = 2
  
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 1073659904 (1023 MB)
avail memory = 1041092608 (992 MB)
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS K7V-T> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
cpu0: <ACPI CPU (3 Cx states)> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem 
0xe4000000-0xe7ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686A UDMA66 controller> port 
0xd800-0xd80f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 4.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 9 at device 
4.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 9 at device 
4.3 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pcm0: <Creative Audigy (EMU10K2)> port 0xa400-0xa41f irq 9 at device 9.0 
on pci0
pcm0: <TriTech TR28602 AC97 Codec>
fwohci0: <1394 Open Host Controller Interface> mem 
0xce000000-0xce003fff,0xce800000-0xce8007ff irq 11 at device 9.2 on pci0
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:02:3c:00:21:04:29:a6
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:02:3c:04:29:a6
fwe0: Ethernet address: 02:02:3c:04:29:a6
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
adw0: <AdvanSys 38C0800 Ultra2 SCSI Adapter> port 0x9800-0x98ff mem 
0xcd800000-0xcd8000ff irq 5 at device 10.0 on pci0
adw0: SCSI ID 7, High & Low SE Term Enabled, LVD Term Enabled, Queue 
Depth 253
atapci1: <Promise PDC20375 SATA150 controller> port 
0x8800-0x887f,0x9000-0x900f,0x9400-0x943f mem 
0xcc800000-0xcc81ffff,0xcd000000-0xcd000fff irq 10 at device 11.0 on pci0
atapci1: failed: rid 0x20 is memory, requested 4
ata2: channel #0 on atapci1
ata3: channel #1 on atapci1
ata4: channel #2 on atapci1
dc0: <82c169 PNIC 10/100BaseTX> port 0x8400-0x84ff mem 
0xcc000000-0xcc0000ff irq 11 at device 12.0 on pci0
miibus0: <MII bus> on dc0
lxtphy0: <LXT970 10/100 media interface> on miibus0
lxtphy0:  100baseFX, 100baseFX-FDX, 10baseT, 10baseT-FDX, 100baseTX, 
100baseTX-FDX, auto
dc0: Ethernet address: 00:a0:cc:3f:34:60
dc0: if_start running deferred for Giant
cxm0: <Conexant iTVC16 MPEG Coder> mem 0xd0000000-0xd3ffffff irq 9 at 
device 13.0 on pci0
cxm_iic0: <Conexant iTVC15 / iTVC16 I2C controller> on cxm0
iicbb0: <I2C bit-banging driver> on cxm_iic0
iicbus0: <Philips I2C bus> on iicbb0 master-only
cxm0: LG Innotek TAPC-H701F tuner
cxm0: SAA7115 rev 1 video decoder
cxm0: MSP3445G-B8 audio decoder
cxm0: IR Remote
cxm0: encoder firmware version 0x2050032
fdc0: <floppy drive controller> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <ECP parallel printer port> port 0x778-0x77b,0x378-0x37f irq 7 drq 
3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on 
acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xd0000-0xd3fff,0xc0000-0xcc7ff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 750029778 Hz quality 800
Timecounters tick every 10.000 msec
acd0: CDROM <CD-56E/2.0D> at ata0-master PIO3
ad8: 156334MB <Maxtor 6Y160P0/YAR41BW0> [317632/16/63] at ata4-master 
UDMA100
Waiting 10 seconds for SCSI devices to settle
da0 at adw0 bus 0 target 0 lun 0
da0: <QUANTUM ATLAS IV 36 WLS 0B0B> Fixed Direct Access SCSI-3 device
da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing 
Enabled
da0: 35044MB (71770336 512 byte sectors: 255H 63S/T 4467C)
da1 at adw0 bus 0 target 1 lun 0
da1: <QUANTUM QM318000TD-SW N491> Fixed Direct Access SCSI-2 device
da1: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing 
Enabled
da1: 17366MB (35566500 512 byte sectors: 255H 63S/T 2213C)
Mounting root from ufs:/dev/da0s1a
WARNING: / was not properly dismounted
WARNING: /tv was not properly dismounted
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state
cxm0: video decoder failed to lock
cxm0: audio decoder failed to lock

-- 
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books, & More!

http://www.alchemistswarehouse.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?426A7DFE.90207>