bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: console-client problem


From: Dmitry V. Zhulanov
Subject: Re: console-client problem
Date: Thu, 12 Feb 2004 01:12:01 +0600
User-agent: Mutt/1.5.4i

On Wed, Feb 11, 2004 at 02:00:48PM +0100, M. Gerards wrote:
> Quoting "Dmitry V. Zhulanov" <elf@land5.nsu.ru>:
> 
> > On Tue, Feb 10, 2004 at 08:27:14PM +0100, Marco Gerards wrote:
> > > elf@land5.nsu.ru (Dmitry V. Zhulanov) writes:
> > > 
> > > >         When I start console with vga and pc_kbd drivers my screen
> > > > blanks, and ctrl-alt-backspace does nothing. How can I found the
> > problem?
> > > 
> > > Can you start the console client from telnet or a serial console?
> > 
> > Starting in.telnetd exited with message:
> > --
> > telnetd: getpeername: (ipc/mig) bad request message ID
> 
> You have to start the telnetd from inetd, AFAIK.  Are you doing this?
Now yes, and telnet works fine.
> 
> Otherwise try the serial console or ssh.
Its works too
> 
> > May be rpctrace will be more informative? its size about 6.5k
> 
> Perhaps, but it would be more useful to know if it segfaults or
> not.  Please send it to be sure.
The probles is not segfaults, because ctrl-alt-bksps works
> 
> > > First you will have to find out if it segfaults, otherwise you can
> > > better attach gdb to the console client and debug the pc_kbd driver.
Now I haven't another computer to do this remotely, but here some
additional info:
input hangs in a next fragment of code from pc_kbd_start:
============
if(gnumach_v1_compat)
{
  int data = KB_EVENT;
  err = device_set_status (kbd_dev, KDSKBDMODE,
        &data, 1); // here gdb hangs
  if(err)
=============
also if I press keys many times soon I see message "kbd: queue full" for
each key press

when I can access to another box, I check it remotely.

> If you would try this without the vga driver you can see what is going on, so
> you would have to do:
> 
> console -d pc_kbd /dev/vcs
> 
> And please send any output you see (if any) to this list.
Only clear new line after command line
> 
> You can also try the ncursesw driver, if you think it is a problem
> of the keyboard driver:
> 
> console -d ncursesw /dev/vcs
It hangs and even ctrl-alt-bksps doesn't work, and now I cant check it
if it works romotely.
>
> I have checked in a patch I wrote for pc_kbd a while ago.  I hope this
> does not cause your problem, although I have tested it and it should work.
> Are you using the CVS of after or before this patch was committed?
console-client works fine before last recompiling hurd, and I dont know
what changed in it. All sources was same.
> 
> > > It's also useful to know which GNUMach version you are using and which
> > > version of the Hurd (CVS or a debian package?)
> > Im using GNUmach-1.2/Hurd-0.3 from cvs with age about two weeks.
> 
> I have used GNUMach 1.2 and the Hurd from CVS just a week ago and this
> worked perfectly for me.  Perhaps your configuration is not correct
where I can get new souces, most of links dead :(

> (/dev/tty[1-9] and /dev/ttys and /dev/vcs) but in that case ctrl+alt+bs
> should work.  Because of that it sounds like a segfault.
configuration does not changed after recompiling hurd, I check it, and
it looks fine.
> 
> --
> Marco
e




reply via email to

[Prev in Thread] Current Thread [Next in Thread]