2019-10-07 06:09:28

by Chris Clayton

[permalink] [raw]
Subject: depmod warning on 5.4-rc2

Just built and installed -rc2 and get the following when depmod is run.

depmod: WARNING: /lib/modules/5.4.0-rc2/kernel/drivers/usb/storage/uas.ko needs unknown symbol usb_stor_sense_invalidCDB
depmod: WARNING: /lib/modules/5.4.0-rc2/kernel/drivers/usb/storage/uas.ko needs unknown symbol usb_stor_adjust_quirks

.config is attached.

Please cc me on any reply, I'm not subscribed to any of the lists

Chris


Attachments:
config-5.4-rc2 (111.97 kB)

2019-10-07 07:05:52

by Christoph Hellwig

[permalink] [raw]
Subject: Re: depmod warning on 5.4-rc2

On Mon, Oct 07, 2019 at 07:07:38AM +0100, Chris Clayton wrote:
> Just built and installed -rc2 and get the following when depmod is run.
>
> depmod: WARNING: /lib/modules/5.4.0-rc2/kernel/drivers/usb/storage/uas.ko needs unknown symbol usb_stor_sense_invalidCDB
> depmod: WARNING: /lib/modules/5.4.0-rc2/kernel/drivers/usb/storage/uas.ko needs unknown symbol usb_stor_adjust_quirks
>
> .config is attached.
>
> Please cc me on any reply, I'm not subscribed to any of the lists

Sounds like the new symbol namespacing stuff. That being said I think
we should just duplicate those two symbols (one trivial and one rather
simple) in uas so that we don't have to drag all the usb storage history
in for people just using uas.

2019-10-07 15:39:02

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: depmod warning on 5.4-rc2

On Mon, Oct 07, 2019 at 07:07:38AM +0100, Chris Clayton wrote:
> Just built and installed -rc2 and get the following when depmod is run.
>
> depmod: WARNING: /lib/modules/5.4.0-rc2/kernel/drivers/usb/storage/uas.ko needs unknown symbol usb_stor_sense_invalidCDB
> depmod: WARNING: /lib/modules/5.4.0-rc2/kernel/drivers/usb/storage/uas.ko needs unknown symbol usb_stor_adjust_quirks
>
> .config is attached.
>
> Please cc me on any reply, I'm not subscribed to any of the lists

This is a known issue in depmod right now, people are working on it if
you look at the kbuild mailing list...

thanks,

greg k-h