Re: [bug] WARNING: at drivers/char/tty_io.c:1266tty_open+0x1ea/0x388()
From: Alan Cox
Date: Tue Jun 16 2009 - 05:00:33 EST
> I'm wondering, how long have these patches been in linux-next? Has
> no-one reported an easy (or easier) reproducer than a plain bootup
> (which really doesnt hit the tty code intentionally hard)?
Quite a while - and the open side stuff hasn't changed in the post 2.6.30
patches at all. Your box seems to show stuff up that most users just
> You should probably also write testcases and stress-tests if you
> modify code in this area.
I did - they hang the tty layers in 2.6.30 and earlier in about 60
seconds, it then corrupts the module counts and dies shortly after. I've
not published them because they can obviously be seriously misused.
I don't have the luxury of building on solid foundations trying to sort
the tty layer out - its been broken since 2.1.x when the lock_kernel
logic stopped applying to IRQ handlers.
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/