Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Apr 2001 22:44:40 +0200
From:      Wim Livens <wim@livens.net>
To:        freebsd-questions@freebsd.org
Subject:   ESS ES1868 as pcm1: can't assign resources
Message-ID:  <20010401224440.A382@krijt.livens.net>

next in thread | raw e-mail | index | archive | help
I have an on-board CS423x which suffers from the "channel dead" bug 
under FreeBSD 4.1.  

I tried to add an ESS ES1868, which does work in another pc under 4.2.

Now dmesg says: "can't assign resources", see below.

I've just got "device pcm" in the kernel config.  Do I need to do
anything special to have two soundcards (apart from MAKEDEV) ?

FYI, the box has two ethernet cards and a bktr too.  I've disabled COM2 in
the bios in an attempt to free up some "resources".

Thanks for any advice.

-- 
Wim Livens.

Copyright (c) 1992-2000 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.1-RELEASE #1: Sat Jan  6 02:05:15 GMT 2001
    wim@gateway:/usr/src/sys/compile/P133
Calibrating clock(s) ... TSC clock: 132631447 Hz, i8254 clock: 1193182 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
CPU: Pentium/P54C (132.63-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 67108864 (65536K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x0038d000 - 0x03ff7fff, 63352832 bytes (15467 pages)
avail memory = 61788160 (60340K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00fc600
bios32: Entry = 0xfc610 (c00fc610)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xc631
pnpbios: Found PnP BIOS data at 0xc00fa160
pnpbios: Entry = f0000:a254  Rev = 1.0
Other BIOS signatures found:
ACPI: 00000000
Preloaded elf kernel "kernel" at 0xc0374000.
Intel Pentium detected, installing workaround for F00F bug
md0: Malloc disk
Creating DISK md0
Math emulator present
pci_open(1):	mode 1 addr port (0x0cf8) is 0x80000058
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=122d8086)
npx0: <math processor> on motherboard
npx0: INT 16 interface
i586_bzero() bandwidth = 173731758 bytes/sec
bzero() bandwidth = 676589986 bytes/sec
pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=122d8086)
pcib0: <Host to PCI bridge> on motherboard
found->	vendor=0x8086, dev=0x122d, revid=0x02
	class=06-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
found->	vendor=0x8086, dev=0x122e, revid=0x02
	class=06-01-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
found->	vendor=0x1002, dev=0x4354, revid=0x09
	class=03-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[10]: type 1, range 32, base fb000000, size 24
	map[14]: type 1, range 32, base 0000fc00, size  8
found->	vendor=0x8086, dev=0x1229, revid=0x05
	class=02-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=10
	map[10]: type 1, range 32, base fffbc000, size 12
	map[14]: type 1, range 32, base 0000ff00, size  5
	map[18]: type 1, range 32, base ffc00000, size 20
found->	vendor=0x109e, dev=0x036e, revid=0x02
	class=04-00-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=10
	map[10]: type 1, range 32, base fffbd000, size 12
found->	vendor=0x109e, dev=0x0878, revid=0x02
	class=04-80-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=10
	map[10]: type 1, range 32, base fffbe000, size 12
found->	vendor=0x8086, dev=0x1229, revid=0x05
	class=02-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=11
	map[10]: type 1, range 32, base fffbf000, size 12
	map[14]: type 1, range 32, base 0000ff40, size  5
	map[18]: type 1, range 32, base ffe00000, size 20
pci0: <PCI bus> on pcib0
	CPU Inactivity timer: 2 clocks
	Peer Concurrency: enabled
	CPU-to-PCI Write Bursting: enabled
	PCI Streaming: enabled
	Bus Concurrency: enabled
	Cache: 256K pipelined-burst secondary; L1 enabled
	DRAM: no memory hole, 66 MHz refresh
	Read burst timing: x-2-2-2/x-3-3-3
	Write burst timing: x-3-3-3
	RAS-CAS delay: 3 clocks
isab0: <Intel 82371FB PCI to ISA bridge> at device 7.0 on pci0
	I/O Recovery Timing: 8-bit 1 clocks, 16-bit 1 clocks
	Extended BIOS: disabled
	Lower BIOS: enabled
	Coprocessor IRQ13: enabled
	Mouse IRQ12: disabled
	Interrupt Routing: A: IRQ10, B: disabled, C: IRQ10, D: IRQ11
		MB0: IRQ15, MB1: disabled
isa0: <ISA bus> on isab0
pci0: <ATI Mach64-CT graphics accelerator> (vendor=0x1002, dev=0x4354) at 8.0
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xff00-0xff1f mem 0xffc00000-0xffcfffff,0xfffbc000-0xfffbcfff irq 10 at device 13.0 on pci0
fxp0: Ethernet address 00:50:8b:6a:84:dc
bpf: fxp0 attached
bktr0: <BrookTree 878> mem 0xfffbd000-0xfffbdfff irq 10 at device 15.0 on pci0
	using shared irq10.
iicbb0: <I2C generic bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
iicbus: iic devclass not found
smbus0: <System Management Bus> on bti2c0
smbus: smb devclass not found
brooktree0: PCI bus latency is 66.
bktr0: buffer size 3555328, addr 0x5ad000
bktr: GPIO is 0x00fffffb
subsystem 0x0070 0x13eb
bktr0: Hauppauge Model 61294 D129
Hauppauge WinCast/TV, Philips PAL I tuner, remote control.
pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 15.1 irq 10
fxp1: <Intel Pro 10/100B/100+ Ethernet> port 0xff40-0xff5f mem 0xffe00000-0xffefffff,0xfffbf000-0xfffbffff irq 11 at device 16.0 on pci0
fxp1: Ethernet address 00:50:8b:6a:84:d6
bpf: fxp1 attached
Trying Read_Port at 203
CSC0000: start dependant
CSC0000: adding irq mask 0x2a0
CSC0000: adding dma mask 0xa
CSC0000: adding dma mask 0xb
CSC0000: adding io range 0x534-0x60b, size=0x4, align=0xd4
CSC0000: adding fixed io range 0x388-0x38b, size=0x4, align=0x1
CSC0000: adding io range 0x220-0x24f, size=0x10, align=0x20
CSC0000: start dependant
CSC0000: adding irq mask 0x9aa0
CSC0000: adding dma mask 0xb
CSC0000: adding io range 0x534-0x60b, size=0x4, align=0xd4
CSC0000: adding fixed io range 0x388-0x38b, size=0x4, align=0x1
CSC0000: adding io range 0x210-0x26f, size=0x10, align=0x10
CSC0000: end dependant
CSC0001: adding fixed io range 0x200-0x207, size=0x8, align=0x1
CSC0002: adding io range 0xf00-0xfef, size=0x8, align=0x8
CSC0003: start dependant
CSC0003: adding irq mask 0x200
CSC0003: adding fixed io range 0x330-0x331, size=0x2, align=0x1
CSC0003: start dependant
CSC0003: adding irq mask 0x200
CSC0003: adding fixed io range 0x300-0x301, size=0x2, align=0x1
CSC0003: end dependant
ESS001c: adding io range 0x800-0xfff, size=0x8, align=0x8
ESS1868: start dependant
ESS1868: adding dma mask 0x2
ESS1868: adding dma mask 0x9
ESS1868: adding irq mask 0x20
ESS1868: adding io range 0x220-0x22f, size=0x10, align=0
ESS1868: adding io range 0x388-0x38b, size=0x4, align=0
ESS1868: adding io range 0x330-0x331, size=0x2, align=0x7e
ESS1868: start dependant
ESS1868: adding dma mask 0x2
ESS1868: adding dma mask 0x9
ESS1868: adding irq mask 0x1ea0
ESS1868: adding io range 0x220-0x28f, size=0x10, align=0x20
ESS1868: adding io range 0x388-0x38b, size=0x4, align=0
ESS1868: adding io range 0x300-0x331, size=0x2, align=0x30
ESS1868: start dependant
ESS1868: adding dma mask 0xb
ESS1868: adding dma mask 0xb
ESS1868: adding irq mask 0x1ea0
ESS1868: adding io range 0x220-0x28f, size=0x10, align=0x20
ESS1868: adding io range 0x388-0x38b, size=0x4, align=0
ESS1868: adding io range 0x300-0x331, size=0x2, align=0x30
ESS1868: start dependant
ESS1868: adding dma mask 0xb
ESS1868: adding dma mask 0xb
ESS1868: adding irq mask 0x1ea0
ESS1868: adding io range 0x220-0x28f, size=0x10, align=0x20
ESS1868: adding io range 0x388-0x38b, size=0x4, align=0
ESS1868: start dependant
ESS1868: adding dma mask 0xb
ESS1868: adding dma mask 0xb
ESS1868: adding irq mask 0x1ea0
ESS1868: adding io range 0x220-0x28f, size=0x10, align=0x20
ESS1868: end dependant
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x0000
ata0: mask=03 status0=50 status1=00
ata0: mask=03 status0=50 status1=00
ata0: devices = 0x1
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x0000
ata1: mask=03 status0=20 status1=20
ata1: mask=03 status0=20 status1=20
ata1: devices = 0x0
ata1: probe allocation failed
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0065
atkbd: keyboard ID 0x41ab (2)
kbdc: RESET_KBD return code:00fa
kbdc: RESET_KBD status:00aa
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: current command byte:0065
kbdc: TEST_AUX_PORT status:0000
kbdc: RESET_AUX return code:00fe
kbdc: RESET_AUX return code:00fe
kbdc: RESET_AUX return code:00fe
kbdc: DIAGNOSE status:0055
kbdc: TEST_KBD_PORT status:0000
psm0: failed to reset the aux device.
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
pcic1: not probed (disabled)
sio0: irq maps: 0x21 0x31 0x21 0x21
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: irq maps: 0x21 0x21 0x21 0x21
sio1: probe failed test(s): 0 1 2 4 6 7 9
sio2: not probed (disabled)
sio3: not probed (disabled)
ppc0: parallel port not found.
isa_probe_children: probing PnP devices
pcm0: <CS423x> at port 0x534-0x537,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 on isa0
pcm: setmap 30000, ff00; 0xc5bc2000 -> 30000
pcm: setmap 40000, ff00; 0xc5bd2000 -> 40000
unknown0: <Game> at port 0x200-0x207 on isa0
unknown1: <Ctrl> at port 0xf00-0xf07 on isa0
unknown2: <MPU> at port 0x330-0x331 irq 9 on isa0
unknown3: <ESS ES1868 Plug and Play AudioDrive> at port 0x800-0x807 on isa0
unknown: <ESS ES1868 Plug and Play AudioDrive> can't assign resources
BIOS Geometries:
 0:026a7f3f 0..618=619 cylinders, 0..127=128 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
bpf: sl0 attached
bpf: ppp0 attached
new masks: bio 684040, tty 630432, net 670c32
bpf: lo0 attached
bpf: gif0 attached
bpf: gif1 attached
bpf: gif2 attached
bpf: gif3 attached
bpf: faith0 attached
IPsec: Initialized Security Association Processing.
ad0: <WDC AC32500H/24.09P07> ATA-0 disk at ata0 as master
ad0: 2441MB (4999680 sectors), 4960 cyls, 16 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 1 depth queue, BIOSPIO
ad0: piomode=4 dmamode=2 udmamode=-1 cblid=0
Creating DISK ad0
Creating DISK wd0
Mounting root from ufs:/dev/ad0s1a
ad0s1: type 0xa5, start 63, end = 4999679, size 4999617 : OK
start_init: trying /sbin/init
bpf: tun0 attached
module_register: module netgraph already exists!
linker_file_sysinit "netgraph.ko" failed to register! 17

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?20010401224440.A382>