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 "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