[lkml]   [2000]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: 2.3.99pre2-3: ide_xlate_1024 not linked in
    In article <> you wrote:

    > Join the crowd........

    > The ablity to load msdos.o without ide-mod.o present of compiled
    > in.....KABOOM!!!!!!!!!

    > Fun, eeh :_((((((((((((

    This is a "not very funny" problem indeed.
    Potential solution: Have a function-pointer that is always in the kernel.
    ide-mod (or non-modular IDE) make that pointer equal to the ide_xlate_1024
    functionaddress. And, of course, make it NULL again on module removal.

    msdos.o checks this function-pointer and only performs the relevant checks
    if the function-pointer is not NULL.

    * "Only" 4 bytes (8 on 64bit platforms) overhead for the kernel

    * This is a kludge.
    * If ide_xlate_1024 is needed for non-IDE as well, this does not work.

    Arjan van de Ven

    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 13:57    [W:0.019 / U:32.388 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site