From: Svetoslav S. <sv...@gm...> - 2003-11-30 21:08:48
|
> On Sun, Nov 30, 2003 at 04:24:04PM +0100, Svetoslav Slavtchev wrote: > > > > > > > My advice is to take a look at /etc/securetty which > > > limits where root can log in. I lost root logins upon > > > switching to and from devfs due to changing names of > > > the tty devices. Make sure the "extra" consoles > > > are listed. > > > > thanks > > > > that worked :-) > > > > > I updated from CVS 30.nov, and copied the source into 2.6.0-test11 > This compiled fine, in several configurations. > > Booting with framebuffer console compiled-in still oopses, > this time the oops was unreadable except for the last line > about killing init. > > So I tried a modular fbcon, with a kernel configured to load > modules automatically when needed. This booted in the same way, > loaded the fbcon module automatically and crashed just as the compiled-in > variant. The readable part of the crash message said something > about mdrun exiting with a wrong preempt count. > no devide errors ? Aivils said that it should be fixed in his last tarball & cvs, but i still get the devide errors and the prevoius patch fixes them /* see attachments */ > So I moved fbcon.ko where modprobe couldn't find it, and > booted again. The machine came up fine, obviously without a > console. I moved the module back to its proper place, > and loaded it. I immediately got two penguins (it's a dual processor > machine) on the screen running accelerated X. This screen > has the keyboard connected to the ordinary ps2 keyboard plug > (recognized by the bios too). i don't get much this part :( you booted with built in matroxfb, but no fbcon, and then loaded fbcon without problems ? > Ruby places this at vt17. > Pressing ctrl+alt+F1 here did nothing, no console switch. you need this Xfree hack http://sourceforge.net/mailarchive/message.php?msg_id=6629651 /* if you were running mdk9.2/ cooker i could send you my binary, * but IIRC you use debian */ > The other keyboard is connected to the ps2 mouse plug, > and seen by X on vt7. Pressing ctrl+alt+F1 switched to a > console. X blanked itself. Unfortunately the console appeared at the > other > screen - so I had matrox console and X running there simultaneously. > Psycho circus again. :-( The second screen just sat there. looks interesting have a snapshot ?-) > I believe this might work better if I ran the vt7 xfree on > the first display, but I have a good reason for not doing so: > It is sometimes necessary to access the bios setup, or boot non-ruby > versions of linux. In those cases the keyboard connected to the > ordinary keyboard plug is the only keyboard, and X happens > on the first screen. (/dev/fb0). Moving keyboards or screens around the > room isn't very interesting, so this is the layout I want. > > Life would be so much easier if ruby considered the ordinary > pc keyboard as the first one, and one connected to the "mouse" port > as the second one. Or if the vt/keyboarddevice/console connections > could be specified using kernel parameters. any hope of swapping the > keyboards so the console/screen/keyboard/vt combination that works > for plain linux simply becomes the "first" set of connected devices > using ruby? just configure hotplug, install input.agent & input.rc /* debian's hotplug pkgs probably already include the input.* scripts * so you'll probably have to merge the ruby input.agent into the debians one */ this way you can configure VT- keyboard mapping & consistent evdev[n] mouse[n] devices /* although udev is probably much better for the evdev & mice */ > Is there anything I could do to help find out why fbcon oopses > when it is available "too early"? Perhaps it uses resources > not yet initialized? Or races somehow? > It seems to work when loaded after the normal boot, except that > it don't match my screen/keyboard mapping. if it is the same issue /* and i think it is */ it was font.width == 0 + a function using xxxx / fonth.width best svetljo PS. i haven't tried yet built in matroxfb/ fbcon PS.2 i use this script to start multiple fbcon's ------------------------------------------------------ #!/bin/bash modprobe matroxfb_base modprobe matroxfb_crtc2 modprobe fbcon # split the heads , we don't want head1 shown on head2 matroxfb_swapped # adjust input devices, we don't have /proc/bus/console/01 # before loading fbcon /etc/hotplug/input.rc start # runlevel 4 is the same as 3 + additianal mingetty's in inittab init 4 --------------------------------------------------- PS.3 attachments 260t9-20031115.txt -- oopses with vanilla ruby-260t9-20031115 AA02-ruby-20031029_matroxfb_fix.patch - fixes the problem, Aivils sent it to me as vt.3.diff , not sure if it hit the list AA03-ruby-fb_resize.patch - another fix by Aivils, the same oopses without the previous patch, Aivils sent it to me as rc1.diff 260t9-20031115-rc1.txt -- oopses without AA02 ,but with AA03 aplied PS.4 the last commit was 14 Nov, so Aivils's tarball contains the same code as cvs Aivils, should ruby-260t9-20031115 really work OK without this patches ? PS.5 the remaining issues /* most likely hardware limitations involved * and XFree "bugs" too */ 1.) X->VT->X on head1 (vt7) X head1 is displayed on both heads, VT switch on head2 fixes it 2.) the mentioned XFree hack should be integrated smarter, currently you need additional binary for each additional fbcon 3.) probably unsolvable/ hardware the need to run swapped from matroxset tarball to separate the displays 4.) related to 3 after swapped, both heads are blank until a VT switch, and on head1 there is a lot of garbage until login + logout actually the garbage is on all vc's except the first one (head 1) but on all vc's usable is only 4/6 of the hight of the screen the top 1/6 is ocupied by the logo, the bottom 1/6 by nothing on vc1 and by garbage on vc2-vc6. Everything becomes normal after a login + logout , but until logout only graphics(e.g. ncurses menuconfig) paint to the entire screen, a ls, ps, whatever will use only the middle 4/6 of the screen hight there is no such problem with head2 /* which misses a blinking cursor, cursor is always on :-) */ -- HoHoHo! Seid Ihr auch alle schön brav gewesen? GMX Weihnachts-Special: Die 1. Adresse für Weihnachts- männer und -frauen! http://www.gmx.net/de/cgi/specialmail +++ GMX - die erste Adresse für Mail, Message, More! +++ |