Re: Any suggestions for a layer 3 load ablancer for 12, as relayd doesnt work anymore

2019-01-15 Thread Pete French
On 15/01/2019 14:48, Matt Garber wrote: For what it’s worth, HAProxy has the PROXY protocol for exactly the scenario you’re describing; I’ve heard it’s very straightforward and powerful to use, although haven’t had to use it on any of my HAProxy instances which are primarily doing L7. http

CARP stopped working after upgrade from 11 to 12

2019-01-16 Thread Pete French
I just upgraded my pair of firewalls from 11 to 12, and am now in the situation where CARP no longer works between them to faiilover the virtual addresse. Both machines come up thinking that they are the master. If I manually set the advskew on the interfaces to a high number on what should be pass

Re: CARP stopped working after upgrade from 11 to 12

2019-01-16 Thread Pete French
> Indeed. I am seeing the same thing. Which revision of 12 are you running? Ah, now that is very interesting - I wasnt expecting a reply so fast! I am running r342847 - not though, that this is also the version I am running on the two test systems which do work. > I am currently (yesterday and t

Re: CARP stopped working after upgrade from 11 to 12

2019-01-16 Thread Pete French
> I can't see how any of those would impact carp unless pf is now > incorrectly blocking carp packets, which seems unlikely from that commit. Just looking at the code it does seem unlikely, true - but my working system does not run pf+pfsync and the non working one does, so it is suspiciously in

Re: CARP stopped working after upgrade from 11 to 12

2019-01-16 Thread Pete French
> I have confirmed that pfsync is the culprit. Read on for details. Excellent work. I;m home now, so won't get a chnace to out this into practice until tomorrow unfortunately, but it's brilliant that you have confirmed it. > I tried disabling pfsync and rebooting both nodes, they came up as > MA

More CARP issues under 12

2019-01-17 Thread Pete French
so, having got a workaround for yesterdays problems, I now went to upgrade my other pair of boxes using CARP. No 'pf' on these, just one shared address. This is the setup I have tested in development and it works fine. I install the new kenel and do the first reboot - and I get the panic below. Ma

Re: More CARP issues under 12 (maybe not CARP after all)

2019-01-20 Thread Pete French
To point  out the obvious, booting a 12.0 kernel with 11  userland to multiuser mode is seriously unsupported. You really need to boot to single user and install 12.0 userland to really expect things to work. Yes, good point. This has worked on every other machine I have upgraded from 11 to 12

Re: freebsd-12 and bhyve and the azure platform

2019-01-28 Thread Pete French
On 26/01/2019 16:43, tech-lists wrote: OK, thanks. I thought this might be the case. Just wanted to make sure I wasn't trying to reinvent the wheel ;) We use Azure extensivley with FreeBSD, and I havent installed from an image since the first one. Everything I do is taking a copy of an exi

Re: More CARP issues under 12 (maybe not CARP after all)

2019-02-04 Thread Pete French
> > To point out the obvious, booting a 12.0 kernel with 11.0 userland to > > multiuser mode is seriously unsupported. You really need to boot to > > single user and install 12.0 userland to really expect things to work. > > Yes, good point. This has worked on every other machine I have upgraded

Kernel panic going multiuser under 12 ( was Re: More CARP issues under 12 (maybe not CARP after all))

2019-02-05 Thread Pete French
Just to get the subject correct, as I tested this disabling CARP and I still see the panic when going multi-user. It netwprking related as the panic is in the ARP code, and seems to happen when the network interfaces are configured. The machine was using a mix of em and igb interfaces, but

Re: More CARP issues under 12

2019-02-05 Thread Pete French
> Hi, > > What branch and revision do you use? Can you install gdb and then obtain > this information: The branch and revision is 12.0-STABLE r343538 GENERIC > # kgdb > > (kgdb) list *ether_output+0x6b6 trying to do this on the actual box is hard, as it panics, but on another machine running the

Re: More CARP issues under 12

2019-02-06 Thread Pete French
On 06/02/2019 12:16, Andrey V. Elsukov wrote: Hi, this doesn't look very useful. Do you have some specificity with this host except carp? Some modifications to kernel config, lagg, jails, etc. No, none of those. Its a supermicro motherboard, runs FreeBSD GENERIC and mysql+redis on top, that

Re: More CARP issues under 12

2019-02-08 Thread Pete French
So, another datapoint on this - I just PXE booted the 12.0-RELEASE image downloaded from https://mfsbsd.vx.sk/ and that works fine. Which means that it siether something which has crept in since 12.0-RELEASE or its something to do with my config on that machine. I did try and buld an mfsroot image

Networking panic on 12 - found the cause

2019-02-12 Thread Pete French
I found my panic. If I take everything out of rc.conf and loader.conf and sysctl.conf and boot the system it works fine when I add an IP address. If I add this one line to sysctl.conf net.link.ether.inet.garp_rexmit_count=2 Then I get a panic when I configure the interface: root@serpe

Re: Networking panic on 12 - found the cause

2019-02-12 Thread Pete French
Thanks guys! That was fast On 12/02/2019 20:13, Kristof Provost wrote: On 2019-02-12 13:54:21 (-0600), Eric van Gyzen wrote: > I see the same behavior on head (and stable/12). > > (kgdb) f > #16 0x80ce5331 in ether_output_frame (ifp=0xf80003672800, > m=0xf8000c88b100) a

Re: Binary update to -STABLE? And if so, what do I get?

2019-02-14 Thread Pete French
On 14/02/2019 01:43, Jason Tubnor wrote: I also have hit this IPv6 issue (I thought I was going crazy until I worked it out) and other iflib issues in 12.0, which have been fixed in -STABLE that really should be patched in 12.0 or bring forward an early 12.1 release. For our use case, 12.0 is

Re: Binary update to -STABLE? And if so, what do I get?

2019-02-16 Thread Pete French
On 15/02/2019 08:06, Patrick M. Hausen wrote: We build from sources centrally, then zfs send/receive /usr/src and /usr/obj to all of the machines, then just do the install(kernel|world) part on all of them. I do this occasionally, but in the main I sumply NFS mount /usr/src and /usr/obj and

Re: Observations from a ZFS reorganization on 12-STABLE

2019-03-18 Thread Pete French
On 17/03/2019 21:57, Eugene Grosbein wrote: I agree. Recently I've found kind-of-workaround for this problem: increase vm.v_free_min so when "FREE" memory goes low, page daemon wakes earlier and shrinks UMA (and ZFS ARC too) moving some memory from WIRED to FREE quick enough so it can be re-u

Re: em performs worse than igb (latency wise) in 12?

2019-04-05 Thread Pete French
On 05/04/2019 16:01, Kris von Mach wrote: I've upgraded from Stable 11 to Stable 12, and noticed that igb has been removed and is now part of em driver. However, the performance seems a lot worse. This is using HP 366FLR which is just HP's version of Intel i350 I believe. Something odd going

Re: Problem with STABLE-12

2019-04-18 Thread Pete French
I have a radeon graphics card, too.  Recently, I had a problem with the graphics/drm-kmod hanging on boot in multi-user.  My fix was to switch to graphics/drm-legacy-kmod, which at least lets the system boot again. I figure the newer graphics/drm-kmod no longer supports my old radeon card.

Re: CFT for FreeBSD + ZoL

2019-04-20 Thread Pete French
On 19/04/2019 12:46, k...@ixsystems.com wrote: FreeBSD Developers, We're pleased to make available images allowing testing of FreeBSD using ZFS on Linux. During this development cycle, the ZoL code has been made portable, and available in the ports tree as sysutils/zol and sysutils/zol-k

Re: Problem with STABLE-12

2019-04-26 Thread Pete French
On 25/04/2019 15:07, Filippo Moretti via freebsd-stable wrote: Did you build world yesterday and now drm-kmod is working again?The only problem I have with legacy both drm and ati is that smplayer crashes the system and I have to reset via power switch.Filippo Si, I just tried this after

Re: ZFS...

2019-05-03 Thread Pete French
On 03/05/2019 08:09, Borja Marcos via freebsd-stable wrote: The right way to use disks is to give ZFS access to the plain CAM devices, not thorugh some so-called JBOD on a RAID controller which, at least for a long time, has been a *logical* “RAID0” volume on a single disk. That additional l

Re: ZFS...

2019-05-03 Thread Pete French
Hmm What happens when you do a “camcontrol devlist”? root@toybox:/usr/local/etc # camcontrol devlist at scbus0 target 0 lun 0 (pass0,da0) at scbus0 target 1 lun 0 (pass1,da1) at scbus0 target 2 lun 0 (pass2,da2)

Re: ZFS...

2019-05-03 Thread Pete French
On 03/05/2019 13:11, Miroslav Lachman wrote: I had this problem in the past too. I am not sure if it was on Dell or HP machine - controller presents first disk only in the boot time so I created small (10 - 15GB partition) on each disk and use them all in 4 way mirror. Cannot say if it was

Re: ZFS...

2019-05-03 Thread Pete French
On 03/05/2019 14:07, Michelle Sullivan wrote: I don’t think it will do that in write through.. it will everytime in write back. Yes, it really shouldnt do that. My server is so old that the battery on the RAID has failed, which definitely makes it go into write though mode. However not an i

Re: ZFS...

2019-05-04 Thread Pete French
On 04/05/2019 01:05, Michelle Sullivan wrote: New batteries are only $19 on eBay for most battery types... Indeed, my problem is actual physical access to the machine, which I havent seen in ten years :-) I even have a relacement server sitting behind my desk which we never quite got aroun

Re: ZFS...

2019-05-05 Thread Pete French
On 05/05/2019 04:06, Michelle Sullivan wrote: Which I find interesting in itself as I have a machine running 9.3 which started life as a 5.x (which tells you how old it is) and it’s still running on the same *compaq* raid5 with UFS on it... with the original drives, with a hot spare that st

Re: ZFS...

2019-05-09 Thread Pete French
On 09/05/2019 00:17, Miroslav Lachman wrote: Time for some scripting :) This is what I have on the machine with weird controller # cat bin/zfs_bootcode_update.sh #!/bin/sh devs="ada0 ada1 ada2 ada3" for dev in $devs do     echo -n "Updating ZFS bootcode on ${dev} ..."     if ! /s

Re: Problem with STABLE-12

2019-05-30 Thread Pete French
Just to follow up on this thread from April, where people were talking about graphics/drm-kmod hanging on boot with an older Radeon card. I had the same issue and have bene using graphics/drm-legacy-kmod since then, but the changes to the Linux KPI which have come into STABLE in the last few days,

Re: Statement regarding employment change and roles in the Project

2019-06-21 Thread Pete French
On 20/06/2019 17:22, Glen Barber wrote: Dear FreeBSD community: As I have a highly-visible role within the community, I want to share some news. I have decided the time has come to move on from my role with the FreeBSD Foundation, this Friday being my last day. I have accepted a position wit

Running iperf3 as a server drops all connections to a machine

2019-09-29 Thread Pete French
This is odd - I have six FreeBSD boxes on the local ether here. Five are HP Microservers, one is an AMD Ryzen. They are all running 12.1 r352847 built yesterday - and its one compilation I did which is rsynced out to all the machines, so an identical build. I was running iperf3 -s on one machine a

Re: Running iperf3 as a server drops all connections to a machine

2019-10-03 Thread Pete French
> > Any opinions or things people would ike me to check ? > > netstat -p tcp -ss > tcpdump -i $interface -npvs0 icmp or 'tcp[tcpflags] & (tcp-rst) !=3D 0' I havent had a chnace to look at this for a couple of days, but I thought I would give it mor testing now (doing the above). Updated to the lat

Creating a bootable volume in AWS under 12.1

2019-10-21 Thread Pete French
Does anyone have any pointers to how to make bootable AWS volumes for FreeBSD ? I did this once, a long time ago, but its eluding me now. Am just trying to simply clone a machine I have deployed from the 12.1 AMI for now, just to see where I am going wrong. I ceate the machine, I attach a new driv

python dameon coredumps when started from boot, but not by hand

2019-10-30 Thread Pete French
So heres an oddity - I have a service which runs under python3. It works fine if I start it from a terminal as root, but when it is started at boot the python interpretter itself coredumps. The program in question is the latest Microsoft 'waagent' form machines running in Azure. This apparently co

Re: python dameon coredumps when started from boot, but not by hand

2019-10-31 Thread Pete French
> Does it crash if you run it from the command line with 'env -i' in front? > > That clears out the environment and will be a lot closer to the rc.d > environment. Interesting idea, but no, that works fine. Annoyingly! > If that doesn't show anything then you will have to try capturing stderr >

Re: python dameon coredumps when started from boot, but not by hand

2019-10-31 Thread Pete French
> Hmm very odd.. > Does the tool depend on something else running? No, not at all. Earlier versions of the tool dont do this either. On a machine running the tool started by hand the two processes look like this: 0 86918 1 0 20 03426823860 wait I 0- 0:00.92 python

Re: python dameon coredumps when started from boot, but not by hand

2019-11-01 Thread Pete French
> Hmm, does changing the command_args line to this work: > command_args=3D"start 2>/tmp/waagent.log" > work? That is byte-for-byte identical to what I tried :-) It creates the file in /tmp, but the file remains empty. I think I need to look at the source code to work out whats up with it (on the

Re: python dameon coredumps when started from boot, but not by hand

2019-11-04 Thread Pete French
> Shot in the dark: Is it possible that python is trying to dynamically > load a shared library that isn't available yet due to being on a not-yet > mounted filesystem? I wondered about that, but I have these boxes confiured with only one filesystem for everything apart from mysql data. > Just a

Re: python dameon coredumps when started from boot, but not by hand

2019-11-04 Thread Pete French
Thanks for the ideas, running through these in order... > Check "rcorder /etc/rc.d/* /usr/local/etc/rc.d/*" So, its running directly after sshd and before swaplate and the local stuff. > Check if ldconfig is runable (I ended up with permissions 0444 on=20 > /etc/rc.d/ldconfig after some etcupdat

Re: python dameon coredumps when started from boot, but not by hand

2019-11-04 Thread Pete French
> Ah, does python get run before the ldconfig service runs? Nope, this is comming way after ldconfig has run - also the first python interpretter runs fine, is the one which that python script then tries to launch which fails. Thats the bit which really puzzles me - if it was python dying then th

Re: python dameon coredumps when started from boot, but not by hand

2019-11-04 Thread Pete French
Soo, I tried this on my desktop machine, and it doesnt coredump, but nor does it try and lauch the second python process, so a bit of a failed test there! -pete. ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freeb

Re: python dameon coredumps when started from boot, but not by hand

2019-11-10 Thread Pete French
On 04/Nov/2019 23:45, O'Connor, Daniel wrote: This would also capture the stderr output, and should be pretty easy to shoe horn into the rc.d file. Nice thinking! Just picking this up again, I have tried a few things, but am unable to actually get this to work in the rc.d file, any suggest

Re: python dameon coredumps when started from boot, but not by hand

2019-11-12 Thread Pete French
On 10/Nov/2019 22:20, Kevin P. Neal wrote: The rc script must have a function that starts the python program, right? Actually, no. It just looks like this: #!/bin/sh # PROVIDE: waagent # REQUIRE: sshd netif dhclient # KEYWORD: nojail . /etc/rc.subr

Re: Long-shot: repeatable macOS samba share unmounting during Lightroom import

2019-11-24 Thread Pete French
I have a very similar setup to you for serving files to my Mac from a FreeBSD server. I haven't seen the unmount problem, but I di have a few oddities until I added the 'fruit' module on the Samba side, which helps with compatbiloty with the Mac. The appropriate bit of my config looks like this

Re: Slow zfs destroy

2019-11-28 Thread Pete French
On 28/Nov/2019 07:03, Eugene Grosbein wrote: 28.11.2019 13:46, Eugene Grosbein wrote: Hi! Is it normal that "zfs destroy" for one ZVOL with attribute "used" equal to 2112939808 bytes (~2GB) takes over two minutes waiting on "tx_sync_done_cv"? The pool is RAID1 over five SSDs encrypted wit

Re: [FreeBSD-Announce] FreeBSD 12.0 end-of-life

2020-02-18 Thread Pete French
On 18/Feb/2020 17:19, Tomasz CEDRO wrot> But also as this DRM user (for Intel and AMD) I have experienced the related hiccups, problems, and problems solutions. It does not look like a FreeBSD way, but more like Linux way. I never noticed anything like this before. Sure, I can see this only as th

Re: Running FreeBSD on M.2 SSD

2020-02-25 Thread Pete French
On 25/Feb/2020 10:52, Daniel Kalchev wrote: It might well be, that FreeBSD is more agressive with your motherboard/chipset or does not implement known quirk of that — which might trigger some edge cases for the SSD. Ultimately, if you can move that SSD to another motherboard and test it, it

Re: Running FreeBSD on M.2 SSD

2020-02-25 Thread Pete French
On 25/Feb/2020 13:28, Mario Olofo wrote: Good morning all, @Pete French, you have trim activated on your SSDs right? I heard that if its not activated, the SSD disc can stop working very quickly. On the curent dfives, yes, but I have run with trim disabled in the past, It kinds of

Re: HOWTO donate CPU to the fight against the Corona-virus

2020-03-22 Thread Pete French
On 22/Mar/2020 16:16, Alexander Leidinger via freebsd-stable wrote: This is now available as a port: biology/linux-foldingathome (thanks 0mp@). Thankyou! However I dont seem to be able to make it work - I get this in the log: 19:16:54: 19:16:54: 19:16:54: 19:16:54: 19:16:54: 19:16

Re: 12.1p7 no longer boots after doing zpool upgrade -a

2020-07-09 Thread Pete French
On 09/07/2020 14:24, Kyle Evans wrote: gpart bootcode -p /boot/boot1.efifat -i 1 ada0 gpart bootcode -p /boot/boot1.efifat -i 1 ada1 This method of updating the ESP is no longer recommended for new 12.x installations -- we now more carefully construct the ESP with an /EFI/FreeBSD/loader.ef

Re: 12.1p7 no longer boots after doing zpool upgrade -a

2020-07-09 Thread Pete French
On 09/07/2020 14:36, Kyle Evans wrote: We haven't quite standardized on a good process yet, IMO, but for right now the correct process is to just mount the ESP and replace loader.efi with your system's updated /boot/loader.efi. At some point we'll standardize a mountpoint for the ESP and mount

should if_lagg balance outbound traffic on an lacp connection ?

2007-07-04 Thread Pete French
Having recently discovered if_lagg in stable I have spent the last couple of days experimentsin with this and using it to aggregate connections between a pair of servers and a pair of Cisco switches. It all appears to be functioning, but looking at the stats I see this: NameMtu Network A

should if_lagg balance outbound traffic on an lacp connection ?

2007-07-04 Thread Pete French
Having recently discovered if_lagg in stable I have spent the last couple of days experimentsin with this and using it to aggregate connections between a pair of servers and a pair of Cisco switches. It all appears to be functioning, but looking at the stats I see this: NameMtu Network A

Re: should if_lagg balance outbound traffic on an lacp connection ?

2007-07-05 Thread Pete French
> bce1 is a concern here as it is not in the ACTIVE state. On your switch > have a look at the lacp stats, here is an example from mine with a 4 > port aggregation. I have to admit that I did not setup the switch and have never looked into this part of the network before. So it's been 24 hours of

ntpd on a NAT gateway seems to do nothing

2007-07-23 Thread Pete French
Just following the similarly names thread with a bit of interest and I decided to check my own ntp setup and, to my surprise, discovered I also have a machine which does nothing. What is more surprising to me is that it has the same config as a number of other machines, all of which work. We have

Re: ntpd on a NAT gateway seems to do nothing

2007-07-23 Thread Pete French
> It's deja-vu all over again. > > I found my works NTP service was broken on Friday, just after I started my > holiday. Interesting to hear from someone also using NAt with a very similar problem. Thanks, I am running -STABLE rather than RELENG, but I suspect I will simply try updating to a late

Re: ntpd on a NAT gateway seems to do nothing

2007-07-24 Thread Pete French
> Well it could just as easily be the associated reboot, but one hesitates to > suggest that on a *nix list :) Well, I updated to this mornings -STABLE and I still get the same effect. Somewhat puzzled, and I not sure where to go from here - especially as making the queries with 'ntpdate' works f

Re: ntpd on a NAT gateway seems to do nothing

2007-07-24 Thread Pete French
> Note that NTP does not use TCP, but UDP. Are you sure that > your filter rules are OK? It's certainly possible to have > a bug in the rule set so it forwards NTP replies for the > internal clients, but doesn't allow them to reach the ntpd > running on the machine itself. Yes, I discovered the

Re: ntpd on a NAT gateway seems to do nothing

2007-07-25 Thread Pete French
> You might be better off running ntpd on the firewall and having > the inside hosts sync to it. That would be nice - except my problem is that the firewal is the only one on which ntp *doest* run! :-) Thanks for all the other suggestions - will take a look a them later today and see if I can tra

Re: pmtud + ipnat RELENG_6_2 appears to be broken

2007-07-25 Thread Pete French
> lagg on RELENG_6 is currently broken due to subtle differences that > wernt taken into account when it was MFCd. Can you please test this > patch. Erp! Do you have any mor einfo on tyhis - what kinds of things does this break ? Since lagg arrived I have deployed it on all our production machines

Re: pmtud + ipnat RELENG_6_2 appears to be broken

2007-07-25 Thread Pete French
> Most people didnt see a problem which is why this slipped through. > tcpdump on another host with the -e flag and see what the src mac is. All zeros! very interesting - am surprised the switch didn't kick up a fuss about that. Well, patch applied and rebooting... thanks, -pete. __

Re: pmtud + ipnat RELENG_6_2 appears to be broken

2007-07-26 Thread Pete French
> Great, thanks for testing. Intyeresting side effect of the patch appears to be that I am getting 25% *lower* throughput on my ether connections between two machines plugged into the same switch. Not what I expected! I assume this is something to do with the behaviour of the switches as the BSD s

Re: pmtud + ipnat RELENG_6_2 appears to be broken

2007-07-26 Thread Pete French
> Please test this attached patch, note it includes the previous change > too. I just tested this, and it lets me enable jumbo frames on the lagg interface as well as fixing the previous zero MAC problem as well. Currently running one of our production machines on it as a test (in a farm so it doe

Re: pmtud + ipnat RELENG_6_2 appears to be broken

2007-07-25 Thread Pete French
> All zeros! very interesting - am surprised the switch didn't kick up > a fuss about that. Well, patch applied and rebooting... ...and now all my outgoing packets have the correct MAC address as expected on them. I alos notice that I am now only seeing packets destined for the appropriate machin

Re: Fwd: call for ALTQ users

2007-07-29 Thread Pete French
> I'm looking at extending ifnet to support multiple tx queues. It > appears that this will inevitably interact with ALTQ. I don't know > anyone using ALTQ so I need users to raise their hands to eventually > test prospective changes. I use altq at home - mixture of fxp and bge interfaces and I us

Static linking and memory usage

2007-08-14 Thread Pete French
If I have an executable which is staticly linked with many copies of it running (a CGI script in fact), will all those copies share the text segment of the executable on the disc, or will it actually use up real memory resource with many copies of the executable ? I have been assuming the former, b

Re: Static linking and memory usage

2007-08-15 Thread Pete French
> In response to the original post: The kernel's ELF linker/loader for > executables will share the text and read-only segments for static > executables. Thanks, this is what I was looking for - I kind of thought it worked that way but just wanted to check, (because if not I am wasting a lot of

Re: BIND 9.3.1 - How to get rid of AAAA querys?

2007-09-17 Thread Pete French
since we are talking about IPv6, how do people genarlly find it on FreeBSD? I use 6to4 in a number of places, but have had a few problems with it unfortunately - one of the most annoying being dropped TCP connections which lead to me turning it off on my home machine. The other problem I had was co

Re: BIND 9.3.1 - How to get rid of AAAA querys?

2007-09-17 Thread Pete French
> I have been running IPv6 on all of my FreeBSD work systems for > years. All of my mail (including this message) are sent/received by IPv6 > and I have not had any problems, but I am on a network that is fully > IPv6 enabled, so no tunnels are involved. That's good to know. I have one box on the

Re: Test changes to em

2007-11-01 Thread Pete French
> You just replace the two files in your STABLE tree. Its big > enough that this seemed easier than a patch. Did you miss a file ? I nly see a new header file in here. Am keen to try this out though... -pcf. ___ freebsd-stable@freebsd.org mailing list h

Re: Test changes to em

2007-11-01 Thread Pete French
> Eh, what I see is if_em.h and if_em.c, does the version > that came thru not have both?? Nope, it's only got if_em.h in it - I just took a look at the actual mime stuff in the email and tere is only one attachment in the version I received. -pete. ___

Re: Another send of EM test change

2007-11-02 Thread Pete French
Thanks, that worked ifne, am just compiling them now to try... -pete. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Float problen running i386 inary on amd64

2007-11-02 Thread Pete French
Hi, I have a very simple program: int main(int argc, char *argv[]) { if(atof("3.2") == atof("3.200")) puts("They are equal"); else puts("They are NOT equal!"); return 0;

Best way to use more that 4 gigs of memory ?

2007-11-04 Thread Pete French
I have been doing some experiments with runnign 32 bit processed on and amd64 kernel over the last couple of days and am wondering what the general feel is for the best way to use over 4 gigs of memory. As far as I can see I have 3 options: 1) amd64 kernel + 64 bit processes 2) amd64 kernel + 32 b

Re: Float problen running i386 inary on amd64

2007-11-15 Thread Pete French
> On Fri, Nov 02, 2007 at 10:04:48PM +0000, Pete French wrote: > > int > > main(int argc, char *argv[]) > > { > > if(atof("3.2") =3D=3D atof("3.200")) > > puts("They are equal"); > &

Re: 2 x quad-core system is slower that 2 x dual core on FreeBSD

2007-11-20 Thread Pete French
> Thank you for your research. I think you can get more %sys with 4-core > processors. For me 2xquad-core systems are now completely unusable as > PHP backends. I am getting very alarmed by this discussion as we just took delivery of ten 2x quad core systems to be deployes as heavy webservers in

Re: Is it O.K. to use the 7.0 ports tree on 6.3 ?

2007-11-23 Thread Pete French
> The dependencies can vary depending on OS release, so it's not > guaranteed to work. Use 'make fetchindex' after you install to > get the latest snapshot for 6-STABLE. Thanks, that was the bit I had forgotten! cheers, -pcf. ___ freebsd-stable@freebs

Is it O.K. to use the 7.0 ports tree on 6.3 ?

2007-11-23 Thread Pete French
I have a set of machines running 7.0 and a set running 6.3 which I would like to use the same ports on. I was under the impression that there was only one ports tree, so is it safe to simply untar the ports.tgz file from 7.0 on the 6.3 machines, rename INDEX-7 to INDEX-6 and install away, or are th

Re: Is it O.K. to use the 7.0 ports tree on 6.3 ?

2007-11-24 Thread Pete French
> You've already received the right advice about not renaming the INDEX, > but I think it's also worth mentioning that untar'ing a static picture > of the ports tree is of little practical value unless you never plan > to update the base, and you never plan to update any ports on that > machine. S

Re: Is it O.K. to use the 7.0 ports tree on 6.3 ?

2007-11-24 Thread Pete French
> Yes, it definitely will not work. When files are deleted from the ports > tree after your initial tarball extraction, c[v]sup will not notice that > they are missing (since it does not have a baseline), and will not > remove them. Thus, you will encounter ports with "stale" patches that > n

Also seeing 2 x quad-core system slower that 2 x dual core

2007-11-29 Thread Pete French
I think I also just came up against the same effect that the original poster saw. I have two sets of machines here - one is a pair of dual core Xeons, the other a pair of quad core Xeons. They are HP servers, more or less identical apart from the processors I belive. Both have 7.0-BETA3 installed,

Re: Also seeing 2 x quad-core system slower that 2 x dual core

2007-11-29 Thread Pete French
> ULE- or 4BSD-scheduler? 4BSD - am just running GENERIC on both system. Should I try ULE? > Bit OT: Are the servers DL360 or DL380 (G5)? I will upgrade a DL380 > server from 6.2 to 7.0 (beta3) in order to gain some performance > tomorrow. Both the old and new are DL360 G5 according the the iLo.

Re: Also seeing 2 x quad-core system slower that 2 x dual core

2007-11-29 Thread Pete French
> Can you provide more details on this task? It seems like something that > could easily be reproduced in a lab environment and serve as a regression > test and baseline for future improvements. Is the server doing any other > work while doing the rm, or is this it? What kind of directory layout

Re: Also seeing 2 x quad-core system slower that 2 x dual core

2007-11-29 Thread Pete French
> That almost certainly has nothing to do with how many CPUs your system > has, since rm -rf is a single process running on a single core. Well, yes, common sense would also tell me that. But the systems should be identical aside from the number of cores. Both installed off 7.0-BETA3 CD's today,

Re: Also seeing 2 x quad-core system slower that 2 x dual core

2007-11-29 Thread Pete French
> Have you checked that your dir hash isn't suffering due to lack of memory > this can have a marked impact on seemingly trivial things like this as > could silly things like the RAID card being installed in a different slot. RAID card is onboard on these things - how would I check the dir hash ?

Re: Also seeing 2 x quad-core system slower that 2 x dual core

2007-11-30 Thread Pete French
> Well, the "1" is a boolean so those values will probably also work, but > the point was to disable apics 1,3,5 and 7 on the left hand side :) In > your case those are also valid but sometimes they are other numbers. yes, I worked that out about 5 minutes after posting and making myself look f

Re: Also seeing 2 x quad-core system slower that 2 x dual core

2007-11-30 Thread Pete French
> Check vfs.ufs.dirhash_mem is not close to vfs.ufs.dirhash_maxmem if it is > and only most used boxes this seems to be the case increase maxmem. Its nowhere near - and the dirhash_maxmem and dirhash_minsize are the same on both boxes. > Seems this could either do with an auto tune option or a la

Re: Also seeing 2 x quad-core system slower that 2 x dual core

2007-11-30 Thread Pete French
> Check dmesg for the APIC numbers corresponding to the CPUs you want to > disable and add the corresponding entries to /boot/loader.conf, e.g.: O.K., I did that, got it running on 4 CPU's only, and the problem is still there - so it's not the number of CPU's after all. Which is good in a way in

Re: Also seeing 2 x quad-core system slower that 2 x dual core

2007-11-30 Thread Pete French
> Yes, if the claim is that the hardware is absolutely identical apart > from one having two quad-core CPUs instead of two dual-core, the next > step is to disable half of the CPUs and confirm that the problem goes away. Just comming back to this today, will do a side by side compare of the dmes

Re: Also seeing 2 x quad-core system slower that 2 x dual core

2007-12-07 Thread Pete French
> What settings are there on the cache? I have a DL 380 G5 with 2 x The RAID cards on the original machines came with the cache configured as 50/50 read/write split. The new ones came configured 25/75 read/write splitl. Having set them all to 50/50 using the Smart Start CD then I now get iidentica

Re: Also seeing 2 x quad-core system slower that 2 x dual core

2007-12-07 Thread Pete French
Just as a followup to this - I soent some time going through all the suggestions and advice that people gave me regarding this problem. It turns out that the newer servers shipped by HP have different cache settings to the older ones on their RAID controllers, plus I get very different results from

Re: Server motherboard recommendation wanted

2007-12-13 Thread Pete French
> We have great success using the Tyan Thunder K8SD-Pro (S2882-D) > motherboard. It is a dual socket 940 motherboard that supports AMD > Opteron 200-series CPU (including dual-core), 16 GB ECC DDR400 RAM, with > 2 64-bit/133 MHz PCI-X slots, 2 64-bit/100 MHz PCI-X slots, and 1 > 32-bit/33 MHz

Re: atapicam fails after upgrade to 6.3

2007-12-15 Thread Pete French
> 1) when I use acd0 directly it seems to work.. > 2) when I load atapicam module i got this messages: > > Dec 13 23:25:59 moondust kernel: acd0: FAILURE - INQUIRY ILLEGAL REQUEST > asc=0x24 ascq=0x00 > Dec 13 23:25:59 moondust kernel: acd0: FAILURE - INQUIRY ILLEGAL REQUEST > asc=0x

Is it safe to use CPUTYPE?=native on 7.0 ?

2007-12-16 Thread Pete French
fairly simple question really - on machines where I never use the compiled binaries anywhere else, is it O.K. to set the CPU type to 'native' in make.conf ? According to gcc this should detect the processor type and set the various flas as approrpiate, which is nice, as we have a mix of P3, P4 and

Re: Is it safe to use CPUTYPE?=native on 7.0 ?

2007-12-16 Thread Pete French
> While setting CPUTYPE=native in /etc/make.conf may work, it fails to > set MACHINE_CPU to the correct values for your processor type. > > The problem is that bsd.cpu.mk doesn't know how to handle CPU type 'native'. Ah, O.K. - thats the kind of thing I was worried about... > There is a simple fi

Problem with 'reply' in /usr/bin/mail

2007-12-18 Thread Pete French
#To: "Emma Farmer" <[EMAIL PROTECTED]>,"Robin Allen" <[EMAIL PROTECTED]>,"Adam Stott Everett" <[EMAIL PROTECTED]>,"Phil Wright" <[EMAIL PROTECTED]>,"Jason McLaughlin" <[EMAIL PROTECTED]>,"Pete French" <[EMA

odd zfs behaviour on reboot

2007-12-21 Thread Pete French
was just experimenting with zfs on a spare slice on the disc - this may all be entirely my fault for doing it worng, if so please tell me, but I appear to be gettign a zfs pool ounted on reboot but with none of the data appearing in it! what I did: 1) take a space slice, only got one partition on

Re: odd zfs behaviour on reboot

2007-12-21 Thread Pete French
> heh I had the same prob a couple days back. Check the archives last > week, 10DEC07 "Re: Various Issues with 7.0-BETA4" actually, it wsa that thread which motivated me to experiment ... and I was thinking all along "must remember to add zfs to loader.conf to avoid that". Of course I then forgot

Re: odd zfs behaviour on reboot

2007-12-21 Thread Pete French
O.K., even odder - it seems that something is creating a real '/tank' directory in '/' for some reaosn, but not mounting the filesystems onto it. when I reboot I get this: # zpool status pool: tank state: ONLINE scrub: none requested config:

<    1   2   3   4   5   6   7   8   >