Subject: Re: kern/36727: lkms that work with Single processor kernel do not
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Ian McIntosh <ianm@cat.co.za>
List: netbsd-bugs
Date: 08/03/2007 16:35:01
The following reply was made to PR kern/36727; it has been noted by GNATS.
From: Ian McIntosh <ianm@cat.co.za>
To: Martin Husemann <martin@duskware.de>
Cc: gnats-bugs@NetBSD.org
Subject: Re: kern/36727: lkms that work with Single processor kernel do not
work with muli-processor kernel
Date: Fri, 03 Aug 2007 18:36:07 +0200
> That is clearly wrong - we need to find out where this wrong value comes
> from. Maybe some NIOAPIC test in a header file somewhere, could you try
> defining NIOAPIC=1 when compiling your lkm?
>
>
Tried that with no change. The way I did this was to add the line
#define NIOAPIC 1 in the header file of my lkm. I assume that is correct.
Messages are:
__NetBSD_Version__ = 301000001
driver: pci
mov0 at pci3
pci_intr_map: bus 1 dev 0 func 0 pin 1; line 10
pci_intr_map: no MP mapping found
pci_intr_handle_t = 0xa
failed to allocate interrupt slot for PIC pic0 pin 10
: couldn't establish interrupt at irq 10
Ian