Re: OpenBSD under Parallels Desktop

2007-01-26 Thread Peter Valchev
 Has anybody been able to run OpenBSD 4.0 or newer under Parallels
 Desktop?  Booting the 3.9 media works just fine and I am able to
 install the OS.  Booting 4.0 (or newer snapshots) media results in a
 lock-up of the VM at the (I)nstall/(U)pgrade prompt.  I'd post a
 dmesg(1) but I'm unable to select text in the VM.  I'm running the
 latest build (3120) of Parallels Desktop under Mac OS X 10.4.8.
 
 The next thing to try is an manual upgrade by CVS source to -CURRENT,
 I suppose...

Indeed, this was caused by the pckbd diff referred to in the other
email, which was built in the snapshots you tried.  As of today's
snapshot, it includes a newer iteration of this diff, which should
fix the problem.



Re: powerpc package updates

2006-11-24 Thread Peter Valchev
I replied to Ben privately already, but the lack of powerpc package
snapshots is due to a short term problem with the machine that should
get resolved soon... in case others wonder.



Re: Fast Xorg Performance

2006-10-31 Thread Peter Valchev
  is the new prebinding code in 4.0?
 
 The code is there.  It is not being used by anything yet.  There
 are things which need to be worked out.

and this stuff is documented in the ldconfig(8) manpage, see -P,
if you want to play.



Re: NFS mount in /etc/fstab

2006-10-03 Thread Peter Valchev
 Can I use the bg, and soft options in a /etc/fstab entry
 that references a NFS mounted filesystem?
 
 The idea is to allow the machine to boot, even if the machine
 NFS server machine is unavailable.

Read mount_nfs(8), there are options that do what you want.  Of course
understand that while what you want to do is cool in some cases (doesn't
hang the machine), depending on the usage it may do more evil (a file
access failing as opposed to succeeding a minute later).



Re: Realtek RTL8201CL NIC support

2006-03-27 Thread Peter Valchev
 I've installed and configured OpenBSD 3.9 on an Asus P5RD1-VM
 motherboard (ATI Xpress 200), but was kind of sad when I found out
 that the onboard NIC Realtek RTL8201CL wasn't supported by OpenBSD. It
 has only two PCIs slots, but I need three working NICs on it...
 So I'd just like to know some more info regarding its support. Will a
 driver to this onboard NIC be available in the near future? Or should
 I return this mobo and get another with more PCI's slots?
 
 Actually, I will return the mobo and get another one.  But I'd like to
 know anyway how's the support for this nic, or some place where I can
 get more info about it.

Can you post a dmesg?



Re: Realtek RTL8201CL NIC support

2006-03-27 Thread Peter Valchev
 Acer Labs M5263 LAN rev 0x50 at pci0 dev 27 function 0 not configured

this definitely does not look like a realtek; some references
seem to suggest a tulip.  you could try to see if this does
anything (try both de(4) and dc(4) in your kernel), but no high
hopes.  btw is this some ancient motherboard or is it new??

Index: if_de.c
===
RCS file: /cvs/src/sys/dev/pci/if_de.c,v
retrieving revision 1.88
diff -u -p -r1.88 if_de.c
--- if_de.c 25 Mar 2006 22:41:44 -  1.88
+++ if_de.c 28 Mar 2006 05:57:34 -
@@ -4590,6 +4590,9 @@ tulip_pci_probe(
 {
 struct pci_attach_args *pa = (struct pci_attach_args *) aux;
 
+if (PCI_VENDORID(pa-pa_id) == PCI_VENDOR_ALI 
+   PCI_PRODUCT(pa-pa_id) == PCI_PRODUCT_ALI_M5263)
+   return 2;
 if (PCI_VENDORID(pa-pa_id) != DEC_VENDORID)
return 0;
 if (PCI_CHIPID(pa-pa_id) == CHIPID_21040
Index: if_dc_pci.c
===
RCS file: /cvs/src/sys/dev/pci/if_dc_pci.c,v
retrieving revision 1.52
diff -u -p -r1.52 if_dc_pci.c
--- if_dc_pci.c 6 Nov 2005 19:25:21 -   1.52
+++ if_dc_pci.c 28 Mar 2006 05:58:03 -
@@ -125,6 +125,10 @@ dc_pci_match(parent, match, aux)
struct pci_attach_args *pa = (struct pci_attach_args *)aux;
struct dc_type *t;
 
+   if (PCI_VENDOR(pa-pa_id) == PCI_VENDOR_ALI 
+   PCI_PRODUCT(pa-pa_id) == PCI_PRODUCT_ALI_M5263)
+   return (1);
+
/*
 * Support for the 21140 chip is experimental.  If it works for you,
 * that's great.  By default, this chip will use de.



Re: what is next? 3.10 or 4.0???

2006-03-03 Thread Peter Valchev
 No no not wrong, indeed I didn't talk about being positive. But being 
 prime is being positive (should have said it I agree) and have EXACTLY 
 TWO different divisors.  And if 1 were prime you wouldn't have only one 
 unique decomposition in prime numbers ;) (for exemple, is 45 = 3x3x5 or 
 1x3x3x5 or 1x1x1x3x3x5 or... ?) It would crush many things down about 
 arithmetics.
 
 Luckily I have learnt some things during my two year special scientific 
 studies (heard about Classes priparatoires in France ?) and this is 
 one of those.

Damn you are so elite.  Now what does this have to do with OpenBSD?



Re: Feb 13 X snapshot

2006-02-15 Thread Peter Valchev
The Feb 15 X snapshot should have this fixed.



Re: make build | securelevel=2

2006-01-25 Thread Peter Valchev
 3.9 beta was not fun for me, so I am reinstalling to 3.8 -Stable.
 For whatever reason I forgot that securelevel was set to 2, but
 'make build' is running alright at the moment.

Did you have a problem with 3.9-beta that you want to report?
Otherwise who knows, you'll probably have the same problem with
3.9-stable a few months from now... and then?



Re: ettercap

2005-12-12 Thread Peter Valchev
 Might be a better way in the archives, but...
 
 edit ettercap/patches/patch-src_ec_plugins_c
 
 change the inserted line to always be true, e.g.:
 -#if defined(OPENBSD) || defined(MACOSX)
 +#if 1
 #define SYM_PREFIX _ // for the symbols loaded with dlsym
  #else
 #define SYM_PREFIX 

That's wrong.  And you quoted the wrong patch, the actual patch does
this and it's correct as-is:
-#if defined(OPENBSD) || defined(MACOSX)
+#if defined(OPENBSD)  !defined(__ELF__) || defined(MACOSX)

What you did is force _ to be prepended to every symbol for
dynamic loading which will fail on your machine (the plugin
errors you see are because of this), it's only meant for a.out.



Re: ettercap

2005-12-12 Thread Peter Valchev
 That's wrong.  And you quoted the wrong patch, the actual patch does
 this and it's correct as-is:
 -#if defined(OPENBSD) || defined(MACOSX)
 +#if defined(OPENBSD)  !defined(__ELF__) || defined(MACOSX)
 
 except it doesn't work, exactly as the OP described.  I tested it before 
 replying and it was broken as it was in 3.7 when I last tried it.  With 
 the re-patch it worked (sorta).

That was a totally different problem, which has been
fixed correctly in -current, check CVS.

  CVSROOT:/cvs
  Module name:ports
  Changes by: [EMAIL PROTECTED]2005/11/26 14:17:54

  Modified files:
  net/ettercap   : Makefile 
  net/ettercap/patches: patch-configure 

  Log message:
  switch from undocumented, obsolete -rdynamic cc arg to
  -Wl,--export-dynamic. This makes main prog syms visible to plugins and
  now they work. prompted by and okay sturm@



Re: rl_diag strangeness??

2005-12-07 Thread Peter Valchev
   if ((status  (RL_ISR_TIMEOUT_EXPIRED|RL_ISR_RX_OK)) ==
^^
   (RL_ISR_TIMEOUT_EXPIRED|RL_ISR_RX_OK))
   ^
 
 It appears that the loop will always run RL_TIMEOUT cycles
 because the test is for both RL_ISR_TIMEOUT_EXPIRED and RL_ISR_RX_OK.

That's the intended behaviour, it waits for BOTH the RX to complete
and for the 'timeout expired' bit to be set in the ISR, note that
RL_ISR_TIMEOUT_EXPIRED and RL_TIMEOUT are different things.
Have you actually tested if removing it 'fixes' it on your machine?
Of course removing re_diag() altogether will 'fix' it too.
I have heard of re_diag() failing in this way for others but
in very rare cases and the cause hasn't been determined...

And can you include a dmesg please?



Venice v2k5 ports hackathon

2005-11-11 Thread Peter Valchev
This year, OpenCON hosted a mini hackathon with focus on ports.  It
consisted of 4 days right before the conference, and a dozen
OpenBSD developers were present, most of them arriving on October 31st
to spend the next 4-5 days working together on improving the system.

Some of us had never met face to face before, and the excitement
levels preceding the event were high.  Over the next few days, we
sat in a room together, occasionally walking around laptops in hand,
consulting each other - the usual hackathon atmosphere.  The spike
of commits during the period and material accomplishments were noted
by many, but what's especially important is the conversations and
ideas born, as well as work not yet finished which will appear in the
next weeks and months as a result of this event.

Something must be said about the location - the small San Servolo island
on which the buildings have been renovated recently to have the feeling
of top-notch conference setting.  Being less than 10 minutes by boat from
main tourist Venice gave us the opportunity to experience this unique
city that many dream to visit - we were quite close to the tourist
centre to appreciate it, but far enough on an isolated island to have
a calm atmosphere to hack.  Enough cannot be said about how cool
it felt to be there... many thanks to all the organizers.

The conference itself was a pleasure as well, with many OpenBSD users
and developes present, including a number of interesting talks.  On
sunday morning a small report was presented by some developers
participating in the hackathon, to give people an idea of what it is
about:
http://openbsd.org/papers/ven05-pvalchev

There was a talk by Marc Espie on the new package tools in OpenBSD and
how they tie together with our ports infrastructure today:
http://openbsd.org/papers/ven05-espie

And of course the other talks were very interesting to the crowd:
http://openbsd.org/papers/ven05-henning
http://openbsd.org/papers/ven05-niallo-uwe/slides.pdf
http://openbsd.org/papers/ven05-deraadt

The week was a total success, see you there next year!



Re: C++ exceptions with OpenBSD 3.6 on amd64

2005-10-21 Thread Peter Valchev
 I have a simple c++ program that throws an exception and tries to catch it.
 But when I run it, it crashes with segmentation faul. Looking and the stack
 trace, looks like the exception is thrown but no one catches it. Is this a
 bug? There's a workaround?

Not sure when, but this has been fixed (as well as many other
things), use 3.8.



Re: Limiting Shell Access Damage (was Guruness)

2005-10-19 Thread Peter Valchev
  To clarify, if you limit someone's ram use to a certain point, or
  CPU use to a certain point, it will slow down compiling due to
  having less resources :) As I said though - I may be wrong on
  this one.
 
 Yes, that would be the idea of limiting resources. If I am given the ability
 to use 99% of the CPU compiling software, how is that different than me
 running a fork bomb and doing the same?

Why are people jumping over each other, spreading horseshit
like crazy?  This is so wrong it's not even funny anymore...



Re: nfs mounting

2005-10-08 Thread Peter Valchev
 get /usr/local, /usr/ports, and /usr/src remotely mounted from my nearby 
 FreeBSD system.  I can get the mount done, but I can't affect any files 
 ... for example, if I tryi to touch (as root on the Zaurus) 
 /usr/local/garbage, I get Permission denied.  i don't have any cklear 
 idea if this is a problem on the Zaurus (OpenBSD) or The FreeBSD server.

Sounds like PEBKAC, you provided no information whatsoever, for examxple
/etc/exports on the server would be good - my bet is you don't have
-maproot=root specified.  Maybe learn about setting up NFS a little, eg:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html
or read the manpages...

Obviously nothing to do w/ OpenBSD... strange you posted here, really.



Re: 3.8 beta requests

2005-08-31 Thread Peter Valchev
 I've been testing 3.8 on a couple of i386 systems (soon sparc also),
 including installing more of the 3.8 beta packages than I would use
 normally.  So far I am impressed by UP/MP performance, and have
 only found a couple of X applications (xtacy, xlock) failing on signal 11.

the ports@ mailing list is the best as well as the maintainers at this
point.  please don't wait, but let us know of the details so this can be
fixed!!



Re: file and mp3s?

2005-06-14 Thread Peter Valchev
 I noticed that file can identify OGG-Files but if I try to use file
 for e.g. an MP3 it reports just data even it reports a lot informations
 for OGGs.
 
 Is there any reason (exclude things like nobody provided a patch...) why
 file can't identify MP3s?
 I thought mp3-headers are unique (enought) so I wonder why file can't
 detect mp3s. :-/

it detects and reports it just fine for proper mp3s (with ID3 headers),
the mp3s you tried it with lack that.

eg:
$ file ~/foo.mp3
/home/pvalchev/foo.mp3: MP3, 128 kBits, 44.1 kHz, Stereo