> Date: Tue, 15 Jul 2014 12:38:34 +0200
> From: Christian Weisgerber <na...@mips.inka.de>
> 
> The reason the Soekris net6501 has hw.ncpufound=1 in bsd.rd is
> stupid.  The net6501 has MP BIOS, but not ACPI.  Only the GENERIC
> (thus also GENERIC.MP) and RAMDISK kernels on amd64 and i386 include
> mpbios(4), RAMDISK_CD doesn't.
> 
> Is there any reason we don't have mpbios(4) in RAMDISK_CD?  Are
> there space constraints to consider?  It looks like an accidental
> omission to me.

Must be an ommission.  And space shouldn't be an issue as (floppy)
RAMDISK kernels have it.

> make release on amd64 works with this and the resulting bsd.rd has
> hw.ncpufound=2 on the net6501.  I haven't tested i386.

Seems it is missing from i386 RAMDISK_CD as well, so you should add it
there too.

> Index: arch/amd64/conf/RAMDISK_CD
> ===================================================================
> RCS file: /cvs/src/sys/arch/amd64/conf/RAMDISK_CD,v
> retrieving revision 1.141
> diff -u -p -r1.141 RAMDISK_CD
> --- arch/amd64/conf/RAMDISK_CD        12 Jul 2014 21:56:56 -0000      1.141
> +++ arch/amd64/conf/RAMDISK_CD        14 Jul 2014 22:37:38 -0000
> @@ -48,6 +48,8 @@ acpiprt*    at acpi?
>  acpimadt0    at acpi?
>  #acpitz*     at acpi?
>  
> +mpbios0              at bios0
> +
>  cpu0 at mainbus0
>  ioapic*      at mainbus?
>  isa0 at mainbus0

Reply via email to