NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: install/40245: netbsd-5 and -current fail to load miniroot.kmod on esiop scsi controller



The following reply was made to PR install/40245; it has been noted by GNATS.

From: Stephen Borrill <netbsd%precedence.co.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: install/40245: netbsd-5 and -current fail to load miniroot.kmod
 on esiop scsi controller
Date: Thu, 1 Oct 2009 09:57:57 +0100 (BST)

 A hacky workaround is to resurrect the INSTALL kernel with an embedded 
 ramdisk. Here's a patch that creates i386bigcd.iso
 
 --- /dev/null  2009-10-01 09:50:01.000000000 +0100
 +++ sys/arch/i386/conf/INSTALL 2009-10-01 09:10:07.000000000 +0100
 @@ -0,0 +1,5 @@
 +include "arch/i386/conf/GENERIC"
 +no options    MEMORY_DISK_DYNAMIC
 +options       MEMORY_DISK_IS_ROOT     # force root on memory disk
 +options       MEMORY_DISK_SERVER=0    # no userspace memory disk support
 +options       MEMORY_DISK_ROOT_SIZE=10000     # size of memory disk, in blocks
 --- /dev/null  2009-10-01 09:50:01.000000000 +0100
 +++ distrib/i386/cdroms/installbigcd/Makefile  2009-10-01 09:25:28.000000000 
+0100
 @@ -0,0 +1,20 @@
 +#     $NetBSD$
 +#
 +
 +# Install CD, to be made after 'build.sh release'
 +# Requires populated $RELEASEDIR/${MACHINE}
 +
 +.include <bsd.own.mk>
 +CDMAKEFSOPTIONS= bootimage=i386;bootxx.${MACHINE},no-emul-boot
 +CDINSTKERNEL= ../../instkernel 
 +CDKERNELS=    netbsd-INSTALL.gz       netbsd 
 +
 +CDBASE=               i386bigcd               # gives ${CDBASE}.iso
 +CDRELEASE=    true                    # include $RELEASEDIR/$MACHINE
 +CDBUILDEXTRA+=        boot.cfg                # Add boot.cfg file
 +CLEANFILES+=  boot.cfg
 +
 +prepare_md_post:
 +      ${TOOL_SED} "s/@@VERSION@@/${DISTRIBVER}/" < ${.CURDIR}/boot.cfg.in > 
boot.cfg
 +
 +.include "${.CURDIR}/../../../common/Makefile.bootcd"
 --- /dev/null  2009-10-01 09:50:01.000000000 +0100
 +++ distrib/i386/cdroms/installbigcd/boot.cfg.in       2009-10-01 
09:24:03.000000000 +0100
 @@ -0,0 +1,14 @@
 +banner=Welcome to the NetBSD @@VERSION@@ installation CD
 
+banner================================================================================
 +banner=
 +banner=ACPI should work on all modern and legacy hardware, however if you 
have 
 +banner=problems, please try disabling it.
 +banner=
 +banner=If you encounter problems on hardware manufactured after 1998 with ACPI
 +banner=enabled, please file a problem report including output from the 'dmesg'
 +banner=command.
 +menu=Install NetBSD:boot netbsd
 +menu=Install NetBSD (no ACPI):boot netbsd -2
 +menu=Install NetBSD (no ACPI, no SMP):boot netbsd -12
 +menu=Drop to boot prompt:prompt
 +timeout=30
 Index: distrib/i386/cdroms/Makefile
 ===================================================================
 RCS file: /cvsroot/src/distrib/i386/cdroms/Makefile,v
 retrieving revision 1.4
 diff -u -r1.4 Makefile
 --- distrib/i386/cdroms/Makefile       6 Mar 2007 21:52:45 -0000       1.4
 +++ distrib/i386/cdroms/Makefile       1 Oct 2009 08:54:11 -0000
 @@ -4,6 +4,7 @@
   SUBDIR+=     bootcd
   SUBDIR+=     bootcd-com
   SUBDIR+=     installcd
 +SUBDIR+=      installbigcd
 
   TARGETS+=       release iso_image
 
 Index: distrib/i386/instkernel/Makefile
 ===================================================================
 RCS file: /cvsroot/src/distrib/i386/instkernel/Makefile,v
 retrieving revision 1.11
 diff -u -r1.11 Makefile
 --- distrib/i386/instkernel/Makefile   2 May 2008 23:13:06 -0000       1.11
 +++ distrib/i386/instkernel/Makefile   1 Oct 2009 08:54:11 -0000
 @@ -18,6 +18,7 @@
   # If you change the list of distributed install kernels, don't forget
   # to update the release documentation in distrib/notes/common/contents
   MDSETTARGETS+=       GENERIC                 ${RAMDISK_B}    -
 +MDSETTARGETS+=        INSTALL                 ${RAMDISK_B}    -
   MDSETTARGETS+=       INSTALL_FLOPPY          ${RAMDISK_B}    -
   MDSETTARGETS+=       INSTALL_XEN2_DOMU       ${RAMDISK_B}    -
   MDSETTARGETS+=       INSTALL_XEN3_DOMU       ${RAMDISK_B}    -
 


Home | Main Index | Thread Index | Old Index