Date: Mon, 10 Jul 2000 14:54:20 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: new-bus@FreeBSD.org Subject: PnP weirdness and "isa0: <@@@0000> found" Message-ID: <XFMail.000710145420.jhb@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
I've recently been seeing the 'isa0: <@@@0000> found' messages in my dmesg since dfr added the isa_probe_nomatch() method to the isa bus. I was curious why I was getting those messages and what they really meant. So, I worked up a patch to sys/isa/isa_common.c that can be found at http://www.freebsd.org/~jhb/public_html/patches/isa_common.patch. The short version is that with my patches, my <@@@0000> lines became this with bootverbose: sc1: no video adapter is found. sc1: <System console> failed to probe at flags 0x100 on isa0 vga1: <Generic ISA VGA> failed to probe on isa0 This is rather bothersome as in device.hints I have the following: hint.vga.0.at="isa" hint.sc.0.at="isa" hint.sc.0.flags="0x100" And for sc0, I end up with the following: sc0: <System console> on isa0 sc0: VGA <16 virtual consoles, flags=0x200> Note that the flags in my hints have migrated from sc0 to sc1. I also have these messages from the sc and vga identify routines: sc-: sc0 exists, using next available unit number vga-: vga0 exists, using next available unit number It seems that cninit() is forcing sc0 and vga0 to probe, using the resource hints for the drivers (but ignoring flags). However, these drivers are tried a second time during the boot, giving the sc1 and vga1 probes. Finally, one side issue that has been bugging me is that when a device fails to get resources in isa_assign_resources(), it's resource list seems to only contain one item. I'm using the isa_print_child() function which prints multiple resources fine for other devices, so I don't think there is an error in the code to display the resources. Yet: PNP0303: adding irq mask 0x2 PNP0303: adding io range 0x60-0x60, size=0x1, align=0 PNP0303: adding io range 0x64-0x64, size=0x1, align=0 PNP0303: end config ... unknown: <PNP0303> can't assign resources unknown: <PNP0303> at port 0x60 on isa0 *puzzled* -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.000710145420.jhb>