Kernel PPP driver broken in 2.4.10-pre14
Hi,
the linux kernel 2.4.10-pre14 ppp driver seems to be broken for me. In kernels <= 2.4.9 it used to work fine!
When i try to insmod the "ppp_async" module it complains about "unresolved symbol tty_register_ldisc" and therefore refuses to load.
After looking at the changes being introduced in 2.4.10-pre I was able to fix the problem:
The problem is caused by the fact, that in 2.4.10-pre* the line
EXPORT_SYMBOL(tty_register_ldisc);
has been _removed_ from 'net/netsyms.c'
after readding this line (i added the "EXPORT_SYMBOL(tty_register_ldisc);" right under the tty_register_ldisc declaration in "drivers/char/tty_io.c", but "net/netsyms.c" should work too) and recompiling everything now works fine for me. (ppp_async now loads correctly again)
Therefore I recommend you to readd the
EXPORT_SYMBOL(tty_register_ldisc);
line whereever you consider it the right place (e.g. drivers/char/tty_io.c etc)
cu
Martin Heiss
Hi!
Next time do not waste your time; check the mailing list beforehand...
That problem was found, fixed and now waiting on some very-very long queue to be merged.
H.
Quoted 32 lines · Martin Heiss
Hi,
the linux kernel 2.4.10-pre14 ppp driver seems to be broken for me. In kernels <= 2.4.9 it used to work fine!When i try to insmod the "
ppp_async" module it complains about "unresolved symboltty_register_ldisc" and therefore refuses to load.After looking at the changes being introduced in 2.4.10-pre I was able to fix the problem:
The problem is caused by the fact, that in 2.4.10-pre* the line
EXPORT_SYMBOL(tty_register_ldisc);has been _removed_ from '
net/netsyms.c'after readding this line (i added the "
EXPORT_SYMBOL(tty_register_ldisc);" right under thetty_register_ldiscdeclaration in "drivers/char/tty_io.c", but "net/netsyms.c" should work too) and recompiling everything now works fine for me. (ppp_asyncnow loads correctly again)Therefore I recommend you to readd the
EXPORT_SYMBOL(tty_register_ldisc);line whereever you consider it the right place (e.g.
drivers/char/tty_io.cetc)cu
Martin Heiss
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Signature · 1 line
Regards, Hristo.