Skip to contentSkip to conversation

Unresolved symbol do_softirq in 2.4.6-pre3

DISCUSSION Anuradha Ratnaweera 4 participants 4 messages Jun 18, 2001 – Jun 19, 2001

lore
Share & tools
lore
#0 lore raw

Hi all,

I started running 2.4.6-pre3 using the same configuration file as 2.4.5. Diff shows no effective differences between two config files.

depmod complains unresolved symbols (do_softirq) in ppp_generic, ppp_async and sunrpc.

do_softirq is listed in System.map-2.4.6-pre3.

I started with a new source tree and built the kernel with Debian kernel package.

Any comment? Thanks in advance.

Regards,

Anuradha

#1 lore raw
Quoted 6 lines · Anuradha Ratnaweera

I started running 2.4.6-pre3 using the same configuration file as 2.4.5. Diff shows no effective differences between two config files.

depmod complains unresolved symbols (do_softirq) in ppp_generic, ppp_async and sunrpc.

Please check the list archives. A possible solution was posted by Keith owens
<http://marc.theaimsgroup.com/?l=linux-kernel&m=99245070328459&w=2>.

Signature · 8 lines
=====================================================================
Mohammad A. Haque                              http://www.haque.net/
                                               [email protected]

  "Alcohol and calculus don't mix.             Project Lead
   Don't drink and derive." --Unknown          http://wm.themes.org/
                                               [email protected]
=====================================================================
#2 lore raw
Quoted 5 lines · Mohammad A. Haque
Quoted 3 lines · Anuradha Ratnaweera

I started running 2.4.6-pre3 using the same configuration file as 2.4.5. Diff shows no effective differences between two config files.

Quoted 7 lines
Quoted 3 lines

depmod complains unresolved symbols (do_softirq) in ppp_generic, ppp_async and sunrpc.

Please check the list archives. A possible solution was posted by Keith owens
<http://marc.theaimsgroup.com/?l=linux-kernel&m=99245070328459&w=2>.

Try this ...

Jeff.

asm-i386/softirq.h.new renamed from asm-i386/softirq.h +2 -2
@@ -36,13 +36,13 @@
 									\
 			".section .text.lock,\"ax\";"			\
 			"2: pushl %%eax; pushl %%ecx; pushl %%edx;"	\
-			"call do_softirq;"				\
+			"call %c1;"					\
 			"popl %%edx; popl %%ecx; popl %%eax;"		\
 			"jmp 1b;"					\
 			".previous;"					\
 									\
 		: /* no output */					\
-		: "r" (ptr)						\
+		: "r" (ptr), "i" (do_softirq)				\
 		/* no registers clobbered */ );				\
 } while (0)
 
#3 lore raw
In reply to Mohammad A. Haque
Quoted 3 lines · Jeff Chua

Try this ...

It works. Thanks.

I wonder how I missed the previous post of this patch.

Anuradha

------------------------------------------------------------------------
Penguin : Linux 2.4.6-pre3 on an i586 (Compaq Presario 1615)

God grant me the senility to accept the things I cannot change, The frustration to try to change things I cannot affect, and the wisdom to tell the difference.