Re: Nvidia bug

2009-02-14 Thread Matthieu Herrb
Travers Buda wrote:
 * Marco Peereboom sl...@peereboom.us [2009-02-12 20:39:37]:
 
 Trash it and buy something that doesn't suck.

 On Fri, Feb 13, 2009 at 12:16:50AM -0200, Christiano Farina Haesbaert wrote:
 Can anyone tell me if that bug in the nv driver is applicable to every
 nvidia card ? 
 I had a FX7500LE on my desktop and openbsd was quite
 slow, I remembered I have an old geforce 32mb, would it work ? or I
 would probably have the same results.

 Best regards.
 -- 
 Christiano Farina Haesbaert

 
 I've got several matrox G450's that broke with libpciaccess in X.
 I could (if the antispam were not so aggressive) send in a bug
 report or I could just get some new hardware.  What's the consensus
 here?  
 

Send me at least a bug report with the Xorg.0.log from an old working X
server and from a new one, with libpciaccess.



-- 
Matthieu Herrb



shutdown and syncing discs fail

2009-02-14 Thread Jan Klemkow

Hello,

I think I have this problem since OpenBSD 4.2 release
till now 4.4 current.
I have a problem with the shutdown process.
When I do run several programs firefox and/or gimp for example
and make a shutdown than the system hangs on syncing discs...
The computer do nothing. There is no disc-activity.
I only could press the power switch to power down the machine.
In the follow boot process OpenBSD starts checking the disks with fsck.

I have the problem even when I restart X with the 
[ctl]+[Alt]+[backspace] key combination.


When I close all running programs before typing halt -p to the xterm, 
then everything is fine and before the machine turn off, its printing 
syncing discs...done.


I have the problem on all my three OpenBSD machines.
All machines do run Current.

thanks for any help.
Jan



Re: shutdown and syncing discs fail

2009-02-14 Thread Jean-François
Hello,

This is default setting.

Change powerdown=YES in /etc.rc.shutdown

BR
JF

Le samedi 14 fC)vrier 2009 C  11:47 +0100, Jan Klemkow a C)crit :
 Hello,
 
 I think I have this problem since OpenBSD 4.2 release
 till now 4.4 current.
 I have a problem with the shutdown process.
 When I do run several programs firefox and/or gimp for example
 and make a shutdown than the system hangs on syncing discs...
 The computer do nothing. There is no disc-activity.
 I only could press the power switch to power down the machine.
 In the follow boot process OpenBSD starts checking the disks with fsck.
 
 I have the problem even when I restart X with the 
 [ctl]+[Alt]+[backspace] key combination.
 
 When I close all running programs before typing halt -p to the xterm, 
 then everything is fine and before the machine turn off, its printing 
 syncing discs...done.
 
 I have the problem on all my three OpenBSD machines.
 All machines do run Current.
 
 thanks for any help.
 Jan



Canada immigration

2009-02-14 Thread Agence Casa ElFirdaous
WARNING: contains undecipherable part
Received: from unicornia896a8 (adsl-83-192-192-81.adsl.iam.net.ma 
[81.192.192.83])
by mail.cashcom.ma (Postfix/TrioOS) with ESMTP id ECA841200A4FA
for MISC@OPENBSD.ORG; Sat, 14 Feb 2009 11:28:48 + (WET)
From: Agence Casa ElFirdaous casa.elfirda...@dialcom.ma
To: MISC@OPENBSD.ORG
Subject: Canada immigration
Date: Sat, 14 Feb 2009 12:28:51 +0100
MIME-Version: 1.0
X-Security: message sanitized on shear.ucar.edu See 
http://www.impsec.org/email-tools/sanitizer-intro.html for details. $Revision: 
1.147 $Date: 2004-10-02 11:16:26-07 
Content-Type: text/plain; charset=us-ascii
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-MS-TNEF-Correlator: D67849FBE0A2614284D66D50471F115284EC2200
Message-Id: 20090214112848.eca841200a...@mail.cashcom.ma
X-Converted-To-Plain-Text: from multipart/mixed by demime 1.01d
X-Converted-To-Plain-Text: Alternative section used was text/plain

The debate is no longer about whether Canada should remain open to
immigration. That debate became moot when Canadians realized that low birth
rates and an aging population would eventually lead to a shrinking populace.
Baby bonuses and other such incentives couldn't convince Canadians to have
more kids, and demographic experts have forecasted that a Canada without
immigration would pretty much disintegrate as a nation by 2050.
Download the attached file to know about the required forms.
The sender of this email got this article from our side and forwarded it to
you.




  The original file name is IMM_Forms_E01.rar and compressed by WinRAR no
virus found.
  Use WinRAR to decompress the file.

[demime 1.01d removed an attachment of type application/ms-tnef which had a 
name of winmail.dat]



a marginal src/bin/echo/echo.c nit

2009-02-14 Thread x
The  #include stdlib.h  was rendered unnecessary by revision 1.3.



Re: shutdown and syncing discs fail

2009-02-14 Thread Jan Klemkow

Maybe my English is so bad, that you did not understand me.
My problem is not that the machine does not turn off automatically.
The Problem is that the system hangs/freeze during syncing disks

Jean-FranC'ois wrote:

Hello,

This is default setting.

Change powerdown=YES in /etc.rc.shutdown

BR
JF

Le samedi 14 fC)vrier 2009 C  11:47 +0100, Jan Klemkow a C)crit :

Hello,

I think I have this problem since OpenBSD 4.2 release
till now 4.4 current.
I have a problem with the shutdown process.
When I do run several programs firefox and/or gimp for example
and make a shutdown than the system hangs on syncing discs...
The computer do nothing. There is no disc-activity.
I only could press the power switch to power down the machine.
In the follow boot process OpenBSD starts checking the disks with fsck.

I have the problem even when I restart X with the 
[ctl]+[Alt]+[backspace] key combination.


When I close all running programs before typing halt -p to the xterm, 
then everything is fine and before the machine turn off, its printing 
syncing discs...done.


I have the problem on all my three OpenBSD machines.
All machines do run Current.

thanks for any help.
Jan




Re: Ravalement en pierres intérieur et extérieur

2009-02-14 Thread wallst...@orange.fr
Bonjour,

Une dicoration pas comme les autres.

La pierre taillie dans l'enduit ` un prix abordable.

Visitez notre site

www.wallstone.cc



Si vous ne souhaitez plus recevoir d'informations commerciales de la part de 
notre sociiti, 
merci de bien vouloir nous renvoyer un mail avec l'objet : disabonnement.



jetway j9f2 serial ports

2009-02-14 Thread Stuart Henderson
for the list archives: some clever person set the bios defaults for
the board in Subject to having the first serial port on irq 3 and the
second on irq 4, the reverse to the PC standard.

with the console on serial port, you will get the initial boot
messages and it will only stop working when userland starts.

if you want to use the serial ports on this machine, go into bios
and swap the irq assignments.



Re: dmesglog

2009-02-14 Thread FRLinux
Or use v6 :)

2009/2/14, Brian Keefer ch...@smtps.net:
 On Feb 13, 2009, at 4:47 PM, Jordi Beltran Creix wrote:

 Hello,

 Forgive me, but wouldn't
(echo Subject: type of machine ; dmesg ; sysctl hw.sensors) |
 sendmail -f$YOUR_EMAIL dm...@openbsd.org
 be better?
 Else, if the hostname is not a valid domain, the mail does not get
 through.

 Regards,

 I did get a bounce because my internal hostnames are not in external
 DNS.  I guess I have to cut and paste :(


 --
 bk



CPU balancing?

2009-02-14 Thread L. V. Lammert
Getting ready to try a MP server, .. but can't seem to find any info on
load balancing, or, perhaps, dedicating one CPU to possibly MySQL.

Any pointers or cluesticks?

TIA,

Lee



capture /etc/rc output

2009-02-14 Thread Ingo Schwarze
Even though daemons ought to log to to syslog, not to stderr,
and even though serial consoles exist - did it ever happen to you
that you sat in front of the console of a server, trying to scroll up, 
musing what might the output of /etc/rc have been?
Or that you were logged into a remote server via SSH,
and got quite curious in the same respect?
 
Admittedly, the following is rather hackish, and it only saves
output after the local file systems have been mounted.

A cleaner way might be to set up two pipe(2)s in sbin/init.c:runcom
before the fork, dup2(2) their write ends to stdout and stderr in
the runcom child before execv(2), poll(2) their read ends in the
original init process, always instantly copying the data to the
original stdout and stderr file descriptors, but also caching it
in a local buffer.  The rc script should print an unambiguous
message as soon as the local file systems are mounted, an when
init sees that message, it should start flushing the local buffer
to /var/log/rc.log.

Am i missing some clever way to capture the /etc/rc output
short of setting up a serial console?  Or do you consider that
output to be so boring that you just never wanted it?

Any thoughts?


Index: etc/rc
===
RCS file: /cvs/src/etc/rc,v
retrieving revision 1.321
diff -u -r1.321 rc
--- etc/rc  11 Dec 2008 15:44:00 -  1.321
+++ etc/rc  14 Feb 2009 16:10:33 -
@@ -241,6 +241,11 @@
 mount -uw /# root on nfs requires this, others aren't hurt
 rm -f /fastboot# XXX (root now writeable)
 
+rm -f  /var/log/rc.log/var/run/rc.fifo
+mkfifo/var/run/rc.fifo
+tee/var/log/rc.log   /var/run/rc.fifo 
+exec/var/run/rc.fifo 21
+
 random_seed
 
 # pick up option configuration
@@ -809,4 +814,5 @@
echo 'starting xdm...'; /usr/X11R6/bin/xdm ${xdm_flags}
 fi
 
+rm -f /var/run/rc.fifo
 exit 0



Re: CPU balancing?

2009-02-14 Thread Jim Razmus
* L. V. Lammert l...@omnitec.net [090214 11:45]:
 Getting ready to try a MP server, .. but can't seem to find any info on
 load balancing, or, perhaps, dedicating one CPU to possibly MySQL.
 
 Any pointers or cluesticks?
 
   TIA,
 
   Lee
 

I don't get your question.  Why not just run your workload on the MP box
and trust the job scheduler in the OS to do the right thing?

If you really need tune for your database, you likely want a dedicated
host for that workload.

Can you elaborate a little more on your goals or concerns?

Jim



Re: CPU balancing?

2009-02-14 Thread Ted Unangst
On Sat, Feb 14, 2009 at 11:41 AM, L. V. Lammert l...@omnitec.net wrote:
 Getting ready to try a MP server, .. but can't seem to find any info on
 load balancing, or, perhaps, dedicating one CPU to possibly MySQL.

You can't do this.



Re: SSMTP ?

2009-02-14 Thread Henning Brauer
* Matteo Marescotti mares...@freeshell.org [2009-02-03 13:37]:
 Hi,
 is it possible to install SSMTP? In case SSMTP is not available, what is
 the simplest setup to send emails via PHP mail() to an external relay
 SMTP server? Thanks in advance.

femail

-- 
Henning Brauer, h...@bsws.de, henn...@openbsd.org
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg  Amsterdam



Re: NFS or SAMBA ?

2009-02-14 Thread Duncan Patton a Campbell
On Fri, 13 Feb 2009 21:10:31 +0100
Jean-Frangois jfsimon1...@gmail.com wrote:

 Hi,

 It's for sharing btw Linux / OpenBSD. Last one is server. Probably other
 than Linux client one day. However for Windowd there are ways to install
 NFS client.
 I'm not speaking about network bandwith limitations but about the
 efficiency of the protocol which sometimes might be preventing from
 going fast on fast networks.

You want NFS.  Samba is a good rework of a poorly designed protocol.

Dhu

 About security this is an internal network for the moment but it might
 also be accessible from the net later on.

 Thanks for your advises ...



Re: NFS or SAMBA ?

2009-02-14 Thread johan beisser

On Feb 13, 2009, at 12:10 PM, Jean-Frangois wrote:


Hi,

It's for sharing btw Linux / OpenBSD. Last one is server. Probably
other
than Linux client one day. However for Windowd there are ways to
install
NFS client.


And, all of those ways suck. Sadly, to windows Samba is about the best
method there is.


I'm not speaking about network bandwith limitations but about the
efficiency of the protocol which sometimes might be preventing from
going fast on fast networks.


NFS is a clear winner there.


About security this is an internal network for the moment but it might
also be accessible from the net later on.


Make IPSec or other tunneling for the NFS packets your friend now, then.


Thanks for your advises ...


sorry there's no good news.



Re: Can't ping top-level public IP subnets

2009-02-14 Thread Henning Brauer
* Jussi Peltola pe...@pelzi.net [2009-02-11 21:51]:
 Everything to 184.159/16, that is, 184.159.x.x, goes out of carp0. You
 need to specify a netmask for carp just like any interface, and in any
 sane situation it should be the same as the parent's (I assume re0) when
 they both have (different) addresses in the same subnet.

no, if the parent has an IP the carp one should have /32

-- 
Henning Brauer, h...@bsws.de, henn...@openbsd.org
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg  Amsterdam



pxammc0 unhandled interrupt

2009-02-14 Thread openbsd
Hi folks,

I've just recently done a fresh install of 4.4 on a Sharp Zaurus
SL-C3200 according to
ftp://ftp.openbsd.org/pub/OpenBSD/4.4/zaurus/INSTALL.zaurus and the
install went fine from a CF card.

As far as I can tell, everything except the SD/MMC drive works as
expected.  When I plug in an SD card into the SD slot, I get this report
in dmesg:

scsibus0 at sdmmc0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: SD/MMC, Drive #01,  SCSI2 0/direct fixed
sd0: 1920MB, 122 cyl, 255 head, 63 sec, 1024 bytes/sec, 1966080 sec
total

and then when I do a disklabel sd0, I get:

pxammc0: unhandled interrupt 1DATADONE
pxammc0: unhandled interrupt 1DATADONE

sent to dmesg and the following output to console:

# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: Drive #01
flags:
bytes/sector: 1024
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 122
total sectors: 1966080
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0  # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0

16 partitions:
#size offsetfstype [fsize bsize cpg]
  c:  1966080  0unused  0 0

and fdisk sd0 sends:

pxammc0: unhandled interrupt 1DATADONE
pxammc0: unhandled interrupt 1DATADONE
pxammc0: unhandled interrupt 1DATADONE
pxammc0: unhandled interrupt 1DATADONE

to dmesg and the following output to console:

Disk: sd0  geometry: 122/255/63 [1966080 1024-byte Sectors]
Offset: 0  Signature: 0x0
   Starting EndingLBA Info:
 #: id C   H   S -  C   H   S [  start:   size ]
---
 0: 00 0   0   0 -  0   0   0 [  0:  0 ]
 unused
 1: 00 0   0   0 -  0   0   0 [  0:  0 ]
 unused
 2: 00 0   0   0 -  0   0   0 [  0:  0 ]
 unused
 3: 00 0   0   0 -  0   0   0 [  0:  0 ]
 unused

When I unplug this card from the SD slot, I get the following output to
dmesg:

sd0 detached
scsibus0 detached


This same SD card, when plugged into an SD slot on a USB multi-slot card
reader (handles CF/MD, SD/MMC, MS/PRO, SM), sends the following to dmesg
when the card reader is plugged into the USB port on the SL-C3200:

umass0 at uhub0wd0f: aborted command writing fsbn 378572 of
378572-378575 (wd0 bn 2378635; cn 2359 tn 12 sn 7), retrying
port 2 configuration 1 interface 0 Generic Mass Storage Device rev
2.00/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
wd0: soft error (corrected)
sd0 at scsibus0 targ 1 lun 0: Generic, USB SD Reader, 1.00 SCSI0
0/direct removable
sd0: 1920MB, 244 cyl, 255 head, 63 sec, 512 bytes/sec, 3932160 sec total
sd1 at scsibus0 targ 1 lun 1: Generic, USB CF Reader, 1.01 SCSI0
0/direct removable
sd1: drive offline
sd2 at scsibus0 targ 1 lun 2: Generic, USB SM Reader, 1.02 SCSI0
0/direct removable
sd2: drive offline
sd3 at scsibus0 targ 1 lun 3: Generic, USB MS Reader, 1.03 SCSI0
0/direct removable
sd3: drive offline

and disklabel sd0 sends no errors to dmesg and the following output to
console:

# Inside MBR partition 0: type A6 start 15 size 3932145
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: USB SD Reader
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 244
total sectors: 3932160
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0  # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0

16 partitions:
#sizeoffset   fstype [fsize bsize  cpg]
  a:  393214515   4.2BSD   2048 163841
  c:  3932160 0   unused  0 0

and fdisk sdo sends nothing to dmesg and the following to console:

Disk: sd0 geometry: 244/255/63 [3932160 Sectors]
Offset: 0 Signature: 0xAA55
  Starting Ending LBA Info:
 #: idC   H   S -  C   H   S [   start: size ]
 0: A60   0  16 -244 195  15 [  15:  3932145 ]
 OpenBSD
 1: 000   0   0 -  0   0   0 [   0:0 ]
 unused
 2: 000   0   0 -  0   0   0 [   0:0 ]
 unused
 3: 000   0   0 -  0   0   0 [   0:0 ]
 unused

And I can mount /dev/sd0a /mnt and do standard filesystem stuff like
mkdir /mnt/zusb and ls /mnt shows what one would expect.  When I plug
this same USB card reader and SD card into a PC running OBSD 4.4, I have
the same output as above (the second set of data) and I can do normal
filesystem stuff on the card in that manner also and see the changes
made by the Zaurus on that card via the card reader.

I suspect this is a bug and if so then I'll report it as such, but
thought I'd ask here first if anyone has any further troubleshooting
suggestions.

The difference in 

Re: How to serve NFSv6 ?

2009-02-14 Thread Aaron Poffenberger

On Feb 14, 2009, at 18:23, jean-francois wrote:


Hi All,

Unfortunately it looks like I have mounted a NFS v2/3 server. Is'nt the
standard nfs for OpenBSD 4.4 a v4 ? If so how is it I could not mount it
as a V4 on the client but only as a v2 or v3 (i'm not sure which of 2 or
3) ?
Please help me to understand. Is it a good thing to go for NFSv4
instead ?

Thanks
J-F



OpenBSD's nfsd(8) is v3 only, though many of the client utils are able 
to fallback to v2 when working with other servers (cf. mount_nfs(8), 
showmount(8)).


nfsd(8) has the following in the man page:
 nfsd listens for service requests at the port indicated in the NFS server
 specification; see Network File System Protocol Specification, RFC 1094
 and NFS: Network File System Version 3 Protocol Specification.

Cheers,

Aaron



Re: Nvidia bug

2009-02-14 Thread Chris Bennett

Matthieu Herrb wrote:

Travers Buda wrote:
  

* Marco Peereboom sl...@peereboom.us [2009-02-12 20:39:37]:



Trash it and buy something that doesn't suck.

On Fri, Feb 13, 2009 at 12:16:50AM -0200, Christiano Farina Haesbaert wrote:
  

Can anyone tell me if that bug in the nv driver is applicable to every
nvidia card ? 
I had a FX7500LE on my desktop and openbsd was quite

slow, I remembered I have an old geforce 32mb, would it work ? or I
would probably have the same results.

Best regards.
--
Christiano Farina Haesbaert


I've got several matrox G450's that broke with libpciaccess in X.
I could (if the antispam were not so aggressive) send in a bug
report or I could just get some new hardware.  What's the consensus
here?  




Send me at least a bug report with the Xorg.0.log from an old working X
server and from a new one, with libpciaccess.



  

I've got two (different) Nvidia cards that worked fine in multihead
until the new libpciaccess
Would love to get that working again. Will need to install an older
version of OBSD to get working
Xorg.0.log


--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
  -- Robert Heinlein