Re: FreeBSD 13.0 terrible performance in KVM

2021-04-25 Thread Rainer Duffner


> Am 24.04.2021 um 15:03 schrieb Jeff Love :
> 
> I'm running 12.2 and 13.0 on KVM using virtio and zfs. I am not having disk 
> I/O issues.


UFS or ZFS does not make a difference for me.

ZFS is faster on read due to compression - that’s why back in the XenServer 
days I didn’t even realize it until somebody complained.

It’s just a tad laggy in idle or normal conditions, but any kind of IO brings 
the system down to a crawl - and that is noticeable.




___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD 13.0 terrible performance in KVM

2021-04-24 Thread Rainer Duffner


> Am 24.04.2021 um 11:25 schrieb dashdruid via freebsd-stable 
> :
> 
> Hello List,
> 
> I hope some other folks out there running FreeBSD on KVM as well. I set up a 
> base VM while doing so I noticed that the disk operations are very slow. Many 
> times I edit a file in vim or try to run a command there is a huge lag.



It’s a huge and common problem that has been going on for years.
I also had the same problem with XenServer.

You can search bugzilla for „KVM“ bugs, as well as the forums.


Apparently, it was mostly fixed for VMWare, but fixing for KVM is apparently 
very difficult. Even more so as there are many different versions of KVM around 
that all behave differently, depending on how you configure the virtual 
hardware (of which there are endless variations and permutations on how you 
attach with virtual devices to which virtual PCI-bus etc.pp.).
It’s also likely fixed on AWS (but I do not use that, so I hardly care).

E.g. when I created a KVM VM on my local workstation at work, it performed 
identically (more or less) to e.g. a CentOS VM.

However, if I create a VM on our on-premise Openstack cloud, it achieves maybe 
10% or 20% of the disk-IO-speed of a CentOS VM with the same volume type.

There’s some work going on in some differentials, but I haven’t had the time to 
try.

The problem is IMHO that most of the paid developers (for FreeBSD) these days 
either use it on bare metal (hello Netflix, EMC, Netapp, Netgate et.al.) or use 
it inside VMWare, where the main pain-points seem to have been fixed. Or they 
even use FreeBSD’s own hypervisor (bhyve).

It’s a tragedy IMO and it totally rules out FreeBSD here around for almost all 
future use-cases (that are almost certainly moving to Openstack in the future).



___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: freebsd-update and speed

2021-04-19 Thread Rainer Duffner


> Am 17.04.2021 um 23:09 schrieb Cejka Rudolf :
> 
> Did you try aws.update.freebsd.org <http://aws.update.freebsd.org/> also?


The problem with that is that it probably doesn’t have a fixed IP and not all 
our firewalls can whitelist a domain (and freebsd-update doesn’t work through 
our sophos-proxie)….


But thanks for taking update4 out of the rotation, Philip.




Best Regards
Rainer
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: freebsd-update and speed

2021-04-17 Thread Rainer Duffner


> Am 16.04.2021 um 10:17 schrieb Ferdinand Goldmann :
> 
> On Thu, 15 Apr 2021, Rainer Duffner wrote:
> 
>> 
>> 
>> It’s OK-ish most of the time here (CH).
>> 
>> It does *NOT* work through a proxy, due to the use of pipelined 
>> http-requests.
>> 
>> What’s your internet-connection?
> 
> The 10Gbit uplink of my university, directly connected to the internet, not
> behind a proxy. I don't think that's the problem. When update3 was still 
> online
> I'd always use that and updates were really fast back then.
> 
> Now that update3 is gone all update servers seem to be in the US or Australia.
> 
> After waiting for nearly one hour:
> 
> ..853085408550856085708580859086008610862086308640865086608670868086908700
>   done.
> Applying patches... done.
> Fetching 9628 files... gunzip: (stdin): unexpected end of file
> 0a4626107f3700cf5f87bd9c123bf427bd5a8561aadc2eca1d1605465c090935 has 
> incorrect hash.
> 
> This is getting kind of tiresome. :(
> 
> Regards
> Ferdinand




There seems to be a problem with update4.

I now have this, too.


I’m cc-ing clusteradm and dnsadmin, in hope that there’s somebody there who can 
either fix it or take update4 out of the srv record…


:-(

I would rather just mirror the update server but I think this is not supposed 
to be done?





___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: freebsd-update and speed

2021-04-15 Thread Rainer Duffner


> Am 15.04.2021 um 14:20 schrieb Ferdinand Goldmann :
> 
> Hello,
> 
> I've noticed that ever since update3.freebsd.org is gone (which was in Czech
> republic I think), FreeBSD updates are often quite slow for me (= 
> Austria/Europe)
> Especially so for major release upgrades. In fact so slow that I have time
> to type this mail while waiting for '8778 patches'.
> 
> The other day, freebsd-update even suffered a timeout.
> 
> What are other European users experiences and is there anything to do about 
> it?
> 
> Regards
> Ferdinand


It’s OK-ish most of the time here (CH).

It does *NOT* work through a proxy, due to the use of pipelined http-requests.

What’s your internet-connection?


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Update to the 13.0-RELEASE schedule

2021-03-31 Thread Rainer Duffner


> Am 31.03.2021 um 17:58 schrieb Glen Barber :
> 
> A small set of updates that we consider blocking the 13.0 release have
> been brought to our attention.  As such, the 13.0-RELEASE schedule has
> been updated to include a fifth release candidate (RC5).
> 
> The updated schedule is available on the FreeBSD Project website:
> 
> https://www.freebsd.org/releases/13.0R/schedule/
> 
> As usual, we will continue to consider critical bug fixes only for the
> duration of this release cycle.
> 
> Thank you for your cooperation, and for your patience.
> 
> Glen
> On behalf of: re@
> 



The truth is that a lot people don’t really start testing until the later 
release candidates.

So, having more of these release candidates with just refinements is a good 
thing, IMHO.



___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Help with applying a differential

2021-03-22 Thread Rainer Duffner


> Am 22.03.2021 um 17:59 schrieb Warner Losh :
> 
> 
> 
> On Mon, Mar 22, 2021, 10:19 AM Rainer Duffner  <mailto:rai...@ultra-secure.de>> wrote:
> 
> 
> > Am 22.03.2021 um 16:34 schrieb Juraj Lutter  > <mailto:ju...@lutter.sk>>:
> > 
> > 
> > To which branch do you want to apply those patches?
> > 
> > Judging from the original patch date, I’d say that they have been developed 
> > against 13.0 at some point.
> > That being said, you may want to try to apply them manually against 13.0 
> > sources and see if/how they fail.
> > 
> > otis
> 
> 
> Well, I tried this:
> 
> git clone -o freebsd https://github.com/freebsd/freebsd-src.git 
> <https://github.com/freebsd/freebsd-src.git> -b releng/13.0 src
> cd src/sys/dev/smartpqi/
> git apply --check  ~/Downloads/D24428.diff 
> 
> but it doesn’t really make a difference.
> 
> rduffner@suse5:~/f2/src/sys/dev/smartpqi> git apply --check  
> ~/Downloads/D24428.diff 
> error: patch failed: sys/dev/smartpqi/smartpqi_cam.c:231
> error: sys/dev/smartpqi/smartpqi_cam.c: patch does not apply
> error: patch failed: sys/dev/smartpqi/smartpqi_cmd.c:43
> error: sys/dev/smartpqi/smartpqi_cmd.c: patch does not apply
> error: patch failed: sys/dev/smartpqi/smartpqi_defines.h:77
> error: sys/dev/smartpqi/smartpqi_defines.h: patch does not apply
> error: patch failed: sys/dev/smartpqi/smartpqi_discovery.c:62
> error: sys/dev/smartpqi/smartpqi_discovery.c: patch does not apply
> error: patch failed: sys/dev/smartpqi/smartpqi_event.c:35
> error: sys/dev/smartpqi/smartpqi_event.c: patch does not apply
> error: patch failed: sys/dev/smartpqi/smartpqi_helper.c:43
> error: sys/dev/smartpqi/smartpqi_helper.c: patch does not apply
> error: patch failed: sys/dev/smartpqi/smartpqi_init.c:31
> error: sys/dev/smartpqi/smartpqi_init.c: patch does not apply
> error: patch failed: sys/dev/smartpqi/smartpqi_intr.c:32
> error: sys/dev/smartpqi/smartpqi_intr.c: patch does not apply
> error: patch failed: sys/dev/smartpqi/smartpqi_ioctl.h:67
> error: sys/dev/smartpqi/smartpqi_ioctl.h: patch does not apply
> error: patch failed: sys/dev/smartpqi/smartpqi_ioctl.c:53
> error: sys/dev/smartpqi/smartpqi_ioctl.c: patch does not apply
> error: patch failed: sys/dev/smartpqi/smartpqi_main.c:134
> error: sys/dev/smartpqi/smartpqi_main.c: patch does not apply
> error: patch failed: sys/dev/smartpqi/smartpqi_misc.c:39
> error: sys/dev/smartpqi/smartpqi_misc.c: patch does not apply
> error: patch failed: sys/dev/smartpqi/smartpqi_prototypes.h:120
> error: sys/dev/smartpqi/smartpqi_prototypes.h: patch does not apply
> error: patch failed: sys/dev/smartpqi/smartpqi_queue.c:32
> error: sys/dev/smartpqi/smartpqi_queue.c: patch does not apply
> error: patch failed: sys/dev/smartpqi/smartpqi_request.c:47
> error: sys/dev/smartpqi/smartpqi_request.c: patch does not apply
> error: patch failed: sys/dev/smartpqi/smartpqi_response.c:85
> error: sys/dev/smartpqi/smartpqi_response.c: patch does not apply
> error: patch failed: sys/dev/smartpqi/smartpqi_sis.c:77
> error: sys/dev/smartpqi/smartpqi_sis.c: patch does not apply
> error: patch failed: sys/dev/smartpqi/smartpqi_structures.h:29
> error: sys/dev/smartpqi/smartpqi_structures.h: patch does not apply
> error: patch failed: sys/dev/smartpqi/smartpqi_tag.c:73
> error: sys/dev/smartpqi/smartpqi_tag.c: patch does not apply
> 
> where-as for the 12.2-src I get less problems actually:
> 
> rduffner@suse5:~/f2/src-12/sys/dev/smartpqi> git apply --check  
> ~/Downloads/D24428.diff 
> error: patch failed: sys/dev/smartpqi/smartpqi_cam.c:473
> error: sys/dev/smartpqi/smartpqi_cam.c: patch does not apply
> error: patch failed: sys/dev/smartpqi/smartpqi_defines.h:856
> error: sys/dev/smartpqi/smartpqi_defines.h: patch does not apply
> error: patch failed: sys/dev/smartpqi/smartpqi_main.c:312
> error: sys/dev/smartpqi/smartpqi_main.c: patch does not apply
> error: patch failed: sys/dev/smartpqi/smartpqi_mem.c:28
> error: sys/dev/smartpqi/smartpqi_mem.c: patch does not apply
> error: patch failed: sys/dev/smartpqi/smartpqi_misc.c:69
> error: sys/dev/smartpqi/smartpqi_misc.c: patch does not apply
> error: patch failed: sys/dev/smartpqi/smartpqi_queue.c:280
> error: sys/dev/smartpqi/smartpqi_queue.c: patch does not apply
> error: patch failed: sys/dev/smartpqi/smartpqi_request.c:540
> error: sys/dev/smartpqi/smartpqi_request.c: patch does not apply
> 
> 
> I really wonder against what source I need to apply that patch…
> 
> For me, It almost applied cleanly to stable/12 branch, but not to the main 
> branch:
> 
> % find . -name \*.rej
> ./sys/dev/smartpqi/smartpqi_mem.c.rej
> ./sys/dev/smartpqi/smartpqi_queue.c.rej
> ./sys

Re: Help with applying a differential

2021-03-22 Thread Rainer Duffner


> Am 22.03.2021 um 16:34 schrieb Juraj Lutter :
> 
> 
> To which branch do you want to apply those patches?
> 
> Judging from the original patch date, I’d say that they have been developed 
> against 13.0 at some point.
> That being said, you may want to try to apply them manually against 13.0 
> sources and see if/how they fail.
> 
> otis


Well, I tried this:

git clone -o freebsd https://github.com/freebsd/freebsd-src.git -b releng/13.0 
src
cd src/sys/dev/smartpqi/
git apply --check  ~/Downloads/D24428.diff 

but it doesn’t really make a difference.

rduffner@suse5:~/f2/src/sys/dev/smartpqi> git apply --check  
~/Downloads/D24428.diff 
error: patch failed: sys/dev/smartpqi/smartpqi_cam.c:231
error: sys/dev/smartpqi/smartpqi_cam.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_cmd.c:43
error: sys/dev/smartpqi/smartpqi_cmd.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_defines.h:77
error: sys/dev/smartpqi/smartpqi_defines.h: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_discovery.c:62
error: sys/dev/smartpqi/smartpqi_discovery.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_event.c:35
error: sys/dev/smartpqi/smartpqi_event.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_helper.c:43
error: sys/dev/smartpqi/smartpqi_helper.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_init.c:31
error: sys/dev/smartpqi/smartpqi_init.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_intr.c:32
error: sys/dev/smartpqi/smartpqi_intr.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_ioctl.h:67
error: sys/dev/smartpqi/smartpqi_ioctl.h: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_ioctl.c:53
error: sys/dev/smartpqi/smartpqi_ioctl.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_main.c:134
error: sys/dev/smartpqi/smartpqi_main.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_misc.c:39
error: sys/dev/smartpqi/smartpqi_misc.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_prototypes.h:120
error: sys/dev/smartpqi/smartpqi_prototypes.h: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_queue.c:32
error: sys/dev/smartpqi/smartpqi_queue.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_request.c:47
error: sys/dev/smartpqi/smartpqi_request.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_response.c:85
error: sys/dev/smartpqi/smartpqi_response.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_sis.c:77
error: sys/dev/smartpqi/smartpqi_sis.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_structures.h:29
error: sys/dev/smartpqi/smartpqi_structures.h: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_tag.c:73
error: sys/dev/smartpqi/smartpqi_tag.c: patch does not apply

where-as for the 12.2-src I get less problems actually:

rduffner@suse5:~/f2/src-12/sys/dev/smartpqi> git apply --check  
~/Downloads/D24428.diff 
error: patch failed: sys/dev/smartpqi/smartpqi_cam.c:473
error: sys/dev/smartpqi/smartpqi_cam.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_defines.h:856
error: sys/dev/smartpqi/smartpqi_defines.h: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_main.c:312
error: sys/dev/smartpqi/smartpqi_main.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_mem.c:28
error: sys/dev/smartpqi/smartpqi_mem.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_misc.c:69
error: sys/dev/smartpqi/smartpqi_misc.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_queue.c:280
error: sys/dev/smartpqi/smartpqi_queue.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_request.c:540
error: sys/dev/smartpqi/smartpqi_request.c: patch does not apply


I really wonder against what source I need to apply that patch…



Rainer



___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Help with applying a differential

2021-03-22 Thread Rainer Duffner
Hi,

I need help applying this differential


https://reviews.freebsd.org/D24428


Me and a co-worker (who is one order of magnitude better at all things git than 
me) are unable to get this to apply.



rduffner@suse5:~/freebsd-src/sys/dev/smartpqi> git apply --check  
~/Downloads/D24428.diff 
error: patch failed: sys/dev/smartpqi/smartpqi_cam.c:231
error: sys/dev/smartpqi/smartpqi_cam.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_cmd.c:43
error: sys/dev/smartpqi/smartpqi_cmd.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_defines.h:77
error: sys/dev/smartpqi/smartpqi_defines.h: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_discovery.c:62
error: sys/dev/smartpqi/smartpqi_discovery.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_event.c:35
error: sys/dev/smartpqi/smartpqi_event.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_helper.c:43
error: sys/dev/smartpqi/smartpqi_helper.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_init.c:31
error: sys/dev/smartpqi/smartpqi_init.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_intr.c:32
error: sys/dev/smartpqi/smartpqi_intr.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_ioctl.h:67
error: sys/dev/smartpqi/smartpqi_ioctl.h: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_ioctl.c:53
error: sys/dev/smartpqi/smartpqi_ioctl.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_main.c:134
error: sys/dev/smartpqi/smartpqi_main.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_misc.c:39
error: sys/dev/smartpqi/smartpqi_misc.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_prototypes.h:120
error: sys/dev/smartpqi/smartpqi_prototypes.h: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_queue.c:32
error: sys/dev/smartpqi/smartpqi_queue.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_request.c:47
error: sys/dev/smartpqi/smartpqi_request.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_response.c:85
error: sys/dev/smartpqi/smartpqi_response.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_sis.c:77
error: sys/dev/smartpqi/smartpqi_sis.c: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_structures.h:29
error: sys/dev/smartpqi/smartpqi_structures.h: patch does not apply
error: patch failed: sys/dev/smartpqi/smartpqi_tag.c:73
error: sys/dev/smartpqi/smartpqi_tag.c: patch does not apply


I’m sure I’m missing something here.

I tried this on FreeBSD with git from pkg (2.30.1) and the git from OpenSuSE 
15.2 (2.26.2)




Rainer
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: HEADS UP: FreeBSD src repo transitioning to git this weekend

2020-12-23 Thread Rainer Hurling
Am 23.12.20 um 21:55 schrieb Ulrich Spörlein:
> On Wed, 2020-12-23 at 12:19:47 -0800, John Kennedy wrote:
>> On Mon, Dec 21, 2020 at 12:47:38PM -0800, John Kennedy wrote:
>>> On Wed, Dec 16, 2020 at 05:46:35PM -0700, Warner Losh wrote:
>>> > The FreeBSD project will be moving it's source repo from subversion
>>> to git
>>> > starting this this weekend. The docs repo was moved 2 weeks ago.
>>> The ports
>>> > repo will move at the end of March, 2021 due to timing issues. ...
>>>
>>>   I filed Bug 252028 (sys/conf/newvers.sh: git "-dirty" even when
>>> clean),
>>> but that's just a trivial issue with my source tree being marked -dirty
>>> when it isn't, and that would have been part of r368709 anyway.  All my
>>> other git nits have been my own (refs/notes and origin name).
>>
>>  Warner/others, up to r368820, we had log entries that looked like this:
>>
>> commit 3cc0c0d66a065554459bd2f9b4f80cc07426464a
>> Author: Li-Wen Hsu 
>> Date:   Sun Dec 20 02:59:44 2020 +
>> 
>>     Mark the repository as being converted to Git.
>> 
>>     This is the last Subversion commit to src.
>> 
>>     Sponsored by:   The FreeBSD Foundation
>> 
>> Notes:
>>     svn path=/head/; revision=368820
>>
>>  Now, our git logs look like this:
>>
>> commit 17eba5e32a2cf7a217bb9f1e5dcca351f2b71cfc
>> Author: Ed Maste 
>> Date:   Tue Dec 22 23:31:15 2020 -0500
>> 
>>     newvers.sh: fix sense of git dirty check
>> 
>>     Previously we reported -dirty for an unmodified tree, and no
>> -dirty if
>>     there were changes.
>> 
>>     PR: 252028
>>     Reported by:    John Kennedy
>>
>>  (Specifically, no Notes: with revision= value)
> 
> Yes, these notes are merely pointers to the SVN revisions. Without SVN,
> we will of course not get any new notes.
> 
>>  For the kernel I compiled today, the uname output dumps out:
>>
>> FreeBSD 13.0-CURRENT #245 r368820+878d53410f75-c255274(main): ...
>>
>>  Last kernel was (-dirty since fixed):
>>
>> FreeBSD 13.0-CURRENT #244
>> r368820+3cc0c0d66a06-c255241(main)-dirty: ...
>>
>>  So, the r368820-value isn't being updated for it to find anymore. 
>> The middle
>> value corresponds to the git commit and does have value (878d53410f75
>> is your
>> "UPDATING: Announce git transition", 3cc0c0d66a06 was the "Mark the
>> repository
>> as being converted to Git" r368820 commit).
> 
> Yeah, that's a bug in newvers.sh, thanks for pointing that out. It finds
> "some" note in the last 10k revs and then uses that, instead of properly
> falling back to counting from HEAD, which would result in -c255126 or
> something around that.

I built HEAD this afternoon and got 'FreeBSD 13.0-CURRENT #0
92be2847e84-c255272(main): Wed Dec 23 17:39:31 CET 2020'. The counting
seems more correct here?

> We'll fix it ...
> 
> Cheers
> Uli
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: vmware/vmx causing problems

2020-08-10 Thread rainer

Am 2020-08-10 09:03, schrieb Daniel Braniss:
On 10 Aug 2020, at 09:46, Rainer Duffner  
wrote:





Am 10.08.2020 um 07:27 schrieb Daniel Braniss :

hi,
suspend/resume/migrate works fine up to  11.3,
in 12.1 it usually becomes very unresponsive, ping can take several 
minutes after a suspend/migrate.

switching to em works fine.

any ideas on how to save this?




You need to disable snapshotting the memory.


who is snapshotting the memory? and how can I stop it?




Well, if you manually do a snapshot, there's a checkbox which is usually 
checked to snapshot the VMs memory.


I guess when VEEAM does a backup, it doesn't snapshot the memory and 
thus the bug never triggers.


I asked about this on stable a while back, too and got this answer.

Not sure about migrations. I haven't had any problems.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: vmware/vmx causing problems

2020-08-10 Thread Rainer Duffner



> Am 10.08.2020 um 07:27 schrieb Daniel Braniss :
> 
> hi,
> suspend/resume/migrate works fine up to  11.3,
> in 12.1 it usually becomes very unresponsive, ping can take several minutes 
> after a suspend/migrate.
> switching to em works fine.
> 
> any ideas on how to save this?
> 


You need to disable snapshotting the memory.


Migrating still works, I think.




___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Is it me or does FreeBSD (12.1 amd64) hang when I manually snapshot it in VSphere 6.7?

2020-05-22 Thread rainer

Am 2020-05-22 16:01, schrieb Scott:




#metoo:

HV: VMware ESXi, 6.7.0, 11675023
VM: # freebsd-version -kru

12.1-RELEASE-p1

12.1-RELEASE-p1

12.1-RELEASE-p1

# uname -a

FreeBSD XXX 12.1-RELEASE-p1 FreeBSD 12.1-RELEASE-p1 GENERIC  amd64
# pkg info open-vm\*
open-vm-tools-nox11-11.0.1_1,2

doesn't hang but becomes *very* unresponsive over the network.  pings 
are

shot.  Console is fine though.  100% idle on top across 4 cores.  And:

# openssl speed -evp aes-256-cbc
...
1024 bytes block:  542595.18k (1593774 in 3 seconds)

I never noticed that before.  I normally turn off snapshotting the RAM
because it's so much faster and I'm happy with crash consistent 
rollbacks.


Rebooting fixes the awful network behaviour.  I didn't check the disk
subsystem.



OK, I now realized that not snapshotting the memory is way faster and 
doesn't crash the system.


Usually, after I rollback a snapshot I reboot anyway.
Because it was sometimes "funky" in the past, too.


Thanks.

But this should be fixed, too, at some point.



Rainer
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Is it me or does FreeBSD (12.1 amd64) hang when I manually snapshot it in VSphere 6.7?

2020-05-21 Thread rainer

Hi,


subject says it all, basically.

The system becomes totally unresponsive and has to be power-cycled.

da0 at mpt0 bus 0 scbus2 target 0 lun 0
da0:  Fixed Direct Access SCSI-2 device
da0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit)
da0: Command Queueing enabled
da0: 40960MB (83886080 512 byte sectors)
da0: quirks=0x140


This is a bit of a problem here, to say the least.


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: ZFS...

2019-04-30 Thread rainer

Am 2019-04-30 11:05, schrieb Michelle Sullivan:


I wonder what would happen if you scaled that up by just 10 (storage)
and had the master blow up where it needs to be restored from backup..
how long would one be praying to higher powers that there is no
problem with the backup...?



Well, the backup itself takes over a day, AFAIK.

I'm not sure why it is that slow. Maybe the old SAS6 HBAs.

It's also lots of files.


(As in no outage or error causing a
complete outAge.)... don’t get me wrong.. we all get to that position
at sometime, but in my recent experience 2 issues colliding at the
same time results in disaster.  13T is really not something I have
issues with as I can usually cobble something together with 16T.. (at
least until 6T drives became a viable (cost and availability at short
notice) option...  even 10T is becoming easier to get a hold of now..
but I have a measly 96T here and it takes weeks even with gigabit
bonded interfaces when I need to restore.


Those are all SAS drives, actually.
600 and 1200 GB.


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: ZFS...

2019-04-30 Thread rainer

Am 2019-04-30 10:09, schrieb Michelle Sullivan:


Now, yes most production environments have multiple backing stores so
will have a server or ten to switch to whilst the store is being
recovered, but it still wouldn’t be a pleasant experience... not to
mention the possibility that if one store is corrupted there is a
chance that the other store(s) would also be affected in the same way
if in the same DC... (Eg a DC fire - which I have seen) .. and if you
have multi DC stores to protect from that.. size of the pipes between
DCs comes clearly into play.



I have one customer with about 13T of ZFS - and because it would take a 
while to restore (actual backups), it zfs-sends delta-snapshots every 
hour to a standby-system.


It was handy when we had to rebuild the system with different HBAs.


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Observations from a ZFS reorganization on 12-STABLE

2019-03-17 Thread Rainer Duffner


> Am 17.03.2019 um 15:58 schrieb Karl Denninger :
> 
> I've long argued that the VM system's interaction with ZFS' arc cache
> and UMA has serious, even severe issues.  12.x appeared to have
> addressed some of them, and as such I've yet to roll forward any part of
> the patch series that is found here [
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187594 
>  ] or the
> Phabricator version referenced in the bug thread (which is more-complex
> and attempts to dig at the root of the issue more effectively,
> particularly when UMA is involved as it usually is.)
> 
> Yesterday I decided to perform a fairly significant reorganization of
> the ZFS pools on one of my personal machines, including the root pool
> which was on mirrored SSDs, changing to a Raidz2 (also on SSDs.)  This
> of course required booting single-user from a 12-Stable memstick.



Interesting.

The patches published before Christmas 2018 solved all of the problems I had 
(shared by many others, probably also visible on the FreeBSD project’s own 
infrastructure) with 11.2 and 12.0

I run a decently sized syslog-server and the 25MB/s stream of syslog-data was 
killing 11.2 almost instantly.

I have a few 11.2 systems that I haven’t patched yet - but they have north of 
128GB of RAM and ARC had been configured down to 70% long before that - so I 
never saw the issue there.


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: php56

2019-01-13 Thread Rainer Duffner



> Am 13.01.2019 um 18:10 schrieb Daniel Duerr :
> 
> +1 on this request.  I have a mission critical app server running an old PHP 
> 5.6 application which will not work on PHP 7+.  The system is effectively 
> unmaintainable right now in terms of pkg/ports updates.



The quarterly cut (2019Q1) still contains php 5.6

It was deleted form the ports-tree hours later.





___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: php

2019-01-05 Thread Rainer Duffner
Did you open PRs for the ports that don’t compile for you?


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: How do you boot the debug kernel installed from kernel-dbg.txz?

2018-11-06 Thread Rainer Duffner


> Am 07.11.2018 um 01:40 schrieb Pete Wright :
> 
> I may be mistaken, but I don't think you actually need to boot the 
> debug-kernel and modules (in fact I don't think you can), rather those files 
> are intended for being read by kgdb while debugging a core that is generated 
> by savecore(8) so that you have access to full symbol table etc.  this page 
> section in the dev handbook debugging kernel core dumps:
> 
> https://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html
>  
> 
> 
> hope this helps,
> 
> -pete



Yes, you are right.

However obvious it may seem, it isn’t for somebody who’s never really done that…


I asked the same question in my PR and got an answer immediately - didn’t 
expect that to go that fast…



___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


How do you boot the debug kernel installed from kernel-dbg.txz?

2018-11-06 Thread Rainer Duffner
Hi,

I need to install a debug-kernel.

I didn’t install the debug-kernel when I installed the system (11.2), but I 
downloaded the archive.

I can unpack it - but how do I then select the kernel at boot?


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD 11.2 kernel crash when dd

2018-10-19 Thread rainer

Am 2018-10-19 13:10, schrieb Sebastian Wojtczak:

Hi,

I would like to report a kernel crash while dd on ssd drive.




Reducing ARC may help:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231296
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231794

See here:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=163461








___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: 11.2-RELEASE panics with a bit of load

2018-10-04 Thread rainer

Am 2018-10-04 05:53, schrieb Holger Kipp:

Dear Rainer,

if no one else is experiencing these errors, then it is probably a
hardware error.
I had once encountered problems with incompatible memory (combination
of memory (ok with other boards) and board (ok with other memory) did
not work properly). The issue could be triggered with a simple
buildworld within minutes. However memtest86 could run for hours
without finding a thing.
Please don‘t rely on memtest86 if it does not report any problems.

To be sure: check / adjust memory timings, remove and/or replace
memory modules and try to trigger the error again.

Best regards,
Holger Kipp




I have this problem on two machines, actually.
It would be highly unlikely for both to have hardware problems.
Though possible, of course.

Reducing ARC seems to help, though, and I assume that is the problem the 
machine ran into because I still have 29GB out of 32GB wired now, with 
an ARC limited  to 60% of kmem_size.



___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


11.2-RELEASE panics with a bit of load

2018-10-03 Thread rainer
=0xfe084ed93e40, 
usermode=0) at /usr/src/sys/amd64/amd64/trap.c:712
#7  0x80f777f7 in trap (frame=0xfe084ed93e40) at 
/usr/src/sys/amd64/amd64/trap.c:514
#8  0x80f57dac in Xtss_pti () at 
/usr/src/sys/amd64/amd64/exception.S:159
#9  0x80dff90d in vm_page_rename (m=0x3ff, 
new_object=0xf80018d8d000, new_pindex=) at 
/usr/src/sys/vm/vm_page.c:1342
#10 0x80dee7e2 in kmem_suballoc (parent=0x262, min=0x14000, 
max=0x81ebc558, size=874980, superpage_align=out>) at /usr/src/sys/vm/vm_kern.c:290
#11 0x80dee6c0 in kmem_alloc_contig (vmem=0xfe00d59d, 
size=18446744071594296576, flags=, 
low=18446735303990395200, high=257, alignment=18446735278033391616,
boundary=18446735278033391616, memattr=-16 '�') at 
/usr/src/sys/vm/vm_kern.c:254
#12 0x80de6172 in uma_prealloc (zone=0x0, items=1322860228) at 
/usr/src/sys/vm/uma_core.c:3150

#13 0xf806240140f0 in ?? ()
#14 0xfe00c51f357e in ?? ()
#15 0xfe00d59b in ?? ()
#16 0xf8000d460498 in ?? ()
#17 0xf80624014140 in ?? ()
#18 0x02fffe00c520c000 in ?? ()
#19 0xf8000d460480 in ?? ()
#20 0xf8000d4641c0 in ?? ()
#21 0x in ?? ()
Current language:  auto; currently minimal


As I said in the PR, I've had memtest86 running for 8h with no reported 
problem. So I think I can rule out memory problems.


I don't really have any experience debugging panics because in the last 
20-odd years of running FreeBSD, there rarely were any...




Best Regards
Rainer



___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD 11.1-RELEASE-p13 fatal trap 12: page fault while in kernel mode

2018-09-09 Thread Rainer Duffner
After upgrading to 11.2-RELEASE-p2, the server constantly reboots instead of 
hanging at the crash-dump.


Still, I don’t get a crash dump in /var/crash


kern.corefile: %N.core
kern.coredump_devctl: 0
kern.nodump_coredump: 0
kern.coredump: 1
kern.capmode_coredump: 0
kern.sugid_coredump: 0
kern.coredump_pack_vmmapinfo: 1
kern.coredump_pack_fileinfo: 1
debug.ncores: 5
debug.elf32_legacy_coredump: 0
debug.elf64_legacy_coredump: 0
hw.ixl.core_debug_mask: 0


(server ) 0 # grep dump /etc/rc.conf
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev=„AUTO"

(server ) 0 # cat /etc/fstab 
# DeviceMountpoint  FStype  Options DumpPass#
/dev/mirror/swapnoneswapsw  0   0


The server is zfs-only, all the drives hang on said SemiMicro smartpqi 
controller.


I actually have two of these and both randomly reboot every couple of hours. Or 
more like every hour.





___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD 11.1-RELEASE-p13 fatal trap 12: page fault while in kernel mode

2018-09-09 Thread Rainer Duffner


> Am 09.09.2018 um 11:08 schrieb Eugene Grosbein :
> 
> This list strips attachments, so you should upload it somewhere and post a 
> link.



Well actually, the text you get when you post one says it’s awaiting moderator 
approval.

But I found a way to upload it without signing up for some site:

https://ibb.co/nHK9LU








___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


FreeBSD 11.1-RELEASE-p13 fatal trap 12: page fault while in kernel mode

2018-09-08 Thread Rainer Duffner
Hi,

I got a kernel panic

This a a HP Gen10 system.
It has this new Microsemi SAS HBA that only got the driver with 11.2.

It’s running a syslog-server (syslog-ng)

I have attached a screenshot of the panic, hopefully it comes through.


dumpdev is set to „AUTO“, but I don’t find any crashdumps in /var/crash.

dmesg also says it can’t find any crashdumps.




___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: freebsd-update: cannot open patchlist

2018-05-27 Thread Rainer Duffner


> Am 27.05.2018 um 16:28 schrieb Randy Bush :
> 
> indeed, that fixes it.  thank you.


;-)
BTDTGTT

This is (or was) especially a problem with ezjail’s use of freebsd-update.

Most of the time, freebsd-update works - but when it gets confused, the 
quickest solution is often to start from scratch.

Which is a real pain if you need to download through a proxy that doesn’t do 
http-pipelining (like the Sophos UTM née Astaro devices).

IIRC, there’s still no way to disable that behavior.


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: freebsd-update: cannot open patchlist

2018-05-27 Thread Rainer Duffner


> Am 27.05.2018 um 04:05 schrieb Randy Bush :
> 
> # freebsd-update upgrade -r 11.1-RELEASE



Does it still happen when you run

rm -rf /var/db/freebsd-update/*

freebsd-update -r 11.1-RELEASE upgrade

?


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: trying to get sftp-only logins to work with a public keys

2018-05-24 Thread rainer

Am 2018-05-24 13:09, schrieb tech-lists:

Hello list,

I'm trying to get (chrooted) sftp login working with public keys. I
made a sftp-only user which works fine, and is chrooted. I created a
.ssh directory with 770 perms (root:user) and put their public key in
there with 600 perms (user:user) however when trying pubkey auth it
always falls back to keyboard-interactive (which will succeed when the
password is applied). I don't know why in key exchange it says it sent
a packet then didn't. Can anyone help please?




Have you tried chown'ing -R .ssh to the user and the group of the user 
and chmoding -R to 700?


I think these days, ssh is pretty picky about these permissions and 
ownership.



___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Call for Testing: 11.1-RELEASE Meltdown/Spectre mitigation merge

2018-03-13 Thread rainer

Am 2018-03-06 17:41, schrieb Ed Maste:

Background
--

A number of issues relating to speculative execution were found last
year and publicly announced January 3rd. A variety of techniques used 
to

mitigate these issues have been committed to FreeBSD-CURRENT and have
been merged to the stable/11 branch.

The changes will be merged and released as an update to FreeBSD
11.1-RELEASE in the near future, but the candidate patch is now
available for broader testing.




Hi,


would it be possible to provide

a) patched binaries
b) an installer for these binaries
c) a simple tool to backup the original binaries and restore them

?

Ever since binary patches became available, I've not bothered building 
FreeBSD any more.
None of my systems have the source, nor do I want to install it 
anywhere.


I'm also not bothering to install this in a VM - you guys have probably 
done this a few times.






Regards
Rainer
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Now that the meltdown-patches are in STABLE...

2018-02-26 Thread Rainer Duffner
Am I right to assume they aren’t being backported to 11.1 and we have to wait 
for 11.2?


Don’t get me wrong - I’d rather have a stable system when random reboots during 
the daily or weekly runs.

But for my own planing, I’d really like to know what the way forward is going 
to look like.


https://wiki.freebsd.org/SpeculativeExecutionVulnerabilities

Isn’t too helpful in this matter.




___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: 11.2 roadmap - Up to date www.freebsd.org/releng/#schedule?

2018-02-19 Thread rainer

Am 2018-02-19 12:39, schrieb Harry Schmalzbauer:

Dear REs et al.

commit log indicates that 11.2 is going to be on it's way in not too
distant future – my personal interpretation only!

Is https://www.freebsd.org/releng/#schedule up to date?
Or is there a different/better source for such info (for those without
svn accounts)?




Absurdly enough, it's linked on Reddit:

https://www.freebsd.org/releases/11.2R/schedule.html

But not on the main-page...


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: package building performance (was: Re: FreeBSD on AMD Epyc boards)

2018-02-17 Thread Rainer Duffner


> Am 17.02.2018 um 10:09 schrieb Don Lewis :
> 
> It is unfortunate that there don't seem to be any server-grade Ryzen
> motherboards.  They all seem to be gamer boards with a lot of
> unnecessary bling.



That’s because few people use servers to build packages.

Increasingly, all the other things related to a server are becoming important 
(fast memory, fast networking, fast I/O) and because everything else is 
expensive, it’s simply not economical to skimp on the CPU when everything else 
(SSD, 40GB switch ports, rack space etc.pp.) costs the same.


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Ahs anyone run FreeBSD on Epyc ?

2017-12-20 Thread rainer

Am 2017-12-20 14:36, schrieb Pete French:

Just off the phone with the lovely people at Exonetric (my hosting
provider - if you need FreeBSD in the UK then definitely go talk to 
them)

about a hardware refresh, and we are looking at the Epyc chips
from AMD. I have seen comments about people runnng on Zen, but nothing
from people on Epy yet. Anyone tried this ? Any issues I need to
be ware of ? It would be 11.1-STABLE beng run. I have asked for
ealy access to the Azure Eoyc machines to test there too, but have not 
heard

back from Mirosoft about that yet.



https://www.phoronix.com/scan.php?page=article=amd-epyc-bsd=1


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: error instaling any ports

2017-10-17 Thread Rainer Duffner

> Am 17.10.2017 um 19:29 schrieb Denis Granato :
> 
> Hello everyone
> 
> I have a 9.1 freebsd server, and every ports I try to install I get
> the follow error
> 
> 
> 
> 
> 
> 
> 
> *server# cd /usr/ports/devel/subversionserver# make install
> clean"/usr/ports/Mk/bsd.port.mk ", line 1045: Unknown
> directiveUnknown modifier 't'Variable .CURDIR is recursive.server# *
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"



Is this a recent ports-tree?

FreeBSD 9.1 has been out of support for probably the better part of three years.
No chance a current ports-tree is usable on it.

If for whatever reason you insist on staying with 9.1, you should use a 
ports-tree from 9.2-RELEASE or maybe 9.3-RELEASE.



___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Mirror the freebsd-update server?

2017-09-12 Thread Rainer Duffner

> Am 13.09.2017 um 00:09 schrieb Jason Tubnor :
> 
> I found this useful.  I made some adjustments for what I needed but those
> updates are sweet now :-)
> https://wiki.freebsd.org/VladimirKrstulja/Guides/FreeBSDUpdateReverseProxy 
> 

"This is a simple cache. That means it doesn't consider the files as a whole 
repository, which in turn means updates to your cache are not atomic. It'd be 
advised to nuke your cache before your update run, as its point is only to 
retain the files in a local cache for some short period of time required for 
all your machines to be updated.“


The problem is, my updates don’t work that way.

These servers all belong to different customers (well, some have a couple) and 
I can’t patch them in „some short period of time“.
It’s continuous process.
I have other stuff to do. And I have to negotiate downtimes etc.


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Re: Mirror the freebsd-update server?

2017-09-12 Thread Rainer Duffner

> Am 12.09.2017 um 23:45 schrieb Chris Gordon :
> 
> Take a look at https://www.freebsd.org/doc/en/articles/hubs/index.html 
> .  This doc 
> discusses setting up a mirror (found via quick Google search).



Yes, but it doesn’t talk about freebsd-update - which is quite a different 
beast than FTP/WWW mirrors?



___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Mirror the freebsd-update server?

2017-09-12 Thread rainer

Hi,

is it possible or even allowed to just mirror one of the freebsd-update 
servers locally?


I don't want to build the patches myself (I have no custom kernels, but 
best I can do is not completely f' it up - so why bother?).


I have between 100 und 200 servers that need updates - and on upgrades, 
it kind of pulls on my nerves.



Unfortunately, I'm not in a position to cache them via squid or so.


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: HP Smart array P440 support

2017-09-07 Thread Rainer Duffner

> Am 07.09.2017 um 23:13 schrieb Priyadarshana Chandrasena :
> 
> I have not installed FreeBSD using iLo and virtual CD method. I will read
> about this method and try it out. 



You will need an iLO license for that.


Also, enjoy Gen10 servers, where even more features are going to be 
„pay-for-play“.



___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Re: HP Smart array P440 support

2017-09-03 Thread Rainer Duffner

> Am 03.09.2017 um 15:04 schrieb Priyadarshana Chandrasena :
> 
> In UEFI mode the boot process does not read the installation media usb.
> Never booted from the usb in UEFI mode!


Hm. Interesting.
Can you try 11.1 then?

I think I had that problem around the 9.x days, with G7 hardware.
Or I think it was with booting from the emulated CD via iLO.


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: HP Smart array P440 support

2017-09-03 Thread Rainer Duffner

> Am 03.09.2017 um 14:53 schrieb Priyadarshana Chandrasena :
> 
> I have tried to install FreeBSD 10.3 in a HP DL20 Gen 9 server with P440
> smart array. My installation media is in a USB drive.
> 
> In BIOS I set the Boot mode to Legacy boot mode. 



Why?

It should work in UEFI.



That said, we only have DL360 and DL380 here.

Never saw a DL20 besides on slides from HP ;-)



___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: HP Smart array P440 support

2017-09-02 Thread Rainer Duffner

> Am 02.09.2017 um 15:48 schrieb Priyadarshana Chandrasena :
> 
> I have HP DL20 Gen 9 server. But I can not install FreeBSD 10.2 in it. I
> have a HP smart array P440 in my server. I can not find out anywhere if ciss
> driver support include HP Gen 9 storage controllers.  Could you please
> update the ciss driver in 10.3?
> 



Try 10.3

I know the release-notes say nothing about it, but I believe it is supported.

If not that, 11.0 surely does (even though the release-notes don’t mention it, 
either)



___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Re: Question about pmcstat

2017-02-07 Thread rainer

Am 2017-02-07 18:08, schrieb hiren panchasara:



Not sure if it's the mailer or what but it should be '-S' and not '?S'.


Yes, it's the mailer.

Or the cut and paste.

However, I now realize what the problem is:

(freebsd11 ) 64 # pmccontrol -L
SOFT
CLOCK.PROF
CLOCK.HARD
CLOCK.STAT
LOCK.FAILED
PAGE_FAULT.ALL
PAGE_FAULT.READ
PAGE_FAULT.WRITE


This is a XenServer DomU.

It seems, it doesn't really have virtualized performance counters.

On a "real" server, I get lots.


Thanks for your quick tip!



Best Regards
Rainer
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Question about pmcstat

2017-02-07 Thread rainer

Hi,

in Brendan Gregg's tutorial:

http://www.brendangregg.com/blog/2015-03-10/freebsd-flame-graphs.html

it says to run

pmcstat –S RESOURCE_STALLS.ANY -O out.pmcstat sleep 10

However, I get

freebsd11 ) 0 # pmcstat –S RESOURCE_STALLS.ANY -O out.pmcstat 
sleep 10

pmcstat: [options] [commandline]
 Measure process and/or system performance using hardware
 performance monitoring counters.
 Options include:
 -C  (toggle) show cumulative counts
 -D path create profiles in directory "path"
 -E  (toggle) show counts at process exit
 -F file write a system-wide callgraph (Kcachegrind 
format) to "file"

 -G file write a system-wide callgraph to "file"
 -M file print executable/gmon file map to "file"
 -N  (toggle) capture callchains
 -O file send log output to "file"
 -P spec allocate a process-private sampling PMC
 -R file read events from "file"
 -S spec allocate a system-wide sampling PMC
 -T  start in top mode
 -W  (toggle) show counts per context switch
 -a file print sampled PCs and callgraph to "file"
 -c cpu-list set cpus for subsequent system-wide PMCs
 -d  (toggle) track descendants
 -e  use wide history counter for gprof(1) output
 -f spec pass "spec" to as plugin option
 -g  produce gprof(1) compatible profiles
 -k dir  set the path to the kernel
 -l secs set duration time
 -m file print sampled PCs to "file"
 -n rate set sampling rate
 -o file send print output to "file"
 -p spec allocate a process-private counting PMC
 -q  suppress verbosity
 -r fsroot   specify FS root directory
 -s spec allocate a system-wide counting PMC
 -t process-spec attach to running processes matching 
"process-spec"

 -v  increase verbosity
 -w secs set printing time interval
 -z depthlimit callchain display depth


I assume, the event specifier is not correct. Is there a list of the 
valid ones in FreeBSD 11?



What am I missing?



Best Regards
Rainer
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Re: Problem with FreeBSD as a XenServer Guest - how to debug?

2017-02-04 Thread Rainer Duffner

> Am 04.02.2017 um 10:48 schrieb Florian Ermisch 
> <florian.ermi...@alumni.tu-berlin.de>:
> 
> Hi Rainer,
> 
> isn't Amazon AWS xen-based?
> I know Colin Percival (cperciva@) is running 
> tarsnap.com on AWS, maybe he knows how 
> to tune it properly?


It’s not a question of tuning.
It’s a factor of 5 that FreeBSD is slower. On SSDs, it’s 10 to 15x.


> Looks like he's the one providing FreeBSD 
> images for AWS, too: https://aws.amazon.com/marketplace/pp/B01LWSWRED/
> Amazon is probably running a heavily patched
> version of Xen but looking at the images' 
> sysctls & stuff and running one on your Xen-
> Server might provide some insights - or at
> least datapoints.
> 
> And then there's DTrace to dive into the 
> kernel's inner workings*…
> 


Yes, but I don’t even know there to start.
My knowledge of Dtrace is very, very limited.




> Oh, does Xen still provide emulation for other
> storage controllers like SATA or SAS? If so
> you may get an at least bearable performance
> using those.


FreeBSD 10 and 11 contain the „optimal“ support for Xen DomU support out-of-the 
box, AFAIK (the documentation / wiki for Xen is in a horrible state IMO).


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Problem with FreeBSD as a XenServer Guest - how to debug?

2017-02-03 Thread Rainer Duffner
Hi,

I’ve opened a PR on this:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212681

and asked on freebsd-virtualization. But nothing came out of it.

Basically, I/O is very slow inside the FreeBSD guest. Linux guests are OK.
FreeBSD 10 or 11 doesn’t make a difference.
Haven’t been able to try 12.


How can one debug this?




Rainer
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Re: zfs receive leads to a stuck server

2016-11-03 Thread Rainer Duffner

> Am 01.10.2016 um 18:02 schrieb Rainer Duffner <rai...@ultra-secure.de>:
> 
> Hi,
> 
> I posted this before, but I didn’t really get an answer and I’m still looking 
> for ways to debug this.
> 
> I have to servers (HP DL 380 Gen8, 192 GB RAM, 6C CPU).
> I’ve outfitted them with HP’s H22x cards (really OEMed 9207-8x, three 
> altogether) that I recently cross-flashed to LSI’s latest firmware.



And it turns out, using anything branded by HP is just asking for ulcers and 
headaches.

We replaced said HBAs with LSI^WAvago^WBroadcom HBAs - and everything started 
working as it should.
There are still hangs at 03:00 and 04:00 (when the snapshots that got deleted 
on the master get deleted on the slave) - but that's not really a problem 
because they are much shorter than before and nobody is using the system at 
that time.

So, while the H22x-cards are „close enough to a LSI2308-based card so that the 
driver actually thinks it’s a 2308 - they are in fact not.

Also, with the original LSI cards, you can use LSI’s FreeBSD flash utility and 
have a far better life overall.


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

zfs receive leads to a stuck server

2016-10-01 Thread Rainer Duffner
Hi,

I posted this before, but I didn’t really get an answer and I’m still looking 
for ways to debug this.

I have to servers (HP DL 380 Gen8, 192 GB RAM, 6C CPU).
I’ve outfitted them with HP’s H22x cards (really OEMed 9207-8x, three 
altogether) that I recently cross-flashed to LSI’s latest firmware.
They have:
 - 14 600GB SAS disks in their internal cages (2x ZFs mirror to boot from and 
2x RAIDZ2)
 - another 12 1200 GB SAS disks in an external HP 2700 enclosure (2x RAID-Z2)
 - all the RAID Z2s together form a single zpool

These are NFS-servers (master + warm standby) and MySQL slaves.
The client uses the NFS-server and previously used both MySQL-Slaves for SELECT 
queries only (via a middleware that seems to be able to sort this out).

When this system was built, we had twelve single RAID0 logical volumes on HP 
P4x0 RAID-controllers (with 2 GB cache), merged into two RAID-Z2 vdevs for 
storage (and a RAID1 boot-drive).
However, the customer outgrew that solution and because there are no native HP 
utilities for managing the RAID-cards on FreeBSD, each time a drive dies on 
such a setup, you have to reboot the server to make sure ZFS „sees“ the new 
drive (go into adapter BIOS, destroy RAID, create RAID…).

So, I switched to LSI-type JBOD HBAs.
I had to re-install both servers from scratch, obviously, and also upgraded to 
10.3 (from 10.1).


I have zfsnap (sysutils/zfsnap) create hourly, daily and weekly snapshots that 
I transfer via zxfer from server1 to server2.

Previously, this only took a couple of seconds. But since I switched to LSI 
HBAs, it’s taking longer - even though the deltas are really small in most 
cases.
After 03:00 AM, when zfsnap deletes some snapshots on the source system, it 
even takes several minutes to zxfer the snapshots.
At that point, it’s really noticeable that the 2nd system complete freezes. The 
first system (that zfs sends) is absolutely unaffected and continues like 
normal.

I’ve setup a cron-job that outputs iostat and vmstat into second-timestamped 
files and a few seconds after the zxfer starts, it doesn’t generate any new 
files until shortly before it finishes.
With these hangs, the customer can’t use the 2nd MySQL-server and is thus 
unhappy.

I’ve upgraded to 11.0-RELEAE on the 2nd system - but it hasn’t helped (it might 
even be slower actually).

How can I debug this? What’s the best way forward?
I don’t have any ZFS errors (checksum etc.). So, I doubt it’s a cable.


Here’s various system information



ZFS Subsystem ReportSat Oct  1 17:50:48 2016


System Information:

Kernel Version: 1100122 (osreldate)
Hardware Platform:  amd64
Processor Architecture: amd64

ZFS Storage pool Version:   5000
ZFS Filesystem Version: 5

FreeBSD 11.0-RELEASE #0 r306211: Thu Sep 22 21:43:30 UTC 2016 root
 5:50PM  up 2 days, 19:50, 1 users, load averages: 0.11, 0.09, 0.08



System Memory:

0.26%   506.77  MiB Active, 11.52%  21.54   GiB Inact
62.29%  116.49  GiB Wired,  0.00%   0 Cache
25.93%  48.49   GiB Free,   0.00%   0 Gap

Real Installed: 192.00  GiB
Real Available: 99.96%  191.93  GiB
Real Managed:   97.44%  187.01  GiB

Logical Total:  192.00  GiB
Logical Used:   63.53%  121.97  GiB
Logical Free:   36.47%  70.03   GiB

Kernel Memory:  2.15GiB
Data:   98.41%  2.12GiB
Text:   1.59%   35.02   MiB

Kernel Memory Map:  187.01  GiB
Size:   40.16%  75.10   GiB
Free:   59.84%  111.92  GiB



ARC Summary: (HEALTHY)
Memory Throttle Count:  0

ARC Misc:
Deleted:2.16m
Recycle Misses: 0
Mutex Misses:   1.92k
Evict Skips:54.73k

ARC Size:   64.39%  41.21   GiB
Target Size: (Adaptive) 100.00% 64.00   GiB
Min Size (Hard Limit):  36.33%  23.25   GiB
Max Size (High Water):  2:1 64.00   GiB

ARC Size Breakdown:
Recently Used Cache Size:   89.29%  57.14   GiB
Frequently Used Cache Size: 10.71%  6.86GiB

ARC Hash Breakdown:
Elements Max:   5.37m
Elements 

Re: FreeBSD 10.1 can't upgrade to FreeBSD 11-RC1 via freebsd-update

2016-08-21 Thread Rainer Duffner

> Am 20.08.2016 um 22:34 schrieb Doug Hardie <d...@mail.sermon-archive.info>:
> 
> 
>> On 20 August 2016, at 11:50, Rainer Duffner <rai...@ultra-secure.de> wrote:
>> 
>> FreeBSD 10.3 works.
>> 
>> FreeBSD 10.1 complains about a failed integrity check etc (which the EN was 
>> supposed to fix, I assume)
>> 
>> 
>> I did run freebsd-update to update to the latest patch-level and 
>> freebsd-version said, I was on p37.
> 
> I encountered the same issue with 9.x.  The following patch was sent to me:
> 
> --- Comment #5 from Xin LI <delp...@freebsd.org> ---
> (In reply to bc979 from comment #4)
> 
> Can you try applying this? (r279901)
> 
> Index: head/usr.sbin/freebsd-update/freebsd-update.sh
> ===
> --- head/usr.sbin/freebsd-update/freebsd-update.sh  (revision 279900)
> +++ head/usr.sbin/freebsd-update/freebsd-update.sh  (revision 279901)
> @@ -1231,7 +1231,7 @@ fetch_metadata_sanity () {
>   # Some aliases to save space later: ${P} is a character which can
>   # appear in a path; ${M} is the four numeric metadata fields; and
>   # ${H} is a sha256 hash.
> -   P="[-+./:=%@_[~[:alnum:]]"
> +   P="[-+./:=,%@_[~[:alnum:]]"
>   M="[0-9]+\|[0-9]+\|[0-9]+\|[0-9]+"
>   H="[0-9a-f]{64}"
> 
> -- 
> 
> However, it doesn't actually go in 9.x.  The line numbers are very close.  
> Use the comment to find the proper line.  For me it was less than 10 lines 
> before 1231.  I don't keep the source so I just updated 
> /usr/sbin/freebsd-update directly.  The patch worked.
> 



It seems to work, yes.

I think this should be fixed before 11.0-RELEASE becomes available.



Rainer
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


FreeBSD 10.1 can't upgrade to FreeBSD 11-RC1 via freebsd-update

2016-08-20 Thread Rainer Duffner
FreeBSD 10.3 works.

FreeBSD 10.1 complains about a failed integrity check etc (which the EN was 
supposed to fix, I assume)


I did run freebsd-update to update to the latest patch-level and 
freebsd-version said, I was on p37.



___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


I/O is very slow for FreeBSD 10.3 amd64 guest running on Citrix XenServer 6.5

2016-08-17 Thread Rainer Duffner
Hi,

I had to realize this week that my VMs on Citrix XenServer are very slow, 
compared to Linux.

I’m getting maybe 8 or 10 MB/s, wheres an Ubuntu 14 guest gets 110+ MB/s 
(Megabyte).
Independent of the filesystem, just wiping the disks with dc3dd.

This went unnoticed, because not much I/O is done in these VMs. But recently, a 
customer complained and I had to look into it.

The VM is running stock 10.3-RELEASE-p6.

The OS-type is set to FreeBSD 10 64 bit.
Same thing happens with FreeBSD 11-RC1.

This is what I get in 11-RC1 from sysctl:

(freebsd11 ) 0 # sysctl -a |grep xen
kern.vm_guest: xen
device  xenpci
vfs.pfs.vncache.maxentries: 0
dev.xenbusb_back.0.%parent: xenstore0
dev.xenbusb_back.0.%pnpinfo:
dev.xenbusb_back.0.%location:
dev.xenbusb_back.0.%driver: xenbusb_back
dev.xenbusb_back.0.%desc: Xen Backend Devices
dev.xenbusb_back.%parent:
dev.xn.0.xenstore_peer_path: /local/domain/0/backend/vif/245/0
dev.xn.0.xenbus_peer_domid: 0
dev.xn.0.xenbus_connection_state: Connected
dev.xn.0.xenbus_dev_type: vif
dev.xn.0.xenstore_path: device/vif/0
dev.xn.0.%parent: xenbusb_front0
dev.xbd.1.xenstore_peer_path: /local/domain/0/backend/vbd3/245/768
dev.xbd.1.xenbus_peer_domid: 0
dev.xbd.1.xenbus_connection_state: Connected
dev.xbd.1.xenbus_dev_type: vbd
dev.xbd.1.xenstore_path: device/vbd/768
dev.xbd.1.%parent: xenbusb_front0
dev.xbd.0.xenstore_peer_path: /local/domain/0/backend/vbd3/245/832
dev.xbd.0.xenbus_peer_domid: 0
dev.xbd.0.xenbus_connection_state: Connected
dev.xbd.0.xenbus_dev_type: vbd
dev.xbd.0.xenstore_path: device/vbd/832
dev.xbd.0.%parent: xenbusb_front0
dev.xenbusb_front.0.%parent: xenstore0
dev.xenbusb_front.0.%pnpinfo:
dev.xenbusb_front.0.%location:
dev.xenbusb_front.0.%driver: xenbusb_front
dev.xenbusb_front.0.%desc: Xen Frontend Devices
dev.xenbusb_front.%parent:
dev.xs_dev.0.%parent: xenstore0
dev.xctrl.0.%parent: xenstore0
dev.xenballoon.0.%parent: xenstore0
dev.xenballoon.0.%pnpinfo:
dev.xenballoon.0.%location:
dev.xenballoon.0.%driver: xenballoon
dev.xenballoon.0.%desc: Xen Balloon Device
dev.xenballoon.%parent:
dev.debug.0.%parent: xenpv0
dev.privcmd.0.%parent: xenpv0
dev.evtchn.0.%parent: xenpv0
dev.xenstore.0.%parent: xenpv0
dev.xenstore.0.%pnpinfo:
dev.xenstore.0.%location:
dev.xenstore.0.%driver: xenstore
dev.xenstore.0.%desc: XenStore
dev.xenstore.%parent:
dev.xen_et.0.%parent: xenpv0
dev.xen_et.0.%pnpinfo:
dev.xen_et.0.%location:
dev.xen_et.0.%driver: xen_et
dev.xen_et.0.%desc: Xen PV Clock
dev.xen_et.%parent:
dev.granttable.0.%parent: xenpv0
dev.xenpv.0.%parent: nexus0
dev.xenpv.0.%pnpinfo:
dev.xenpv.0.%location:
dev.xenpv.0.%driver: xenpv
dev.xenpv.0.%desc: Xen PV bus
dev.xenpv.%parent:
dev.xenpci.0.%parent: pci0
dev.xenpci.0.%pnpinfo: vendor=0x5853 device=0x0001 subvendor=0x5853 
subdevice=0x0001 class=0x01
dev.xenpci.0.%location: slot=3 function=0 dbsf=pci0:0:3:0 handle=\_SB_.PCI0.S18_
dev.xenpci.0.%driver: xenpci
dev.xenpci.0.%desc: Xen Platform Device
dev.xenpci.%parent:
dev.xen.xsd_kva: 18446735281894703104
dev.xen.xsd_port: 3
dev.xen.balloon.high_mem: 0
dev.xen.balloon.low_mem: 0
dev.xen.balloon.hard_limit: 18446744073709551615
dev.xen.balloon.driver_pages: 0
dev.xen.balloon.target: 2097152
dev.xen.balloon.current: 2096128

I’ve tried switching the „OS Type“ to something like „other PV“ and get a bit 
more throughput. But nowhere near enough to make this useful.

Over at freebsd-xen, Roger thinks it looks right from the FreeBSD-side.

I’m not the administrator of the Xen-Server itself (it’s part of an Apache 
CloudStack private cloud cluster setup), but I can have pretty much any setting 
checked/tried I need.







___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Re: HP DL 585 / ACPI ID / ECC Memory / Panic

2016-05-12 Thread Rainer Duffner

> Am 12.05.2016 um 21:03 schrieb Steven Hartland :
> 
> I wouldn't rule out a bad cpu as we had a very similar issue and that's
> what it was.
>> 




IIRC, the AMD-servers of HP had numerous problems for the first few generations.
Some worked well (I think we have a handful of 385 G1/G2/G5 still running), but 
other would just hang or crash from time to time.
May boss was never too keen on them anyway, so we never had that many to begin 
with.

Plus, HP servers had and have a way of popping when you remove the power from a 
long-running one (that’s probably servers in general).
Most times, it’s only the PSU or a disk, but we’ve also fried NICs by simply 
powering the damn thing off…

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Re: Poll: FreeBSD userbase in 2016

2016-02-26 Thread Rainer Duffner

> Am 27.02.2016 um 00:24 schrieb Andy Farkas :
> 
> On 27/02/2016 13:09, Lucius Rizzo wrote:
>> I am wondering who else (these days) uses FreeBSD commercially and/or any 
>> major names to understand current userbase. Is there any data on this?
>> 
> 
> The FreeBSD web site (https://www.freebsd.org/) has a link on
> the home page:
> 
> "... the platform of choice for many of the busiest web sites ..."
> 
> Try clicking on it.
> 




You can get a sneak-peek from looking at pages like a VendorSummit wiki-page:

https://wiki.freebsd.org/201511VendorDevSummit 



We just use it for servers.
Nothing really earth-shattering.


Almost everything it does could be done by Ubuntu. Or CentOS.
But then we’d have to worry about even more servers with another f*’ing glibc 
bug.

Let’s see how this OpenSSL thing plays out this time….


People seem to be starting to use it in appliances more, in various shapes.


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Re: freebsd-update incorrect hashes

2015-12-23 Thread rainer

Am 2015-12-23 13:25, schrieb Aristedes Maniatis:

I've had problems with freebsd-update for many years now. It is by far
the least reliable component of FreeBSD since I started with the
operating system back at 3.4 in 1999.

Anyhow, I'm usually able to get past the exceedingly slow downloads
and errors to the upgrade process, but this time nothing I do will get
me to the end. I've tried deleting /var/db/freebsd-update but several
hours later I was at the same place again. The internet link is fast,
but with a web proxy in this location, some downloads are slightly
delayed while the virus scanner on the proxy does its thing. Perhaps
3-5 seconds delayed.




The problem is phttpget or the proxy, depending on the point of view.

Some proxies have (had) problems with the pipelined http requests that 
phttpget seems to use.


apt (Debian/Ubuntu) has, too - but they can be disabled altogether 
there.


http://webcache.googleusercontent.com/search?q=cache:OwcOVJamJOoJ:https://www.astaro.org/gateway-products/web-protection-web-filtering-application-visibility-control/55213-http-pipelining-broken-after-upgrade-utm-9-3-a.html+=1=de=clnk=ch

IMO, there should be an option to use wget instead of phttpget. Or at 
least disable the request-pipelining.
There was a PR with patches floating around to make freebsd-update use 
wget, but it never gained traction.


Also, didn't phttpget have problems with proxies needing authentication?
I usually have authentication at the proxy disabled for *.freebsd.org 
for this reason.



___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: After BIOS-Upgrade, I can't (UEFI-) boot anymore

2015-11-18 Thread Rainer Duffner

> Am 18.11.2015 um 14:33 schrieb O'Connor, Kevin 
> :
> 
> 
> 
> From the wiki
> 
> The boot process proceeds as follows:
> 
>UEFI firmware runs at power up and searches for an OS loader in the EFI 
> system partition. The path to the loader may be set by an EFI environment 
> variable, with a default of /EFI/BOOT/BOOTX64.EFI.
> 
>For FreeBSD, boot1.efi is installed as /EFI/BOOT/BOOTX64.EFI.
>boot1.efifat is an image of such a FAT filesystem for use by 
> bsdinstall 
>boot1.efi locates the first partition with a type of freebsd-ufs, and from 
> it loads loader.efi. (This may be a different disk than the one holding the 
> EFI system partition.)
>loader.efi loads and boots the kernel, as described in loader(8).
> 
> So my best guess is that something has been changed by the upgrades and 
> boot1.efi  no longer knows the correct location of  /boot/loader.efi
> 
> You'll have to go digging in the EFI system partition to work out what has 
> changed. (I assume you have done an automated install of the HP support DVD 
> and upgraded the array controller and the HDD microcode etc.)
> 
> Kevin
> 




I’ve figured it out already (after sleeping a few hours and looking at it all 
morning.

The system contains an additional controller (H240, in JBOD mode) that hosts 
another 8 disks.
The first of these disks previously (and briefly) housed another FreeBSD 
installation, with the GPT etc. that comes with it.
Even though it was now part of a zpool, the labels etc. persisted. I had 
forgotten about this...
Upon the BIOS upgrade, the system suddenly started looking at this disk, too 
and tried to boot from it.

I had to offline the disk, remove the partitions and the GPT and online the 
disk again - and then it would boot again.




___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

After BIOS-Upgrade, I can't (UEFI-) boot anymore

2015-11-17 Thread Rainer Duffner
Hi,

I have a HP DL380 G9, that I boot from an internal SmartArray Controller 
provided RAID1 into FreeBSD 10.1 amd64.

I have upgraded the BIOS to the 2015-10 release and on reboot, I now get a 
message that

/boot/loader.efi 

can’t be found.

I can legacy boot it into mfsbsd and the file is there.

How can I fix this?
Or how can I debug this and why is this failing in the first place?



Rainer

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

ZFS UEFI boot?

2015-09-20 Thread Rainer Duffner
Hi,

according to the wiki:

https://wiki.freebsd.org/UEFI#Tasks 

it’s still unsolved and hasn’t even been started.


According to the status report:

https://www.freebsd.org/news/status/report-2015-04-2015-06.html#ZFS-Support-for-UEFI-Boot/Loader
 


some work has been done.

https://lists.freebsd.org/pipermail/freebsd-hackers/2015-March/047486.html 



The reason I’m asking is that all of our servers are HP DL 3[6|8]0 Gen9.
These servers only support UEFI boot (you can set them to legacy-boot only for 
the next reboot).
I would assume this to be true for more and more servers.

I was playing with the idea of replacing the P440 controllers that we normally 
buy for these servers with the H240 controllers (these can be put into a so 
called „HBA mode“  and then present each disk directly, making them better 
suited for ZFS).

However, the server still only boots with UEFI.

And ZFS I want primarily to leverage beadm across all our servers...







___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Re: pkg does bad things after upgrade from 8.4 to 9.3

2015-09-09 Thread Rainer Duffner

> Am 09.09.2015 um 17:45 schrieb Michael R. Wayne <freebs...@wayne47.com>:
> 
> On Tue, Sep 08, 2015 at 11:06:02PM +0200, Rainer Duffner wrote:
>> 
>>> Am 08.09.2015 um 22:55 schrieb Michael B. Eichorn <i...@michaeleichorn.com>:
>>> 
>>> But you must reinstall everything. You upgraded your ABI going 8->9 so
>>> everything needs rebuilt/reinstalled. See next.
>> 
>> Exactly.
>> Or unpack the compat8x package by hand.
> 
> Explain this please?


If you don’t delete the old libraries, you don’t need that.
You can untar any package (it’s just a tar.xz).



> 
>> Or don???t delete the old libraries upon upgrading???
> 
> We never delete the old libraries. So the old binaries function.
> But, the goal is to migrate to 9.X executables over time. The
> motivation for this is that upgrading something almost always breaks
> things and it is MUCH easier to deal with these breakages incrementally
> over several days, rather than having everything broken at once.
> 



How about a test-system?


> Note that NONE of this explains why pkg would delete ANYTHING. I
> can (sorta) see that upgrading bash says I have to upgrade mutt
> (but, really, it should just install a new library for bash and let mutt
> run on the old one) but can not think of a reason it would remove
> it!


It deletes the old packages, usually.
Unless it can’t find a replacement. Then (IIRC), it just leaves the package as 
is.

This is really just a case of „you’re holding it wrong“ IMO.

pkg has a few problems, still - but most of them are inherent to the way and 
the speed that the ports-tree evolves (IMO) and you can’t catch every corner 
case.

That’s why you build your own packages, run your own repository and install all 
the same packages on every host so that your upgrades always work the same and 
you test it on a few test-servers, then the "guinea-pig“ servers and then the 
rest.

I’ve got a hundred (more or less) FreeBSD servers and jails with pkg - and 
there’s been maybe a handful of structural problems since I started using it.
At some point (maybe during a rename) mysql-server was deleted but not 
upgraded. Big deal, you install it again, start it, run mysql-upgrade and all 
is peachy again.

Compared to the nightmare of upgrading more than a handful of servers with the 
old pkg_ tools, this is like a walk on the beach.





___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Re: pkg does bad things after upgrade from 8.4 to 9.3

2015-09-08 Thread Rainer Duffner

> Am 08.09.2015 um 22:55 schrieb Michael B. Eichorn :
> 
> 
> 
> But you must reinstall everything. You upgraded your ABI going 8->9 so
> everything needs rebuilt/reinstalled. See next.
>> 


Exactly.
Or unpack the compat8x package by hand.
Or don’t delete the old libraries upon upgrading…


>> 
> 
> There is pkg-lock(8) but dont do it. You really need to upgrade it all
> for a major version change.
> 



The valid use-case for pkg-lock is (IMO) if you want to downgrade.
I follow the quarterly cuts of the ports-tree and build my own repo.
If I need to downgrade from Q3 to Q2, I usually lock pkg only and do a pkg 
upgrade -f
The lock „survives“ even the -f.
The previous pkg may have problems reading the new pkg database created by the 
new pkg….
Locking anything else besides pkg is just a way to get unhappy.

If you have more than a handful machines or are not content with the packages 
provided by FreeBSD, running your own repo is a must IMO.

For our Ubuntu and CentOS-servers at work, we don’t do the builds ourselves  - 
but we still run our own mirror that is updated at our own schedule (so that 
servers are on a defined patch-level).




___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Re: GPU suggestion: gtx 750ti

2015-09-04 Thread Rainer Hurling
Am 04.09.2015 um 18:11 schrieb Dot Yet:
> Seems 950 is supported now though:
> 
> http://www.nvidia.com/download/driverResults.aspx/90283/en-us

Yes, there is a binary driver for 950 at NVidia, but AFAIK it does not
exist as a port on FreeBSD until now.

Because there a some new internal changes in the driver and its file and
directory structure, the port has to be adopted to these changes. O.
Hartmann makes a suggestion for a patch almost one month ago [1].

HTH,
Rainer

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202228

> 
> thx.
> .
> 
> On Fri, Sep 4, 2015 at 3:38 PM, Dot Yet <dot@gmail.com> wrote:
> 
>> makes sense. I am very likely to revert back to haswell when support for
>> it is there and move this card over to one of the other machines.
>>
>> so, based on what you said, for now 950 is not an appropriate choice? is
>> it correct?
>>
>> thx.
>> .
>>
>> On Fri, Sep 4, 2015 at 11:15 AM, Jan Bramkamp <cr...@rlwinm.de> wrote:
>>
>>>
>>>
>>> On 04/09/15 16:34, Dot Yet wrote:
>>>
>>>> Hello,
>>>>
>>>> I currently run haswell based desktop and am planning to add a second gpu
>>>> to get decent graphics functional. I am thinking about purchasing nvidia
>>>> gtx 750ti. can anyone confirm if its supported by drivers and is capable
>>>> of
>>>> hardware acceleration? if not, what current day gpu should i look for? I
>>>> am
>>>> not a gamer, but I do like watching 1080p movies/trailers etc.
>>>>
>>>> Please let me know.
>>>>
>>>
>>> Yes a Nvidia GTX 750ti is supported by the closed source binary driver
>>> according to https://www.nvidia.com/download/index.aspx (enter your data
>>> and you end up at
>>> https://www.nvidia.com/download/driverResults.aspx/90283/en-us).
>>>
>>> A GTX 750ti is a bit overpowered for light desktop and media usage but
>>> based on a dated microarchitecture and lacks hardware support for the
>>> upcoming h.265 video codec.
>>>
>>> Nvidia drops support for old hardware in their driver from time to time
>>> and newer chips have a lower idle power consumption for a given peak
>>> performance so you might want to look for a GPU with a newer
>>> microarchitecture. The GTX950 would be a good fit but the nvidia driver
>>> port is not yet up to version 352.41 which adds support for the GTX950.

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: SSH Chroot FreeBSD 10.1 and 10.2

2015-08-22 Thread Rainer Duffner

 Am 22.08.2015 um 15:45 schrieb Brandon Allbery allber...@gmail.com:
 
 On Sat, Aug 22, 2015 at 9:32 AM, Johan Hendriks joh.hendr...@gmail.com
 wrote:
 
 chroot is what it says on the tin: once set, the specified directory is
 /. Every file accessed from that point on MUST be available from a tree
 in which the specified chroot directory is /. This includes symlinks ---
 symlink resolution doesn't get to see outside the specified / any more
 than anything else running in the chroot does, so you cannot simply symlink
 to a file outside the chroot. (Hard links are fine, since they are actually
 by inode number; they just have to be on the same partition.)


I found it’s much easier to have actual chroot’ed ssh users once the users 
themselves are in an LDAP-directory.
Also, for doing anything useful on that shell, it turned out you need a some 
more devices in /dev than the usual chroot (like a chroot’ed PHP-FPM, that just 
needs the dev-set of jail(4)).
And a couple of symlinks.

I’ve done this once for a customer (chroot’ed ssh accounts) and unless this 
gets more easier in the future, I’ve made a note to myself to not do that again 
any time soon.

I hadn’t thought of just using /rescue (I would nullfs-mount it into your 
target-directory, else you’ve got to copy it again every time you run 
freebsd-update).
But in my php-fpm chroots, I also need stuff from packages (ImageMagick, most 
notably).
I end up nullfs-mounting most of the system (except /sbin directories) into the 
various chroots, but I was always looking for a better approach.

It’s all a bit of an hack, with lots of stuff borrowed from ezjail ;-)

The big advantage of using nullfs mounts is that I don’t have to think about 
updating the chroots if I update the packages (except /var/run/ld-elf*).


Thinking about this: now that we have pkg - would pkg -c (chroot) also create 
the SQLite DB inside the chroot?



Regards,
Rainer
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org

Re: freebsd-update upgrading 9.2 - 9.3

2015-06-14 Thread Rainer Duffner

 Am 14.06.2015 um 15:46 schrieb Dave Duchscher da...@nostrum.com:
 
 Trying to upgrade a system from 9.2 - 9.3 with freebsd-update and I get the 
 output below.  Search has seen reports but not solutions.  I also tried 
 upgrading to 10.1 and seeing similar issue those the No such file or 
 directory error only shows up once but is asking for me to manually merge 
 lots of unmodified files in /etc.
 
 Anybody have a clue on what is going wrong?



Are you on the latest patch-level for 9.2?




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


Re: freebsd-update upgrading 9.2 - 9.3

2015-06-14 Thread Rainer Duffner

 Am 14.06.2015 um 20:51 schrieb Dave Duchscher da...@nostrum.com:
 
 On Jun 14, 2015, at 8:59 AM, Rainer Duffner rai...@ultra-secure.de wrote:
 
 
 Am 14.06.2015 um 15:46 schrieb Dave Duchscher da...@nostrum.com:
 
 Trying to upgrade a system from 9.2 - 9.3 with freebsd-update and I get 
 the output below.  Search has seen reports but not solutions.  I also tried 
 upgrading to 10.1 and seeing similar issue those the No such file or 
 directory error only shows up once but is asking for me to manually merge 
 lots of unmodified files in /etc.
 
 Anybody have a clue on what is going wrong?
 
 
 
 Are you on the latest patch-level for 9.2?
 
 Looking, I am not at the latest version. Trying to upgrade to the latest 
 version breaks things (ssh is the main thing, missing libssh.so.5 errors). 
 Ignoring the breakage, I get the same errors. Using the freebsd-update script 
 from the latest 9.2 doesn't help.
 
 I am guessing a rebuild of the system is necessary. That may have to wait for 
 another day.  Thankfully, I can rollback.
 
 --
 Dave
 


Sometimes, there are updates for freebsd-update itself that are required for a 
-r upgrade.

So, it’s IMO good practice to update to the latest patch level and then do the 
upgrade.
Or at least get the latest version of freebsd-update from somewhere else and 
use that.



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

Re: CARp comatibility between 9 and 10

2015-06-07 Thread Rainer Duffner

 Am 07.06.2015 um 12:33 schrieb Pete French petefre...@ingresso.co.uk:
 
 I have a pair of firewalls running FreeBSD 9 to upgrade
 to 10 next week. I know CARp was rewritten, but I was wndering a few
 things before I started. Mainly is it possible to have one
 machine running 9 and one running 10 with the failover working
 between themproperly. The reason I am wondering s that on 10 it appears
 you set a VHID per IP address, whereas on 9 it is per interface. I have
 multiple IP addresses on the carp interfces on 9, so on 10 can I simply
 set them up all with the same VHID, or is that not supported ?
 
 Thanks for any avice which might make Monday morning back in the office
 go a bit easier :)
 



I did this a while ago - and it actually worked.
(CARP between 9 and 10).

I think I have each IP assigned its own VHID, though.




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


Re: Some PR never seen to delete

2013-09-01 Thread Rainer Hurling
Am 01.09.2013 16:20, schrieb Eitan Adler:
 On Sun, Sep 1, 2013 at 3:53 AM, David Demelier demelier.da...@gmail.com 
 wrote:
 On 30.08.2013 22:30, Jakub Lach wrote:
 Why would you want to have valid ones closed?


 They are not all valids anymore.
 
 For these, they should be closed.
 
 I closed
 
 2010/09/16 kern/150628 [acd] [ata] burncd(1) can't write to optical drive
 2011/01/25 ports/154288 glewis[patch] games/nethack*: remove old ports
 and cleanup latest
 2012/12/23 ports/174650 xfcex11-wm/xfce4 crash with
 
 Which of the others are completely invalid now (as opposed to just old?)

May I suggest two ports more, which were not mentioned on the list before:

2013/07/30 ports/180945: gdal-1.10.0 committed on 20130821.
2013/08/30 ports/181667: openoffice-devel fix committed on 2013/08/31

 
 For the other, they are
 almost 3 years old.
 
 Merely being old doesn't mean they won't be fixed: I have committed
 fixes for 10 year old PRs. ;)
 

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


Re: OVH KS-2G Random Reboots [FreeBSD 9.1-RELEASE-p6]

2013-08-29 Thread Rainer Duffner

Am 29.08.2013 um 23:09 schrieb Paul Chakravarti paul.chakrava...@gmail.com:

 
 Hello,
 
 I was wondering if anyone else is having reboot issues running FreeBSD 9.1 on 
 the OVH KS-2G low-cost dedicated servers (amazingly cheap at £2.49/month - 
 see http://www.ovh.co.uk/dedicated_servers/kimsufi.xml). 
 
 I am running FreeBSD 9.1-RELEASE-p6 and am getting multiple random reboots 
 daily (sometimes hours apart, sometimes minutes).
 
 Unfortunately there is no evidence anywhere on the system of the cause of 
 these, in particular nothing at all in logs other then the kernel coming back 
 up and nothing in /var/crash (I do have dumpdev=AUTO in rc.conf). 
 
 I am running the standard kernel updated by 'freebsd-update' and have removed 
 the OVH RTM stuff. There is no particular load on the system at the time.
 
 I suspect that it might be a hardware issue however have tried extended runs 
 (upto 8 hours) of 'cpuburn' and 'stress' from ports which run fine. Strangely 
 there seem to be less reboots under heavy load but that may just be 
 perception.



Could it be that under heavy load, the fans spin up and then the whole rig is 
actually cooler?

Sounds weird, I know. But that was the very first thought that crossed my mind.

Can't you just rent another one, transfer your data and then cancel the 
contract on the first?

That way, you really get a different rig ;-)


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


Re: Please remove Perl from ports

2013-08-01 Thread Rainer Duffner
Am Thu, 1 Aug 2013 11:32:47 -0700 (PDT)
schrieb Chris H bsd-li...@1command.com:

 Greetings Stephen, and thank you for your thoughtful reply.
  On 08/01/2013 10:31 AM, Chris H wrote:
 
  So, in the end; why did Perl have to be relocated? Is my only
  recourse at this point to
  # cd /
  # rm -rf .
 
  When I get into this kind of bad situation, I usually do something
  slightly less drastic:
  # pkg_delete -a
  # find -d /usr/local -type d -exec rmdir {} \;
  This last command removes empty directories in /usr/local (it also
  produces lots of error messages when it tries to remove non-empty
  directories).  Then I look through the contents of /usr/local,
  especially if there is anything in /usr/local/etc
  or /usr/local/libexec where some of my manually changed
  configuration files reside.  And then I delete any crud left over
  that I know I don't need.
 
  After that, I rebuild all the ports from scratch.
 
  Finally, I do understand why you feel the need to vent, and I don't
  want to belittle your feelings of frustration.  But I do think
  everyone is trying their best.
 I believe this for the most part, as well. Being, and having been
 involved in a vast multitude of large projects, over the years. Has
 given me a keen understanding of all the burdens, one can come to
 expect. The many, many hours w/o sleep. The seemingly never ending
 stress that comes from frequently running right up to, or beyond
 deadlines. Having to greet rabid users with a calm tone, and a smile.
 As such, and with the nearly 30yrs. using *BSD, I have come to expect
 quite a bit more, than I have experienced, in recent months. Make no
 mistake; I have no intention of throwing the baby out w/ the bath
 water here. But *recent* changes have given me cause for alarm. That
 the BSD I have come to know, love, and greatly depend on. Is becoming
 something *quite* different. And if I don't say something, how will
 those the make the changes know what their user base thinks? How will
 they know what affects those changes has on them? Frankly, I *still*
 have no idea why it was _so_ important to change the install
 structure for Perl on FreeBSD. 


I don't know either (I've yet switch-over allmost all my systems), but I
do believe that with the availability of pkgng, users who don't use it
are in for a _very_ rough ride. It's not written out anywhere
(TTBOMK), but the writing is on the wall.

That said, I honestly think that without pkgng, we ($work) would have to
ditch FreeBSD almost completely - simply because /usr/sbin/pkg_* are
useless once the number of systems you have outnumbers the number of
fingers on one hand.
While a case can be made that a lot of the problems can be scripted
around, a similar case can be made that all of it *just works* in
Ubuntu-land - and that even relieves you of the burden to build the
packages via poudriere (which is quite a bit of work, if you try to
bring some sense of API-stability to your systems by not just svn
up'ing ports every day and building that).


Transisition to pkgng has been very smooth for us, BTW.





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


Re: ZFS Panic after freebsd-update

2013-07-01 Thread Rainer Duffner

Am 01.07.2013 um 20:56 schrieb Steven Hartland kill...@multiplay.co.uk:

 - Original Message - From: Scott Sipe csco...@gmail.com
 So I realize that neither 8.2-RELEASE or 8.4-RELEASE are stable, but I
 ultimately wasn't sure where the right place to go for discuss 8.4 is?
 Beyond the FS mailing list, was there a better place for my question? I'll
 provide the other requested information (zfs outputs, etc) to wherever
 would be best.
 This is a production machine (has been since late 2010) and after tweaking
 some ZFS settings initially has been totally stable. I wasn't incredibly
 closely involved in the initial configuration, but I've done at least one
 binary freebsd-update previously.
 Before this computer I had always done source upgrades. ZFS (and the
 thought of a panic like the one I saw this weekend!) made me leery of doing
 that. We're a small business--we have this server, an offsite backup
 server, and a firewall box. I understand that issues like this are are
 going to happen when I don't have a dedicated testing box, I just like to
 try to minimize them and keep them to weekends!
 It sounds like my best bet might be to add a new UFS disk, do a clean
 install of 9.1 onto that disk, and then import my existing ZFS pool?
 
 There should be no reason why 8.4-RELEASE shouldn't work fine.
 
 Yes ZFS is continuously improving and these fixes / enhancements first hit
 head / current and are then MFC'ed back to stable/9  stable/8, but that
 doesn't mean the release branches should be avoided.
 
 If you can I would try booting from a 8.4-RELEASE cdrom / iso to see
 if it can successfully read the pool as this could eliminate out of sync
 kernel / world issues.



Personally, I find mfsbsd much more practical for booting up a 
rescue-environment.
Also, if 8.4 does not work for some reason - maybe try 8.3?

I have quite a lot of systems running 8.3 (and even more with 9.1) but none of 
them do zfsroot and none of them stresses ZFS very much.
I've so far resisted the urge to update to 8.4.

The reason why I would be interested to run zfs-root is that sometimes, you 
only have two hard drives and still want to do ZFS on it.

Ideally, though, FreeBSD would be able to do something like SmartOS (one of the 
few features I kind of like about it…), where you boot from an USB-image (or 
ideally, via (i)PXE) but use all the available space for data and (3rd-party) 
software. That way, you always have something to boot from, but can maximize 
the usage of spindles and space.
A basic FreeBSD install is, I think, less than 0.5G these days - I really hate 
wasting two 300 (or even 600) GB SAS hard disks just for that.


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


Problem with ftp-proxy

2013-06-18 Thread Rainer Duffner
Hi,


I use ftp-proxy, together with the patch that starts multiple instances:

http://www.freebsd.org/cgi/query-pr.cgi?pr=conf/158171

I use it in a combination with pure-ftpd on the backend-server.

on the proxy:

 1434 ??  Ss   0:17.06 /usr/sbin/ftp-proxy -vv -b 127.0.0.2 -R 192.168.91.42
92144 ??  Ss   0:00.06 /usr/sbin/ftp-proxy -vv -b 127.0.0.1 -R 192.168.91.41


Originally, the proxy was on FreeBSD 8.3.
A while ago, I updated it to FreeBSD 9.1.

Now, the customer, who hadn't logged in for a while complained that
while they could still login, it was not possible to view contents of
directories or transfer files.

I have the following pf.conf:



ext_if=em0
int_if=em1
backend_ip=10.10.113.70
ftp_host_prod=192.168.91.41
ftp_host_test=192.168.91.42
proxyip_prod=127.0.0.1
proxyip_test=127.0.0.2

nat-anchor ftp-proxy/*
rdr-anchor ftp-proxy/*
nat on $ext_if from !($ext_if) - ($ext_if:0)
# didn't have the above line previously, but it does not make a
difference
rdr pass log proto tcp from any to EXT_IP_PROD port ftp -
$proxyip_prod port 8021
rdr pass log proto tcp from any to EXT_IP_TEST port ftp -
$proxyip_test port 8021

anchor ftp-proxy/*
pass out log proto tcp from $backend_ip to $ftp_host_prod port 21
pass out log proto tcp from $backend_ip to $ftp_host_test port 21


I tried switching pure-ftpd on the backend-server to FreeBSD's ftpd,
but that didn't change anything.

There is both an additional firewall in front of the proxy and in front
of the backend-server - but they don't log any denied traffic.
Neither does pf.

When I connect to the EXT_IP_PROD on the proxy itself and try to list
files, it takes a while before a timeout occurs, and then, on the 2nd
try, it actually works.




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


Re: Problem with ftp-proxy

2013-06-18 Thread Rainer Duffner

Am 18.06.2013 um 13:32 schrieb Mark Felder f...@feld.me:

 On Tue, 18 Jun 2013 06:11:43 -0500, Rainer Duffner rai...@ultra-secure.de 
 wrote:
 
 Hi,
 
 
 I use ftp-proxy, together with the patch that starts multiple instances:
 
 
 I recommend avoiding ftp-proxy and setting up static rules that you know will 
 work. On our systems in pure-ftpd.conf we set
 
 PassivePortRange  3000 3200
 
 and then on the system's firewall and every firewall in front we pass through 
 ports 3000-3200. It's a simple solution that's guaranteed to work, and you 
 don't have to debug what the proxy is doing.
 
 Also, most ftp-proxy software tends to do a very bad job once you start 
 throwing in FTPES. We see this with customer firewalls all the time. These 
 firewall services under the guise of proxys, fixups, or Application 
 Layer Gateways are just inconsistent and unreliable no matter which vendor 
 supplies it.
 
 Note, you may have to make the range larger if you expect more than 200 
 concurrent sessions.



Hi,

thanks for the hint.

I didn't get that to work right away, either….

But while I worked through various documentations and tutorials, I checked if
net.inet.ip.forwarding
was actually set to 1.
It wasn't, even though sysctl.conf had it set.


After re-applying it, things started to work again…



Best Regards,
Rainer
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


How to get pkgng work through a proxy?

2013-05-14 Thread Rainer Duffner
Hi,

I have this host (a cloned VM, FreeBSD 9.1 AMD64) behind an Astaro
Web-Proxy:


(blahost /root) 70 # pkg
update
[12:00] Updating repository catalogue
repo.txz3%
10KB   0.5KB/s   0.0KB/s - stalled -pkg:
http://pkgng.our.repo/91amd64-91patch/repo.txz: Operation timed out


It's a proxy with authentication.

I'm not sure if it's a fetch(3) problem in general.
Because a single fetch from the same server of a small and large file
does work, though a bit slow.

pkg is 1.0.2







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


Re: Why does poudriere always rebuild nginx and GraphicsMagick13?

2013-02-14 Thread Rainer Duffner

Am 12.02.2013 um 23:11 schrieb Baptiste Daroussin b...@freebsd.org:

 On Tue, Feb 12, 2013 at 10:59:28PM +0100, Rainer Duffner wrote:
 Hi,
 
 poudriere 2.2 here, running on 9.1-amd64
 
 Of the 730-ish ports, whenever I run a build, it always rebuilds the above 
 two ports.
 Even if nothing changed.
 
 Is there are specific reason for this?
 
 I don't really mind nginx, because it builds so quickly - but GraphicsMagick 
 takes a bit too long.
 
 2.2 is so old :)
 please upgrade to at least 2.3.1, lots of things as been fixed since, and soon
 2.3.2 with lots of other bug fixes.
 
 I'm sure 2.3.1 fixes your problems, or at least will explain you why something
 is rebuilt (it is now explained during the sanity check)
 
 regards,
 Bapt



Hi Baptiste,

so I upgraded to 2.3.1 but it still rebuilds those two ports every single time 
I run a bulk build.

…
 Options changed, deleting: GraphicsMagick-nox11-1.3.16_1.txz
 Options changed, deleting: nginx-1.2.6,1.txz
...


drwxr-xr-x  2 root  wheel  512 Dec 21 09:20 GraphicsMagick/
drwxr-xr-x  2 root  wheel  512 Dec 21 09:20 GraphicsMagick13/
drwxr-xr-x  2 root  wheel  512 Dec 21 09:20 nginx/


Somehow, it thinks the options have changed.
Maybe, the options-file has an error?



Regards,
Rainer

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


Re: Why does poudriere always rebuild nginx and GraphicsMagick13?

2013-02-14 Thread Rainer Duffner
 
 
 Hi Baptiste,
 
 so I upgraded to 2.3.1 but it still rebuilds those two ports every single 
 time I run a bulk build.
 
 …
  Options changed, deleting: GraphicsMagick-nox11-1.3.16_1.txz
  Options changed, deleting: nginx-1.2.6,1.txz
 ...
 
 
 drwxr-xr-x  2 root  wheel  512 Dec 21 09:20 GraphicsMagick/
 drwxr-xr-x  2 root  wheel  512 Dec 21 09:20 GraphicsMagick13/
 drwxr-xr-x  2 root  wheel  512 Dec 21 09:20 nginx/
 
 
 Somehow, it thinks the options have changed.
 Maybe, the options-file has an error?
 


OK, another issue crept up.

I started to build www/rt40 and it worked - until I updated it to the latest 
commit.
Now I get:

 [02] Finished build of www/rt40: Ignored: please select one of 
AP_MODPERL, AP_MODFASTCGI, LIGHTTPD, SPAWN_FCGI or BUILTIN


But I have:

cat /usr/local/etc/poudriere.d/91amd64-options/rt40/options
# This file is auto-generated by 'make config'.
# Options for rt-4.0.10_1
_OPTIONS_READ=rt-4.0.10_1
_FILE_COMPLETE_OPTIONS_LIST=DEV GD GPG GRAPHVIZ SSL_MAILGATE MYSQL ORACLE PGSQL 
SQLITE AP_MODFASTCGI AP_MODPERL LIGHTTPD SPAWN_FCGI
OPTIONS_FILE_UNSET+=DEV
OPTIONS_FILE_SET+=GD
OPTIONS_FILE_SET+=GPG
OPTIONS_FILE_SET+=GRAPHVIZ
OPTIONS_FILE_SET+=SSL_MAILGATE
OPTIONS_FILE_UNSET+=MYSQL
OPTIONS_FILE_UNSET+=ORACLE
OPTIONS_FILE_SET+=PGSQL
OPTIONS_FILE_UNSET+=SQLITE
OPTIONS_FILE_UNSET+=AP_MODFASTCGI
OPTIONS_FILE_UNSET+=AP_MODPERL
OPTIONS_FILE_UNSET+=LIGHTTPD
OPTIONS_FILE_SET+=SPAWN_FCGI

If I run make patch in my local ports tree, with the above options file, it 
runs through.


Is this a poudriere problem or more of a problem with the port itself?




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


Why does poudriere always rebuild nginx and GraphicsMagick13?

2013-02-12 Thread Rainer Duffner
Hi,

poudriere 2.2 here, running on 9.1-amd64

Of the 730-ish ports, whenever I run a build, it always rebuilds the above two 
ports.
Even if nothing changed.

Is there are specific reason for this?

I don't really mind nginx, because it builds so quickly - but GraphicsMagick 
takes a bit too long.




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


pkgng and updated packages

2013-01-28 Thread Rainer Duffner
Hi,

I run my own pkgng repo (via poudriere) and it seems to work great.
However, I've got more questions...

 - when PHP got updated to 5.3.21 (from 5.3.20), all the other stuff
   that depends on it (PECL-*, pear-*) got rebuilt, too.
   (In my ports-tree, I just imported the update of PHP and nothing
   else)
 - but on the client, when I ran pkg upgrade, only the php-packages got
   upgraded. Is that correct? Shouldn't it also update the PECL and pear
   packages?
 - how do I re-install all packages? I will soon upgrade some systems
   from 8.3 to 9.1 and I want to reduce the number of systems I build
   packages for. Before pkgng, I would just pkg_delete everything then
   re-install and do a diff on the output of pkg_info |cut -f 1 -d  .
   I though there might be an easier way...
 - is there a make.conf switch to completely disable pkg_* or do I have
   to remove the binaries myself? Will they re-appear after a
   freebsd-update -r or even after a simple freebsd-update? If I install
   postfix, there is a switch in rc.conf do disable it completely and I
   think there should be something similar.





Best Regards,
Rainer



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


Re: pkgng and updated packages

2013-01-28 Thread Rainer Duffner
Am Mon, 28 Jan 2013 14:52:20 +0100
schrieb Baptiste Daroussin b...@freebsd.org:

 On Mon, Jan 28, 2013 at 11:51:20AM +0100, Rainer Duffner wrote:
  Hi,
  
  I run my own pkgng repo (via poudriere) and it seems to work great.
  However, I've got more questions...
 
 Glad to hear it works well :)


Just needed some patience ;-)


 pkg itself does not care about that and trust the revision number to
 only what as changed is really updated. So force updating everything
 that depends on php a simple pkg install -fR php should do it
 correctly for you.

Ah, OK.

 pkg upgrade -f will upgrade everything. to avoid you to shoot
 yourself when upgrading from 8.3 to 9.1 we also provide a pkg-static
 binary so that even if pkg itself is linked against libraries that
 has disappeared in 9.1 you can still reisntall everything.


I currently don't have systems with pkgng. They are being rolled out as
new installs come.
But I've got about 50 systems I have to migrate. Most are 9.0 or 8.3.

 WITHOUT_PKGTOOLS will remove all the pkg_* tools if you are building
 world, but nothing like this in binary upgrade like freebsd-update
 what you can do is manually rm /usr/sbin/pkg_*
 


OK, I'll note this.



Best Regards
Rainer
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: pkgng and updated packages

2013-01-28 Thread Rainer Duffner
Am Mon, 28 Jan 2013 14:52:20 +0100
schrieb Baptiste Daroussin b...@freebsd.org:

 pkg upgrade -f will upgrade everything. to avoid you to shoot
 yourself when upgrading from 8.3 to 9.1 we also provide a pkg-static
 binary so that even if pkg itself is linked against libraries that
 has disappeared in 9.1 you can still reisntall everything.



Unfortunately, it did not work.
Well, not at first.
It seems, it does not uninstall the old packages (which I thought it
would)
I go from PERL 5.10 to PERL 5.16, for example and it complains that
perl5.16 conflicts with perl5.10...


This I needed, too:

pkg set -o long/perl5.10:lang/perl5.16
pkg remove perl 
pkg set -o devel/pkg-config:devel/pkgconf
pkg remove -f pkg-config


But I don't really blame that on pkgng. 





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


Re: pkgng and updated packages

2013-01-28 Thread Rainer Duffner

Am 28.01.2013 um 18:31 schrieb Glen Barber g...@freebsd.org:

 On Mon, Jan 28, 2013 at 06:28:02PM +0100, Rainer Duffner wrote:
 I go from PERL 5.10 to PERL 5.16, for example and it complains that
 perl5.16 conflicts with perl5.10...
 
 This I needed, too:
 
 pkg set -o long/perl5.10:lang/perl5.16
 pkg remove perl 
 pkg set -o devel/pkg-config:devel/pkgconf
 pkg remove -f pkg-config
 
 
 Hmm, you should not have needed to remove perl or pkg-config.  They
 should have been upgraded as any other package.
 


I tried it without and it said it conflicted. It wanted to install perl5.16, 
without doing anything to 5.10.
Maybe it is because I already had PERL_VERSION=5.16.2 in /etc/make.conf?

I still have a couple of those to upgrade.
I can send pkg_info etc. and the commands I ran from the next server on 
Wednesday night.





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


Re: svn - but smaller?

2013-01-24 Thread Rainer Duffner
Am Thu, 24 Jan 2013 00:57:17 -0800
schrieb 'Jeremy Chadwick' j...@koitsu.org:


 Though your OPTIONS recommendations work for you, they do not work for
 everyone.  Some people sit behind firewalls where HTTP or HTTPS are
 the only viable means (native SVN or SVN+SSH will not work for
 them).  


But then, cvsup/csup didn't work either, right?
So, what did those people do in the days of cvsup?

As for the whole dependency/license nightmare - there is some truth[1]
in that and I'm sure, the people in charge are aware of it.

I was always under the assumption that the switch to svn was more of a
temporary stopgap solution where the benefits (progress of the FreeBSD
project) out-weighted the deficiencies.
The migration to a better system is supposed to be easier from svn
than cvs...


[1] I have the need to have mod_dav_svn in my subversion-package
(because a customer needs it and I only want to maintain one
pkgng-repo). Thus, every time svn is installed, apache gets pulled in,
too. Awesome.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Anothe pkgng question: signing a repository

2012-12-28 Thread Rainer Duffner
Am Thu, 27 Dec 2012 16:01:43 -0500 (EST)
schrieb Garrett Wollman woll...@hergotha.csail.mit.edu:

 In article 20121227162311$6...@grapevine.csail.mit.edu,
 rai...@ultra-secure.de writes:
 
 I'm creating my own repository and have created a key for it.
 [...]
 What does pkg expect to be in this file?
 
 A public key.  It does not use X.509 (nor is there any reason why it
 should, although I suppose it could be made to at the cost of
 significant added complexity and a bootstrapping problem).


Ah, OK.
When I hear key, I sort of assume there must be a certificate and a
CA involved.
It works now ;-)



Best Regards,
Rainer
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Question: /usr/sbin/pkg vs /usr/local/sbin/pkg in 9.1

2012-12-27 Thread Rainer Duffner
Hi,

as I see it, pkgng is actually included in 9.1 as /usr/sbin/pkg, right?
But when I define
WITH_PKGNG=yes

in /etc/make.conf

the ports-system wants to install the pkgng-package (because it looks
for pkgng in /usr/local/sbin).

Is there a way to say I have the pkg tool in base already?

Or is the pkg in base supposed to just install the pkgng from ports?




Best Regards,
Rainer
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Anothe pkgng question: signing a repository

2012-12-27 Thread Rainer Duffner
Hi,

I'm creating my own repository and have created a key for it.

I've created a CSR for it and used that to generate a certificate via
our internal CA. Because there was no other information available, I
used the profile that we use to generate SSL-certificates for web
servers.

I copied the certificate to the server and adjusted pkg.conf, but when I
want to query the repository, I get:

root@server:/etc/ssl/cert # pkg install net-snmpd
Updating repository catalogue
repo.txz
100%  219KB 219.5KB/s 219.5KB/s   00:00 pkg: error reading public
key(/etc/ssl/pkg.conf): error:0906D06C:PEM routines:PEM_read_bio:no
start line pkg: Invalid signature, removing repository.


What does pkg expect to be in this file?


openssl x509 displays the data for the certificate correctly, so I
really don't know what's missing.

I ktraced pkg and it is indeed reading the file.




Best Regards
Rainer
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Will we get a RELEASE-9.1 for Christmas?

2012-12-11 Thread Rainer Duffner
Am Tue, 11 Dec 2012 11:18:44 -0500
schrieb Mark Saad nones...@longcount.org:

 So what is the short summary ? From what I can see, the wiki is out
 of date again. the ISO are on the master server, and working out to
 the mirrors. FreeBSD update is still not updated.  Does someone just
 need to just update the wiki with the relevant info ?


From my experience, it usually takes a couple of days from uploading
the ISOs to the official announcement.

I don't think it makes sense anymore to update the wiki now.

For the future, I also suggest not to make a timeline or a public
schedule at all.
It will stop people from making assumptions and plans for their
rollouts that more often than not just turn out to be unrealistic.
I myself actually anticipated a October/November-ish release-date when I
saw the first schedule...and even that turned out to be too optimistic.

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


Re: simple patch for portsnap to use wget

2012-11-29 Thread Rainer Duffner
Am Thu, 29 Nov 2012 14:13:43 +
schrieb Vincent Hoffman vi...@unsane.co.uk:

 On 29/11/2012 14:08, Devin Teske wrote:
  What…
 
  env http_proxy=user:pass@server:port fetch ...
 
  doesn't work for you?
 I think he means that setting
 env http_proxy=user:pass@server:port portsnap fetch
 
 doent work and that
 
 setting
 HTTP_PROXY=server:port
 HTTP_PROXY_AUTH=basic:user:pass
 then running
 portsnap fetch
 also doesnt work?


Last time I tried, this did not work.

A serious omission, IMO.


We have a lot of environments where the only way to connect to the
internet is via a proxy-server...

I looked and there is a patch 

http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/129431

from 2010 that is supposedly working on 9.1 still...

Never tried it myself, though.

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

Re: simple patch for portsnap to use wget

2012-11-27 Thread Rainer Duffner
Am Tue, 27 Nov 2012 10:22:09 +0200
schrieb Alexander Yerenkow yeren...@gmail.com:

 Do you aware that if wget tries download from https, and there is
 self-signed certificate, then it fails, and ask for
 --no-check-certificate option?
 How do your patch deal in that case?

So portsnap and freebsd-update don't care?

In any case, it's a wgetrc option, you can specify it in the global
configfile...


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


Re: FreeBSD 9.1 stability/robustness?

2012-11-04 Thread Rainer Duffner
Am Sat, 3 Nov 2012 21:56:45 -0400
schrieb Rick Miller vmil...@hostileadmin.com:

 On Fri, Nov 2, 2012 at 4:10 AM, Rainer Duffner
 rai...@ultra-secure.de wrote:
  Am Thu, 1 Nov 2012 20:14:51 -0600 (MDT)
  schrieb Brett Glass br...@lariat.net:
 
  I need to build up a few servers and routers, and am wondering how
  FreeBSD 9.1 is shaping up. Will it be likely to be more stable and
  robust than 9.0-RELEASE? Are there issues that will have to wait
  until 9.2-RELEASE to be fixed? Opinions welcome.
 
 
  If I'm not mistaken, the bge-stuff that makes the default NICs ins
  HP G8 servers (360+380) actually run will not make it back into 9.1.
  Intel cards work much better anyway...
 
 I have a blog post at
 http://blog.hostileadmin.com/2012/06/14/freebsd-on-hp-proliant-dl360p-g8-servers/
 which touches on this. 

It comes up invariably once you google for FreeBSD DL 380 G8...

 I heard as recently as today that the fixes
 for the BCM5719 and 5720 were recently committed to -CURRENT.  It's
 too late for them to be rolled into 9.1.  Not sure if they'll be
 committed to to stable/8 or not, but if so they could make it into
 8.4-R.

Oh - will were be an 8.4 release? That would be interesting.

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


Re: FreeBSD 9.1 stability/robustness?

2012-11-03 Thread Rainer Duffner
Am Sat, 3 Nov 2012 11:06:26 -0400
schrieb Mark Saad nones...@longcount.org:


 Hp did a presentation at work 2 weeks ago about the g8 . Hp said you
 can swap out a daughter card in the 360/380/580 for nic options like
 broadcom 4 port gigabit nic , melenox infinbabd, intel pro1000 4 port
 nic , qlogic 8Gb fc-al  and others . 


I've heard that, too (was on holiday when the sales-guy was here)

 They said its an FRU but I have
 not seen the parts yet . 


The quickspecs make no mention of it:

http://h18000.www1.hp.com/products/quickspecs/14212_na/14212_na.html


Only that 331FLR adapter, with contains that beloved BCM-chip.

http://h18000.www1.hp.com/products/quickspecs/14214_div/14214_div.HTML

Or one of the 10G adapters.
But 10G is probably worse - and we don't have any 10G switch-ports
anyway

With the infiniband-stuff, they are probably waiting for the first
customer to order a couple of thousand so they can do a profitable
one-off production run...
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FreeBSD 9.1 stability/robustness?

2012-11-02 Thread Rainer Duffner
Am Thu, 1 Nov 2012 20:14:51 -0600 (MDT)
schrieb Brett Glass br...@lariat.net:

 I need to build up a few servers and routers, and am wondering how
 FreeBSD 9.1 is shaping up. Will it be likely to be more stable and
 robust than 9.0-RELEASE? Are there issues that will have to wait
 until 9.2-RELEASE to be fixed? Opinions welcome.


If I'm not mistaken, the bge-stuff that makes the default NICs ins HP
G8 servers (360+380) actually run will not make it back into 9.1.
Intel cards work much better anyway...

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


Re: FreeBSD 9.1 stability/robustness?

2012-11-02 Thread Rainer Duffner
Am Fri, 2 Nov 2012 13:34:20 -0400
schrieb Mark Saad nones...@longcount.org:

 
 
 
 On Nov 2, 2012, at 4:10 AM, Rainer Duffner rai...@ultra-secure.de
 wrote:
 
  Am Thu, 1 Nov 2012 20:14:51 -0600 (MDT)
  schrieb Brett Glass br...@lariat.net:
  
  I need to build up a few servers and routers, and am wondering how
  FreeBSD 9.1 is shaping up. Will it be likely to be more stable and
  robust than 9.0-RELEASE? Are there issues that will have to wait
  until 9.2-RELEASE to be fixed? Opinions welcome.
  
  
  If I'm not mistaken, the bge-stuff that makes the default NICs ins
  HP G8 servers (360+380) actually run will not make it back into 9.1.
  Intel cards work much better anyway...
  
 Did you swap out the bge nic daughter card in the g8 servers for an
 intel one or , do you mean in general the intel nic support is
 better ? 

Both, actually.
At least, Intel has drivers for FreeBSD on their website and IIRC, it's
a Tier 1 OS for them.
I don't want to dis the efforts of the people working on the bXe stuff,
but from what I have read, they have much less support from the vendor.
We have used HP servers even back when they were still Compaq-servers
(and came with Intel NICs...) and this is really the first time we had
to install Intel NICs with them (with FreeBSD - there was an earlier
issue with Solaris, but that does not count...).

Are there Intel daughter cards for this server?
I thought, all the daugher-cards came with some sort of Broadcom
chipset.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 9.1-RC2 - could it be that the installer does not write the MBR?

2012-10-20 Thread Rainer Duffner
Am Fri, 19 Oct 2012 20:14:01 -0400
schrieb Glen Barber g...@freebsd.org:


 The grub prompt for (Open)Solaris?  Or do you use grub on FreeBSD?

I thought it was a linux grub (the Firmware-Update DVD is linux-based
and I thought it had gone postal.
But I came to realize that it was the Solaris grub.
We only use FreeBSD on servers and it's always the only OS on the disks.
 
 I _think_ at this point, you've hit the same problem I hit, the only
 difference is that in my case, 9.1-PRERELEASE was installed twice,
 because the paritions were not ideal.
 
 So, my guess is if you were to boot the install cd and select 'Live
 CD' or 'Shell' from the first menu option, and wrote the GPT bootcode
 to da0p1 (assuming da0 is the drive) and reboot, it would have booted
 fine.


I don't think this is what a user is expecting from an OS installation
routine
It's a bug.


Rainer
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 9.1-RC2 - could it be that the installer does not write the MBR?

2012-10-19 Thread Rainer Duffner
Am Fri, 19 Oct 2012 11:32:49 -0700
schrieb Adrian Chadd adr...@freebsd.org:

 Guys/girls/etc,
 
 I do suggest that someone actually spends some time coming up with a
 table of what the current state is, what we could do, what would
 happen if we did that.
 
 Right now there's a lot of possibilities (new drive, drive with
 windows, drive with linux, drive with linux/windows, drive with legacy
 freebsd MBR, etc) and as an outsider trying to figure out what is
 actually the right sounding behaviour, it's difficult for me to sit
 down and digest all these emails that chip away at a bit of the
 problem at a time.
 
 So if you'd like to see this fixed, I really do suggest that one of
 you dumps some time into coming up with a basic table like I said
 above, work with others who can correct/flesh out the various options
 to take into account, and then we can come up with a real solution.
 Then 9.1 can go out the door.
 


If I select the entire disk for FreeBSD, I think it's a reasonable
assumption that the MBR should replaced, too.
Please don't make people install FreeBSD 9.0 first on disks with
non-FreeBSD MRRs and then upgrade to 9.1.


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


Re: 9.1-RC2 - could it be that the installer does not write the MBR?

2012-10-19 Thread Rainer Duffner
Am Fri, 19 Oct 2012 17:11:30 -0400
schrieb Glen Barber g...@freebsd.org:

 On Fri, Oct 19, 2012 at 10:38:41PM +0200, Rainer Duffner wrote:
  If I select the entire disk for FreeBSD, I think it's a reasonable
  assumption that the MBR should replaced, too.
  Please don't make people install FreeBSD 9.0 first on disks with
  non-FreeBSD MRRs and then upgrade to 9.1.
  
 
 Can you outline for me in detail what you did when you partitioned
 your drive during the installation?

I chose entire disk, then deleted all partitions-suggestions except
the first one and created my own partitioning scheme.
(/, swap, var, usr, maybe /var/log and /home, too)
 
 I have seen your specific issue exactly once, and reliably reproducing
 the problem has not been successful so far.
 
 BTW, what was on the drive before you did the install, if anything?

It had a version of Solaris. Maybe Opensolaris. I don't know exactly.
And I don't know if it had zfsroot or not. I created a HW-RAID1 with
the HP P400 controller on it.
The drives were previously used in another server.

I tried to install 9.1RC2 twice on these disks and it always went back
to the grub-prompt after reboot.
Then I installed 9.0 and it's running now.




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


Re: 9.1-RC2 - could it be that the installer does not write the MBR?

2012-10-18 Thread Rainer Duffner
Am Thu, 18 Oct 2012 11:31:56 -0500
schrieb Chuck Burns brea...@gmail.com:

 On 10/18/2012 11:05 AM, Brandon Allbery wrote:
  On Thu, Oct 18, 2012 at 5:31 AM, Kimmo Paasiala
  kpaas...@gmail.com wrote:
 
  Such question does not make sense if the disk is GPT partitioned
  which is the default now. The boot loader is installed on a
  separate freebsd-boot partition and the MBR of the disk contains a
  special protective MBR.
 
 
  And what is supposed to happen if the disk has an existing MBR and
  existing partitions?
 
 
 Besides which.. Do you want FreeBSD to overwrite the MBR?

Yes.
I've long since given up on FreeBSD for workstations - I simply don't
have the time to get everything right.

 Thus
 erasing grub when someone is attempting to install FreeBSD alongside
 Linux?


How many people actually do that, now that there are so many
virtualization-options?

 
 If you do not want GRUB, you must remove GRUB and revert to a proper
 MBR.

And how do you remove GRUB?
The original OS did no longer boot in my case

Do I need to file a PR for this?


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


9.1-RC2 - could it be that the installer does not write the MBR?

2012-10-17 Thread Rainer Duffner
Hi,

I tried to install 9.1-RC2 amd64 on two disks that previously had some version 
of Solaris installed (with grub as boot-manager).
The installation would always be successful, but it would just boot to grub and 
then sit there.

It's a rather old G1 BL460C blade, but 9.0 installs flawlessly.

I didn't have time to really test it through because the server needed to get 
installed and it had taken me some time to realize what had happened.

Maybe someone might want to look into this.


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


Re: FreeBSD 9.1-RC1 Available...

2012-08-23 Thread Rainer Duffner
Am Thu, 23 Aug 2012 09:43:01 -0600
schrieb Ian Lepore free...@damnhippie.dyndns.org:

 On Thu, 2012-08-23 at 11:17 -0400, Ken Menzel wrote:
  
  I found two good primers:
  http://mebsd.com/configure-freebsd-servers/update-freebsd-source-tree-using-subversion-svn.html
  http://www.freebsd.org/doc/en/articles/committers-guide/article.html#SUBVERSION-PRIMER
  
  The second primer in the committer handbook seems to indicate that
  it is difficult to run an SVN mirror. This appears to me to be the
  biggest drawback.  I have been using CVS and perforce for years,
  but subversion is new to me. 
 
 It may be difficult to run an svn mirror that allows you to commit
 locally and get those changes back to the project, but running a
 read-only mirror is trivial.  The script I run nightly from cron to
 sync my local mirror is:
 
 #!/bin/sh
 #
 # svnsync to pull in changes from FreeBSD to my local mirror.
 #
 svnsync sync file:///local/vc/svn/base
 


I may have misunderstood all this, but I run a local read-only mirror of
the source-repository for my tinderbox (via the cvsup-mirror port).
Do I have to change that from csup to svn, too, then?

Given the fuzz made here about deprecating (or not) pkg_* recently, I
can hardly believe that this was broken just so.

Is there a new port that does the same for svn?




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


t_delta too long / too short messages?

2012-08-21 Thread Rainer Duffner
Hi,

I run 8.3 AMD64 in a VM (on esx 5u1).
Install went flawless, but on reboot, it takes a very long time to get
to the login-prompt and the console displays all these

t_delta 15.fe49d775fc69de00 too short
t_delta 16.03698e84842065e0 too long
t_delta 15.fe47fbbbc968bdc0 too short
t_delta 15.fe49aaef471687c0 too short
t_delta 16.0367d4c554c3ec80 too long
t_delta 15.fe49788cbd45b3a0 too short
t_delta 15.fe4c3ea023e27ee0 too short
t_delta 16.0366602823fd0d40 too long
t_delta 15.fe474bf8e2b3fd80 too short
t_delta 15.fe496f2d02e350a0 too short
t_delta 16.0369f9256c3f8c00 too long
t_delta 15.fe484a3d8260bae0 too short
t_delta 15.fe4902342c2b91c0 too short
t_delta 16.036760c4b2426360 too long


errors all the time.

What's the reason for these?

What does this mean for my server?




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


Re: Recommendation for Hyervisor to host FreeBSD

2012-07-05 Thread Rainer Duffner
Am Thu, 05 Jul 2012 12:43:06 +0100
schrieb Pete French petefre...@ingresso.co.uk:

 So, my work surprise for a Thursday morning is an urgent requirement
 to see if we can run a set of FreeBSD machines under virtualised
 servers. I have not done this before personally, but I notice from
 post here that it doesnt seem uncommon, and I see Xen related commits
 flowing past, so I am guessing it is doable.
 
 So, for running 8 or 9 STABLE can anyone recommend which hypervisor
 works best, and is 8 or 9 better as the OS to run ? Am doing a bit
 of research myself, but nothing beats persoanl experience in these
 matters!



AFAIK, there are no VMware-tools for FreeBSD9 (yet).
So, if you need to use ESXi/vSphere, then stay with 8.3 for the time
being.

There are KVM-drivers for FreeBSD 8.3 and 9.0 in the ports.

Also, full, native support for MSFT-HyperV is coming to FreeBSD9.

I wouldn'd bother with the free VMware-server.

AFAIK, the latest vcenter has a web-console, so you don't need a
Windows VM just to manage your virtualized FreeBSD instances.
Hopefully, someone else will have to do all the heavy-lifting of
maintaining all the virtualization-infrastructure.



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


Re: Recommendation for Hyervisor to host FreeBSD

2012-07-05 Thread Rainer Duffner
Am Thu, 5 Jul 2012 08:53:19 -0400
schrieb Mark Saad nones...@longcount.org:

 
 
 On Jul 5, 2012, at 8:43 AM, Rainer Duffner rai...@ultra-secure.de
 wrote:

  AFAIK, there are no VMware-tools for FreeBSD9 (yet).
  So, if you need to use ESXi/vSphere, then stay with 8.3 for the time
  being.
 
 You can use the open-vmtools package which is in ports .

They come (or came, last time I looked) with a lot of
run-time dependencies and even more at build-time.
And AFAIK, they don't offer the full functionality either.


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


Re: Why Are You NOT Using FreeBSD ?

2012-06-07 Thread Rainer Duffner

Am 06.06.2012 um 20:59 schrieb Dave Hayes:
 
 
 I believe this is the first time I've seen more documentation labeled as
 extraneous. :) I had thought to suggest an implementation by having a
 simple pkg-option-desr file which describes the options and implications
 in each port. Are you suggesting that such a file would be unwelcome? 
 


No, but take a look at the nginx port, which (I'm too lazy to count) has gained 
a couple of dozens of options over the years.
It's a bit of an extreme example, I know - but nevertheless.
I've enabled some that I know what they do and some where I think I know what 
they do. Some are default on, so I left them on.
The rest I disabled if I knew I wouldn't ever need them.
Documenting all of them would probably be a huge endeavor - and I'm glad that 
Sergey keeps the ports updated super-fast and chases down all the updates of 
3rd-party patches (which often have little more than the source itself as 
documentation) etc.
Asking him to do even more work - I wouldn't dare to do that ;-)

It's really the person who is running make config who has to read up on all the 
options and decide if (s)he needs them.
Sometimes, options only make sense in context of the selection of options of 
other ports and it thus may no be easily explainable in one line.
I don't maintain any ports, I just build about 600 of them in our private 
tinderbox.
IMO, you can't really maintain more than a couple of FreeBSD-servers 
professionally without some sort of central package-building.
The earlier people realize this, the less pain they will have to suffer. In 
practice, you realize it 50 or 100 servers too late...

The work that goes into the ports-tree is tremendous and once you start running 
your own tinderbox, maintain some 3rd-party patches yourself and just generally 
dig deeper into this stuff you begin to realize just how difficult this is. 

What I do (or try to do) on my tinderbox is to take a frozen ports-tree 
towards a release and build packages from it (trying to minimize the number of 
unique builds per portstree)
After the tree is open again, I try to get the stuff that interests me, the 
security-patches (e.g. the recent php bug) or other stuff that is useful for us 
as an update directly from CVS for the 600 or so ports that we actually use.
Of course, this only works until something in the ports-framework changes 
significantly (like that options-ng thing recently) and I either have to update 
the whole ports-tree or just wait till the next pre-release freeze.
I found that currently the fastest way to update my packages on a server is to 
pkg_delete -fa and then pkg_add the stuff back that I need (more or less the 
same packages everywhere, anyway). 
Portupgrade is far too slow to be of any practical use (and more than a handful 
of package-management-tools in the ports-mgnt category isn't really helpful, 
either - who has the time to test them all?)
I hope that pkgng will solve most of these problems and enable me to update my 
ports-tree more often.
Unfortunately, by then some of the FreeBSD-servers will have moved into our 
private cloud (using Joyent's private cloud, which, incidentally uses NetBSD's 
pkgsrc - we will have to see how that works out longtime)

Personally, I don't need more frequent FreeBSD-releases but two or maybe three 
ports-tree freezes per year would be good.

So, FreeBSD 9.0-RELEASE, FreeBSD 9.0-U1, FreeBSD 9.0U2 would be cool ;-)


Would that be a lot of additional work?



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


  1   2   >