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: 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: 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-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: unique hardware identification

2007-02-02 Thread Oliver Fromme
remote administration easier. Of course, it only works on machines with DMI-compliant BIOS interface. If you don't get SMBIOS information, I very much doubt that it'll provide DMI information either. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29

Re: 4th loading a module.

2007-02-12 Thread Oliver Fromme
est" way to do it, but it works for me. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, USt-Id: DE204219783 Any opinions expressed in this message are personal to the author and may

Re: FreeSBIE DVD with KDE,Gnome,Java,OpenOffice.org et al?

2007-02-12 Thread Oliver Fromme
reeSBIE. Maybe you haven't seen any discussion because it's so easy. There's really no need to discuss or document it. I wonder why you haven't simply tried it. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsre

Re: portupgrade O(n^m)?

2007-02-15 Thread Oliver Fromme
it). To do that, simply type "make describe" in the port directory, and it will print a line for that port suitable for appending to the INDEX file. It might seem a little hackish, but it works. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567

Re: Fwd: Abyssmal dump cache efficiency

2007-02-21 Thread Oliver Fromme
tore is busy writing a batch of > small files and vice versa). There's a suitable port but I can't > recall the name because I wrote my own. There are several. The most popular ones are probably misc/team and misc/buffer. However, I wrote my own, too. :-) Best regards Oliver

Re: 64-bits platform question

2007-02-22 Thread Oliver Fromme
any error messages? And at what point during the installation did the problem occur? Without any details, our answer can only be as exact as your question. I.e. when simply asking "Why can't I install", then the answer is simply "Because you did something wrong". Bes

Re: FreeBSD available disk space

2007-03-07 Thread Oliver Fromme
iously needs to be interpreted as a signed value. But even simply interpreting it as a signed value in every case won't break anything, even "with really big file- systems". A signed long long will handle as much as 2^63 (minus one, to be exact) which is 8 EB (exabyte), which is 8 m

Re: NFS based /usr prevents normal startup due to slow net init

2007-03-09 Thread Oliver Fromme
k a workable solution would be to write a new RC script (e.g. /etc/rc.d/port_up) that polls the configured interfaces and waits until they are up. It should have a configurable timeout so it won't hang forever. Then add it to the REQUIRE line of the /etc/rc.d/mountcritremote script. Bes

Re: harddrive no memory ---FreeBSD scenario

2007-03-09 Thread Oliver Fromme
for. Bottom line: I think it's useless. :-) It makes more sense to eliminate the hard disk instead of the RAM. And running diskless is perfectly possible (and quite easy) with FreeBSD; I've done such setups in the past. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. K

Re: Floating-point in kernel space

2007-03-09 Thread Oliver Fromme
teger instructions. There are several examples of such code, e.g. in ALTQ, DUMMYNET and in the NTP support code. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfu

Re: NFS based /usr prevents normal startup due to slow net init

2007-03-09 Thread Oliver Fromme
Steven Hartland wrote: > Oliver Fromme wrote: > > For FreeBSD, I think a workable solution would be to > > write a new RC script (e.g. /etc/rc.d/port_up) that > > polls the configured interfaces and waits until they > > are up. It should have a configurable ti

Re: harddrive no memory ---FreeBSD scenario

2007-03-09 Thread Oliver Fromme
Ivan Voras wrote: > Oliver Fromme wrote: > > > I had FreeBSD 2.2-stable installed on an old notebook with > > 4 MB RAM (actually less, because ~ 0.5 MB was lost VGA > > mappings and registers etc.). It was very usable for > > simple things like text editing

Re: i am facing these issues after my FreeBSD 6.2 installation.

2007-03-13 Thread Oliver Fromme
do developers usually keep their kernel sources in sync with the main > Central Kernel source? Do we use CVS or Subversion for this? There are several possibilities, the most common are probably CVS, cvsup or csup. I strongly recommend that you have a closer look at the documentation, because you

Re: Possible grep(1) bug or user error :)?

2007-03-19 Thread Oliver Fromme
the wildcard first, then create the file for redirection, so it is not included in the expansion of the wildcard (unless it already existed before, of course). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registe

Re: Can anybody terminate an IP-IP tunnel for me?

2007-06-08 Thread Oliver Fromme
en less. That's how I've done it; I share a 50 Euro root server with three friends, so I pay only 12,50 per month. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehr

Re: Problems with rpc.statd and PAE

2007-08-07 Thread Oliver Fromme
BSD exists (maybe longer). I've never had a proble with that. Obviously it does that because it makes managing the state data easier. That's enough of a good reason, I think. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handels

Re: How to stop attached USB device / send IRP_MN_REMOVE_DEVICE?

2007-08-14 Thread Oliver Fromme
do under XP. Every hard disk parks its head when power is switched off. Last time I saw a hard disk which required a command to park its heads was about 20 years ago on a DOS machine. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.

/boot/loader graphics support & extensibility

2008-02-19 Thread Oliver Fromme
/olli/boot/ficl/i386/graphics.h By the way, the Forth code that produced the above screen shot only used the PCX functions to load the background image, and the text functions to print the menu. Comments appreciated. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co.

Re: /boot/loader graphics support & extensibility

2008-02-20 Thread Oliver Fromme
Marcel Moolenaar wrote: > Oliver Fromme wrote: > > > It will not replace the current text menu ("beastie.4th"), > > so you can still use it on your Hercules monochrome or CGA > > machine or with serial console, of course. > > We can probably forge

Re: /boot/loader graphics support & extensibility

2008-02-20 Thread Oliver Fromme
Marcel Moolenaar wrote: > Oliver Fromme wrote: > > I understand the "yes" part, but I do not understand the > > "see (a)/(b)" part. :-) What does the recursive reference > > mean? > > It means that they can be treated the same: Ah, OK. It

Re: /boot/loader graphics support & extensibility

2008-02-21 Thread Oliver Fromme
Marcel Moolenaar wrote: > On Feb 20, 2008, at 12:08 PM, Oliver Fromme wrote: > > By the way: Will the standard i386 /boot/loader work > > on an EFI machine, or does it require a different loader > > binary? > > It needs a different loader. If you want to suppo

Re: encrypted executables

2008-02-21 Thread Oliver Fromme
(which doesn't respect LD_PRELOAD), it's fairly trivial to patch the syscalls so they're a no-op when called from the binary. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen

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

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
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: /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: /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: 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: 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: 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: 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: 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: 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: 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: 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: 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: Filesystem question...

1999-07-24 Thread Oliver Fromme
eryone who wants > can look for these user mounts and walk them at will. My private stuff is > quite public. You own it, so you can set the permission appropriately, so nobody else can access it if you don't want that. Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Claust

Re: rc addition proposal: mixer

1999-08-08 Thread Oliver Fromme
r_device} | cut -d' ' -f2 | tr '\n' '|'`recsrc sed 's/#.*$//' ${mixer_config} | egrep "$slots" | xargs mixer -f ${mixer_device} fi Just my 0.02 Euro... Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany

Re: Request for review: vnconfig.c

1999-08-27 Thread Oliver Fromme
fore trying > to write into the allocated space. I'd suggest to use asprintf(). Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:o...@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt&quo

Re: Please review: rc file changes

1999-08-27 Thread Oliver Fromme
;; > -4) > +4 ) > reboot > echo "reboot failed... help!" > exit 1 > ;; > [...] Why?!? I like the existing "case" style _much_ better, it's more readable and emphasizes the structure. Regards

Re: Please review: rc file changes

1999-08-27 Thread Oliver Fromme
wrong impression. I appreciate Doug's work very much. Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:o...@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt"

Re: Please review: rc file changes

1999-08-27 Thread Oliver Fromme
m, but that's just me... Apart from the above -- Good work, Doug! Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:o...@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt"

Re: Help with exit status in shell script

1999-08-28 Thread Oliver Fromme
d pipe, but I haven't tried this. Another way would be to put the exit code into a temporary file, like this: trap "rm -f stage1.result" 1 2 15 ( ./stage1 2>&1 echo $? > stage1.result ) | tee stage1.out if [ `cat stage1.result` != 0 ]; then .

Re: Please review: rc file changes

1999-08-28 Thread Oliver Fromme
no good reason. Apart from that -- Good work! :) Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:o...@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt"

Re: CFD: "bogomips" CPU performance metric

1999-09-02 Thread Oliver Fromme
in the seriousness of the system. > Would anyone scream and projectile-vomit if I added this to identcpu.c? I would, FWIW. Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:o...@dorifer.heim3.tu-clausthal.de) &qu

Re: Command-line editing [was NetWare client in -current]

1999-09-14 Thread Oliver Fromme
libedit could be used for (although it could need a few technical improvements, IMO, but the basic concept is there). Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:o...@dorifer.heim3.tu-clausthal.de) "In jede

Re: USB cameras

1999-09-15 Thread Oliver Fromme
240 digital camera is supported by "oPhoto" (http://www.fromme.com/ophoto/). I'm not aware of any support for USB video cameras. > Oh, btw, how long can USB be extended? There should be information about that on www.usb.org. Regards Oliver -- Oliver Fromme, Leibnizstr. 1

Re: Bug in dd seeking beyond 2G

1999-09-15 Thread Oliver Fromme
mbers... On the other hand, I wonder why dd needs to know the maxium value of an off_t. That sounds broken to me. I haven't looked at the patch, but if it's dependant on the exact size of an off_t, then the patch is no good. Regards Oliver -- Oliver Fromme, Leibnizs

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: 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: 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: 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-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
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-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-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-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: 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: /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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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 > >

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: 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

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: 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: 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: 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: 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: 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: 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: 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: 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
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
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: 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: 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-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: 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: 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: 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: 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: 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: 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-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-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
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-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

  1   2   3   >