Re: possible showstopper: kbdmux hangs -current



On Fri, 27 Jul 2007, Maksim Yevmenkin wrote:

MY> On 7/27/07, Dmitry Morozovsky <marck@xxxxxxxx> wrote:
MY> > Hi there,
MY> >
MY> > on some of my mobos -current hangs early (when starning init) if kbdmux is
MY> > included in kernel (both on i386 and amd64); this seems to be some race, as
MY> > hangs are not 100% reproducible. What info should I provide to debug?
MY>
MY> the usual suspects are
MY>
MY> 1) while (KBDMUX_CHECK_CHAR(kbd)) { ... } loop in kbdmux_kbd_event().
MY> could you please try to put some debug printf's into it and make sure
MY> it does not stuck there.

errrm. Added two printfs with ppsratecheck - and, as usual, 'specialist
presense effect' is in place: no single hang since, both on stock GENERIC and
my own stripped down kernel so far (approx 20 reboots).

Will try further.

MY>
MY> 2) callout. kbdmux callout initialized as non mp-safe to make sure
MY> giant is held.
MY>
MY> 3) task queue. kbdmux(4) uses taskqueue_swi_giant.
MY>
MY> you might want to try uncomment section at line 81 in kbdmux.c. this
MY> should add private lock for kbdmux(4). not sure it will work though -
MY> many things has changed since i tried it.
MY>
MY> > I'm using only PS2 keyboards, and have no other format keyboards handy;
MY> > however, I can obtain USB keyb if needed.
MY>
MY> are you using ps/2 mouse? if so, try to disconnect it and see if this helps.

No, there is no mouse attached.


Sincerely,
D.Marck [DM5020, MCK-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@xxxxxxxx ***
------------------------------------------------------------------------
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • pci issues with 5.3
    ... hangs at the pci0 bus probe, i try to switch to debug and it's locked up ...
    (freebsd-questions)
  • Re: possible showstopper: kbdmux hangs -current
    ... MY>> on some of my mobos -current hangs early if kbdmux is ... MY>> hangs are not 100% reproducible. ... What info should I provide to debug? ... MY> the usual suspects are ...
    (freebsd-current)
  • Form Error: Source Code Out of Date
    ... I was trying to debug a form module and somehow must have corrupted the form. ... I can step through to a point, then it hangs up and gives me a 'Source Code out of Date error' ...
    (microsoft.public.fox.vfp.forms)
  • possible showstopper: kbdmux hangs -current
    ... on some of my mobos -current hangs early if kbdmux is ... hangs are not 100% reproducible. ... What info should I provide to debug? ... and have no other format keyboards handy; ...
    (freebsd-current)
  • Debug Build Hang with vs.net 2002 and C# Application.Exit();
    ... Im using vs.net 2002 IDE for developing .net windows applications since ... the application in Debug mode it will simply hang and no main or top ... if it hangs I can hit the 'restart' debug feature and force it to ...
    (microsoft.public.dotnet.languages.csharp)