Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Feb 2002 12:50:54 -0800
From:      "Remington" <madriax@garlic.com>
To:        "'John Nielsen'" <oniblerz@attbi.com>, <freebsd-questions@FreeBSD.ORG>, <freebsd-stable@FreeBSD.ORG>
Subject:   RE: SB Live and 4.5-STABLE + UATA/100 HDD?
Message-ID:  <000001c1ac2b$55fe1290$91038bd8@blah>
In-Reply-To: <014e01c1abc9$02856f80$0900a8c0@max>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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: <Creative EMU10K1> 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" <madriax@garlic.com>
To: "'John Utz'" <john@utzweb.net>; <freebsd-questions@FreeBSD.ORG>;
<freebsd-stable@FreeBSD.ORG>
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,
> > MCA,CMOV,PAT,PSE36,MMX,FXSR>
> >   AMD Features=0xc0440000<<b18>,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: <math processor> on motherboard
> > npx0: INT 16 interface
> > pcib0: <AMD-761 host to PCI bridge> on motherboard
> > pci0: <PCI bus> on pcib0
> > pcib1: <AMD-761 PCI-PCI (4x AGP) bridge> at device 1.0 on pci0
> > pci1: <PCI bus> on pcib1
> > pci1: <NVidia GeForce2 GTS graphics accelerator> at 5.0 irq 11
> > isab0: <VIA 82C686 PCI-ISA bridge> at device 4.0 on pci0
> > isa0: <ISA bus> on isab0
> > atapci0: <VIA 82C686 ATA100 controller> port 0xd800-0xd80f at device
> 4.1
> > on pci0
> > ata0: at 0x1f0 irq 14 on atapci0
> > uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 5 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
> > ugen0: WINBOND W9967CF, rev 1.10/1.10, addr 2
> > uhci1: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 5 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
> > chip1: <VIA 82C686 ACPI interface> at device 4.4 on pci0
> > pcm0: <CMedia CMI8738> port 0xa400-0xa4ff irq 10 at device 5.0 on
pci0
> > pcm1: <Creative EMU10K1> port 0xa000-0xa01f irq 7 at device 10.0 on
> pci0
> > atapci1: <Promise TX2 ATA100 controller> 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: <Option ROMs> at iomem 0xc0000-0xcb7ff,0xcc000-0xcdfff on isa0
> > fdc0: direction bit not set
> > fdc0: cmd 3 failed at out byte 1 of 3
> > 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 Generic PS/2 mouse, 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
> > sio1 at port 0x2f8-0x2ff irq 3 on isa0
> > sio1: type 16550A
> > ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
> > ad0: 58644MB <Maxtor 5T060H6> [119150/16/63] at ata0-master UDMA33
> > ad1: 6149MB <QUANTUM FIREBALL SE6.4A> [13328/15/63] at ata0-slave
> UDMA33
> > ad4: 12416MB <QUANTUM FIREBALL CR13.0A> [25228/16/63] at ata2-master
> > UDMA66
> > Mounting root from ufs:/dev/ad1s1a
> >
> >
> > And one more thing my Maxtor 5T060H6 is a UATA/100 drive, and it is
on
> a
> > UATA/100 cable and windows XP sees it properly, why doesn't FreeBSD?
> >
> > Windows, not worth the CD its burned on.
> > -Remington
> >
> >
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-stable" in the body of the message
> >
>
> --
>
> John L. Utz III
> john@utzweb.net
>
> Idiocy is the Impulse Function in the Convolution of Life
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message


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




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




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?000001c1ac2b$55fe1290$91038bd8>