Re: Linux 2.4.29-rc2

From: Marcelo Tosatti
Date: Fri Jan 14 2005 - 21:14:27 EST



David, this also fix your problem.

On Fri, Jan 14, 2005 at 11:55:55PM +0100, Steffen Moser wrote:
> Hi Marcelo,
>
> * On Wed, Jan 12, 2005 at 01:13 PM (-0200), Marcelo Tosatti wrote:
>
> > Here goes the second release candidate of v2.4.29.
>
> I've just encountered a little problem with both "linux-2.4.29-rc1"
> and "linux-2.4.29-rc2" on one of two machines.
>
>
> [1.] One line summary of the problem:
>
> Kernel module "serial.o" cannot be loaded
>
>
> [2.] Full description of the problem/report:
>
> I cannot load the module "serial.o" anymore, so I won't have serial
> port support (which is needed to have the machine communicating with
> the UPS):
>
> | fsa01:~ # modprobe serial
> | /lib/modules/2.4.29-rc2/kernel/drivers/char/serial.o: unresolved symbol tty_ldisc_flush
> | /lib/modules/2.4.29-rc2/kernel/drivers/char/serial.o: unresolved symbol tty_wakeup
> | /lib/modules/2.4.29-rc2/kernel/drivers/char/serial.o: insmod /lib/modules/2.4.29-rc2/kernel/drivers/char/serial.o failed
> | /lib/modules/2.4.29-rc2/kernel/drivers/char/serial.o: insmod serial failed

Steffen,

Please try this:

--- a/drivers/char/tty_io.c.orig 2005-01-14 21:11:58.002189784 -0200
+++ b/drivers/char/tty_io.c 2005-01-14 21:12:53.743715784 -0200
@@ -718,7 +718,7 @@
wake_up_interruptible(&tty->write_wait);
}

-EXPORT_SYMBOL_GPL(tty_wakeup);
+EXPORT_SYMBOL(tty_wakeup);

void tty_ldisc_flush(struct tty_struct *tty)
{
@@ -730,7 +730,7 @@
}
}

-EXPORT_SYMBOL_GPL(tty_ldisc_flush);
+EXPORT_SYMBOL(tty_ldisc_flush);

void do_tty_hagup(void *data)
{
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/