Hi Benny,
thanks for the tip.
Benny Siegert wrote:
sorry for confusing you, the hint about pcibios applies to OpenBSD,
not NetBSD. The pcibios is an option, not a driver in NetBSD. AFAICS,
the GENERIC kernel does not even have PCIBIOS enabled. So if you want
to try it, I'd suggest compiling a new kernel with the following
additional options:
options PCIVERBOSE
options PCIBIOS # PCI BIOS support
options PCIBIOSVERBOSE # PCI BIOS verbose info
You can also try enabling one or more of these:
#options PCI_ADDR_FIXUP # fixup PCI I/O addresses
#options PCI_BUS_FIXUP # fixup PCI bus numbering
#options PCI_INTR_FIXUP # fixup PCI interrupt routing
Let me know if you need help compiling a kernel. The VERBOSE things
should make the kernel print more messages so you will have a chance
of seeing what's going on.
I enabled all the options you suggested.
As I was, I disabled a lot of drivers and options I will never use on
the laptop (hardware not present, MCA bus and all possible devices,
rarer used filesystem, etc).
The kernel is now 30% smaller! and Everything works.
Perhaps it works because of the enabled fixups or for less hardware
probing, I suppose the former.
If I post a dmesg with the verbose options can the "fixups" seen in
action and so we can finally understand the problem? Or should I just be
happy that it appears to work :)
Riccardo