recalc_sigpending in usb.c

recalc_sigpending in usb.c

Post by Jacek Pliszk » Sat, 14 Sep 2002 11:30:06



Hi!

I am trying to compile  2.5.34. But during make modules_install

depmod: *** Unresolved symbols in
/lib/modules/2.5.34/kernel/drivers/usb/storage/usb-storage.o
depmod:         show_trace
depmod:         recalc_sigpending

When I comment out show_trace and add
EXPORT_SYMBOL(recalc_sigpending);

to kernel/ksyms.c

make modules_install works but then

modprobe usb-storage gives:

/lib/modules/2.5.34/kernel/drivers/usb/storage/usb-storage.o: unresolved
symbol recalc_sigpending
/lib/modules/2.5.34/kernel/drivers/usb/storage/usb-storage.o: insmod
/lib/modules/2.5.34/kernel/drivers/usb/storage/usb-storage.o failed
/lib/modules/2.5.34/kernel/drivers/usb/storage/usb-storage.o: insmod
usb-storage failed

If I comment out recalc_sigpending instead - the drive does not
work at all. Hangs during eject.

Drive worked, though slowly in 2.4.18-10 (Red Hat 7.3)

I am sorry I am not subscribed so please, CC the answer to me.

Thanks for any help you could provide,

Jacek

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. recalc_sigpending() / recalc_sigpending_tsk() ?

I'm looking at merging the changes made to JFFS2 in 2.5, with the intention
of again having a single codebase that compiles in both 2.5 and 2.4.

I'm a little confused by the changes to recalc_sigpending().

It seems that the name of the function was changed to recalc_sigpending_tsk()
and a new function called recalc_sigpending() was added.

Was there a reason for doing this, rather than just introducing the new
function with a different name, such as recalc_sigpending_cur()? It breaks
2.4 source compatibility in a way that seems entirely gratuitous.

Before I have to go and do something evil in my compatmac.h to work round
this, is there any chance of putting the original recalc_sigpending() back?

Linus, would you accept such a patch?

--
dwmw2

#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,5)
#include <linux/sched.h>
/* Grrr. Gratuitous breakage */
#define recalc_sigpending() recalc_sigpending(current)
/* Unfortunately this one can't work, because of the above
#define recalc_sigpending_tsk(t) recalc_sigpending(t)
 */
#endif

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. SVR4 internals book

3. 2.5.34: recalc_sigpending missing for modules

4. Jumpstart!!!

5. USB, T-Online, Eumex 504PC USB [Was: Re: suse6.4 - usb]

6. help with fixed-scan HP 98752a setup

7. In search of Solaris 2.5 Netscape Navigator 3.0 plug ins

8. accessing Alpha CPU registers from panic()

9. Need HELP to Log User Log-ins form the internet

10. Suse 7.0; Yast2, kinternet, rc.dialout und ich komme nicht ins Internet

11. Netscape plug-ins on AIX 4

12. what is a INS server?

13. dial ins