Re: Processes' FIBs

2012-01-17 Thread Oliver Fromme
Kostik Belousov wrote: > The patch misses compat32 bits and breaks compat32 ps/top. Right, thank you for pointing it out! I missed it because I only have i386 for testing. I've created new patch sets for releng8 and current. These include compat32 support and an entry for the manual page. Wo

Re: Processes' FIBs

2012-01-12 Thread Oliver Fromme
Bjoern A. Zeeb wrote: > On 11. Jan 2012, at 15:06 , Oliver Fromme wrote: > > I'm currently looking at the source code of ps, but adding > > a field for the FIB isn't as trivial as I thought because > > ps only sees struct kinfo_proc (via sysctl kern.proc.*) &g

Re: Processes' FIBs

2012-01-11 Thread Oliver Fromme
Bjoern A. Zeeb wrote: > On 10. Jan 2012, at 20:32 , Paul A. Procacci wrote: > > On Tue, Jan 10, 2012 at 09:12:17PM +0100, Oliver Fromme wrote: > > > Is there a way to find out the default FIB number of a > > > process (from a shell script)? I've checked the &

Re: Is BOOTWAIT still used? (Was: kernel memory checks on boot vs. boot time)

2011-03-24 Thread Oliver Fromme
Pan Tsu wrote: > Oliver Fromme writes: > > [...] > > To be honest, I don't think that loader takes so much time. > > When you set autoboot_delay="-1" and beastie_disable="YES", > > the time spent in loader is negligible. (I'm as

Re: Summary: Re: Spin down HDD after disk sync or before power off

2010-10-27 Thread Oliver Fromme
g yourself -- and then a couple of more feet, just to be sure." -- Eric Allman -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister:

Re: Summary: Re: Spin down HDD after disk sync or before power off

2010-10-27 Thread Oliver Fromme
ike "5m" or "1h" would be fine, as long as a value without a letter still means seconds. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Ve

Re: Summary: Re: Spin down HDD after disk sync or before power off

2010-10-24 Thread Oliver Fromme
while the latter may require a hardware reset, according to the documentation. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Hand

Re: Summary: Re: Spin down HDD after disk sync or before power off

2010-09-16 Thread Oliver Fromme
Tijl Coosemans wrote: > On Thursday 16 September 2010 16:10:22 Oliver Fromme wrote: > > Tijl Coosemans wrote: > > > I would just spin down the disk in case of a halt. An unwanted spin > > > down is harmless compared to an emergency shutdown and usually the >

Re: Summary: Re: Spin down HDD after disk sync or before power off

2010-09-16 Thread Oliver Fromme
Tijl Coosemans wrote: > On Thursday 16 September 2010 10:41:07 Oliver Fromme wrote: > > Also, there are cases where it is completely impossible to > > decide automatically whether the disks should be spun down > > or not. For example, if the admin issues a shutdown -h &

Re: Summary: Re: Spin down HDD after disk sync or before power off

2010-09-16 Thread Oliver Fromme
Alexander Best wrote: > On Wed Sep 15 10, Oliver Fromme wrote: > > Warren Block wrote: > > > [...] > > > 8. Alexander Motin has an updated CAM version of the ATA system which > > > will eventually replace the existing one. In -CURRENT, anyway. He w

Re: Summary: Re: Spin down HDD after disk sync or before power off

2010-09-15 Thread Oliver Fromme
cam_release_devq(ccb.ccb_h.path, +/*relsim_flags*/0, +/*reduction*/0, +/*timeout*/0, +/*getcount_only*/0); + cam_peri

Re: How to disallow logout

2010-09-11 Thread Oliver Fromme
sure that there ist no unencrypted stuff left behind after a power-failure or crash. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, H

Re: an alternative to powerpoint

2010-07-22 Thread Oliver Fromme
s messed up) It works pretty well on my Nexus One (Android 2.2) with the default browser. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch.

Re: Compiling kernel with gcc43 [SOLVED]

2010-04-01 Thread Oliver Fromme
cant difference. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschä

Re: Newbie question: kernel image a dynamically linked binary?

2010-04-01 Thread Oliver Fromme
RA_FLAGS} -nostdlib hack.c -o hack.So rm -f hack.c > Can some please throw some light? I hope I did. :-) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfu

Re: NFS write corruption on 8.0-RELEASE

2010-02-12 Thread Oliver Fromme
r that incident. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsf

Re: NFS write corruption on 8.0-RELEASE

2010-02-12 Thread Oliver Fromme
Dmitry Marakasov wrote: > * Oliver Fromme (o...@lurza.secnetix.de) wrote: > > This is an excerpt from Solaris' mount_nfs(1M) manpage: > > > > File systems that are mounted read-write or that con- > > tain executable files should always be mount

Re: NFS write corruption on 8.0-RELEASE

2010-02-10 Thread Oliver Fromme
t; option means that processes on different clients won't see each other's locks. That means that you will get corruption if they rely on locking. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registe

Re: System() returning ECHILD error on FreeBSD 7.2

2010-02-10 Thread Oliver Fromme
it adds the signal to the process' signal mask). However, blocking is different from ignoring: The signal is held as long as it is blocked, and as soon as it is removed from the mask, it is delivered, i.e. your signal handler is called right before the system() function returns. And sinc

Re: sysctl with regex?

2010-02-10 Thread Oliver Fromme
DS=`jot -w dev.cpu.%d.temperature $NCPU 0` sysctl $OIDS There's no need to use "sysctl -a". After all, the "UNIX way" of doing things is to combine the existing tools instead of duplicate features in many tools. Best regards Oliver -- Oliver Fromme, secnetix GmbH &a

Re: our little daemon abused as symbol of the evil

2010-02-09 Thread Oliver Fromme
to the client. But Bernd is right that you cannot sell your "Urheberrecht" in Germany. You can't even give it away for free. That's why "public domain software" doesn't exist in Germany. Best regards Oliver -- Oliver Fromme, secnetix GmbH &

Re: our little daemon abused as symbol of the evil

2010-02-08 Thread Oliver Fromme
ns the copyright of the daemon. I guess one of the web pages needs to be corrected, but I don't know which one. :-) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschä

Re: Spin down HDD after disk sync or before power off

2010-02-04 Thread Oliver Fromme
Warren Block wrote: > Oliver Fromme wrote: > > Alexander Best wrote: > > > imo this patch takes good care of the problem. would be nice to > > > have it in HEAD. > > > > No -- *Please* make sure that the disks are only spun down > > upon an ac

Re: Does getc(3) use the read(2) syscall?

2010-02-03 Thread Oliver Fromme
ly an alias for the read() syscall; the definition is in src/lib/libc/include/namespace.h. So to answer you question: Yes, getc() uses the read() syscall. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muench

Re: Spin down HDD after disk sync or before power off

2010-02-03 Thread Oliver Fromme
should keep running. It's not good to have the disks spin down and then immediately spin up again on every reboot. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfue

Re: Spin down HDD after disk sync or before power off

2010-01-27 Thread Oliver Fromme
a new SATA hdd. the new one is very > quiet and so it's not that easy to recognise any changes in the spin > down procedure. There are hard disk drives that (still) have a reasonable auto-park feature and don't require a special command. Best regards Oliver -- Oliver Fr

Re: Spin down HDD after disk sync or before power off

2010-01-27 Thread Oliver Fromme
ly, it would be nice if it is put under a sysctl or similar, so the feature can be switched on and off. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verw

Re: limits for run away Firefox ?

2010-01-19 Thread Oliver Fromme
Rick C. Petty wrote: > On Mon, Jan 18, 2010 at 12:25:43PM -0800, Doug Barton wrote: > > On 01/18/10 11:29, Oliver Fromme wrote: > > > Doug Barton wrote: > > > > On 01/17/10 17:07, Julian H. Stacey wrote: > > > > > Hi hackers > > > &

Re: limits for run away Firefox ?

2010-01-18 Thread Oliver Fromme
"VSS" in ps(1)), and then make an apropriate virtualmem size limit for the firefox process. This is the -v option to the limits(1) tool. HTH. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Mu

Re: User error or awk bug?

2010-01-18 Thread Oliver Fromme
ot;); print}' will do what you want. On the other hand, the typical tool for simple search+replace tasks is sed: echo | sed 's=//*=/=g' By the way, when egrep parses brace expressions, it simply translates them to standard expressions. So, when it sees "/{2,}&qu

Re: CPU user/kernel time given the PID

2009-03-08 Thread Oliver Fromme
certain userland process. I would even guess is that the majority of the CPU time spent in the kernel is not on behalf of a specific userland process. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muench

Re: How to tear down a geom mirror?

2009-03-06 Thread Oliver Fromme
dd if=/dev/zero of=$DEV bs=$BLOCKSIZE seek=$(( $MEDIASIZE - 1 )) count=1 That's pretty much what "gmirror clear /dev/ad0s1a" does. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen,

Re: Spin down HDD after disk sync or before power off

2009-03-04 Thread Oliver Fromme
Joerg Sonnenberger wrote: > Oliver Fromme wrote: > > Octavian Covalschi wrote: > > > I'm looking a way to spin down HDD just right before power off. Why? > > > > > > Because currently when I call "shutdown -p now", HDD is powered off at &g

Re: Spin down HDD after disk sync or before power off

2009-03-04 Thread Oliver Fromme
ert a spin-down for your disks, you will have to modify the kernel. You have to install an event handler for "shutdown_post_sync". See the boot() function in src/sys/kern/kern_shutdown.c for details about the kernel's shutdown sequence. Best regards Oliver -- Oliver Fromm

Re: CFT: Graphics support for /boot/loader

2009-02-11 Thread Oliver Fromme
Alex Dupre wrote: > Oliver Fromme ha scritto: > > The problem is related to the fact that a 64bit kernel > > cannot use VESA BIOS functions. You should be able to > > use standard VGA modes though, which don't require VESA > > support. > > Actually I

Re: CFT: Graphics support for /boot/loader

2009-02-08 Thread Oliver Fromme
se function keys from the FORTH code without resorting to dirty hacks. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH,

Re: ZFS and Graphics support for /boot/loader

2009-02-08 Thread Oliver Fromme
> Is there any change of a version of gloader but with ZFS support? I'll put it on my to-do list. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Ve

Re: CFT: Graphics support for /boot/loader

2009-02-08 Thread Oliver Fromme
Matt Dawson wrote: > On Saturday 07 February 2009 18:59:43 Oliver Fromme wrote: > > In fact I have prepared a theme with beastie; here's > > a screen shot (preliminary): > > > > http://www.secnetix.de/olli/FreeBSD/vloader/screenshot5.png > > Perfe

Re: CFT: Graphics support for /boot/loader

2009-02-06 Thread Oliver Fromme
it that I like Scott's text logo *much* better. Trying to render the "horned ball" logo with ASCII letters looks butt-ugly, IMHO. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muen

Re: CFT: Graphics support for /boot/loader

2009-02-06 Thread Oliver Fromme
Renato Botelho wrote: > Oliver Fromme wrote: > > Renato Botelho wrote: > > > It worked here, on a 8.0-current i386 r188003, the only small > > > thing is it show a red border when show the menu. > > > > Do you mean a red line at the top right cor

Re: CFT: Graphics support for /boot/loader

2009-02-06 Thread Oliver Fromme
Christian Gusenbauer wrote: > Oliver Fromme wrote: > > Danny Braniss wrote: > > > just tried it via pxe: > > > > > > panic: free: guard1 @ 0x7f3a4aec from /usr/src/lib/libstand/close.c:79 > > > > > > what changes are needed in pxe

Re: CFT: Graphics support for /boot/loader

2009-02-06 Thread Oliver Fromme
de output attached, just to give you some > information about the bios. Thanks! Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH,

Re: CFT: Graphics support for /boot/loader

2009-02-06 Thread Oliver Fromme
Alex Dupre wrote: > Oliver Fromme ha scritto: > > Some of you might remember that I'm working on graphics > > support for our /boot/loader. > > Just a side question: are you going to improve also the splash(4) > support? Graphical loader is great, but un

Re: CFT: Graphics support for /boot/loader

2009-02-06 Thread Oliver Fromme
'll try to look into it. When does that message appear? Could you provide a screen shot? Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix V

Re: CFT: Graphics support for /boot/loader

2009-02-05 Thread Oliver Fromme
there will be a short descriptive text for the countdown and how to pause it.) I think it might make sense to provide an additional action using the key that leaves graphics mode and displays the old text menu instead. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktpl

Re: CFT: Graphics support for /boot/loader

2009-02-05 Thread Oliver Fromme
Scott Long wrote: > Oliver Fromme wrote: > > [...] > > http://wiki.freebsd.org/OliverFromme/BootLoaderTest > > I think that this is really neat, you've done an impressive job > with it good job. However, I do take issue with your criticism > of the ASCII

CFT: Graphics support for /boot/loader

2009-02-05 Thread Oliver Fromme
u are eager to give it a try, please feel free to do so. It should work with any FreeBSD version on i386 and amd64 platforms. I have posted detailed instructions on the FreeBSD wiki: http://wiki.freebsd.org/OliverFromme/BootLoaderTest Any kind of feedback is welcome. Best regards Oliver -- O

Re: freebsd-update's install_verify routine excessive stating

2009-01-26 Thread Oliver Fromme
Doug Barton wrote: > Oliver Fromme wrote: > > However, I think cmp wouldn't work here, because cmp only > > detects whether there is a difference between two files. > > > > In this case we need to know if one file is a subset of > > the other: For ev

Re: freebsd-update's install_verify routine excessive stating

2009-01-23 Thread Oliver Fromme
Doug Barton wrote: > Oliver Fromme wrote: > > I assume, with "this" you mean my solution to the slow > > shell loop problem (not quoted above), not Yoshihiro Ota's > > awk proposal? > > I meant the solution using comm, sorry. (I forgot to mention

Re: freebsd-update's install_verify routine excessive stating

2009-01-23 Thread Oliver Fromme
Doug Barton wrote: > Oliver Fromme wrote: > > Yoshihiro Ota wrote: > > > Oliver Fromme wrote: > > > > It would be much better to generate two lists: > > > > - The list of hashes, as already done ("filelist") > > &g

Re: freebsd-update's install_verify routine excessive stating

2009-01-23 Thread Oliver Fromme
Yoshihiro Ota wrote: > Oliver Fromme wrote: > > It would be much better to generate two lists: > > - The list of hashes, as already done ("filelist") > > - A list of gzipped files present, stripped to the hash: > > > >(cd files; echo *.gz)

Re: freebsd-update's install_verify routine excessive stating

2009-01-22 Thread Oliver Fromme
Christoph Mallon wrote: > Oliver Fromme schrieb: > > > cut -f 2,7 -d '|' | > > > grep -E '^f' | > > > cut -f 2 -d '|' | > > > sort -u > filelist > > > >

Re: freebsd-update's install_verify routine excessive stating

2009-01-22 Thread Oliver Fromme
certainly exceed that limit. Also note that the output is already sorted because the shell sorts wildcard expansions. Now that we have those two files, we can use comm(1) to find out whether there are any hashes in filelist that are not in filespresent: if [ -n "$(comm -23 filelist filesprese

Re: libusb for linux-emulation

2008-10-27 Thread Oliver Fromme
; library. Compile with > linux but using the BSD ioctls. > Is there a crosscompiler to compile linux binarys from freebsd? This would > make the job much easier. Yes, I think you can use ports/devel/cross-gcc. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, M

Re: Why does adding /usr/lib32 to LD_LIBRARY_PATH break 64-bit ?binaries?

2008-10-27 Thread Oliver Fromme
t is a pure computation library or similar. > That said it would be really nice if it ignored incompatible libraries :) No. Please don't put such pseudo-cleverness into rtld. It wouldn't be an improvement, in fact it might break some working configurations. Best regards Oliver

Re: Call function on sysctl value change

2008-10-15 Thread Oliver Fromme
ould like to be able to call a function if possible, to > validate the value entered via the sysctl command. Yes, you can do this with a "PROC" type sysctl. For example, look at sysctl_hlt_cpus() in sys/i386/i386/mp_machdep.c. Best regards Oliver -- Oliver Fromme, secnetix Gmb

Re: continuous backup solution for FreeBSD

2008-10-09 Thread Oliver Fromme
Zaphod Beeblebrox wrote: > Oliver Fromme wrote: > > However, ZFS does exist on FreeBSD, and I think it wouldn't > > be impossible to add similar features to ZFS. > > Possibly even as a ZFS module? This might be something better addressed at > the ZFS p

Re: continuous backup solution for FreeBSD

2008-10-09 Thread Oliver Fromme
going back in time. There is no need to touch your backups for that. These features are readily available right now on FreeBSD. You don't have to code anything. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registerg

Re: Sockstress

2008-10-09 Thread Oliver Fromme
aid.(...)'' > > ``(...)Lee said that when and _if_ specific vendors develop workarounds for > the issues, they will release details of those issues.(...)'' > > Was FreeBSD team contacted? ;) > -- Oliver Fromme, secnetix GmbH & Co. KG, Markt

Re: continuous backup solution for FreeBSD

2008-10-08 Thread Oliver Fromme
D. However, ZFS does exist on FreeBSD, and I think it wouldn't be impossible to add similar features to ZFS. Another possibility would be to extend gjournal by adding time stamps to journal transactions and a possibility to feed the journal to a pipe, socket or whatever. And of course a clien

Re: SSH Brute Force attempts

2008-09-30 Thread Oliver Fromme
Bill Moran wrote: > In response to Oliver Fromme <[EMAIL PROTECTED]>: > > Pierre Riteau wrote: > > > > > Because the 3-way handshake ensures that the source address is not > > > being > > > spoofed, more aggressive action can

Re: SSH Brute Force attempts

2008-09-30 Thread Oliver Fromme
Pierre Riteau wrote: > Oliver Fromme wrote: > > Ollivier Robert wrote: > > > According to Henrik Hudson: > > > > Yeap, -security > > > > > > > > However, also try this in pf.conf (specific rules related to this;

Re: SSH Brute Force attempts

2008-09-30 Thread Oliver Fromme
tup plus initial SSH conversation, which is far from trivial. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Regis

Re: SSH Brute Force attempts

2008-09-30 Thread Oliver Fromme
ot* help against weak passwords or lazyness to patch known holes, or other kinds of operator failure. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnet

Re: experimantal question about md's

2008-09-29 Thread Oliver Fromme
oblem that doesn't exist. If you think you _do_ have a problem, please provide some evidence, such as output from iostat, gstat, vmstat and so on. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Mue

Re: bad NFS/UDP performance

2008-09-29 Thread Oliver Fromme
kely candidate that might be causing the regression. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M

Re: What file on FreeBSD acts like autoexec.bat?

2008-09-29 Thread Oliver Fromme
ntax. ;-) By the way, the file that corresponds to config.sys on a FreeBSD system is /etc/rc.conf (see the rc.conf(5) manual page for details). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA

Re: ZFS w/failing drives - any equivalent of Solaris FMA?

2008-09-12 Thread Oliver Fromme
ompleted. Did you try "atacontrol detach" to remove the disk from the bus? I haven't tried that with ZFS, but gmirror automatically detects when a disk has gone away, and doesn't try to do anything with it anymore. It certainly should not hang the machine. After all, what

Re: Temp files in /etc

2008-09-08 Thread Oliver Fromme
I wrote a small patch that solves it: http://www.secnetix.de/olli/FreeBSD/jail-passwd/ Please read the "instructions.txt" file first, then download the appropriate patch file. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handel

Re: Extending find(1) to support -printf

2008-09-08 Thread Oliver Fromme
it should work. Note that ls(1) prints one file name per line, so you can simplify the above line like this: ls | grep -v whatever | tr '\n' ' ' By the way, I often use zsh in such cases. It supports "extended globbing", for example, the wildcard expression *~*.(gz

Re: kvm on amd64 - >6G?

2008-08-27 Thread Oliver Fromme
ink Alan Cox recently increased the kmem limit in 8-current from 1.5 GB to 7 GB, and the default is 4.2 GB. http://svn.freebsd.org/viewvc/base?view=revision&revision=180311 I don't know if this will be MFCed. It will not be in 7.1-Release; it's too late for that. Best regards

Re: Boot loader + malloc

2008-08-21 Thread Oliver Fromme
er uses malloc()/free() after the kernel > is loaded though. Yes, it does. By default the loader loads the kernel first, then fires up the "beastie" menu which causes quite some malloc() activity. FICL uses malloc() internally for various things. Best regards Oliver -- Oliver Fro

Boot loader + malloc

2008-08-21 Thread Oliver Fromme
enty. Is that OK, or should I expect trouble? Any comments are appreciated. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregis

Re: USB key && kernel: da0: Attempt to query device size failed: UNIT ?ATTENTION, Medium not present

2008-08-07 Thread Oliver Fromme
Matthias Apitz wrote: > Oliver Fromme wrote: > > Matthias Apitz wrote: > > > I've updated usb/80361, see > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=80361 > > > because I have the same problem as well that an USB key attaches fine > >

Re: USB key && kernel: da0: Attempt to query device size failed: UNIT ?ATTENTION, Medium not present

2008-08-06 Thread Oliver Fromme
out if the cause of your problem is the same as the one in PR usb/80361. If it is, the patch from the PR should be committed (it introduces a quirk for cases like this), and your USB stick should be added to the quirks list. Best regards Oliver -- Oliver Fromme, secnetix GmbH &

Re: restore of file system into USB key terrible slow

2008-08-05 Thread Oliver Fromme
doesn't copy files that already exist in the destination. Another way copy a directory tree is to use find+cpio: cd /src; find -d . | cpdio -dump /dst Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht

Re: GPG encryption of binary sample requested.

2008-07-14 Thread Oliver Fromme
allation was painless. Works with standard mailfolders, so you don't have to convert to maildir format if you don't want to. YMMV, of course. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht M

Re: error 1 lba 752976 while booting from USB key to install

2008-07-10 Thread Oliver Fromme
: > [...] OK, that looks good. So it's probably the well-known BIOS access problem that was patched in FreeBSD's BTX code after 7.0-RELEASE. I suggest you try RELENG_7 or the June snapshot, as explained in my previous mail. Best regards Oliver -- Oliver Fromme, secnetix GmbH &

Re: error 1 lba 752976 while booting from USB key to install

2008-07-10 Thread Oliver Fromme
ootblocks, too (bsdlabel -B). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758,

Re: eeePC 900 with SSD && reducing writes

2008-07-09 Thread Oliver Fromme
Matthias Apitz wrote: > Oliver Fromme wrote: > > You can get rid of an on-disk /var alltogether. > > Add these lines to /etc/rc.conf: > > > > varmfs="yes" > > varsize="32m" > > > > It will create a memory FS for /var of

Re: eeePC 900 with SSD && reducing writes

2008-07-08 Thread Oliver Fromme
my embedded FreeBSD-driven mp3 player (running from a CF card instead of hard disk), because it doesn't have to write anything anywhere. If you have any disk partitions that you mount read+write, be sure to enable soft-updates because it tends to reduce the number of physical write operations.

Re: moving FreeBSD installation disk1 to an USB stick

2008-06-19 Thread Oliver Fromme
nor changes that after booting it uses the USB as CD device? No, I don't think that's possible. And it's not necessary. sysinstall can install from a normal UFS partition. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Han

Re: Maximum memory allocation per process

2008-05-30 Thread Oliver Fromme
en it is booted. In fact, the standard beastie.4th stuff loads the kernel before displaying the menu, so the settings happen after the kernel is loaded. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muench

Re: Impact of having a large number of open file descriptors

2008-05-28 Thread Oliver Fromme
single struct kevent." > While at it, will EVFILT_VNODE and NOTE_WRITE catch "additional" ways > the file can be modified, meaning mmap()? A quick grep for NOTE_WRITE on the sys tree indicates that it doesn't. I'm not 100% sure though. Best regards Oliver --

Re: /usr/src/Makefile instructions

2008-05-23 Thread Oliver Fromme
ly if you tell us. > and many ports fail and their makes Again: Please post messages and everything relevant to the problems. There are really people on these lists that are willing to help, but we need as much information as possible in order to be able to help. Best regards Oliver -- Olive

Re: How can I translate IP to hostname in C

2008-05-22 Thread Oliver Fromme
te, I think. You should use getaddrinfo() instead, which is more flexible and easier to use, and it enables you to easily write code that is independent and agnostic of the address family (IPv4 vs. IPv6 vs. others). The manual page contains detailed example code. Best regards Oliver -- Oliver Fro

Re: Help with copytree code

2008-05-19 Thread Oliver Fromme
quot; option of find and the -0 option of cpio, so it will also work if there are any file names that contain spaces or other special characters. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen

Re: Trying (not) to crash with libpthread (6.3-RELEASE)

2008-05-16 Thread Oliver Fromme
> char *x=malloc(1); > > [...] > > x[666]=0; .. does not necessarily cause a SIGSEGV. It may do so, but it is not guaranteed. It may as well write into a random memory area that happens to belong to your process, too. The result is undefined, i.e. it could be anything. If you n

Re: Problem with find -prune...

2008-04-03 Thread Oliver Fromme
's documented in the manpage. In other words, the primaries -prune and -delete are mutual exclusive. It could be argued whether find(1) should print a warning in that case. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsre

Re: vkernel & GSoC, some questions

2008-03-22 Thread Oliver Fromme
M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > Oliver Fromme <[EMAIL PROTECTED]> writes: > : The vkernel feature has certainly benefits, e.g. the fact > : that you can attach to it with standard gdb and use the > : familiar debugging facilit

Re: vkernel & GSoC, some questions

2008-03-19 Thread Oliver Fromme
t" is not a unique feature; you can have that with qemu as well, and it's there today. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsges

Re: Graphic boot loader?

2008-03-18 Thread Oliver Fromme
it. The individual > working on it is Oliver Fromme <[EMAIL PROTECTED]>. I'm sorry for the late reply, I'm currently swamped with work (not FreeBSD-related). It's true I'm working on the graphics support for the boot loader. Development is done in the P4 repositor

Re: Security Flaw in Popular Disk Encryption Technologies

2008-02-27 Thread Oliver Fromme
ng > them down before removal. (You'd just overwrite the keys > if the temperature falls i.e. below 10°C) Cool ... Then I won't be able to boot my laptop when I have to wait at the train station in winter ... Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG

Re: loader and ficl/Forth help

2008-02-24 Thread Oliver Fromme
t; and > others to the very top of frames.4th. This actually fixed the "not > found" error, and now I'm stuck with "Error: compile only!" being > induced by the "dup -1 = if" line. "if" is for compile mode, and "[if]" is

Re: loader and ficl/Forth help

2008-02-24 Thread Oliver Fromme
t theory. s" loader_logo_lines" getenv dup -1 = if drop s" arch-pc98" environment? if drop pc98_lines else cp437_lines then else s" ascii" compare-insensitive 0= if

Re: /boot/loader graphics support & extensibility

2008-02-23 Thread Oliver Fromme
Marcel Moolenaar wrote: > On Feb 22, 2008, at 12:39 PM, Oliver Fromme wrote: > > Yes, that'll work well for putting characters on the > > screen. But I don't think it is suitable for generic > > graphics operations, even (and especially) for drawing > >

Re: /boot/loader graphics support & extensibility

2008-02-22 Thread Oliver Fromme
ormance is not a concern. > Once you have the basic functionality, you'll also have a > wishlist of things you want to do better; performance one > of them in all likelyhood. Performance isn't my highest priority, but not the lowest either. I try to do things in a way so t

Re: cool feature of dmesg.boot file

2008-02-22 Thread Oliver Fromme
Jeremy Chadwick wrote: > Oliver Fromme wrote: > > [...] > Either way, it's a feature with major security implications. So, for > those of us who are concerned about master.passwd changes via > mergemaster being stuffed into msgbuf, how do we disable said feature? &

Re: cool feature of dmesg.boot file

2008-02-22 Thread Oliver Fromme
Jeremy Chadwick wrote: > Oliver Fromme wrote: > > Upon a reboot, the kernel is usually loaded to the same > > physical addresses in RAM where it was before, so the > > dmesg buffer will be at the same location, too (unless > > you built a new kernel, of course). So

Re: cool feature of dmesg.boot file

2008-02-22 Thread Oliver Fromme
Some have an option called "Quick POST" or similar. If you enable it, the BIOS will skip the RAM test (which is rather useless anyway) which clears the RAM. It might help, but it depends very much on your mainboard and BIOS. Best regards Oliver -- Oliver Fromme, secnetix GmbH & C

  1   2   3   >