I wanted to let everyone know that Andreas Herrmann of the Boeblingen lab
was able to help me with this problem.  He did some diagnostic work, and
then contacted Ulrich Weigand to confirm that there was a gcc compiler bug
at work.  The fix for the gcc-3.3 series is documented here:
http://gcc.gnu.org/ml/gcc-patches/2003-07/msg01153.html
for anyone that might run into the same problem.

After rebuilding gcc, I was able to get a working 2.6.5 kernel and modules.
Thanks to Andreas and Ulrich for figuring this out.


Mark Post

-----Original Message-----
From: Post, Mark K
Sent: Sunday, July 25, 2004 1:42 AM
To: 'BOEBLINGEN LINUX390'; 'Linux390'
Subject: RE: make modules build error w/ 2.6.5


After specifying for 3270 support to be built in to the kernel, I got
further, but ran into yet another error.  I did all sorts of google
searches, but didn't come up with anything that looked related.

I get through all the module compilations, and then into the "Building
modules, stage 2" phase.  At that point, I see this:
  Building modules, stage 2.
  MODPOST
make[1]: *** [__modpost] Error 139
make: *** [modules] Error 2

If I turn on verbose messages with V=1, I don't reallys see anything more
meaningful.  The command that is failing is this: make -rR -f
/mnt/hd/build-kernel-source-2.6.5-s390-1/usr/src/linux-2.6.5/scripts/Makefil
e.modpost  scripts/modpost net/8021q/8021q.o net/ipv4/netfilter/arp_tables.o
net/ipv4/netfilter/arptable_filter.o fs/autofs/autofs.o fs/autofs4/autofs4.o
fs/binfmt_misc.o drivers/net/bonding/bonding.o drivers/s390/cio/ccwgroup.o
drivers/cdrom/cdrom.o fs/cifs/cifs.o arch/s390/mm/cmm.o fs/coda/coda.o
fs/cramfs/cramfs.o drivers/s390/net/ctc.o drivers/s390/net/cu3088.o
drivers/s390/block/dasd_cmb.o drivers/s390/block/dasd_fba_mod.o ...... (many
more modules)

If I do a "dmesg" command, this shows up (worse than a kernel oops, since
the offsets are even more meaningless): User process fault: interruption
code 0x11 failing address: 40019000
CPU:    0    Not tainted
Process modpost (pid: 9184, task: 02b7e000, ksp: 02b7ff10)
User PSW : 070dc000 80401848
User GPRS: 00000000 00404312 00410910 7fffd880
           40018ff0 40018ff0 004017a0 7fffe2ad
           00402b68 7fffd880 00410990 00410990
           40018dcc 804017a8 7fffd820 7fffd7b8
User ACRS: 40010a40 00000000 00000000 00000000
           00000000 00000000 00000000 00000000
           00000000 00000000 00000000 00000000
           00000000 00000000 00000000 00000000
User Code: d5 15 50 00 10 00 a7 84 ff e1 58 10 30 04 a7 38 00 00 bf 33

So, apparently the modpost command is failing on me.  I've tried recompiling
modpost with different compilers, and get the same results.

Has anyone else seen anything like this?  The lack of hits from Google is a
little discouraging, to say the least.


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to