From: Aivils S. <Aiv...@un...> - 2002-06-28 08:41:39
|
Hi James One weird bug pop up in my ruby mod. In file drivers/char/tty_io.c function init_dev() line 836: tp_loc = &driver->termios[idx]; Later *tp_loc used as tty->termios. In my end driver->termios[idx] return varios garbage. I couldn't understand where is initialized tty_driver member struct termios **termios; Kernel always made oops in n_tty_set_termios() if driver->termios[idx] return value different form NULL, but tty is uninicialized. Sample returned value is 0x00000001 and kernel die. This may pop up in CVS ruby to. Ruby tty_io.c very easy diff from linus tree and I do not understand why all work under linus tree. This is gcc or ANSI C or kernel freak ? Aivils Stoss |