Re: CPU time off by a factor of two

2005-11-25 Thread Uwe Dippel
On Fri, 25 Nov 2005 15:43:52 +0800, Uwe Dippel wrote: It's a bug, so it seems now. Sorry, last night I didn't have access so my answer is late: I simply rebooted to single-CPU-kernel; compiled by myself, just as well, and it runs like hell. Exact, I mean. Not a single second off after three

Multiple Internet connections with CARP

2005-11-25 Thread Bo Rising Rasmussen
Hi all, I have searched a bit now, and have not seen anything on this subject. I have 2 different internet connections, which I would like to use for my CARP setup. I was thinking that they would connect to a switch, and from there 2 lines going to each firewall, and then make some CARP setup

auvia UKC parameters on SONY VAIO PCG-FX77Z_BP(J)

2005-11-25 Thread Vladas Urbonas
Hi All, Excuse me for disturbing too much if so. Have to 'disable auvia' in UKC to boot up 3.8 GENERIC on my SONY VAIO PCG-FX77Z_BP(J). The same keeps on happening from 3.1 so -current problably will not help. I would be grateful if anyone of you would be so kind to give me basic directions on

Re: CPU time off by a factor of two

2005-11-25 Thread Alexander Bochmann
...on Fri, Nov 25, 2005 at 03:43:52PM +0800, Uwe Dippel wrote: It's a bug, so it seems now. Sorry, last night I didn't have access so my answer is late: I simply rebooted to single-CPU-kernel; compiled by myself, just as well, and it runs like hell. Exact, I mean. Not a single second off

Re: auvia UKC parameters on SONY VAIO PCG-FX77Z_BP(J)

2005-11-25 Thread Simon Morgan
Vladas Urbonas vladas.urbonas at gmail.com writes: Have to 'disable auvia' in UKC to boot up 3.8 GENERIC on my SONY VAIO PCG-FX77Z_BP(J). This is a fairly well known bug. The same keeps on happening from 3.1 so -current problably will not help. Your logic is flawed but regardless AFAIK the

Re: Marvell Yukon-2 / Syskonnect SK-9S22

2005-11-25 Thread Peter Strömberg
On 25 Nov 2005 at 2:59, Adam wrote: Hello, I'm in need of some help getting an syskonnect SK-9S22 (dual port gigabit ethernet) to work. I'm currently running on the i386 platform with openbsd 3.8-current as of 11/25/05. I believe this is the most relevant part of the dmesg: skc0 at

Re: auvia UKC parameters on SONY VAIO PCG-FX77Z_BP(J)

2005-11-25 Thread David Coppa
This is a working fix (a nasty workaround, to be honest) found somewhere on the net: --- sys/arch/i386/isa/isa_machdep.c +++ sys/arch/i386/isa/isa_machdep.c @@ -389,7 +389,8 @@ if (irqs = 0x100) /* any IRQs = 8 in use */ irqs |= 1 IRQ_SLAVE;

Re: auvia UKC parameters on SONY VAIO PCG-FX77Z_BP(J)

2005-11-25 Thread mickey
On Fri, Nov 25, 2005 at 06:20:28PM +0900, Vladas Urbonas wrote: Hi All, Excuse me for disturbing too much if so. Have to 'disable auvia' in UKC to boot up 3.8 GENERIC on my SONY VAIO PCG-FX77Z_BP(J). The same keeps on happening from 3.1 so -current problably will not help. I would be

unable to use a read-only root with 3.8

2005-11-25 Thread José M. Fandiño
Hello list, I'm in a situation where I must configure a couple of soekris boxes (net4801) with very minimal services (pf and syslogd sending all logs to a remote server), they will be unattended and various thousands of kilometers away. Also the system is probable to suffer electrical failures

Re: auvia UKC parameters on SONY VAIO PCG-FX77Z_BP(J)

2005-11-25 Thread Vladas Urbonas
On 11/25/05, mickey [EMAIL PROTECTED] wrote: On Fri, Nov 25, 2005 at 06:20:28PM +0900, Vladas Urbonas wrote: Hi All, Excuse me for disturbing too much if so. Have to 'disable auvia' in UKC to boot up 3.8 GENERIC on my SONY VAIO PCG-FX77Z_BP(J). The same keeps on happening from 3.1 so

Re: auvia UKC parameters on SONY VAIO PCG-FX77Z_BP(J)

2005-11-25 Thread mickey
On Fri, Nov 25, 2005 at 08:45:30PM +0900, Vladas Urbonas wrote: On 11/25/05, mickey [EMAIL PROTECTED] wrote: On Fri, Nov 25, 2005 at 06:20:28PM +0900, Vladas Urbonas wrote: Hi All, Excuse me for disturbing too much if so. Have to 'disable auvia' in UKC to boot up 3.8 GENERIC on

Re: CCD Mirroring HOWTO

2005-11-25 Thread mickey
On Thu, Nov 24, 2005 at 05:14:16PM +0100, Robbert Haarman wrote: For those who are interested, I've uploaded a tutorial on setting up mirroring using ccd(4) to http://inglorion.net/documents/tutorials/ccd/. labeling section is wrong. one MUST never use 'c' partition. one MUST always make an

Re: auvia UKC parameters on SONY VAIO PCG-FX77Z_BP(J)

2005-11-25 Thread Vladas Urbonas
On 11/25/05, mickey [EMAIL PROTECTED] wrote: well there is no way that hack gets committed so plz do not waste your machine room time :( I can live with that. Should i report you the result or not (I will try it on pcg-fx55j_b(j) and pcg-fx77z_bp(j) )?

Re: auvia UKC parameters on SONY VAIO PCG-FX77Z_BP(J)

2005-11-25 Thread mickey
On Fri, Nov 25, 2005 at 09:02:55PM +0900, Vladas Urbonas wrote: On 11/25/05, mickey [EMAIL PROTECTED] wrote: well there is no way that hack gets committed so plz do not waste your machine room time :( I can live with that. but it would be much better if it gets fixed for everybody

Re: hw.setperf strangeness

2005-11-25 Thread Ted Unangst
On 11/23/05, Lars Hansson [EMAIL PROTECTED] wrote: This seems a bit strange to ne: $ sysctl hw | tail -2 hw.cpuspeed=1296 hw.setperf=100 $ sudo sysctl -w hw.setperf=0 hw.setperf: 100 - 0 $ sysctl hw | tail -2 hw.cpuspeed=1296 hw.setperf=0 Hmm..shouldnt cpuspeed have changed? maybe,

Re: unable to use a read-only root with 3.8

2005-11-25 Thread knitti
On 11/25/05, Josi M. Fandiqo [EMAIL PROTECTED] wrote: is it possible to have a root fs in read-only mode with OBSD? of course it is. there should be numerous postings regarding OpenBSD and CF cards, especially (but not limited to) running on Soekris boxes. Sometimes there is also flashdist

Re: auvia UKC parameters on SONY VAIO PCG-FX77Z_BP(J)

2005-11-25 Thread David Coppa
Try the mickey@ one, first. It's a real diff and not just a ugly workaround. On 11/25/05, Vladas Urbonas [EMAIL PROTECTED] wrote: On 11/25/05, mickey [EMAIL PROTECTED] wrote: well there is no way that hack gets committed so plz do not waste your machine room time :( I can live with that.

Re: Marvell Yukon-2 / Syskonnect SK-9S22

2005-11-25 Thread Zafer Daştan
Adam wrote: Hello, I'm in need of some help getting an syskonnect SK-9S22 (dual port gigabit ethernet) to work. .. Any ideas?? Yukon-2 is completely different from previous one, linux sources exist, no open source for BSDs. zd

Re: unable to use a read-only root with 3.8

2005-11-25 Thread Stuart Henderson
--On 25 November 2005 12:36 +0100, JosC) M. FandiC1o wrote: The first option was add the ro flag to the fstab file, but it's ignored and the system leaves the root fs in rw mode. The second (and desesperate) option was add mount -o ro / to /etc/rc.local which seems cause a kernel panic (no

Re: 3.8: ath(4) card not working in 11a/g mode? (fwd)

2005-11-25 Thread rost
Hi, Additional information as requested by private email: I am using two Mini-PCI cards from the manufacturer: Wistron Neweb Corporation Model No: CM9 Anyone got those cards working in 11ag mode in OpenBSD? Maybe does anyone have an alternative 11abg card or ath manufacturer to suggest? I

Re: Marvell Yukon-2 / Syskonnect SK-9S22

2005-11-25 Thread Daniel Polak
Original message from Adam at 25-11-2005 8:59 I'm in need of some help getting an syskonnect SK-9S22 (dual port gigabit ethernet) to work. I'm currently running on the i386 platform with openbsd 3.8-current as of 11/25/05. I believe this is the most relevant part of the dmesg: skc0 at

Re: Enable Solaris Compatibility Mode in version 3.8

2005-11-25 Thread Ted Unangst
On 11/23/05, Simon Morgan [EMAIL PROTECTED] wrote: Tom Pfeifer tpfeifer at tela.com writes: I'd like to know how to enable Solaris Compatibility Mode in version 3.8. I've searched the FAQ's and all man pages and don't seem to be able to find the correct information. $ man 8 compat_sunos

Re: CCD Mirroring HOWTO

2005-11-25 Thread Robbert Haarman
http://inglorion.net/documents/tutorials/ccd/. labeling section is wrong. one MUST never use 'c' partition. one MUST always make an 'a' (for example) to skip first cylinder (at least). That's true for real disks, but it doesn't seem to be true for ccd devices. If it were true, ccdconfig

Re: CCD Mirroring HOWTO

2005-11-25 Thread mickey
On Fri, Nov 25, 2005 at 02:14:35PM +0100, Robbert Haarman wrote: http://inglorion.net/documents/tutorials/ccd/. labeling section is wrong. one MUST never use 'c' partition. one MUST always make an 'a' (for example) to skip first cylinder (at least). That's true for real disks, but

Re: CCD Mirroring HOWTO

2005-11-25 Thread Robbert Haarman
Of course, if somebody who actually knew the implementation details about ccd could weigh in, that would resolve the issue. they just did. http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/ccd.c Ok, thanks for pointing that out. I apologize for my uninformed comments, especially to

Re: CCD Mirroring HOWTO

2005-11-25 Thread Robbert Haarman
On Fri, Nov 25, 2005 at 02:26:08PM +0100, mickey wrote: On Fri, Nov 25, 2005 at 02:14:35PM +0100, Robbert Haarman wrote: by using 'c' partition one may endup trashing real disk's label. DO NOT USE 'c' PARTITION. Ok, I'll change the HOWTO and add a FAQ entry ASAP. Apologies for not believing

Re: unable to use a read-only root with 3.8

2005-11-25 Thread José M. Fandiño
Also the system is probable to suffer electrical failures and since OBSD is contained in a CF card I become very interested in running it over an unique read-only partition. The first option was add the ro flag to the fstab file, but it's ignored and the system leaves the root fs in rw

Re: CCD Mirroring HOWTO

2005-11-25 Thread mickey
On Fri, Nov 25, 2005 at 02:41:47PM +0100, Robbert Haarman wrote: On Fri, Nov 25, 2005 at 02:26:08PM +0100, mickey wrote: On Fri, Nov 25, 2005 at 02:14:35PM +0100, Robbert Haarman wrote: by using 'c' partition one may endup trashing real disk's label. DO NOT USE 'c' PARTITION. Ok, I'll

CARP on vlan(4)

2005-11-25 Thread Jason Dixon
I'm getting the following error when I try to create a carp(4) interface on top of a vlan(4) interface: # ifconfig vlan0 vlan 1 vlandev fxp0 # ifconfig carp0 inet 10.0.0.1 netmask 255.255.255.0 vhid 1 carpdev vlan0 ifconfig: SIOCAIFADDR: Can't assign requested address This feature is

Re: Multiple Internet connections with CARP

2005-11-25 Thread Joachim Schipper
On Fri, Nov 25, 2005 at 09:13:36AM +0100, Bo Rising Rasmussen wrote: Hi all, I have searched a bit now, and have not seen anything on this subject. I have 2 different internet connections, which I would like to use for my CARP setup. I was thinking that they would connect to a switch, and

Re: usb2ether hw recommendation

2005-11-25 Thread Stephan A. Rickauer
Stephan A. Rickauer wrote: Hello, Stephan A. Rickauer wrote: ugen0 at uhub4 port 1 ugen0: ASIX Electronics AX88178, rev 2.00/0.01, addr 2 I guess I _was_ unlucky. It's a Level one usb-0200. Seems I was to quick. axe(4) should be the right one ... I'll try. I am stuck now. All I could find

Re: CCD Mirroring HOWTO

2005-11-25 Thread mickey
On Fri, Nov 25, 2005 at 04:02:03PM +0100, Robbert Haarman wrote: On Fri, Nov 25, 2005 at 03:03:22PM +0100, mickey wrote: On Fri, Nov 25, 2005 at 02:57:22PM +0100, Robbert Haarman wrote: I'm not sure what you mean here. What I meant is that ccdconfig will automatically create a

Re: CCD Mirroring HOWTO

2005-11-25 Thread Robbert Haarman
On Fri, Nov 25, 2005 at 04:50:34PM +0100, mickey wrote: default 'c' type is unused. at least on default systems... On REAL disks, yes. On ccd disks, it seems to be different. Or maybe ccdconfig screws it up. 2. The OpenBSD slices of my disks start at sector 24659775. This is also where

Re: adjtime and settimeofday

2005-11-25 Thread Rickard Dahlstrand
Alexander Hall wrote: From looking through the kernel code, it does not seem that settimeofday(2) resets the action of a previous call to adjtime(2). Would it not be reasonable to assume that to happen? I see four possibilities: 1. It does reset it. I am wrong. And blind. 2. No, it is not

Updated CCD Mirroring HOWTO

2005-11-25 Thread Robbert Haarman
Dear list, especially Greg and Mickey, I've updated the working copy of the CCD Mirroring HOWTO. In particular, I've split off the comparison to software RAID into a separate section and clarified that ccd does not do automatic recovery, and I've rewritten the section on labeling to state that

ISAKMPD / SASYNCD

2005-11-25 Thread Simon Slaytor
Hi Folks, Sorry but I need to ask what some will see as an obvious and stupid question, so feel free to shoot me down in flames but please answer the question :-) I have a pair of 3.8 boxes, each with 3 interfaces xl0,xl1 and rl0 configured as a redundant firewall using CARP, PFSYNC and

Re: HOTO Write bad documentation

2005-11-25 Thread J.C. Roberts
On Fri, 25 Nov 2005 11:55:51 -0500, Nick Holland [EMAIL PROTECTED] wrote: people seem to be thrashing around on how to write bad documentation, so here are some tips Thanks Nick! I was wondering which one of the long time folks around here would be the first to blow a fuse over all the OpenBSD

Re: HOTO Write bad documentation

2005-11-25 Thread mickey
On Fri, Nov 25, 2005 at 06:30:41PM +0059, Han Boetes wrote: 11) Make documentation unnecesarily complicated. Obfusticate it. 12) Treat critique with violence and disdain. 13) Kick down on other peoples efforts rather than encourage them even though they are merely beginners. my all

Re: HOTO Write bad documentation

2005-11-25 Thread Chris
J.C. Roberts wrote: On Fri, 25 Nov 2005 11:55:51 -0500, Nick Holland [EMAIL PROTECTED] wrote: people seem to be thrashing around on how to write bad documentation, so here are some tips Thanks Nick! I was wondering which one of the long time folks around here would be the first to

Re: openvpn to ipsec routing question

2005-11-25 Thread David Bryan
Christoph Leser wrote: Hello, the question is about how to route traffic from an openvpn tunnel to an ipsec tunnel. This is my setup: The OpenBSD gateway has an internal (10.0.1.1/24 ) and external (x.x.x.x/30) interface. The internal net is NAT'ed to the external interface to provide

Re: HOTO Write bad documentation

2005-11-25 Thread J.C. Roberts
On Fri, 25 Nov 2005 18:35:17 +0100, mickey [EMAIL PROTECTED] wrote: On Fri, Nov 25, 2005 at 06:30:41PM +0059, Han Boetes wrote: 11) Make documentation unnecesarily complicated. Obfusticate it. 12) Treat critique with violence and disdain. 13) Kick down on other peoples efforts rather than

Re: HOTO Write bad documentation

2005-11-25 Thread Roy Morris
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Nick Holland Sent: Friday, November 25, 2005 11:56 AM To: misc Subject: HOTO Write bad documentation We've been seeing a curious number of people offering various kinds of documentation on various

Re: New idea on CPU fan problem

2005-11-25 Thread PARAMVIR DHINDSA
It's not very clear. May you please elaborate on that. Actually I want to know whether I can replace the kernel (generic kernel of OpenBSD with that of floppy37.fs one) Hugo Villeneuve [EMAIL PROTECTED] wrote: Did you try disabling lm0? (use config for that or the -c boot option) On Thu,

Re: HOTO Write bad documentation

2005-11-25 Thread Nick Holland
Roy Morris wrote: ... Bad hair day Nick? Not at all. At this point in my life, any hair at all is good. If it wants to look like I just lost a battle with a Tesla coil, that's fine by me. :) Nick.

Re: Compressed File System

2005-11-25 Thread Tobias Ulmer
On Fri, Nov 25, 2005 at 03:55:53PM -0500, ICMan wrote: A complimentary question would be, does OpenBSD support encrypted volumes or allow encrypted files to be mounted as disk volumes? Mounting compressed files as disk volumes or compressing a disk volume would be solved using the same

Re: Network Analyzer

2005-11-25 Thread Tobias Ulmer
On Fri, Nov 25, 2005 at 02:23:57PM -0500, Matthew Graham wrote: I am fairly new to OpenBSD with significant experience with Linux. I'm considering switching some of our infrastructure based systems to OpenBSD because of the security reputation and ease of updates. One of the intended boxes

Re: Network Analyzer

2005-11-25 Thread ober
I would make the remote box run tethereal. Use the http://www.linbsd.org/setuid_tethereal.patch to run with the -u option for say user _ethereal. Once the capture device is opened as root, the privs will be dropped to the user specified. Use tethereal with -z proto,colinfo,$VAR,$VAR for each

RAID Controller for UltraATA/133 Drives?

2005-11-25 Thread Alex Kirk
Hello All, I just picked up three Maxtor 200GB UltraATA/133 drives that I'd like to use in a RAID-5 configuration with my OpenBSD web/mail server. I've spent the past couple of hours carefully combing through all of the RAID cards that are listed as supported on

Re: Network Analyzer

2005-11-25 Thread ober
Netdude has very little knowledge of application protocols. Would be nice if it could link to libethereal to gather said information. :D -Ober On Fri, 25 Nov 2005, Tobias Ulmer wrote: On Fri, Nov 25, 2005 at 02:23:57PM -0500, Matthew Graham wrote: I am fairly new to OpenBSD with

Re: Network Analyzer

2005-11-25 Thread Jonathan Glaschke
On Fri, Nov 25, 2005 at 11:57:27PM +0100, Tobias Ulmer wrote: On Fri, Nov 25, 2005 at 02:23:57PM -0500, Matthew Graham wrote: I am fairly new to OpenBSD with significant experience with Linux. I'm considering switching some of our infrastructure based systems to OpenBSD because of the

Re: Something hosing my msdos/FAT32 file system

2005-11-25 Thread Alexander Hall
A long time ago, Pedro Martelletto wrote: Alexander, can you please try to build a test-case that rules out NFS, if at all possible? I ran into this just this week while moving stuff like crazy. Succeeded to boil stuff down to a very limited set of operations that fscks things up. I run

Re: Compressed File System

2005-11-25 Thread Martin Schröder
On 2005-11-25 15:55:53 -0500, ICMan wrote: There are a lot of large files moving into the space on a regular basis, and they need to be stored for a long time in active disk space. I have Are you sure that the trouble with compressed file is worth the money saved from buying larger disks?

Re: RAID Controller for UltraATA/133 Drives?

2005-11-25 Thread Stuart Henderson
--On 25 November 2005 18:06 -0500, Alex Kirk wrote: I just picked up three Maxtor 200GB UltraATA/133 drives that I'd like to use in a RAID-5 configuration with my OpenBSD web/mail server. .. http://www.openbsd.org/i386.html#hardware, and unless I'm missing something, there's something of a

Re: Something hosing my msdos/FAT32 file system

2005-11-25 Thread Pedro Martelletto
On Sat, Nov 26, 2005 at 12:57:06AM +0100, Alexander Hall wrote: $ dd if=/dev/zero of=msdos_fs bs=1024 count=1024 $ sudo vnconfig vnd0 msdos_fs $ sudo newfs_msdos /dev/rvnd0c $ sudo mount_msdos -m 777 -l /dev/vnd0c /mnt/test/ $ cd /mnt/test $ mkdir a aa ab $ find . . ./a ./aa ./ab

Re: HOTO Write bad documentation

2005-11-25 Thread Emil Henry Flakk
On 11/25/05, Nick Holland [EMAIL PROTECTED] wrote: We've been seeing a curious number of people offering various kinds of documentation on various OpenBSD topics. Most of them are somewhere between minimally useful and outright destructive and foolish. I think I've seen precisely one that is

Re: RAID Controller for UltraATA/133 Drives?

2005-11-25 Thread Alex Kirk
Quoting Stuart Henderson [EMAIL PROTECTED]: --On 25 November 2005 18:06 -0500, Alex Kirk wrote: I just picked up three Maxtor 200GB UltraATA/133 drives that I'd like to use in a RAID-5 configuration with my OpenBSD web/mail server. .. http://www.openbsd.org/i386.html#hardware, and

Re: Something hosing my msdos/FAT32 file system

2005-11-25 Thread Alexander Hall
Pedro Martelletto wrote: On Sat, Nov 26, 2005 at 12:57:06AM +0100, Alexander Hall wrote: $ dd if=/dev/zero of=msdos_fs bs=1024 count=1024 $ sudo vnconfig vnd0 msdos_fs $ sudo newfs_msdos /dev/rvnd0c $ sudo mount_msdos -m 777 -l /dev/vnd0c /mnt/test/ $ cd /mnt/test $ mkdir a aa ab $ find . .

Re: Something hosing my msdos/FAT32 file system

2005-11-25 Thread Pedro Martelletto
On Sat, Nov 26, 2005 at 03:05:30AM +0100, Alexander Hall wrote: Actually, after testing copying aa and ab separately, I cannot reproduce the previous errors again. Maybe a reboot will help. FWIW, I think that unmounting and mounting the fs again restored the order (or so it seemed).

Re: RAID Controller for UltraATA/133 Drives?

2005-11-25 Thread J.C. Roberts
On Fri, 25 Nov 2005 18:06:44 -0500, Alex Kirk [EMAIL PROTECTED] wrote: Hello All, I just picked up three Maxtor 200GB UltraATA/133 drives that I'd like to use in a RAID-5 configuration with my OpenBSD web/mail server. I've spent the past couple of hours carefully combing through all of the RAID

FileSystem versus File System

2005-11-25 Thread J.C. Roberts
I went looking for HIER(7) but didn't know it's name, so I stuffed the words file system into an Apropos keyword search and got nothing. http://www.openbsd.org/cgi-bin/man.cgi?query=file+systemsektion=0manpath=OpenBSD+Currentarch=i386apropos=1format=html Damn, I _KNOW_ the darn thing exists

Re: hw.setperf strangeness

2005-11-25 Thread Lars Hansson
On Friday 25 November 2005 20:03, Ted Unangst wrote: maybe, speedstep can only be set to fast and slow, and the driver won't move things if it thinks nothing is changing. maybe there's a bug, maybe you need to fiddle it up and down some to make it actually work, but 0 and 100 are the only

Theorical question on dual core vs single CPU in routing setup.

2005-11-25 Thread Daniel Ouellet
Here a question I found interesting for my own education, and I am trying to come to peace with as far as applications usage with dual core, or multi-processor vs single one. I was asking myself if I would actually benefit from a dual core processor, or multi-processor system in a routing