Re: Clamav

2007-11-06 Thread Karl Sjodahl - dunceor
On Nov 6, 2007 2:12 PM, Juan Miscaro <[EMAIL PROTECTED]> wrote:
> --- Marc Balmer <[EMAIL PROTECTED]> wrote:
>
> > Juan Miscaro wrote:
> > > --- Peter Fraser <[EMAIL PROTECTED]> wrote:
> > >> was obsolete for a while, long enough that it was hard to
> > >> get updates on the virus signatures. I was going to put
> > >> up 4.2 expecting to get an updated version of clamav, but
> > >> I discovered that 4.2 still uses 0.90.3. The virus signatures
> > >> providers are expecting 0.91.2.
> > >>
> > >> Is there a newer version coming, or is there a better virus
> > >> scanner to use?
> > >
> > >
> > > I've been bothered by this for a long time.  I'm going to try
> > having
> > > all my future clamav installations built by source.
> > >
> >
> > Use OpenBSD snapshots or run -current.  The port is updated there.
>
>
> You recommend a production server to be running -current?
>
> Poll: who here is doing that?
>
> // juan
>
>
>   Ask a question on any topic and get answers from real people. Go to 
> Yahoo! Answers and share what you know at http://ca.answers.yahoo.com
>
>

I don't have any 'production servers' but I have run -current (updated
about once a week) on my laptop that I use daily for the last two
years and I never had any problems with stability. I would consider it
stable enough to run on production servers.

br
dunceor



Re: OBSD on MacBook

2007-11-06 Thread Karl Sjodahl - dunceor
On Nov 6, 2007 12:28 PM, Koh Choon Lin <[EMAIL PROTECTED]> wrote:
> > On Sun, Nov 04, 2007 at 10:46:28PM +0800, Koh Choon Lin wrote:
> > > Hi everyone!
> > >
> > > Anyone has a success story on installing OBSD on MacBook or MB Pro?
>
> Hi all
>
> Thanks you so much for the help.. actually, I am planning to single
> boot a MB or MBP with OBSD. Is it easier to install it this way than a
> dual boot or using bootcamp?
>
>
>
> Regards
> Koh Choon Lin
>
>

I single boot my macbook and then you just install it as you would on
a normal laptop. Just say yes that you will use whole hd for OpenBSD
and then you are set. No special magic.

I use OpenBSD on my macbook daily and it works great. No dmesg here
because I'm at work...

Br
dunceor



Re: OBSD on MacBook

2007-11-06 Thread Karl Sjodahl - dunceor
On Nov 6, 2007 4:25 PM, Nick Guenther <[EMAIL PROTECTED]> wrote:
> On 11/6/07, Karl Sjodahl - dunceor <[EMAIL PROTECTED]> wrote:
> >
> > I single boot my macbook and then you just install it as you would on
> > a normal laptop. Just say yes that you will use whole hd for OpenBSD
> > and then you are set. No special magic.
> >
> > I use OpenBSD on my macbook daily and it works great. No dmesg here
> > because I'm at work...
> >
>
> MacBook or MacBook Pro?
>
MacBook.



Re: OBSD on MacBook

2007-11-06 Thread Karl Sjodahl - dunceor
On Nov 6, 2007 7:43 PM, Nick Guenther <[EMAIL PROTECTED]> wrote:
> On 11/6/07, Karl Sjodahl - dunceor <[EMAIL PROTECTED]> wrote:
> > On Nov 6, 2007 4:25 PM, Nick Guenther <[EMAIL PROTECTED]> wrote:
> > >
> > > MacBook or MacBook Pro?
> > >
> > MacBook.
>
> How did you install it? My problem is that the internal keyboard
> doesn't work, and no external keyboard I've yet tried seems to work at
> installtime.
>

I used an external USB keyboard.  The internal keyboard should work
though if you enable acpi and disable apm (not sure if disable of apm
is necassary). But if you have problems with that just use the
external USB keyboard. I have some cheap USB keyboard I picked up just
to install my Macbook. Just work with pretty much any USB keyboard.

BR
dunceor



Re: MacBook remote control

2007-11-12 Thread Karl Sjodahl - dunceor
On Nov 10, 2007 10:03 PM, Richard Storm <[EMAIL PROTECTED]> wrote:
> Hello!
> I have macbook:
> hw.model=Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz
> hw.vendor=Apple Inc.
> hw.product=MacBook2,1
> hw.version=1.0
>
> On http://wiki.freebsd.org/AppleMacbook "IR receiver" section there is
> tool available at http://fnop.net/~rpaulo/priv/freebsd/aird.tgz.
>
> Here is patch that makes it compile/work under openbsd with my macbook
> and remote control.
>
> Ignore manpage, run like this:
> ./aird -vd -f /dev/uhid1 -M "echo menu" -P "echo play" -F "echo
> forward" -B "echo backward" -U "echo volumeup" -D "echo volumedown"
>
>
> --- aird.c.orig Tue Jul 31 21:26:36 2007
> +++ aird.c  Sat Nov 10 22:56:10 2007
> @@ -50,7 +50,6 @@
>   */
>
>  #include 
> -__FBSDID("$FreeBSD$");
>
>  #include 
>  #include 
> @@ -69,24 +68,17 @@
>  #include 
>  #include 
>
> -#include 
>  #include 
>  #include 
>
> -static struct pidfh *pfh;
> -
>  static voidsighandler(int sig);
>  static voidusage(void);
>  static voidruncmd(const char *cmd, int fd);
>
>
> -static void
> -sighandler(__unused int sig)
> +static void sighandler(int sig)
>  {
>
> -   if (pfh)
> -   pidfile_remove(pfh);
> -
> exit(EXIT_SUCCESS);
>  }
>
> @@ -96,7 +88,7 @@
> fprintf(stderr, "usage: %s [-vd] [-p pidfile] -f device "
> "[-M menu command]\n\t[-P play command] [-F forward command] "
> "[-B backward command]\n\t[-U volume up command] "
> -   "[-D volume down command]\n", getprogname());
> +   "[-D volume down command]\n", "aird");
>
> exit(1);
>  }
> @@ -132,8 +124,6 @@
> const char *deventry;
> unsigned char key;
>
> -   pfh = NULL;
> -
> signal(SIGHUP, sighandler);
> signal(SIGINT, sighandler);
> signal(SIGCHLD, SIG_IGN);
> @@ -207,23 +197,9 @@
> err(EXIT_FAILURE, "open %s", deventry);
>
> if (!foreground) {
> -   pfh = pidfile_open(pidfile, 0600, &otherpid);
> -   if (pfh == NULL) {
> -   if (errno == EEXIST) {
> -   errx(EXIT_FAILURE,
> -   "Daemon already running, pid: %jd.",
> -   (intmax_t)otherpid);
> -   }
> -   /* If we cannot create pidfile from other reasons,
> -  only warn. */
> -   warn("Cannot open or create pidfile");
> -   }
> -
> if (daemon(0, 0) < 0) {
> -   pidfile_remove(pfh);
> err(EXIT_FAILURE, "daemon");
> }
> -   pidfile_write(pfh);
> }
>
> memset(prevbuf, 0, sizeof(prevbuf));
> @@ -243,9 +219,6 @@
> exit(EXIT_SUCCESS);
> }
>
> -   if (key && buf[3] != key)
> -   continue;
> -
> /*
>  * Check for key repeats.
>  */
> @@ -273,7 +246,7 @@
> repeating = 0;
> }
>
> -   switch (buf[4]) {
> +   switch (buf[3]) {
> /* Menu */
> case 0x02:
> case 0x03:
> @@ -308,7 +281,6 @@
> }
>
> }
> -   pidfile_remove(pfh);
> close(fd);
>
> return (0);
>

Cool!
I'm slacking behind on my coding so I really need to update my source
and see if my bluetooth patches works.
I'll see if I get time to test this when I get home.

BR
dunceor



Re: IPMI

2007-11-12 Thread Karl Sjodahl - dunceor
On Nov 12, 2007 1:10 PM, Kleber Rocha <[EMAIL PROTECTED]> wrote:
> How I would disable the ipmi?
> I get this error on my system, /bsd: ipmi0: error code: ff when
> watchdog is running
>
>
> Thanks
>
>

Just boot with boot -c so you get into UKC.
Then disable ipmi with 'disable ipmi'.
You can also comment it our in your config and build a new kernel if
you want it to stay more permanantly.

BR
dunceor



Re: OT: OpenBSD on Asus eeePC

2007-11-14 Thread Karl Sjodahl - dunceor
On Nov 14, 2007 8:27 AM, Marc Balmer <[EMAIL PROTECTED]> wrote:
> Jacob Winther wrote:
> > On 14/11/2007, at 6:55 AM, Andreas Maus wrote:
> >>
> >> Did anyone try to run OpenBSD on Asus new small eeePC?
> >>
> >
> > Just fired up a flashboot image from usb running 4.1 bsd.rd:
>
> nice to see you have one.  can you boot -current and mail the dmesg to
> [EMAIL PROTECTED]
>
> Does anybody know where I could buy such a machine, preferrably in
> .ch or .de?
>
> - Marc
> >
> >
> > OpenBSD 4.1-stable (GENERIC-RD) #0: Thu Aug 16 17:15:55 CEST 2007
> > [EMAIL PROTECTED]:/home/rd/flashboot/flashboot/obj/GENERIC-RD
> > cpu0: Intel(R) Celeron(R) M processor 900MHz ("GenuineIntel" 686-class)
> > 631 MHz
>
> [...]
>
>

I have also been looking for one in Europe.
I found one place in Sweden that got them:
http://www.expansys.se/p.aspx?i=158485

In UK:
http://www.clove.co.uk/viewProduct.aspx?product=9136E4FD-2F3C-4289-84A9-4B96ED813B9D&category=GROUP4

Here is one in the US:
http://www.allasus.com/catalog/product_info.php?products_id=347&osCsid=k1mu5o1dvgee6jrkdebs2hemo6


I couldn't find any .de or .ch ones though.

BR
dunceor




Re: OT: OpenBSD on Asus eeePC

2007-11-14 Thread Karl Sjodahl - dunceor
On Nov 14, 2007 10:45 AM, Stuart Henderson <[EMAIL PROTECTED]> wrote:
> On 2007/11/14 10:37, Alexey Suslikov wrote:
> > As sthen@ mentioned, there are models with other WLAN, so be
> > careful with it.
>
> I doubt there are different wlan, it doesn't make any sense.
>
> They are PCIE mini card, btw, so you'll probably have a harder
> time finding a replacement than if they were Mini PCI. (the in-
> tree options are iwn and rum).
>
> N.B. the flash is soldered. Personally I think I'd wait for the 8G
> ones - from my experience with Zaurus, 4G can be a bit limiting,
>
>

Yeah I agree, 4GB is a bit small.
When we see a 8GB or 16GB version I probobly will buy one to have when
I take the train to work.

Hopefully that will show up in a near future.

BR
dunceor



Re: Please send email directly to misc@openBSD.org (no cc please)

2007-11-16 Thread Karl Sjodahl - dunceor
On Nov 16, 2007 7:20 AM, Weldon Goree <[EMAIL PROTECTED]> wrote:
> On Fri, 2007-11-16 at 00:28 -0500, Piet Slaghekke wrote:
> > I like to filter my openBSD emails and the only way I can do it is if 
> > everyone
> > send their email with misc@openBSD.org in the " To "  field.
> >
> > Please send email To misc@openBSD.org   and do not CC it to this address.
> >
> > Thanks!
>
> If only there were mail clients that allowed one to filter on To: or
> Cc:...
>
>

Can people please only mail stuff to misc that I'm interested in?
Doh.



Re: Source for man pages.

2007-11-18 Thread Karl Sjodahl - dunceor
On Nov 17, 2007 6:14 PM, David Walker <[EMAIL PROTECTED]> wrote:
> Hiya.
>
> What is a convenient way for me to get the source for the man pages in
> current?
>
> Best wishes,
> David
>
>

Check out the source.
It depends on what man page you are looking for.
Man pages for different programs or drivers are found in the folder
where the src is for that specific driver/program.
More general man-pages are found in /src/share/man/

BR
dunceor



Re: securing OpenBSD wireless network

2007-11-23 Thread Karl Sjodahl - dunceor
On Nov 23, 2007 8:25 AM, Predrag Punosevac <[EMAIL PROTECTED]> wrote:
> David wrote:
> > Does anyone know if there is WPA support for OpenBSD being worked on?
> > This would be nice.
> >
> >
> There was a thread that I started a month ago unfortunately by
> mis-spelling WPA as (wap). One of the answers was posted
> I think by a developer who is currently working on WPA for OpenBSD. The
> information was rather comprehensive and
> I would just do harm by trying to repeat it.
>
> Best,
> Predrag
>
> > David Newman wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > On 11/22/07 1:55 PM, Christian Weisgerber wrote:
> >
> >>> David Newman <[EMAIL PROTECTED]> wrote:
> >>>
> >>>
> > There is some layer-2 stuff that happens before layer-3
> >
> > handshaking
> >
> > begins -- 802.11 association and deassociation, possibly layer-2
> > learning, and 802.1X authentication if that's used. IPSec will
> >
> > not and
> >
> > cannot secure any of this.
> >
> >>> Is there any need to secure that? In my local WLAN, you only
> >>>
> > have two
> >
> >>> ways of proceeding if you want internet access: a Tor router, or
> >>> IPsec.
> >>>
> > Before either of those processes begin, I can associate like crazy to
> > your access point. That would ensure you never get Internet
> >
> > access, even
> >
> > without my flinging a single IP packet at you.
> >
> >>> Duh.  It's a *radio* network.  Of course it can be DoS-ed.  WEP
> >>> doesn't change that.  In fact, popular attacks against WEP generate
> >>> massive L2 traffic.
> >>>
> >>>
> >
> > Yes. WPA is somewhat better (in that the better controller-based systems
> > have rate controls). Other than being better than nothing on really old
> > hardware, WEP is worthless.
> >
> > dn
> > iD8DBQFHRk3LyPxGVjntI4IRApZlAJ44a3Um15XTftC6s7wlHXlWQOr/dwCg8ULI
> > dZSlpbIowhsNSj3aqcCkoT8=
> > =TjLE
> > -END PGP SIGNATURE-
>
>

Reyk@ is working on WPA support in the 802.11 stack. They have added
the wpa_supplicant port but it can not be used because it lacks some
support in the stack.
Any donations would probobly help.

BR
dunceor



Re: fdisk manual page missing

2007-11-25 Thread Karl Sjodahl - dunceor
On Nov 25, 2007 5:48 PM, Jason McIntyre <[EMAIL PROTECTED]> wrote:
> On Sun, Nov 25, 2007 at 03:31:16PM +0100, Mitja wrote:
> > Hello,
> >
> > There is no man page for fdisk in 4.2.
> >
> > http://www.openbsd.org/cgi-bin/man.cgi?query=fdisk&apropos=0&sektion=0&manpath=OpenBSD+4.2&arch=i386&format=html
> >
> >
>
> that's odd. maybe a 4.2 user can confirm it's missing, or maybe it's a blip
> in man.cgi.
>
> jmc
>
>

It exists on my 4.2-current amd64 at least. No i386 around so don't
know about that.

br
dunceor



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread Karl Sjodahl - dunceor
On Nov 26, 2007 1:15 PM, David Vasek <[EMAIL PROTECTED]> wrote:
> On Mon, 26 Nov 2007, Paul Irofti wrote:
>
> > On Mon, Nov 26, 2007 at 10:57:28AM +, Edd Barrett wrote:
> >> On 26/11/2007, Richard Wilson <[EMAIL PROTECTED]> wrote:
> >>> http://www.xkcd.com/349/
> >>>
> >>> Observe the ALT text on the comic.
> >>>
> >>> Haven't seen a PR on that one...
> >>>
> >>>
> >>
> >> What do they mean by this?
> >>
> >
> > Its a joke, I think everyone experienced at least once to some extent
> > installing another OS and ending up in a mess. OpenBSD is used only for
> > the ``only security issue'' part hinting at our slogan.
>
> Is there OpenBSD actually mentioned anywhere?
>
> Regards,
> David
>
>

Yes read the alt text of the picture.



Re: current tree is broken?

2007-11-26 Thread Karl Sjodahl - dunceor
On Nov 27, 2007 6:16 AM, Daniel Ouellet <[EMAIL PROTECTED]> wrote:
> # cd /usr/src
> # tar xzf /tmp/sys.tar.gz
> # cd /usr/src/sys/arch/amd64/conf
> # config GENERIC.MP
> Don't forget to run "make depend"
> Kernel options have changed -- you must run "make clean"
>
>
> # cd /usr
> # cvs -d [EMAIL PROTECTED]:/cvs get src/sys
> ...
> Lots of output.
> ...
>
> # cd /usr/src/sys/arch/amd64/conf
> # config GENERIC.MP
> ../../../../conf/files:995: syntax error
> ../../../../conf/files:996: syntax error
> ../../../../conf/files:997: syntax error
> ../../../../conf/files:998: syntax error
> ../../../../conf/files:999: syntax error
> ../../../../conf/files:1000: syntax error
> ../../../../conf/files:1001: syntax error
> ../../../../conf/files:1002: syntax error
> ../../../../conf/files:1003: syntax error
> ../../../../conf/files:1004: syntax error
> ../../../../conf/files:1005: syntax error
> ../../../../conf/files:1006: syntax error
> ../../../../conf/files:1007: syntax error
> ../../../../conf/files:1008: syntax error
> ../../../../conf/files:1009: syntax error
> ../../../../conf/files:1010: syntax error
> ../../../../conf/files:1011: syntax error
> ../../../../conf/files:1012: syntax error
> ../../../../conf/files:1013: syntax error
> ../../../../conf/files:1014: syntax error
> ../../../../conf/files:1015: syntax error
> ../../../../conf/files:1016: syntax error
> ../../../../conf/files:1017: syntax error
> ../../../../conf/files:1018: syntax error
> ../../../../conf/files:1019: syntax error
> ../../../../conf/files:1020: syntax error
> ../../../../conf/files:1021: syntax error
> ../../../../conf/files:1022: syntax error
> ../../../../conf/files:1023: syntax error
> ../../../../conf/files:1024: syntax error
> ../../../../conf/files:1025: syntax error
> ../../../../conf/files:1026: syntax error
> ../../../../conf/files:1027: syntax error
> ../../../../conf/files:1028: syntax error
> *** Stop.
> #
>
>

config(8) has changed and need to be rebuilt first.

If you wanna follow current always check:
http://www.openbsd.org/faq/current.html

BR
dunceor



Re: PCI ID rules to be included in pcidevs

2007-12-01 Thread Karl Sjodahl - dunceor
On Nov 30, 2007 11:31 AM, Daniel Ouellet <[EMAIL PROTECTED]> wrote:
> Quick question on the rules of this if I may.
>
> What's the rules, kind of used to determine when new PCI ID can be put
> in the "pcidevs" in the tree?
>
> If I find new ID's, do they need to be verify by users first, etc?
>
> In looking at my SAS problem, I find that Symbios Logic may have
>
> 0x0066 "Symbios Logic Inc. / NCR|MegaRAID SCSI 320-2XRWS"
>
> And that ID is not in the tree yet. So, to be included there, do you
> need the data sheet or something from the company, or you put them as
> possible one and finalize them when the hardware is tested, or what's
> the process for that?
>
> What do you required if I come across others like that to be useful?
>
> Best,
>
> Daniel
>
>

Usually what I have seen normally only a diff is needed.
The thing is that if nobody is working on a driver or it is just
something that is known not to work there is no reason for including
the ID.
Otherwise it would be good for testing.

Do a diff, send it in, see if nay of the developers commit it. It's
easy as that.

BR
dunceor



Re: cvsweb browsing out of sync with latest src?

2007-12-09 Thread Karl Sjodahl - dunceor
On Dec 10, 2007 8:14 AM, Amarendra Godbole <[EMAIL PROTECTED]> wrote:
> Hi,
>
> It appears that browsing OpenBSD src/ through cvsweb points to old
> src, and not the latest one. For eg.,
> http://www.openbsd.org/cgi-bin/cvsweb/src/gnu/usr.bin/ turns up many
> utilities which now have been moved under src/usr.bin/.
>
> Can someone clarify as to why do I see this difference? Or am I
> missing something? Thanks in advance.
>
> -Amarendra
>
>

It does point to the latest source code, it's just that in CVS you
cannot remove directories. They will still be there but they contain
no source code.

BR
dunceor



Re: Getting envolved

2007-12-12 Thread Karl Sjodahl - dunceor
On Dec 12, 2007 6:31 PM, Mathieu Stumpf <[EMAIL PROTECTED]> wrote:
> Hello,
>
> First I apologize if this is not the good address to post this kind of
> message. I didn't find a 'getting involved' link on the 0penBSD website.
>
> Well, OpenBSD seems to care about quality, so as a developper I thought
> this would be a good place to learn how to write better software.
>
> To my mind software quality also depends on ease of use. So I would be
> happy to help improve OpenBSD by making it easier to install and use.
> But I don't know if you would be interesting by this kind of
> 'improvement'. I don't want to waste your time nor mine, so I ask first.
>
> Let me know your opinion about this.
>
> Anyway, I will first have to learn the system, so I should ask an
> OpenBSD CD and book for christmas. :P
>
> Best regards.
>
>

Improvements are always welcomed. Sends so diff's and people can see
if they feel it's improvement or not.

BR
dunceor



Re: FW: Real men don't attack straw men

2008-01-04 Thread Karl Sjodahl - dunceor
On Jan 4, 2008 9:14 AM, Rui Miguel Silva Seabra <[EMAIL PROTECTED]> wrote:
> On Thu, Jan 03, 2008 at 10:00:55PM +, Miod Vallat wrote:
> > > > Rui Miguel Silva is continually making you guys remove [EMAIL PROTECTED]
> > > > from the cc's of your messages.
> > >
> > > FYI, I continually remove people from the CC on mailing-list posts.
> >
> > Yet you have no idea whether these people are subscribed to these
> > mailing lists.
>
> If they are not, why do their emails get into the mailing list?
>
> Some moderator enjoys letting flames come up? That's even more
> interesting...
>
> > > I consider it rude to receive duplicate email.
> >
> > Isn't it rude to prevent people from receiving answers they are
> > seeking? Not everyone not subscribed to this list will end his/her
> > messages with a ``please cc: me as I am not subscribed'' notice, because
> > they expect people to do the right thing. Which is ``reply to all''.
>
> Their problem.
>
> Rui
>
> --
> Frink!
> Today is Prickle-Prickle, the 4th day of Chaos in the YOLD 3174
>
> + No matter how much you do, you never do enough -- unknown
> + Whatever you do will be insignificant,
> | but it is very important that you do it -- Gandhi
> + So let's do it...?
>
>

This is a unmoderated list and unsubscribed people can mail to it.



Re: FW: Real men don't attack straw men

2008-01-04 Thread Karl Sjodahl - dunceor
On Jan 4, 2008 10:51 AM, Rui Miguel Silva Seabra <[EMAIL PROTECTED]> wrote:
> On Fri, Jan 04, 2008 at 09:56:03AM +0100, Karl Sjodahl - dunceor wrote:
> > This is a unmoderated list and unsubscribed people can mail to it.
>
> If one doesn't want to hear what outsiders want to say, then perhaps
> posting should be restricted to list members.
>
> Rui
>
> --
> This statement is false.
>
> Today is Prickle-Prickle, the 4th day of Chaos in the YOLD 3174
> + No matter how much you do, you never do enough -- unknown
> + Whatever you do will be insignificant,
> | but it is very important that you do it -- Gandhi
> + So let's do it...?
>
>

Who said anything about that? The discussion was about cc.
You need to keep on subject and don't make up things.



Re: Problems with -current in CVS?

2008-01-22 Thread Karl Sjodahl - dunceor
On Jan 22, 2008 8:34 AM, Dusty <[EMAIL PROTECTED]> wrote:
> I had this too, you need to build yourself a new version f gcc. I see
> someone posted faq5 .. you want to 'follow current' it has those
> instructions.
>
>
> On Jan 22, 2008 8:30 AM, Colby W. <[EMAIL PROTECTED]> wrote:
> > I tried two different AnonCVS repositories (one in the USA and one in
> > CAN) tonight but ran into the same problem when I tried rebuilding the
> > kernel to bring my recent -release install up to -current. Per the
> > instructions [1]:
> >
> > # cd usr/ ; cvs checkout -P src
> > # cd /usr/src/sys/arch/i386/conf/
> > # config GENERIC
> > ../../../../conf/files:1005: syntax error
> > ../../../../conf/files:1006: syntax error
> > ../../../../conf/files:1007: syntax error
> > ../../../../conf/files:1008: syntax error
> > ../../../../conf/files:1009: syntax error
> > ../../../../conf/files:1010: syntax error
> > ../../../../conf/files:1011: syntax error
> > ../../../../conf/files:1012: syntax error
> > ../../../../conf/files:1013: syntax error
> > ../../../../conf/files:1014: syntax error
> > ../../../../conf/files:1015: syntax error
> > ../../../../conf/files:1016: syntax error
> > ../../../../conf/files:1017: syntax error
> > ../../../../conf/files:1018: syntax error
> > ../../../../conf/files:1019: syntax error
> > ../../../../conf/files:1020: syntax error
> > ../../../../conf/files:1021: syntax error
> > ../../../../conf/files:1022: syntax error
> > ../../../../conf/files:1023: syntax error
> > ../../../../conf/files:1024: syntax error
> > ../../../../conf/files:1025: syntax error
> > ../../../../conf/files:1026: syntax error
> > ../../../../conf/files:1027: syntax error
> > ../../../../conf/files:1028: syntax error
> > ../../../../conf/files:1029: syntax error
> > ../../../../conf/files:1030: syntax error
> > ../../../../conf/files:1031: syntax error
> > ../../../../conf/files:1032: syntax error
> > ../../../../conf/files:1033: syntax error
> > ../../../../conf/files:1034: syntax error
> > ../../../../conf/files:1035: syntax error
> > ../../../../conf/files:1036: syntax error
> > ../../../../conf/files:1037: syntax error
> > ../../../../conf/files:1038: syntax error
> > *** Stop.
> >
> > Is this a problem with a config file checked into CVS or am I missing
> > something? From what I can determine, there is no
> > "../../../../conf/files" but there is "../../../conf/files" (one
> > directory closer to /usr/src/sys/arch/i386/conf : ie.,
> > /usr/src/sys/conf/).
> >
> > Thanks in advance,
> >
> > Colby W.
> >
> > [1] http://www.openbsd.org/faq/faq5.html
>
>

This is probobly due to the config flag day. Do as it says on
Following -current:

2007/11/25 - config(8) flag day

Extended capabilities require config(8) to be rebuilt on your system:

# cd /usr/src/usr.sbin/config
# make clean
# make obj
# make depend
# make
# make install

I got the same errors when I forgot to do that so it's highy possible
that config is the problem.

BR
dunceor



Re: Problems with -current in CVS?

2008-01-22 Thread Karl Sjodahl - dunceor
On Jan 22, 2008 8:11 AM, Ben Calvert <[EMAIL PROTECTED]> wrote:
> On Jan 21, 2008, at 10:30 PM, Colby W. wrote:
>
> > I tried two different AnonCVS repositories (one in the USA and one in
> > CAN) tonight but ran into the same problem when I tried rebuilding the
> > kernel to bring my recent -release install up to -current. Per the
> > instructions [1]:
> >
> > [1] http://www.openbsd.org/faq/faq5.html
> >
> >
>
> wrong instructions.  the correct instructions are at:
>
> http://openbsd.org/faq/current.html
>
> "You should ALWAYS use a snapshot as the starting point for running -
> current. Upgrading by compiling your own source code is not supported."
>
> Ben
>
>

Not supported is not the same thing as not working.
I usually do it and it works fine but sometimes it breaks, easy as that.

BR
dunceor



Re: halt -p does not work with GENERIC.MP on 4.2-STABLE

2008-01-28 Thread Karl Sjodahl - dunceor
On Jan 26, 2008 5:35 AM, Jona Joachim <[EMAIL PROTECTED]> wrote:
>
> On Fri, 25 Jan 2008 09:43:36 +0100, Pierre Riteau wrote:
>
> > On Jan 25, 2008 9:13 AM, Nicolas Letellier <[EMAIL PROTECTED]> wrote:
> >> I use OpenBSD 4.2-stable with a core2duo laptop. When I use GENERIC
> >> kernel, 'halt -p' works perfectly. However, when I use GENERIC.MP,
> >> 'halt -p' does not work and says :
> >>
> >> apm0: APM set power state: interface not connected (3)
> >> the operating system has halted
> >> Please press any key to reboot
> >>
> >
> > You should try with -current. Much work was done on ACPI since 4.2.
> > And I don't think the developers are interested in these kind of bugs
> > in -stable.
>
> I can confirm that it doesn't work on a fairly recent snapshot.
> It does work with GENERIC but when you do a `halt -p` under
> GENERIC.MP you get "syncing disks" and then something like "UHCI
> controller halted" and then nothing.
> This is on a ThinkPad T60 (ACPI only) running amd64.
>
> Jona
>
>

I can confirm that I get the same behaviour with a the last 10 or so
snapshots. Works in GENERIC but not GENERIC.MP.

BR
dunceor



Re: Monitoring Battery...

2008-02-25 Thread Karl Sjodahl - dunceor
On Mon, Feb 25, 2008 at 1:22 PM, Mayuresh Kathe
<[EMAIL PROTECTED]> wrote:
>
> On Mon, Feb 25, 2008 at 5:45 PM, Antoine Jacoutot <[EMAIL PROTECTED]> wrote:
>  > On Mon, 25 Feb 2008, Mayuresh Kathe wrote:
>  >  > I googled for "monitoring battery openbsd" but got nothing satisfactory.
>  >
>  >  apm(8)
>
>  Thanks for that Antoine.
>
>  I tried 'apm -b' to get the battery status, but it showed 255, which
>  is 'unknown', is it because my laptop isn't properly supported?
>
>  Is there anything I could do to help developers support it better?
>
>  Best,
>
>  ~Mayuresh
>
>

If its an non-apm laptop you can check it via acpi. Use sysctl and
check the hw section. There it was how many volts left.

BR
Dunceor



Re: The Dilbert Problem...

2008-03-05 Thread Karl Sjodahl - dunceor
On Wed, Mar 5, 2008 at 12:59 PM, Mayuresh Kathe
<[EMAIL PROTECTED]> wrote:
> Hi,
>
>  There's a strange incident that's repeatable on my system (4.2).
>
>  Open up Firefox, make it load "www.dilbert.com", then open another tab
>  and visit any other website, then do the same for 2~3 more tabs.
>
>  The first (dilbert) tab takes a long time to load during which the
>  other tabs too show nothing, they get stuck at "Looking up..."
>
>  Is it a Firefox problem or something to do with the system?
>
>  Best,
>
>  ~Mayuresh
>
>

I have seen this on both Windows and OpenBSD. The later firefox
releases (like from 2.0.0.3-2.0.0.5 something) I have seen problems
with having more tabs open.
I used to have a lot of tabs but now I have restricted myself to 3-4
or firefox is not useable.

BR
Dunceor



Re: man ftp site is very slow

2008-03-07 Thread Karl Sjodahl - dunceor
On Fri, Mar 7, 2008 at 6:08 PM, Christopher Linn <[EMAIL PROTECTED]> wrote:
>
> On Fri, Mar 07, 2008 at 11:49:33AM -0500, arthur wrote:
>  > I am loading cd43.iso from ftp.openbsd.org and it is 4.2k/s. Anything 
> wrong,
>  > or just to busy.
>  >
>  > Loading from FBSD is 146k/s so it is not problem with my internet.
>  >
>  > Arthur
>
>
>  have you tested the performance of the many ftp mirrors?
>
>  please see http://www.openbsd.org/ftp.html.
>
>
>  cel
>
>  --
>  Christopher Linn   | By no means shall either the CEC
>  System Administrator II   | or MTU be held in any way liable
>   Center for Experimental Computation | for any opinions or conjecture I
> Michigan Technological University | hold to or imply to hold herein.
>
>

This is the main site, you should always try and use a mirror to begin with.

BR
dunceor



Re: xenocara CVS out of memory

2008-03-25 Thread Karl Sjodahl - dunceor
On Tue, Mar 25, 2008 at 9:29 AM, Michael <[EMAIL PROTECTED]> wrote:
> Hi,
>
>  when trying to checkout or update the 4.3 xenocara sources I get the
>  following message:
>
>  cvs [server aborted]: out of memory; can not reallocate 5242880 bytes
>
>  Tried the following servers:
>
>  [EMAIL PROTECTED]:/cvs
>  [EMAIL PROTECTED]:/cvs
>  [EMAIL PROTECTED]:/cvs
>
>
>  Michael
>
>

It usually happens when the servers are busy. Wait and try later or
try some other servers.

BR
Dunceor



Re: X11 very slow with SMP kernel

2007-10-08 Thread Karl Sjodahl - dunceor
On 10/7/07, Jona Joachim <[EMAIL PROTECTED]> wrote:
> On Sun, 07 Oct 2007 19:21:59 +0200
> [EMAIL PROTECTED] (Peter N. M. Hansteen) wrote:
>
> > Jona Joachim <[EMAIL PROTECTED]> writes:
> >
> > > I can see X redraw the screen top down very slowly when I use the
> > > SMP kernel on my Thinkpad T60. I can actually see it draw the
> > > background first and then every widget one by one. I don't see this
> > > behaviour when I use GENERIC.
> >
> > It's been discussed on the list recently, the short version is that
> > you may find that enabling acpi in the MP kernel will speed up your
> > system.
> >
> >  gives you the
> > main bits.
> >
> > Hope this helps,
>
> Thanks a lot, it also helped in my case!
> I was reluctant to enable acpi because the man page says it could cause
> overheating because the kernel takes thermal control from the bios but
> doesn't provide any thermal regulation functionality.
> Does my laptop risk overheating when I enable acpi?
>
> Regards,
> Jona
>
> --
> "I am chaos. I am the substance from which your artists and scientists
> build rhythms. I am the spirit with which your children and clowns
> laugh in happy anarchy. I am chaos. I am alive, and tell you that you
> are free." Eris, Goddess Of Chaos, Discord & Confusion
>
>

> Does my laptop risk overheating when I enable acpi?
The answer is dependent on how old your laptop is.
My old Compaq Presario 2100 did not work with ACPI enable because it
couldn't control the thermal functionality. But my new laptop (macbook
2,1) it works great with acpi and is needed to get some stuff working.

So I suggest you try enable ACPI and see what happens. If you laptop
can't control the thermal functionality it will most likely just turn
of and then you just need to install it again without ACPI and you'll
be fine. The laptop it self has a protection that it turns if off if
it feels it to hot so you won't burn anything.

BR
Dunceor



Re: Wasting our Freedom

2007-10-11 Thread Karl Sjodahl - dunceor
On 10/11/07, Toni Mueller <[EMAIL PROTECTED]> wrote:
> On Thu, 13.09.2007 at 23:09:51 -0400, Jason Dixon <[EMAIL PROTECTED]> wrote:
> > It boggles my mind that we can lie around complacently, arguing about
> > installer menus and taking the bait from trolls, while our freedoms
> > are quickly eroding away.  The rights and recognition of one of our
> > own developers (reyk@) have been molested, and all we've done as a
> > community is to participate in useless flames and blog postings.
> > Theo has thrown himself, once again, against the spears of the Linux
> > community and their legal vultures in order to protect our software
> > freedoms.  How many of us can say we've done our part to defend truly
> > Free Software?
> >
> > You don't have to be a lawyer or OpenBSD developer to make a
> > difference.  Email the SFLC and FSF and remind them that Free
> > Software consists of more than the almighty penguin.  OpenBSD is
> > arguably the most Free and Open operating system available anywhere.
> > The SFLC and FSF need to remember that they were created to protect
> > victims, not thieves.
> >
> > Your donations are important for keeping the servers running, but
> > your voice is necessary for keeping our freedom alive.
>
> Just today, I was reading about a bug in OpenBSD's dhcpd. Nothing much
> wrong with that, anyone can make a mistake. A short while later I came
> across the message that some VMware thingy also had the same problem,
> because they derived their dhcpd from OpenBSD's code base (or probably
> just included it, I didn't check nor care).
>
> I'd like to summarize:
>
>  * OpenBSD publishes some pieces of software under the BSD license.
>
>case 1: Linux takes some of it and publishes it under the GPL:
>Big war ahead!
>
>case 2: Company XY takes some of it and publishes it under their own
>license (binary only etc.): Everyone's happy... no?
>
> Maybe some of you can explain why attribution (the only thing the BSD
> license really demands) is not enough in the first of these two cases,
> or what the problem really is. It's imho a very easy question to tell
> which one out of ("Company X", "GPL") protects my freedoms better...
> And I also dimly remember that some popular Linux project clamoured for
> the removal of (undocumented) binary-only stuff from their release even
> earlier than OpenBSD 3.9 came out.
>
> This kind of proceedings is generally wrong-headed and a bane for the
> OpenBSD project in general. Unless you start going after all commercial
> users of OpenBSD, like eg. VMware, you are simply destroying that
> credibility and respect you have worked to earn over the years.
>
>
>
> Best,
> --Toni++
>
>

This has allready been discussed.
VMWare are not allowed to put it under any new licence as you said,
they are allowed to provide a binary only with the licence intact. The
Linux people _CHANGED_ the licence and now they changed it back and
they can use it.
Stop the old trolling about commercial companies just stealing, in
several cases they do give back!

BR
dunceor



Re: redirect network traffic - netfwd project

2007-10-11 Thread Karl Sjodahl - dunceor
On 10/12/07, Alexey Vatchenko <[EMAIL PROTECTED]> wrote:
> Hi!
> I wrote a little utility and want to share it with you. It allows to
> redirect incoming connections to remote (and also local) host. For
> example, it listens for incoming TCP connections, accepts them and
> creates connection with remote host.
>
> But it works not only with TCP. One can easily redirect the following:
>  - TCP
>  - UDP
>  - UNIX socket (SOCK_STREAM)
>  - UNIX socket (SOCK_DGRAM)
>  - serial port (actually, tty device).
>
> And it doesn't matter what into what you redirect :)
>
> For example, you can give your chrooted web server access to MySQL not
> enabling networking in MySQL:
>
> # netfwd unix stream /chroot/.../mysql.sock unix stream 
> /.../mysql.sock
>
> Any connects are welcome!
>
> --
> Alexey Vatchenko
> http://www.bsdua.org
> E-mail: [EMAIL PROTECTED]
> JID: [EMAIL PROTECTED]
>
>

If you want it to be widely used by OpenBSD users just make a port of
it and I bet it will get wider use.

BR
dunceor



Re: Apple Macbook Xorg synchronization problems

2008-08-19 Thread Karl Sjodahl - dunceor
On Tue, Aug 19, 2008 at 10:29 AM, Kostas Zorbadelos <[EMAIL PROTECTED]> wrote:
> Hello to everyone.
>
> This is my first post here and I should be considered a "new user" in OpenBSD.
> I have an Apple Macbook (13.3') Intel Core 2 Duo and I managed to install
> 4.3-release/amd64. I have a working console-based system using GENERIC.MP
> kernel. The problem is when I start X I can see no fonts on the screen (seems
> like an X server synchronization problem).
>
> A search in Google about a valid xorg.conf file produced various results but I
> could get no solution. Does anyone have a working xorg.conf file or any
> pointers to the solution?
>
> Find attached my xorg.conf file (pretty much the one generated by X -configure
> with few additions). Another hint is that if I connect the laptop to an
> external monitor (using the mini DVI-to-DVI connector of Apple) I can see the
> fonts just fine. If you need any other input please let me know.
>
> Thanks in advance,
>
> KOstas Zorbadelos
> Section "ServerLayout"
>Identifier "X.org Configured"
>Screen  0  "Screen0" 0 0
>InputDevice"Mouse0" "CorePointer"
>InputDevice"Keyboard0" "CoreKeyboard"
> EndSection
>
> Section "Files"
>RgbPath  "/usr/X11R6/share/X11/rgb"
>ModulePath   "/usr/X11R6/lib/modules"
>FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
>FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
>FontPath "/usr/X11R6/lib/X11/fonts/misc/"
>FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
>FontPath "/usr/X11R6/lib/X11/fonts/OTF"
>FontPath "/usr/local/lib/X11/fonts/ghostscript/"
>FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
>FontPath "/usr/local/lib/X11/fonts/mscorefonts/"
> EndSection
>
> Section "Module"
>Load  "GLcore"
>Load  "dbe"
>Load  "extmod"
>Load  "glx"
>Load  "record"
>Load  "xtrap"
>Load  "freetype"
>Load  "type1"
> EndSection
>
> Section "InputDevice"
>Identifier  "Keyboard0"
>Driver  "kbd"
> EndSection
>
> Section "InputDevice"
>Identifier  "Mouse0"
>Driver  "mouse"
>Option  "Protocol" "wsmouse"
>Option  "Device" "/dev/wsmouse"
>Option  "ZAxisMapping" "4 5 6 7"
> EndSection
>
> Section "Monitor"
>#DisplaySize  290   190 # mm
>Identifier   "Monitor0"
>VendorName   "APP"
>ModelName"Color LCD"
>HorizSync28.0 - 64.0
>VertRefresh  43.0 - 60.0
> EndSection
>
> Section "Device"
>### Available Driver options are:-
>### Values: : integer, : float, : "True"/"False",
>### : "String", : " Hz/kHz/MHz"
>### [arg]: arg optional
>#Option "NoAccel"   # []
>#Option "SWcursor"  # []
>#Option "ColorKey"  # 
>#Option "CacheLines"# 
>#Option "Dac6Bit"   # []
>#Option "DRI"   # []
>#Option "NoDDC" # []
>#Option "ShowCache" # []
>#Option "XvMCSurfaces"  # 
>#Option "PageFlip"  # []
>Identifier  "Card0"
>Driver  "intel"
>VendorName  "Intel Corporation"
>BoardName   "Mobile 945GM/GMS, 943/940GML Express Integrated Graphics 
> Controller"
>BusID   "PCI:0:2:0"
> EndSection
>
> Section "Screen"
>Identifier "Screen0"
>Device "Card0"
>Monitor"Monitor0"
>DefaultDepth 24
>SubSection "Display"
>Viewport   0 0
>Depth 1
>EndSubSection
>SubSection "Display"
>Viewport   0 0
>Depth 4
>EndSubSection
>SubSection "Display"
>Viewport   0 0
>Depth 8
>EndSubSection
>SubSection "Display"
>Viewport   0 0
>Depth 15
>EndSubSection
>SubSection "Display"
>Viewport   0 0
>Depth 16
>EndSubSection
>SubSection "Display"
>Viewport   0 0
>Depth 24
>Modes   "1280x800"
>EndSubSection
> EndSection
>
>

What version of macbook do you have? I have a 2,1 that I have had
problems with the intel 945 graphics card.
I have downgraded from the new intel driver to the old i810 driver
otherwise my screen frooze.

Please show dmesg.

BR
dunceor



Re: Apple Macbook Xorg synchronization problems

2008-08-20 Thread Karl Sjodahl - dunceor
On Tue, Aug 19, 2008 at 9:32 PM, Nick Guenther <[EMAIL PROTECTED]> wrote:
> On Tue, Aug 19, 2008 at 5:05 AM, Kostas Zorbadelos <[EMAIL PROTECTED]> wrote:
>> On Tuesday 19 August 2008 11:58:34 Karl Sjodahl - dunceor wrote:
>>> On Tue, Aug 19, 2008 at 10:29 AM, Kostas Zorbadelos <[EMAIL PROTECTED]>
>> wrote:
>>> > Hello to everyone.
>>> >
>>> > This is my first post here and I should be considered a "new user" in
>>> > OpenBSD. I have an Apple Macbook (13.3') Intel Core 2 Duo and I managed
>>> > to install 4.3-release/amd64. I have a working console-based system using
>>> > GENERIC.MP kernel. The problem is when I start X I can see no fonts on
>>> > the screen (seems like an X server synchronization problem).
>>>
>>
>> I should have included that in the first place :)
>>
>> As I can see I also have a 2,1 but I guess the Intel card is supported in the
>> Xorg intel driver...
>>
>
> You have a 2,1? How did you get it installed in the first place? The
> install kernel hangs for me. I got around that by putting the
> harddrive in a different computer, but I'm wondering if I missed an
> easier way.
>
> -Nick
>
>

Last time I installed it there was a long pause in the install process
when it tried to find something.
It finally timed out and then just continued.

BR
dunceor



Re: How much RAM is needed for cvs(1)?

2008-08-27 Thread Karl Sjodahl - dunceor
On Thu, Aug 28, 2008 at 7:23 AM, Tomas Bodzar <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I tried
>
># cd /usr
># export [EMAIL PROTECTED]:/cvs
># cvs -d$CVSROOT checkout -P xenocara
>
> and after few minutes get Out of memory.I have 256MB RAM.That was running on 
> tty0,
> on tty1 was only lynx with OBSD page.Before that I made checkout of src and 
> every-
> thing OK.
>
> Is this problem with low memory or anything else?
>
> Thx
>
>

This is a known limitation in cvs. If you use OpenCVS to check out
Xenocara it succedes.
Check http://marc.info/?l=openbsd-misc&m=120765433708331&w=2 and
numerous other post about this on misc.

Br
dunceor



Re: Is there a non-X11 version of Prolog available?

2008-08-29 Thread Karl Sjodahl - dunceor
On Fri, Aug 29, 2008 at 8:15 AM, Simon Connah
<[EMAIL PROTECTED]> wrote:
> I've just been trying to install the SWI-Prolog port and it seems like it
> needs X11 installed to run. Is there a command line version of Prolog
> floating around at all? Or do I need to compile and install my own copy?
>
> Cheers for any help.
>
> Simon.
>
> "I disapprove of what you say, but I'll defend to the death your right to
> say it." - Voltaire
>
>

I used gprolog a few years back and it's non-gui.
Check it out:
http://openports.se/lang/gprolog

BR
dunceor



Re: Is there a non-X11 version of Prolog available?

2008-08-29 Thread Karl Sjodahl - dunceor
On Fri, Aug 29, 2008 at 4:48 PM, Simon Connah
<[EMAIL PROTECTED]> wrote:
> On 29 Aug 2008, at 08:56, Karl Sjodahl - dunceor wrote:
>
>> On Fri, Aug 29, 2008 at 8:15 AM, Simon Connah
>> <[EMAIL PROTECTED]> wrote:
>>>
>>> I've just been trying to install the SWI-Prolog port and it seems like it
>>> needs X11 installed to run. Is there a command line version of Prolog
>>> floating around at all? Or do I need to compile and install my own copy?
>>>
>>> Cheers for any help.
>>>
>>> Simon.
>>>
>>> "I disapprove of what you say, but I'll defend to the death your right to
>>> say it." - Voltaire
>>>
>>>
>>
>> I used gprolog a few years back and it's non-gui.
>> Check it out:
>> http://openports.se/lang/gprolog
>>
>> BR
>> dunceor
>>
>
> Thanks for the tip. I'm just a bit concerned about the broken part on that
> site apparently caused by randomised mmap(). Any idea if this is a major
> concern or just something that can be safely ignored?
>
> Simon.
>
> "I disapprove of what you say, but I'll defend to the death your right to
> say it." - Voltaire
>
>

Might wanna check out B-Prolog also:
http://www.cad.mse.kyutech.ac.jp/people/zhou/bprolog.html

Don't know if it runs on OpenBSD but it seems to run on FreeBSD.

br
dunceor



Re: Just curiosity about ntpd.c 1.61

2008-09-09 Thread Karl Sjodahl - dunceor
On Tue, Sep 9, 2008 at 1:38 PM, Jordi Espasa Clofent
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> As subject says, simply curiosity.
> ?Why 1.61 of ntpd.c [1]? I mean ?what is the improvement?
>
> [1]
> http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/ntpd/ntpd.c.diff?r1=1.60&r2=1.61&sortby=date&f=h
>
> --
> Thanks,
> Jordi Espasa Clofent
>
>

Cleaner code, why use two function calls when only one is necessary?



Re: Asus WK500G

2008-09-29 Thread Karl Sjodahl - dunceor
On Mon, Sep 29, 2008 at 6:11 AM, Thor <[EMAIL PROTECTED]> wrote:
> Is my memory playing up or did I really see a message some time back about 
> somebody
> porting OpenBSD to one of the Asus or Linksys router platforms?
>
> Thankyou,
> Thor.
>
>

http://www.openbsd.org/papers/mips32-openbsd.pdf



Re: problem with usb on amd64 SMP

2008-04-20 Thread Karl Sjodahl - dunceor
On Sun, Apr 20, 2008 at 8:37 PM, Benoit Chesneau <[EMAIL PROTECTED]> wrote:
> Hi all,
>
>  When I use GENERIC.SMP on my machine (AMD Athlon(tm) 64 X2 Dual Core
>  Processor 4400+, asus M2N-MX) i have problem with smp, all usb ports
>  except teh one with the mouse are disabled , so is the hub on my apple
>  cinema display. At boot I get this message :
>
>  usb1 at ohci0: USB revision 1.0
>  uhub1 at usb1 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1
>  ehci_sync_hc: tsleep() = 35
>  ehci_sync_hc: tsleep() = 35
>  ehci_sync_hc: tsleep() = 35
>  ehci_sync_hc: tsleep() = 35
>  ehci_sync_hc: tsleep() = 35
>  ehci_sync_hc: tsleep() = 35
>  ehci_sync_hc: tsleep() = 35
>  ehci_sync_hc: tsleep() = 35
>  ehci_sync_hc: tsleep() = 35
>  ehci_sync_hc: tsleep() = 35
>  ehci_sync_hc: tsleep() = 35
>  uhub0: device problem, disabling port 2
>  uhidev0 at uhub1 port 1 configuration 1 interface 0 "Razer Razer
>  Diamondback Optical Mouse" rev 2.00/1.00 addr 2
>  uhidev0: iclass 3/1
>  ums0 at uhidev0: 7 buttons and Z dir.
>
>  It works well when I use GENERIC It might be an hardware problem since
>  I tested it with an ubuntu livecd and everything was ok (with smp).
>  However this problem appear after I changed my graphic card from a
>  nvidia 7100GS to a radeonhd RX2400 Pro.
>
>  Any idee what could be the problem ? I suspect a problem with apic or
>  an irq conflict.. Dmesg is attached.
>
>  - benont
>  OpenBSD 4.3-current (GENERIC.MP) #1631: Tue Apr 15 15:40:39 MDT 2008
> [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>  real mem = 2146824192 (2047MB)
>  avail mem = 2073030656 (1976MB)
>  mainbus0 at root
>  bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf06f0 (60 entries)
>  bios0: vendor American Megatrends Inc. version "0907" date 09/27/2007
>  bios0: ASUSTeK Computer INC. M2N-MX
>  acpi0 at bios0: rev 2
>  acpi0: tables DSDT FACP APIC MCFG OEMB HPET SSDT
>  acpi0: wakeup devices PS2K(S0) PS2M(S0) UAR1(S0) USB0(S0) USB2(S0) P0P1(S0) 
> HDAC(S0) P0P2(S0) BR11(S0) NMAC(S0) NSMB(S0) PWRB(S0)
>  acpitimer0 at acpi0: 3579545 Hz, 24 bits
>  acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
>  cpu0 at mainbus0: apid 0 (boot processor)
>  cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 4400+, 2310.98 MHz
>  cpu0: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
>  cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 
> 64b/line 16-way L2 cache
>  cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
>  cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
>  cpu0: apic clock running at 200MHz
>  cpu1 at mainbus0: apid 1 (application processor)
>  cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 4400+, 2310.65 MHz
>  cpu1: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
>  cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 
> 64b/line 16-way L2 cache
>  cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
>  cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
>  ioapic0 at mainbus0 apid 2 pa 0xfec0, version 11, 24 pins
>  acpihpet0 at acpi0: 2500 Hz
>  acpiprt0 at acpi0: bus 0 (PCI0)
>  acpiprt1 at acpi0: bus 1 (P0P1)
>  acpiprt2 at acpi0: bus 2 (P0P2)
>  acpiprt3 at acpi0: bus 3 (BR11)
>  acpiprt4 at acpi0: bus 4 (BR12)
>  acpicpu0 at acpi0: PSS
>  acpicpu1 at acpi0: PSS
>  acpibtn0 at acpi0: PWRB
>  cpu0: PowerNow! K8 2310 MHz: speeds: 2300 2200 2000 1800 1000 MHz
>  pci0 at mainbus0 bus 0: configuration mode 1
>  "NVIDIA MCP61 Memory" rev 0xa1 at pci0 dev 0 function 0 not configured
>  pcib0 at pci0 dev 1 function 0 "NVIDIA MCP61 ISA" rev 0xa2
>  nviic0 at pci0 dev 1 function 1 "NVIDIA MCP61 SMBus" rev 0xa2
>  iic0 at nviic0
>  spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5
>  spdmem1 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-5300CL5
>  iic1 at nviic0
>  "NVIDIA MCP61 Memory" rev 0xa2 at pci0 dev 1 function 2 not configured
>  ohci0 at pci0 dev 2 function 0 "NVIDIA MCP61 USB" rev 0xa2: apic 2 int 11 
> (irq 11), version 1.0, legacy support
>  ehci0 at pci0 dev 2 function 1 "NVIDIA MPC61 USB" rev 0xa2: apic 2 int 10 
> (irq 10)
>  usb0 at ehci0: USB revision 2.0
>  uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1
>  ppb0 at pci0 dev 4 function 0 "NVIDIA MCP61" rev 0xa1
>  pci1 at ppb0 bus 1
>  emu0 at pci1 dev 7 function 0 "Creative Labs SoundBlaster Live" rev 0x0a: 
> apic 2 int 11 (irq 11)
>  ac97: codec id 0x83847658 (SigmaTel STAC9758/59)
>  ac97: codec features headphone, 20 bit DAC, 20 bit ADC, SigmaTel 3D
>  audio0 at emu0
>  "Creative Labs PCI Gameport Joystick" rev 0x0a at pci1 dev 7 function 1 not 
> configured
>  azalia0 at pci0 dev 5 function 0 "NVIDIA MCP61 HD Audio" rev 0xa2: apic 2 
> int 11 (irq 11)
>  azalia0: codec[s]: Analog Devices/0x19

Re: How to HIDE "OpenBSD" as user-agent?

2008-04-29 Thread Karl Sjodahl - dunceor
On Tue, Apr 29, 2008 at 2:18 PM, macintoshzoom
<[EMAIL PROTECTED]> wrote:
> How to HIDE "OpenBSD" as user-agent?
>
>  For security reasons it is sometimes interesting to hide GLOBALLLY th
>  O.S. you are running on AGAINST GIVING ANY CLUE TO HACKERS ABOUT HOW TO
>  ATTACK YOU.
>
>  Not only browsing but globally.
>
>  Thanks for any tip about this.
>
>

Has people still not learned anything about security through obscurity?
No need to shout or cc all the mailing lists please.



Re: issue on Attansic Technology L1 network card and OpenBSD

2008-04-29 Thread Karl Sjodahl - dunceor
On Tue, Apr 29, 2008 at 3:53 PM, Jonathan Schleifer <[EMAIL PROTECTED]> wrote:
> Attansic was bought by Atheros IIRC, so maybe try asking there.
>  Anyway, there's a GPL'd driver which was integrated into linux some
>  time ago. This could be helpful for reverse engineering. Not supporting
>  that chip isn't really an option since it's one of the most used in
>  new motherboards as of today.
>
>  --
>  Jonathan
>
>

Well Luis Rodriguez of Wad-wifi just annouced that he is starting to
work for Atheros, let see if there is any decent drivers showing up or
if it's just gonna be GPL:ed crap as usual.
Then maybe you will get support for the card.

BR
dunceor



Re: n2k8 network hackathon

2008-05-08 Thread Karl Sjodahl - dunceor
On Fri, May 9, 2008 at 2:24 AM, Theo de Raadt <[EMAIL PROTECTED]> wrote:
> Perhaps some who watch the commit logs have already figured out that
> most of the network developers are currently involved in a week-long
> network hackathon in Japan.
>
> A bit more information about this can be found at
> http://openbsd.org/hackathons.html#n2k8
>
> We are in a rather old hotel with an onsen in a seaside village, but
> even with all the local distractions, the developer's noses are mostly
> stuck in the code.  There are lots of commits happening to the network
> parts of the tree.  Many future projects are being worked on too.
>
> We would really like to thank Mark Uemura for putting us up in this
> location and doing so much preparation and setup for the event.
>
>

Really cool.
I haven't kept an eye on the cvs logs so haven't noticed this. Very
nice that more specific hackathon are being held.
Keep up the good work and we look forward to test all kind of new stuff!!

Thanks!

BR
dunceor



Re: anoncvs.se.openbsd.org: No space left on device

2008-06-17 Thread Karl Sjodahl - dunceor
On Mon, Jun 16, 2008 at 7:44 PM, Martin Toft <[EMAIL PROTECTED]> wrote:
> Hi misc@
>
> I get the following error message when updating the xenocara module from
> anoncvs.se.openbsd.org:
>
>  $ echo $CVSROOT
>  [EMAIL PROTECTED]:/cvs
>  $ pwd
>  /usr/xenocara
>  $ sudo cvs -q -d$CVSROOT up -Pd
>  Password:
>  unable to write, file Makefile.in
>  No space left on device
>
> I had no problem updating src from the same server. I guess the error
> message is sent by the server, as I'm not running out of space on my
> laptop:
>
>  $ df -h | head -n 2
>  FilesystemSizeUsed   Avail Capacity  Mounted on
>  /dev/wd0a 9.8G5.2G4.1G56%/
>
> I sent the following mail to [EMAIL PROTECTED] (the maintainers of
> anoncvs.se.openbsd.org) five days ago, but I haven't heard from them:
>
> --- start of mail quote ---
>
> Date: Wed, 11 Jun 2008 10:38:48 +0200
> From: Martin Toft <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Problem with anoncvs.stacken.kth.se
>
> Hi Stacken staff
>
> I think anoncvs.stacken.kth.se needs more disk space to work properly:
>
>  [EMAIL PROTECTED]:/usr/xenocara$ export [EMAIL PROTECTED]:/cvs
>  [EMAIL PROTECTED]:/usr/xenocara$ sudo cvs -q -d$CVSROOT up -Pd
>  unable to write, file configure
>  No space left on device
>
> There is approx 4 GB available on my computer and a cvs update from
> anoncvs1.ca.openbsd.org works fine.
>
> Thanks for a great service!
>
> Best regards,
> Martin
>
> --- end of mail quote ---
>
> Anybody else experiencing the problem or am I the only one?
>
> Martin
>
>

This is probobly just the old load issue. When there is to much load
on the servers they can't handle all calls and you get a error that
there is no space left.
Use another mirror or try later usually works.

BR
Karl



Re: UPDATE: mozilla-firefox-3.0

2008-07-17 Thread Karl Sjodahl - dunceor
On Thu, Jul 17, 2008 at 10:08 AM, Marco Peereboom <[EMAIL PROTECTED]> wrote:
> I have done just fine without flash for years.  For me it is very
> simple; if your site has flash it means:
> 1. I suddenly don't care
> 2. I will not purchase anything from you
> 3. I'll find alternatives who make my experience better
> 4. I'll save some time by not watching some retarded video
>
> It wouldn't be the first business/site I abandon.  It wouldn't be the
> first site at work that I simply reply to originators saying: "sorry
> can't view the content".
>
> Making excuses for flash isn't helping.  You can't say: "I agree but I
> use it anyway because I want teh nekid ladies".
>
> On Thu, Jul 17, 2008 at 12:40:43AM -0400, Jason Beaudoin wrote:
>> 
>>
>>
>> >>
>> >> This guy's day job is at a bank, and they're really into it-- it "solves" 
>> >> a
>> >> number of problems for them.  So if this is the kind of thing that
>> >> developers are going to pick up en masse, then it's something that will
>> >> need to be addressed, else people who won't or can't run Flash will be
>> >> increasingly marginalized.
>> >
>> > Flash is only good for a few things such as "naked ladies performing
>> > anatomic tricks", "dude getting punched in the ding-dong" & "Trogodor
>> > the burninator".  Nothing makes me happier than visiting a website and
>> > having some ad puking its irrelevant content on me.
>> >
>> > What's perplexing to me is that most people sit idle watching the
>> > internet as we know it disintegrate in front of their eyes.  Allowing
>> > themselves to be bombarded with ads.  Removing the actual reason for why
>> > html exists which is indexing content so that it can be retrieved and
>> > used by many.  Those people are all ok with being shat on as long as
>> > they can watch youtube or $whatever_infantile_site_here.  The 14 year
>> > old demographic is apparently the dominating one on teh intartubez
>> > these days.
>> >
>> > I for one can't wait to be marginalized.
>> >
>>
>> While I agree with you in many respects, I will also acknowledge that
>> there are plenty of legitimate cases where viewing flash content is
>> necessary. This is particularly true in artistic communities (and
>> increasingly so, for the reasons Daniel pointed out).
>>
>> Flash sure is shit, I'll agree.. and philosophically, I believe its
>> use continues its proliferation by adobe.. but regardless, casting it
>> all off isn't a viable solution. For example, if a site has
>> information I absolutely need to access (maybe you're researching a
>> particular artist or company that uses flash on their site, etc..)
>> your options are to either not view that content, attempt opera or
>> gnash or some other broken open alternative, or boot up windows.
>>
>> Not viewing the content doesn't help you.
>> opera and/or gnash are close options, sometimes
>> booting windows is not an option I feel good about even considering,
>> and as soon as I give away this extra laptop I have, there won't be
>> any windows here.
>>
>> so protest if you must, but I hope you can acknowledge a user's
>> legitimate use, as opposed to adobe's horrific domination, or
>> spammer's obsession with inducing seizures.
>>
>>
>> regards,
>> ~Jason
>> --
>> 401.837.8417
>> [EMAIL PROTECTED]
>
>

I agree, a flash site means "you don't want my business" for me. It's annoying.



Re: OpenBSD AMD64 install snapshot (from 17.07.2008) halts while booting.

2008-07-18 Thread Karl Sjodahl - dunceor
On Fri, Jul 18, 2008 at 6:03 PM, Jonny Heggheim <[EMAIL PROTECTED]> wrote:
> Machine:
> Intel Quad Core Q9300 CPU
> 8GB RAM
> ASUS P5Q Pro Mainboard (Chipset: Intel P45 / ICH10R)
>
> After the kernel halts, its impossible to use the keyboard (no numlock
> or ctrl-alt-del).
> I have done the best to get some of the output (photo+typing), the
> pictures are from several boots, so I hope there are no confusing
> hardware changes or typos.
> When i disabled uhci in UKC, the "uhci*: host controller process
> error" and "uhci*: host controller halted" errors disappeared, but it
> still halts at "rd0: fixed, 4480 blocks"
> For booting I have dd'ed floppy.fs to a usb thumb drive (emulated as
> floppy), the boot process works on another computer.
>
>
> Thanks
> Jonny Heggheim
>
>
> Output/dmesg:
>
> Bigmem = 1
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2008 OpenBSD. All rights reserved. http://www.OpenBSD.org
>
> OpenBSD 4.4-beta (RAMDISK) #77: Wed Jul  9 16:57:41 MDI 2008
>[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/RAMDISK
> real mem = 8579784704 (8182MB)
> avail mem = 8332877824 (7946MB)
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf0720 (70 entries)
> bios0: vendor American Megatrends Inc. version "0703" date 06/12/2008
> bios0: ASUSTeK Computer INC. P5Q-PRO
> acpi0 at bios0: rev 0
> acpi0: tables DSDT FACP APIC MCFG OEMB HPEI OSFR SSDT
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 1 (POP2)
> acpiprt2 at acpi0: bus -1 (POP3)
> acpiprt3 at acpi0: bus 4 (POP1)
> acpiprt4 at acpi0: bus -1 (POP5)
> acpiprt5 at acpi0: bus -1 (POP6)
> acpiprt6 at acpi0: bus -1 (POP7)
> acpiprt7 at acpi0: bus -1 (POP8)
> acpiprt8 at acpi0: bus 2 (POP8)
> acpiprt9 at acpi0: bus 3 (POP4)
> cpu0 at mainbus0: (uniprocessor)
>  - snip -
>
> to hard to capture output :(
>
>  - snip -
> ernet, rev 0xb0) at pci3 dev 0 function 0 not configured
> uchi3 at pci0 at pci0 dev 29 function 0 vendor "Intel", unknow product
> 0x3a34 rev 0x00: irq 3
> uchi4 at pci0 at pci0 dev 29 function 1 vendor "Intel", unknow product
> 0x3a35 rev 0x00: irq 5
> uchi5 at pci0 at pci0 dev 29 function 2 vendor "Intel", unknow product
> 0x3a36 rev 0x00: irq 15
> vendor "Intel", unknown product 0x3a3a (class serial bus subclass USB,
> rev 0x00) at pci0 dev 29 function 7 not configured
> ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x90
> pci4 at ppb3 bus 4
> "Ralink RT2560" rev 0x01 at pci4 dev 0 function 0 not configured
> "Creative Labs SoundBlaster Audigy Digital" rev 0x03 at pci4 dev 1
> function 1 not configured
> "Creative Labs Firewire" rev 0x00 at pci4 dev 1 function 2 not configured
> "AT&T/Lucent FW322 1394" rev 0x70 at pci4 dev 3 function 0 not configured
> vendor "Intel", unknown product 0x3a16 (class bridge subclass ISA, rev
> 0x00) at pci0 dev 31 function 0 not configured
> pciide0 at pci0 dev 32 function 2 vendor "Intel", unknown product
> 0x3a20 rev 0x00: DMA (unsupported), chanel 0 configured to native-PCI,
> channel 1 configured to native-PCI
> pciide: using irq5 for native-PCI interrupt
> wd0 at pciide0 channel 0 drive 0: 
> wd0: 16-sector PIO, LBA48, 286168MB, 586072368 sectors
> wd1 at pciide0 channel 1 drive 1: 
> wd1: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
> vendor "Intel", unknown product 0x3a30 (class serial bus subclass
> SMBus, rev 0x00) at pci0 dev 31 function 3 not configured
> pciide1 at pci0 dev 32 function 5 vendor "Intel", unknown product
> 0x3a26 rev 0x00: DMA (unsupported), channel 0 wired to native-PCI,
> channel 1 wired to native-PCI
> pciide1: using irq 5 for native-PCI interrupt
> wd2 at pciide1 channel 0 drive 0: 
> wd2: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
> pciide1: channel 1 ignored (not responding; disabled or no drives?)
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb1 at uhci1: USB revision 1.0
> uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb2 at uhci2: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci3: USB revision 1.0
> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb4 at uhci4: USB revision 1.0
> uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb5 at uhci5: USB revision 1.0
> uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at mainbus0
> pckbc at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> uhci5: host controller process error
> uhci5: host controller halted
> uhci2: host controller process error
> uhci2: host controller halted
> uhci1: host controller process error
> uhci1: host controller halted
> uhci0: host controller process error
> uhci0: host controller halted
> uhci4: host controller process error
> uhci4: host controller halted
> uhci3: host controller process error
> uhci3: host controller halted
>