Menu

New Driver Kernel 2.6 Problems

Anonymous
2003-10-04
2003-10-13
  • Anonymous

    Anonymous - 2003-10-04

    I compiled using make new and it went through with out a hitch but when I do cxstart.sh I get :
    FATAL: Driver already loaded.

    syslog:
    Oct  2 18:18:54 dominator kernel: kobject_register failed for xdslusb (-17)
    Oct  2 18:18:54 dominator kernel: Call Trace:
    Oct  2 18:18:54 dominator kernel:  [<c02464c4>] kobject_register+0x50/0x59
    Oct  2 18:18:54 dominator kernel:  [<c02a6dc3>] bus_add_driver+0x4c/0xaf
    Oct  2 18:18:54 dominator kernel:  [<c02a7213>] driver_register+0x31/0x35
    Oct  2 18:18:54 dominator kernel:  [<c03138f8>] usb_register+0x71/0xac
    Oct  2 18:18:54 dominator kernel:  [<e1928057>] udsl_usb_init+0x57/0x59 [cxacru]
    Oct  2 18:18:54 dominator kernel:  [<c0137be0>] sys_init_module+0x14e/0x2a3
    Oct  2 18:18:54 dominator kernel:  [<c010a34b>] syscall_call+0x7/0xb

     
    • Josep Comas

      Josep Comas - 2003-10-06

      Hello,

      What you see when you type lsmod?
      Have you tried to unload xdslusb before you type cxstart.sh?

      Regards,
        Josep

       
    • Anonymous

      Anonymous - 2003-10-06

      I dont have any modules named xdslusb. The only place that I have that file is under cxacru/module2 and I have xdslusb.c and xdslusb.o. I tried loading xdslusb.o and it gave me the same error as above. Which what think its building xdslusb for another kernel I'm using instead of 2.6 and yes i do have /usr/src/linux pointing to /usr/src/linux-2.6.0test6.

       
    • Anonymous

      Anonymous - 2003-10-06

      I dont have any modules named xdslusb. The only place that I have that file is under cxacru/module2 and I have xdslusb.c and xdslusb.o. I tried loading xdslusb.o and it gave me the same error as above. Which what think its building xdslusb for another kernel I'm using instead of 2.6 and yes i do have /usr/src/linux pointing to /usr/src/linux-2.6.0test6.

      Also I'm using:
      gcc (GCC) 3.2.3
      init-mod version 2.4.25

       
    • Anonymous

      Anonymous - 2003-10-07

      Well I found an older version you guys had in contributions (the patch) and added it to the previous version of the driver and compiled with 2.6test4 with no problems. Its incredible the difference in speed of reaction of the whole system (including internet response). I dont know if this is do just because of the 2.6 kernel preamp patch or cause of the you guys made changes you the driver. Good job, just please stop using distributions that try to be different to every other and haver their "own" scripts and trash. sniss**Redhat***sniss

       
    • Josep Comas

      Josep Comas - 2003-10-07

      Hello,

      Please, you use new driver. Old patch is still available but it isn't supported. New module2 directory has new driver that it compiles for kernel 2.4 and 2.6.
      When you compile new driver you have xdslusb.o object (from xdslusb.c) and this is linked to cxacru.ko. You can't load xdslusb, maybe you have an old version already compiled in modules directory for your kernel version.
      If you have detected a bug, please, you compare patch and new xdslusb.c files and you try.

      Regards,
        Josep

       
    • Anonymous

      Anonymous - 2003-10-08

      I can assure you that I'm building of a clean kernel dir and I have tried erasing the /lib/modules/2.6x dir and redoing make modules_install with the same outcome as above. So I would say i found a bug. I was able to get a step further in test4 but it failed in creating the nas0 interface.

       
    • Josep Comas

      Josep Comas - 2003-10-08

      Hello,

      When you type lsmod with new driver you only must see cxacru (if you have xdslusb then you are using old kernel 2.6 driver).
      You look xdslusb.c file for MAC address, you must change manually.

      Regards,
        Josep

       
    • Anonymous

      Anonymous - 2003-10-09

      Josep: I'll just wait for you to come out with a new driver for 2.6 since Linus put out a "development freeze" and will  not be adding anything new only fixing bugs. This way I'll stop bugging you =). I know I'm too lazy and should at least look at the code to try to figure stuff out what might be wrong but I have lots of stuff going on... Any who I'm looking forward on a new "stable" driver for 2.6 final.

       
    • Josep Comas

      Josep Comas - 2003-10-11

      Hello,

      Sorry, I don't know about your problem. Other person and I have tested new driver for kernel 2.6 (module2 directory, when you type make new insider cxacru directory). Tested with RedHat and Mandrake.
      Maybe you need go to /usr/src/linux directory and type make mrproper then you go to /usr/cxacru directory and you type make new.

      Regards,
        Josep

       
    • Anonymous

      Anonymous - 2003-10-11

      Well like I said it seems to be broken for Slackware 9.1. I know what I'm doing and I have compiled the kernel with a clean kernel src and the driver does compile with out any problems. The problem arises when I load it. I think you should stop using RedHat as your development distribution as it installs ALOT of things you don't know about. So the driver may compile and execute in your machine cause its loading things you don't know about. Plus RedHat releases modified kernel sources. I just to use RedHat as my first dirstro but drop it because of those reasons. Plus the packages included are compiled with a lot of missing options making it run very slow.

       
    • Josep Comas

      Josep Comas - 2003-10-12

      Hello,

      I think that I am free to choose my distribution. I have tested old driver (module directory) with RedHat, Mandrake, Suse and Linex (Debian). New driver (module2 directory) I have tested with RedHat. Other person has tested new driver with Mandrake.
      I know isn't easy install the driver because this project is open you can improve it.
      I hope you can solve your problems.

      Regards,
        Josep

       
    • Anonymous

      Anonymous - 2003-10-13

      Don't take it as an offense, I did not mean it that way. I don't have anything against RH. When I get some time I will look into it but now I have a lot of school work.

       

Log in to post a comment.

MongoDB Logo MongoDB