[Solved] Re: VS: Soekris 6501-70 mSATA and OpenBSD

2015-02-20 Thread Markus Rosjat

Hi there,

it seems the tip with the delay did the trick :)

thx

Markus

Am 20.02.2015 um 08:34 schrieb Markus Rosjat:

hi tuomas,

I tried both default to com0 and not but same result but I will 
checkout the other settings maybe that does the trick :)


thx for the quick reply

regards

Markus

Am 20.02.2015 um 08:15 schrieb Tuomas Tonteri:

Hi Markus,

Just a quick reply - I've installed couple of those, but don't have 
any at hand right now. Sounds like you should check the boot menu:


comBIOS Monitor.   Press ? for help.


show

ConSpeed = 19200
ConLock = Enabled
ConMute = Disabled
BIOSentry = Enabled
PCIROMS = Enabled
PXEBoot = Disabled
FLASH = Primary
BootDelay = 20
FastBoot = Disabled
BootPartition = Disabled
BootDrive = 80 80 80 80
ShowPCI = Enabled
Reset = Hard
CpuSpeed = Default

Set the BootDrive to 80 80 80 80 to only boot from the internal first 
disk. BootDelay helps too, so that the media has time to initialize 
itself, otherwise the boot often fails (not very much fun when you 
reboot it remotely and it hangs).


Also hope that you have set the default openbsd console to com0.

Using drive 0, partition 3.
Loading.
probing: pc0 com0 pci mem[620K 1022M a20=on]
disk: hd0+

OpenBSD/i386 BOOT 3.21

switching console to com0
   OpenBSD/i386 BOOT 3.21
boot
booting hd0a:/bsd: 8404228+1102404 [52+381152+367486]=0x9c7d50
entry point at 0x200120

Br,
Tuomas.

--
Tuomas Tonteri
www.elfcon.net / www.elfcloud.fi

-Alkuperäinen viesti-
Lähettäjä: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] 
Puolesta Markus Rosjat

Lähetetty: 20. helmikuutata 2015 9:06
Vastaanottaja: OpenBSD misc
Aihe: Soekris 6501-70 mSATA and OpenBSD

Hi there,

I have a new Soekris 6501-70 and a KingSpec 8gb mSATA drive. I can 
install OpenBSD 5.5 over PXE but after reboot it keeps hanging at the 
entry point msg. I actually did some research befor I ordered the 
mSATA device because I know Soekris 6501 has some isuess with them 
but KingSpec was one of the devices that seem to have no trouble with 
booting up.
So simple question is there something I miss here that needs to be 
done befor I reboot after a fresh install to get the Soekris up and 
running?


Regards





--
Markus Rosjatfon: +49 351 8107223mail: ros...@ghweb.de

G+H Webservice GbR Gorzolla, Herrmann
Königsbrücker Str. 70, 01099 Dresden

http://www.ghweb.de
fon: +49 351 8107220   fax: +49 351 8107227

Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss! Before you 
print it, think about your responsibility and commitment to the ENVIRONMENT



Re: Maintaining your system with snapshots

2015-02-20 Thread Peter N. M. Hansteen
On Fri, Feb 20, 2015 at 10:19:41AM +0100, lm wrote:
 
 I'm giving a try to snapshots for the first time. The system feels great,
 but I'm having some issues trying to maintain base system and ports synced.

packages for releases and snapshots are built separately. mixing snapshot 
(-current)
packages with stable or release versions is not supported (libraries and other 
dependencies are likely to not match).
 
 I've got a local copy of the complete packages tree for convenience, so I 
 don't have to update base and ports everytime I want to install a new 
 package, but it still seems some packages don't match the base system
 and they crash.

at most times you can upgrade to a new snapshot and afterwards run pkg_add -u 
to 
update installed packages. Assuming, of course your PKG_PATH environment 
variable
is set to something sensible.
 
 How do you maintain your system fresh? What do you follow?

Primarily, read the FAQ. It links to the runnning -current document, which has a
lot of handy tips for avoiding bad breakage (in most cases the chance of bad 
breakage
is small, but do read the thing).

As for works for me guides, my (by now somewhat dated) blog post [1] may 
still be 
useful despite needing some updates (such as don't bother running sysmerge with 
those 
arguments anymore (actually don't use any arguments to sysmerge in most cases), 
and 
hold off doing that until after you've booted into the new system, and likely 
other 
nits I may possibly address in the near future).

- Peter

[1] http://bsdly.blogspot.no/2012/07/keeping-your-openbsd-system-in-trim.html
-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
Remember to set the evil bit on all malicious network traffic
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Maintaining your system with snapshots

2015-02-20 Thread lm
Hi there!

I'm giving a try to snapshots for the first time. The system feels great,
but I'm having some issues trying to maintain base system and ports synced.

I've got a local copy of the complete packages tree for convenience, so I 
don't have to update base and ports everytime I want to install a new 
package, but it still seems some packages don't match the base system
and they crash.

How do you maintain your system fresh? What do you follow?

Thanks,
Luis



Solved! Re: OpenBSD firefox useragent Facebook

2015-02-20 Thread Erling Westenvik
On Thu, Feb 19, 2015 at 09:44:35PM -0500, Nick Holland wrote:
 On 02/18/15 09:32, Erling Westenvik wrote:
 The last few months, I've been unable to tag other people when
 commenting on Facebook. I've tried resetting Firefox, disabling
 add-ons, deleting old profiles, reinstalling the browser, and even
 doing a fresh install of Firefox on a new OpenBSD installation. All
 to now avail.
 
 I suspect the user agent setting to be the culprit and have tried
 experimenting with various strings. Some of them enables me to tag
 other people, but messes up other things.
 
 Would anyone using Facebook be so kind as to provide me with a
 working user agent string for Firefox (35.0) ?
 
 I've noticed this as well lately.  It's obviously a change on FB's
 side, not on OpenBSD's side (since you have gone back to old versions
 to verify the problem still happens on versions I know it didn't).
 Curiously, I think I have noticed it impacting my (completely stock)
 android phone, too, though that may just mean it is over due for a
 reboot.

It's all about the user agent string. When changing from the default:

Mozilla/5.0 (X11; OpenBSD amd64; rv:35.0)
Gecko/20100101 Firefox/35.0 

to:

Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.9.1)
Gecko/20090702 Firefox/3.5

things started to work as expected. Not that the working string is
ideal; it just happened to be one I tried and which worked. I'll try to
figure out which part(s) of it that matches Facebook's somewhat flaky
user agent string detection algorithm.

 I'm not losing any sleep over it, however.  I seem to have low
 expectations for people coding not-stupidly.

Thanks for help/patience/sarcasm, everyone, and sorry for the noise.

Erling



Re: OpenBSD firefox useragent Facebook

2015-02-20 Thread Dmitrij D. Czarkoff
Nick Holland said:
 I'm not losing any sleep over it, however.  I seem to have low
 expectations for people coding not-stupidly.

It is actually normal these days for web developers to support only a
handful of most used configurations.  It is funny that they still argue
that HTML5 is *the* cross-platform API for application development.

-- 
Dmitrij D. Czarkoff



modify /etc/ksh.kshrc

2015-02-20 Thread butresin
I surprised on this.
Why discouraged to modify /etc/ksh.kshrc?



CVSROOT:/cvs
   
Module name:src 
   
Changes by: r...@cvs.openbsd.org 2015/02/18 01:39:32


Modified files: 
   
etc: ksh.kshrc

Remove 
[among others ]
 a comment that falsely encourages to modify this   
  
file instead of putting stuff in $HOME/.kshrc

[snit]
-# add your favourite aliases here
[snit]



Re: OpenBSD Iscsid client

2015-02-20 Thread Theron ZORBAS
Hi Claudio,

Thanks for your reply. I'll disable it.
Also wanna ask you if you're planning about chap auth implementation.
Have a good day.

Theron



On Friday, February 20, 2015 8:33 PM, Claudio Jeker cje...@diehard.n-r-g.com 
wrote:
On Fri, Feb 20, 2015 at 04:32:42PM +, Theron ZORBAS wrote:
 Hi Misc,
 
 I want to connect a nas device over iscsi under OpenBSD 5.5 amd64.
 I have information about nas ip address, chap and share.
 I've read man iscsi.conf but there is no part about chap auth. 
 Also could not find any working example on net.
 
 Can anyone direct me please?
 

iscsid does not support CHAP yet. Disable the auth and it should hopefully

work.

-- 
:wq Claudio



Re: Maintaining your system with snapshots

2015-02-20 Thread jungle Boogie
On 20 February 2015 at 07:38, trondd tro...@gmail.com wrote:
 It is so quick and easy to update to another snapshot, if I find a
 package that doesn't work, I simply update to the latest snapshot.


If you are on -current but you haven't updated in many, many snapshot
cycles, do you update current or just get the latest snapshot? By
updating current, I mean getting source from CVS:
cvs -q up -Pd

 It's still less time lost than rebuilding the packages locally.

 Tim.




-- 
---
inum: 883510009027723
sip: jungleboo...@sip2sip.info
xmpp: jungle-boo...@jit.si



Re: OpenBSD Tablet-ish

2015-02-20 Thread Adam Thompson

On 2015-02-20 01:13 PM, Robert wrote:

On Fri, 20 Feb 2015 10:34:18 -0500
Kenneth Gober kgo...@gmail.com wrote:

I didn't reply earlier because I thought the Dell XPS 12 wouldn't meet your
requirements, but I have booted OpenBSD 5.4 on it, although I did have to
disable Secure Boot in the BIOS first.  dmesg follows:

Looks like nice hardware. But according to dell.com it has two problems:
1) Starting at 3.35lbs (1.52 kg)
2) = 1.000 USD

I'm curious if OpenBSD runs on one of the current Atom tablets that weight 
~500g and cost 200-300 USD.
(= light and cheap, convenient to carry around).
E.g., the Dell Venue 8 Pro 3000

/Robert


Broadly speaking, no.  They generally have either UEFI without CSM or in 
some cases completely custom boot environments that OpenBSD does not 
support.  The Dell Venue 8 specifically omits the CSM from UEFI.


Increasingly, only servers, corporate desktops, and enthusiast 
motherboards (for DIY system builders) are coming with the UEFI CSM 
required to boot OpenBSD.  Otherwise the inclusion of a CSM seems to be 
largely relative to how old the BIOS is, and how corporate the product 
is.  Note, also, that just because the mfgr includes the EFI CSM, 
doesn't mean it works correctly :-(. Bug reports that never get 
addressed are common.


The Lenovo Yoga 2 (10) and/or Lenovo ThinkPad 10 might work; there are 
many anecdotal reports of legacy booting on the both not working 
properly *until* the internal disk is correctly formatted with an MBR 
and boot sector... catch-22!


--
-Adam Thompson
 athom...@athompso.net



Re: OpenBSD Tablet-ish

2015-02-20 Thread Robert
On Fri, 20 Feb 2015 19:41:50 +
Calvin calv...@stenoweb.net wrote:

 Why OpenBSD on a tablet? On a laptop it makes sense, but OpenBSD is not
 exactly known for it's touch capability. Even with GNOME 3/KDE, it's
 still bit of an odd choice for such HW.

For me:
* having a web browser to check time tables, maps etc.
* reading, music and films during travel
* keeping notes
This can be done even with xfce.

So, nothing confidential, but I still would like to have more security (and 
less spyware) than Windows or Ubuntu. And no, thank you, I don't want a 
marketplace or Google account (...). I just want a plain, simple, reliable 
portable (current) device with internet access.

regards,
Robert



Re: Maintaining your system with snapshots

2015-02-20 Thread trondd
On 2/20/15, jungle Boogie jungleboog...@gmail.com wrote:
 If you are on -current but you haven't updated in many, many snapshot
 cycles, do you update current or just get the latest snapshot?

Personally, I don't run -current from source.  I have built subsets of
the tree to pick up a patch.  But my usecase isn't the same.

I don't think it would matter if you built from source or used an old
snapshot.  Just pay attention to the following current page.  And
don't quote me on this. :)

Tim.



Re: OpenBSD Tablet-ish

2015-02-20 Thread Robert
On Fri, 20 Feb 2015 16:29:59 -0600
Adam Thompson athom...@athompso.net wrote:

 On 2015-02-20 01:13 PM, Robert wrote:
  On Fri, 20 Feb 2015 10:34:18 -0500
  Kenneth Gober kgo...@gmail.com wrote:
  I didn't reply earlier because I thought the Dell XPS 12 wouldn't meet your
  requirements, but I have booted OpenBSD 5.4 on it, although I did have to
  disable Secure Boot in the BIOS first.  dmesg follows:
  Looks like nice hardware. But according to dell.com it has two problems:
  1) Starting at 3.35lbs (1.52 kg)
  2) = 1.000 USD
 
  I'm curious if OpenBSD runs on one of the current Atom tablets that weight 
  ~500g and cost 200-300 USD.
  (= light and cheap, convenient to carry around).
  E.g., the Dell Venue 8 Pro 3000
 
  /Robert
 
 Broadly speaking, no.  They generally have either UEFI without CSM or in 
 some cases completely custom boot environments that OpenBSD does not 
 support.  The Dell Venue 8 specifically omits the CSM from UEFI.
 
 Increasingly, only servers, corporate desktops, and enthusiast 
 motherboards (for DIY system builders) are coming with the UEFI CSM 
 required to boot OpenBSD.  Otherwise the inclusion of a CSM seems to be 
 largely relative to how old the BIOS is, and how corporate the product 
 is.  Note, also, that just because the mfgr includes the EFI CSM, 
 doesn't mean it works correctly :-(. Bug reports that never get 
 addressed are common.
 
 The Lenovo Yoga 2 (10) and/or Lenovo ThinkPad 10 might work; there are 
 many anecdotal reports of legacy booting on the both not working 
 properly *until* the internal disk is correctly formatted with an MBR 
 and boot sector... catch-22!
 
 -- 
 -Adam Thompson
   athom...@athompso.net
 

After a quick check on lenovo.com, the Yoga 2 (10) seems to be interesting. 
Incl. LTE it's about 350 EUR.
But I can't find any indications on the web that someone installed any 
alternative OS on it. I'm also not sure if it matters if you buy the Android or 
Windows version - the hardware seems to be the same.

And the Bay Trail graphics are not supported yet:
http://marc.info/?l=openbsd-miscm=142106787528337

Ok... so let's wait. Maybe there will be some money this year to throw at an 
experiment ;)

Btw, I guess that disk issue can be resolved by removing the disk and preparing 
it externally?

/Robert



Re: OpenBSD Tablet-ish

2015-02-20 Thread Dmitrij D. Czarkoff
Adam Thompson said:
 Unless you've found handwriting recognition or on-screen-keyboards that work
 well with OpenBSD, you'll probably still have to carry around a USB
 keyboard, which might make the whole exercise pointless.  Good luck, anyway.

Recently I had my hands on ExoPC - an amd64-based tablet with only
touchscreen and single sensor button as its inputs.  It was quite usable
with OpenBSD, but only with Gnome - non-Gnome GUI software relies too
heavily on right mouse button.  Although I had wireless keyboard
connected nearly all the time, virtual keyboard was sufficient in most
cases.

P.S.:  From my previous experience with ASUS R2Hv and preinstalled Vista
I concluded that handwriting recognition is very inefficient.

-- 
Dmitrij D. Czarkoff



Re: OpenBSD Tablet-ish

2015-02-20 Thread Adam Thompson

On 2015-02-20 05:22 PM, Robert wrote:

After a quick check on lenovo.com, the Yoga 2 (10) seems to be interesting. 
Incl. LTE it's about 350 EUR.
But I can't find any indications on the web that someone installed any 
alternative OS on it. I'm also not sure if it matters if you buy the Android or 
Windows version - the hardware seems to be the same.


I would buy the Windows version, at least you know that version is 
guaranteed to run Windows, and you could always run whatever you wanted 
(e.g. OpenBSD) inside VirtualBox if you were desperate.  The Android 
versions are more likely to have custom IPL (pre-boot) environments 
instead of even UEFI - but that's a guess.



And the Bay Trail graphics are not supported yet:
http://marc.info/?l=openbsd-miscm=142106787528337

Ok... so let's wait. Maybe there will be some money this year to throw at an 
experiment ;)


Oh, if you want to spend ridiculous amounts of money, I guarantee 
Fujitsu will have *something* that both boots OpenBSD and meets your 
form-factor requirements, but it'll probably cost €1000+. Specifically, 
the Q704 and Q572 both might work.  Fujitsu also has convertibles that 
are quite light  small now.  I can't find anything that confirms 
whether they support legacy boot; again, the older and more 
corporate-oriented the device, the more likely it will.  The newer and 
cheaper and more consumer-oriented the device, the less likely it'll be 
able to boot OpenBSD.



Btw, I guess that disk issue can be resolved by removing the disk and preparing 
it externally?


Good luck removing the disk.  It might be soldered on DOM/flash in the 
Yoga line, not sure.  The earlier the IdeaPad series did not have 
field-replaceable storage, the entire motherboard had to be replaced.
More likely you'd boot an EFI-compliant OS (e.g. Ubuntu Linux) from USB 
and use dd(1).
First, to backup the existing contents byte-for-byte, second to erase 
the internal disk (zapping all GPT structures) and third to copy over a 
pre-prepared image, like install56.fs which can overwrite itself.
And even then there's no guarantee... of course, zero'ing out the hard 
disk would probably make returning it to the shop easy: it won't boot ;-).


Unless you've found handwriting recognition or on-screen-keyboards that 
work well with OpenBSD, you'll probably still have to carry around a USB 
keyboard, which might make the whole exercise pointless.  Good luck, anyway.


--
-Adam Thompson
 athom...@athompso.net



Re: Maintaining your system with snapshots

2015-02-20 Thread Anthony Campbell
On 20 Feb 2015, Peter N. M. Hansteen wrote:
 
 As for works for me guides, my (by now somewhat dated) blog post [1] may 
 still be 
 useful despite needing some updates (such as don't bother running sysmerge 
 with those 
 arguments anymore (actually don't use any arguments to sysmerge in most 
 cases), and 
 hold off doing that until after you've booted into the new system, and likely 
 other 
 nits I may possibly address in the near future).
 
 - Peter
 
 [1] http://bsdly.blogspot.no/2012/07/keeping-your-openbsd-system-in-trim.html


Peter's post is certainly helpful (thank you Peter). Another place I've
found useful is

http://daemonforums.org/showthread.php?t=8865

See particularly the contribution of iggimi in this link, which I've
found extremely helpful.

Anthony

-- 
Anthony Campbellhttp://www.acampbell.uk



Re: Maintaining your system with snapshots

2015-02-20 Thread trondd
It is so quick and easy to update to another snapshot, if I find a
package that doesn't work, I simply update to the latest snapshot.

Maybe once or twice I have hit the situaton where the snapshot was out
of date with the snapshot packages and I couldn't use my system right
after upgrading.  I either check for a mirror that has synced the
latest packages or wait a day and I'm good to go.

It's still less time lost than rebuilding the packages locally.

Tim.



Re: Maintaining your system with snapshots

2015-02-20 Thread David Higgs
On Fri, Feb 20, 2015 at 10:21 AM, Steve Williams 
st...@williamsitconsulting.com wrote:

 Hi,

 I have been using snapshots for my system, but don't update too often.
 Sometimes there's a package I want to install, but because my snapshot
 is old (stale when compared to the current repository), I can't get the
 package.

 What I have started to do is download the ports.tar.gz when I install a
 snapshot.  I have no idea if this is a supported approach, but I've
 never had a problem building from ports when I need something after the
 fact.   The downside of doing this is I get MANY packages installed
 that are dependencies of building a port.


As someone else mentioned, snapshot packages are usually perfectly
sufficient, unless you have some corner case like an arch that doesn't
refresh frequently or you need a very recent fix.  There are occasional
hiccups but rarely are they serious; this is the tradeoff for following
closer to the development edge.

If you are tired of old build dependencies, look into pkg_delete -a.  You
may need to alternate pkg_info -m and pkg_add -aa to mark your packages
appropriately.  On my systems, ONLY my required packages are marked as
manually installed, so that I can run pkg_delete -a immediately after
sysmerge and pkg_add -u.

--david



Re: Maintaining your system with snapshots

2015-02-20 Thread lm
Thanks for your reply!

 packages for releases and snapshots are built separately. mixing snapshot 
 (-current)
 packages with stable or release versions is not supported (libraries and 
 other 
 dependencies are likely to not match).

I was not mixing them, but I have the feeling I might be using an outdated 
-current
base system (maybe just a few days, installed from snapshot) with more recent
packages (installed from a more recent snapshot). I was concerned about it,
as I think base system and packages need to be completely on sync.

 As for works for me guides, my (by now somewhat dated) blog post [1] may 
 still be 
 useful despite needing some updates (such as don't bother running sysmerge 
 with those 
 arguments anymore (actually don't use any arguments to sysmerge in most 
 cases), and 
 hold off doing that until after you've booted into the new system, and likely 
 other 
 nits I may possibly address in the near future).

Your blog post was the one that encouraged me to go to -current :)

Congrats for all the great work,
Luis

 [1] http://bsdly.blogspot.no/2012/07/keeping-your-openbsd-system-in-trim.html



Re: OpenBSD Tablet-ish

2015-02-20 Thread Kenneth Gober
On Thu, Feb 19, 2015 at 3:43 PM, Robert info...@die-optimisten.net wrote:


 Anything that can be acquired outside of a museum? ;)

 Has someone tested OpenBSD on one of the current (Atom/Windows-based)
 8-10 tablets?
 E.g., Lenovo Yoga 2 or Ideapad
 They seem to have a BIOS that can be configured; maybe Secure Boot can be
 disabled...


I didn't reply earlier because I thought the Dell XPS 12 wouldn't meet your
requirements, but I have booted OpenBSD 5.4 on it, although I did have to
disable Secure Boot in the BIOS first.  dmesg follows:

OpenBSD 5.4 (GENERIC.MP) #44: Tue Jul 30 12:13:32 MDT 2013
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
RTC BIOS diagnostic error 80clock_battery
cpu0: Intel(R) Core(TM) i5-3437U CPU @ 1.90GHz (GenuineIntel 686-class)
1.80 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,D
S-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,D
EADLINE,AES,XSAVE,AVX,F16C,RDRAND,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
real mem  = 2839851008 (2708MB)
avail mem = 2781995008 (2653MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/01/13, BIOS32 rev. 0 @ 0xef725,
SMBIOS rev. 2.7 @ 0xe6530 (69 entries)
bios0: vendor Dell Inc. version A08 date 08/01/2013
bios0: Dell Inc. XPS 12 9Q23
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP TCPA SLIC UEFI SSDT SSDT SSDT SSDT ASF! HPET APIC
MCFG WDAT SSDT BOOT SSDT ASPT FPDT MSDM SSDT SSDT DMAR
acpi0: wakeup devices P0P1(S4) GLAN(S4) EHC1(S0) EHC2(S4) XHC_(S0) HDEF(S0)
PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4)
PXSX(S4) RP05(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 99MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i5-3437U CPU @ 1.90GHz (GenuineIntel 686-class)
2.40 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,D
S-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,D
EADLINE,AES,XSAVE,AVX,F16C,RDRAND,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i5-3437U CPU @ 1.90GHz (GenuineIntel 686-class)
2.40 GHz
cpu2:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,D
S-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,D
EADLINE,AES,XSAVE,AVX,F16C,RDRAND,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-3437U CPU @ 1.90GHz (GenuineIntel 686-class)
2.40 GHz
cpu3:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,D
S-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,D
EADLINE,AES,XSAVE,AVX,F16C,RDRAND,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
ioapic0 at mainbus0: apid 0 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus 1 (RP01)
acpiprt3 at acpi0: bus -1 (RP02)
acpiprt4 at acpi0: bus 2 (RP03)
acpiprt5 at acpi0: bus -1 (RP04)
acpiprt6 at acpi0: bus -1 (RP05)
acpiprt7 at acpi0: bus -1 (RP06)
acpiprt8 at acpi0: bus -1 (RP07)
acpiprt9 at acpi0: bus -1 (RP08)
acpiprt10 at acpi0: bus -1 (PEG0)
acpiprt11 at acpi0: bus -1 (PEG1)
acpiprt12 at acpi0: bus -1 (PEG2)
acpiprt13 at acpi0: bus -1 (PEG3)
acpiec0 at acpi0
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpicpu2 at acpi0: C2, C1, PSS
acpicpu3 at acpi0: C2, C1, PSS
acpibtn0 at acpi0: PWRB
acpibat0 at acpi0: BAT1 model PABAS0241231 serial 41167 type Li-Ion oem
Simplo
acpiac0 at acpi0: AC unit online
acpibtn1 at acpi0: LID0
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD02
bios0: ROM list: 0xc/0xee00
ipmi: unknown register spacing
ipmi at mainbus0 not configured
cpu0: Enhanced SpeedStep 2395 MHz: speeds: 1901, 1900, 1800, 1700, 1600,
1500, 1400, 1300, 1200, 1100, 1000, 900, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
0:4:0: mem address conflict 0xfed98000/0x8000
pchb0 at pci0 dev 0 function 0 Intel Core 3G Host rev 0x09
vga1 at pci0 dev 2 function 0 Intel HD Graphics 4000 rev 0x09
intagp0 at vga1
agp0 at intagp0: aperture at 0xb000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1920x1080
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
vendor Intel, unknown product 0x0153 (class DASP subclass miscellaneous,
rev 0x09) at pci0 dev 4 function 0 not configured
Intel 7 Series xHCI rev 

Re: Maintaining your system with snapshots

2015-02-20 Thread Steve Williams
On 20/02/2015 2:19 AM, lm wrote:
 Hi there!

 I'm giving a try to snapshots for the first time. The system feels great,
 but I'm having some issues trying to maintain base system and ports synced.

 I've got a local copy of the complete packages tree for convenience, so I
 don't have to update base and ports everytime I want to install a new
 package, but it still seems some packages don't match the base system
 and they crash.

 How do you maintain your system fresh? What do you follow?

 Thanks,
 Luis

Hi,

I have been using snapshots for my system, but don't update too often.  
Sometimes there's a package I want to install, but because my snapshot 
is old (stale when compared to the current repository), I can't get the 
package.

What I have started to do is download the ports.tar.gz when I install a 
snapshot.  I have no idea if this is a supported approach, but I've 
never had a problem building from ports when I need something after the 
fact.   The downside of doing this is I get MANY packages installed 
that are dependencies of building a port.

For example:

autoconf-2.13p2 automatically configure source code on many Un*x
platforms
autoconf-2.52p4 automatically configure source code on many Un*x
platforms
autoconf-2.59p3 automatically configure source code on many Un*x
platforms
autoconf-2.61p3 automatically configure source code on many Un*x
platforms
autoconf-2.64   automatically configure source code on many Un*x
platforms
autoconf-2.65   automatically configure source code on many Un*x
platforms
autoconf-2.69p0 automatically configure source code on many Un*x
platforms

Yes, I've had this system going for a while!  lol.

Cheers,
Steve W.



Failing to build -stable Xenocara

2015-02-20 Thread Henrique Lengler
Hi, I'm moving my system from -release to -stable, I'm following 
the instructions here: www.openbsd.org/stable.html.

I already built the kernel, rebooted amd built the userland.
Now that its time to build xenocara, the process fails.
This is the second attempt to build, when it failed the first time I 
deleted and checkout all the source again.
I did no change in the source, I'm building the default settings in,
kernel, userland and xenocara.

This is the last lines that give me the errors:

extensions.o(.text+0x678): In function `AddExtensionAlias':
: warning: strcpy() is almost always misused, please use strlcpy()
/usr/X11R6/lib/libXfont.so.12.0: warning: rand() isn't random; consider using 
arc4random()
osglue.o(.text+0x212): In function `CloneMyself':
: warning: strcat() is almost always misused, please use strlcat()
connection.o(.text+0xaff): In function `CreateSockets':
: warning: sprintf() is often misused, please use snprintf()
config.o(.text+0xdce): In function `config_set_snf_format':
: undefined reference to `SnfSetFormat'
collect2: ld returned 1 exit status
*** Error 1 in app/xfs/obj (Makefile:502 'xfs')
*** Error 1 in app/xfs/obj (Makefile:948 'all-recursive')
*** Error 1 in app/xfs/obj (Makefile:407 'all')
*** Error 1 in app/xfs (/usr/X11R6/share/mk/bsd.xorg.mk:145 'all')
*** Error 1 in app/xfs (/usr/X11R6/share/mk/bsd.xorg.mk:211 'build')
*** Error 1 in app (bsd.subdir.mk:48 'build')
*** Error 1 in . (bsd.subdir.mk:48 'realbuild')
*** Error 1 in /usr/xenocara (Makefile:36 'build')

Could someone please help me?
-- 
Regards

Henrique Lengler 



Re: modify /etc/ksh.kshrc

2015-02-20 Thread butresin
On 15.02.20Fri 10:11, Todd C. Miller wrote:
 On Fri, 20 Feb 2015 12:06:48 -0500, Ted Unangst wrote:
 
  butresin wrote:
   I surprised on this.
   Why discouraged to modify /etc/ksh.kshrc?
  
  Because you have to be root to do it? Why wouldn't it be better for users to
  edit their own .kshrc?
 
 There's nothing wrong with wanting to have site-specific settings,
 though it would make upgrades simpler to have those in a separate
 file.
 
  - todd
 

Oh, all right, this is soothing.
There are systems, where are 50-100 or so users, that's why i asked.



Re: modify /etc/ksh.kshrc

2015-02-20 Thread Ted Unangst
butresin wrote:
 I surprised on this.
 Why discouraged to modify /etc/ksh.kshrc?

Because you have to be root to do it? Why wouldn't it be better for users to
edit their own .kshrc?



Re: modify /etc/ksh.kshrc

2015-02-20 Thread Todd C. Miller
On Fri, 20 Feb 2015 12:06:48 -0500, Ted Unangst wrote:

 butresin wrote:
  I surprised on this.
  Why discouraged to modify /etc/ksh.kshrc?
 
 Because you have to be root to do it? Why wouldn't it be better for users to
 edit their own .kshrc?

There's nothing wrong with wanting to have site-specific settings,
though it would make upgrades simpler to have those in a separate
file.

 - todd



OpenBSD Iscsid client

2015-02-20 Thread Theron ZORBAS
Hi Misc,

I want to connect a nas device over iscsi under OpenBSD 5.5 amd64.
I have information about nas ip address, chap and share.
I've read man iscsi.conf but there is no part about chap auth. 
Also could not find any working example on net.

Can anyone direct me please?

Thanks
Theron



Re: OpenBSD usb cannot be read on Windows

2015-02-20 Thread A Y
Raimo Niskanen

Thank you very much for the dd command.

 From: afyous...@hotmail.com
 To: ja...@volny.cz
 CC: misc@openbsd.org
 Subject: Re: OpenBSD usb cannot be read on Windows
 Date: Wed, 18 Feb 2015 10:51:45 +

 Jan,Thank you very much for the tool. It is great. I got my 16 G back.
  Date: Wed, 18 Feb 2015 11:26:44 +0100
  From: ja...@volny.cz
  To: afyous...@hotmail.com
  Subject: Re: OpenBSD usb cannot be read on Windows
 
  Hi AY,
 
  you can use HP Storage format tool on Windows, that restores the full
  capacity.
 
 

http://download.cnet.com/HP-USB-Disk-Storage-Format-Tool/3000-2094_4-10974082
 .html
 
  Jan
 
 
 
  On Wed, Feb 18, 2015 at 09:37:31AM +, A Y wrote:
   I used the following command under OpenBSD 5.6:
  
   #dd if=/location/install56.fs of=/dev/rsd1c bs=1m
  
   When I try to reformat it under Windows, it formats only 240 M. So is
it
   possible to format is under OpenBSD so that I can get the full size
(16G)
   back?
  
Date: Wed, 18 Feb 2015 11:17:31 +0200
Subject: Re: OpenBSD usb cannot be read on Windows
From: pr...@kivisoo.ee
To: afyous...@hotmail.com
CC: misc@openbsd.org
   
 I used the dd'' command to make a bootable USB drive. The USB is
 16G.
 After I
 am done with the installation, I want to use the USB under Windows
 for
 other
 purposes. Windows reads only 240 M.
 How can I recover the 16G on the USB?


Reformat it.
   
Priit
  
 
  --
  Be the change you want to see in the world.



Re: OpenBSD Iscsid client

2015-02-20 Thread Claudio Jeker
On Fri, Feb 20, 2015 at 04:32:42PM +, Theron ZORBAS wrote:
 Hi Misc,
 
 I want to connect a nas device over iscsi under OpenBSD 5.5 amd64.
 I have information about nas ip address, chap and share.
 I've read man iscsi.conf but there is no part about chap auth. 
 Also could not find any working example on net.
 
 Can anyone direct me please?
 

iscsid does not support CHAP yet. Disable the auth and it should hopefully
work.

-- 
:wq Claudio



Re: Maintaining your system with snapshots

2015-02-20 Thread Victor Camacho

On 2/20/2015 9:21 AM, Steve Williams wrote:

On 20/02/2015 2:19 AM, lm wrote:

Hi there!

I'm giving a try to snapshots for the first time. The system feels great,
but I'm having some issues trying to maintain base system and ports synced.

I've got a local copy of the complete packages tree for convenience, so I
don't have to update base and ports everytime I want to install a new
package, but it still seems some packages don't match the base system
and they crash.

How do you maintain your system fresh? What do you follow?

Thanks,
Luis

Hi,

I have been using snapshots for my system, but don't update too often.
Sometimes there's a package I want to install, but because my snapshot
is old (stale when compared to the current repository), I can't get the
package.

What I have started to do is download the ports.tar.gz when I install a
snapshot.  I have no idea if this is a supported approach, but I've
never had a problem building from ports when I need something after the
fact.   The downside of doing this is I get MANY packages installed
that are dependencies of building a port.

For example:

 autoconf-2.13p2 automatically configure source code on many Un*x
 platforms
 autoconf-2.52p4 automatically configure source code on many Un*x
 platforms
 autoconf-2.59p3 automatically configure source code on many Un*x
 platforms
 autoconf-2.61p3 automatically configure source code on many Un*x
 platforms
 autoconf-2.64   automatically configure source code on many Un*x
 platforms
 autoconf-2.65   automatically configure source code on many Un*x
 platforms
 autoconf-2.69p0 automatically configure source code on many Un*x
 platforms

Yes, I've had this system going for a while!  lol.

Cheers,
Steve W.




+1
I do the exact same thing.
I have a machine up for couple of weeks and want to add some 
newer software I compile from ports that I had downloaded 
with the snapshot on a test computer. If it works fine, if 
not, I check current snapshot or other version.

To me that freedom is one of the great things about OpenBSD.
Thank you developers!
Victor



Re: OpenBSD Tablet-ish

2015-02-20 Thread Robert
On Fri, 20 Feb 2015 10:34:18 -0500
Kenneth Gober kgo...@gmail.com wrote:
 I didn't reply earlier because I thought the Dell XPS 12 wouldn't meet your
 requirements, but I have booted OpenBSD 5.4 on it, although I did have to
 disable Secure Boot in the BIOS first.  dmesg follows:

Looks like nice hardware. But according to dell.com it has two problems:
1) Starting at 3.35lbs (1.52 kg)
2) = 1.000 USD

I'm curious if OpenBSD runs on one of the current Atom tablets that weight 
~500g and cost 200-300 USD.
(= light and cheap, convenient to carry around).
E.g., the Dell Venue 8 Pro 3000

/Robert



Re: OpenBSD Tablet-ish

2015-02-20 Thread Calvin
Why OpenBSD on a tablet? On a laptop it makes sense, but OpenBSD is not
exactly known for it's touch capability. Even with GNOME 3/KDE, it's
still bit of an odd choice for such HW.

What's the smallest, most tablet-ish device I can put OpenBSD on? Want to 
travel and stay connected.