[lkml]   [2001]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patches in this message
    SubjectRe: Happy new year^H^H^H^Hkernel..
    On Tue, 2 Jan 2001, Gerold Jury wrote:

    > I have reversed the patches part by part, the only thing that makes a
    > difference is the diversion services.
    > The reason for this remains unknown for me.

    I think I found it. Could everybody who was getting the crash on ISDN line
    hangup try if the following patch fixes the problem?

    I think the problem was that we relied on divert_if being initialized to
    zero automatically, which didn't happen because it was not declared static
    and therefore not in .bss (*is this true?*).

    diff -ur linux-2.4.0-prerelease-diff/drivers/isdn/isdn_common.c linux-2.4.0-prerelease-diff.fix/drivers/isdn/isdn_common.c
    --- linux-2.4.0-prerelease-diff/drivers/isdn/isdn_common.c Tue Jan 2 12:26:45 2001
    +++ linux-2.4.0-prerelease-diff.fix/drivers/isdn/isdn_common.c Tue Jan 2 23:47:48 2001
    @@ -68,7 +68,7 @@
    extern char *isdn_v110_revision;

    -isdn_divert_if *divert_if; /* interface to diversion module */
    +static isdn_divert_if *divert_if; /* = NULL */

    @@ -2118,7 +2118,6 @@

    -extern isdn_divert_if *divert_if;

    static char *map_drvname(int di)

    I also attached a patch which disables diversion service being selected as
    built-in during kernel config, because this doesn't work yet.


    diff -ur linux-2.4.0-prerelease-diff/drivers/isdn/ linux-2.4.0-prerelease-diff.fix/drivers/isdn/
    --- linux-2.4.0-prerelease-diff/drivers/isdn/ Tue Jan 2 12:26:45 2001
    +++ linux-2.4.0-prerelease-diff.fix/drivers/isdn/ Tue Jan 2 23:46:00 2001
    @@ -23,7 +23,7 @@
    mainmenu_option next_comment
    comment 'ISDN feature submodules'
    dep_tristate 'isdnloop support' CONFIG_ISDN_DRV_LOOP $CONFIG_ISDN
    - dep_tristate 'Support isdn diversion services' CONFIG_ISDN_DIVERSION $CONFIG_ISDN
    + dep_tristate 'Support isdn diversion services' CONFIG_ISDN_DIVERSION $CONFIG_ISDN m

    comment 'low-level hardware drivers'

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:52    [W:0.024 / U:10.580 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site