Re: Openbsd broke my hard drive twice! Getting frustrated

2014-12-23 Thread Gregory Edigarov
On 12/23/2014 04:04 AM, Henrique Lengler wrote: Hi, I decided to install openbsd by the first time a month ago, How I was with no internet connection I needed to shutdown the computer in the part that I need to download the packages, because I hadn't it on the cd. I could not acess the

Re: Question re dhclient.conf...Addenedum

2014-12-23 Thread Duncan Patton a Campbell
Finding that the interfaces this is called on do not necessarily come up on a timing (or at all) I've modified the script called from an /etc/hostname.if file or from openvpn as an up script so it will wait on the interface coming up (and could be timedout there if..) ... #!/bin/ksh # called

current.html typo: essention - essential

2014-12-23 Thread Marcus MERIGHI
just in case someone is bored enough to fix: Index: faq/current.html === RCS file: /cvs/www/faq/current.html,v retrieving revision 1.582 diff -u -r1.582 current.html --- faq/current.html22 Dec 2014 20:44:49 - 1.582 +++

hw.setperf affects only 1 (of several) cores?

2014-12-23 Thread Marinos Yannikos
Hi, I believe that hw.setperf (as well as programs using it, such as apmd -C) change the CPU frequency of only single (arbitrary) cores, leading to higher temperatures than necessary for idle systems. It would be desirable if all cores were affected. (correct me if I'm wrong!) It doesn't seem to

Re: Openbsd broke my hard drive twice! Getting frustrated

2014-12-23 Thread L.R. d S.
The BIOS have nothing to do with the OS, it's other coding layer, and the OS can't disable the HDD since it have their own firmware on microcontroller. I would suggest: if you can boot from CD like you say, you can: - Flash the BIOS. See your board and download from oficial site; - Reboot and

Re: Openbsd broke my hard drive twice! Getting frustrated

2014-12-23 Thread Peter N. M. Hansteen
Henrique Lengler henriquel...@openmailbox.org writes: I decided to install openbsd by the first time a month ago, How I was with no internet connection I needed to shutdown the computer in the part that I need to download the packages, because I hadn't it on the cd. I could not acess the

Re: hw.setperf affects only 1 (of several) cores?

2014-12-23 Thread frantisek holop
Marinos Yannikos, 23 Dec 2014 12:20: Practical implications: a Supermicro A1SAi based server sitting on my desk gets quite warm at 61°C when idle and supposedly clocked down to half the nominal CPU frequency at hw.setperf=0 (Linux: 43°C). this is a difficult issue, because as far as i know,

Re: athn(4) WPA2-PSK software crypto CPU loading

2014-12-23 Thread Christian Weisgerber
On 2014-12-22, Jonathan Thornburg jth...@astro.indiana.edu wrote: However, 'man athn' says The athn driver relies on the software 802.11 stack for both encryption and decryption of data frames. Should I be worried about the CPU loading of software WPA2 crypto running on the (relatively

Re: Openbsd broke my hard drive twice! Getting frustrated

2014-12-23 Thread Henrique Lengler
On 2014-12-23 04:06, Brent Cook wrote: There have been a couple of reports similar to this one that were fixed with a firmware update from the motherboard or system vendor. I would presume the firmware basically crashes if it sees a boot code written on the hard drive it does not expect, even if

Re: Openbsd broke my hard drive twice! Getting frustrated

2014-12-23 Thread Henrique Lengler
On 2014-12-23 04:27, Dmitrij D. Czarkoff wrote: Unlikely until you mention the model of your laptop and describe the problem in more detail. Ok, it is not a laptop. It have a ASUS Z87-k motherboard, 8GB CRUCIAL RAM, Intel Core i7 4770k processor. My HDD is a Seagate Barracuda 1TB. Regards

Re: Openbsd broke my hard drive twice! Getting frustrated

2014-12-23 Thread Henrique Lengler
On 2014-12-23 10:33, pe...@bsdly.net wrote: Did you in fact complete the install at all, or did you just partition the disk and press reset before installing any sets? As I said, everything I can expect from a bad uncompleted install is the system trying to load the HDD and it fails. But

Re: Openbsd broke my hard drive twice! Getting frustrated

2014-12-23 Thread Robert Blacquiere
Hi, On Tue, Dec 23, 2014 at 12:04:25AM -0200, Henrique Lengler wrote: Hi, I decided to install openbsd by the first time a month ago, How I was with no internet connection I needed to shutdown the computer in the part that I need to download the packages, because I hadn't it on the cd. I

Re: Openbsd broke my hard drive twice! Getting frustrated

2014-12-23 Thread Peter N. M. Hansteen
Henrique Lengler henriquel...@openmailbox.org writes: Ok, it is not a laptop. It have a ASUS Z87-k motherboard, 8GB CRUCIAL RAM, Intel Core i7 4770k processor. http://www.asus.com/Motherboards/Z87K/HelpDesk_Download/ appears to be the source of BIOS updates and utilities, and do poke around

Re: Openbsd broke my hard drive twice! Getting frustrated

2014-12-23 Thread Sonic
On Tue, Dec 23, 2014 at 10:48 AM, Henrique Lengler henriquel...@openmailbox.org wrote: As I said, everything I can expect from a bad uncompleted install is the system trying to load the HDD and it fails. It's worth double checking but my guess is that you have the Secure Boot feature in the

Re: Openbsd broke my hard drive twice! Getting frustrated

2014-12-23 Thread Peter N. M. Hansteen
Henrique Lengler henriquel...@openmailbox.org writes: On 2014-12-23 10:33, pe...@bsdly.net wrote: Did you in fact complete the install at all, or did you just partition the disk and press reset before installing any sets? As I said, everything I can expect from a bad uncompleted install

Re: Openbsd broke my hard drive twice! Getting frustrated

2014-12-23 Thread Sonic
On Tue, Dec 23, 2014 at 11:02 AM, Sonic sonicsm...@gmail.com wrote: Another thing to check is the BIOS version. If you're not at version 1401 (released 2014.09.12) it would behoove you to do so. After the update load the defaults then after a reboot go back in and set Secure Boot to Other OS.

Re: Openbsd broke my hard drive twice! Getting frustrated

2014-12-23 Thread Sonic
On Tue, Dec 23, 2014 at 11:05 AM, Peter N. M. Hansteen pe...@bsdly.net wrote: How far did you install proceed before you pushed the reset button? In general pushing the reset button is a very bad idea. If you're really stuck holding in the power button is a better option just in case the system

Re: Openbsd broke my hard drive twice! Getting frustrated

2014-12-23 Thread Sonic
On Tue, Dec 23, 2014 at 11:02 AM, Sonic sonicsm...@gmail.com wrote: It's worth double checking but my guess is that you have the Secure Boot feature in the BIOS set to Other OS (which is mandatory) as if was set set to Windows UEFI Mode it would be odd that you could boot the OpenBSD install

Re: hw.setperf affects only 1 (of several) cores?

2014-12-23 Thread Ted Unangst
On Tue, Dec 23, 2014 at 12:20, Marinos Yannikos wrote: Hi, I believe that hw.setperf (as well as programs using it, such as apmd -C) change the CPU frequency of only single (arbitrary) cores, leading to higher temperatures than necessary for idle systems. It would be desirable if all cores

[probably solved] Re: Openbsd broke my hard drive twice! Getting frustrated

2014-12-23 Thread Henrique Lengler
I figured that my BIOS have a old firmware from 2013. So I decided to update it. At least this my motherboard did good, I easily updated the firmware by plugging a USB with the new firmware. Then It rebooted and yes, it worked as it should. Booted normally with the HDD sata connected. I cannot

Re: Openbsd broke my hard drive twice! Getting frustrated

2014-12-23 Thread Josh Grosse
On 2014-12-23 10:48, Henrique Lengler wrote: On 2014-12-23 10:33, pe...@bsdly.net wrote: Did you in fact complete the install at all, or did you just partition the disk and press reset before installing any sets? As I said, everything I can expect from a bad uncompleted install is the system

Re: hw.setperf affects only 1 (of several) cores?

2014-12-23 Thread Philip Guenther
On Tue, Dec 23, 2014 at 8:52 AM, Ted Unangst t...@tedunangst.com wrote: On Tue, Dec 23, 2014 at 12:20, Marinos Yannikos wrote: Hi, I believe that hw.setperf (as well as programs using it, such as apmd -C) change the CPU frequency of only single (arbitrary) cores, leading to higher

Re: [probably solved] Re: Openbsd broke my hard drive twice! Getting frustrated

2014-12-23 Thread John Merriam
On Tue, 23 Dec 2014, Henrique Lengler wrote: I figured that my BIOS have a old firmware from 2013. So I decided to update it. At least this my motherboard did good, I easily updated the firmware by plugging a USB with the new firmware. Then It rebooted and yes, it worked as it should.

Re: [probably solved] Re: Openbsd broke my hard drive twice! Getting frustrated

2014-12-23 Thread Henrique Lengler
On 2014-12-23 14:55, Henrique Lengler wrote: I figured that my BIOS have a old firmware from 2013. So I decided to update it. At least this my motherboard did good, I easily updated the firmware by plugging a USB with the new firmware. Then It rebooted and yes, it worked as it should. Booted

Re: hw.setperf affects only 1 (of several) cores?

2014-12-23 Thread Marinos Yannikos
Am Di, 23. Dez 2014, um 18:10, schrieb Philip Guenther: On Tue, Dec 23, 2014 at 8:52 AM, Ted Unangst t...@tedunangst.com wrote: On Tue, Dec 23, 2014 at 12:20, Marinos Yannikos wrote: [...] No, it should affect all cores. c.f. mp_setperf_init(), as called from the mainbus_attach()

Getting the right image, to install via USB

2014-12-23 Thread Henrique Lengler
Hi, I want to install openbsd on my computer via a USB, since I don't have a unused CD. I'm in doubt about what image should I download and how can I record it to a USB using windows. Could someone please help me? -- Henrique Lengler

Re: Getting the right image, to install via USB

2014-12-23 Thread Fred
On 12/23/14 18:50, Henrique Lengler wrote: Hi, I want to install openbsd on my computer via a USB, since I don't have a unused CD. I'm in doubt about what image should I download and how can I record it to a USB using windows. Could someone please help me?

Re: Getting the right image, to install via USB

2014-12-23 Thread John Merriam
On Tue, 23 Dec 2014, Henrique Lengler wrote: Hi, I want to install openbsd on my computer via a USB, since I don't have a unused CD. I'm in doubt about what image should I download and how can I record it to a USB using windows. Could someone please help me? -- Henrique Lengler

Re: [probably solved] Re: Openbsd broke my hard drive twice! Getting frustrated

2014-12-23 Thread Peter N. M. Hansteen
Henrique Lengler henriquel...@openmailbox.org writes: It also loaded OpenBSD from the harddrive, now I don't need to install it again. This evidence that I did install it right! So likely it was a buggy BIOS then. Excellent to hear that you got the thing running, best of luck with the new

Re: current.html typo: essention - essential

2014-12-23 Thread Jungle Boogie
Dear Marcus, From: Marcus MERIGHI mcmer-open...@tor.at Sent: Tue, 23 Dec 2014 12:12:28 +0100 To: misc@openbsd.org Subject: current.html typo: essention - essential just in case someone is bored enough to fix: Right, I noticed this yesterday and

Re: Getting the right image, to install via USB

2014-12-23 Thread Maurice McCarthy
On 2014-12-23 19:16, John Merriam wrote: On Tue, 23 Dec 2014, Henrique Lengler wrote: Hi, I want to install openbsd on my computer via a USB, since I don't have a unused CD. I'm in doubt about what image should I download and how can I record it to a USB using windows. Could someone please

Re: Getting the right image, to install via USB

2014-12-23 Thread Henrique Lengler
On 2014-12-23 19:46, Maurice McCarthy wrote: Advice on using dd for windows https://susestudio.com/help/use/disk-image.html#the_hard_way Moss I tried three times and I got this message when boot the USB: Using drive 0, partition 3. ... ... ... and still repeating Regards, -- Henrique

[solved] Re: Getting the right image, to install via USB

2014-12-23 Thread Henrique Lengler
On 2014-12-23 20:11, Henrique Lengler wrote: On 2014-12-23 19:46, Maurice McCarthy wrote: Advice on using dd for windows https://susestudio.com/help/use/disk-image.html#the_hard_way Moss I tried three times and I got this message when boot the USB: Using drive 0, partition 3. ... ... ...

Re: [solved] Re: Getting the right image, to install via USB

2014-12-23 Thread Maurice McCarthy
On 2014-12-23 22:34, Henrique Lengler wrote: Done with Win32 Disk Imager Regards, Excellent. Good Luck Moss

Dell R630 freezes

2014-12-23 Thread Hrvoje Popovski
Hi all, I have Dell R630 with PERC H330 RAID controller and 2 LITEON IT ECT-60 SSD disks. When doing make build, box freezes almost any time. With kern.bufcachepercent=80 make build finishes but then sometimes i can't reboot it from ssh, only reset it from idrac console. Same problem can be

Xmas

2014-12-23 Thread David Higgs
slippers Saffron Ornament Beer things?

Re: Xmas

2014-12-23 Thread Jason Adams
On 12/23/2014 03:23 PM, David Higgs wrote: Beer things? By Jove, I believe you are on to something. It is fast approaching beer o'clock. -- Those who do not understand Unix are condemned to reinvent it, poorly.

Re: Xmas

2014-12-23 Thread worik
On 24/12/14 12:46, Jason Adams wrote: On 12/23/2014 03:23 PM, David Higgs wrote: Beer things? By Jove, I believe you are on to something. It is fast approaching beer o'clock. Of course it is beer o'clock! That was 1992! Been beering since W -- Why is the legal status of chardonnay

Re: Poor disk performance

2014-12-23 Thread Mike Larkin
On Thu, Nov 27, 2014 at 07:37:48PM +0100, David Unric wrote: Thanks for the quick answer ! Just following up on this. I repeated your unpack experiment on my machine and I got a time of 0m47s, and my fs is going through softraid crypto. I repeated on a different machine and the time was 0m40s,

bind: Permission denied

2014-12-23 Thread Henrique Lengler
Hi, When I try to run cmus in a normal user, I get $ cmus cmus: bind: Permission denied I never heard about bind before, so I can't imagine a way to solve this. Can someone help me? Regards, -- Henrique Lengler

Re: bind: Permission denied

2014-12-23 Thread Maurice McCarthy
On 2014-12-24 02:49, Henrique Lengler wrote: Hi, When I try to run cmus in a normal user, I get $ cmus cmus: bind: Permission denied I never heard about bind before, so I can't imagine a way to solve this. Can someone help me? Regards, I don't use cmus but it is something to do with

Re: bind: Permission denied

2014-12-23 Thread Maurice McCarthy
On 2014-12-24 03:15, Maurice McCarthy wrote: I don't use cmus but it is something to do with keybindings https://github.com/cmus/cmus/blob/master/Doc/cmus.txt Have a look at the documentation installed with the port. $ pkg_info -L cmus will list all the files installed. There maybe

ixgbe_tx_ctx_setup crash

2014-12-23 Thread Kapetanakis Giannis
Today I've installed a 10Gb adapter and upgraded to latest snapshot. I've had a crash... Machine is a Fujitsu RX300 S6 and the adapter is an Intel X520 SR1 G ddb{0} trace ixgbe_tx_ctx_setup(d4164980,d919df00,f55a0e5c,f55a0e60,4) at ixgbe_tx_ctx_setup +0x11a

ksh background loop behavior

2014-12-23 Thread Philippe Meunier
Hello, I have a small ksh script that uses ps(1) inside a background loop to monitor some process while the script does some other stuff in the foreground. Here is a simplified version of the script that monitors the startx process, as an example: #!/bin/ksh -ex while true; do ps -lww | egrep

Re: ksh background loop behavior

2014-12-23 Thread Ted Unangst
On Wed, Dec 24, 2014 at 02:09, Philippe Meunier wrote: #!/bin/ksh -ex You tell ksh to exit on error. while true; do ps -lww | egrep startxBOGUS | egrep --line-buffered -v egrep; sleep 1; done You run a command (egrep) that exits with an error.

new snapshots contain static PIE

2014-12-23 Thread Theo de Raadt
New snapshots for a few architectures use static PIE binaries in /bin, /sbin (and a handful in /usr/bin and /usr/sbin as well). (amd64 and sparc64 leading the way, the rest will follow) This is yet another non-trivial conversion. Surely some will try to use the instructions in current.html to

Re: ksh background loop behavior

2014-12-23 Thread Philippe Meunier
Ted Unangst wrote: You tell ksh to exit on error. [...] You run a command (egrep) that exits with an error. So correct... (head hits keyboard). Thanks! Philippe