From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199802120926.LAA10948@alpha.cc.tut.fi> Date: Thu, 12 Feb 1998 11:26:56 +0200 (EET) From: Hirsim{ki Mika Subject: ISDN/Kernel 2.1.85 I recently got a 2.1.85 kernel compiled and running in a 164LX box and my most serious problem so far has been (and still is) with the ISDN-support. I have a Teles 16.3 (ISA) ISDN-card and it worked fine in an intel-based linux box, so this really shouldn't be a hardware problem. If I compile 2.1.85 from unmodified sources, "make modules" will fail because of an internal compiler error number 6. Reducing optimization level from -O2 to -O1 seems to fix this problem, and the make finishes OK. A number of "pointer to int" warnings are given, though. Then, when I'm trying to "modprobe hisax", with isdn and all other related modules loaded and with proper io, irq and type set, I get a oops -1, and a message saying that kernel pager is somehow confused. I've traced the problem to a part of code found in fsm.c, hisax.h and isdnl2.c. There is a pointer: int *jumpmatrix; which, as far as I can understand, is used to store pointers to functions. These pointers are later recovered and called. Calling them (in FsmEvent(), in file fsm.c) is what trips the kernel pager and, frustratingly, leaves the hisax-module partially loaded ("uninitialized") so that it can't be removed with rmmod. Apparently storing functions' pointers into an int- sized array and calling them later is not very healthy. ;) So, how can I fix this? Changing the jumpmatrix into "long int *" didn't help. Loading this kind of module only froze the system. -- Mika Hirsimaki -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com