Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2000 12:46:12 -0700
From:      Kent Stewart <kstewart@urx.com>
To:        "Andresen,Jason R." <jandrese@mitre.org>
Cc:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Strange conflict
Message-ID:  <39A42A04.84D91736@urx.com>
References:  <39A42600.9A8A7A85@mitre.org>

next in thread | previous in thread | raw e-mail | index | archive | help


"Andresen,Jason R." wrote:
> 
> I have an unusual conflict problem.  I have an original model
> SoundBlaster 16 ISA non-PNP (with jumpers and everything!) and a PCI
> RealTek 10/100 ethernet card (Yes, I know it's crappy).  My problem is
> the RealTek card seems to be conflicting with the SB16, which is
> extremely odd because they aren't even on the same bus.  My symptoms:
> Whenever I try to play a sound on the SB16, it simply plays the first
> half second of the song over and over (BuhBuhBuhBuh....) for the
> duration of the sound and then stops.  Removing the NIC restores
> normal operation, but of course kills my network connection.

I would lay odds (but not bet any money :)) that the RealTek is
grabbing the IRQ (5 most likely) that the SB wants. That was an old
symptom. I don't know how you assign an IRQ to the RealTek. You can
look at the dmesg and see what the RealTek is using. You could
probably change the jumper on the SB if you can't fix it.

Kent

> 
> Both the SB16 and the RealTek card work fine together under Windows 98.
> 
> dmesg and kernel configuration follow:
> 
> Copyright (c) 1992-2000 The FreeBSD Project.
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>         The Regents of the University of California. All rights reserved.
> FreeBSD 4.0-RELEASE #8: Fri Jul 28 18:01:43 EDT 2000
>     root@escaflowne.el.hazard:/usr/src/sys/compile/ESCAFLOWNE
> Timecounter "i8254"  frequency 1193182 Hz
> Timecounter "TSC"  frequency 400910378 Hz
> CPU: Pentium II/Pentium II Xeon/Celeron (400.91-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x652  Stepping = 2
> 
> Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
> real memory  = 67108864 (65536K bytes)
> config> di pcic0
> No such device: pcic0
> Invalid command or syntax.  Type `?' for help.
> config> di sn0
> No such device: sn0
> Invalid command or syntax.  Type `?' for help.
> config> di lnc0
> No such device: lnc0
> Invalid command or syntax.  Type `?' for help.
> config> di le0
> No such device: le0
> Invalid command or syntax.  Type `?' for help.
> config> di ie0
> No such device: ie0
> Invalid command or syntax.  Type `?' for help.
> config> di fe0
> No such device: fe0
> Invalid command or syntax.  Type `?' for help.
> config> di cs0
> No such device: cs0
> Invalid command or syntax.  Type `?' for help.
> config> di bt0
> No such device: bt0
> Invalid command or syntax.  Type `?' for help.
> config> di aic0
> No such device: aic0
> Invalid command or syntax.  Type `?' for help.
> config> di adv0
> No such device: adv0
> Invalid command or syntax.  Type `?' for help.
> config> q
> avail memory = 61669376 (60224K bytes)
> Preloaded elf kernel "kernel" at 0xc0344000.
> Preloaded userconfig_script "/boot/kernel.conf" at 0xc034409c.
> VESA: v2.0, 8192k memory, flags:0x1, mode table:0xc00c6ba7 (c0006ba7)
> VESA: Matrox Graphics Inc.
> Pentium Pro MTRR support enabled
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
> pci0: <PCI bus> on pcib0
> pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on
> pci0
> pci1: <PCI bus> on pcib1
> pci1: <Matrox MGA G200 AGP graphics accelerator> at 0.0 irq 11
> isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1
> on pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata1: at 0x170 irq 15 on atapci0
> pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 irq 9
> intpm0: <Intel 82371AB Power management controller> port 0x5000-0x500f
> irq 9 at device 7.3 on pci0
> intpm0: I/O mapped 5000
> intpm0: intr IRQ 9 enabled revision 0
> smbus0: <System Management Bus> on intsmb0
> smb0: <SMBus general purpose I/O> on smbus0
> intpm0: PM I/O mapped 4000
> ahc0: <Adaptec 2940 SCSI adapter> port 0xe400-0xe4ff mem
> 0xe6800000-0xe6800fff irq 9 at device 11.0 on pci0
> ahc0: aic7870 Single Channel A, SCSI Id=7, 16/255 SCBs
> rl0: <RealTek 8139 10/100BaseTX> port 0xe800-0xe8ff mem
> 0xe6801000-0xe68010ff irq 11 at device 15.0 on pci0
> rl0: Ethernet address: 00:48:54:85:63:3a
> miibus0: <MII bus> on rl0
> rlphy0: <RealTek internal media interface> on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> 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-0x6f on isa0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: model Generic PS/2 mouse, device ID 0
> sc0: <System console> on isa0
> sc0: VGA <16 virtual consoles, flags=0x200>
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> sio1 at port 0x2f8-0x2ff irq 3 flags 0x10 on isa0
> sio1: type 16550A
> ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
> ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
> ppi0: <Parallel I/O> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
> isa0
> sbc0: <Soundblaster 16> at port 0x220-0x22f irq 5 drq 1 flags 0x15 on
> isa0
> sbc0: setting card to irq 5, drq 1, 5
> pcm0: <SB DSP 4.13> on sbc0
> joy0 at port 0x201 on isa0
> ata1-slave: ata_command: timeout waiting for intr
> ata1-slave: identify failed
> ad0: 814MB <WDC AC2850F> [1654/16/63] at ata0-master using PIO3
> ad1: 2441MB <WDC AC32500H> [4960/16/63] at ata0-slave using WDMA2
> acd0: CDROM <FX400> at ata1-master using PIO3
> Waiting 15 seconds for SCSI devices to settle
> (da0:ahc0:0:4:0): Duplicate Wired Device entry!
> (da0:ahc0:0:4:0): Second device will not be wired
> Mounting root from ufs:/dev/da0s1a
> cd0 at ahc0 bus 0 target 2 lun 0
> cd0: <SONY CD-ROM CDU-8003A 1.9a> Removable CD-ROM SCSI-2 device
> cd0: 4.032MB/s transfers (4.032MHz, offset 15)
> cd0: Attempt to query device size failed: NOT READY, Medium not present
> da0 at ahc0 bus 0 target 4 lun 0
> da0: <IBM DDRS-34560W S97B> Fixed Direct Access SCSI-2 device
> da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing
> Enabled
> da0: 4357MB (8925000 512 byte sectors: 255H 63S/T 555C)
> da1 at ahc0 bus 0 target 5 lun 0
> da1: <IOMEGA ZIP 100 J.02> Removable Direct Access SCSI-2 device
> da1: 3.300MB/s transfers
> da1: Attempt to query device size failed: NOT READY, Medium not present
> da2 at ahc0 bus 0 target 6 lun 0
> da2: <TOSHIBA CD-ROM XM-3501TA 0095> Fixed Direct Access SCSI-2 device
> da2: 3.300MB/s transfers
> da2: Attempt to query device size failed: NOT READY, Medium not present
> 
> And my kernel configuration:
> #
> # ESCAFLOWNE -- An Abit BX6
> #               System Management bus
> #               Intel PII-400 (100 MHz bus)
> #               Math Co-processor
> #               64MB ECC SDRAM
> #               2 Intel EIDE Drivers
> #               2 Western Digital "Caviar" IDE HD
> #               Intel Floppy Controller
> #               Sony Floppy Drive
> #               FX-400 4X IDE CDROM
> #               Intel PCI bridge
> #               Adaptec AHA-2940 SCSI card on PCI
> #               IOMega Zip Drive
> #               IBM UltraStar SCSI-III UW HD
> #               Macintosh 2X SCSI-I (SONY CDU-300) CD-ROM Drive (CDDB)
> #               SGI 1X (Toshiba) CD-ROM Drive with (CDDA)
> #               Creative Labs SoundBlaster 16
> #               XXX EZ2000 NE2000 Compatable Ethernet Card on ISA 10
> #               1 RealTek 10/100 PCI Ethernet controller
> #               Standard PC speaker
> #               PS/2 Mouse and Keyboard
> #               2 Serial ports
> #               1 Parallel port
> #               2 USB ports
> 
> machine         "i386"
> cpu             "I686_CPU"
> ident           Escaflowne
> maxusers        32
> makeoptions     CONF_CFLAGS=-fno-builtin # Avoid non-optimal gcc builtins
> 
> options         INET                    #InterNETworking
> options         "ICMP_BANDLIM"          #Prevent DOS attacks
> options         FFS                     #Berkeley Fast Filesystem
> options         FFS_ROOT                #FFS usable as root device [keep this!]
> options         MFS                     #Memory Filesystem
> options         MFS_ROOT                #MFS usable as root device, "MFS" req'ed
> options         NFS                     #Network Filesystem
> #options        NFS_ROOT                #NFS usable as root device, "NFS" req'ed
> options         NTFS                    #NT (HPFS+) Filesystem
> options         MSDOSFS                 #MSDOS Filesystem
> options         CD9660                  #ISO 9660 Filesystem
> options         CD9660_ROOT             #CD-ROM usable as root. "CD9660" req'ed
> options         SOFTUPDATES             #FFS Softupdates (license issues!)
> options         PROCFS                  #Process filesystem
> options         "COMPAT_43"             #Compatible with BSD 4.3 [KEEP THIS!]
> options         SCSI_DELAY=15000        #Be pessimistic about Joe SCSI device
> options         UCONSOLE                #Allow users to grab the console
> options         USERCONFIG              #boot -c editor
> options         VISUAL_USERCONFIG       #visual boot -c editor
> options         SYSVSHM                 # System 5 Shared Memory
> options         SYSVSEM                 # System 5 Semaphores
> options         SYSVMSG                 # System 5 Message Queues
> options         "MD5"                   # Include MD5 routines in the library
> options         USER_LDT                # Wine needs this
> options         "NO_F00F_HACK"          # Not a buggy Pentium
> #options        "VM86"                  # Needed for doscmd and VESA stuff
> options         VESA                    # For VESA console modes
> options         PQ_LARGECACHE           # Cache Coloring for 512k/16k cache
> options         PERFMON                 # Performance Monitoring (perfmon(4))
> 
> # Enable (beta) threads support with scheduling priority extensions
> options P1003_1B
> options _KPOSIX_PRIORITY_SCHEDULING
> options _KPOSIX_VERSION=199309L
> 
> # Set up IP firewalling and diverting for natd
> #options                IPFIREWALL
> #options                IPDIVERT
> 
> #config         kernel  root on da0
> 
> # System Management bus -- Appears in FreeBSD 4.0
> device smbus
> device intpm
> device iicbus
> device iicbb
> device smb0 at smbus?
> 
> #device smb0     at smbus?
> #controller     intpm0
> #controller     iicbus0
> #controller     iicbb0
> 
> #device         ic0             at iicbus?
> #device         iic0            at iicbus?
> #device         iicsmb0         at iicbus?
> 
> # Bus controllers on PCs
> device          isa0                    # ISA bus
> device          eisa                    # With EISA extensions
> device          pci                     # PCI controller
> 
> # Floppy disk controller
> device          fdc0    at isa? port IO_FD1 irq 6 drq 2
> device          fd0     at fdc0 drive 0
> 
> # The Flags: 10101111 (0xa0ff)
> #            ^ ^ `--'
> #            | |  \--- Autodetect max transfer rate of IDE controller
> #            | \------ Use PCI IDE DMA Busmastering feature
> #            \-------- Check for and use 32bit wide access
> 
> #controller     wdc0    at isa? port "IO_WD1" bio irq 14 flags 0xa0ffa0ff
> #disk           wd0     at wdc0 drive 0
> #disk           wd1     at wdc0 drive 1
> 
> # Second IDE HD controller
> #controller     wdc1    at isa? port "IO_WD2" bio irq 15 flags 0xa0ffa0ff
> #disk           wd2     at wdc1 drive 0
> #disk           wd3     at wdc1 drive 1
> 
> # ATAPI CDROM support (IDE)
> #options                ATAPI           #Enable ATAPI support for IDE bus
> #options                ATAPI_STATIC    #Don't do it as an LKM
> #
> #options                IDE_DELAY=8000  #Be optimistic about Joe IDE drive
> #device         wcd0            #IDE CD-ROM
> #device         acd0            #CDROM with ATAPI protocol (requires wcd0)
> 
> # IDE devices are now handled by the ata(4) controller
> device          ata
> device          atadisk         # ATA disk drives
> device          atapicd         # ATAPI CDROM drives
> 
> options         ATA_STATIC_ID           # Static device numbering
> options         ATA_ENABLE_ATAPI_DMA    # Allow DMA access (may break)
> 
> device          ahc0            # My Adaptech 2940 SCSI-II SE
> 
> device          scbus0 at ahc0  # Base SCSI code
> 
> # 4GB IBM "UltraStar" SCSI-II SE Ultra Hard Drive, root device
> device          da0 at scbus0 target 4
> # 100MB Removeable IOmega "Zip" Drive, SCSI-I SE
> device          da1 at scbus0 target 5
> # Macintosh SONY CD-ROM CDU-8003A 2x
> device          cd0 at scbus0 target 2
> 
> device          pass0           # CAM passthrough device (for Tosha)
> 
> # Silicon Graphics External SCSI CDROM and DDS-1 DAT Tape drive
> device          cd1 at scbus?
> device          sa0
> 
> # 3Com Etherlink III with the 3c590 chipset
> #device         vx0
> 
> # Keyboard and PS/2 Mouse in PS/2 Bus
> device          atkbdc0 at isa? port IO_KBD
> device          atkbd0  at atkbdc? irq 1        # Keyboard
> device          psm0    at atkbdc? irq 12       # Mouse
> 
> # syscons is the default console driver, resembling an SCO console
> device          sc0     at isa?
> 
> # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
> #device         vt0     at isa? port "IO_KBD" conflicts tty irq 1
> options         XSERVER                 # support for X server
> #options                FAT_CURSOR              # start with block cursor
> 
> # Numeric Processing eXtension driver
> device          npx0    at nexus? port IO_NPX flags 0x0 irq 13
> 
> # Read sio(4)
> device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
> device          sio1    at isa? port IO_COM2 flags 0x10 irq 3
> 
> # Printer (parallel) port
> # device                lpt0    at isa? port? tty irq 7
> 
> device          ppc0    at isa? irq 7
> device          ppbus0
> device          lpt0    at ppbus?       # Standard parallel port based printer
> device          ppi0    at ppbus?       # "Geek Port" general I/O access
> 
> # VGA Console
> device          vga0    at isa? port ?
> 
> # Splash Screen on startup, screensavers need this too
> pseudo-device   splash
> 
> # EZ2000 NE2000 compatable card
> device          miibus
> #device ed0 at isa? port 0x300 irq 10 iomem 0xd8000
> device          rl
> 
> # Luigi's new sound code, same SoundBlaster
> device  pcm
> device  sbc0 at isa? port 0x220 irq 5 drq 1 flags 0x15
> 
> # Joystick port on the soundcard
> device  joy0    at isa? port IO_GAME
> 
> # Compile in support for USB devices
> device          usb             # USB support
> device          uhid            # Human interface device (buttons and dials)
> device          ukbd            # USB keyboard
> device          ums             # USB mouse
> 
> pseudo-device   loop            # Loopback network interface
> pseudo-device   ether           # Ethernet network interface
> pseudo-device   sl      1       # Serial Line
> #pseudo-device  ppp     1       #
> pseudo-device   vn              # Turn file into devices
> pseudo-device   tun     1       # "Tunnel" device for ijgppp
> pseudo-device   pty     16      # This many pseudo ttys
> pseudo-device   snp     3       # "Snoop" device
> pseudo-device   gzip            # Exec gzipped a.out's
> pseudo-device   speaker         # Godawful speaker
> 
> # KTRACE enables the system-call tracing facility ktrace(2).
> # This adds 4 KB bloat to your kernel, and slightly increases
> # the costs of each syscall.
> #options                KTRACE          #kernel tracing
> 
> #  The `bpfilter' pseudo-device enables the Berkeley Packet Filter.  Be
> #  aware of the legal and administrative consequences of enabling this
> #  option.  The number of devices determines the maximum number of
> #  simultaneous BPF clients programs runnable.
> #pseudo-device  bpfilter        4       #Berkeley packet filter
> 
> --
>    _  _    _  ___  ____  ___   ______________________________________
>   / \/ \  | ||_ _||  _ \|___| | Jason Andresen -- jandrese@mitre.org
>  / /\/\ \ | | | | | |/ /|_|_  | Views expressed may not reflect those
> /_/    \_\|_| |_| |_|\_\|___| | of the Mitre Corporation.
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
Kent Stewart
Richland, WA

mailto:kbstew99@hotmail.com
http://kstewart.urx.com/kstewart/index.html
FreeBSD News http://daily.daemonnews.org/


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39A42A04.84D91736>