Re: Asus-K75D Notebook: acpi0/acpitz0 causing crashes in OpenBSD 5/6/5.7/5.8/5.9 ?

2016-03-08 Thread Juan Francisco Cantero Hurtado
On Tue, Mar 08, 2016 at 11:37:58PM +0100, Juan Francisco Cantero Hurtado wrote:
> On Tue, Mar 08, 2016 at 03:40:58PM +, Rick Gregory wrote:
> > Hi,
> > I have a an Asus K75DE Notebook
> >  ( AMD A10-4600M APU with Radeon(tm) HD Graphics 7600 Series )
> > Right now I'm running OBSD 5.5, with Gnome3 Desktop, radeon-firmware seems
> > to work fine.
> > "$ glxinfo | grep -i render
> > direct rendering: Yes
> > OpenGL renderer string: Gallium 0.4 on AMD ARUBA"
> > "$ uname : OpenBSD 5.5 GENERIC.MP#315 amd64", and I'll explain why I'm
> > running 5.5 a bit further.
> > 
> > some dmesg output, from OBSD 5.5:
> > 
> > "acpitz0 at acpi0acpi0: WARNING EC not initialized
> > acpi0: WARNING EC not initialized
> > acpi0: WARNING EC not initialized
> > acpitz0: THRM: failed to read _TMP"
> > 
> > "Atheros AR9485" rev 0x01 at pci2 dev 0 function 0 not configured"
> > -
> >  The above "AR9485" wireless has never worked in any OBSD, including the
> > latest current-5.9-snapshot, so I use a wireless dongle.
> > 
> > With latest-current-5.9 snapshot, as of yesterday, or
> > OpenBSD-Release-5.8/5.7/5.6, they all boot fine, but after I install them,
> > and try to boot normally, I get the above "acpi" errors and just as I get to
> > the "Login:" prompt on the console, it spews:
> > "acpitz0: exceeding temperature of 0 Degrees C,... shutting down
> > ...syncing disks"
> > It shuts itself down immediately, and therefore I cannot login to see 
> > what's up.
> >  I then tried
> > boot> boot -c, followed by a "disable acpi", and it comes up, but when I
> > "fw_update -v" to install the latest radeon-firmware and reboot, it repeats
> > the shutdown before the login prompt again.
> >  I seems "acpi" is tied to everything, I cannot "startx" into any window
> > manager without it, and if I do it crashes again. ?
> > 
> >  ( Note: I tested this notebook with Linux, and Winbloze, and everything 
> > works.)
> >  I also read on a post around here, that disabling USB3 in BIOS had fixed
> > someones issue with "acpi" errors, but I cannot do that in my BIOS.
> > 
> >  I prefer not to use OpenBSD 5.5, even though it does seemingly work,
> > because my notebook gets very warm. I hear the fans turning but it still
> > gets overly hot.
> >  Also, OpenBSD 5.5 does NOT see my USB3 ports, whereas 5.6 or newer does.
> > 
> >  I can boot up from latest "snapshot" and post my "dmesg" output, and
> > anything else if you think it may help to drill down and possibly fix these
> > persistent issues,
> >  although, I fear this Asus K75DE Notebook is not exactly a  "favourite"
> > amongst the OpenBSD dev's.
> >  ;)
> > 
> 
> Can you paste a full -current dmesg without disabling acpi?
> 
> Also, run these commands as root:
> # acpidump -o asus-K75DE
> # tar -czf acpi-asus-K75DE.tgz asus-K75DE*
> 
> And upload the tarball somewhere.

Forget my suggestion and follow Stuart's instructions.

Never send duplicate mails to different mailing lists! :P

-- 
Juan Francisco Cantero Hurtado http://juanfra.info



Re: Asus-K75D Notebook: acpi0/acpitz0 causing crashes in OpenBSD 5/6/5.7/5.8/5.9 ?

2016-03-08 Thread Juan Francisco Cantero Hurtado
On Tue, Mar 08, 2016 at 03:40:58PM +, Rick Gregory wrote:
> Hi,
> I have a an Asus K75DE Notebook
>  ( AMD A10-4600M APU with Radeon(tm) HD Graphics 7600 Series )
> Right now I'm running OBSD 5.5, with Gnome3 Desktop, radeon-firmware seems
> to work fine.
> "$ glxinfo | grep -i render
> direct rendering: Yes
> OpenGL renderer string: Gallium 0.4 on AMD ARUBA"
> "$ uname : OpenBSD 5.5 GENERIC.MP#315 amd64", and I'll explain why I'm
> running 5.5 a bit further.
> 
> some dmesg output, from OBSD 5.5:
> 
> "acpitz0 at acpi0acpi0: WARNING EC not initialized
> acpi0: WARNING EC not initialized
> acpi0: WARNING EC not initialized
> acpitz0: THRM: failed to read _TMP"
> 
> "Atheros AR9485" rev 0x01 at pci2 dev 0 function 0 not configured"
> -
>  The above "AR9485" wireless has never worked in any OBSD, including the
> latest current-5.9-snapshot, so I use a wireless dongle.
> 
> With latest-current-5.9 snapshot, as of yesterday, or
> OpenBSD-Release-5.8/5.7/5.6, they all boot fine, but after I install them,
> and try to boot normally, I get the above "acpi" errors and just as I get to
> the "Login:" prompt on the console, it spews:
> "acpitz0: exceeding temperature of 0 Degrees C,... shutting down
> ...syncing disks"
> It shuts itself down immediately, and therefore I cannot login to see what's 
> up.
>  I then tried
> boot> boot -c, followed by a "disable acpi", and it comes up, but when I
> "fw_update -v" to install the latest radeon-firmware and reboot, it repeats
> the shutdown before the login prompt again.
>  I seems "acpi" is tied to everything, I cannot "startx" into any window
> manager without it, and if I do it crashes again. ?
> 
>  ( Note: I tested this notebook with Linux, and Winbloze, and everything 
> works.)
>  I also read on a post around here, that disabling USB3 in BIOS had fixed
> someones issue with "acpi" errors, but I cannot do that in my BIOS.
> 
>  I prefer not to use OpenBSD 5.5, even though it does seemingly work,
> because my notebook gets very warm. I hear the fans turning but it still
> gets overly hot.
>  Also, OpenBSD 5.5 does NOT see my USB3 ports, whereas 5.6 or newer does.
> 
>  I can boot up from latest "snapshot" and post my "dmesg" output, and
> anything else if you think it may help to drill down and possibly fix these
> persistent issues,
>  although, I fear this Asus K75DE Notebook is not exactly a  "favourite"
> amongst the OpenBSD dev's.
>  ;)
> 

Can you paste a full -current dmesg without disabling acpi?

Also, run these commands as root:
# acpidump -o asus-K75DE
# tar -czf acpi-asus-K75DE.tgz asus-K75DE*

And upload the tarball somewhere.

-- 
Juan Francisco Cantero Hurtado http://juanfra.info



Asus-K75D Notebook: acpi0/acpitz0 causing crashes in OpenBSD 5/6/5.7/5.8/5.9 ?

2016-03-08 Thread Rick Gregory
Hi,
I have a an Asus K75DE Notebook
 ( AMD A10-4600M APU with Radeon(tm) HD Graphics 7600 Series )
Right now I'm running OBSD 5.5, with Gnome3 Desktop, radeon-firmware seems
to work fine.
"$ glxinfo | grep -i render
direct rendering: Yes
OpenGL renderer string: Gallium 0.4 on AMD ARUBA"
"$ uname : OpenBSD 5.5 GENERIC.MP#315 amd64", and I'll explain why I'm
running 5.5 a bit further.

some dmesg output, from OBSD 5.5:

"acpitz0 at acpi0acpi0: WARNING EC not initialized
acpi0: WARNING EC not initialized
acpi0: WARNING EC not initialized
acpitz0: THRM: failed to read _TMP"

"Atheros AR9485" rev 0x01 at pci2 dev 0 function 0 not configured"
-
 The above "AR9485" wireless has never worked in any OBSD, including the
latest current-5.9-snapshot, so I use a wireless dongle.

With latest-current-5.9 snapshot, as of yesterday, or
OpenBSD-Release-5.8/5.7/5.6, they all boot fine, but after I install them,
and try to boot normally, I get the above "acpi" errors and just as I get to
the "Login:" prompt on the console, it spews:
"acpitz0: exceeding temperature of 0 Degrees C,... shutting down
...syncing disks"
It shuts itself down immediately, and therefore I cannot login to see what's up.
 I then tried
boot> boot -c, followed by a "disable acpi", and it comes up, but when I
"fw_update -v" to install the latest radeon-firmware and reboot, it repeats
the shutdown before the login prompt again.
 I seems "acpi" is tied to everything, I cannot "startx" into any window
manager without it, and if I do it crashes again. ?

 ( Note: I tested this notebook with Linux, and Winbloze, and everything works.)
 I also read on a post around here, that disabling USB3 in BIOS had fixed
someones issue with "acpi" errors, but I cannot do that in my BIOS.

 I prefer not to use OpenBSD 5.5, even though it does seemingly work,
because my notebook gets very warm. I hear the fans turning but it still
gets overly hot.
 Also, OpenBSD 5.5 does NOT see my USB3 ports, whereas 5.6 or newer does.

 I can boot up from latest "snapshot" and post my "dmesg" output, and
anything else if you think it may help to drill down and possibly fix these
persistent issues,
 although, I fear this Asus K75DE Notebook is not exactly a  "favourite"
amongst the OpenBSD dev's.
 ;)



Re: No sound through headphones on laptop (HP 9480m)

2016-03-08 Thread Simon McFarlane

Hi,

On 03/07/16 23:38, Alexandre Ratchov wrote:

On Mon, Mar 07, 2016 at 03:11:24PM -0800, Simon McFarlane wrote:

Hi,

I'm running today's snapshot on an HP EliteBook 9480m. Everything works
great, aside from the audio. I get no sound when I plug my headphones in,
though the internal speakers work when the headphones are not plugged in
(they mute themselves when the headphones are inserted).

I'm good to test patches if anybody has any ideas that might help fix this.

Output of mixerctl -va:
inputs.dac-0:1=126,126
inputs.mix2_source=dac-0:1,mix  { dac-0:1 mix }
outputs.hp_source=mix2  [ mix2 mix3 ]
outputs.hp_mute=off  [ off on ]
outputs.hp_boost=off  [ off on ]
outputs.hp_eapd=on  [ off on ]
outputs.mic2_source=mix2  [ mix2 mix3 ]
outputs.mic2_mute=off  [ off on ]


try to toggle outputs.hp_boost and/or outputs.hp_eapd and possibly
crank inputs.dac-0:1 to 255

do you still hear nothing?


Out of those, only changing inputs.dac-0:1 to 255 had any audible 
effect. I heard a very short buzzing sound from my headphones 
intermittently. Nothing that sounded like what I was trying to play.




Re: XFCE / activating greyed-out power button / anyone help?

2016-03-08 Thread Kevin Chadwick
> Good news: no need for sudo.
> 
> $ less /usr/local/share/doc/pkg-readmes/xfce-4.12p2
> 
> 
> Logging out and shutting down the computer
> ==
> If your installation supports complete shutdown, clicking on the logout
> button on panel will permit you to either logout, rebooting or halt
> the computer.
> 
> Halting and rebooting require consolekit and policykit: you'll need to
> run a systemwide D-BUS service (add messagebus to pkg_scripts in
> rc.local) and pass --with-ck-launch argument to startxfce4. If you run
> a systemwide D-BUS service, have consolekit/policykit installed and
> don't use --with-ck-launch you will not be able to shutdown/reboot.
> 
> 
> That should do it :)

Personally I would use doas, it should earn a better security record
than sudo which has a much smaller vulnerability list and more
secure design than policykit, especially considering how long sudo has
been around.

If you run policykit for other things anyway then you obviously
wouldn't bother, I guess.

-- 

KISSIS - Keep It Simple So It's Securable



Re: some problems with disks

2016-03-08 Thread arrowscript
Thanks for the help Jiri and dan.



Re: SIP Client

2016-03-08 Thread Solène Rapenne

Le 2016-03-07 23:28, Mihai Popescu a écrit :

pjsua - audio only, works fine
baresip - audio and video, works fine

Both are in ports, I was using them with iptel.org as free provider.


Thanks you, I installed baresip from packages and it was very easy to 
configure (easier than jitsi/ekiga/linphone) and works very well.




Re: BGPD not adding routes

2016-03-08 Thread Matt Schwartz
Yes, it does make some sense. I'm going to have to take a deeper dive into
understanding routing domains and virtual routing tables. I noticed a good
article on packetmischief.ca which seems to provide a good overview. Thanks
again for your help.

Matt

On Mar 8, 2016 2:17 AM, "Claudio Jeker" wrote:
>
> On Mon, Mar 07, 2016 at 11:29:48AM -0500, Matt Schwartz wrote:
> > Thank you much, Claudio! That was the ticket. I had put my depend on
mpe0
> > in the wrong place. I was mostly using your mpls example. Dumb
questions:
> > Why do you not create a default route in rdomain 1 on the 2nd PE in your
> > mpls example network? Why do you not have network 0.0.0.0/0 on the 2nd
PE?
> > Thanks for helping me with my understanding gaps.
> >
>
> From the top of my memory the idea is that the 2nd PE gets the default
> route from the 1st PE similar to a client connecting via MPLS VPN to a
> ISP. Does this make sense?
>
> --
> :wq Claudio



Re: unbound eats up buffer space

2016-03-08 Thread Otto Moerbeek
On Tue, Mar 08, 2016 at 08:38:13AM +0100, Marko Cupa?? wrote:

> Hi,
> 
> I have 5.8 i386 box as my home network gateway, with unbound as a
> resolver for local LAN. I am getting these in my log:
> 
> Mar  8 08:21:42 kerber unbound: [24074:0] notice: sendto failed: No
> buffer space available
> Mar  8 08:21:42 kerber unbound: [24074:0] notice: remote address is
> 192.168.33.1 port 60829
> 
> Any advices? Thank you in advance.
> --
> Before enlightenment - chop wood, draw water.
> After  enlightenment - chop wood, draw water.
> 
> Marko Cupa??
> https://www.mimar.rs/

Give unbound more file descriptors; put in login.conf:

unbound:\
:openfiles=512:\
:tc=daemon:

And do not forget to set the class of the user _unbound to unbound:

$ userinfo _unbound
login   _unbound
passwd  *
uid 601
groups  _unbound
change  NEVER
class   unbound
gecos   Unbound Daemon
dir /var/unbound
shell   /sbin/nologin
expire  NEVER


Unbound has a non-standard setrlimit setup that requires and explicit
login class.


-Otto



Re: Shoudn't full disk encryption be a option on installer?

2016-03-08 Thread Alexander Hall
On March 8, 2016 12:41:09 AM GMT+01:00, Jiri B  wrote:
>On Tue, Mar 08, 2016 at 12:32:16AM +0100, arrowscr...@mail.com wrote:
>> I'm using softraid_crypto for full disk encryption for about one year
>> now. I used this on a low end Core2Duo and noticed absolutely *no*
>> performance hit. I also use this on a newer platform and, again, no
>> performance problems. It's stable too, no issues on booting.
>> I know some high intensive servers/routers and old machines with old
>hard
>> drivers can have serious performance decrease due to this, but this
>> could be at least a option on installer, I think.
>> The developers have any arguments against this? Why not? I think this
>is
>> a great security improvement, specially for a notebook user.
>
>Probably nobody has yet sent good solution for the installer.
>You got the source, read it, understand it, get idea how autoinstall
>works, check archives which kind of "improvements" were discussed or
>rejected, then... maybe cook a diff.

There have been quite a few suggestions, with everyone feeling confident about 
their diff, but never getting to the point of being committed.

Some quite important bits are also missing in softraid, like post-boot auto 
reassembly. 

/Alexander



Re: bgpd network connected

2016-03-08 Thread Matt Schwartz
I did not even know it was broken?

On Mar 8, 2016 1:26 AM, "Tony Sarendal" wrote:
>
> Is there any chance of getting "network inet connected" fixed to 5.9 ?
>
> Regards Tony



Re: unbound eats up buffer space

2016-03-08 Thread Brian Conway
Are you using pf queues? I most frequently see that happen when there's no
space left in a queue. `pfctl -v -s queue`

Brian Conway


On Mar 8, 2016 1:52 AM, "Marko Cupać"  wrote:

> Hi,
>
> I have 5.8 i386 box as my home network gateway, with unbound as a
> resolver for local LAN. I am getting these in my log:
>
> Mar  8 08:21:42 kerber unbound: [24074:0] notice: sendto failed: No
> buffer space available
> Mar  8 08:21:42 kerber unbound: [24074:0] notice: remote address is
> 192.168.33.1 port 60829
>
> Any advices? Thank you in advance.
> --
> Before enlightenment - chop wood, draw water.
> After  enlightenment - chop wood, draw water.
>
> Marko Cupać
> https://www.mimar.rs/