Re: 2.6.0-test11 -- Failed to open /dev/ttyS0: No such device
From: Jacek Kawa
Date: Mon Dec 01 2003 - 02:32:50 EST
Steve Youngs wrote:
> >>I _think_ this patch will bring back auto-loading of the serial module
> >>for you. Please let me know how it goes.
> JK> Well: patched, installed new serial_core.ko, then depmod -a, and
> JK> try to access ttySwhatever.
> As Russell said, the patch was wrong, revert it. Sorry about that, my
Nothing bad happened :)
> I'm pretty sure that the problem has its roots in...
> --- a/fs/char_dev.c Sun Nov 23 17:33:38 2003
> +++ b/fs/char_dev.c Sun Nov 23 17:33:38 2003
> @@ -434,7 +434,7 @@
> static struct kobject *base_probe(dev_t dev, int *part, void *data)
> - request_module("char-major-%d", MAJOR(dev));
> + request_module("char-major-%d-%d", MAJOR(dev), MINOR(dev));
> return NULL;
> ...from Rusty, which went into 2.6.0-test10.
> Does this work any better?
> --- linux-2.6.0-test11/drivers/serial/8250.c 2003-11-27 11:03:42.000000000 +1000
> +++ linux-2.6.0-test11-sy/drivers/serial/8250.c 2003-12-01 11:40:44.000000000 +1000
> @@ -2195,3 +2196,4 @@
> MODULE_PARM(force_rsa, "1-" __MODULE_STRING(PORT_RSA_MAX) "i");
> MODULE_PARM_DESC(force_rsa, "Force I/O ports for RSA");
1. Yup, with first patch revertet everything works as before
2. With both patch applied I don't have to manually load
any module (8250 and serial_core are autoloaded), but
my pseudomodule serial isn't loaded anymore.
Jacek Kawa **SPAM - Stowarzyszenie Polskich Artystów Muzyków**
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/