Re: Timers in 2.6.x kernels

From: Ralf Baechle (mcgji@tokyo-gw2.v-t.jp)
Date: Mon Mar 15 2004 - 15:38:25 EET

  • Next message: Hal: "Re: Morse straight key practice"

    On Mon, Mar 15, 2004 at 08:06:45AM +0200, Jarmo wrote:

    (Adding mailing list back to Cc list because your mail server doesn't accept
    my mails)

    > > Let me know how well this is working. I've tested this as well as possible
    > > without having 6pack hardware myself and that's not too much ... Anyway,
    > > I need testers before I send this patch upstream with good conscious and
    > > that means it at least has to reach stability comparable to what's in stock
    > > 2.6.4.
    > >
    > > This patch is also available on ftp.linux-mips.net in /pub/ham/6pack/.
    > >
    > > 73 de DO1GRB op Ralf
    >
    > Hi Ralf
    >
    > FB that someone tries to modernize these things.

    Exactly. 6pack.c and mkiss are derived from slip.c which being an uncommon
    protocol these days is also suffering from bitrot. Many of the past
    updates for 6pack.c and mkiss were following the path set by slip.c ...

    Admitedly, there are few good examples for how to write a line discipline
    like slip. PPP is reasonably well written but a way too complex protocol
    to be a good example, n_tty.c is too simple to be useful and the Linux tty
    code is hard to read. So in short, there's a lack of good and simple
    examples, maybe one reason of several why this code was suffering from
    bitrot so badly ...

    > Now,how I patch my 6pack.c...Normally I do it by command..
    >
    > cat "file-patch.diff" | patch -p0
    >
    > With this patch that does not work.

    Well, you didn't say how it failed so I can only guess ...

    Well, the command is right asssuming your working directory was the root
    directory of the kernel source tree like in this example:

      cd /usr/src/linux-2.6.4
      patch -p0 < 2.6.3-6pack-6.diff

    Just in case if the patch file got corrupted, ftp it from ftp.linux-mips.net
    in /pub/ham/6pack/.

      Ralf

    -
    To unsubscribe from this list: send the line "unsubscribe linux-hams" in
    the body of a message to jgobtoc@mimer.no
    More majordomo info at http://vger.kernel.org/majordomo-info.html



    This archive was generated by hypermail 2b30 : Mon Mar 15 2004 - 15:39:50 EET