Re: Uppercase RE matching problems in FreeBSD 11

2016-11-08 Thread Chuck Swiger
On Nov 8, 2016, at 11:54 AM, Stefan Ehmann wrote: > On 07.11.2016 22:13, Charles Swiger wrote: >> On Nov 6, 2016, at 1:49 PM, Stefan Bethke wrote: >>> Am 06.11.2016 um 22:27 schrieb Baptiste Daroussin >>> : That works for POSIX locale aka

Re: A few problems

2013-03-18 Thread Chuck Swiger
Hi-- On Mar 16, 2013, at 2:08 AM, Michael BlackHeart wrote: Hello there. I've got a couple of things I don't get or can't handle. I'm running: FreeBSD diablo.miekoff.local 9.1-STABLE FreeBSD 9.1-STABLE #0 r248347: Sat Mar 16 03:20:58 MSK 2013

Re: devd problem with 9-stable

2012-06-15 Thread Chuck Swiger
On Jun 15, 2012, at 11:23 AM, Oliver Fromme wrote: You can try to prepend a backslash, i.e. echo \$devnum. This isn't documented, but then again, using backslashes to continue strings that span multiple lines isn't documented either. Line continuations and escaping special chars like $ are in

Re: Why Are You NOT Using FreeBSD ?

2012-06-11 Thread Chuck Swiger
Hi, Dave-- On Jun 11, 2012, at 4:35 PM, Dave Hayes wrote: [ ... ] Do I have this wrong? Anyone see a problem with this picture? What can we do to just upgrade in a safe fashion when we want to? Two things help tremendously: #1: Have working backups. If you run into a problem, roll back the

Re: FreeBSD_9.0_Port_Upgrade

2012-04-23 Thread Chuck Swiger
On Apr 23, 2012, at 10:08 AM, Prabhpal S. Mavi wrote: i have FreeBSD 9.0 Stable Running the following roles for past four months. Everything is functioning smooth alright. I read that system should be upgraded frequently. i am afraid that if i upgrade something can break. It's a good idea to

Re: ZFS options for FreeBSD 8.3

2012-04-16 Thread Chuck Swiger
On Apr 16, 2012, at 9:57 AM, carlopmart wrote: I have installed FreeBSD 8.3 amd64 release in an ESXi server. Due to some limitations, I can only assign 2GiB of RAM to this virtual machine and I need to use ZFS as filesystem to store some data (MySQL databases). That combination doesn't make

Re: ZFS options for FreeBSD 8.3

2012-04-16 Thread Chuck Swiger
On Apr 16, 2012, at 10:28 AM, carlopmart wrote: Thanks Chuck. Yes, I know it is not hte best option. But I need to tunning this vm with ZFS. Um, why? Almost, is the minimum RAM needed for ZFS according to http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/filesystems-zfs.html.

Re: ZFS options for FreeBSD 8.3

2012-04-16 Thread Chuck Swiger
On Apr 16, 2012, at 10:54 AM, carlopmart wrote: On 04/16/2012 07:35 PM, Chuck Swiger wrote: On Apr 16, 2012, at 10:28 AM, carlopmart wrote: Thanks Chuck. Yes, I know it is not hte best option. But I need to tunning this vm with ZFS. Um, why? Becaus, we can't assing more ... My question

Re: FreeBSD 9.0: Valgrind leaks memory

2012-03-16 Thread Chuck Swiger
On Mar 16, 2012, at 9:52 AM, Dimitry Andric wrote: For some reason, since the original BSD 4.4 Lite Lib Sources, the stdio files are only flushed, not closed, at exit. In practice, it will not matter much, as the kernel will cleanup any left-overs when the process dies. File descriptors get

Re: zfs, 1 gig of RAM and periodic weekly

2012-02-27 Thread Chuck Swiger
Hi-- On Feb 26, 2012, at 9:07 PM, Eugene M. Zheganin wrote: [ ... ] all with zfs and one gig of RAM. This isn't a sensible combination; I wouldn't try to run ZFS on anything less than 4GB... Regards, -- -Chuck ___ freebsd-stable@freebsd.org

Re: mpslsi0 : Trying sleep, but thread marked as sleeping prohibited

2012-02-22 Thread Chuck Swiger
On Feb 22, 2012, at 4:22 PM, Desai, Kashyap wrote: Just curious to know, What is a reason that thread can do blocking sleep but can't do unbounded sleep ? When you block, the scheduler can run other threads and only needs to wake up and run your thread after the blocking condition is

Re: ZFS: i/o error - all block copies unavailable on large disk number machines

2012-01-23 Thread Chuck Swiger
On Jan 23, 2012, at 9:04 AM, Steven Hartland wrote: After some digging we discovered that this was likely due to the fact that the BIOS only enumerates the first 12 disks and this machine has more than that in the root zpool which was a striped raidz2 volume. This in turn means that the

Re: Timekeeping in stable/9

2012-01-19 Thread Chuck Swiger
On Jan 19, 2012, at 12:04 PM, Joe Holden wrote: Looks like this is down to the dynamic/tickless changes in 9 (that aren't even noted in the release notes), the machines have now been switched to linux as the lack of responses/care given to my recent postings has been noted and it was deemed

Re: Timekeeping in stable/9

2012-01-19 Thread Chuck Swiger
On Jan 19, 2012, at 12:18 PM, Joe Holden wrote: Sounds like you were looking for commercial support, since unpaid volunteers don't have an obligation to promptly leap out and provide solutions within your ETA. Not really, just an acknowledgement would be fine. It is what it is, everyday

Re: about thumper aka sun fire x4500

2012-01-17 Thread Chuck Swiger
On Jan 17, 2012, at 2:09 PM, Jeremy Chadwick wrote: I do not have one of these boxes / am not familiar with them, but HyperTransport is an AMD thing. The concept is that it's a bus that interconnects different pieces of a system to the CPU (and thus the memory bus). While that was a nice

Re: 7.3 + kqueue + apache/php + DNS lookup problem

2011-09-30 Thread Chuck Swiger
On Sep 30, 2011, at 4:31 PM, Doug Barton wrote: o, this is a bit of an odd one I've got a web server running apache 2.2.17 and php 5.3.5. The host itself is running 7.3-RELEASE, i386, and is not busy. I can do DNS queries on the command line all day long and they are very snappy. Using

Re: bad sector in gmirror HDD

2011-08-19 Thread Chuck Swiger
On Aug 19, 2011, at 1:50 PM, Dan Langille wrote: Searching on that error message, I was led to believe that identifying the bad sector and running dd to read it would cause the HDD to reallocate that bad block. http://smartmontools.sourceforge.net/badblockhowto.html However, since ad2

Re: 32GB limit per swap device?

2011-08-09 Thread Chuck Swiger
On Aug 9, 2011, at 7:26 AM, Daniel Kalchev wrote: I am trying to set up 64GB partitions for swap for a system that has 64GB of RAM (with the idea to dump kernel core etc). But, on 8-stable as of today I get: WARNING: reducing size to maximum of 67108864 blocks per swap unit Is there

Re: UDP Packet reassembly

2011-07-28 Thread Chuck Swiger
On Jul 28, 2011, at 12:01 PM, Stephen Clark wrote: Could someone enlighten me as to when FreeBSD 6.3 does UDP packet reassembly? Packet reassembly is done at the IP layer, not the UDP layer. Normally, reassembly is performed on the destination host, but routers or firewalls along the path

Re: Making world but no kernel

2011-07-26 Thread Chuck Swiger
On Jul 26, 2011, at 7:25 AM, Jerome Herman wrote: Actually it is Raid 10 of a sort. Three first halves of the three disk concatenated and mirrored on the three second half of the same drives. There's a significant problem right there. Not only will that configuration badly degrade the

Re: Making world but no kernel

2011-07-26 Thread Chuck Swiger
On Jul 26, 2011, at 8:03 AM, Jerome Herman wrote: On 26/07/2011 16:58, Chuck Swiger wrote: On Jul 26, 2011, at 7:25 AM, Jerome Herman wrote: Actually it is Raid 10 of a sort. Three first halves of the three disk concatenated and mirrored on the three second half of the same drives. There's

Re: Making world but no kernel

2011-07-26 Thread Chuck Swiger
On Jul 26, 2011, at 8:19 AM, Michal Varga wrote: Well, that depends. Probably every single time I've seen someone touching sysinstal in a post-install environment, that OS was instantly rendered as much as good for a complete reinstall. It's just one of those things that shouldn't be present

Re: OS X Lion time machine = (afpd|iSCSI) = ZFS question

2011-07-21 Thread Chuck Swiger
On Jul 21, 2011, at 2:56 PM, Bakul Shah wrote: I am in no hurry to upgrade my MBP to OS X Lion but given Lion time machine and netatalk issues, Which issues? (And did you file a bug report? :-) I got wondering if iSCSI on FreeBSD is stable enough for time machine use. How much duct tape

Re: OS X Lion time machine = (afpd|iSCSI) = ZFS question

2011-07-21 Thread Chuck Swiger
On Jul 21, 2011, at 3:40 PM, Bakul Shah wrote: On Thu, 21 Jul 2011 15:28:08 PDT Chuck Swiger cswi...@mac.com wrote: On Jul 21, 2011, at 2:56 PM, Bakul Shah wrote: I am in no hurry to upgrade my MBP to OS X Lion but given Lion time machine and netatalk issues, Which issues? (And did you

Re: Status of support for 4KB disk sectors

2011-07-19 Thread Chuck Swiger
On Jul 18, 2011, at 11:04 PM, Kevin Oberman wrote: I just wish FreeBSD had some decent documentation on such a fundamental operation. Fortunately there are some pretty good articles folks have written, but they did leave me with several questions. Is there something in FreeBSD which is

Re: Status of support for 4KB disk sectors

2011-07-19 Thread Chuck Swiger
On Jul 19, 2011, at 12:29 PM, Ivan Voras wrote: Is there something in FreeBSD which is preventing you from using the drive's native DEV_BSIZE of 4096 bytes, or is it that the drive claims to have a physical block size of 512 bytes when it is really 4k? Nope, only that. :-) It's nice to

Re: Status of support for 4KB disk sectors

2011-07-19 Thread Chuck Swiger
On Jul 19, 2011, at 2:10 PM, Peter Jeremy wrote: On 2011-Jul-19 10:54:38 -0700, Chuck Swiger cswi...@mac.com wrote: Unix operating systems like SunOS 3 and NEXTSTEP would happily run with a DEV_BSIZE of 1024 or larger-- they'd boot fine off of optical media using 2048-byte sectors

Re: Status of support for 4KB disk sectors

2011-07-19 Thread Chuck Swiger
On Jul 19, 2011, at 8:14 PM, Jeremy Chadwick wrote: On Wed, Jul 20, 2011 at 02:39:28AM -0700, per...@pluto.rain.com wrote: IIRC, Plextor (and maybe some others) had a switch to select 512 or 2048 as the default transfer size, precisely so that they could be used as boot devices with systems

Re: Hard drive detection

2011-05-12 Thread Chuck Swiger
On May 12, 2011, at 1:25 PM, Mark Blackman wrote: Power problems (i.e. under-rated PSU)? Staggered spin-up means they're not all coming up quickly enough? While your suggestion would generally be a decent guess, the dmesg implies the box is a Sun X4540; it probably has two or three 1500W

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Chuck Swiger
On Apr 28, 2011, at 7:03 AM, Daniel O'Connor wrote: Does anyone else use ZFS to store TM backups? I find that whenever my laptop (over wifi!) starts a TM the ZFS machine it's backing up to grinds to a halt.. Other systems streaming stuff over NFS from it also tend to stall.. I presume

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Chuck Swiger
On Apr 28, 2011, at 12:17 PM, George Kontostanos wrote: I am using TM over smb on a ZFS Raidz1 pool of my fileserver with no problems whatsoever. NAME USED AVAIL REFER MOUNTPOINT tank/apple 37.2G 82.8G 37.2G /tank/apple Oldest backup 14

Re: Kernel memory leak in 8.2-PRERELEASE?

2011-04-05 Thread Chuck Swiger
On Apr 5, 2011, at 7:54 AM, Pete French wrote: Having swap provides some cushion. Swap kind of smooths any bursts. (And it can also slow things down as a side effect) This is why I got rid of it - my application is a lot of CGI scripts. The overload condition is that we run out of memory

Re: statd/lockd startup failure

2011-02-19 Thread Chuck Swiger
Hi-- On Feb 19, 2011, at 1:16 PM, Rick Macklem wrote: Well, that was what I was proposing. I could be wrong, but as far as I know, this is allowed by Sun RPC. The port#s are assigned dynamically and registered with rpcbind. (I don't necessarily agree with the design, but this was/is how Sun

Re: mps(4) driver (LSI 6Gb SAS) commited to stable/8

2011-02-18 Thread Chuck Swiger
On Feb 18, 2011, at 3:27 PM, Adam Vande More wrote: /dev/urandom is linked to /dev/random. Is there some other difference I'm not aware of, or are you confusing it with Linux's random? There is no difference between the two on FreeBSD, although anyone using the platform is hoping that Yarrow

Re: RFC: Upgrade BIND version in RELENG_7 to BIND 9.6.x

2010-12-18 Thread Chuck Swiger
Hi-- On Dec 17, 2010, at 9:41 PM, Doug Barton wrote: In order to avoid repeating the scenario where we have a version of BIND in the base that is not supported by the vendor I am proposing that we upgrade to BIND 9.6-ESV in FreeBSD RELENG_7. +1 I am particularly interested in feedback from

Re: /etc/rc.d/named stop (Was: Re: RFC: Upgrade BIND version in RELENG_7 to BIND 9.6.x)

2010-12-18 Thread Chuck Swiger
On Dec 18, 2010, at 3:20 PM, Doug Barton wrote: If you start named with the rc.d script it should do that for you. ll /var/run/named/pid lrwxr-xr-x 1 root bind 28 Dec 18 13:52 /var/run/named/pid@ - /var/named/var/run/named/pid Make sure you don't have named_symlink_enable=NO

Re: /etc/rc.d/named stop (Was: Re: RFC: Upgrade BIND version in RELENG_7 to BIND 9.6.x)

2010-12-18 Thread Chuck Swiger
On Dec 18, 2010, at 3:50 PM, Doug Barton wrote: On 12/18/2010 15:41, Chuck Swiger wrote: /usr/local/sbin/named from ports seems to be using a /var/named/var/run/named/named.pid file instead. You're not using the default named.conf file then. Nope. What you've got there is the named

named: high memory usage...?

2010-12-15 Thread Chuck Swiger
Hi-- I'd recently updated a machine to 7-STABLE, and I've noticed that named from the base system (which claims to be BIND 9.4-ESV-R4) is using more than twice as much memory as it used to: PID USERNAME THR PRI NICE SIZERES STATETIME WCPU COMMAND 706 bind 4

Re: Panic in ZFS layer on 8.1-STABLE

2010-12-15 Thread Chuck Swiger
Hi-- On Dec 15, 2010, at 2:55 PM, Jeremie Le Hen wrote: I think running a 64 bits kernel would help a lot in that case. Unfortunately I don't think my CPU supports the instruction set: CPU: Intel(R) Core(TM)2 CPU 6320 @ 1.86GHz (1869.88-MHz 686-class CPU) Origin = GenuineIntel

Re: HELP! /usr/bin/as core dump after 'make world' from RELENG_6 to RELENG_7

2010-12-15 Thread Chuck Swiger
Hi, Hiroyuki-- On Dec 15, 2010, at 6:10 PM, NAKAJI Hiroyuki wrote: After all, portmaster -a gets a 'cannot compile' error. I found as.core in the WRKDIR and 'signal 11' in dmesg. I tried gdb /usr/bin/as as.core and got gdb.core file ... Is there any way to recover from this terrible

Re: ntpd fails on boot

2010-12-14 Thread Chuck Swiger
On Dec 14, 2010, at 4:38 PM, Dan Allen wrote: Recently my network connection now is setup AFTER ntpd is launched rather than before. So when ntpd starts there is no net connection and it gives up. Change the REQUIRE line in /etc/rc.d/ntpd to indicate whatever dependency you need to have so

Re: ntpd fails on boot

2010-12-14 Thread Chuck Swiger
On Dec 14, 2010, at 4:47 PM, Jeremy Chadwick wrote: [ ... ] Change the REQUIRE line in /etc/rc.d/ntpd to indicate whatever dependency you need to have so that your network connection is up before ntpd tries to run. man rcorder is informative It's not that simple. Shrug-- if there is

Re: Stale NFS file handles on 8.x amd64

2010-11-29 Thread Chuck Swiger
Hi, Adam-- On Nov 29, 2010, at 5:06 PM, Adam McDougall wrote: I've been running dovecot 1.1 on FreeBSD 7.x for a while with a bare minimum of NFS problems, but it got worse with 8.x. I have 2-4 servers (usually just 2) accessing mail on a Netapp over NFSv3 via imapd. delivery is via

Re: TTY task group scheduling

2010-11-18 Thread Chuck Swiger
On Nov 18, 2010, at 10:23 AM, Alexander Best wrote: On Thu Nov 18 10, Andriy Gapon wrote: on 18/11/2010 13:04 O. Hartmann said the following: On 11/18/10 02:30, grarpamp wrote: Just documenting regarding interactive performance things. This one's from Linux.

Re: POSIX file permission (understanding) problem?

2010-10-25 Thread Chuck Swiger
On Oct 25, 2010, at 2:20 PM, Harald Schmalzbauer wrote: chmod g+w testdir/ (as superuser, exit again) ls -ld testdir drwxrwx--x 2 nobody intern 512 25 Okt 23:03 testdir ls -l testdir total 0 -rw-r- 1 nobody intern 0 25 Okt 23:03 testfile - Now editing with vi (as user

Re: resume slow on Thinkpad T42 FreeBSD 8-STABLE

2010-10-01 Thread Chuck Swiger
On Sep 29, 2010, at 10:07 AM, Jeremy Chadwick wrote: On Wed, Sep 29, 2010 at 09:57:53AM -0700, Chuck Swiger wrote: I doubt repeated coincidences. :-) Is prime95 testing running stable after waking from sleep? He's not running Prime95 (native Win32 app), he's running ports/math/mprime

Re: resume slow on Thinkpad T42 FreeBSD 8-STABLE

2010-09-29 Thread Chuck Swiger
Hi-- On Sep 29, 2010, at 8:42 AM, Vitaly Magerya wrote: The test run for 17 hours without any problems (or MCA messages), That part is good. At least starting from normal operation, your laptop is running stably under load then I put the laptop for a 5 minute sleep, resumed the test,

Re: resume slow on Thinkpad T42 FreeBSD 8-STABLE

2010-09-28 Thread Chuck Swiger
On Sep 28, 2010, at 12:57 PM, Vitaly Magerya wrote: I also have this kernel message once in a few hours (seemingly random) if I used sleep/resume before: MCA: Bank 1, Status 0xe20001f5 MCA: Global Cap 0x0005, Status 0x MCA: Vendor GenuineIntel, ID

Re: BIND9 built w/--disable-ipv6 on 8.1-STABLE

2010-09-22 Thread Chuck Swiger
Hi-- On Sep 21, 2010, at 12:31 PM, Diane Bruce wrote: [ ... ] Doug Barton do...@freebsd.org wrote: If I'm still alive when IPv6 is the norm and IPv4 is the exception, I promise to give it another look. :) IPv6 is more prevalent than you think. I can't understand the illogic of turning it

Re: Unable to install 8.x on a PowerEdge R810

2010-07-22 Thread Chuck Swiger
Hi, Mahlon-- On Jul 22, 2010, at 5:36 PM, Mahlon E. Smith wrote: Install worked great, though it appears I need to keep hyperthreading (logical processors bios option) disabled for it to boot reliably. Similar errors as before if I enable it. I believe FreeBSD ships with MAXCPU set to 32 by

Re: Zpool scrub and not-root users

2010-05-25 Thread Chuck Swiger
On May 25, 2010, at 12:21 PM, jhell wrote: He does not need to add another layer of insecurity to his system such as sudo. Not saying that this is bad but it feels like a little overkill for something as simple as this. This can be done old-school. pw groupadd _zfsadm pw groupmod _zfsadm

Re: Zpool scrub and not-root users

2010-05-24 Thread Chuck Swiger
Hi-- On May 24, 2010, at 8:00 AM, Mikkel Skaerris wrote: Im wondering if there is a way of allowing non-root users to perform a disk scrub using zpool scrub pool. I've been messing around with permissions, but no luck so far. Anyone got a clue? You can use the security/sudo port to allow

Re: Why doesn't this startup script execute on boot?

2010-05-12 Thread Chuck Swiger
Hi-- On May 12, 2010, at 4:46 PM, Andy Dills wrote: I'm working on getting p0f integrated with amavisd-new. Everything is great, with the exception that I can't get the neccessary commands to execute on boot. The amavid-p0fanalyzer script should have been installed if you used the port: %

Re: fault tolerant web servers on freebsd

2010-04-06 Thread Chuck Swiger
On Apr 5, 2010, at 2:10 PM, Maciej Jan Broniarz wrote: W dniu 10-04-05 22:43, jfar...@goldsword.com pisze: Quoting Maciej Jan Broniarz gau...@gausus.net: So first you have to define your workload, then define what errors you must avoid or allow, and then define how to deal with failures,

Re: NFS lockd problem

2010-03-27 Thread Chuck Swiger
On Mar 26, 2010, at 3:08 AM, Giulio Ferro wrote: Outset: 1 NFS server (with lockd) 2 NFS client (with lockd) The clients serve several jails with apache, whose data (www) resides on the server If you need file locking to work reliably, you pretty much have to give up on using NFS +

Re: best practice to watch TCP parms of established sockets

2010-02-17 Thread Chuck Swiger
Hi-- On Feb 17, 2010, at 8:03 AM, Harald Schmalzbauer wrote: while doing some ZFS tests with RELENG_8 I recognized a mysterious performace drop after an hour uptime. Now my first idea is to compare MSS and windows sizes before and after the performance drop. How do I best capture them?

Re: ping: sendto: Can't assign requested address

2010-02-11 Thread Chuck Swiger
Hi-- On Feb 11, 2010, at 9:13 AM, GLADtr GLADtr wrote: Hello my friends! Help me please with its problem. I`m don`t what it is problem... Do you have a lo0 interface? Is it up and using IP 127.0.0.1? # ifconfig lo0 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6

Re: ntpd struggling to keep up - how to fix?

2010-02-11 Thread Chuck Swiger
Hi-- On Feb 11, 2010, at 10:06 AM, Torfinn Ingolfsen wrote: [ ... ] Feb 7 16:11:45 kg-f2 ntpd[910]: time reset +2.373325 s and this goes on an on, forever. At any give time, no matter how long the machine has been up, ntpq ca report this: r...@kg-f2# ntpq -p remote refid

Re: FreeBSD 8.0 i386 unable to boot...

2010-02-08 Thread Chuck Swiger
Hi-- On Feb 8, 2010, at 6:01 PM, Pierre-Luc Drouin wrote: Going nowhere without my init cpuid = 1 Does anyone know what can be causing this and how to solve it? I don't suppose you built a custom kernel without the COMPAT_FREEBSD7 option? You need it until you get a new R8 userland and all

Re: ZFS zpool replace problems

2010-01-26 Thread Chuck Swiger
Hi-- On Jan 26, 2010, at 7:03 AM, Gerrit Kühn wrote: [ ... ] atap...@pci0:3:6:0: class=0x010401 card=0x02409005 chip=0x02401095 rev=0x02 hdr=0x00 vendor = 'Silicon Image Inc (Was: CMD Technology Inc)' device = 'SATA/Raid controller(2XSATA150) (SIL3112)' class = mass

Re: ZFS zpool replace problems

2010-01-26 Thread Chuck Swiger
Hi-- On Jan 26, 2010, at 8:25 AM, Gerrit Kühn wrote: CS There's your problem-- the Silicon Image 3112/4 chips are remarkably CS buggy and exhibit data corruption: Hm, sure? I'm sure that the SII 3112 is buggy. I am not sure that it is the primary or only cause of the problems you describe.

Re: immense delayed write to file system (ZFS and UFS2), performance issues

2010-01-26 Thread Chuck Swiger
Hi-- On Jan 26, 2010, at 10:45 AM, Dan Naumov wrote: 9 Power_On_Hours 0x0032 100 100 000Old_age Always - 136 193 Load_Cycle_Count0x0032 199 199 000Old_age Always - 5908 The disks are of exact same model and look to be same

Re: General problems with checksums (txcsum/rxcsum) on FreeBSD 8.0?

2010-01-15 Thread Chuck Swiger
Hi-- On Jan 15, 2010, at 11:12 AM, alan bryan wrote: [ ... ] I'm currently sifting through a tcpdump in wireshark and there are all sorts of messages in there about checksums being incorrect - both TCP and UDP. If you run tcpdump on a machine, it normally will receive the traffic being sent

Re: Hacked - FreeBSD 7.1-Release

2009-12-09 Thread Chuck Swiger
On Dec 9, 2009, at 4:40 PM, Squirrel wrote: My server was hacked, and the hacker was nice enough to not cause damage except changing index.php of couple of my websites. The index.php had the following info: Hacked By Top First Warning That's Bug From Your Servers Next Time You Must Be

Re: incorrect usleep/select delays with HZ 2500

2009-09-07 Thread Chuck Swiger
Hi, all-- On Sep 7, 2009, at 12:21 AM, Luigi Rizzo wrote: 3. ?CAUSE an error in tvtohz(), reported long ago in ? ? ? ?http://www.dragonflybsd.org/presentations/nanosleep/ ? ? ? ?which causes a systematic error of an extra tick in the computation ? ? ? ?of the sleep times. ? ?FIX: the above

Re: Can an app crash from a single TCP packet lost in transmission?

2009-07-17 Thread Chuck Swiger
On Jul 17, 2009, at 12:12 PM, Peter Much wrote: [ ... ] One other thing did happen between 03:51 and 03:52 - the DSL internet connection did disconnect/reconnect and obtained a new IP adress. Afterwards, a script does flush and reload an ipfw table() with the new local adresses - and during this

Re: Does this disk/filesystem layout look sane to you?

2009-06-17 Thread Chuck Swiger
Hi-- On Jun 16, 2009, at 5:53 PM, Andrew Reilly wrote: I bought a pair of identical WD 750G SATA drives the other day and was surprised to discover that they were different sizes: ad4: 715403MB WDC WD7500AACS-00D6B1 01.01A01 at ata2-master SATA150 ad6: 715404MB WDC WD7500AACS-00D6B1 01.01A01

Re: More data on 7.2-RELEASE hangs

2009-05-13 Thread Chuck Swiger
Hi-- On May 13, 2009, at 9:52 AM, John Baldwin wrote: [ ... ] Well, you had a whole lot of page faults and other VM activity, plus 500k syscalls. The 'w' is a count of swapped processes, so basically your box is swapping a whole lot it seems. I think your box is just overloaded. Yep.

Re: 6.x acpi powerbutton

2009-04-17 Thread Chuck Swiger
On Apr 17, 2009, at 12:27 PM, Nate Lawson wrote: Perhaps a silly question, but is it too late at this stage of the game to try logging S5 events to syslog before dying? I agree with Stephen, logging 'shutdown by powerbutton' surely beats what might otherwise resemble a spontaneous reboot?

Re: Can't compile rtmpdump source

2009-03-18 Thread Chuck Swiger
On Mar 18, 2009, at 10:38 AM, pluknet wrote: Hi, Josep. Try an attached patch. FreeBSD runs on both big and little-endian architectures; please include sys/endian.h instead, which will pull in machine-specific headers and #define _BYTE_ORDER to _LITTLE_ENDIAN or _BIG_ENDIAN as

Re: Upgrade from 32-bit to AMD-64?

2009-02-12 Thread Chuck Swiger
On Feb 12, 2009, at 5:31 PM, Karl Denninger wrote: I have a machine that can run either (proved, I can boot the AMD-64 release disk) Can I SOURCE UPGRADE from one to the other? That is, is it possible to do a make buildworld, make buildkernel and then make installkernel and wind up with

Re: NIC for VLAN

2009-01-07 Thread Chuck Swiger
On Jan 7, 2009, at 11:01 AM, Edvaldo Silva wrote: Please, can someone point a NIC, PCI 2.2 specs, full VLAN capable under FreeBSD? Intel fxp or em; Broadcom bge or bce Regards, -- -Chuck ___ freebsd-stable@freebsd.org mailing list

Re: constant zfs data corruption

2008-10-20 Thread Chuck Swiger
Hi, all-- On Oct 20, 2008, at 6:22 AM, Jeremy Chadwick wrote: [ ...JoaoBR wrote... ] well, hardware seems to be ok and not older than 6 month, also happens not only on one machine ... smartctl do not report any hw failures on disk regarding jumpering the drives to 150 you suspect a driver

Re: constant zfs data corruption

2008-10-20 Thread Chuck Swiger
On Oct 20, 2008, at 9:48 AM, Jeremy Chadwick wrote: Hm... I thought we determined earlier in this thread that the OP is not getting the benefits of ZFS checksums because he's not using raidz (only a single disk with a single pool)? He's not getting working filesystem redundancy with the

Re: constant zfs data corruption

2008-10-20 Thread Chuck Swiger
On Oct 20, 2008, at 10:19 AM, Jeremy Chadwick wrote: He's not getting working filesystem redundancy with the existing config and is vulnerable to losing data from a single drive failure, agreed. But the ZFS checksum mechanism should still be working to detect data corruption, even though ZFS

Re: constant zfs data corruption

2008-10-17 Thread Chuck Swiger
On Oct 17, 2008, at 11:30 AM, JoaoBR wrote: constantly I find data corruption on ZFS volums, ever from rrdtool, this corrupt data happens on SATA disks, never seem on SCSI Presumably your SATA drives are correctly being reported by ZFS as corrupting data, and you should do something like

Re: fxp performance with POLLING

2008-10-03 Thread Chuck Swiger
Pieter de Goeje wrote: On Friday 03 October 2008, Bartosz Stec wrote: Hello again :) With POLLING enabled I experience about 10%-25% performance drop when copying files over network. Tested with both SAMBA and NFS. Is it normal? Yes. You don't want to use polling unless you set kern.hz to

Re: changing a ports final destination via make knobs question...

2008-08-26 Thread Chuck Swiger
Hi-- On Aug 26, 2008, at 12:42 PM, [EMAIL PROTECTED] wrote: Given that the folks at PHP have decided that no one is allowed to use PHP4 any longer. I've decided to *attempt* to install a copy of PHP5 (cgi only) along side my already installed/configured, and in use copy of PHP4 (apache_module,

Re: i386 vs amd64?

2008-08-07 Thread Chuck Swiger
and 2 (similar to http://www.pkix.net/~chuck/sdiff2.diff); hopefully your system is recent enough to include that change: Regards, -- -Chuck Begin forwarded message: From: Chuck Swiger [EMAIL PROTECTED] Date: June 13, 2007 11:57:34 AM PDT To: LI Xin [EMAIL PROTECTED] Cc: FreeBSD Current

Re: Max size of one swap slice

2008-08-05 Thread Chuck Swiger
On Aug 5, 2008, at 8:39 AM, Lin Jui-Nan Eric wrote: Recently we found that we can only allocate 32GB for one swap slice. Does there is any sysctl oid or any kernel option to increase it? Why we have this restriction? This size limitation likely predates the availability of disks larger than

Re: Fresh 7.0 Install: Fatal Trap 12 panic when put under load

2008-07-24 Thread Chuck Swiger
On Jul 24, 2008, at 9:15 AM, John Sullivan wrote: Right, after trying for a number of days the system still just hung without letting me get either a dump or to interactively debug in the failed state, I reverted back to the Generic kernel, removed half the memory (2 of the 4 1GB sticks) and

Using IP aliases, was: named.conf: query-source address

2008-07-17 Thread Chuck Swiger
On Jul 17, 2008, at 7:00 AM, Eugene Grosbein wrote: About the only common reason to set up multiple aliases on an interface is when you're doing something like hosting multiple SSL webservers on a single box which actually need to have distinct IPs as a consequence. Other than that, using

Re: named.conf: query-source address

2008-07-16 Thread Chuck Swiger
On Jul 16, 2008, at 8:51 PM, Eugene Grosbein wrote: On Wed, Jul 16, 2008 at 06:34:38PM +0100, Matthew Seaman wrote: The 'query-source' options don't have to be specified: the system will just choose some appropriate address according to the state of the routing table. 'query-source' to set the

Re: Sockets stuck in FIN_WAIT_1

2008-05-28 Thread Chuck Swiger
Hi-- You didn't mention which version of FreeBSD you are running-- that's rather important info. On May 28, 2008, at 3:13 PM, Robert Blayzor wrote: ipfw: 00200 allow tcp from any to me 80 setup 00200 allow icmp from any to me icmptype 0,3,8,11 00200 deny log ip from any to me Also,

Re: sched_ule performance on single CPU

2008-05-27 Thread Chuck Swiger
On May 27, 2008, at 7:51 PM, Unga wrote: Appreciate if Chuck Swiger could enlighten us again on what priority X run on Mac OSX? realtime or normal? The X11 server seems to run with mildly elevated priority (46, where realtime is 60 or so); something like an xterm runs with normal/ default

Re: sched_ule performance on single CPU

2008-05-24 Thread Chuck Swiger
On May 23, 2008, at 6:37 PM, Unga wrote: When open an pdf has two types of scenarios in FreeBSD: 1. When X run as a realtime-prio process, X go mad and swallow up almost all of CPU cycles, making audio hiccups. 2. When X run as a normal-prio process, X behaves well and rarely gets an

Re: problems with ia64

2008-05-13 Thread Chuck Swiger
On May 13, 2008, at 4:04 PM, Christian J. Wong Cruz wrote: Hello, I'm trying to download the ia64 distribution CDs from ftp://ftp.freebsd.org/pub/FreeBSD/releases/ia64/ISO-IMAGES/7.0/ and the list is [ ... ] if you look at the disc 2 and 3, the size is 364K is it ok?. I'd like to install

Re: 7.0 issues fixed? upgrade timing?

2008-05-11 Thread Chuck Swiger
On May 11, 2008, at 9:34 PM, John Daniels wrote: 1. I have a realtek network card and am using a cable modem router. Does anyone know if fixes for problems with these (see below) have been backported from HEAD to RELENG_7? The most useful thing to do would be to test the fixes out

Re: RELENG_6_3 ping and DUP packets

2008-04-10 Thread Chuck Swiger
On Apr 10, 2008, at 1:58 PM, Damian Weber wrote: But here is the problem, pinging the machine from remote gives A.B.C.X$ ping A.B.C.D PING A.B.C.D (A.B.C.D): 56 data bytes 64 bytes from A.B.C.D: icmp_seq=0 ttl=64 time=0.272 ms 64 bytes from A.B.C.D: icmp_seq=0 ttl=255 time=0.391 ms (DUP!)

Re: Upgrading to 7.0 - stupid requirements

2008-03-19 Thread Chuck Swiger
On Mar 19, 2008, at 11:43 AM, Marko Lerota wrote: This thing should be solved. I liked the way that my OS have independance from ports. So no metter what I do with ports, my OS and his apps will work. And If I upgrade the OS I dont want to recompile ports for that. The traditional

Re: Upgrading to 7.0 - stupid requirements

2008-02-28 Thread Chuck Swiger
On Feb 28, 2008, at 3:08 PM, Marko Lerota wrote: In http://www.freebsd.org/releases/7.0R/announce.html says Updating Existing Systems An upgrade of any existing system to FreeBSD 7.0-RELEASE constitutes a major version upgrade, so no matter which method you use to update an older system you

Re: RELENG_7: interrupt eating whole cpu core

2008-02-06 Thread Chuck Swiger
Hi, Dominic-- On Feb 6, 2008, at 11:12 AM, Dominic Fandrey wrote: behaviour has changed. This is an HP 6510b GR695EA#ABD, if anyone thinks it might be helpful, I can supply you with a dmesg and the output of pciconf -lv. The problem remains with fresh sources: PID USERNAME THR PRI NICE

Re: ad0: TIMEOUT - WRITE_DMA type errors with 7.0-RC1

2008-01-25 Thread Chuck Swiger
On Jan 25, 2008, at 1:05 PM, Thomas Hurst wrote: These numbers are quite worrysome-- they should be zero or nearly so in a healthy drive. No, these are perfectly reasonable for a Seagate. I have about 12 7200.X's and all show the same sort of behavior. If they're nearly zero it's

Re: ad0: TIMEOUT - WRITE_DMA type errors with 7.0-RC1

2008-01-25 Thread Chuck Swiger
On Jan 25, 2008, at 11:24 AM, Joe Peterson wrote: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000f 114 071 006Pre-fail Always - 82422948 [ ... ] 7 Seek_Error_Rate 0x000f 084

Re: FreeBSD tar errors on valid empty tar.gz

2008-01-10 Thread Chuck Swiger
On Jan 10, 2008, at 2:58 PM, Steven Hartland wrote: Seems our current libarchive? That support FreeBSD's tar implementation has a bug where it can create archives it cant read back. This can be seen by simply creating an empty tar.gz file and then trying to expand or list it. In doing the

Re: FreeBSD tar errors on valid empty tar.gz

2008-01-10 Thread Chuck Swiger
On Jan 10, 2008, at 4:41 PM, Kris Kennaway wrote: Not that I'm aware of. gtar works but libarchive tar fails on the file it created. Yes, in 6.2. What about the report that it works in 6.3? Indeed. Trying to create a tarball using a non-existent list of files returns an error and

Re: interface speed support

2007-10-17 Thread Chuck Swiger
Hi, David-- On Oct 17, 2007, at 4:03 PM, David Yeske wrote: Is there a way to determine the supported interface speed of a particular driver? If I have a gigabit ethernet device connected to a 100baseTX switch, how can I determine the interface supports gigabit ethernet? I have tried parsing

Re: Panic with RELENG_6_2 on DELL PE 4600 with PAE

2007-10-03 Thread Chuck Swiger
Stephen Clark wrote: Chuck Swiger wrote: [ ... ] Oops, I should have said 24GB. Real Memory = 25769803776 (24576 MB) ...which matches your dmesg, right. No harm double-checking. :-) Hmm-- I haven't put more than 3 GB into a machine which didn't have a 64-bit processor, but getting

Re: Panic with RELENG_6_2 on DELL PE 4600 with PAE

2007-10-03 Thread Chuck Swiger
Hi-- Stephen Clark wrote: I have a Dell PE 4600 with 24MB of memory that I am trying to run 6.2-RELEASE-p7 compiled with the standard PAE config file. Just double-checking, here: your machine only has 24MB of memory? PAE is only really useful on 32-bit systems which have 4+GB of RAM... --

Re: config problem routing external IP in to local net

2007-09-17 Thread Chuck Swiger
On Sep 16, 2007, at 4:01 PM, Mike Lempriere wrote: The problem is that I need one specific machine to appear on the Internet proper with a unique IP address. I've hunted around the web and spent a bunch of time messing with things, and have them sort of working. It appears that when the

  1   2   3   >