MSI-9105-LR and Audio....

Elessar elessar at galgenberg.net
Sat Apr 26 20:16:20 PDT 2003


Hi,

I do have some severe problems with my sound device. As soon as I
add one to my Box, freeBSD freezes randomly.
I assume it to be an interrupt problem, but the bios options of
this board are very limited. I cannot evenly distribute the ints,
but move the shared group.

Trying different pci slots, more cards, no cards, only sound,
with xf86, without xf86, .... no difference.
The cards I have tested are a Sound Blaster PCI 16,
a Sound Blaster PCI 512 an a *don't ask me* with a Crystal
CS4280-CM chip.

The problem accours randomly, the system:
a) freezes or
b) reboots directly.
No error message, no log file hint, nothing.
Without sound the system runs without any problems.
Sometimes after 8 hours up, sometimes 30 minutes.
I am running 4.8 Stable without any tweaks, no patches, no hacks,
no sysctls, no weird cflags.

The Hardware is (short version):
MSI 9105 MotherBoard with NIC and RAID (i82555 an Promise FastTrack)
VIA Pro266T Chipset
Dual Intel Pentium3-S 1.4GHz/512 L2
GF2 based video crad
Adaptec 2940 U/UW (2 Plextor CD Drives)
Intel E.Express/Pro 100 Manag.
Mylex AcceleRAID 250 (no HDD at the moment)
3 ATA HDDs

As I do use this computer as my desktop,sound actually would be
apprechiated. Comments, hints, help, workarounds welcome.
If you do need more information - ask for it, I will give it to you
if I can. Run some tests? No problem, tell me what to do.
Follwoing:
dmesg, mptable, `pciconf -lv` and kernel config
_Unwrapped_ MP-Table. Rest wrapped to same linelength (80 chars).

Regards,
Joerg



>>> DMESG

Copyright (c) 1992-2003 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.8-STABLE #5: Sun Apr 27 02:50:08 CEST 2003
    root at aragorn.starkstrom.lan:/usr/obj/usr/src/sys/ARAGORN
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel(R) Pentium(R) III CPU family      1400MHz (1396.03-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6b1  Stepping = 1
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
           CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 536805376 (524224K bytes)
avail memory = 516706304 (504596K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00178002, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc0573000.
Preloaded elf module "linux.ko" at 0xc057309c.
Preloaded elf module "nvidia.ko" at 0xc057313c.
VESA: v3.0, 65536k memory, flags:0x1, mode table:0xc038fe62 (1000022)
VESA: NVidia
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 8 entries at 0xc00fda90
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
IOAPIC #0 intpin 10 -> irq 2
IOAPIC #0 intpin 11 -> irq 10
pci0: <PCI bus> on pcib0
agp0: <VIA Generic host to PCI bridge> mem 0xe8000000-0xebffffff at device 0.0
       on pci0
pcib1: <PCI to PCI bridge (vendor=1106 device=b091)> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
nvidia0: <GeForce2 GTS> mem 0xe0000000-0xe7ffffff,0xec000000-0xecffffff irq 2
          at device 0.0 on pci1
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xa000-0xa03f 
       mem 0xef800000-0xef8fffff,0xefa20000-0xefa20fff irq 2 at device 8.0
       on pci0
fxp0: Ethernet address 00:10:dc:51:73:0f
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
atapci0: <Promise ATA100 controller> port 0xb400-0xb43f,0xb000-0xb003,
          0xac00-0xac07,0xa800-0xa803,0xa400-0xa407 mem 0xefa00000-0xefa1ffff
          irq 5 at device 9.0 on pci0
ata2: at 0xa400 on atapci0
ata3: at 0xac00 on atapci0
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0xb800-0xb8ff
       mem 0xefa22000-0xefa22fff irq 10 at device 10.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
pcib2: <PCI to PCI bridge (vendor=8086 device=0960)> at device 14.0 on pci0
pci2: <PCI bus> on pcib2
mlx0: <Mylex version 4 RAID interface> mem 0xef000000-0xef7fffff irq 10 at
       device 14.1 on pci0
mlx0: DAC960PTL1, 1 channel, firmware 4.08-0-33, 8MB RAM
fxp1: <Intel Pro 10/100B/100+ Ethernet> port 0xbc00-0xbc3f
       mem 0xef900000-0xef9fffff,0xefa21000-0xefa21fff irq 10 at device 15.0
       on pci0
fxp1: Ethernet address 00:90:27:8f:df:05
inphy1: <i82555 10/100 media interface> on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
viapropm0: SMBus I/O base at 0x5000
viapropm0: <VIA VT8233 Power Management Unit> port 0x5000-0x500f at device 17.0
            on pci0
viapropm0: SMBus revision code 0x0
smb0: <SMBus general purpose I/O> on smbus0
atapci1: <VIA 8233 ATA100 controller> port 0xc000-0xc00f irq 2 at device 17.1
          on pci0
ata0: at 0x1f0 irq 14 on atapci1
ata1: at 0x170 irq 15 on atapci1
uhci0: <VIA 83C572 USB controller> port 0xc800-0xc81f irq 10 at device 17.3
        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 0xcc00-0xcc1f irq 10 at device 17.4
        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
isa0: <ISA bus> on motherboard
orm0: <Option ROMs> at iomem 0xcc000-0xcd7ff,0xcf000-0xd17ff,0xd2000-0xd37ff
       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 MouseMan+, device ID 0
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
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
SMP: AP CPU #1 Launched!
ad0: 58644MB <Maxtor 5T060H6> [119150/16/63] at ata0-master UDMA100
ad4: 39266MB <IBM-DTLA-305040> [79780/16/63] at ata2-master UDMA100
ad5: 76319MB <WDC WD800JB-00CRA1> [155061/16/63] at ata2-slave UDMA100
Mounting root from ufs:/dev/ad0s3a
cd0 at ahc0 bus 0 target 3 lun 0
cd0: <PLEXTOR CD-ROM PX-40TS 1j13> Removable CD-ROM SCSI-2 device 
cd0: 20.000MB/s transfers (20.000MHz, offset 15)
cd1 at ahc0 bus 0 target 6 lun 0
cd1: <PLEXTOR CD-R   PX-R820T 1.08> Removable CD-ROM SCSI-2 device 
cd1: 10.000MB/s transfers (10.000MHz, offset 8)



>>> MP-TABLE

MPTable, version 2.0.15

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

MP Floating Pointer Structure:

  location:                     BIOS
  physical address:             0x000f5bb0
  signature:                    '_MP_'
  length:                       16 bytes
  version:                      1.4
  checksum:                     0x7d
  mode:                         Virtual Wire

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

MP Config Table Header:

  physical address:             0x000f1400
  signature:                    'PCMP'
  base table length:            332
  version:                      1.4
  checksum:                     0x26
  OEM ID:                       'OEM00000'
  Product ID:                   'PROD00000000'
  OEM table pointer:            0x00000000
  OEM table size:               0
  entry count:                  33
  local APIC address:           0xfee00000
  extended table length:        0
  extended table checksum:      0

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

MP Config Base Table Entries:

--
Processors:     APIC ID Version State           Family  Model   Step    Flags
                 0       0x11    BSP, usable     6       11      1       0xfbff
                 1       0x11    AP, usable      6       11      1       0xfbff
--
Bus:            Bus ID  Type
                 0       PCI   
                 1       PCI   
                 2       PCI   
                 3       ISA   
--
I/O APICs:      APIC ID Version State           Address
                 2       0x11    usable          0xfec00000
--
I/O Ints:       Type    Polarity    Trigger     Bus ID   IRQ    APIC ID PIN#
                INT     active-lo       level        0  17:C          2   11
                INT     active-lo       level        0  17:D          2   11
                INT     active-lo       level        0  17:D          2   11
                INT     active-lo       level        1   0:A          2   10
                INT     active-lo       level        0  15:A          2   11
                INT     active-lo       level        0   8:A          2   10
                INT     active-lo       level        0   9:A          2    5
                INT     active-lo       level        0  14:A          2   11
                INT     active-lo       level        0  17:A          2   10
                INT     active-lo       level        0  10:A          2   11
                ExtINT   conforms    conforms        3     0          2    0
                INT      conforms    conforms        3     1          2    1
                INT      conforms    conforms        3     0          2    2
                INT      conforms    conforms        3     3          2    3
                INT      conforms    conforms        3     4          2    4
                INT      conforms    conforms        3     6          2    6
                INT      conforms    conforms        3     7          2    7
                INT     active-hi        edge        3     8          2    8
                INT      conforms    conforms        3     9          2    9
                INT      conforms    conforms        3    12          2   12
                INT      conforms    conforms        3    13          2   13
                INT      conforms    conforms        3    14          2   14
                INT      conforms    conforms        3    15          2   15
                SMI      conforms    conforms        3     0          2   23
--
Local Ints:     Type    Polarity    Trigger     Bus ID   IRQ    APIC ID PIN#
                ExtINT   conforms    conforms        0   0:A        255    0
                NMI      conforms    conforms        0   0:A        255    1

===============================================================================


>>> pciconf -lv

agp0 at pci0:0:0:  class=0x060000 card=0x00000000 chip=0x31011106 rev=0x00 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT8653 Apollo Pro 266T CPU to PCI Bridge'
    class    = bridge
    subclass = HOST-PCI
pcib1 at pci0:1:0: class=0x060400 card=0x00000080 chip=0xb0911106 rev=0x00 hdr=0x01
    vendor   = 'VIA Technologies Inc'
    device   = 'VT8633 Apollo Pro 266 CPU to AGP Controller'
    class    = bridge
    subclass = PCI-PCI
fxp0 at pci0:8:0:  class=0x020000 card=0x30008086 chip=0x12298086 rev=0x08 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82557/8/9 EtherExpress PRO/100(B) Ethernet Adapter'
    class    = network
    subclass = ethernet
atapci0 at pci0:9:0:       class=0x010400 card=0x4d33105a chip=0x0d30105a rev=0x02
                        hdr=0x00
    vendor   = 'Promise Technology Inc'
    device   = 'PDC20265 FastTrak100 Lite EIDE Controller'
    class    = mass storage
    subclass = RAID
ahc0 at pci0:10:0: class=0x010000 card=0x78819004 chip=0x81789004 rev=0x01 hdr=0x00
    vendor   = 'Adaptec Inc'
    device   = 'AHA-2940U/UW/2940D Ultra/Ultra Wide/Dual SCSI Host Adapter'
    class    = mass storage
    subclass = SCSI
pcib2 at pci0:14:0:        class=0x060400 card=0x00000068 chip=0x09608086 rev=0x05
                        hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '80960RP i960 RP Microprocessor/Bridge'
    class    = bridge
    subclass = PCI-PCI
mlx0 at pci0:14:1: class=0x010400 card=0x00101069 chip=0x00101069 rev=0x05 hdr=0x00
    vendor   = 'IBM Corporation'
    device   = 'DAC960PJ DAC960PJ 3 ch SCSI RAID Controller'
    class    = mass storage
    subclass = RAID
fxp1 at pci0:15:0: class=0x020000 card=0x000c8086 chip=0x12298086 rev=0x08 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82557/8/9 EtherExpress PRO/100(B) Ethernet Adapter'
    class    = network
    subclass = ethernet
viapropm0 at pci0:17:0:    class=0x060100 card=0x00001106 chip=0x30741106 rev=0x00
                        hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT8233 PCI to ISA Bridge'
    class    = bridge
    subclass = PCI-ISA
atapci1 at pci0:17:1:      class=0x01018a card=0x05711106 chip=0x05711106 rev=0x06
                        hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82xxxx EIDE Controller (All VIA Chipsets)'
    class    = mass storage
    subclass = ATA
uhci0 at pci0:17:3:        class=0x0c0300 card=0x12340925 chip=0x30381106 rev=0x1b
                        hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
    class    = serial bus
    subclass = USB
uhci1 at pci0:17:4:        class=0x0c0300 card=0x12340925 chip=0x30381106 rev=0x1b
                        hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
    class    = serial bus
    subclass = USB
nvidia0 at pci1:0:0:       class=0x030000 card=0x012c10b0 chip=0x015010de rev=0xa3
                        hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'GeForce2 GTS/GeForce2 PRO [NV15]'
    class    = display
    subclass = VGA

>>> Kernel Config

#
# ARAGORN -- kernel configuration file for FreeBSD/i386
#

machine         i386
cpu             I686_CPU
ident           ARAGORN 
maxusers        0

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

options         CPU_ENABLE_SSE

options         INET                    #InterNETworking
options         INET6                   #IPv6 Support
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep this!]
options         SOFTUPDATES             #Enable FFS soft updates support
options         UFS_DIRHASH             #Improve performance on big directories
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=6000         #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
options         USER_LDT                #Needed for Nvidia Driver

#SMP Config
options         SMP                     #Symmetric MultiProcessor Kernel
options         APIC_IO                 #Symmetric (APIC) I/O

device          isa
device          pci
device          agp

# Floppy drives
device          fdc0    at isa? port IO_FD1 irq 6 drq 2
device          fd0     at fdc0 drive 0

# ATA and ATAPI devices
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          ahc             # AHA2940 and onboard AIC7xxx devices
device          mlx             # Mylex RAID Driver

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

# 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?
options         VESA

# splash screen/screen saver
pseudo-device   splash

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

# 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? flags 0x20 # Advanced Power Management

# Serial (COM) ports
device          sio0    at isa? port IO_COM1 flags 0x10 irq 4

# Parallel port
device          ppc0    at isa? irq 7
device          ppbus           # Parallel port bus (required)
device          lpt             # Printer

# 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          fxp             # Intel EtherExpress PRO/100B (82557, 82558)
device          rl              # RealTek 8129/8139
device          xl              # 3Com 3c90x (``Boomerang'', ``Cyclone'')

#options                DEVICE_POLLING
#options                HZ=2000

# Pseudo devices - the number indicates how many units to allocate.
pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
pseudo-device   tun             # 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

#PCI Sound Card
#device         pcm

#SMBus
device          smbus
device          viapm
device          iicbus
device          iicbb
device          smb

# 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


More information about the freebsd-smp mailing list