NetBSD-Bugs archive

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

Re: kern/52796: repeated modload panics netbsd-7



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

From: Paul Goyette <paul%whooppee.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: kern-bug-people%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/52796: repeated modload panics netbsd-7
Date: Sun, 10 Dec 2017 07:39:48 +0800 (+08)

 The "symbol redefined" error messages you see on NetBSD-8 are actually a 
 result of the fix for this PR!  Prior to sys/kern/subr_kobj.c rev 1.52, 
 the duplicate symbols were not detected, the module was loaded, and its 
 initialization routine was called.  All sorts of bad stuff can happen if 
 the module/driver is already initialized.  :)
 
 With rev 1.52 (the fix committed for PR kern/45125), duplicate symbols 
 are detected, and the module load fails to complete.  As a result, 
 initialization code does not get called so all the bad-stuff(tm) goes 
 away.
 
 I will request that rev 1.52 be pulled-up to netbsd-7 branch.
 
 
 +------------------+--------------------------+----------------------------+
 | Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
 | (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
 | Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
 +------------------+--------------------------+----------------------------+
 


Home | Main Index | Thread Index | Old Index