Re: I'm lost

From: Steven Kurylo <sk_at_no.spam.please>
Date: Wed May 10 2006 - 08:35:21 CST

Are you using the same kernel source as your running kernel? Are you
using the same compiler as the running kernel?

You might as well just make a new kernel.

apt-get install linux-source-2.6.15 (or whatever your running kernel is)
opy the config from /boot/ into .config at the source tree
fakeroot make-kpkg --initrd --revision=custom-usb.1.0 kernel_image

Then install the newly created deb packages.

On 5/9/06, Brock Campbell <lists@acceltech.ca> wrote:
> OK, sorry if I'm being thick. I checked into the kernel-package tools
> that Steven suggested. but no dice. Here is the problem.
>
> I just picked up an EVDO card from Sasktel. It works by using the
> usbserial module. Unfortunately, the stock version has a limited buffer
> size so I need to recreate that module with some patches. Here are the
> steps I've followed, can anybody tell me what I'm missing?
>
> 1. patch the usb-serial.c in the kernel source tree file with the proper
> patch
> 2. copy the config from /boot/ into .config at the source tree
> 3. make modules
> 4. copy the usbserial.ko into the running kernel's module tree
> 5. modprobe usbserial vendor=0xc88 product=0x17da maxSize=2048
>
> The module fails to load with these dmesg messages:
> ---------------------------------------------------------------
> [4302737.667000] usbserial: disagrees about version of symbol
> usb_alloc_urb
> [4302737.667000] usbserial: Unknown symbol usb_alloc_urb
> [4302737.668000] usbserial: disagrees about version of symbol
> usb_free_urb
> [4302737.668000] usbserial: Unknown symbol usb_free_urb
> [4302737.668000] usbserial: disagrees about version of symbol
> device_unregister
> [4302737.668000] usbserial: Unknown symbol device_unregister
> [4302737.668000] usbserial: disagrees about version of symbol
> usb_register
> [4302737.668000] usbserial: Unknown symbol usb_register
> [4302737.668000] usbserial: disagrees about version of symbol
> wake_up_process
> [4302737.668000] usbserial: Unknown symbol wake_up_process
> [4302737.668000] usbserial: disagrees about version of symbol
> usb_put_dev
> [4302737.668000] usbserial: Unknown symbol usb_put_dev
> [4302737.668000] usbserial: disagrees about version of symbol
> usb_get_dev
> [4302737.668000] usbserial: Unknown symbol usb_get_dev
> [4302737.668000] usbserial: disagrees about version of symbol
> usb_submit_urb
> [4302737.668000] usbserial: Unknown symbol usb_submit_urb
> [4302737.668000] usbserial: disagrees about version of symbol
> tty_register_device
> [4302737.668000] usbserial: Unknown symbol tty_register_device
> [4302737.668000] usbserial: disagrees about version of symbol
> usb_match_id
> [4302737.668000] usbserial: Unknown symbol usb_match_id
> [4302737.668000] usbserial: disagrees about version of symbol
> bus_unregister
> [4302737.668000] usbserial: Unknown symbol bus_unregister
> [4302737.668000] usbserial: disagrees about version of symbol
> usb_control_msg
> [4302737.669000] usbserial: Unknown symbol usb_control_msg
> [4302737.669000] usbserial: disagrees about version of symbol
> driver_unregister
> [4302737.669000] usbserial: Unknown symbol driver_unregister
> [4302737.669000] usbserial: disagrees about version of symbol
> usb_deregister
> [4302737.669000] usbserial: Unknown symbol usb_deregister
> [4302737.669000] usbserial: disagrees about version of symbol
> device_register
> [4302737.669000] usbserial: Unknown symbol device_register
> [4302737.669000] usbserial: disagrees about version of symbol
> usb_kill_urb
> [4302737.669000] usbserial: Unknown symbol usb_kill_urb
> [4302737.669000] usbserial: disagrees about version of symbol
> driver_register
> [4302737.669000] usbserial: Unknown symbol driver_register
> [4302737.669000] usbserial: disagrees about version of symbol
> bus_register
> [4302737.669000] usbserial: Unknown symbol bus_register
> -------------------------------------------------------------------
>
> Thanks for any guidance you can offer.
>
>
> --
> "Well, there's SPAM, egg, sausage, and SPAM. That's not got MUCH SPAM in it."
>
> To unsubscribe, send a message with the word "unsubscribe" (without the
> quotes) in the body to linux-request@slg.org
> Archives are at http://list.slg.org/
>
Received on Wed May 10 08:35:25 2006

This archive was generated by hypermail 2.1.8 : Fri Sep 08 2006 - 23:26:38 CST