amd64/131314: [modules] [panic] large modules fail to load on amd64

Kenneth D. Merry ken at freebsd.org
Mon Dec 6 18:00:22 UTC 2010


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

From: "Kenneth D. Merry" <ken at freebsd.org>
To: Andriy Gapon <avg at freebsd.org>
Cc: bug-followup at freebsd.org
Subject: Re: amd64/131314: [modules] [panic] large modules fail to load on amd64
Date: Mon, 6 Dec 2010 10:52:48 -0700

 On Mon, Dec 06, 2010 at 19:11:52 +0200, Andriy Gapon wrote:
 > on 06/12/2010 18:11 Kenneth D. Merry said the following:
 > > But, you may be able to reproduce the problem by putting a very large
 > > global variable/table in the kernel and see what happens.  As I
 > > mentioned in the bug report, I made the problem go away by taking out that
 > > table.
 > 
 > I will try.
 > BTW, do you remember if it was initialized or not, and how it was used?
 > I.e., did the structure end up in .data, .rodata or .bss?
 
 Yes, it was initialized.
 
 It had text and various numeric values in it I think.
 
 e.g. something like this:
 
 struct foo {
 	int bar;
 	char *baz;
 } teststruct[] = {
 	{1, "blah"},
 	{2, "blahblah"},
 	{0, NULL}
 }
 
 Ken
 -- 
 Kenneth Merry
 ken at FreeBSD.ORG


More information about the freebsd-amd64 mailing list