Re: Patch for kernel version 2.6.24

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Just ran tests on Mars hardware:
Serial controller: Agere Systems LT WinModem
 11c1:0445 (prog-if 00 [8250])
        Subsystem: 8086:2203
        Flags: medium devsel, IRQ 11

Ubuntu kernel 2.6.24-11-generic
Stefan's patch applied OK on martian-full-20071011

The compile and install were fine and martian_dev loads..
But:
$  sudo martian_modem --country=us
martian: error: Common area unrecognized, no terminating signature
marv@marvlap-old:/usr/src/modules$ Mar  6 23:50:01 marvlap-old kernel:
 [ 1602.678112] "martian_dev": martian_modem is detached

So there remains a function problem

MarvS






On Thu, Mar 6, 2008 at 3:51 AM, Stefan Puch
<stefan.puch@xxxxxxxxxxxxxxxx> wrote:
> Hello Marvin,
>
>  I cannot find a problem:
>  stefan@caelum:/tmp/test/martian/kmodule/> pwd
>  /tmp/test/martian/kmodule
>  stefan@caelum:/tmp/test/martian/kmodule/> patch -p0 <
>
> ../../martian-patch-kernel-2.6.24.diff
>  patching file martian.c
>  stefan@caelum:/tmp/test/martian/kmodule/>
>
>  I've attached the original martian.c file and the patch this email again as a
>  tgz archiv. Please tell me if it works.
>
>  Regards Stefan
>
>  Marvin Stodolsky schrieb:
>
>
> > Stephan
>  >
>  > Found the patch but:
>  >
>  > marv@marvlap:/usr/src/modules/martian/kmodule$ patch -p0 <
>  > ../../martian-patch-kernel-2.6.24.diff
>  > patching file martian.c
>  > Hunk #1 FAILED at 656.
>  > ---------
>  >
>  > This format without  + and -  seems strange:
>  >
>  >> *** martian.c   2008-01-25 17:58:35.245626264 +0100
>  >>  --- martian.c-work      2008-01-25 17:58:28.924387700 +0100
>  >>  ***************
>  >>  *** 656,662 ****
>  >>         ret = request_irq(
>  >>                 metrics->irq,
>  >>                 martian_isr,
>  >>  !               SA_INTERRUPT | SA_SHIRQ,
>  >>                 "164x",
>  >>                 mdev
>  >>         );
>  >>  --- 656,662 ----
>  >>         ret = request_irq(
>  >>                 metrics->irq,
>  >>                 martian_isr,
>  >>  !               IRQF_DISABLED | IRQF_SHARED,
>  >>                 "164x",
>  >>                 mdev
>  >>         );
>  >>
>  > -------
>  > Please check.
>  >
>  > Also I'm not aware of a package dated  2008-01-25.
>  > Perhaps just gzip your martian.c and send it to me
>  >
>  > MarvS
>  >
>
>
>

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux