Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Feb 2016 15:10:20 +0000
From:      "Securityt Upgrade" <verify@promailservices.com>
To:        freebsd-questions@FreeBSD.org
Subject:   Security Update Code:SYUK0303

| raw e-mail | index | archive | help


 =

   	 Dear freebsd-questions@FreeBSD.org Your mailbox quota is full.
This may lead to email system failure and you will not be able to receive m=
ore mails henceforth.

To continue using your mailbox, you need to upgrade your mailbox quota imme=
diatey. This service is free. =


 =

    Upgrade Mailbox Quota Here =



Once your account upgrade is completed, your mailbox will work effectively. =


Mail Center 2016=20
From owner-freebsd-questions@freebsd.org  Fri Feb 19 15:24:25 2016
Return-Path: <owner-freebsd-questions@freebsd.org>
Delivered-To: freebsd-questions@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF80EAAE1EC
 for <freebsd-questions@mailman.ysv.freebsd.org>;
 Fri, 19 Feb 2016 15:24:25 +0000 (UTC)
 (envelope-from verify@promailservices.com)
Received: from u17828947.onlinehome-server.com
 (u17828947.onlinehome-server.com [IPv6:2607:f1c0:835:5c00::2a:f8a6])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id B05FC1F69
 for <freebsd-questions@FreeBSD.org>; Fri, 19 Feb 2016 15:24:25 +0000 (UTC)
 (envelope-from verify@promailservices.com)
Received: from [45.32.218.216] (unknown [45.32.218.216])
 by u17828947.onlinehome-server.com (Postfix) with ESMTPSA id A19D92A309
 for <freebsd-questions@FreeBSD.org>; Sat, 20 Feb 2016 02:11:46 +1100 (EST)
MIME-Version: 1.0
Subject: Security Update Code:SYUK0303
To: freebsd-questions@FreeBSD.org
From: "Securityt Upgrade" <verify@promailservices.com>
Date: Fri, 19 Feb 2016 15:11:44 +0000
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Description: Mail message body
X-Content-Filtered-By: Mailman/MimeDel 2.1.20
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Feb 2016 15:24:25 -0000



 =

   	 Dear freebsd-questions@FreeBSD.org Your mailbox quota is full.
This may lead to email system failure and you will not be able to receive m=
ore mails henceforth.

To continue using your mailbox, you need to upgrade your mailbox quota imme=
diatey. This service is free. =


 =

    Upgrade Mailbox Quota Here =



Once your account upgrade is completed, your mailbox will work effectively. =


Mail Center 2016=20
From owner-freebsd-questions@freebsd.org  Fri Feb 19 16:18:11 2016
Return-Path: <owner-freebsd-questions@freebsd.org>
Delivered-To: freebsd-questions@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F3B7AAD9B2
 for <freebsd-questions@mailman.ysv.freebsd.org>;
 Fri, 19 Feb 2016 16:18:11 +0000 (UTC)
 (envelope-from luislupe@gmx.com)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.19])
 (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 134A2135B
 for <freebsd-questions@freebsd.org>; Fri, 19 Feb 2016 16:18:10 +0000 (UTC)
 (envelope-from luislupe@gmx.com)
Received: from localhost ([95.95.94.35]) by mail.gmx.com (mrgmx003) with
 ESMTPSA (Nemesis) id 0MU1MP-1aNh5H3eaX-00QnNT; Fri, 19 Feb 2016 17:18:03
 +0100
Date: Fri, 19 Feb 2016 16:18:01 +0000
From: "Luis P. Mendes" <luislupe@gmx.com>
To: Polytropon <freebsd@edvax.de>
Cc: freebsd-questions@freebsd.org
Subject: Re: kbdmux disabled --> no useable keyboard?!
Message-ID: <20160219161801.GC73442@hp.tbl>
References: <20160217164414.GA73442@hp.tbl>
 <20160218011023.8519212d.freebsd@edvax.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20160218011023.8519212d.freebsd@edvax.de>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Provags-ID: V03:K0:evjf9yGgvoMXprbmJNd8/QNAAPVZ/geCrPzw2lVkvKYyx19PLm9
 ehdp95hB6DaBHPKfygwua6Ugv0ReBjsKfzbIUyvRIaIkr4MLfW1qTdylQL3F7b+tQopqPJF
 +py/GlMKstcyn2YRpxYTolHBJZphs3P8TsTJg2gSMyATlPlrkFfoGtNfvyHDrAxo9BBHc+n
 rUaOnujoxmMJp1WSUV41w==
X-UI-Out-Filterresults: notjunk:1;V01:K0:g5N/X0Npk5E=:BnQbCkImdG7r3rQmbsWnjd
 ksFUfdA8s31yrVsI0V+UjftyK/fSaPKJul3T2EM18G7nYQhgVf2etiGnPZNoDMjYxF94E3/ke
 JZRNhmu97oM+HL7AVilhEg0ukKL1YJKAmLz78j+D6LXEvSXPtrzDUUyJU6Rww34CzCUlqWaqG
 uV1/ENnEqugKg1V8UyPTkhYpaPUKL01LZEHDa22FlGmcp3eb4w8jif+hRfPB/eYel9uVBwL9w
 BwyDfXztAxMRgfCu4xZY+DROnmolbwkhMiIPye8QASZSwy2YKzlKg+xk92uuAA5n+hO7fCI59
 nDOr7pJ9RhsfM0gFPVLJPHISz+c6ACCBwZB1t2676MBzGorsqLgBCf7pjqDC3BmAUdTnvjsXZ
 gx6Monov7++EL4m0yvpyqkwf1aUYkYQecAFsfOtmhmvRUSe6TeH2IKp2X9V8yFhZdJpvOsf/U
 5mjGeqJhlV3m+Pt9Gp33YyuFTsvk+j/j28h6XQNMAQitcbi3lSDEUorDM4o/VD78ZeK3yE4JR
 /e/3waGbl5aszBCnqVTE1qIKE4sROwINqu07dN4M3+LHOMrnqdnlRrJaB74Ae7VOlUTurfizI
 eoIsUq3W3SGtDS3B9tDW7RVreemOjir7QlubLoninGyr3xvRQ0AB0hgod4Gi6KumX+ehqby+G
 Ud8gvxlk13YuY5LcmY9ZPUQHmlIqrqJxlRFeuYfeh2BFsMKVPdei5J6pbQWPoxQ0JkLdMdkg1
 rqYl7T///b+0tpAtdVWQK3mb22H+88/AZj8QFc6Rm0sVlkFvrRMrRiwFXuM=
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Feb 2016 16:18:11 -0000

On 2016.02.18 01:10:23 +0100, Polytropon wrote:
> On Wed, 17 Feb 2016 16:44:14 +0000, Luis P. Mendes wrote:
> > (Due to change of hardware and OS I lost the original messages, but
> > will paste the context)
> > 
> > On 2015.11.25 Polytropon wrote:
> > > On Tue, 24 Nov 2015 23:23:56 +0000, Luis P. Mendes wrote:
> > > >   Hi,
> > > >
> > > >   I'm setting up a multiseat workstation, where two users, with two
> > > >   monitors, two keyboards, two mice and two X sessions can be
> > > >   connected to the same computer at the same time.
> > > >
> > > >   For this to happen, one of the things that is necessary to do is to
> > > >   disable kbdmux in order for the two keyboards to be considered
> > > >   independent.
> > > >
> > > >   In the past, I've accomplished this with syscon, which had other
> > > >   problems.  But now with vt, when I disable kbdmux either on
> > > >   /boot/device.hints or in /boot/loader.conf with:
> > > >     hint.kbdmux.0.disabled="1"
> > > >
> > > >   No keys are recognized by the OS, although dmesg seems to know about
> > > >   the existence of the USB keyboard.
> > >
> > > You need to manually transfer the control of one keyboard to the
> > > other - from the "active" to the "inactive" one (to become the
> > > "active" one). Use the kbdcontrol program to do this, "man kbdcontrol"
> > > has more information about the -k option.
> > >
> > > This of course only works when kbdmux is disabled.
> > 
> > Only now, could I return to this project.
> > 
> > The steps I've taken:
> > 1. Have an USB keyboard attached to the motherboard.  No serial keyboard used.
> 
> The AT keyboard isn't a typical serial keyboard. A Sun keyboard is. ;-)

Ok, always learning :-) 


> > 2. In /boot/loader.conf, have these lines added:
> >     ukbd_load="YES"
> >     hint.kbdmux.0.disabled="1"
> >     hint.atkbd.0.disabled="1"
> >     hint.atkbdc.0.disabled="1"
> 
> I don't know if disabling the AT keyboard controller is useful here.
> If no keyboard is attached, the device will stay present. But if an
> USB keyboard is being used anyway, this should not matter.

Well, just in case, I removed the two *atk* lines from
/boot/loader.conf.  The USB keyboard is still not useable.

> > 3. In /etc/rc.conf.local:
> >     kbdcontrol -k /dev/ukbd0 < /dev/console
> 
> That should go to /etc/rc.local. Note that /etc/rc.conf.local is a
> configuration file (in the style of /etc/rc.conf) that's being sourced
> additionally; see "man rc" and "man rc.conf" for details.

I've read it before and from what I understand /etc/rc.conf.local is
meant for local configurations, instead of global configurations that
should be placed in /etc/rc.conf.  Could see no problem in placing the
above line in /etc/rc.conf.local, but moved it to /etc/rc.conf anyway.


> > 4. In /var/log/messages, there are these lines:
> >     kernel: ukbd0: <USB Keyboard> on usbus0
> >     kernel: kbd0 at ukbd0
> > 
> > 5. # ll /dev/uk*
> >      crw-------  1 root  wheel  0x7f 15 Fev 22:39 /dev/ukbd0
> > 
> > 6. # ls -l /dev/kb*
> >      lrwxr-xr-x  1 root  wheel  5 15 Fev 22:39 /dev/kbd0 -> ukbd0
> 
> For comparison: With an AT and a USB keyboard both operational,
> the following results will be present:
> 
> % ll /dev/*kbd*
> crw-------  1 root  wheel    0,  55 2016-02-17 19:30:58 /dev/atkbd0
> lrwxr-xr-x  1 root  wheel         6 2016-02-17 19:30:58 /dev/kbd0@ -> atkbd0
> lrwxr-xr-x  1 root  wheel         7 2016-02-17 19:30:58 /dev/kbd1@ -> kbdmux0
> lrwxr-xr-x  1 root  wheel         5 2016-02-17 19:31:10 /dev/kbd2@ -> ukbd0
> crw-------  1 root  wheel    0,  10 2016-02-17 19:30:58 /dev/kbdmux0
> crw-------  1 root  wheel    0, 150 2016-02-17 19:31:10 /dev/ukbd0
> 
> In this case, kbdmux is active. If it was not, the both keyboards
> should be identified as kbd0 (atkbd0) and kbd1 (ukbd0).

Mine (after commenting the two atk lines in /boot/loader.conf): 
# ll /dev/*kbd*
crw-------  1 root  wheel  0x34 18 Fev 14:34 /dev/atkbd0
lrwxr-xr-x  1 root  wheel     6 18 Fev 14:34 /dev/kbd0@ -> atkbd0
lrwxr-xr-x  1 root  wheel     5 18 Fev 14:34 /dev/kbd1@ -> ukbd0
crw-------  1 root  wheel  0x81 18 Fev 14:34 /dev/ukbd0



> As you can see from your kernel message, the device has been picked
> up and recognized correctly, and the required device links have been
> established.

Got some more information from /var/log/messages:
# egrep -i -e 'kbd|keyb' messages
Feb 18 14:34:58 leao kernel: module_register_init: MOD_LOAD (kbdmux,
0xffffffff805d4070, 0) error 6
Feb 18 14:34:58 leao kernel: atkbdc0: <Keyboard controller (i8042)>
at port 0x60,0x64 on isa0
Feb 18 14:34:58 leao kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
Feb 18 14:34:58 leao kernel: kbd0 at atkbd0
Feb 18 14:34:58 leao kernel: atkbd0: [GIANT-LOCKED]
Feb 18 14:34:58 leao kernel: ukbd0: <USB Keyboard> on usbus0
Feb 18 14:34:58 leao kernel: kbd1 at ukbd0
Feb 18 14:34:58 leao kernel: uhid0: <USB Keyboard> on usbus0

It seems there's an error 6 loading kbdmux...
My FreeBSD version is
# uname -a
FreeBSD leao 10.3-BETA1 FreeBSD 10.3-BETA1 #0 r295321: Fri Feb  5
17:02:27 WET 2016 


> > But I can't type anything in the (virtual) console.  I'm not
> > considering X yet.
> 
> And you are _totally sure_ the keyboard works?
Completely sure, when these setting are not in place, I can use the
keyboard.  And with the settings, I can type my GELI password on boot
and choose from the boot menu.


> > I don't understand what exactly is meant as example in the manual of
> > kbdcontrol, so cannot find what is wrong with this.
> > Would appreciate some help on this.
> 
> You have been using the correct command for switching to a specific
> keyboard (as quoted above).

This is the only thing keeping me from using my workstation the way I
need.  I hope there's some fix to this.
Thanks for the ongoing help Polytropon!  Hope that you or somebody
else can point me to the right correction.


Luis



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?>