Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2002 21:46:21 -0700
From:      Corey Holcomb-Hockin <crsntlvs@ipeg.com>
To:        freebsd-multimedia@freebsd.org
Subject:   Fxtv crash
Message-ID:  <3D93E29D.9080702@ipeg.com>

next in thread | raw e-mail | index | archive | help
Asus a7a-133
Athlon XP 1900+
Matrox G400
Hauppauge WinTV radio
Ensoniq audiopci
FreeBSD 4.6.2
XFree86 4.2.0
Fxtv 1.03

I just bought a Hauppague WinTV radio and was trying to get it running on
FreeBSD.  I got vidio and sound working when I use -disableDirectV.  If I
don't use that setting I get video for a several seconds then the computer
freezes up completely.  The video that i get has some blocky distortion 
also.

I had a similar problem when using 3d on linux.  It would work for a
random number of seconds then freeze up the computer.  I assume both of 
these
problems have to do with memory corruption.

Is there any way to fix this problem or should I just stick to
-disableDirectV?  I'm not sure if this is because I configured something
incorrectly or if its a hardware problem.
I'm going to post my XF86Config, dmesg, kernel configuration, and fxtv 
-debug
startup.

thanks,
Corey Holcomb-Hockin

---XF86Config

Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
        Load  "xie"
        Load  "pex5"
        Load  "glx"
#       Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "extmod"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "MouseSystems"
        Option      "Device" "/dev/sysmouse"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbModel" "pc101"
        Option      "XkbLayout" "us"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        HorizSync    31.5 - 82.0
        VertRefresh  40.0 - 150.0
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "mga"
        ChipSet     "mgag400"
        Card        "Matrox MGA G200 PCI (mgag400)"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth     16
        SubSection "Display"
                Depth     16
                Modes    "1024x768"
        #       Modes    "640x480"
        EndSubSection
EndSection

----dmesg

Copyright (c) 1992-2002 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 4.6.2-RELEASE #3: Thu Sep 26 17:03:33 PDT 2002
    corey@rlfc:/usr/src/sys/compile/PAVKERNAL
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 1611824949 Hz
CPU: AMD Athlon(TM) XP1900+ (1611.82-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2
  
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA
T,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0480000<<b19>,AMIE,DSP,3DNow!>
real memory  = 536788992 (524208K bytes)
avail memory = 519356416 (507184K bytes)
Preloaded elf kernel "kernel" at 0xc033d000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 11 entries at 0xc00f1770
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <AcerLabs M5247 PCI-PCI(AGP Supported) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <Matrox MGA G400 AGP graphics accelerator> at 0.0 irq 11
ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 
0xf9000000-0xf9000fff irq
 5 at device 2.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
atapci0: <AcerLabs Aladdin ATA100 controller> port 0xd400-0xd40f at 
device 4.0 o
n pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
isab0: <AcerLabs M1533 portable PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
bktr0: <BrookTree 878> mem 0xfb000000-0xfb000fff irq 10 at device 11.0 
on pci0
iicbb0: <I2C bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
iicsmb0: <I2C to SMB bridge> on iicbus0
smbus0: <System Management Bus> on iicsmb0
iicbus1: <Philips I2C bus> on iicbb0 master-only
iicsmb1: <I2C to SMB bridge> on iicbus1
smbus1: <System Management Bus> on iicsmb1
smbus2: <System Management Bus> on bti2c0
bktr0: Hauppauge Model 61381 D423
bktr0: Detected a MSP3430G-B6 at 0x80
bktr0: Hauppauge WinCast/TV, Philips FR1236 NTSC FM tuner, msp3400c 
stereo, remo
te control.
pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 11.1 irq 10
pcm0: <Creative CT5880-C> port 0xb800-0xb83f irq 7 at device 13.0 on pci0
chip1: <AcerLabs M15x3 Power Management Unit> at device 17.0 on pci0
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ad0: 38166MB <WDC WD400BB-00CCB0> [77545/16/63] at ata0-master UDMA100
acd0: CDROM <ASUS CD-S520/A> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a

----kernel

#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.34 2001/08/12 13:13:46 
joerg Exp
 $

machine         i386
cpu             I686_CPU
ident           PAVKERNAL      
maxusers        64     

#makeoptions    DEBUG=-g                #Build kernel with gdb(1) debug 
symbols

#options        MATH_EMULATE            #Support for x87 emulation
options         INET                    #InterNETworking
options         INET6                   #IPv6 communications protocols
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep 
this!]
options         SOFTUPDATES             #Enable FFS soft updates support
options         MFS                     #Memory Filesystem
options         MD_ROOT                 #MD is a potential root device
#options        NFS                     #Network Filesystem
#options        NFS_ROOT                #NFS usable as root device, NFS 
required
#options        MSDOSFS                 #MSDOS Filesystem
#options        CD9660                  #ISO 9660 Filesystem
#options        CD9660_ROOT             #CD-ROM usable as root, CD9660 
required
options         PROCFS                  #Process filesystem
options         COMPAT_43               #Compatible with BSD 4.3 [KEEP 
THIS!]
options         SCSI_DELAY=15000        #Delay (in ms) before probing SCSI
options         UCONSOLE                #Allow users to grab the console
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor
options         KTRACE                  #ktrace(1) support
options         SYSVSHM                 #SYSV-style shared memory
options         SYSVMSG                 #SYSV-style message queues
options         SYSVSEM                 #SYSV-style semaphores
options         P1003_1B                #Posix P1003_1B real-time extensions
options         _KPOSIX_PRIORITY_SCHEDULING
options         ICMP_BANDLIM            #Rate limit bad replies
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev

# To make an SMP kernel, the next two are needed
#options        SMP                     # Symmetric MultiProcessor Kernel
#options        APIC_IO                 # Symmetric (APIC) I/O

device          isa
#device         eisa
device          pci

# Floppy drives
device          fdc0    at isa? port IO_FD1 irq 6 drq 2
device          fd0     at fdc0 drive 0
#device         fd1     at fdc0 drive 1
#
# If you have a Toshiba Libretto with its Y-E Data PCMCIA floppy,
# don't use the above line for fdc0 but the following one:
#device         fdc0

# ATA and ATAPI devices
#device         ata0    at isa? port IO_WD1 irq 14
#device         ata1    at isa? port IO_WD2 irq 15
device          ata
device          atadisk                 # ATA disk drives
device          atapicd                 # ATAPI CDROM drives
device          atapifd                 # ATAPI floppy drives
#device         atapist                 # ATAPI tape drives
#options        ATA_STATIC_ID           #Static device numbering

# SCSI Controllers
#device         ahb             # EISA AHA1742 family
#device         ahc             # AHA2940 and onboard AIC7xxx devices
#device         amd             # AMD 53C974 (Tekram DC-390(T))
#device         isp             # Qlogic family
#device         ncr             # NCR/Symbios Logic
#device         sym             # NCR/Symbios Logic (newer chipsets)
#options                SYM_SETUP_LP_PROBE_MAP=0x40
                                # Allow ncr to attach legacy NCR devices 
when
                                # both sym and ncr are configured

#device         adv0    at isa?
#device         adw
#device         bt0     at isa?
#device         aha0    at isa?
#device         aic0    at isa?

#device         ncv             # NCR 53C500
#device         nsp             # Workbit Ninja SCSI-3
#device         stg             # TMC 18C30/18C50

# SCSI peripherals
#device         scbus           # SCSI bus (required)
#device         da              # Direct Access (disks)
#device         sa              # Sequential Access (tape etc)
#device         cd              # CD
#device         pass            # Passthrough device (direct SCSI access)

# RAID controllers interfaced to the SCSI subsystem
#device         asr             # DPT SmartRAID V, VI and Adaptec SCSI RAID
#device         dpt             # DPT Smartcache - See LINT for options!
#device         mly             # Mylex AcceleRAID/eXtremeRAID

# RAID controllers
#device         aac             # Adaptec FSA RAID, Dell PERC2/PERC3
#device         ida             # Compaq Smart RAID
#device         amr             # AMI MegaRAID
#device         mlx             # Mylex DAC960 family
#device         twe             # 3ware Escalade

# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1 flags 0x1
device          psm0    at atkbdc? irq 12

device          vga0    at isa?

# splash screen/screen saver
pseudo-device   splash

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa? flags 0x100

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device         vt0     at isa?
#options        XSERVER                 # support for X server on a vt 
console
#options        FAT_CURSOR              # start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT 
lines
#options        PCVT_SCANSET=2          # IBM keyboards are non-std

# Floating point support - do not disable.
device          npx0    at nexus? port IO_NPX irq 13

# Power management support (see LINT for more options)
#device         apm0    at nexus? disable flags 0x20 # Advanced Power 
Management

# PCCARD (PCMCIA) support
#device         card
#device         pcic0   at isa? irq 0 port 0x3e0 iomem 0xd0000
#device         pcic1   at isa? irq 0 port 0x3e2 iomem 0xd4000 disable

# Serial (COM) ports
device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
device          sio1    at isa? port IO_COM2 irq 3
device          sio2    at isa? disable port IO_COM3 irq 5
device          sio3    at isa? disable port IO_COM4 irq 9

# Parallel port
#device         ppc0    at isa? irq 7
#device         ppbus           # Parallel port bus (required)
#device         lpt             # Printer
#device         plip            # TCP/IP over parallel
#device         ppi             # Parallel port interface device
#device         vpo             # Requires scbus and da


# PCI Ethernet NICs.
#device         de              # DEC/Intel DC21x4x (``Tulip'')
#device         em              # Intel PRO/1000 adapter Gigabit 
Ethernet Card (
``Wiseman'')
#device         txp             # 3Com 3cR990 (``Typhoon'')
#device         vx              # 3Com 3c590, 3c595 (``Vortex'')

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device          miibus          # MII bus support
#device         dc              # DEC/Intel 21143 and various workalikes
#device         fxp             # Intel EtherExpress PRO/100B (82557, 82558)
#device         pcn             # AMD Am79C97x PCI 10/100 NICs
#device         rl              # RealTek 8129/8139
#device         sf              # Adaptec AIC-6915 (``Starfire'')
#device         sis             # Silicon Integrated Systems SiS 900/SiS 
7016
#device         ste             # Sundance ST201 (D-Link DFE-550TX)
#device         tl              # Texas Instruments ThunderLAN
#device         tx              # SMC EtherPower II (83c170 ``EPIC'')
#device         vr              # VIA Rhine, Rhine II
#device         wb              # Winbond W89C840F
#device         wx              # Intel Gigabit Ethernet Card (``Wiseman'')
#device         xl              # 3Com 3c90x (``Boomerang'', ``Cyclone'')
#device         bge             # Broadcom BCM570x (``Tigon III'')

# ISA Ethernet NICs.
# 'device ed' requires 'device miibus'
#device         ed0     at isa? port 0x280 irq 10 iomem 0xd8000
#device         ex
#device         ep
#device         fe0     at isa? port 0x300
# Xircom Ethernet
#device         xe
# PRISM I IEEE 802.11b wireless NIC.
#device         awi
# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
# exists only as a PCMCIA device, so there is no ISA attachment needed
# and resources will always be dynamically assigned by the pccard code.
#device         wi
# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
# mode (the factory default). If you set the switches on your ISA
# card for a manually chosen I/O address and IRQ, you must specify
# those parameters here.
#device         an
# The probe order of these is presently determined by i386/isa/isa_compat.c.
#device         ie0     at isa? port 0x300 irq 10 iomem 0xd0000
#device         le0     at isa? port 0x300 irq 5 iomem 0xd0000
#device         lnc0    at isa? port 0x280 irq 10 drq 0
#device         cs0     at isa? port 0x300
#device         sn0     at isa? port 0x300 irq 10

# For PnP/PCI sound cards
device          pcm
# WinTV
device bktr0
device smbus
device iicbb
device iicbus
device iicsmb
# Pseudo devices - the number indicates how many units to allocate.
pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
#pseudo-device  sl      1       # Kernel SLIP
#pseudo-device  ppp     1       # Kernel PPP
pseudo-device   tun     1       # Packet tunnel.
pseudo-device   pty             # Pseudo-ttys (telnet etc)
pseudo-device   md              # Memory "disks"
pseudo-device   gif             # IPv6 and IPv4 tunneling
pseudo-device   faith   1       # IPv6-to-IPv4 relaying (translation)

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device   bpf             #Berkeley packet filter

# USB support
device          uhci            # UHCI PCI->USB interface
device          ohci            # OHCI PCI->USB interface
device          usb             # USB Bus (required)
device          ugen            # Generic
device          uhid            # "Human Interface Devices"
#device         ukbd            # Keyboard
#device         ulpt            # Printer
#device         umass           # Disks/Mass storage - Requires scbus and da
#device         ums             # Mouse
#device         uscanner        # Scanners
#device         urio            # Diamond Rio MP3 Player
# USB Ethernet, requires mii
#device         aue             # ADMtek USB ethernet
#device         cue             # CATC USB ethernet
#device         kue             # Kawasaki LSI USB ethernet

----Fxtv debug startup
Fxtv v1.03

DETECTED CAPTURE CARD(S) [DRIVER PROBES]:
    bktr0: <BrookTree 878> mem 0xfb000000-0xfb000fff irq 10 at device 
11.0 on pc
i0
    iicbb0: <I2C bit-banging driver> on bti2c0
    bktr0: Hauppauge Model 61381 D423
    bktr0: Detected a MSP3430G-B6 at 0x80
    bktr0: Hauppauge WinCast/TV, Philips FR1236 NTSC FM tuner, msp3400c 
stereo,
remote control.
    pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 11.1 irq 10

SYSCTL MIB VALUES:
    kern.version: FreeBSD 4.6.2-RELEASE #3: Thu Sep 26 17:03:33 PDT 2002
        corey@rlfc:/usr/src/sys/compile/PAVKERNAL
   
    hw.bt848.card: -1
    hw.bt848.tuner: -1
    hw.bt848.reverse_mute: -1
    hw.bt848.format: -1
    hw.bt848.slow_msp_audio: -1

TUNER SIGNATURE (0x01 - 0xff):
    00 00 00 01 00 00 00 00 01 00 01 00 02 00 00 00

TUNER I2C DEVICES FOUND AT:
    0x30, 0x80, 0xa0, 0xc2

CAPTURE CARD EEPROM CONTENTS:
   Read 256 EEPROM bytes (0x00 - 0xff)
    84 12 00 00 05 50 0e 7f 08 17 23 c5 ef 93 44 91
    00 00 00 00 05 84 0a 00 01 01 20 77 00 40 3b 9e
    3e 00 74 02 01 07 03 79 ad 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 13 eb 00 70
    84 12 00 00 05 50 0e 7f 08 17 23 c5 ef 93 44 91
    00 00 00 00 05 84 0a 00 01 01 20 77 00 40 3b 9e
    3e 00 74 02 01 07 03 79 ad 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 13 eb 00 70

SUPPORTED FREQUENCY SETS:
     1 nabcst
     2 cableirc
     3 cablehrc
     4 weurope
     5 jpnbcst
     6 jpncable
     7 xussr
     8 australia
     9 france

Supported RGB Capture Pixel Formats:
   bpp  Bpp  RGB Masks                     Swap
   ---  ---  ----------------------------  ----
    15   2   00007c00, 000003e0, 0000001f  NB 
    16   2   0000f800, 000007e0, 0000001f  NB 
    24   3   00ff0000, 0000ff00, 000000ff   B 
    24   4   00ff0000, 0000ff00, 000000ff  NBWb

Supported YUV Capture Pixel Formats:
   YUVSize  HSamp  VSamp  Pack    CompOrder  T->B  L->R  YTrans
   -------  -----  -----  ------  ---------  ----  ----  ------
    8,8,8   1,2,2  1,1,1  PLANAR  YUV         Y     Y      N
    8,8,8   1,2,2  1,1,1  PACKED  YUYV        Y     Y      N
    8,8,8   1,2,2  1,2,2  PLANAR  YUV         Y     Y      N


XSERVER: 'The XFree86 Project, Inc' v40200000,  Protocol Verson 11.0
         Screen Res = 1024x768, DefDepth = 16; NumScreens = 1
         Bitmap Unit/BitOrder/Pad = 32/LSBFirst/32, Image ByteOrder = 
LSBFirst

XF86DGAQueryVersion() succeeded - vers = 2.00
   BaseAddr = 0xfc000000, Pitch = 1024, BankSize/RamSize = 16777216/16777216

Rating Available Visuals:
   Rating  Class        bpp  Bpp  R,G,B Masks                   Swap  
DirectVid
   ------  -----------  ---  ---  ----------------------------  ----  
---------
     5     TrueColor     16  2,2  0000f800, 000007e0, 0000001f   --      Yes
     4     TrueColor     16  2,2  0000f800, 000007e0, 0000001f   --      No
     0     DirectColor   16  2,2  0000f800, 000007e0, 0000001f   --      No
     0     DirectColor   16  2,2  0000f800, 000007e0, 0000001f   --      No
Chosen Visual is 16-bpp TrueColor

XF86VidModeQueryVersion() succeeded - version = 2.01



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D93E29D.9080702>