Re: atkbd.c not compiling?

2015-02-28 Thread Oliver Pinter
On Sat, Feb 28, 2015 at 11:19 PM, Garrett Cooper  wrote:
> On Feb 28, 2015, at 14:15, Garrett Cooper  wrote:
>
>> On Feb 28, 2015, at 13:56, Ryan Stone  wrote:
>>
>>> On Sat, Feb 28, 2015 at 4:51 PM, Garrett Cooper  
>>> wrote:
 I’m not sure about key_map — are you building with syscons or vt?
>>>
>>> I have no idea.  I'm just running make tinderbox.  So far
>>> _.sparc64.LINT, _.i386.LINT-NOINET and _.i386.LINT-VIMAGE have failed,
>>> among others.
>>>
>>> i386.LINT and sparc64.LINK have both "device sc" and "device vt" from
>>> what I can see
>>
>> I think I figured it out. Is it because MK_VT != “no” and MK_LEGACY_CONSOLE 
>> == “no”?
>
> … or because MK_SYSCONS == no?

No, when you try to compile vt enabled kernel on system which running
on syscons, or the versa, then you got this problem.
Try to compile with the us.pc-ctrl or us.ctrl keyboard layout.

In bugzilla exists some patch, that fixes this issue, by altering the
font search path.

The other remaining problem is, when use try to use the VT, and it
required the kbdmux layer. The kbdmux layer then discards the custom
keyboard layout, which is configured at ukbd or atkbd level. Fix
already exists in bugzilla too.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: atkbd.c not compiling?

2015-02-28 Thread Oliver Pinter
On Sat, Feb 28, 2015 at 10:25 PM, Ryan Stone  wrote:
> I updated my source tree this morning and now I'm seeing this compile
> error in "make tinderbox";
>
> /repos/users/rstone/freebsd/sys/dev/atkbdc/atkbd.c:382:26: error: use of 
> undecla
> red identifier 'key_map'; did you mean 'keymap'?
> keymap = malloc(sizeof(key_map), M_DEVBUF, M_NOWAIT);
>^~~
>keymap
> /repos/users/rstone/freebsd/sys/dev/atkbdc/atkbd.c:358:12: note: 'keymap' 
> declar
> ed here
> keymap_t *keymap;
> /repos/users/rstone/freebsd/sys/dev/atkbdc/atkbd.c:383:26: error: use of 
> undecla
> red identifier 'accent_map'; did you mean 'accentmap_t'?
> accmap = malloc(sizeof(accent_map), M_DEVBUF, M_NOWAIT);
>^
> /repos/users/rstone/freebsd/sys/sys/kbio.h:210:26: note: 'accentmap_t' 
> declared
> here
> typedef struct accentmap accentmap_t;
>

Hi!

See these PRs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193817
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193865
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194744

>
>
> (By the way, this is the second time in two days that "make tinderbox"
> has been broken for me.  It's extremely frustrating that I can't test
> my pending commits because others haven't done me the same courtesy)
> ___
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: atkbd.c not compiling?

2015-02-28 Thread Garrett Cooper
On Feb 28, 2015, at 14:15, Garrett Cooper  wrote:

> On Feb 28, 2015, at 13:56, Ryan Stone  wrote:
> 
>> On Sat, Feb 28, 2015 at 4:51 PM, Garrett Cooper  
>> wrote:
>>> I’m not sure about key_map — are you building with syscons or vt?
>> 
>> I have no idea.  I'm just running make tinderbox.  So far
>> _.sparc64.LINT, _.i386.LINT-NOINET and _.i386.LINT-VIMAGE have failed,
>> among others.
>> 
>> i386.LINT and sparc64.LINK have both "device sc" and "device vt" from
>> what I can see
> 
> I think I figured it out. Is it because MK_VT != “no” and MK_LEGACY_CONSOLE 
> == “no”?

… or because MK_SYSCONS == no?


signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: atkbd.c not compiling?

2015-02-28 Thread Garrett Cooper
On Feb 28, 2015, at 13:56, Ryan Stone  wrote:

> On Sat, Feb 28, 2015 at 4:51 PM, Garrett Cooper  wrote:
>> I’m not sure about key_map — are you building with syscons or vt?
> 
> I have no idea.  I'm just running make tinderbox.  So far
> _.sparc64.LINT, _.i386.LINT-NOINET and _.i386.LINT-VIMAGE have failed,
> among others.
> 
> i386.LINT and sparc64.LINK have both "device sc" and "device vt" from
> what I can see

I think I figured it out. Is it because MK_VT != “no” and MK_LEGACY_CONSOLE == 
“no”?


signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: atkbd.c not compiling?

2015-02-28 Thread Garrett Cooper
On Feb 28, 2015, at 13:56, Ryan Stone  wrote:

> On Sat, Feb 28, 2015 at 4:51 PM, Garrett Cooper  wrote:
>> I’m not sure about key_map — are you building with syscons or vt?
> 
> I have no idea.  I'm just running make tinderbox.  So far
> _.sparc64.LINT, _.i386.LINT-NOINET and _.i386.LINT-VIMAGE have failed,
> among others.
> 
> i386.LINT and sparc64.LINK have both "device sc" and "device vt" from
> what I can see

It looks like a few keyboard drivers would be broken. Might be related to 
[AT]KBD_DFLT_KEYMAP...

From sys/dev/kbd/kbdtables.h :

 31 #ifndef KBD_DFLT_KEYMAP
 32 
 33 /* US iso8859 */
 34 #define ISO_ACCENTCHARS
 35 /*
 36  * Automatically generated from /usr/share/syscons/keymaps/us.iso.kbd.
 37  * DO NOT EDIT!
 38  */
 39 static keymap_t key_map = { 0x6d, {

From sys/dev/atkbd/atkbd.c:

 265 /* the initial key map, accent map and fkey strings */
 266 #ifdef ATKBD_DFLT_KEYMAP
 267 #define KBD_DFLT_KEYMAP
 268 #include "atkbdmap.h"
 269 #endif
 270 #include 


signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: atkbd.c not compiling?

2015-02-28 Thread Ryan Stone
On Sat, Feb 28, 2015 at 4:51 PM, Garrett Cooper  wrote:
> I’m not sure about key_map — are you building with syscons or vt?

I have no idea.  I'm just running make tinderbox.  So far
_.sparc64.LINT, _.i386.LINT-NOINET and _.i386.LINT-VIMAGE have failed,
among others.

i386.LINT and sparc64.LINK have both "device sc" and "device vt" from
what I can see
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: atkbd.c not compiling?

2015-02-28 Thread Garrett Cooper
On Feb 28, 2015, at 13:25, Ryan Stone  wrote:

> I updated my source tree this morning and now I'm seeing this compile
> error in "make tinderbox";
> 
> /repos/users/rstone/freebsd/sys/dev/atkbdc/atkbd.c:382:26: error: use of 
> undecla
> red identifier 'key_map'; did you mean 'keymap'?
>keymap = malloc(sizeof(key_map), M_DEVBUF, M_NOWAIT);
>   ^~~
>   keymap
> /repos/users/rstone/freebsd/sys/dev/atkbdc/atkbd.c:358:12: note: 'keymap' 
> declar
> ed here
>keymap_t *keymap;
> /repos/users/rstone/freebsd/sys/dev/atkbdc/atkbd.c:383:26: error: use of 
> undecla
> red identifier 'accent_map'; did you mean 'accentmap_t'?
>accmap = malloc(sizeof(accent_map), M_DEVBUF, M_NOWAIT);
>   ^
> /repos/users/rstone/freebsd/sys/sys/kbio.h:210:26: note: 'accentmap_t' 
> declared
> here
> typedef struct accentmap accentmap_t;
> 
> 
> 
> (By the way, this is the second time in two days that "make tinderbox"
> has been broken for me.  It's extremely frustrating that I can't test
> my pending commits because others haven't done me the same courtesy)

I’m not sure about key_map — are you building with syscons or vt?


signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: atkbd.c not compiling?

2015-02-28 Thread Ryan Stone
And now this:

/repos/users/rstone/freebsd-2/sys/modules/sfxge/../../dev/sfxge/sfxge_rx.h:39:2:
error:
  LRO
#error LRO


Seriously?
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


atkbd.c not compiling?

2015-02-28 Thread Ryan Stone
I updated my source tree this morning and now I'm seeing this compile
error in "make tinderbox";

/repos/users/rstone/freebsd/sys/dev/atkbdc/atkbd.c:382:26: error: use of undecla
red identifier 'key_map'; did you mean 'keymap'?
keymap = malloc(sizeof(key_map), M_DEVBUF, M_NOWAIT);
   ^~~
   keymap
/repos/users/rstone/freebsd/sys/dev/atkbdc/atkbd.c:358:12: note: 'keymap' declar
ed here
keymap_t *keymap;
/repos/users/rstone/freebsd/sys/dev/atkbdc/atkbd.c:383:26: error: use of undecla
red identifier 'accent_map'; did you mean 'accentmap_t'?
accmap = malloc(sizeof(accent_map), M_DEVBUF, M_NOWAIT);
   ^
/repos/users/rstone/freebsd/sys/sys/kbio.h:210:26: note: 'accentmap_t' declared
here
typedef struct accentmap accentmap_t;



(By the way, this is the second time in two days that "make tinderbox"
has been broken for me.  It's extremely frustrating that I can't test
my pending commits because others haven't done me the same courtesy)
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"