Skip to contentSkip to conversation

Kernel PPP driver broken in 2.4.10-pre14

DISCUSSION Martin Heiss 2 participants 2 messages Sep 22, 2001

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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 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
-
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.