You are not logged in.
Pages: 1
Hi,
I'm trying use a module that serializes wishbone protocol over usb... The point is that I have added this module in Ubuntu distros without problems, but my Arch box is complaining:
[16028.668549] usb 4-3: new high-speed USB device number 10 using ehci-pci
[16028.795091] cdc_acm 4-3:1.0: This device cannot do calls on its own. It is not a modem.
[16028.795135] cdc_acm 4-3:1.0: ttyACM0: USB ACM device
[16069.350014] wishbone_serial: Unknown symbol usb_serial_generic_open (err 0)
[16069.350026] wishbone_serial: Unknown symbol usb_serial_generic_close (err 0)
[16069.350046] wishbone_serial: Unknown symbol usb_serial_deregister_drivers (err 0)
[16069.350055] wishbone_serial: Unknown symbol usb_serial_register_drivers (err 0)
well, all this calls are indeed in the kernel src linux/drivers/usb, but I don't see that the archlinux this usb-serial driver has...
Could you tell me if I'm right?
and current installation:
Linux MrWork 3.9.8-1-ARCH #1 SMP PREEMPT Thu Jun 27 21:37:31 CEST 2013 x86_64 GNU/Linux
Last edited by bradomyn (2013-07-08 09:04:37)
Offline
What module do you use, the Ubuntu model or a native Arch Linux kernel model?
Because modules reference kernel functions that might exist on one OS but not the other, i.e. modules from Ubuntu and Arch are not compatible.
Offline
Hi,
I think I didn't explain properly the issue, my bad.
I have this module for serializing a protocol over USB, I compile the module in
a Ubuntu box (kernel 3.8.0-25-generic) and load and I don't any problem. When I
compile and load the module in my Arch box, it fails and dmesg tells me that
these symbols are unknown...
Offline
The
depmod -a
did the trick.
Depmod creates a "Makefile"-like dependency file, based on the symbols it finds in the set of modules mentioned on the command line or from the directories specified in the configuration file. This dependency file is later used by modprobe to automatically load the correct module or stack of modules.
.../sbin/depmod -a
somewhere in the rc-files in /etc/rc.d, so that the correct module dependencies will be available immediately after booting the system. Note that the option -a is now optional.
Offline
The wishbone-serial module should be part of the kernel
pacman -Ql linux | grep wish
linux /usr/lib/modules/3.10.0-1-ARCH/kernel/drivers/usb/serial/wishbone-serial.ko.gz
Edit: Oh, well only in the new testing kernel.
Last edited by progandy (2013-07-08 09:13:03)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
exactly! in testing kernel...
Offline
Pages: 1