Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jan 2001 01:42:08 +0000
From:      Tony Finch <dot@dotat.at>
To:        Mike Smith <msmith@freebsd.org>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: ESS Sound Driver
Message-ID:  <20010103014208.A45748@hand.dotat.at>
In-Reply-To: <200012261447.eBQEl6j86193@mass.osd.bsdi.com>
References:  <20001219031420.D30096@hand.dotat.at> <200012261447.eBQEl6j86193@mass.osd.bsdi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Smith <msmith@freebsd.org> wrote:
>> 
>> And on some machines it prevents the mouse from working properly
>> because if it is listed by PNP before the keyboard controller, FreeBSD
>> marks the mouse's bus resources as in use by an unknown device so when
>> the mouse driver later tries to get IRQ 12 it fails. No one has a fix
>> for this problem.
>
>Er, this doesn't make any sense.  I can see there's a potential for a 
>conflict in this scenario because the keyboard controller driver is not 
>properly PnP-aware (it needs hints because it has to be up and running 
>early), but what you're saying doesn't seem to make sense.

My reasoning is based on the bootverbose output from dmesg (included
below from a system that doesn't exhibit the problem). On a Dell
Optiplex GX110 which does have the problem, the PNP0f13 lines come
before the PNP0303 lines (in the first section) and the keyboard probe
messages (in the second section), and in the latter case (after
"probing PnP devices") the PNP0f13 device grabs irq 12 before psm gets
a look in.

I don't have an Optiplex with FreeBSD on at the moment, sorry.

[...]
pnpbios: 13 devices, largest 118 bytes
PNP0a03: adding io range 0xcf8-0xcff, size=0x8, align=0x2
PNP0a03: end config
pnpbios: handle 0 device ID PNP0a03 (030ad041)
PNP0c01: adding fixed memory32 range 0-0x9ffff, size=0xa0000
PNP0c01: adding fixed memory32 range 0x100000-0x7ffffff, size=0x7f00000
PNP0c01: adding fixed memory32 range 0xf0000-0xfffff, size=0x10000
PNP0c01: adding fixed memory32 range 0xfffe0000-0xffffffff, size=0x20000
PNP0c01: adding fixed memory32 range 0x100a0000-0x100fffff, size=0x60000
PNP0c01: adding io range 0x800-0x83f, size=0x40, align=0x1
PNP0c01: adding io range 0x840-0x84f, size=0x10, align=0x1
PNP0c01: adding io range 0x880-0x88f, size=0x10, align=0x1
PNP0c01: adding io range 0x3f0-0x3f1, size=0x2, align=0x1
PNP0c01: adding io range 0xe0-0xe1, size=0x2, align=0x1
PNP0c01: end config
pnpbios: handle 1 device ID PNP0c01 (010cd041)
PNP0c01: adding fixed memory32 range 0xed000000-0xedffffff, size=0x1000000
PNP0c01: adding io range 0xf400-0xf4fe, size=0xff, align=0x1
PNP0c01: end config
pnpbios: handle 2 device ID PNP0c01 (010cd041)
PNP0000: adding irq mask 00x4
PNP0000: adding io range 0x20-0x3f, size=0x20, align=0x1
PNP0000: adding io range 0xa0-0xbf, size=0x20, align=0x1
PNP0000: adding io range 0x4d0-0x4d1, size=0x2, align=0x1
PNP0000: end config
pnpbios: handle 3 device ID PNP0000 (0000d041)
PNP0100: adding irq mask 00x1
PNP0100: adding io range 0x40-0x5f, size=0x20, align=0x1
PNP0100: end config
pnpbios: handle 4 device ID PNP0100 (0001d041)
PNP0200: adding io range 0x80-0x9f, size=0x20, align=0x1
PNP0200: adding io range 0-0x1f, size=0x20, align=0x1
PNP0200: adding io range 0xc0-0xdf, size=0x20, align=0x1
PNP0200: adding dma mask 0x10
PNP0200: end config
pnpbios: handle 5 device ID PNP0200 (0002d041)
PNP0303: adding irq mask 00x2
PNP0303: adding io range 0x60-0x60, size=0x1, align=0x1
PNP0303: adding io range 0x64-0x64, size=0x1, align=0x1
PNP0303: end config
pnpbios: handle 6 device ID PNP0303 (0303d041)
PNP0f13: adding irq mask 0x1000
PNP0f13: end config
pnpbios: handle 7 device ID PNP0f13 (130fd041)
PNP0800: adding io range 0x61-0x61, size=0x1, align=0x1
PNP0800: end config
pnpbios: handle 8 device ID PNP0800 (0008d041)
PNP0b00: adding irq mask 0x100
PNP0b00: adding io range 0x70-0x7f, size=0x10, align=0x1
PNP0b00: end config
pnpbios: handle 9 device ID PNP0b00 (000bd041)
PNP0c04: adding irq mask 0x2000
PNP0c04: adding io range 0xf0-0xff, size=0x10, align=0x1
PNP0c04: end config
pnpbios: handle 10 device ID PNP0c04 (040cd041)
PNP0e03: adding irq mask 0x200
PNP0e03: adding io range 0x3e0-0x3e1, size=0x2, align=0x1
PNP0e03: end config
pnpbios: handle 11 device ID PNP0e03 (030ed041)
PNP0700: adding irq mask 0x40
PNP0700: adding io range 0x3f2-0x3f5, size=0x4, align=0x2
PNP0700: adding io range 0x3f7-0x3f7, size=0x1, align=0x8
PNP0700: adding dma mask 0x4
PNP0700: end config
pnpbios: handle 15 device ID PNP0700 (0007d041)
[...]
isa_probe_children: probing PnP devices
unknown: <PNP0a03> failed to probe at port 0xcf8-0xcff on isa0
unknown: <PNP0c01> failed to probe at port 0x800-0x83f,0x840-0x84f,0x880-0x88f,0x3f0-0x3f1,0xe0-0xe1 iomem 
unknown: <PNP0c01> failed to probe at port 0xf400-0xf4fe iomem 0xed000000-0xedffffff on isa0
unknown: <PNP0000> can't assign resources
unknown: <PNP0000> at port 0x20-0x3f,0xa0-0xbf,0x4d0-0x4d1 irq 2 on isa0
unknown: <PNP0100> failed to probe at port 0x40-0x5f irq 0 on isa0
unknown: <PNP0200> failed to probe at port 0x80-0x9f,0-0x1f,0xc0-0xdf drq 4 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 irq 1 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
psm0: current command byte:0065
kbdc: TEST_AUX_PORT status:0000
kbdc: RESET_AUX return code:00fa
kbdc: RESET_AUX status:00aa
kbdc: RESET_AUX ID:0000
psm: status 00 02 64
psm: status 00 00 64
psm: status 00 03 64
psm: status 00 03 64
psm: data 08 00 00
psm: status 22 02 14
psm: data 08 00 00
psm: status 00 02 64
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0-00, 2 buttons
psm0: config:00006000, flags:00000000, packet size:3
psm0: syncmask:c0, syncbits:00
unknown: <PNP0f13> can't assign resources
unknown: <PNP0f13> at irq 12 on isa0
unknown: <PNP0800> failed to probe at port 0x61 on isa0
unknown: <PNP0b00> failed to probe at port 0x70-0x7f irq 8 on isa0
unknown: <PNP0c04> failed to probe at port 0xf0-0xff irq 13 on isa0
pcic0: <VLSI 82C146> at port 0x3e0-0x3e1 irq 9 on isa0
pcic0: management irq 9
stat is 0
stat is 0
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
unknown: <PNP0700> failed to probe at port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on isa0
BIOS Geometries:
 0:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
[...]

Tony.
-- 
f.a.n.finch    fanf@covalent.net    dot@dotat.at
"And remember my friend, future events such
as these will affect you in the future."


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: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010103014208.A45748>