[opensuse] rndis and usbnet module symbol problems
Dear All, I am running OpenSuSE 11.3. Since I have an HTC legend Android phone, I want to use the usb tethering from it with my Linux box. In order to do this, I looked for an usb-rndis-lite-kmp package for 11.3. I did not find one (I only found one for 11.2 in the SynCE repository), so I just took the spec file and adapted it for 11.3. The module was built and everything works fine. I can us the tethering from the phone. Unfortunately, there are some modules from the kernel that I can't use any more. For example, once I modprobe the modules from the rpm package (usbnet, cdc_eth and rndis_host), if I modprobe sierra_net, I get: [90376.255544] sierra_net: Unknown symbol usbnet_change_mtu [90376.255847] sierra_net: Unknown symbol usbnet_open [90376.255932] sierra_net: disagrees about version of symbol usbnet_skb_return [90376.255934] sierra_net: Unknown symbol usbnet_skb_return [90376.256121] sierra_net: Unknown symbol usbnet_tx_timeout [90376.256505] sierra_net: Unknown symbol usbnet_start_xmit [90376.256664] sierra_net: disagrees about version of symbol usbnet_get_endpoints [90376.256665] sierra_net: Unknown symbol usbnet_get_endpoints [90376.256857] sierra_net: Unknown symbol usbnet_stop The problem seems to lie in the usbnet module. There are two, one from the kernel and on from my rpm pakcage. Sierra_net, which comes with the kernel, only works with the usbnet from the system. But cdc_eth only works with the one from my package. My question is: why? The "disagrees about version of symbol" error seem to point to the fact that the kernel and the new module were compiled using different compilers. But how is this possible? I always used the compiler from the 11.3 distribution. Has anyone more information on this? How can I build a module that is fully compatible with the kernel I am using (the kernel-desktop)? Valerio -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 26/08/10 15:49, Valerio Mariani wrote:
Dear All,
I am running OpenSuSE 11.3. Since I have an HTC legend Android phone, I want to use the usb tethering from it with my Linux box.
In order to do this, I looked for an usb-rndis-lite-kmp package for 11.3. I did not find one (I only found one for 11.2 in the SynCE repository), so I just took the spec file and adapted it for 11.3.
Why did you decide you needed to do this? The rndis module is already included in the shipped kernel, the one available from system:SynCE is a patched version. Availability is purposely disabled because some of the (SynCE-specific) patches are a bit hack-y and it's not advised to use it without having a good reason. (I'm the maintainer of system:SynCE btw)
The module was built and everything works fine. I can us the tethering from the phone. Unfortunately, there are some modules from the kernel that I can't use any more. For example, once I modprobe the modules from the rpm package (usbnet, cdc_eth and rndis_host), if I modprobe sierra_net, I get:
...
Has anyone more information on this? How can I build a module that is fully compatible with the kernel I am using (the kernel-desktop)?
Valerio
Does it work if you try just using the kernel built-in rndis module? Regards, Tejas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
@Mark: thanks for pointing me to the 11.3 rpm. However, if you install it and try to modprobe sierra_net, you will get exactly the same problem @Teja: Actually there seem to be no rndis in the standard module that I can modprobe. I see it in the rt (real time) kernel, but not in any other. Thanks for all your help guys! Valerio -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
@Teja:
Wait a sec. You are right. The kernel ships with a rndis_host module.
But Yast was not telling me the same thing and shows the rt kernel as
the only provider of the module. In a few ours I will be home from
work and I will try it out
Thanks
Valerio
On Thu, Aug 26, 2010 at 7:43 PM, Valerio Mariani
@Mark:
thanks for pointing me to the 11.3 rpm. However, if you install it and try to modprobe sierra_net, you will get exactly the same problem
@Teja:
Actually there seem to be no rndis in the standard module that I can modprobe. I see it in the rt (real time) kernel, but not in any other.
Thanks for all your help guys!
Valerio
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Dear All, thanks to all who helped. All the kernels come in fact with the rndis module, that works perfectly. Thanks again Valerio -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Tejas Guruswamy
-
Valerio Mariani