RE: [Fault-injection-developer] How is the patched insmod making module_list available
Status: Alpha
Brought to you by:
rustyl
From: Wang, S. <sta...@in...> - 2002-10-24 07:57:59
|
I've been totally confused. As I know, the fith_insmod depends on fith_dm, and fith_dm depends on = all interceptors (includeing fith_fakeirq). So fith_insmod will return an error unless all FITH's modules have been loaded into kernel. Can you give me more information about the error you encounted, Rusty? Thanks :) Stanley -----Original Message----- From: Lynch, Rusty [mailto:rus...@in...] Sent: 2002=E5=B9=B410=E6=9C=8824=E6=97=A5 10:52 To: 'fau...@so...' Subject: RE: [Fault-injection-developer] How is the patched insmod = making module_list available Actually, it's fakeirq.o, not fith_fakeirq. (hmm... maybe the=20 build script that I tossed out the window is moving fakeirq.o=20 to fith_fakeirq.o? It doesn't matter... I'm just getting a feel for the code.) * NOTE: Keep in mind I hacked out the need for the symbols your kernel patch was depending on. [rusty@penguin2 rusty]$ sudo /sbin/insmod fakeirq Using /lib/modules/2.5.44-ac2/kernel/drivers/faultinjection/fakeirq/fakeirq.o /lib/modules/2.5.44-ac2/kernel/drivers/faultinjection/fakeirq/fakeirq.o:= unresolved symbol module_list I can add all kinds of unresolved symbols to a module and fith_insmod=20 is happy to install the module. -rusty -----Original Message----- From: Zhuang, Louis=20 Sent: Wednesday, October 23, 2002 7:37 PM To: Lynch, Rusty Subject: RE: [Fault-injection-developer] How is the patched insmod making module_list available Rusty, Did you mean you can not insert fith_fakeirq by normal insmod? > -----Original Message----- > From: Lynch, Rusty=20 > Sent: Thursday, October 24, 2002 10:17 AM > To: Zhuang, Louis; Lynch, Rusty > Subject: RE: [Fault-injection-developer] How is the=20 > patched insmod making module_list available >=20 >=20 > What's there to log? /sbin/insmod fails because of an=20 > undefined symbol, module_list. >=20 > Although it looks like it has nothing to do with 2.5.44. =20 > I think the patched insmod=20 > just doesn't catch the fact that module_list is not=20 > defined. Kind of a side effect? >=20 > -rusty >=20 > -----Original Message----- > From: Zhuang, Louis=20 > Sent: Wednesday, October 23, 2002 7:11 PM > To: Lynch, Rusty > Subject: RE: [Fault-injection-developer] How is the patched = insmod > making module_list available >=20 >=20 > We have not a try for 2.5.44... could you give us your error log? >=20 > > -----Original Message----- > > From: Lynch, Rusty [mailto:rus...@in...] > > Sent: Thursday, October 24, 2002 10:02 AM > > To: 'fau...@so...' > > Subject: [Fault-injection-developer] How is the patched=20 > > insmod making module_list available > >=20 > >=20 > > I'm checking out the code and trying to get fakeirq.c to=20 > > compile with the > > 2.5.44 kernel, but have an unresolved symbol for=20 > > "module_list" unless I use > > the patched insmod. > >=20 > > What's up with that? It looks like all that was changed=20 > > in the insmod > > source tree was insmod.c, and I don't see anything having=20 > > to do with > > "module_list". > >=20 > > -rusty=20 > >=20 > >=20 > > ------------------------------------------------------- > > This sf.net email is sponsored by: Influence the future=20 > > of Java(TM) technology. Join the Java Community=20 > > Process(SM) (JCP(SM)) program now.=20 > > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en > >=20 > > _______________________________________________ > > Fault-injection-developer mailing list > > Fau...@li... > > https://lists.sourceforge.net/lists/listinfo/fault-injecti > on-developer >=20 ------------------------------------------------------- This sf.net email is sponsored by: Influence the future=20 of Java(TM) technology. Join the Java Community=20 Process(SM) (JCP(SM)) program now.=20 http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en _______________________________________________ Fault-injection-developer mailing list Fau...@li... https://lists.sourceforge.net/lists/listinfo/fault-injection-developer |