Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Kernel Module Development borked

  1. #1

    Angry Kernel Module Development borked

    It is bad enough that the kernel gods have basically required that the whole kernel source tree be installed and configured to compile even a simple module but they have made it so a module compiled on one kernel will not work on any other.

    To make the situation worse much of the configuration needed to successfully compile a module has been left out of open suse11.3.

    If you want to replicate the problems may I suggest you attempt to compile the usb-skeleton.c driver example code that is included with each kernel.

    If it is the intent of the linux community to limit driver development to the professionals then congratulations.... your doing a great job

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,823
    Blog Entries
    1

    Default Re: Kernel Module Development borked

    I don't know specifically about usb-skeleton.c specifically but I do know that in general custom compiling to support most USB devices is being deprecated in favor of udev.

    Besides udev (where I'd guess your real solution problem exists), I'd also recommend a quick look at LKM (Loadable Kernel Modules), those are generally pre-compiled modules which are appended to the base kernel image during bootup. Udev modules are generally accessible and can be invoked during runtime.

    This isn't just openSUSE, most Linux distros which are quickly adopting new kernel architecture to enhance device support, configuration and various options are doing this.

    HTH,
    Tony

  3. #3
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Kernel Module Development borked

    Hello BrianLarsen and sorry to hear you are so grumpy on your very first post. While I do not claim to be an expert on such things, I found an interesting article on the subject here you might read.

    Howto: Build Linux Kernel Module Against Installed Kernel w/o Full Kernel Source Tree

    As always, to make sure you have all of the required tools installed, I suggest you open up YaST / Software / Software Management and then select the View Button on the top left and pick Patterns. In the resulting Pattern tree, make sure you have Base, C++ & Kernel Development selected and if not then do so and allow these packages to install. Finally, if you decide you need the entire kernel source file installed check out my bash script file called sakc and its companion script called klist:

    S.A.K.C. - SUSE Automated Kernel Compiler - Version 2.00

    In general anything to do with how the kernel works would be decided here: The Linux Kernel Archives

    And if I have not said so before, welcome to the openSUSE forums BrianLarsen.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  4. #4
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,823
    Blog Entries
    1

    Default Re: Kernel Module Development borked

    Also forgot to mention, if you're looking for improved device support you might also consider enabling Tumbleweed.

    If you're upgrading to 11.4 (official launch in 2 weeks as of this writing) it's integrated.
    If you're running 11.3 and won't be upgrading right away, you should see it as a repository to be added in YAST.

    Tumbleweed will enable rolling upgrades which means as and when a package or component becomes "Tumbleweed enabled" you'll get the bleeding edge <stable> version... Essentially meaning best and latest without sacrificing stability and your current apps.

    As of today, if you are Tumbleweed enabled you should be getting kernel 2.6.37.1 which is far advanced than the standard kernel for 11.3 (2.6.7.xxx). Enabling and running the latest kernel ensures access and integration with the lastest and more device drivers, memory management and lots more.

    HTH,
    Tony

  5. #5
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Kernel Module Development borked


    i'd suggest you return your Linux to its maker and ask for your money
    back.

    and, go somewhere else to bellyache.

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD
    [NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.0.11, nVidia
    173.14.28 3D, Athlon 64 3000+]
    "It is far easier to read, understand and follow the instructions than
    to undo the problems caused by not." DD 23 Jan 11

  6. #6
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,490
    Blog Entries
    37

    Default Re: Kernel Module Development borked

    Just a reminder we are a support forum of enthusiasts and volunteers ... We are not a packaging nor a development forum.

    If one wishes to reach the packagers or developers of openSUSE then the place(s) to do so are clearly marked in the Communications channel wiki for openSUSE - where the places are the mailing list, and the IRC freenode chat channels such as #opensuse-factory. The openSUSE forums is not the place.

    If one wishes to recommend an improvement to openSUSE, then the place to do so is openSUSE fate . The openSUSE forums is not the place.

    For the OP, in case you did not know (and it definitely appears that way) the openSUSE forum is to provide support for problems, it is not the place for such observations if you wish to accomplish anything useful. If you wish help on a specific area, please post, and many volunteers who are NOT paid, will likely bend over to help.

    I also remind everyone of the forum rules wrt being civil.

    Thank-you to all for your understanding.

  7. #7

    Default Re: Kernel Module Development borked

    Suse 11.3 is suppose to be stable and nearly bug free. Stupid problems with the confugurations should have been weeded out a long time ago. UNACCEPTABLE in a .3 release. Big changes like this should have been push into the 12.0 version.

    Compiling the usb-skeleton should be relatively easy and straight forward in any stable kernel. Im surprised no one tried it out before the release and corrected the problems.

    I am quite aware of udev - I was planning to rewrite an unmaintained driver to move it passed all its obsolete code. At this point I suspect it will be useless to do so until some stability is restored to the kernel driver system.


    Denver, I have been around a long time - take your troll arsed bull to a different thread.

  8. #8

    Default Re: Kernel Module Development borked

    thanks cpu..... someones gonna get an earfull

  9. #9
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Kernel Module Development borked

    On 02/27/2011 10:36 PM, BrianLarsen wrote:
    > Denver, I have been around a long time - take your troll arsed bull to
    > a different thread.


    as oldcpu said, you need to talk to the devs, and they are *not*
    here...if you had been around a long time you would have known that.

    i'm not leaving and i'm not helping you--first time posting with *****
    from top to bottom...what is your claim to fame?

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD
    [NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.0.11, nVidia
    173.14.28 3D, Athlon 64 3000+]
    "It is far easier to read, understand and follow the instructions than
    to undo the problems caused by not." DD 23 Jan 11

  10. #10

    Default Re: Kernel Module Development borked

    Its a distribution problem actually.


    I make no claims. Just a minion that works quietly in the dark.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •