Re: Trying to use /bin/sh

2013-09-28 Thread Stefan Esser
Am 28.09.2013 00:14, schrieb Jilles Tjoelker: > sh's model of startup files (only login shells use startup files with > fixed names, other interactive shells only use $ENV) assumes that every > session will load /etc/profile and ~/.profile at some point. This > includes graphical sessions. The ENV

Re: kldload ipfw, with IPFIREWALL_DEFAULT_TO_ACCEPT

2013-07-29 Thread Stefan Esser
Am 29.07.2013 12:45, schrieb Karl Pielorz: > I've got a number of 9.1 boxes, where we need to enable ipfw (by > kldload'ing it). > > I'm sure I saw a while ago a sysctl that would change the default ipfw > config from 'deny all' to 'allow all' - even for a kldload? But I can't > find it now. I gu

Re: Attempting to roll back zfs transactions on a disk to recover a destroyed ZFS filesystem

2013-07-14 Thread Stefan Esser
Am 12.07.2013 14:33, schrieb Volodymyr Kostyrko: > You can try to experiment with zpool hidden flags. Look at this command: > > zpool import -N -o readonly=on -f -R /pool > > It will try to import pool in readonly mode so no data would be written > on it. It also doesn't mount anything on import

Re: IBM blade server abysmal disk write performances

2013-01-19 Thread Stefan Esser
Am 19.01.2013 00:32, schrieb Karim Fodil-Lemelin: > * Although no one has reported problems with the 2 gig > * version of the DCAS drive, the assumption is that it > * has the same problems as the 4 gig version. Therefore > * this

Re: stupid UFS behaviour on random writes

2013-01-18 Thread Stefan Esser
Am 18.01.2013 00:01, schrieb Rick Macklem: > Wojciech Puchar wrote: >> create 10GB file (on 2GB RAM machine, with some swap used to make sure >> little cache would be available for filesystem. >> >> dd if=/dev/zero of=file bs=1m count=10k >> >> block size is 32KB, fragment size 4k >> >> >> now test

Re: FreeBSD for serious performance?

2012-12-13 Thread Stefan Esser
Am 12.12.2012 23:26, schrieb Wojciech Puchar: >> The cause of the low write performance is the disabled write cache. >> Enabling the write cache is unsafe on SATA drives (with or without >> NCQ), since they do not make any guarantees that nearby data is not >> lost if power fails during a disk writ

Re: FreeBSD for serious performance?

2012-12-12 Thread Stefan Esser
Am 11.12.2012 22:40, schrieb Adrian Chadd: > I'm not seeing: > > * any references to driver code that exhibits that very broken behaviour; > * any patches from you to implement NCQ on your nforce chipset; > * any offer of incentive to any developer to add that support. > > Now, (1) is defini

CVS commit logs removed by CVS update

2012-11-17 Thread Stefan Esser
To my big surprise I found that "cvs update" removed all the CVS logs from "/usr/cvs/CVSROOT-*/commitlogs/*" (collection cvsroot-all). While I do use SVN to keep source and ports updated on my system, I was used to scan the CVS log files for commit messages of interest, to locate commit messages w

Re: FreeBSD on RaspberryPi

2012-11-09 Thread Stefan Esser
Am 09.11.2012 05:44, schrieb Tim Kientzle: >> On Wed, Nov 7, 2012 at 6:01 PM, Tim Kientzle wrote: >> WARNING: This is still highly experimental and by no >> means ready for "production use", ... >> >> To boot FreeBSD on your RaspberryPi, you'll need: >> 1) A RaspberryPi. >> 2) A serial cable

[RFT/RFC]: Please test NSCD patch (was: Re: [PATCH] Fix for negative cacheing problem in NSCD)

2012-07-01 Thread Stefan Esser
[Since I did not receive any feedback on my previous message to the -hackers list, I try again and CC: to -current in the hope to attract more interest ...] The NSCD patch attached to the previous mail, which can be found at: http://www.mail-archive.com/freebsd-hackers@freebsd.org/msg1645

[PATCH] Fix for negative cacheing problem in NSCD

2012-06-28 Thread Stefan Esser
The Name Service Cache Daemon (NSCD) is useful, but may get in your way if you modify data that is cached and have the cache return stale data until expiry. One common scenario is an installation script that creates the required user account, but first checks whether the account name is currently

Re: [CFC/CFT] large changes in the loader(8) code

2012-06-28 Thread Stefan Esser
Sorry for following up to self, but ... I just noticed somebody else suggesting the same method (put GMIRROR configuration below Secondary GPT header), but I think there is a problem: If GMIRROR is used to mirror whole GPT partitioned drives, then you want the GPT sectors to be considered part of

Re: [CFC/CFT] large changes in the loader(8) code

2012-06-28 Thread Stefan Esser
Am 27.06.2012 21:14, schrieb Marcel Moolenaar: > > On Jun 27, 2012, at 12:08 PM, Christian Laursen wrote: > >> On 06/27/12 16:28, John Baldwin wrote: >>> On Wednesday, June 27, 2012 8:45:45 am Andrey V. Elsukov wrote: >>> When we are in the FreeBSD, our loader can detect that device size >>>

Re: strange printf(9) format specifier ("Z") in dev/drm code

2011-12-16 Thread Stefan Esser
Am 16.12.2011 12:27, schrieb Alexander Best: > On Tue Dec 6 11, David Schultz wrote: >> On Sun, Dec 04, 2011, Alexander Best wrote: >>> ... i couldn't find a reference to an upercase "Z" in the printf(9) man >>> page. >>> i talked to dinoex on #freebsd-clang (EFNet) and he said that the "Z" might

Re: easy way to determine if a stream or fd is seekable

2011-11-18 Thread Stefan Esser
Am 18.11.2011 06:00, schrieb per...@pluto.rain.com: > "Dieter BSD" wrote: >> IIRC some tape drives can seek, while others cannot. >> Vague memories that it is supposed to be possible to put a >> filesystem on a DECtape and mount the filesystem. > > Back in the Bell Labs 6th Edition days, it was p

Re: Does anyone use nscd?

2011-10-11 Thread Stefan Esser
Am 11.10.2011 10:32, schrieb Michael Bushkov: > On Tue, Oct 11, 2011 at 1:42 PM, wrote: >> Doug Barton wrote: >> >>> On 10/10/2011 11:55, David Brodbeck wrote: Is there any reason to cache negative hits? >>> >>> It's very important for DNS since there are a fairly large number >>> of misbeh

installworld fails with /usr/bin and /usr/sbin on separate file systems

2011-07-29 Thread Stefan Esser
Installworld fails in "usr.sbin/chown" with a cross-device link error, if /usr/bin and /usr/sbin are not on the same partition due to the following line in Makefile: LINKS= ${BINDIR}/chown /usr/bin/chgrp In this case, ${BINDIR} is /usr/sbin and while both are subdirectories of /usr (and thus typi

ZFS pool lost

2011-05-05 Thread Stefan Esser
file move and there is no chance, to identify the cause of the file-system corruption in this state. Any ideas? Best regards, STefan Am 05.05.2011 10:52, schrieb Stefan Esser: > I just lost my 2TB ZFS pool while moving some large files (ISO images) > under a current stable. The system pan

ZFS panic during file move on nearly full pool

2011-05-05 Thread Stefan Esser
I just lost my 2TB ZFS pool while moving some large files (ISO images) under a current stable. The system paniced with a message very similar to the one reported in http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2009-05/msg00181.html . Seems, that the on-disk structure is damage

Re: A question about "WARNING: attempt to domain_add(xyz) after domainfinalize()"

2011-01-13 Thread Stefan Esser
Am 13.01.2011 06:42, schrieb Julian Elischer: > On 1/12/11 5:26 AM, Svatopluk Kraus wrote: >> Hi, >> >> I'd like to add a new network domain into kernel (and never remove it) >> from loadable module. In fact, I did it, but I got following warning >> from domain_add(): "WARNING: attempt to domain_ad

Re: Drop cache

2010-03-17 Thread Stefan Esser
Am 16.03.2010 17:00, schrieb Pieter de Goeje: > On Monday 15 March 2010 04:33:04 Havacci wrote: >> How I can drop cache memory of my FreeBSD ? I search a lot about this >> and don't find anything. >> In Linux i usualy use this command: >> sync; echo 3 > /proc/sys/vm/drop_caches > > Something compa

Re: Video memory as swap under FreeBSD

2007-10-12 Thread Stefan Esser
Vladimir Terziev schrieb: > You're right, > > the swap, typically configured, is much more than the amount of the > video memory, but in fact the swap is just a reserv, which ensures > continuation of the normal operations on the machine, at times of peak loads. > In our days t

Re: tunefs.8 oddity

2007-07-20 Thread Stefan Esser
Julian Elischer wrote: > Stefan Esser wrote: >> Maxim Konovalov wrote: >>> On Fri, 20 Jul 2007, 23:21+0800, Xin LI wrote: >>>> Any chance that we resolve the bug instead of documenting it? :-) >>>> >>> Personally, I have no energy/time for

Re: tunefs.8 oddity

2007-07-20 Thread Stefan Esser
Maxim Konovalov schrieb: > On Fri, 20 Jul 2007, 23:21+0800, Xin LI wrote: > >> Maxim Konovalov wrote: >>> Hello, >>> >>> after spending a half an hour trying to help a friend of mine to turn >>> soft updates on the root filesystem on I'd like to revert a part of >>> rev. 1.21 just because it makes

Re: accessing NetBSD filesystem

2005-12-19 Thread Stefan Esser
Pawel Jakub Dawidek schrieb: > On Sun, Dec 18, 2005 at 04:16:16PM +0100, [EMAIL PROTECTED] wrote: > +> FFS v1 and v2 are both working. I'm using that everyday. The one part > +> which needs attention is soft updates: FreeBSD / DragonFly have it as > +> permanent flag, NetBSD as mount option. > >

[Patch] Incomplete vnode lock checking (DEBUG_VFS_LOCKS)

2003-01-05 Thread Stefan Esser
When /sys/tools/vnode_if.awk creates vnode_if.c from a template, it does never check the lock state of **vpp. (This is the indirect result of the double indirection required to store the vnode pointer as a side-effect of the function.) The following simple patch fixes vnode_if.awk: Index: /sys/t

Re: Re: userland program panics freebsd 4.3

2002-01-01 Thread Stefan Esser
On 2002-01-01 19:59 +, John Rochester <[EMAIL PROTECTED]> wrote: > Stefan Esser wrote: > > >Instead of the for loop, I'd rather have: > > > > while(waitpid(pid, NULL, WNOHANG) == EINTR) > > > This should be > > while (waitpid(pid, NUL

Re: Re: Re: userland program panics freebsd 4.3

2002-01-01 Thread Stefan Esser
On 2001-12-31 11:31 -0500, Michael Scheidell <[EMAIL PROTECTED]> wrote: > > (The second method, used only if there is no PROCFS, is to call > > kill(PID, 0), which will check if a signal could be delivered. > > That method should probably be prefered to the reading of procfs > > anyway, since the

Re: Re: userland program panics freebsd 4.3

2001-12-31 Thread Stefan Esser
On 2001-12-31 10:29 -0500, Michael Scheidell <[EMAIL PROTECTED]> wrote: > as for hanging processes, this is probaly due to the bug in the FBSD > distributer libpcap, hanging on pcap_next(). IIRC, most processes were sleeping in select(). But truss revealed, that some processes were running in a l

Re: userland program panics freebsd 4.3

2001-12-31 Thread Stefan Esser
On 2001-12-18 15:29 -0500, Michael Scheidell <[EMAIL PROTECTED]> wrote: > I have a userland program that canpanic/reboot a freebsd 4.3 system. > Hardware is Intel isp1100 (mbx440 motherboard) 850MHZ pIII, 256mb ram, 640mb > swapfile > software is 'nessusd' (network security scanner) hits the ether

[Patches] mount -o softdep (was: Re: soft updates and qmail (RE: qmail IO problems))

2001-02-11 Thread Stefan Esser
esolved, meanwhile, and I do not see any reason, not to enable soft-updates by default and to provide a mount option that disables soft-updates per filesystem. ( For reference, see the FreeBSD-Arch archive for the full message: Message-Id: <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: R

Re: R: [tcpdump-workers] Re: Re: [Ethereal-dev] Re: Fwd: kyxtech: freebsd outsniffed by wintendo !!?!?

2000-12-11 Thread Stefan Esser
On 2000-12-11 10:49 +0100, Loris Degioanni <[EMAIL PROTECTED]> wrote: > > # sysctl -w debug.bpf_bufsize=32768 debug.bpf_maxbufsize=4194304 > > > > makes the default buffer size 32K and limits the size to 4MB, for > > example. > > Notice however that in pcap-bpf.c, pcap_open_live() forces the buf

Re: Re: [Ethereal-dev] Re: Fwd: kyxtech: freebsd outsniffed by wintendo !!?!?

2000-12-09 Thread Stefan Esser
On 2000-12-08 00:38 -0800, Guy Harris <[EMAIL PROTECTED]> wrote: > (Both FreeBSD and OpenBSD have the maximum buffer size for BPF as 512KB > in the top of the CVS tree; NetBSD still has it as 32K.) You can change both the default and maximum BPF buffer sizes at run time (affecting an subsequent

Re: Re: PCIOCGETCONF/PCIOCREAD requires write permission?

2000-12-08 Thread Stefan Esser
On 2000-12-08 10:02 -0600, Mike Silbersack <[EMAIL PROTECTED]> wrote: > Seriously, though. There must be some way to abuse such direct access to > the pci configuration registers. Just because nobody has figured it out > how yet doesn't mean that enabling the feature is a good idea. Well, what

Re: Anyone tried StarOffice 5.2 yet?

2000-07-03 Thread Stefan Esser
On 2000-07-03 00:26 -0400, Coleman Kane <[EMAIL PROTECTED]> wrote: > I d/l'd from Sun and it installed without a hitch. It is a hell of a lot > faster than 5.1 and they've gotten rid of some of the crapisms. I didn't try to do any actual work with it, but I noticed that while the direct installat

Re: error in usr.bin/ftp/main.c ?

2000-06-20 Thread Stefan Esser
On 2000-05-24 10:56 +0200, Thomas Ludwig <[EMAIL PROTECTED]> wrote: > in usr.bin/ftp/main.c at line 407; instead of > > if (line[--num] == '\n') { > > it should probably be > > if (buf[--num] == '\n') { > > looks like a copy-paste error to me. Sieht auch für mich so aus ;-) Ist i

Re: PCI Plug 'n' Pray and old BIOSes

2000-06-20 Thread Stefan Esser
On 2000-06-20 10:41 +0200, Graham Wheeler <[EMAIL PROTECTED]> wrote: > > Also the PCI latency is IMHO too high. > > Try setting it at around 40. > > That will affect the throughput of the NIC, or its reliability? Or both? It won't do anything, in your particular case. The latency timer is the m

Re: PCI Plug 'n' Pray and old BIOSes

2000-06-19 Thread Stefan Esser
On 2000-06-19 15:32 +0200, Graham Wheeler <[EMAIL PROTECTED]> wrote: > Stefan Esser wrote: > > Is the PS/2 mouse interface enabled ? It will try to grab IRQ 12, > > and may do so in a way that the IRQ can't be delivered from ISA > > or PCI slots ... > > The

Re: PCI Plug 'n' Pray and old BIOSes

2000-06-19 Thread Stefan Esser
On 2000-06-19 11:05 +0200, Graham Wheeler <[EMAIL PROTECTED]> wrote: > As I was under time pressure, I pulled the card out and put it in a > different machine, this one a P166 which works fine (with the same IRQ). > > Anyway, when I get a chance I would like to try it again in the 486. The > 486

Re: Configuration mechanism of PCI bus

1999-08-16 Thread Stefan Esser
On 1999-08-09 22:08 -0400, Zhihui Zhang wrote: > > Even with "PCI System Architecture, 4th edition" at hand, I still have > some problems understanding the code in isa/pcibus.c. Please point out > any misunderstanding I may have in the following: It has been some time since I write that code, b

Re: Configuration mechanism of PCI bus

1999-08-16 Thread Stefan Esser
On 1999-08-09 22:08 -0400, Zhihui Zhang <[EMAIL PROTECTED]> wrote: > > Even with "PCI System Architecture, 4th edition" at hand, I still have > some problems understanding the code in isa/pcibus.c. Please point out > any misunderstanding I may have in the following: It has been some time since

Re: Help with PCI code understanding

1999-07-16 Thread Stefan Esser
On 1999-07-15 17:40 -0400, Zhihui Zhang wrote: > Can someone outline the initialization process of PCI devices in > FreeBSD? I know many of the basic stuff of PCI introduced in the book > "PCI System Architecture". I just want to know how each driver is > registered into some linker set and its

Re: Help with PCI code understanding

1999-07-16 Thread Stefan Esser
On 1999-07-15 17:40 -0400, Zhihui Zhang <[EMAIL PROTECTED]> wrote: > Can someone outline the initialization process of PCI devices in > FreeBSD? I know many of the basic stuff of PCI introduced in the book > "PCI System Architecture". I just want to know how each driver is > registered into some

Re: question: delay of a context - switch

1999-07-11 Thread Stefan Esser
On 1999-07-09 08:54 +0200, Thomas Klein wrote: > Dose anyone know how long a the kernel is busy with context switching > (beetween two processes) ? > Has anyone tested this yet? > I estimate of about 7 usec duration for that, (on a Pentium 400) but > I think that's to long. There is a port of La

Re: question: delay of a context - switch

1999-07-11 Thread Stefan Esser
On 1999-07-09 08:54 +0200, Thomas Klein <[EMAIL PROTECTED]> wrote: > Dose anyone know how long a the kernel is busy with context switching > (beetween two processes) ? > Has anyone tested this yet? > I estimate of about 7 usec duration for that, (on a Pentium 400) but > I think that's to long. T

Re: Anybody porting Apple´s Darwin Streaming Server back to FreeBSD?

1999-07-11 Thread Stefan Esser
On 1999-07-09 18:18 +0200, Christoph Sold wrote: > Hi Folks, > > the subject says it all: does anybody work on porting Apple´s Darwin > Streaming Server to FreeBSD? I do not want to duplicate the process... Here is my attempt at a port. I had no time to test it, though, but the build seems to be

Re: Anybody porting Apple´s Darwin Streaming Server back to FreeBSD?

1999-07-11 Thread Stefan Esser
On 1999-07-09 18:18 +0200, Christoph Sold <[EMAIL PROTECTED]> wrote: > Hi Folks, > > the subject says it all: does anybody work on porting Apple´s Darwin > Streaming Server to FreeBSD? I do not want to duplicate the process... Here is my attempt at a port. I had no time to test it, though, but t