NetBSD-Bugs archive

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

PR/50357 CVS commit: src/sys/kern



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

From: "Paul Goyette" <pgoyette%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/50357 CVS commit: src/sys/kern
Date: Thu, 16 Jun 2016 23:09:44 +0000

 Module Name:	src
 Committed By:	pgoyette
 Date:		Thu Jun 16 23:09:44 UTC 2016
 
 Modified Files:
 	src/sys/kern: kern_module.c
 
 Log Message:
 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.110 -r1.111 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