"Modules Oops" workaround for 2.1.26

Hugh W. Holbrook (holbrook@DSG.Stanford.EDU)
Thu, 13 Feb 1997 09:50:00 -0800


I disabled the CONFIG_MODVERSIONS ("set version information on all
modules") option in my kernel configuration and recompiled everything.
Since doing so, depmod, modprobe and insmod seem to work again without
segfaulting.

depmod -a was previously segfaulting in the same way that many other
people on this list have noted (dump attached).

I'm running 2.1.26, libc-5.4.17, binutils 2.7.0.9, ld.so-1.8.9

I hope that this will be helpful in debugging the problem.

-Hugh Holbrook

Here the type of oops that 'depmod -a' previously was causing:
----------------------------------------------------------------

Feb 13 00:37:58 Fridge kernel: Unable to handle kernel paging request at virtual address ecfcc01d
Feb 13 00:37:58 Fridge kernel: current->tss.cr3 = 02883000, |r3 = 02883000
Feb 13 00:37:58 Fridge kernel: *pde = 00000000
Feb 13 00:37:58 Fridge kernel: Oops: 0000
Feb 13 00:37:58 Fridge kernel: CPU: 0
Feb 13 00:37:58 Fridge kernel: EIP: 0010:[<c011695d>]
Feb 13 00:37:58 Fridge kernel: EFLAGS: 00010203
Feb 13 00:37:58 Fridge kernel: eax: 8fb00000 ebx: c01ddbd0 ecx: 0000003b edx: ecfcc01d
Feb 13 00:37:58 Fridge kernel: esi: ecfcc01d edi: c287ff84 ebp: c01c1422 esp: c287ff5c
Feb 13 00:37:58 Fridge kernel: ds: 0018 es: 0018 ss: 0018
Feb 13 00:37:58 Fridge kernel: Process depmod (pid: 112, process nr: 28, stackpage=c287f000)
Feb 13 00:37:58 Fridge kernel: Stack: c2990c0c bffff73c 00000002 bfffa7b8 c287ff80 c287ff84 c287ff85 00000000
Feb 13 00:37:58 Fridge kernel: 00000001 8fb00000 00000023 00000000 00000000 00000000 00000000 00000000
Feb 13 00:37:58 Fridge kernel: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 13 00:37:58 Fridge kernel: Call Trace: [<c010a436>]
Feb 13 00:37:58 Fridge kernel: Code: ac aa 84 c0 75 f7 f3 aa c6 44 24 63 00 ba 40 00 00 00 a1 5c