Hello,

I decided to try XFree86 4.1.0, but it won't start; the X server hangs
during keyboard initialization. The following backtrace is from a
recent CVS version:

(gdb) bt
#0  0x80a8fc0 in inb (port=100)
    at ../../../../../../programs/Xserver/hw/xfree86/common/compiler.h:1135
#1  0x80a8dff in xf86SetKbdRepeat (rad=32 ' ') at lnx_io.c:197
#2  0x808fb91 in xf86InitKBD (init=1) at xf86Io.c:246
#3  0x808fd8c in xf86KbdProc (pKeyboard=0x8372518, what=0) at xf86Io.c:338
#4  0x80cc2eb in InitAndStartDevices () at devices.c:169
#5  0x80e3728 in main (argc=1, argv=0xbffffccc, envp=0xbffffcd4) at main.c:403

It hangs in this loop:

  while ((inb(0x64) & 2) == 2); /* wait */

I guess that line is trying to read something from an AT keyboard, but
I don't have one... 4.0.3 did not have this problem.

Just putting a 'return' before the infinite loop fixes the problem,
and I can also use my USB keyboard. But I don't believe this is a good
fix... :)

What's a good solution?

Regards,

Pontus

-- 
Pontus Lidman               Email: [EMAIL PROTECTED]
Nokia Home Communications   Phone: +46 (0)13  4611201
Diskettgatan 11             Fax:   +46 (0)13  4611001
583 35 Link�ping, Sweden    
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to