Re: [PARPORT] more on the simple driver

From: Tim Waugh (
Date: Mon Apr 10 2000 - 05:12:48 EDT

  • Next message: Tim Waugh: "Re: [PARPORT] RedHat 6.1 Installation thru BackPack external CD"

    On Sat, 8 Apr 2000, Nordic Boy wrote:

    > I am having problems with attaching my driver to a major number. I
    > settled on 130, just randomly, it could be anything. However, when I
    > attempt to use a dynamic number:
    > parswitch_major = module_register_chrdev(0, mydevname, &Fops);
    > where parswitch_major is an int, I get a segfault (which of course means
    > that I have to reboot).

    Which kernel version are you using, and can you decode the oops so we can
    see where it goes wrong? See Documentation/oops-tracing.txt.

    Are you sure that it's module_register_chrdev that is failing, and not
    your own code later on?


    -- To unsubscribe, send mail to: --
    -- with the single word "unsubscribe" in the body of the message. --

    This archive was generated by hypermail 2b29 : Mon Apr 10 2000 - 05:16:42 EDT