From: Svetoslav S. <ga...@st...> - 2003-09-09 02:34:43
|
Quoting Aivils Stoss <Aiv...@un...>: > > >> I was just wondering... When I set dumbcon to a number higher than 6, > >> the kernel goes crazy and panics... Are you aware of this problem? Is > >> there a fix? > > Current 8 consoles allowed, because has fixed /dev/tty range. Seems > You have VGA+MDA+6dumb = 8 . > > This is a bug. > I need rewrite console driver initialization to fix it. vt_map_display() > should return NULL and superuser may set up dumbcon=87, if do not known > how many. > > Not fixed yet. I plan _variable_ VC count per VT. After this any > dummy console may have single /dev/ttyXX ,because do not needs for more > and future fb_con 32 /dev/tty's. So we use same MAX_NR_CONSOLES 63 for > all desktop stations. > > > >can you also fix "the bug" > > In the near future 2.6.XX. Right now i don't know any which will > use 8 keyboards together. does the attached patch look relatively OK ? ( adds config options for MAX_DUMB_CONSOLES & NR_USER_CONSOLES prints a messg in case user try to set dumb_num > MAX_DUMB_CONSOLES & sets dumb_num to MAX_DUMB_CONSOLES -1 ) best, svetljo |