NetBSD-Bugs archive

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

PR/50357 CVS commit: [netbsd-7] src/sys/kern

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

From: "Martin Husemann" <>
Subject: PR/50357 CVS commit: [netbsd-7] src/sys/kern
Date: Sun, 10 Jul 2016 09:38:38 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Sun Jul 10 09:38:38 UTC 2016
 Modified Files:
 	src/sys/kern [netbsd-7]: kern_module.c
 Log Message:
 Pull up following revision(s) (requested by pgoyette in ticket #1183):
 	sys/kern/kern_module.c: revision 1.111
 Check for duplicate module names before loading modules that were
 "pushed" by the boot loader.  The boot loader pushes the module
 name for the root file system (unless the root file system is ffs)
 even if the file system module is built into the kernel.  When
 this happens, we get a lot of "redefined symbol" error messages.
 This fix does not alter the behavior of pushing the file system
 name.  It simply avoids the redefined symbol errors by detecting
 that the module is already built-in to the kernel and not trying
 to load another copy.
 While here, differentiate the error message text between "failed
 to load" and "failed to fetch_info" conditions.
 Addresses PR kern/50357
 To generate a diff of this commit:
 cvs rdiff -u -r1.97.2.2 -r1.97.2.3 src/sys/kern/kern_module.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index