relayd (formerly hoststated) for monitoring services

2009-01-16 Thread Lars Noodén
The main focus of relayd now seems to be for load balancing.

Can it / should it be used at all for monitoring services?
Or should I turn to Nagios or the late great Spong instead?

Regards,
-Lars



Re: relayd (formerly hoststated) for monitoring services

2009-01-16 Thread Gregory Edigarov

Lars NoodC)n wrote:

The main focus of relayd now seems to be for load balancing.

Can it / should it be used at all for monitoring services?
Or should I turn to Nagios or the late great Spong instead?
  
Well, what's your needs? If nagios seems to be an overhead - I would 
recommend
a nice daemon called 'monit'.  I like it very much because of the ease 
of setup and

support it offers.

--
With best regards,
Gregory Edigarov



Re: relayd (formerly hoststated) for monitoring services

2009-01-16 Thread Lars Noodén
Gregory Edigarov wrote:
 Well, what's your needs?

Initially very simple needs.  I need to be able to prove/disprove
rudimentary availability.  Basically like a layer 7 ping, checking that
the port is responding with the correct protocol:

  ssh is answering yes/no.
  imap is answering yes/no.
  imaps is answering yes/no.
  https, etc.

I can see that a year or so it will be more complex:

 mysql (specific db) responding to queries y/n
 postgresql (specific db) responding to queries y/n
 z39.50 (specific db) responding to queries y/n
 ldap (specific directory) responding to queries y/n

 If nagios seems to be an overhead - I would recommend a nice daemon
 called 'monit'.  I like it very much because of the ease of setup and
 support it offers.

Thanks.
http://mmonit.com/monit/documentation/monit.html

Regards,
-Lars



Re: Mount directories of unmounted disks/partitions

2009-01-16 Thread jared r r spiegel
On Thu, Jan 15, 2009 at 10:46:35PM +0100, Jon Sj?stedt wrote:

 I want a
 mounting point in the root file system to be mounted with a directory
 found inside a device that is not yet mounted. I also want this
 transparent to samba and NFS (I'll use both).

  so:

- you have a device, /dev/wd0d.
- on /dev/wd0d there does exist a filesystem.
- in that filesystem is a directory called 'dataa'.
- 'dataa' is a directory
- 'dataa' contains files of image/photo/movie/music etc
- you want to mount that 'dataa' dir at /stuff/data1
- you want to be able to do that without /dev/wd0d mounted

  ?

-- 

  jared



Virtualization, OpenBSD as host

2009-01-16 Thread Allie Daneman
Ok, here's my dilemna. I love OpenBSD but due to the fact that I can't 
run a virtual instance of XP with Java on Qemu I'm screwed. I have to 
use a Linux box (ducking) with virtualbox to get my work done. Has 
anyone successfully ported virtualbox to be run on OpenBSD as the host 
or been able to run java with Qemu ? Thanks in advance...I REALLY want 
to go back to OpenBSD as my daily driver ;)




Re: Virtualization, OpenBSD as host

2009-01-16 Thread Eugene Ryazanov
Why you need java on guest system? Native JDK is available for
OpenBSD/i386 and OpenBSD/amd64.



how to make iso packages OpenBSD for long file name?

2009-01-16 Thread my mail
i have download packages and one make iso for this, but when i try to make 
using mkisofs, i got like this

Using GHOSTSCRIPT_8_62P2_A4_NO000.TGZ;1 for  
/OpenBSD/Packages/i386/ghostscript-8.62p2-a4-no_x11-cups.tgz 
(ghostscript-8.62p2-a4-no_x11.tgz)

how to fix this so the file name not change, i have try to  use -R options but 
nothing happen

my script like this

mkisofs -R -v -r -l -L -T -J

it's something wrong?

thx



Re: Mount directories of unmounted disks/partitions

2009-01-16 Thread Jon Sjöstedt
Hello all patient!
Another clarification attempt :)
I have a drive. Lets call it wd0. It has one partition wd0d that fills up
the whole drive. The root of wd0d has three directories (and no other
files) music, pictures and others. wd0d is mounted at /bananas

The music directory of wd0d grows and suddenly needs more space than
available on wd0. I add a new drive wd1 and create wd1d with all available
space. I copy everything in wd0d/music to wd1d.

I still want the same structure as before, but i dont want to mount wd1d
in a directory that is inside wd0d.

If mount would accept something like

mount /bananas/pictures /dev/wd0d/pictures
mount /bananas/others /dev/wd0d/others
mount /bananas/music /dev/wd1d

my problem would be solved.


 On 16/01/2009, at 10:46 AM, Jon Sjvstedt wrote:

 Hello,

 On Thu, Jan 15, 2009 at 1:30 PM, Jon Sjvstedt
 d00...@dtek.chalmers.se
 wrote:

 Hello all!
 I have an issue with mount. The problem  is that i would like to
 create
 a
 directory with subdirs. On the subdirs I would mount directories of
 not
 yet mounted disks. Example

 mount /stuff/data1 /wd0d/dataa
 mount /stuff/data2 /wd0d/datab
 mount /stuff/data3 /wd1d
 mount /stuff/data4 /wd2d/datad
 mount /stuff/data5 /wd2d/datae


 Syntax of your mount commands is a bit strange... according to
 mount(8) the first argument should be a 'special' device, like
 /dev/wd0a, not a regular directory.
 Clarification attempt: I know that mount wants a device like /dev/wd0d,
 but my example was an atempt to explain what I want to archive. I want
 a
 mounting point in the root file system to be mounted with a directory
 found inside a device that is not yet mounted. I also want this
 transparent to samba and NFS (I'll use both).

 It would be perfectly ok to use more programs than mount to solve this


 I want to do this because datax are all growing fast (it is my music
 and
 photos). Eventually dataa and datab will need their own disks.

 Can this be done in a neat way? I only want to mount disks on the
 root
 partition


 If each datax directory has it's own partition it's perfectly
 possible.
 The thing is that I want these mounted directories to share a disk (or
 partition) until they both cant fit. Then, the biggest one have to move
 away. If my ideas get to work, I only have to change the device of the
 mounting, not the mounting point.

 However, it seems to me that (from your example above) 'dataa' and
 'datab' are on the same partition, and, from mount(8): For disk
 partitions, the special device must correspond to a partition
 registered in the disklabel(5)., so no deal.


 I'm still not understanding what you want or what the problem is. This
 appears to me to be a perfectly ordinary mounting situation.

 If you have a bunch of dirs, data[1-2], as subdirectories of /stuff,
 then you can put whatever you want in these. Then, at some point you
 can mount a different volume on any of these and the path will remain
 as /stuff/datax. If you wish to then change the mounted volume, just
 change your fstab or mount command as appropriate.
 This will work with samba and nfs, as long as your smb.conf and exports
 are set up correctly, and is a perfectly ordinary situation, as I said.

 I'm confused by:
 I want a mounting point in the root file system to be mounted with a
 directory
 found inside a device that is not yet mounted.

 Do you want to hierarchically mount filesystems? This seems very odd.

 Have I somehow misunderstood?


 paulm









The d00...@dtek.chalmers.se email address will
eventually be abandoned during 2009. Please use
addresses below instead
Jon Sjvstedt   _O_
Godvddersgatan 52 /(|)\
418 38 GVTEBORG  |  H  |
-OOO-[-+X+-]-OOO-
Hem 075 - 242 80 04( )
Mobil 0735 - 029 557  _| |_

jonsjost...@gmail.com jonsjost...@hotmail.com



Re: Mount directories of unmounted disks/partitions

2009-01-16 Thread Ariane van der Steldt
On Fri, Jan 16, 2009 at 11:10:23AM +0100, Jon Sj?stedt wrote:
 Hello all patient!
 Another clarification attempt :)
 I have a drive. Lets call it wd0. It has one partition wd0d that fills up
 the whole drive. The root of wd0d has three directories (and no other
 files) music, pictures and others. wd0d is mounted at /bananas
 
 The music directory of wd0d grows and suddenly needs more space than
 available on wd0. I add a new drive wd1 and create wd1d with all available
 space. I copy everything in wd0d/music to wd1d.
 
 I still want the same structure as before, but i dont want to mount wd1d
 in a directory that is inside wd0d.

Why not? I never had any problems with it.

 If mount would accept something like
 
 mount /bananas/pictures /dev/wd0d/pictures
 mount /bananas/others /dev/wd0d/others
 mount /bananas/music /dev/wd1d
 
 my problem would be solved.

mount /dev/wd0d /bananas
mount /dev/wd1d /bananas/music

that would be my solution. What's so bad about not mounting under root
that you don't want it?


If you want everything to be mounted under the root:

mount /dev/wd0d /bananas
mount /dev/wd0d /bananas_music
ln -s /bananas_music /banasas/music

The symlink is unacceptable to you, it seems, because of nfs and smb
exports.


The other option I mentioned, using ccd and growfs, seems to be very
well suited for you. But I'm repeating myself.

Ariane



Re: Mount directories of unmounted disks/partitions

2009-01-16 Thread uw
Why do You not use links?

1. mkdir /mnt/wd0 /mnt/wd1
2. mount /dev/wd0d /mnt/wd0
3. mount /dev/wd1d /mnt/wd1
4. cd /bananas
5. ln -s /mnt/wd0/* .
6. ln -s /mnt/wd1/* .

Regards Uwe

 Hello all patient!
 Another clarification attempt :)
 I have a drive. Lets call it wd0. It has one partition wd0d that
 fills up the whole drive. The root of wd0d has three directories (and
 no other files) music, pictures and others. wd0d is mounted
 at /bananas
 
 The music directory of wd0d grows and suddenly needs more space than
 available on wd0. I add a new drive wd1 and create wd1d with all
 available space. I copy everything in wd0d/music to wd1d.
 
 I still want the same structure as before, but i dont want to mount
 wd1d in a directory that is inside wd0d.
 
 If mount would accept something like
 
 mount /bananas/ /pictures
 mount /bananas/others /dev/wd0d/others
 mount /bananas/music /dev/wd1d
 
 my problem would be solved.
 
 
  On 16/01/2009, at 10:46 AM, Jon Sjvstedt wrote:
 
  Hello,
 
  On Thu, Jan 15, 2009 at 1:30 PM, Jon Sjvstedt
  d00...@dtek.chalmers.se
  wrote:
 
  Hello all!
  I have an issue with mount. The problem  is that i would like to
  create
  a
  directory with subdirs. On the subdirs I would mount directories
  of not
  yet mounted disks. Example
 
  mount /stuff/data1 /wd0d/dataa
  mount /stuff/data2 /wd0d/datab
  mount /stuff/data3 /wd1d
  mount /stuff/data4 /wd2d/datad
  mount /stuff/data5 /wd2d/datae
 
 
  Syntax of your mount commands is a bit strange... according to
  mount(8) the first argument should be a 'special' device, like
  /dev/wd0a, not a regular directory.
  Clarification attempt: I know that mount wants a device
  like /dev/wd0d, but my example was an atempt to explain what I
  want to archive. I want a
  mounting point in the root file system to be mounted with a
  directory found inside a device that is not yet mounted. I also
  want this transparent to samba and NFS (I'll use both).
 
  It would be perfectly ok to use more programs than mount to solve
  this
 
 
  I want to do this because datax are all growing fast (it is my
  music and
  photos). Eventually dataa and datab will need their own disks.
 
  Can this be done in a neat way? I only want to mount disks on the
  root
  partition
 
 
  If each datax directory has it's own partition it's perfectly
  possible.
  The thing is that I want these mounted directories to share a disk
  (or partition) until they both cant fit. Then, the biggest one
  have to move away. If my ideas get to work, I only have to change
  the device of the mounting, not the mounting point.
 
  However, it seems to me that (from your example above) 'dataa' and
  'datab' are on the same partition, and, from mount(8): For disk
  partitions, the special device must correspond to a partition
  registered in the disklabel(5)., so no deal.
 
 
  I'm still not understanding what you want or what the problem is.
  This appears to me to be a perfectly ordinary mounting situation.
 
  If you have a bunch of dirs, data[1-2], as subdirectories of /stuff,
  then you can put whatever you want in these. Then, at some point you
  can mount a different volume on any of these and the path will
  remain as /stuff/datax. If you wish to then change the mounted
  volume, just change your fstab or mount command as appropriate.
  This will work with samba and nfs, as long as your smb.conf and
  exports are set up correctly, and is a perfectly ordinary
  situation, as I said.
 
  I'm confused by:
  I want a mounting point in the root file system to be mounted with
  a directory
  found inside a device that is not yet mounted.
 
  Do you want to hierarchically mount filesystems? This seems very
  odd.
 
  Have I somehow misunderstood?
 
 
  paulm
 
 
 
 
 
 
 
 
 
 The d00...@dtek.chalmers.se email address will
 eventually be abandoned during 2009. Please use
 addresses below instead
 Jon Sjvstedt   _O_
 Godvddersgatan 52 /(|)\
 418 38 GVTEBORG  |  H  |
 -OOO-[-+X+-]-OOO-
 Hem 075 - 242 80 04( )
 Mobil 0735 - 029 557  _| |_
 
 jonsjost...@gmail.com jonsjost...@hotmail.com



Re: relayd (formerly hoststated) for monitoring services

2009-01-16 Thread Stuart Henderson
On 2009-01-16, Lars Noodin larsnoo...@openoffice.org wrote:
 Gregory Edigarov wrote:
 Well, what's your needs?

 Initially very simple needs.  I need to be able to prove/disprove
 rudimentary availability.  Basically like a layer 7 ping, checking that
 the port is responding with the correct protocol:

   ssh is answering yes/no.
   imap is answering yes/no.
   imaps is answering yes/no.
   https, etc.

 I can see that a year or so it will be more complex:

  mysql (specific db) responding to queries y/n
  postgresql (specific db) responding to queries y/n
  z39.50 (specific db) responding to queries y/n
  ldap (specific directory) responding to queries y/n

I came up with the idea to use relayd for that too, for simple cases it
seems like it could be a good fit. With a few changes or a wrapper you
could even use nagios plugins to do the actual checks (unfortunately
the return codes are the wrong way round to use them directly as things
stand now; nagios plugins return 0 for success, check script expects
0 for failure).

 If nagios seems to be an overhead - I would recommend a nice daemon
 called 'monit'.  I like it very much because of the ease of setup and
 support it offers.

 Thanks.
 http://mmonit.com/monit/documentation/monit.html

/usr/ports/sysutils/monit. It's quite keen on having pid files though.



How to redirect IP from external IP-address to another external IP-adress on the same interface?

2009-01-16 Thread rancor
Hi.

I need help with a problem and I hope there is someone who can help me
out there =)

I need to make some kind of mirror/reflector that redirects IP from
an external IP-address to another external IP-address on the same
interface.

I have used both ipfreely for TCP/IP and netcat for UDP/IP when I just
redirects a single socket but now I need to redirect all IP traffic,
no matter if it's UDP or TCP and on every socket between two
IP-addresses.

I have tried this but it's not working
binat on fxp0 from 111.111.111.111 to any - 222.222.222.222

The tcpdump gives me:
Jan 16 12:52:36.554054 0:5:5d:18:98:42 0:c:f1:e3:de:72 0800 66:
111.111.111.111.2420  333.333.333.333.80: S 3313211319:3313211319(0)
win 65535 mss 1380,nop,wscale 1,nop,nop,sackOK (DF) [tos 0x88]
Jan 16 12:52:36.554094 0:c:f1:e3:de:72 0:5:5d:18:98:42 0800 54:
333.333.333.333.80  111.111.111.111:2420: R 0:0(0) ack 3313211320 win
0 (DF)

I have enabled ip forwarding if that has something with it to do, also
a wide open firewall

Best Regards rancor



Re: How to redirect IP from external IP-address to another external IP-adress on the same interface?

2009-01-16 Thread Stuart Henderson
see the nat+rdr combination in the faq.

On 2009-01-16, rancor theran...@gmail.com wrote:
 Hi.

 I need help with a problem and I hope there is someone who can help me
 out there =)

 I need to make some kind of mirror/reflector that redirects IP from
 an external IP-address to another external IP-address on the same
 interface.

 I have used both ipfreely for TCP/IP and netcat for UDP/IP when I just
 redirects a single socket but now I need to redirect all IP traffic,
 no matter if it's UDP or TCP and on every socket between two
 IP-addresses.

 I have tried this but it's not working
 binat on fxp0 from 111.111.111.111 to any - 222.222.222.222

 The tcpdump gives me:
 Jan 16 12:52:36.554054 0:5:5d:18:98:42 0:c:f1:e3:de:72 0800 66:
 111.111.111.111.2420  333.333.333.333.80: S 3313211319:3313211319(0)
 win 65535 mss 1380,nop,wscale 1,nop,nop,sackOK (DF) [tos 0x88]
 Jan 16 12:52:36.554094 0:c:f1:e3:de:72 0:5:5d:18:98:42 0800 54:
 333.333.333.333.80  111.111.111.111:2420: R 0:0(0) ack 3313211320 win
 0 (DF)

 I have enabled ip forwarding if that has something with it to do, also
 a wide open firewall

 Best Regards rancor



Re: Port ZFS to OpenBSD

2009-01-16 Thread Jason Dixon
On Thu, Jan 15, 2009 at 10:06:06AM +, Dieter wrote:
  What are the chances of getting a port of ZFS to OpenBSD? I can't  
  quite bring myself to run solaris since it lacks so much of what I  
  love about OpenBSD and Linux is back to square one because of the  
  reasons I moved to OpenBSD.
 
 Have you ruled out FreeBSD?
 
 Why are so many people so hot for ZFS?  From what little I've read
 about it, it sounds very complex, which means bugs and a nasty learning
 curve.  Not something I'm interested in trusting my data to.

If you begin to read more than a little about ZFS, you'll understand why
it's valued so highly. 

-- 
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net/



Re: Mount directories of unmounted disks/partitions

2009-01-16 Thread Peter Hessler
How do you think file systems are mounted on top of / ?  

On 2009 Jan 16 (Fri) at 11:10:23 +0100 (+0100), Jon Sjvstedt wrote:
:I still want the same structure as before, but i dont want to mount wd1d
:in a directory that is inside wd0d.

-- 
Never call a man a fool.  Borrow from him.



Re: relayd (formerly hoststated) for monitoring services

2009-01-16 Thread fRANz
On Fri, Jan 16, 2009 at 9:19 AM, Lars NoodC)n larsnoo...@openoffice.org
wrote:

 The main focus of relayd now seems to be for load balancing.

 Can it / should it be used at all for monitoring services?
 Or should I turn to Nagios or the late great Spong instead?

Lars,

what about mon?
http://mon.wiki.kernel.org/

HTH,
-f



gumstix port: new arch for omap?

2009-01-16 Thread patrick.oesch...@bluewin.ch
thx for your reply dale
let me know when you have more 'spare' time for working on the OMAP port
what i am curious about:
you created a gumstix arch directory for your code - but there is already a 
armish arch directory
why?
i guessed that all support for arm-like processors will be under the armish 
arch directory (?)
why i am asking:
i plan to spend some time for porting towards OMAP - we'll see how far i can 
get...
where would you suggest to place the code for the OMAP processors (3503, 35x, 
...)?
BR
/pat



Re: Mount directories of unmounted disks/partitions

2009-01-16 Thread Jon Sjöstedt
If you wish to contribute there are clarifications for my somewhat unclear
initial post. If you have not seen them, read the digest.
 How do you think file systems are mounted on top of / ?

 On 2009 Jan 16 (Fri) at 11:10:23 +0100 (+0100), Jon Sjvstedt wrote:
 :I still want the same structure as before, but i dont want to mount wd1d
 :in a directory that is inside wd0d.

 --
 Never call a man a fool.  Borrow from him.




The d00...@dtek.chalmers.se email address will
eventually be abandoned during 2009. Please use
addresses below instead
Jon Sjvstedt   _O_
Godvddersgatan 52 /(|)\
418 38 GVTEBORG  |  H  |
-OOO-[-+X+-]-OOO-
Hem 075 - 242 80 04( )
Mobil 0735 - 029 557  _| |_

jonsjost...@gmail.com jonsjost...@hotmail.com



Re: gumstix port: new arch for omap?

2009-01-16 Thread Stuart Henderson
On 2009-01-16, patrick.oesch...@bluewin.ch patrick.oesch...@bluewin.ch wrote:
 thx for your reply dale
 let me know when you have more 'spare' time for working on the OMAP port
 what i am curious about:
 you created a gumstix arch directory for your code - but there is already a 
 armish arch directory
 why?
 i guessed that all support for arm-like processors will be under the armish 
 arch directory (?)

general ARM things are in /sys/arch/arm, armish/gumstix/zaurus use parts from 
there.



Re: Mount directories of unmounted disks/partitions

2009-01-16 Thread Ted Unangst
On Fri, Jan 16, 2009 at 5:10 AM, Jon Sjvstedt d00...@dtek.chalmers.se
wrote:
 I still want the same structure as before, but i dont want to mount wd1d
 in a directory that is inside wd0d.

 If mount would accept something like

 mount /bananas/pictures /dev/wd0d/pictures
 mount /bananas/others /dev/wd0d/others
 mount /bananas/music /dev/wd1d

 my problem would be solved.

mount can't do that.  the only solution is to decide that your problem
is not really a problem and just mount things normally.



Re: OpenLDAP w/o bdb okay?

2009-01-16 Thread dan-openbsd-misc
Henning Brauer(lists-open...@bsws.de)@2009.01.06 14:42:09 +0100:
 I am not aware of any. Lack of options doesn't make openldap better.

There is an option for people who have very basic LDAP needs - tinyldap
from fefe.de. It's high quality but lacks many features at the time.



Re: Virtualization, OpenBSD as host

2009-01-16 Thread Allie Daneman
I need to run Java on the guest...hence the reason Qemu doesn't work for 
me. T need virtualization software that runs java on an XP guest. The 
version of OpenBSD doesn't matter ;) I've been running it since 2.8 and 
am running current today as a serverwhich is what I want to change. 
Look, do you know how to run virtualization software like virtualbox or 
to have qemu do what I need (run java in an XP guest) ? If you can't, 
then let's let others answer my question.


Eugene Ryazanov wrote:

2009/1/16 Allie Daneman d...@drainfade.com:

Did you read the email ? OpenBSD would be the host not the guest.

Yes, I did. I just asked what is your target: just to run java or to
run java on the guest WinXP system.
What is your problem? WinXP itself does not run on qemu or there are
problems with java on WinXP on qemu or there are no problems, but
performance is unacceptable?Do you use kqemu (QEMU acceleration
layer)? Which versions of OpenBSD / qemu / java do you use? Please,
describe your problem with qemu.




Re: Virtualization, OpenBSD as host

2009-01-16 Thread johan beisser

On Jan 16, 2009, at 11:00 AM, Allie Daneman wrote:

I need to run Java on the guest...hence the reason Qemu doesn't work  
for me. T need virtualization software that runs java on an XP  
guest. The version of OpenBSD doesn't matter ;) I've been running it  
since 2.8 and am running current today as a serverwhich is what  
I want to change. Look, do you know how to run virtualization  
software like virtualbox or to have qemu do what I need (run java in  
an XP guest) ? If you can't, then let's let others answer my question.


My initial thought is that you're screwed. Virtualization is  
expensive, difficult, and just never going to be all that quick under  
OpenBSD. At least until someone really does horrible things to the  
OpenBSD kernel to make that work.


Sure, you could do:

OpenBSD - kQemu - WinXP - JVM - jApp.

But wouldn't:

OpenBSD - JVM - jApp be faster?

Depending on the app, there's a variety of reasons for wanting the XP  
VM. I get that. It's also just not going to perform all that well.  
Pretty much to the point of utter failure or uselessness.




gstreamer problem

2009-01-16 Thread Pawlowski Marcin Piotr
Hi,
I'm currently porting Exaile music player and I've found that there is
some lack of functionality in gstreamer-plugins-good (ex. no
autoaudiosink). So I want to find out if it's only my or others have
the same problem.
To diagnose that I'm asking for gst-feedback-0.10 and gst-inspect-0.10
output but before please install gsteamer-plugins-good.

Thanks and cheers!



Re: Virtualization, OpenBSD as host

2009-01-16 Thread Allie Daneman
That's exactly my problem. I have to use this Linux POS to get the job 
done and I feel bad about it. I've loved OpenBSD for years but it can't 
do what I need in a PC for my daily driverI'm pissed because I can't 
contribute to helping the issue either so I should probably just shut up 
and do what I need to do. Eh...it works for now...maybe it'll change in 
the future.


johan beisser wrote:


On Jan 16, 2009, at 11:00 AM, Allie Daneman wrote:

I need to run Java on the guest...hence the reason Qemu doesn't work 
for me. T need virtualization software that runs java on an XP guest. 
The version of OpenBSD doesn't matter ;) I've been running it since 
2.8 and am running current today as a serverwhich is what I want 
to change. Look, do you know how to run virtualization software like 
virtualbox or to have qemu do what I need (run java in an XP guest) ? 
If you can't, then let's let others answer my question.


My initial thought is that you're screwed. Virtualization is expensive, 
difficult, and just never going to be all that quick under OpenBSD. At 
least until someone really does horrible things to the OpenBSD kernel to 
make that work.


Sure, you could do:

OpenBSD - kQemu - WinXP - JVM - jApp.

But wouldn't:

OpenBSD - JVM - jApp be faster?

Depending on the app, there's a variety of reasons for wanting the XP 
VM. I get that. It's also just not going to perform all that well. 
Pretty much to the point of utter failure or uselessness.




Re: Virtualization, OpenBSD as host

2009-01-16 Thread Nick Guenther
Out of curiousity, what are you doing in Java that needs Windows?

On Fri, Jan 16, 2009 at 2:32 PM, Allie Daneman d...@drainfade.com wrote:
 That's exactly my problem. I have to use this Linux POS to get the job done
 and I feel bad about it. I've loved OpenBSD for years but it can't do what I
 need in a PC for my daily driverI'm pissed because I can't contribute to
 helping the issue either so I should probably just shut up and do what I
 need to do. Eh...it works for now...maybe it'll change in the future.



shutdown from XFCE weirdness

2009-01-16 Thread Edd Barrett
Hi,

I started noticing about a month ago, that shutting down using the
quit option from XFCE had stopped working. It kind of locks the system
up and does a fsck on next boot. Annoying.

I went digging in the xfce source code and found that it uses a call to
`sudo shutdown -p -h now` for shutting down. I did some tests:

- `sudo shutdown -p -h now` from an xterm in xfce locks up in the 
  same way.
- `sudo halt -p` from an xterm in xfce works fine. The system powers
  right down
- `sudo shutdown -p -h now` from a plain console (no X11) session works.
  Again the system correctly powers down.

Why is this? Is there a fix perhaps? Suggestions welcome.

My kernel has ACPI and APM enabled.


Dmesg:
OpenBSD 4.4-current (GENERIC) #1646: Sun Jan  4 13:14:33 MST 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz (GenuineIntel 686-class) 3 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR
real mem  = 2397855744 (2286MB)
avail mem = 2310586368 (2203MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/05/04, BIOS32 rev. 0 @ 0xf0010, SMBIOS 
rev. 2.3 @ 0xfbe40 (76 entries)
bios0: vendor Intel Corp. version BF86510A.86A.0058.P15.0404050012 date 
04/05/2004
bios0: Intel Corporation D865GLC
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC ASF! TCPA WDDT
acpi0: wakeup devices TANA(S4) P0P3(S4) AC97(S4) USB0(S3) USB1(S3) USB2(S3) 
USB3(S3) USB7(S3) UAR1(S4) SLPB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus 1 (P0P2)
acpiprt3 at acpi0: bus 2 (P0P3)
acpicpu0 at acpi0
acpibtn0 at acpi0: SLPB
bios0: ROM list: 0xc/0xa200! 0xca800/0x1000 0xcb800/0x2800 0xce000/0x1000
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82865G Host rev 0x02
vga1 at pci0 dev 2 function 0 Intel 82865G Video rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xf000, size 0x800
inteldrm0 at vga1: apic 2 int 16 (irq 11)
drm0 at inteldrm0
ppb0 at pci0 dev 3 function 0 Intel 82865G CSA rev 0x02
pci1 at ppb0 bus 1
em0 at pci1 dev 1 function 0 Intel PRO/1000CT (82547EI) rev 0x00: apic 2 int 
18 (irq 10), address 00:0c:f1:f5:13:3c
uhci0 at pci0 dev 29 function 0 Intel 82801EB/ER USB rev 0x02: apic 2 int 16 
(irq 11)
uhci1 at pci0 dev 29 function 1 Intel 82801EB/ER USB rev 0x02: apic 2 int 19 
(irq 5)
uhci2 at pci0 dev 29 function 2 Intel 82801EB/ER USB rev 0x02: apic 2 int 18 
(irq 10)
uhci3 at pci0 dev 29 function 3 Intel 82801EB/ER USB rev 0x02: apic 2 int 16 
(irq 11)
ehci0 at pci0 dev 29 function 7 Intel 82801EB/ER USB2 rev 0x02: apic 2 int 23 
(irq 9)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb1 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xc2
pci2 at ppb1 bus 2
ahc0 at pci2 dev 1 function 0 Adaptec AHA-2940 rev 0x00: apic 2 int 22 (irq 
11)
scsibus0 at ahc0: 8 targets, initiator 7
bktr0 at pci2 dev 2 function 0 Brooktree BT878 rev 0x11: apic 2 int 17 (irq 3)
bktr0: Hauppauge Model 44805 C135
bktr0: Hauppauge WinCast/TV, Philips PAL I tuner.
Brooktree BT878 Audio rev 0x11 at pci2 dev 2 function 1 not configured
ichpcib0 at pci0 dev 31 function 0 Intel 82801EB/ER LPC rev 0x02
pciide0 at pci0 dev 31 function 1 Intel 82801EB/ER IDE rev 0x02: DMA, channel 
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: IC35L060AVV207-0
wd0: 16-sector PIO, LBA48, 58644MB, 120103200 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus1 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus1 targ 0 lun 0: TOSHIBA, DVD-ROM SD-R1202, 1026 ATAPI 5/cdrom 
removable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
wd1 at pciide0 channel 1 drive 0: Maxtor 6E040L0
wd1: 16-sector PIO, LBA, 39205MB, 80293248 sectors
wd2 at pciide0 channel 1 drive 1: HDS728080PLAT20
wd2: 16-sector PIO, LBA48, 78533MB, 160836480 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5
wd2(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 5
pciide1 at pci0 dev 31 function 2 Intel 82801EB SATA rev 0x02: DMA, channel 0 
configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 2 int 18 (irq 10) for native-PCI interrupt
ichiic0 at pci0 dev 31 function 3 Intel 82801EB/ER SMBus rev 0x02: apic 2 int 
17 (irq 3)
iic0 at ichiic0
adt0 at iic0 addr 0x2e: emc6d100 rev 0x65
spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC2700CL2.5
spdmem1 at iic0 addr 0x51: 512MB DDR SDRAM non-parity 

Re: Virtualization, OpenBSD as host

2009-01-16 Thread bofh
On Fri, Jan 16, 2009 at 2:42 PM, Nick Guenther kou...@gmail.com wrote:
 Out of curiousity, what are you doing in Java that needs Windows?

I have commercial crap that is used to manage windows crap but is
written in java.  Guess what do they call when they need to access
storage?  C:\ .  I'm sure there're plenty of similar type crap.

-- 
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
This officer's men seem to follow him merely out of idle curiosity.
-- Sandhurst officer cadet evaluation.
Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted.  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=j1G-3laJJP0feature=related



Re: Virtualization, OpenBSD as host

2009-01-16 Thread Allie Daneman

Nick Guenther wrote:

Out of curiousity, what are you doing in Java that needs Windows?
Ahh yes...for work I need to run a java based app that primarily has a 
Windows client. I have to run it in Windows for work although I tried 
Wine and it failed miserably. I tried Qemu as well and that's when the 
windows java crapped out and couldn't find a way to get it working as an 
option. I've read a little about a virtualbox port to FreeBSD which 
would open the possibility for OpenBSD, but seems it hasn't come to 
fruition. Unfortunately I'm not a coder beyond shell and a little perl 
so I can't help much, otherwise I'd shut up and code very willingly. 
That's my dilemna...I've considered buying a mac which does run 
virtualbox but not sure if that's really a positive move from Linux. The 
fact that OS X upgrades and patches generally don't break basic 
functionality is a motivating factor though. My intention is not to talk 
trash about Linux or OS X though...I want to see if anyone has done what 
I desire and can help me come back to OpenBSD as a desktop.


On Fri, Jan 16, 2009 at 2:32 PM, Allie Daneman d...@drainfade.com wrote:

That's exactly my problem. I have to use this Linux POS to get the job done
and I feel bad about it. I've loved OpenBSD for years but it can't do what I
need in a PC for my daily driverI'm pissed because I can't contribute to
helping the issue either so I should probably just shut up and do what I
need to do. Eh...it works for now...maybe it'll change in the future.




Re: Virtualization, OpenBSD as host

2009-01-16 Thread Marti Martinez
Obviously none of us know WHAT you're really trying to do, so this
suggestion may or may not be workable for you, but in your situation
my preferred solution is to set up a crap machine with XP as the
native OS, and just use rdesktop to log in to it.

On Fri, Jan 16, 2009 at 12:32 PM, Allie Daneman d...@drainfade.com wrote:
 That's exactly my problem. I have to use this Linux POS to get the job done
 and I feel bad about it. I've loved OpenBSD for years but it can't do what I
 need in a PC for my daily driverI'm pissed because I can't contribute to
 helping the issue either so I should probably just shut up and do what I
 need to do. Eh...it works for now...maybe it'll change in the future.

 johan beisser wrote:

 On Jan 16, 2009, at 11:00 AM, Allie Daneman wrote:

 I need to run Java on the guest...hence the reason Qemu doesn't work for
 me. T need virtualization software that runs java on an XP guest. The
 version of OpenBSD doesn't matter ;) I've been running it since 2.8 and am
 running current today as a serverwhich is what I want to change. Look,
 do you know how to run virtualization software like virtualbox or to have
 qemu do what I need (run java in an XP guest) ? If you can't, then let's let
 others answer my question.

 My initial thought is that you're screwed. Virtualization is expensive,
 difficult, and just never going to be all that quick under OpenBSD. At least
 until someone really does horrible things to the OpenBSD kernel to make that
 work.

 Sure, you could do:

 OpenBSD - kQemu - WinXP - JVM - jApp.

 But wouldn't:

 OpenBSD - JVM - jApp be faster?

 Depending on the app, there's a variety of reasons for wanting the XP VM.
 I get that. It's also just not going to perform all that well. Pretty much
 to the point of utter failure or uselessness.





-- 
Systems Programmer, Principal
Electrical  Computer Engineering
The University of Arizona
ma...@arizona.edu



Re: Virtualization, OpenBSD as host

2009-01-16 Thread Allie Daneman

Marti Martinez wrote:

Obviously none of us know WHAT you're really trying to do, so this
suggestion may or may not be workable for you, but in your situation
my preferred solution is to set up a crap machine with XP as the
native OS, and just use rdesktop to log in to it.
Not an option...see I work in a unique situation. I need a laptop 
running XP that I can use to VPN into work for email,etc. I also need XP 
running on the local LAN for access to local boxes that require the 
windows java based client. Beyond that I use the host OS to access non 
windows required apps on the local LAN. Right now Ubuntu does that for 
me and I run 2 instances of XP on the host OS, I've tried almost every 
flavor in existence and I keep coming back to Ubuntu because it does the 
best job. There's plenty of room for improvement with Ubuntu 
thoughlittle quirky issues and upgrades are a joke, I just wipe it 
every 6 months. This is the reason I'd love to come back to 
OpenBSD...less quirkiness, it does what I want, and I fell way better 
running it than something that does weird things under the hood.


On Fri, Jan 16, 2009 at 12:32 PM, Allie Daneman d...@drainfade.com wrote:

That's exactly my problem. I have to use this Linux POS to get the job done
and I feel bad about it. I've loved OpenBSD for years but it can't do what I
need in a PC for my daily driverI'm pissed because I can't contribute to
helping the issue either so I should probably just shut up and do what I
need to do. Eh...it works for now...maybe it'll change in the future.

johan beisser wrote:

On Jan 16, 2009, at 11:00 AM, Allie Daneman wrote:


I need to run Java on the guest...hence the reason Qemu doesn't work for
me. T need virtualization software that runs java on an XP guest. The
version of OpenBSD doesn't matter ;) I've been running it since 2.8 and am
running current today as a serverwhich is what I want to change. Look,
do you know how to run virtualization software like virtualbox or to have
qemu do what I need (run java in an XP guest) ? If you can't, then let's let
others answer my question.

My initial thought is that you're screwed. Virtualization is expensive,
difficult, and just never going to be all that quick under OpenBSD. At least
until someone really does horrible things to the OpenBSD kernel to make that
work.

Sure, you could do:

OpenBSD - kQemu - WinXP - JVM - jApp.

But wouldn't:

OpenBSD - JVM - jApp be faster?

Depending on the app, there's a variety of reasons for wanting the XP VM.
I get that. It's also just not going to perform all that well. Pretty much
to the point of utter failure or uselessness.




Re: Virtualization, OpenBSD as host

2009-01-16 Thread Allie Daneman

bofh wrote:

On Fri, Jan 16, 2009 at 2:42 PM, Nick Guenther kou...@gmail.com wrote:

Out of curiousity, what are you doing in Java that needs Windows?


I have commercial crap that is used to manage windows crap but is
written in java.  Guess what do they call when they need to access
storage?  C:\ .  I'm sure there're plenty of similar type crap.

BingoI don't run this stuff voluntarily...I have to for work.



Re: Virtualization, OpenBSD as host

2009-01-16 Thread johan beisser

On Jan 16, 2009, at 12:05 PM, Allie Daneman wrote:

BingoI don't run this stuff voluntarily...I have to for work.


If work is all SAE, and you have metric and SAE tools, do you bring  
your metric tools on the job site? No, because for the most part they  
won't fit, and you might strip the bolt, nut, or hex socket you're  
trying to adjust.


OpenBSD is a tool. Forcing a wedge case to accomplish your job isn't  
going to make you or anyone else happy, and may even break things in  
unexpected ways.


Install XP on a different system, natively.



Re: Virtualization, OpenBSD as host

2009-01-16 Thread Allie Daneman
That's a great theory but it's not my situation. I use SAE and metric 
now but am looking for something that does it better. Why would I dump 
what works when I'm just asking for more options ?  Sure I could go with 
the easy option and run 2 maybe 3 laptops if I want to run an OpenBSD 
desktop...but why ? We have software that can do what I wantI'm just 
looking for input on if anyone has done it. Why would I take 2 steps 
back to make 1 step forward...kinda bass ackward eh ? If you have 
nothing to add to this thread than why respond ? You either have or 
haven't done it...sorry if this is harsh but why deal with BS. I can 
thank Theo for that skill ;)


johan beisser wrote:

On Jan 16, 2009, at 12:05 PM, Allie Daneman wrote:

BingoI don't run this stuff voluntarily...I have to for work.


If work is all SAE, and you have metric and SAE tools, do you bring your 
metric tools on the job site? No, because for the most part they won't 
fit, and you might strip the bolt, nut, or hex socket you're trying to 
adjust.


OpenBSD is a tool. Forcing a wedge case to accomplish your job isn't 
going to make you or anyone else happy, and may even break things in 
unexpected ways.


Install XP on a different system, natively.




Re: Virtualization, OpenBSD as host

2009-01-16 Thread Nick Bender
On Fri, Jan 16, 2009 at 3:03 PM, Allie Daneman d...@drainfade.com wrote:
 Marti Martinez wrote:

 Obviously none of us know WHAT you're really trying to do, so this
 suggestion may or may not be workable for you, but in your situation
 my preferred solution is to set up a crap machine with XP as the
 native OS, and just use rdesktop to log in to it.

 Not an option...see I work in a unique situation. I need a laptop running XP
 that I can use to VPN into work for email,etc.

Not at all unique. I've solved this by using an OS X laptop. XP and
OpenBSD live in VMs (VMWare has better BIOS emulation but
Parallels works well also). Things like video, power management,
sleep/hibernate, and wireless all work well. When all that works
under OpenBSD I'll switch :-) I did put a puffy wireframe sticker
over the Apple though (thanks Wim).

-N



Re: Virtualization, OpenBSD as host

2009-01-16 Thread Ted Unangst
On Fri, Jan 16, 2009 at 3:03 PM, Allie Daneman d...@drainfade.com wrote:
 Not an option...see I work in a unique situation. I need a laptop running XP
 that I can use to VPN into work for email,etc. I also need XP running on the
 local LAN for access to local boxes that require the windows java based
 client. Beyond that I use the host OS to access non windows required apps on
 the local LAN. Right now Ubuntu does that for me and I run 2 instances of XP
 on the host OS, I've tried almost every flavor in existence and I keep
 coming back to Ubuntu because it does the best job. There's plenty of room
 for improvement with Ubuntu thoughlittle quirky issues and upgrades are
 a joke, I just wipe it every 6 months. This is the reason I'd love to come
 back to OpenBSD...less quirkiness, it does what I want, and I fell way
 better running it than something that does weird things under the hood.

Install windows, install virtual box, install openbsd in virtualbox,
run openbsd in virtual box full screen.



propo/ je vai transferai $12.million sur ton compte ci oui je te le dit detail

2009-01-16 Thread Ammad Sawadog
You are invited to propo/ je vai transferai $12.million sur ton compte ci oui 
je te le dit detail.


By your host Ammad Sawadog:


 Date:  Friday January 16, 2009

 Time:  10:00 pm - 11:00 pm (GMT +00:00)

Guests:

 * messt...@hotmail.com
 * messyeleph...@hotmail.com
 * metallicaboy...@yahoo.ca
 * metalpoin...@hotmail.fr
 * me...@jmd.gov.jo
 * meteo...@sotelgui.net.gn
 * mez.simply.c...@gmail.com
 * m...@amtgardamazons.com
 * m...@game-eqyup.ru
 * m...@musicmez.com
 * m...@ubuntu.com
 * m...@yahoo.com
 * mezdeathh...@yahoo.com
 * m...@nova.edu
 * mezenicol...@yahoo.com
 * mezgh...@kfupm.edu
 * mezgh...@tunet.tn
 * mezghaniso...@yahoo.com
 * mezinternatio...@hotmail.com
 * mezinternatio...@yahoo.com
 * mezk...@yahoo.com
 * mezmeron...@yahoo.com
 * mezsmi...@freemail.absa.co.za
 * mff...@yahoo.fr
 * mgande...@yahoo.ca
 * mgerm...@hotmail.com
 * mgiorgioporc...@hotmail.com
 * mguev...@sfsu.edu
 * mhadjo...@yahoo.fr
 * mhkhors...@yahoo.com
 * mhrasel2...@yahoo.com
 * mianzafa...@hotmail.com
 * miay...@yahoo.ca
 * micah_t...@hotmail.com
 * michaelmystic2...@yahoo.ca
 * michaud_ma...@yahoo.ca
 * micheal_19902...@yahoo.fr
 * michealsaid2...@yahoo.frmohammadshafie2020
 * michel...@hotmail.fr
 * michelle_cha...@hotmail.com
 * mickleung...@hotmail.com
 * midlanticpa...@yahoo.com
 * midrangeh...@yahoo.ca
 * miguelino...@hotmail.com
 * milagrosa...@hotmail.com
 * mils2...@yahoo.com
 * mimarlik1...@yahoo.ca
 * mi...@yahoo.fr
 * min...@hotmail.com
 * minhngocdu...@yahoo.ca
 * minimonkeym...@yahoo.ca
 * mir@hotmail.com
 * mirelavo...@yahoo.fr
 * mirjrah...@hotmail.com
 * misc@openbsd.org
 * miss_nikk...@hotmail.fr
 * miss_pun...@hotmail.fr
 * missaoui_hic...@yahoo.fr
 * missp...@ayna.com
 * misssami...@mac.com
 * mister...@hotmail.com
 * mistrala...@yahoo.fr
 * mitchellaa...@hotmail.com
 * mittsmo...@yahoo.ca
 * mi...@hotmail.com
 * mjangr...@yahoo.com
 * mjhgor...@hotmail.com
 * mjmolinagarr...@hotmail.com
 * mjo...@sv.uit.no
 * mkabra_ai...@yahoo.co.in
 * mkhubchand...@yahoo.ca
 * mlc_bball...@hotmail.com
 * mljohn...@yahoo.com
 * mmac...@yahoo.ca
 * mmeppat...@hotmail.fr
 * mmerc...@yahoo.ca
 * mmitwa...@yahoo.com
 * mms...@yahoo.ca
 * mmupes...@yahoo.com
 * mmyaq...@yahoo.ca.uk

invitation_add_to_your_yahoo_calendar:

 
http://calendar.yahoo.com/?v=60ST=20090116T22%2BTITLE=propo/+je+vai+transferai+$12.million+sur+ton+compte+ci+oui+je+te+le+dit+detailDUR=0100VIEW=dDESC=propo/+je+vai+transferai+$12.million+sur+ton+compte+ci+oui+je+te+le+dit+detailTYPE=10


Copyright ) 2009 All Rights Reserved
 www.yahoo.com

Privacy Policy:
 http://privacy.yahoo.com/privacy/us

Terms of Service:
 http://docs.yahoo.com/info/terms/



Re: gstreamer problem

2009-01-16 Thread Jacob Meuser
On Fri, Jan 16, 2009 at 08:21:59PM +0100, Pawlowski Marcin Piotr wrote:
 Hi,
 I'm currently porting Exaile music player and I've found that there is
 some lack of functionality in gstreamer-plugins-good (ex. no
 autoaudiosink). So I want to find out if it's only my or others have
 the same problem.
 To diagnose that I'm asking for gst-feedback-0.10 and gst-inspect-0.10
 output but before please install gsteamer-plugins-good.
 
 Thanks and cheers!
 

this works fine here:

$ gst-launch location=song44.wav \! decodebin \! autoaudiosink

$ pkg_info | grep gst
gstreamer-0.10.19p0 streaming media framework - core
gstreamer-confelements-0.10.8p0 multimedia framework - conf elements
gstreamer-ffmpeg-0.10.4p0 multimedia framework - ffmpeg plugin
gstreamer-frontend-0.10.19p0 streaming media framework - frontend commands
gstreamer-gnome-0.10.19p1 multimedia framework - gnome vfs plugin
gstreamer-mad-0.10.7p0 multimedia framework - mad plugin
gstreamer-plugins-bad-0.10.7p4 multimedia framework - plugins bad
gstreamer-plugins-base-0.10.19p0 multimedia framework - plugins base
gstreamer-plugins-good-0.10.8p6 multimedia framework - good plugins
gstreamer-plugins-ugly-0.10.7p0 multimedia framework - plugins ugly

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Port ZFS to OpenBSD

2009-01-16 Thread Edd Barrett
On Thu, Jan 15, 2009 at 03:21:19PM +, Khalid Schofield wrote:
 Dev's.

 What are the chances of getting a port of ZFS to OpenBSD? I can't quite 
 bring myself to run solaris since it lacks so much of what I love about 
 OpenBSD and Linux is back to square one because of the reasons I moved to 
 OpenBSD.

 Khalid


I aked Theo about this at OpenCon 2008. To cut a long story short...

No

-- 

Best Regards
Edd

http://students.dec.bmth.ac.uk/ebarrett



Re: Problems with ppp(8) to Verizon EVDO

2009-01-16 Thread Jason Dixon
On Wed, Jan 14, 2009 at 10:03:12PM -0500, Jason Dixon wrote:
 I have a Verizon USB720 dongle that shows up as ucom0.  I intend to use
 it for connecting remotely with my X40.  I'm having problems when
 packets exceed a certain size.  When this happens, the return packets
 never make it back to my system.
 
 I can connect fine with ppp(8).  I can ping remote hosts and do
 traceroutes.  I can ssh to hosts and perform basic commands.  Only when
 the payload exceeds ~900 bytes do things start to fail.  This happens
 with almost all TCP traffic, but is most noticeable with SSH or HTTP.

On a suggestion by canacar@, I gave kernel pppd(8) a try.  Sure enough,
I'm now getting 2Mbps/300Kbps through the Verizon USB720 (rebadged
Novatel U720) EVDO connection.  I can't explain the performance issues
with userland ppp(8) which used to work great with my Treo 700p.

Here is my little script for dialing up.  The only other change I made
was 'noauth' in /etc/ppp/options.



#!/bin/sh

sudo ifconfig ppp0 destroy 2/dev/null
sudo ifconfig ppp0 create
sudo route delete default 2/dev/null
sudo /usr/sbin/pppd /dev/cuaU0 921600 connect \
'/usr/sbin/chat -v  ATZ OK ATDT#777 CONNECT '

sleep 5
sudo route add default `ifconfig ppp0 | grep inet | awk '{print $4}'`
ifconfig ppp0



-- 
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net/



Attansic L1: age

2009-01-16 Thread giovanni
it has been working since yesterday morning...

thanks for your work!

 2:0:0: Attansic Technology L1
0x: Vendor ID: 1969 Product ID: 1048
0x0004: Command: 0006 Status ID: 0010
0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: b0
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 08
0x0010: BAR mem 64bit addr: 0xfe8c
0x0018: BAR empty ()
0x001c: BAR empty ()
0x0020: BAR empty ()
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 1043 Product ID: 8226
0x0030: Expansion ROM Base Address: fe8a
0x0038: 
0x003c: Interrupt Pin: 01 Line: 0a Min Gnt: 00 Max Lat: 00
0x0040: Capability 0x01: Power Management
0x0048: Capability 0x05: Message Signaled Interrupts (MSI)
0x0058: Capability 0x10: PCI Express
0x006c: Capability 0x03: Vital Product Data (VPD)

age0 at pci3 dev 0 function 0 Attansic Technology L1 rev 0xb0: apic
2 int 17 (irq 10), address 00:1f:c6:ac:b6:4b
ukphy0 at age0 phy 0: Generic IEEE 802.3u media interface, rev. 5: OUI
0x001374, model 0x0001

age0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:1f:c6:ac:b6:4b
priority: 0
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255
inet6 fe80::21f:c6ff:feac:b64b%age0 prefixlen 64 scopeid 0x1

-- 
see ya,
giovanni