RE: test[9-10] USB depmod unresolved symbols

From: Dunlap, Randy (randy.dunlap@intel.com)
Date: Fri Oct 27 2000 - 14:55:57 EST


Hunt, Claude, Jean-Luc:

I'm hoping that this will help explain some of
the confusion that you have been or are seeing,
although it doesn't explain it fully for me,
but maybe it does for someone else (like Keith
Owens ?).

I was able to reproduce the problem that Hunt
described below. 'depmod -ae' gave me similar
output (but lots more of them since I compiled
everything possible as a USB module -- except
for the USB core [USB Support option]).

I'm currently using 2.4.0-test10-pre6.
My normal (?) kernel has NO USB built into it.
That is, I normally build USB all as modules.
Call this no-USB kernel 't10pre6'.

But for this test, I built usbcore into the kernel.
Call this usbcore-kernel 't10pre6-kuc'.

Now if I am running 't10pre6' (no USB in kernel)
and I do 'depmod -ae', I get lots of these
"Unresolved symbol" messages from depmod.
However, if I boot 't10pre6-kuc' (USBcore in kernel)
and i do 'depmod -ae', it works fine, no errors.

Is this like what you are seeing?
Are you seeing depmod errors before loading
the kernel that includes the USB core?

And finally (for anyone), is this the normal,
expected usage & behavior of depmod?

Thanks,
~Randy

> From: Hunt Kent [mailto:kenthunt@yahoo.com]
>
> Okay, updates:
>
> Compiled modutils 2.3.19 and the problem persists.
> Arch is i386, AMD K-6.
>
> Result for modprobe -ae (test10-pre5):
>
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.0-test10-pre5/kernel/drivers/usb/dc2xx.o
> depmod: usb_bulk_msg
> depmod: usb_deregister
> depmod: usb_free_dev
> depmod: usb_inc_dev_use
> depmod: usb_register
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.0-test10-pre5/kernel/drivers/usb/ov511.o
> depmod: usb_deregister
> depmod: usb_free_urb
> depmod: usb_alloc_urb
> depmod: usb_register
> depmod: usb_submit_urb
> depmod: usb_driver_release_interface
> depmod: usb_control_msg
> depmod: usb_set_interface
> depmod: usb_unlink_urb
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.0-test10-pre5/kernel/drivers/usb/printer.o
> depmod: usb_deregister
> depmod: usb_register
> depmod: usb_submit_urb
> depmod: usb_set_interface
> depmod: usb_unlink_urb
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.0-test10-pre5/kernel/drivers/usb/scanner.o
> depmod: usb_bulk_msg
> depmod: usb_deregister
> depmod: usb_register
> depmod: usb_submit_urb
> depmod: usb_driver_release_interface
> depmod: usb_unlink_urb
>
> Let me know if you need more info.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 31 2000 - 21:00:22 EST