[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sm 56
- To: guy keren <choo(at-nospam)actcom.co.il>
- Subject: Re: sm 56
- From: Gilad Ben-Yossef <gilad(at-nospam)benyossef.com>
- Date: Sun, 30 Sep 2001 21:34:10 +0200
- CC: Game Wizard <gwizard(at-nospam)netvision.net.il>, Linux-IL <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- References: <Pine.GSU.4.30_heb2.09.0109301122300.24018-100000@actcom.co.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.12-20 i686; en-US; m18) Gecko/20001107 Netscape6/6.0
guy keren wrote:
> On Sun, 30 Sep 2001, Gilad Ben-Yossef wrote:
>
>
>> Lack of source is a problem.
>> Try to
>
> [... large complex idea deleted]
>
> why go so far? if you insmod a module that tries using kernel functions
> whose signatures have changed, you will get an 'unresolved symbol' error
> message for each such changed/missing function.
You are right of course.
But I didn't understood from the guy that he got an insmod error of
unresolved symbols, but rather some module specific error (something
about bad characters if my memory serves).
What I meant was that although the specific function interface may not
have changed (and this is what AFAIK the signature checks, not the
implmentation), the inwards bits of the functions changed, or even other
functions they use which caused the problem.
Yes, it's far fetched, but possible. Sometime someone fixes a bug in the
kernel code that the binary only module relies on to work. In one
example I saw a code that used a fixed amount of "jiffies" to calculate
time instead of relaying on the value of HZ and the driver code relied
on the bad use. When the kernel was fixed, the driver had to be changed.
We didn't have the source, but it was easy to edit the binary to change
the multiplier used in the driver and it solved the problem, once we
figured out what going on and then a similar debug technique helped.
Gilad.
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il