[opensuse] rndis usbnet modules
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 Thu, Aug 26, 2010 at 3:02 PM, Valerio Mariani <valerio.mariani@gmail.com> 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.
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)?
It sounds strange. I've also applied the patch to 11.3 manually and there were no changes for usbnet.c (probably except enabling the debug, that I've just ignored), only to rndis_host.c (I have to use "Samsung patch"). All the rest of the changes are already incorporated in the kernel. Regards, -- Mark Goldstein -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Aug 26, 2010 at 7:25 PM, Mark Goldstein <goldstein.mark@gmail.com> wrote:
On Thu, Aug 26, 2010 at 3:02 PM, Valerio Mariani <valerio.mariani@gmail.com> 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.
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)?
It sounds strange. I've also applied the patch to 11.3 manually and there were no changes for usbnet.c (probably except enabling the debug, that I've just ignored), only to rndis_host.c (I have to use "Samsung patch"). All the rest of the changes are already incorporated in the kernel.
BTW, there is the package for 11.3, just for standard 2.6.34 kernel: https://build.opensuse.org/package/binaries?package=usb-rndis-lite&project=system:SynCE&repository=openSUSE_11.3 -- Mark Goldstein -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Mark Goldstein
-
Valerio Mariani