From owner-freebsd-questions Sat Feb 2 12:51:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from windmill-en0.garlic.com (windmill-en0.garlic.com [208.195.160.130]) by hub.freebsd.org (Postfix) with ESMTP id 8090C37B402; Sat, 2 Feb 2002 12:51:15 -0800 (PST) Received: from blah (145.sm7.dialup.garlic.net [216.139.3.145]) by windmill-en0.garlic.com (8.11.1/8.11.1) with ESMTP id g12Kp9P08774; Sat, 2 Feb 2002 12:51:09 -0800 From: "Remington" To: "'John Nielsen'" , , Subject: RE: SB Live and 4.5-STABLE + UATA/100 HDD? Date: Sat, 2 Feb 2002 12:50:54 -0800 Message-ID: <000001c1ac2b$55fe1290$91038bd8@blah> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <014e01c1abc9$02856f80$0900a8c0@max> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ive included my custom kernel config hopeing you guys might see something ive missed. OK I disabled the onboard media but its still giving me a timeout error: #cat sndstat FreeBSD Audio Driver (newpcm) Feb 1 2002 14:03:13 Installed devices: pcm0: at io 0x8800 irq 7 (4p/1r/0v channels duplex) #cat dsp pcm0: record interrupt timeout, channel dead Heres my config file machine i386 cpu I386_CPU cpu I486_CPU cpu I586_CPU cpu I686_CPU ident GENERIC maxusers 0 #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 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=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 # Sound Card dev device pcm # 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 # 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 options ATA_STATIC_ID #Static device numbering # 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 # 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 # 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 ppi # Parallel port interface device # 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 # 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 -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of John Nielsen Sent: Saturday, February 02, 2002 1:07 AM To: Remington; 'John Utz'; freebsd-questions@FreeBSD.ORG; freebsd-stable@FreeBSD.ORG Subject: Re: SB Live and 4.5-STABLE + UATA/100 HDD? ----- Original Message ----- From: "Remington" To: "'John Utz'" ; ; Sent: Saturday, February 02, 2002 12:38 AM Subject: RE: SB Live and 4.5-STABLE + UATA/100 HDD? > I only plan on using my SB Live! Iyt is PCI, and I have tried diableing > my C-Media controller from the BIOS, couldn't find out how, I looked at > the mobo itself trying to find a jumper, couldn't find it. Tried > contacting ASUS(ppl that make my motherboard) but they failed to > respond. If anyone knows how please do tell. I am thinking it has > something to do with the multiple sound devices but months ago I had it > working fine with with 4.4-RELEASE, and I don't think any of my hardware > has changed since then so yeah, there must be conflicts with my sound > devices. ANYONE that knows how to diable the C-Media control on the ASUS > A7M266 please help me out The manual for your motherboard can be found at ftp://ftp.asus.com.tw/pub/ASUS/mb/socka/760mpx/a7m266-d/a7m266d-102.pdf (sorry if it line-wrapped). According to it (on pp 60-61), you can disable the onboard audio in the BIOS on the Advanced screen under PCI Configuration. Just out of curiousity, did you get a pcm0 and pcm1 showing up at boot? JN > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of John Utz > Sent: Friday, February 01, 2002 10:16 PM > To: Remington > Cc: freebsd-questions@FreeBSD.ORG; freebsd-stable@FreeBSD.ORG > Subject: Re: SB Live and 4.5-STABLE + UATA/100 HDD? > > On Fri, 1 Feb 2002, Remington wrote: > > > Ok I have a SoundBlaster Live 5.1 Platinum(pcm1) running FreeBSD > > 4.5-STABLE. I also have a C-Media audio controller(pcm0) built in to > my > > motherboard(A7M266). > > where you expecting to use both of them? > > I recompiled a custom kernel with the added "device > > pcm" to it. On reboot I did a "cd /dev ; sh MAKEDEV snd1: And when I > do > > a "cat /dev/dsp" it returns with "/kernel: pcm1: record interrupt > > timeout, channel dead.". Why does it do this? What exactly cuases > this? > > And how would I go about fixing it? > > umm, i cant make any assertions onew way or the other, but i would bet > that it would be theoretically possible to run 2 pcm devices. but i > havent > tried it, and it certainly tops my list of things that i would expect to > > be the problem :-) > > pick one. use it. if you dont want to use the cmedia, then disable it in > > the bios. tho, i myself would probably shitcan the SB Live....is this an > > isa one or a pci one? if it's isa, i'd certainly get rid of the sblive. > > but that's just my opinion. > > one thing that is probably irrelevant, but...can anybody tell me why the > > address space is 0xff wide in the cmedia probe and 0x1f wide in the sb > probe? > > shouldnt they be the same. > > the pcm1 is the sblive, and i think it's dead because it has been > defeated > by pcm0, the cmedia. > > another interesting question: both of these are SoundBlaster Compatible, > > so they *both* will want to hork irq5 addr0x220, correct? isnt duplex > behavior on SB cards implemented by hooking the old 8bit port as one of > the channels? > > that might explain the 'channel dead' message.... > > > Ive included my dmesg output in hopes someone can see something I cant > > that might be causeing this: > > 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.5-STABLE #0: Thu Jan 31 21:55:29 PST 2002 > > root@bathory.aria:/usr/src/sys/compile/Build2 > > Timecounter "i8254" frequency 1193182 Hz > > CPU: AMD Athlon(tm) Processor (1400.06-MHz 686-class CPU) > > Origin = "AuthenticAMD" Id = 0x644 Stepping = 4 > > > > > Features=0x183fbff > MCA,CMOV,PAT,PSE36,MMX,FXSR> > > AMD Features=0xc0440000<,AMIE,DSP,3DNow!> > > real memory = 536788992 (524208K bytes) > > config> di sn0 > > config> di lnc0 > > config> di ie0 > > config> di fe0 > > config> di ed0 > > config> di cs0 > > config> di bt0 > > config> di aic0 > > config> di aha0 > > config> di adv0 > > config> q > > avail memory = 517705728 (505572K bytes) > > Preloaded elf kernel "kernel" at 0xc047b000. > > Preloaded userconfig_script "/boot/kernel.conf" at 0xc047b09c. > > Pentium Pro MTRR support enabled > > md0: Malloc disk > > Using $PIR table, 9 entries at 0xc00f1370 > > npx0: on motherboard > > npx0: INT 16 interface > > pcib0: on motherboard > > pci0: on pcib0 > > pcib1: at device 1.0 on pci0 > > pci1: on pcib1 > > pci1: at 5.0 irq 11 > > isab0: at device 4.0 on pci0 > > isa0: on isab0 > > atapci0: port 0xd800-0xd80f at device > 4.1 > > on pci0 > > ata0: at 0x1f0 irq 14 on atapci0 > > uhci0: port 0xd400-0xd41f irq 5 at device > > 4.2 on pci0 > > usb0: 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 > > ugen0: WINBOND W9967CF, rev 1.10/1.10, addr 2 > > uhci1: port 0xd000-0xd01f irq 5 at device > > 4.3 on pci0 > > usb1: 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 > > chip1: at device 4.4 on pci0 > > pcm0: port 0xa400-0xa4ff irq 10 at device 5.0 on pci0 > > pcm1: port 0xa000-0xa01f irq 7 at device 10.0 on > pci0 > > atapci1: port > > 0x8000-0x800f,0x8400-0x8403,0x8800-0x8807,0x9000-0x9003,0x9400-0x9407 > > mem 0xe5800000-0xe5803fff irq 10 at device 11.0 on pci0 > > ata2: at 0x9400 on atapci1 > > ata3: at 0x8800 on atapci1 > > orm0: