Re: OpenBSD 4.3 running in VirtualBox? Anyone have it working properly?

2008-08-07 Thread jero
Running on w2003 with command:

vboxheadless.exe -norawr0 -s obsd43

OpenBSD 4.3-stable (GENERIC) #1: Mon Aug  4 15:34:39 CEST 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Xeon(R) CPU E5320 @ 1.86GHz (GenuineIntel 686-class) 1.87 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,PGE,CMOV,CFLUSH,MMX,FXSR,SSE,SSE2,MWAIT
real mem  = 536375296 (511MB)
avail mem = 510599168 (486MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/23/99, BIOS32 rev. 0 @
0xfad60, SMBIOS rev. 2.5 @ 0xe1000 (3 entries)
bios0: vendor innotek GmbH version VirtualBox date 12/01/2006
bios0: innotek GmbH VirtualBox
apm0 at bios0: Power Management spec V1.2
apm0: APM engage (device 1): unknown error code? (83)
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf/0x0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfb0a0/192 (10 entries)
pcibios0: PCI Interrupt Router at 000:01:0 (Intel 82371SB ISA rev 0x00)
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc/0x8e00 0xe2000/0x1000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82441FX rev 0x02
pcib0 at pci0 dev 1 function 0 Intel 82371SB ISA rev 0x00
pciide0 at pci0 dev 1 function 1 Intel 82371AB IDE rev 0x01: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibil
ity
wd0 at pciide0 channel 0 drive 0: VBOX HARDDISK
wd0: 128-sector PIO, LBA, 10240MB, 20971520 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: VBOX, CD-ROM, 1.0 SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
vga1 at pci0 dev 2 function 0 InnoTek VirtualBox Graphics Adapter rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcn0 at pci0 dev 3 function 0 AMD 79c970 PCnet-PCI rev 0x40,
Am79c973, rev 0: irq 11, address 08:00:27:2e:ec:31
acphy0 at pcn0 phy 0: AC101 10/100 PHY, rev. 11
ifmedia_set: no match for 0x20/0x
InnoTek VirtualBox Guest Service rev 0x00 at pci0 dev 4 function 0
not configured
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
fd1 at fdc0 drive 1: density unknown
biomask e7fd netmask effd ttymask 
softraid0 at root
root on wd0a swap on wd0b dump on wd0b

$ uptime
10:47AM  up 1 day, 17:49, 1 user, load averages: 0.08, 0.08, 0.08


2008/8/7 Tomas Bodzar [EMAIL PROTECTED]:
 4.3 runs fine on many PCs in Qemu as I tested 
 (Kubuntu,Mandriva,OpenSUSE,Windows).4.4 is Beta,so there may be problems.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jordi Beltran 
 Creix
 Sent: Thursday, August 07, 2008 5:56 AM
 To: misc@openbsd.org
 Subject: Re: OpenBSD 4.3 running in VirtualBox? Anyone have it working 
 properly?

 I tried to run a recent i386 4.4 beta on a KVM/QEMU virtual machine under 
 Ubuntu and there are some problems with the emulated network.
 The driver constantly reports timeouts.
 re0: watchdog timeout
 As a side effect the connection is very slow. I assume that doesn't happen on 
 the actual hardware that QEMU is supposed to emulate, but other OSes don't 
 have the same problem.


 2008/8/7 Tomas Bodzar [EMAIL PROTECTED]:
 VirtualBox sucks to version 1.6.2 .There is a 1.6.4 now,but I don't test it.
 I use Qemu on BSD/Linux/Windows,it's better in my opinion.
 (work with VirtualBox,Vmware Server 1.0.x,2.x,MS Virtual Server,MS
 Virtual PC)

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
 Of Richard Daemon
 Sent: Thursday, August 07, 2008 3:31 AM
 To: misc
 Subject: OpenBSD 4.3 running in VirtualBox? Anyone have it working properly?

 OpenBSD 4.3 running in VirtualBox? Anyone have it working properly and if 
 so,  how?

 Same problems as reported here: http://www.virtualbox.org/ticket/192

 Regards,



Re: OpenBSD 4.3 running in VirtualBox? Anyone have it working properly?

2008-08-07 Thread Wijnand Wiersma
Richard Daemon schreef:
 OpenBSD 4.3 running in VirtualBox? Anyone have it working properly and
 if so,  how?

 Same problems as reported here: http://www.virtualbox.org/ticket/192

   
When you enable vt-x it works pretty stable for me, with the 1.5.x
series at least.
I did not try 1.6 with OpenBSD yet.

It is running a public jabber server for months now and everything is
used a lot: CPU, Memory and Disks.

However, I still think the Virtualbox way of virtualisation is wrong.

Wijnand



Re: acer aspire one dmesg?

2008-08-07 Thread Freddy DISSAUX
Le Wed, Aug 06, 2008 at 01:45:12PM +, Stuart Henderson icrivait:
 On 2008-08-06, Freddy DISSAUX [EMAIL PROTECTED] wrote:
  OpenBSD 4.4-beta (GENERIC.MP) #835: Mon Aug  4 12:50:17 MDT 2008
  [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
 
  Be careful whith re0, no mac address detected:
  re0 [ snip ] address 00:00:00:00:00:00
 
 Your snapshot is too old. :-)

It's true:

OpenBSD 4.4-beta (GENERIC.MP) #835: Mon Aug  4 12:50:17 MDT 2008
re0 at pci2 dev 0 function 0 Realtek 8101E rev 0x02: RTL8102EL
(0x2480), apic 4 int 17 (irq 11), address 00:00:00:00:00:00

OpenBSD 4.4-beta (GENERIC.MP) #837: Tue Aug  5 12:18:32 MDT 2008
re0 at pci2 dev 0 function 0 Realtek 8101E rev 0x02: RTL8102EL
(0x2480), apic 4 int 17 (irq 11), address 00:1e:68:93:1a:29

next step: wpa on ath



Re: How can I hire a PF developer or guru?

2008-08-07 Thread Peter N. M. Hansteen
Steve B [EMAIL PROTECTED] writes:

 Who would I contact, or how would I go about hiring a PF developer or guru
 to help me debug/improve my pf.conf rules?

You may have been contacted off-list already, but in general:

You could take a look at http://www.openbsd.org/support.html, or
find likely candidates among the people who are active on the mailing
lists.  Those who are in a position to take on an assignment like that
would likely respond within a reasonable time if you contact them
directly.

You would likely need to pay for time spent (at their consulting rate,
keep in mind that some firms have minimum charges equal to some number
of hours) and arrange for reasonable access (ssh or other) to relevant
equipment.  

Other requirements may surface in specific cases, but you get the
general drift.

- Peter

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
Remember to set the evil bit on all malicious network traffic
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



question about raidframe getting stuck

2008-08-07 Thread Harald Dunkel

Hi folks,

I've got a configuration issue with Raidframe: Our
gateway/firewall runs a raid1 for the system disk.
No swap partition.

Recently one of the raid disks (wd0) showed some
problem:

Aug  2 17:22:35 fw01 /bsd: wd0(pciide0:0:0): timeout
Aug  2 17:53:52 fw01 /bsd:  type: ata
Aug  2 17:53:52 fw01 /bsd:  c_bcount: 16384
Aug  2 17:53:52 fw01 /bsd:  c_skip: 0
Aug  2 17:53:52 fw01 /bsd: pciide0:0:0: bus-master DMA error: missing 
interrupt, status=0x21
Aug  2 17:53:52 fw01 /bsd: pciide0 channel 0: reset failed for drive 0
Aug  2 17:53:52 fw01 /bsd: wd0d: device timeout writing fsbn 46172704 of 
46172704-46172735 (wd0 bn 50368000; cn 49968 tn 4 sn 4), retrying
:
:
Aug  2 17:53:52 fw01 /bsd: wd0d: device timeout writing fsbn 46172704 of 
46172704-46172735 (wd0 bn 50368000; cn 49968 tn 4 sn 4)
Aug  2 17:53:52 fw01 /bsd: raid0: IO Error.  Marking /dev/wd0d as failed.
Aug  2 17:53:52 fw01 /bsd: raid0: node (Wpd) returned fail, rolling forward
Aug  2 17:53:52 fw01 /bsd: pciide0:0:0: not ready, st=0xd0BSY,DRDY,DSC, 
err=0x00
Aug  2 17:53:52 fw01 /bsd: pciide0 channel 0: reset failed for drive 0
Aug  2 17:53:52 fw01 /bsd: wd0d: device timeout writing fsbn 46137472 of 
46137472-46137503 (wd0 bn 50332768; cn 49933 tn 4 sn 52), retrying
:
:
Aug  2 17:53:53 fw01 /bsd: pciide0:0:0: not ready, st=0xd0BSY,DRDY,DSC, 
err=0x00
Aug  2 17:53:53 fw01 /bsd: pciide0 channel 0: reset failed for drive 0
Aug  2 17:53:53 fw01 /bsd: wd0d: device timeout writing fsbn 46152320 of 
46152320-46152343 (wd0 bn 50347616; cn 49948 tn 0 sn 32)
Aug  2 17:53:53 fw01 /bsd: raid0: node (Wpd) returned fail, rolling forward


Surely wd0 is defect. Can happen. But my problem is that the
machine became unresponsive for 30 minutes. Even a ping did
not work. This is not what I would expect from a raid system.

What would you suggest to reduce the waiting time? 2 minutes
would be OK, but 30 minutes downtime are a _huge_ problem.

Do I have to expect the same for a raid5 built from 9 disks, but
with a higher probability, because there are more disks in the
loop?


Regards

Harri



Re: question about raidframe getting stuck

2008-08-07 Thread Ariane van der Steldt
On Thu, Aug 07, 2008 at 09:27:24AM +0200, Harald Dunkel wrote:
 I've got a configuration issue with Raidframe: Our
 gateway/firewall runs a raid1 for the system disk.
 No swap partition.
 
 Recently one of the raid disks (wd0) showed some
 problem:
 
 Aug  2 17:22:35 fw01 /bsd: wd0(pciide0:0:0): timeout
 Aug  2 17:53:52 fw01 /bsd:  type: ata
 Aug  2 17:53:52 fw01 /bsd:  c_bcount: 16384
 Aug  2 17:53:52 fw01 /bsd:  c_skip: 0
 Aug  2 17:53:52 fw01 /bsd: pciide0:0:0: bus-master DMA error: missing 
 interrupt, status=0x21
 Aug  2 17:53:52 fw01 /bsd: pciide0 channel 0: reset failed for drive 0
 Aug  2 17:53:52 fw01 /bsd: wd0d: device timeout writing fsbn 46172704 of 
 46172704-46172735 (wd0 bn 50368000; cn 49968 tn 4 sn 4), retrying
 :
 :
 Aug  2 17:53:52 fw01 /bsd: wd0d: device timeout writing fsbn 46172704 of 
 46172704-46172735 (wd0 bn 50368000; cn 49968 tn 4 sn 4)
 Aug  2 17:53:52 fw01 /bsd: raid0: IO Error.  Marking /dev/wd0d as failed.
 Aug  2 17:53:52 fw01 /bsd: raid0: node (Wpd) returned fail, rolling forward
 Aug  2 17:53:52 fw01 /bsd: pciide0:0:0: not ready, st=0xd0BSY,DRDY,DSC, 
 err=0x00
 Aug  2 17:53:52 fw01 /bsd: pciide0 channel 0: reset failed for drive 0
 Aug  2 17:53:52 fw01 /bsd: wd0d: device timeout writing fsbn 46137472 of 
 46137472-46137503 (wd0 bn 50332768; cn 49933 tn 4 sn 52), retrying
 :
 :
 Aug  2 17:53:53 fw01 /bsd: pciide0:0:0: not ready, st=0xd0BSY,DRDY,DSC, 
 err=0x00
 Aug  2 17:53:53 fw01 /bsd: pciide0 channel 0: reset failed for drive 0
 Aug  2 17:53:53 fw01 /bsd: wd0d: device timeout writing fsbn 46152320 of 
 46152320-46152343 (wd0 bn 50347616; cn 49948 tn 0 sn 32)
 Aug  2 17:53:53 fw01 /bsd: raid0: node (Wpd) returned fail, rolling forward
 
 
 Surely wd0 is defect. Can happen. But my problem is that the
 machine became unresponsive for 30 minutes. Even a ping did
 not work. This is not what I would expect from a raid system.
 
 What would you suggest to reduce the waiting time? 2 minutes
 would be OK, but 30 minutes downtime are a _huge_ problem.
 
 Do I have to expect the same for a raid5 built from 9 disks, but
 with a higher probability, because there are more disks in the
 loop?

Your best bet is to replace the disk. 30 minutes wait time seems a bit
odd though. I have a similar situation where one disk is having
problems, requiring the disk to restart, but that only takes approx. a
minute. You can mark the disk as bad and replace it before the other
disk fails I guess (after all, there's not much point in relying on a
faulty disk).

Ciao,
Ariane



Re: postgresql

2008-08-07 Thread Ariane van der Steldt
On Thu, Aug 07, 2008 at 12:28:56AM -0400, bofh wrote:
 I'm looking at a project that I'm trying to run on openbsd.  All that
 box will have is postgresql.  At this time, it's just 2 programmers
 and 1 sysadmin type person that's involved, no DBAs, so apologies if
 the questions are... too simplistic.
 
 And I realize if I want to maximize performance, I need to examine
 OSes as well.  But at this point, I want to explore what is the
 biggest postgresql server I can run under openbsd.  If at all
 possible, I want to run everything in memory.
 
 What I'm looking for is what is the biggest database I can run on a 4
 socket (4 core per socket) AMD motherboard with 64GB or 128GB of Ram
 using a standard kernel?

PostgreSQL scales very well, but it depends a bit on what the data in
the database is and what types of queries you'll run on it.
If all you have are simple records (numbers and small bits of text) the
number of records can be huge for little bits of diskspace.
On the other hand, if you use lots of big records in your database (for
example images) size quickly increases.

The database at my work uses approximately 700MB for ~1000 images (for
the web, so the images are not that large).

The size of the database is also dependant on the number of concurrent
updates: each new or updated record is created in new diskspace, and old
records are cleaned up only periodically, and only if they are not in
use by any transaction.

As for running everything in memory: you'd probably want to maximize the
file-system buffers. I'd especially look into the inode cache, since in
my experience, inode lookups are the most expensive. If you are using a
hardware raid with a backup battery, you can turn on write-caching, so
the writes to disk are grouped together.

 For example, what should shmmax be set to?
 http://developer.postgresql.org/pgdocs/postgres/kernel-resources.html
 recommends several hundred megabytes.

postgresql.conf says that if I increase the number of connections, I
would need to have 400 bytes per connection, and I'd need to increase
shared_buffers, which is 16kB per connection. So it depends a bit on
the number of connections that you wish to support.

 I understand I may need to recompile the kernel.  Any recommendations
 for something that can run on 64/128GB ram, 16 cpus, running only
 postgresql?

I think shm settings are changeable via sysctl. So I think running a
generic.mp should do the trick. But I have no experience with large
databases with lots of concurrency under OpenBSD.
I imagine that on a 64-bit platform, you don't need to recompile a
kernel just to be able to use more shm memory.

 Thanks in advance.  I'm exploring what is possible at this point.  I
 realize I haven't given out more information, but I don't have that in
 hand yet.  But I'm interested in finding out what my top end is.
 Thanks!

I think the top end is actually dependant on the data contained in the
database.

Ciao,
Ariane



Re: OpenBSD 4.3 running in VirtualBox? Anyone have it working properly?

2008-08-07 Thread william dunand
2008/8/7 Jordi Beltran Creix [EMAIL PROTECTED]:
 I tried to run a recent i386 4.4 beta on a KVM/QEMU virtual machine
 under Ubuntu and there are some problems with the emulated network.
 The driver constantly reports timeouts.
 re0: watchdog timeout
 As a side effect the connection is very slow. I assume that doesn't
 happen on the actual hardware that QEMU is supposed to emulate, but
 other OSes don't have the same problem.

I had this problem too.
qemu allows you to work around it easily just by changing the model of
the emulated network card.
ne2k_pci is working just fine.

Cheers,
William



OpenBSD 4.3 running in VirtualBox? Anyone have it working properly?

2008-08-07 Thread Jordi Beltran Creix
Thanks, I had just found this out and was writing about it.
Apparently, KVM or the distributions have changed the default from
ne2k. Either way, rtl8139 works in real machines so it is unclear
whether the problem is a bug in OpenBSD or QEMU. 4.3 is affected as
well.

2008/8/7 william dunand [EMAIL PROTECTED]:
 2008/8/7 Jordi Beltran Creix [EMAIL PROTECTED]:
 I tried to run a recent i386 4.4 beta on a KVM/QEMU virtual machine
 under Ubuntu and there are some problems with the emulated network.
 The driver constantly reports timeouts.
 re0: watchdog timeout
 As a side effect the connection is very slow. I assume that doesn't
 happen on the actual hardware that QEMU is supposed to emulate, but
 other OSes don't have the same problem.

 I had this problem too.
 qemu allows you to work around it easily just by changing the model of
 the emulated network card.
 ne2k_pci is working just fine.

 Cheers,
 William



Re: question about raidframe getting stuck

2008-08-07 Thread Harald Dunkel

Ariane van der Steldt wrote:


Your best bet is to replace the disk. 30 minutes wait time seems a bit
odd though. I have a similar situation where one disk is having
problems, requiring the disk to restart, but that only takes approx. a
minute. You can mark the disk as bad and replace it before the other
disk fails I guess (after all, there's not much point in relying on a
faulty disk).



The problem is not replacing the disk, but how to avoid
30 minutes downtime due to some low level kernel routine
getting stuck.


Regards

Harri



RFID Reader

2008-08-07 Thread Conor
Are there any RFID readers supported by OpenBSD?

Regards,
Conor.



Re: question about raidframe getting stuck

2008-08-07 Thread Ariane van der Steldt
On Thu, Aug 07, 2008 at 11:41:59AM +0200, Harald Dunkel wrote:
 Ariane van der Steldt wrote:
  
  Your best bet is to replace the disk. 30 minutes wait time seems a bit
  odd though. I have a similar situation where one disk is having
  problems, requiring the disk to restart, but that only takes approx. a
  minute. You can mark the disk as bad and replace it before the other
  disk fails I guess (after all, there's not much point in relying on a
  faulty disk).
  
 
 The problem is not replacing the disk, but how to avoid
 30 minutes downtime due to some low level kernel routine
 getting stuck.

Mark it as a bad disk? If you do that, the raid code should do no more
requests to the disk.

Ariane



Re: question about raidframe getting stuck

2008-08-07 Thread nothingness

Harald Dunkel wrote:

Ariane van der Steldt wrote:


Your best bet is to replace the disk. 30 minutes wait time seems a bit
odd though. I have a similar situation where one disk is having
problems, requiring the disk to restart, but that only takes approx. a
minute. You can mark the disk as bad and replace it before the other
disk fails I guess (after all, there's not much point in relying on a
faulty disk).



The problem is not replacing the disk, but how to avoid
30 minutes downtime due to some low level kernel routine
getting stuck.


Regards

Harri

Presumably this was after a reboot? If so, the trick is to move the 
'raidctl -P all' line from /etc/rc to /etc/rc.local and add a '' so it 
runs as a background process.


Regards

Noth



Re: question about raidframe getting stuck

2008-08-07 Thread Harald Dunkel

nothingness wrote:
Presumably this was after a reboot? If so, the trick is to move the 
'raidctl -P all' line from /etc/rc to /etc/rc.local and add a '' so it 
runs as a background process.




There was no reboot involved. Before this event the machine was
running for weeks, and it is still running.


Regards

Harri



wpi (4) and 4.4

2008-08-07 Thread Mark Smith

Hi guys,

I've just seen the we are no longer in -beta commit.

Wpi doesn't seem to work with the 06/08 snapshot for me and I don't know 
if it is the same for other wpi owners out there. It wasn't working a 
couple of few months ago either  and it was reported on this list.


There was some  activity on wpi last weeks but no sign of fixing a
breakage.

If you got wpi working on the latest snapshots could you please let me 
know in case somehow my setup would be fucked up ...



Thanks for feedback.



Re: question about raidframe getting stuck

2008-08-07 Thread Harald Dunkel

Ariane van der Steldt wrote:

On Thu, Aug 07, 2008 at 11:41:59AM +0200, Harald Dunkel wrote:

Ariane van der Steldt wrote:

Your best bet is to replace the disk. 30 minutes wait time seems a bit
odd though. I have a similar situation where one disk is having
problems, requiring the disk to restart, but that only takes approx. a
minute. You can mark the disk as bad and replace it before the other
disk fails I guess (after all, there's not much point in relying on a
faulty disk).


The problem is not replacing the disk, but how to avoid
30 minutes downtime due to some low level kernel routine
getting stuck.


Mark it as a bad disk? If you do that, the raid code should do no more
requests to the disk.



Seems we have some misunderstanding here. I am talking about
future events. Of course I don't know in advance which disk
fails when. If a disk dies, then its the job of raidframe to
detect this event, to mark the disk as bad, and to provide the
basic service with the remaining disks, as far as possible.

Looking at the log file it seems that raidframe _did_ mark
the disk as bad:

:
Aug  2 17:53:52 fw01 /bsd: raid0: IO Error.  Marking /dev/wd0d as failed.
Aug  2 17:53:52 fw01 /bsd: raid0: node (Wpd) returned fail, rolling forward
:

And yet the machine became unresponsive for 30 minutes.
This took much too long.


Regards

Harri



-kernel-kqemu, WinXP guest on August 3 Snapshot

2008-08-07 Thread Protocol Six Consulting

Hi,  :-)

I am trying to run a WinXP guest OS on qemu with the -kernel-kqemu 
command-line option.
Kqemu was installed on OBSD using the August 3 Snapshot package, and 
loads normally on system boot (see end of dmsg)


Running Windoze works fine on qemu *without* the -kernel-kqemu option 
specified, but when I use that option
XP always bluescreens right after a successful (Windows) log-in. 
In other words I can run kqemu fine in User Code mode only.


Still troubleshooting this, but so far I know that the bluescreen does 
not happen when Windoze is run in Safe Mode (which implies to me that 
some Windows driver is interacting badly with kqemu kernel code mode)


Has anyone else seen this issue?
Any insights and/or solutions?

Thanks in advance.

Dre


P.S.:   dmseg below

OpenBSD 4.4-beta (GENERIC) #1012: Sun Aug  3 09:57:38 MDT 2008
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Mobile Intel(R) Pentium(R) III CPU - M 1333MHz (GenuineIntel 
686-class) 1.33 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE

real mem  = 1072115712 (1022MB)
avail mem = 1028255744 (980MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/01/04, BIOS32 rev. 0 @ 0xffe90, 
SMBIOS rev. 2.3 @ 0xf7760 (58 entries)

bios0: vendor Dell Computer Corporation version A12 date 03/01/2004
bios0: Dell Computer Corporation Latitude C400
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 99%
apm0: AC off, battery charge high, estimated 1:01 hours
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfbbb0/208 (11 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371 ISA and IDE 
rev 0x00)

pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0xc800! 0xcc800/0x800! 0xcd000/0x800 
0xcd800/0x800 0xce000/0x800 0xce800/0x800 0xcf000/0x800 0xcf800/0x800

cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82830M Host rev 0x04
vga1 at pci0 dev 2 function 0 Intel 82830M Video rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: aperture at 0xe000, size 0x800
drm at vga1 unsupported
Intel 82830M Video rev 0x00 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 29 function 0 Intel 82801CA/CAM USB rev 0x02: irq 11
ppb0 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x42
pci1 at ppb0 bus 1
xl0 at pci1 dev 0 function 0 3Com 3c905C 100Base-TX rev 0x78: irq 11, 
address 00:0b:db:0b:3a:7e

exphy0 at xl0 phy 24: 3Com internal media interface
cbb0 at pci1 dev 1 function 0 TI PCI1410 CardBus rev 0x02: irq 11
ral0 at pci1 dev 3 function 0 Ralink RT2560 rev 0x01: irq 11, address 
00:13:d3:75:00:4b

ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0x20
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 Intel 82801CAM LPC rev 0x02: 24-bit 
timer at 3579545Hz
pciide0 at pci0 dev 31 function 1 Intel 82801CAM IDE rev 0x02: DMA, 
channel 0 configured to compatibility, channel 1 configured to compatibility

wd0 at pciide0 channel 0 drive 0: ST980815A
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: channel 1 ignored (disabled)
auich0 at pci0 dev 31 function 5 Intel 82801CA/CAM AC97 rev 0x02: irq 
11, ICH3 AC97

ac97: codec id 0x4352595b (Cirrus Logic CS4205 rev 3)
ac97: codec features mic channel, tone, simulated stereo, bass boost, 20 
bit DAC, 18 bit ADC, SRS 3D

audio0 at auich0
Intel 82801CA/CAM Modem rev 0x02 at pci0 dev 31 function 6 not configured
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask ef6d netmask ef6d ttymask 
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
kqemu: kqemu version 0x00010300 loaded, max locked mem=523492kB
DDB symbols added: 320672 bytes



Re: wpi (4) and 4.4

2008-08-07 Thread Gilles Chehade
On Thu, Aug 07, 2008 at 12:31:56PM +0200, Mark Smith wrote:
 Hi guys,
 
 I've just seen the we are no longer in -beta commit.
 
 Wpi doesn't seem to work with the 06/08 snapshot for me and I don't know 
 if it is the same for other wpi owners out there. It wasn't working a 
 couple of few months ago either  and it was reported on this list.
 
 There was some  activity on wpi last weeks but no sign of fixing a
 breakage.
 
 If you got wpi working on the latest snapshots could you please let me 
 know in case somehow my setup would be fucked up ...
 
 
 Thanks for feedback.
 

I use wpi quite a lot with recent snapshot and it works fine for me
except for a loss of connection now and then.

Just to make sure, did you read the FILES section of wpi(4) ?

Gilles

-- 
Gilles Chehade
http://www.poolp.org/~gilles/
Please, contribute to my happiness ;)
http://www.amazon.com/gp/registry/wishlist/2O09ACKR1A8HD/



Re: wpi (4) and 4.4

2008-08-07 Thread Peter N. M. Hansteen
Mark Smith [EMAIL PROTECTED] writes:

 If you got wpi working on the latest snapshots could you please let me
 know in case somehow my setup would be fucked up ...

august 5th snapshot working OK with wpi here (as in, no worse than
usual), I was just about to upgrade my laptop to the Aug 6th one after
some urgent matters have been put to bed.

my wpi is

wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: apic 2 int 
17 (irq 11), MoW2, 

- P

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
Remember to set the evil bit on all malicious network traffic
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: OpenBSD 4.3 running in VirtualBox? Anyone have it working properly?

2008-08-07 Thread Vinicius Vianna

Jordi Beltran Creix escreveu:

I tried to run a recent i386 4.4 beta on a KVM/QEMU virtual machine
under Ubuntu and there are some problems with the emulated network.
The driver constantly reports timeouts.
  

re0: watchdog timeout

It's much better to use the e1000 network driver into KVM/QEMU, that 
will translate to the intel em driver into OpenBSD, witch runs much 
better without watchdogs warnings.


Vinicius Vianna



Re: OpenBSD 4.3 running in VirtualBox? Anyone have it working properly?

2008-08-07 Thread Mathieu SEGAUD
Vous m'avez dit ricemment :

 Thanks, I had just found this out and was writing about it.
 Apparently, KVM or the distributions have changed the default from
 ne2k. Either way, rtl8139 works in real machines so it is unclear
 whether the problem is a bug in OpenBSD or QEMU. 4.3 is affected as
 well.

timeouts on re(4) network iface happen on OpenBSD *and* DragonFly
*and* FreeBSD. Guess, at least, KVM/Qemu does indeed something the
wrong way.

-- 
Mathieu



Re: RFID Reader

2008-08-07 Thread Duncan Patton a Campbell
On Thu, 7 Aug 2008 10:46:40 +0100
Conor [EMAIL PROTECTED] wrote:

 Are there any RFID readers supported by OpenBSD?
 
 Regards,
 Conor.
 
 

This:

http://www.openpcd.org/

claims to be an open design with GPL'd drivers,

but this

http://www.motorola.com/business/v/index.jsp?vgnextoid=1722e90e3ae95110VgnVCM108406b00aRCRD

should be fairly trivial to make work with OBSD, despite being a Windoze CE box 
as
it has numerous open interfaces and claims to talk to SAP and IBM stuff ...

The question of being supported is misleading as most of these devices will
be designed to operate using standard industrial interfaces.

Dhu



Re: wpi (4) and 4.4

2008-08-07 Thread Mark Smith

Peter N. M. Hansteen wrote:


If you got wpi working on the latest snapshots could you please let me
know in case somehow my setup would be fucked up ...


august 5th snapshot working OK with wpi here (as in, no worse than
usual), I was just about to upgrade my laptop to the Aug 6th one after
some urgent matters have been put to bed.

my wpi is

wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: apic 2 int 17 (irq 11), MoW2, 


- P



Ok guys thanks for your input.

My wpi is :

wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: irq 
 10, MoW2, address somemacaddress


The firmware was not the problem as it didn't seem to change between 4.3 
and 4.4. Still at the same version.


I turned off wep encryption and I could associate with my AP and get an 
IP via DHCP ...


I could ping the net and less than 1min later i get :

wpi0: fatal firmware error
wpi0: timeout waiting for adapter to initialize

I will try to debug that later when I have more time. Seems like wep was 
the problem. With 4.3 it works straight up though.



Thanks for your help. For the record dmesg follows.


OpenBSD 4.4 (GENERIC) #1016: Wed Aug  6 00:07:08 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Genuine Intel(R) CPU T2050 @ 1.60GHz (GenuineIntel 686-class) 
1.60 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,EST,TM2,xTPR

real mem  = 1063284736 (1014MB)
avail mem = 1019695104 (972MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/30/06, BIOS32 rev. 0 @ 0xfd600, 
SMBIOS rev. 2.31 @ 0xdc010 (36 entries)

bios0: vendor Phoenix Technologies LTD version 2.00 date 08/30/2006
bios0: TOSHIBA EQUIUM A100
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC HPET MCFG BOOT APIC SSDT SSDT SSDT
acpi0: wakeup devices HDEF(S4) PXS1(S4) PXS2(S4) PXS3(S4) LANC(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEGP)
acpiprt2 at acpi0: bus 2 (RP01)
acpiprt3 at acpi0: bus 3 (RP02)
acpiprt4 at acpi0: bus 5 (RP03)
acpiprt5 at acpi0: bus 7 (PCIB)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpitz0 at acpi0: critical temperature 106 degC
acpitz1 at acpi0: critical temperature 96 degC
acpitz1: TZ01: failed to read _AC0
acpitz1: TZ01: failed to read _PSV
acpibtn0 at acpi0: LID_
acpibat0 at acpi0: BAT0 model PA3399U-2BAS/BRS serial D754 type Li-ion
acpiac0 at acpi0: AC unit offline
acpibtn1 at acpi0: PWRB
acpidock at acpi0 not configured
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
bios0: ROM list: 0xc/0xe600! 0xce800/0x1800 0xdc000/0x4000! 
0xe/0x1800!

cpu0 at mainbus0
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130c2c06000613
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 800 MHz (1004 mV): speeds: 1600, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: aperture at 0xc000, size 0x1000
drm at vga1 unsupported
Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: irq 10
azalia0: codec[s]: Realtek/0x0861, ATT/Lucent/0x3026, using Realtek/0x0861
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: irq 11
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: irq 11
pci2 at ppb1 bus 3
ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: irq 10
pci3 at ppb2 bus 5
wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: irq 
10, MoW2, address somemacaddress

uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: irq 11
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: irq 10
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: irq 10
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: irq 11
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2
pci4 at ppb3 bus 7
cbb0 at pci4 dev 6 function 0 TI PCIXX12 CardBus rev 0x00: irq 10, 
CardBus support disabled

TI PCIXX12 FireWire rev 0x00 at pci4 dev 6 function 1 not configured
TI PCIXX12 Multimedia Card Reader rev 0x00 at pci4 dev 6 function 2 
not configured

sdhc0 at pci4 dev 6 function 3 TI PCIXX12 Secure Data rev 0x00: irq 10
sdmmc0 at sdhc0
fxp0 at pci4 dev 8 function 0 Intel PRO/100 VM rev 0x02, i82562: irq 
10, address somemacaddress

inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0
cardslot0 at cbb0 slot 0 flags 0
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM 
disabled

Re: wpi (4) and 4.4

2008-08-07 Thread Peter N. M. Hansteen
Mark Smith [EMAIL PROTECTED] writes:

 wpi0: fatal firmware error
 wpi0: timeout waiting for adapter to initialize

I've tended to get those exact messages too, at pretty random
intervals, but a lot less often over the last few months' worth of
snapshots (turned a lot better around 4.3-time).  I've tended to
attribute those to buggy firmware and the OpenBSD driver's learning to
hit the thing over the head at the right moments.  My wife's Dell
running Ubuntu suffers a somewhat less well made Linux driver for the
same circuitry, tends to need resetting.

And oh, yes, the machine in question is a ThinkPad R60:

OpenBSD 4.4-beta (GENERIC.MP) #836: Mon Aug  4 19:30:07 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
real mem  = 2145808384 (2046MB)
avail mem = 2066423808 (1970MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 05/22/07, BIOS32 rev. 0 @ 0xfd690, SMBIOS 
rev. 2.4 @ 0xe0010 (68 entries)
bios0: vendor LENOVO version 7CETC7WW (2.17 ) date 05/22/2007
bios0: LENOVO 946154G
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4) 
EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(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 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: duplicate apic id, remapped to apid 2
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpicpu1 at acpi0: C3, C2
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 42T4504 serial   308 type LION oem SANYO
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock at acpi0 not configured
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
bios0: ROM list: 0xc/0xfe00 0xd/0x1600 0xd1800/0x1000 0xdc000/0x4000! 
0xe/0x1!
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130b2c06000b2c
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1833 MHz (1404 mV): speeds: 1833, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03: apic 2 int 16 (irq 
11)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1400 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: no integrated graphics
drm at vga1 unsupported
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 2 int 
17 (irq 11)
azalia0: codec[s]: Analog Devices/0x1981, Conexant/0x2bfa, using Analog 
Devices/0x1981
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 2 int 20 
(irq 11)
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 Broadcom BCM5751M rev 0x21, BCM5750 C1 
(0x4201): apic 2 int 16 (irq 11), address 00:16:d3:27:bd:fd
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 2 int 21 
(irq 11)
pci3 at ppb2 bus 3
wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: apic 2 int 
17 (irq 11), MoW2, address 00:13:02:9c:37:74
ppb3 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 2 int 22 
(irq 11)
pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: apic 2 int 23 
(irq 11)
pci5 at ppb4 bus 12
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 2 int 16 
(irq 11)
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 2 int 17 
(irq 11)
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 2 int 18 
(irq 11)
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 2 int 19 
(irq 11)
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 2 int 19 
(irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 Intel 82801BAM 

Re: OpenBSD 4.3 running in VirtualBox? Anyone have it working properly?

2008-08-07 Thread pizdelect
On Thu, Aug 07, 2008 at 05:43:23AM +0100, Tomas Bodzar wrote:
 4.3 runs fine on many PCs in Qemu as I tested 
 (Kubuntu,Mandriva,OpenSUSE,Windows).4.4 is Beta,so there may be problems.
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jordi Beltran 
 Creix
 Sent: Thursday, August 07, 2008 5:56 AM
 To: misc@openbsd.org
 Subject: Re: OpenBSD 4.3 running in VirtualBox? Anyone have it working 
 properly?
 
 I tried to run a recent i386 4.4 beta on a KVM/QEMU virtual machine under 
 Ubuntu and there are some problems with the emulated network.
 The driver constantly reports timeouts.
  re0: watchdog timeout
 As a side effect the connection is very slow. I assume that doesn't happen on 
 the actual hardware that QEMU is supposed to emulate, but other OSes don't 
 have the same problem.

That's too easy to fix, if recompiling qemu doesn't scare you.

Pick this, from the FreeBSD's qemu patches:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/emulators/qemu/files/rtl8139-re-patch?rev=1.1



Re: DOJ Incompetence and corruption

2008-08-07 Thread Ed Ahlsen-Girard (TYBRIN Corp.)
-Original Message-
From: james dandey [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2008 10:06 PM
To: misc@openbsd.org
Subject: DOJ Incompetence and corruption

For those that do not know,  DOJ is department of justice.

Incompetence and corruption cost an innocent man, Irvins,  his life.

The FBI have been harassing me for 15 years.  I have posted many emails
to
this
list with a variety of descriptions of what has happened to me. DOJ
investigators
purposely try to drive suspects to suicide in cases lacking substantial
evidence.

It not only occurs in  the FBI but across all agencies of the DOJ.
Congress
urgently
needs to look into the problems at the DOJ.

A PhD Chemist employed at the FBI's criminal investigation lab claims
out
right criminal
tampering of evidence.

I will testify under oath the things done to me over that past 15 years
and
like Abu Graib  it is far worse than most realize.

If you want a custom implementation of US Federal law enforcement in
OpenBSD, you need to start working on it yourself, and I don't think
you'd be able to talk Theo into putting it into base before 4.7 no
matter what.



Incorrect kate(4) tempatures

2008-08-07 Thread Wade, Daniel
The acpitz and lm readings look correct.  But the kate isn't even close.

hw.sensors.acpitz0.temp0=31.05 degC (zone temperature)
hw.sensors.kate0.temp0=-1.25 degC
hw.sensors.kate0.temp1=-8.00 degC
hw.sensors.kate0.temp2=0.25 degC
hw.sensors.kate0.temp3=7.50 degC
hw.sensors.lm1.temp0=35.00 degC
hw.sensors.lm1.temp1=31.50 degC
hw.sensors.lm1.temp2=41.00 degC

OpenBSD 4.4 (GENERIC.MP) #1808: Wed Aug  6 00:19:35 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2132963328 (2034MB)
avail mem = 2071121920 (1975MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf (41 entries)
bios0: vendor Phoenix Technologies, LTD version 6.00 PG date 11/19/2007
bios0: Unknow Unknow
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP SSDT HPET MCFG APIC
acpi0: wakeup devices HUB0(S5) XVR0(S5) XVR1(S5) XVR2(S5) XVR3(S5) UAR1(S5)
USB0(S3) USB2(S3) AZAD(S5) MMAC(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 2500 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+, 2612.48 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,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 5000+, 2612.04 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,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
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (HUB0)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpitz0 at acpi0: critical temperature 90 degC
acpibtn0 at acpi0: PWRB
cpu0: PowerNow! K8 2612 MHz: speeds: 2600 2400 2200 2000 1800 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1
NVIDIA MCP65 Memory rev 0xa1 at pci0 dev 0 function 0 not configured
pcib0 at pci0 dev 1 function 0 NVIDIA MCP65 ISA rev 0xa2
nviic0 at pci0 dev 1 function 1 NVIDIA MCP65 SMBus rev 0xa1
iic0 at nviic0
iic0: addr 0x2e 00=c1 01=0f 02=00 03=00 04=00 05=00 06=00 07=c0 08=14 09=62
10=02 11=00 12=00 words 00=c1ff 01=0fff 02=00ff 03=00ff 04=00ff 05=00ff
06=00ff 07=c0ff
iic0: addr 0x2f 00=00 01=0c 03=00 13=00 words 00=00ff 01=0cff 02= 03=00ff
04= 05= 06= 07=
spdmem0 at iic0 addr 0x52: 1GB DDR2 SDRAM non-parity PC2-6400CL5
spdmem1 at iic0 addr 0x53: 1GB DDR2 SDRAM non-parity PC2-6400CL5
iic1 at nviic0
NVIDIA MCP65 Memory rev 0xa1 at pci0 dev 1 function 2 not configured
ohci0 at pci0 dev 2 function 0 NVIDIA MCP65 USB rev 0xa1: apic 2 int 10 (irq
10), version 1.0, legacy support
ehci0 at pci0 dev 2 function 1 NVIDIA MCP65 USB rev 0xa1: apic 2 int 11 (irq
11)
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 8 function 0 NVIDIA MCP65 PCI rev 0xa1
pci1 at ppb0 bus 1
emu0 at pci1 dev 7 function 0 Creative Labs SoundBlaster Audigy rev 0x04:
apic 2 int 10 (irq 10)
ac97: codec id 0x83847609 (SigmaTel STAC9721/23)
ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at emu0
Creative Labs SoundBlaster Audigy Digital rev 0x04 at pci1 dev 7 function 1
not configured
Creative Labs Firewire rev 0x04 at pci1 dev 7 function 2 not configured
pciide0 at pci0 dev 9 function 0 NVIDIA MCP65 IDE rev 0xa1: DMA, channel 0
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: LITE-ON, DVDRW SHM-165P6S, MS0K ATAPI 5/cdrom
removable
wd0 at pciide0 channel 0 drive 1: ST380011A
wd0: 16-sector PIO, LBA48, 76293MB, 15625 sectors
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
wd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5
pciide0: channel 1 ignored (disabled)
pciide1 at pci0 dev 10 function 0 NVIDIA MCP65 SATA rev 0xa1: DMA
pciide1: using apic 2 int 11 (irq 11) for native-PCI interrupt
wd1 at pciide1 channel 0 drive 0: ST3250824AS
wd1: 16-sector PIO, LBA48, 238418MB, 488281250 sectors
wd2 at pciide1 channel 0 drive 1: ST3500630AS
wd2: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
wd1(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
wd2(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 5
ppb1 at pci0 dev 11 function 0 vendor NVIDIA, unknown product 0x045b rev
0xa1
pci2 at ppb1 

Re: DOJ Incompetence and corruption

2008-08-07 Thread Tomas Bodzar
You can change this.



Don't vote for clauns (Bush,Obama,Cain,) in big circus (vote for 
president).We can't repair mistakes of people,which are thinking,that they have 
democracy.We have own problems.Repair problems in your country by yourself 
(all people),than you can look around for other problems.



It's like with China.Olympic games was known so many years,that they will be 
there and now it starts and everybody has full mouth of human rights.



What about Iraq,Afganistan (Great Britain and CCCP loose there too),Jugoslavia 
and others?We know totality,it's not so long where we had it,maybe it's your 
time.



So please stop about these things.OpenBSD (as I can think) can't help you with 
this.



-Original Message-

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of james dandey

Sent: Thursday, August 07, 2008 5:06 AM

To: misc@openbsd.org

Subject: DOJ Incompetence and corruption



For those that do not know,  DOJ is department of justice.



Incompetence and corruption cost an innocent man, Irvins,  his life.



The FBI have been harassing me for 15 years.  I have posted many emails to this 
list with a variety of descriptions of what has happened to me. DOJ 
investigators purposely try to drive suspects to suicide in cases lacking 
substantial evidence.



It not only occurs in  the FBI but across all agencies of the DOJ. Congress 
urgently needs to look into the problems at the DOJ.



A PhD Chemist employed at the FBI's criminal investigation lab claims out right 
criminal tampering of evidence.



I will testify under oath the things done to me over that past 15 years and 
like Abu Graib  it is far worse than most realize.




Re: tablec - show all addresses in pf table

2008-08-07 Thread Duncan Patton a Campbell
On Wed, 6 Aug 2008 22:04:52 +0200
Joachim Schipper [EMAIL PROTECTED] wrote:

 On Wed, Aug 06, 2008 at 11:32:53AM -0500, John Brooks wrote:
  tablec allows me to add or remove pf table entries with
  an unprivileged userland account. is there a method to
  produce a listing of all addresses in a pf table with
  an unprivileged userland account?
 
 If this is for interactive use, why not just stick with sudo?
 
 Otherwise, a trivial suided wrapper could work. If you have some coding
 skills, extending tabled shouldn't be too hard, either - it appears to
 be a pretty simple program.
 
   Joachim
 
 

Um, what's tablec?  Can't find any refs to it.

Dhu



Re: postgresql

2008-08-07 Thread Dave Wilson

bofh wrote:

Hi all,
I'm looking at a project that I'm trying to run on openbsd.  All that
box will have is postgresql.  At this time, it's just 2 programmers
and 1 sysadmin type person that's involved, no DBAs, so apologies if
the questions are... too simplistic.

And I realize if I want to maximize performance, I need to examine
OSes as well.  But at this point, I want to explore what is the
biggest postgresql server I can run under openbsd.  If at all
possible, I want to run everything in memory.

What I'm looking for is what is the biggest database I can run on a 4
socket (4 core per socket) AMD motherboard with 64GB or 128GB of Ram
using a standard kernel?

For example, what should shmmax be set to?
http://developer.postgresql.org/pgdocs/postgres/kernel-resources.html
recommends several hundred megabytes.

I understand I may need to recompile the kernel.  Any recommendations
for something that can run on 64/128GB ram, 16 cpus, running only
postgresql?

Thanks in advance.  I'm exploring what is possible at this point.  I
realize I haven't given out more information, but I don't have that in
hand yet.  But I'm interested in finding out what my top end is.
Thanks!




I couldn't tell you how big it can go, but to give you some idea of
resources needed and tuning options, take a look at

http://www.network-theory.co.uk/docs/postgresql/vol3/SharedMemoryandSemaphores.html

As well as discussing how to tune kernel parameters to give enough
resources for a given number of concurrent Postgres connections, it
describes how to set those parameters on a variety of OSes, including
specifics for OpenBSD.

Dave W.



Re: wpi (4) and 4.4

2008-08-07 Thread Mark Smith

Ok so I have done some tests.

Was fiddling a little bit with wep/no wep options on my router, lots of
$ sudo sh /etc/netstart on the client ... Then got the same fatal errors 
plus a new error :


ifconfig: SIOCS80211CHANNEL: invalid argument

Oki so now looks like you don't like the channel I am using (channel 3).

$ sudo ifconfig wpi0 chan 3
ifconfig: SIOCS80211CHANNEL: invalid argument
$ sudo ifconfig wpi0 chan 4
Ok it likes chan 4 ...
$ sudo ifconfig wpi0 chan 3
$ echo $?
0
Ok no problems with chan 3 anymore.

After some more fiddling I think I found a different behavior with wep 
keys handling in 4.4 (or maybe my PC is just fucked up, or myself ;) ).


I was actually using several wep keys on my router (Linksys WRT54G shit)
So in order to work on 4.3 I had to use this notation according to 
man(8)ifconfig :


n:k1,k2,k3,k4 where n specifies which key to use and k1 through k4 the 
keys (passwords).


On my router I had the 3rd key in use so my /etc/hostname.wpi0 file 
looked like that :


dhcp NONE NONE mode 11g chan 3 nwid myid nkey 3:password,P455W0RD,bla,blabla

Which did not work anymore with 4.4.

So what I have found is if you always keep n=1 in 4.4, whether you use 
n=2 or n=3 on the router ... It always works ...



Can someone confirm that or am I crazy ? ( In the latter case I won't 
bother you anymore ;) ).



Thank you.



Re: postgresql

2008-08-07 Thread Jim Razmus
* bofh [EMAIL PROTECTED] [080807 00:32]:
 Hi all,
 I'm looking at a project that I'm trying to run on openbsd.  All that
 box will have is postgresql.  At this time, it's just 2 programmers
 and 1 sysadmin type person that's involved, no DBAs, so apologies if
 the questions are... too simplistic.
 
 And I realize if I want to maximize performance, I need to examine
 OSes as well.  But at this point, I want to explore what is the
 biggest postgresql server I can run under openbsd.  If at all
 possible, I want to run everything in memory.
 
 What I'm looking for is what is the biggest database I can run on a 4
 socket (4 core per socket) AMD motherboard with 64GB or 128GB of Ram
 using a standard kernel?
 
 For example, what should shmmax be set to?
 http://developer.postgresql.org/pgdocs/postgres/kernel-resources.html
 recommends several hundred megabytes.
 
 I understand I may need to recompile the kernel.  Any recommendations
 for something that can run on 64/128GB ram, 16 cpus, running only
 postgresql?
 
 Thanks in advance.  I'm exploring what is possible at this point.  I
 realize I haven't given out more information, but I don't have that in
 hand yet.  But I'm interested in finding out what my top end is.
 Thanks!
 

Sounds like you really need a DBA / Postgresql expert to build this out
for you.  Putting everything in RAM can actually hurt you for some work
loads.  Sizing, tuning, etc only get you so far.  Schema design,
indexing, query tuning / application access paths can have far more
effect on performance and concurrency.

If your project is big enough to demand 16 cpus and that much RAM, you
should be able to afford a DBA.

Jim



Re: tablec - show all addresses in pf table

2008-08-07 Thread Protocol Six Consulting

Hi,

As I recently learned ...

Tablec (i.e. Table Client?!) is part of /sysutils/tabled in Ports

Dre



Duncan Patton a Campbell wrote:

On Wed, 6 Aug 2008 22:04:52 +0200
Joachim Schipper [EMAIL PROTECTED] wrote:


On Wed, Aug 06, 2008 at 11:32:53AM -0500, John Brooks wrote:

tablec allows me to add or remove pf table entries with
an unprivileged userland account. is there a method to
produce a listing of all addresses in a pf table with
an unprivileged userland account?

If this is for interactive use, why not just stick with sudo?

Otherwise, a trivial suided wrapper could work. If you have some coding
skills, extending tabled shouldn't be too hard, either - it appears to
be a pretty simple program.

Joachim




Um, what's tablec?  Can't find any refs to it.

Dhu




Re: -kernel-kqemu, WinXP guest on August 3 Snapshot

2008-08-07 Thread Frank Bax

Protocol Six Consulting wrote:

Hi,  :-)

I am trying to run a WinXP guest OS on qemu with the -kernel-kqemu 
command-line option.
Kqemu was installed on OBSD using the August 3 Snapshot package, and 
loads normally on system boot (see end of dmsg)


Running Windoze works fine on qemu *without* the -kernel-kqemu option 
specified, but when I use that option
XP always bluescreens right after a successful (Windows) log-in. In 
other words I can run kqemu fine in User Code mode only.


Still troubleshooting this, but so far I know that the bluescreen does 
not happen when Windoze is run in Safe Mode (which implies to me that 
some Windows driver is interacting badly with kqemu kernel code mode)


Has anyone else seen this issue?
Any insights and/or solutions?




I created a WinXP guest system one year ago; just out of idle curiosity. 
 WinXP has only one user without password, so login is automatic. 
There is no additional software installed.  I'm running Jul31 snapshot 
and packages.  I ran three tests:


1) Boots fine.  checked desktop properties.  Shutdown locked up system 
(had to power cycle).
2) started top first with 1-sec update cycle.  WinXP boots fine; 
shutdown fine.
3) With top still running; bootup locks up system; top stops updating; 
had to power cycle.


I have a Win98 guest that crashes with -kernel-kqemu
Windows protections error.  You need to restart your computer.

Frank



Re: RFID Reader

2008-08-07 Thread Conor
On Thu, Aug 7, 2008 at 1:05 PM, Duncan Patton a Campbell 
[EMAIL PROTECTED] wrote:

 On Thu, 7 Aug 2008 10:46:40 +0100
 Conor [EMAIL PROTECTED] wrote:

  Are there any RFID readers supported by OpenBSD?
 
  Regards,
  Conor.
 
 

 This:

 http://www.openpcd.org/

 claims to be an open design with GPL'd drivers,

 but this


 http://www.motorola.com/business/v/index.jsp?vgnextoid=1722e90e3ae95110VgnVCM108406b00aRCRD

 should be fairly trivial to make work with OBSD, despite being a Windoze CE
 box as
 it has numerous open interfaces and claims to talk to SAP and IBM stuff ...

 The question of being supported is misleading as most of these devices
 will
 be designed to operate using standard industrial interfaces.

 Dhu


Thanks Duncan,

The OpenPCD is what I was hoping would work with OBSD, I just don't have
access to the hardware yet to try it. On a FreeBSD host most of these just
appear with ugen0 and thats about as far as it will go. I'll look into the
Motorola but I'm not willing to committ to buying something that isn't going
to work, however the same could be said for the OpenPCD. Although at least I
know that OpenPCD will unfortunately work with something like Debian or
Slackware as a last resort. If I can get the hardware to work with OpenBSD
it'll just be a case then afterwards of getting librfid to work. At the
moment I'm trying to get the Omnikey 5121 to work while I await the OpenPCD
reader. It is not going well as one might imagine.

ATB,
Conor.



NEED A CLUSTER W/ MORE THAN 2 SERVERS

2008-08-07 Thread Thomaz Portella
Please,
Now I am using 2 servers with CARP load balance.
But I need to increase this system to more than 2 servers.
How can I do it ?
Thanks in advance,

 Thomaz Portella.



Re: postgresql

2008-08-07 Thread bofh
On Thu, Aug 7, 2008 at 9:48 AM, Jim Razmus [EMAIL PROTECTED] wrote:

 If your project is big enough to demand 16 cpus and that much RAM, you
 should be able to afford a DBA.


Yes.  I agree.  And when it gets to that point, I will have a dba.  But I am
a worrier, and would like to get started earlier rather than later.  Also, I
want to see if we're heading down the wrong way, so to speak.

Thanks.



-- 
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: tablec - show all addresses in pf table

2008-08-07 Thread Joachim Schipper
On Thu, Aug 07, 2008 at 07:08:37AM -0600, Duncan Patton a Campbell
wrote:
 On Wed, 6 Aug 2008 22:04:52 +0200
 Joachim Schipper [EMAIL PROTECTED] wrote:
  On Wed, Aug 06, 2008 at 11:32:53AM -0500, John Brooks wrote:
   tablec allows me to add or remove pf table entries with
   an unprivileged userland account. [Question]
  [Answer]

 Um, what's tablec?  Can't find any refs to it.

It's the client part of sysutils/tabled (see the tarballs at
http://www.etc.msys.ch/software/tabled/).

Joachim



Re: tablec - show all addresses in pf table

2008-08-07 Thread John Brooks
package:  tabled-1.0.5

tablec is the client to manipulate pf tables through tabled

--
John Brooks
[EMAIL PROTECTED]



-Original Message-
From: [EMAIL PROTECTED] On Behalf Of Duncan Patton a Campbell

...

Um, what's tablec?  Can't find any refs to it.

Dhu



Re: -kernel-kqemu, WinXP guest on August 3 Snapshot

2008-08-07 Thread Chris Kuethe
On Thu, Aug 7, 2008 at 3:40 AM, Protocol Six Consulting
[EMAIL PROTECTED] wrote:
 Has anyone else seen this issue?
 Any insights and/or solutions?

At least FPU instructions are broken when kqemu is at all active. I've
seen all kinds of breakage under WinXP, Ubuntu and OpenBSD when using
kqemu: window layout is wrong, progress bars jump around and time
estimates are garbage, simple arithmetic like repeatedly multiplying
1.0 * 2.0 * 0.5 doesn't work...

It's not just winxp either - an OpenBSD guest won't boot with
-kernel-kqemu either.

-- 
GDB has a 'break' feature; why doesn't it have 'fix' too?



Re: tab gets lost on display

2008-08-07 Thread Christian Weisgerber
Ingo Schwarze [EMAIL PROTECTED] wrote:

 In other words, a tab never makes xterm wrap to the next line.

This matches VT220 behavior.

 What i do not yet understand is why xterm has -oxtabs
 by default but the terminfo(5) database has no OTpt for it.
 Isn't that inconsistent?

I don't follow.  Our ttys default to oxtabs.  xterm has nothing to
do with it.  The pt flag is obsolete.  Its lack doesn't bother
curses(3), which still sets -oxtabs in cbreak mode.

 Now, *IF* xterm is supposed to emulate VT220 and thus xterm default
 behaviour is considered correct,

Yes, it is.

-- 
Christian naddy Weisgerber  [EMAIL PROTECTED]



Re: RFID Reader

2008-08-07 Thread Conor
On Thu, Aug 7, 2008 at 1:12 PM, Joachim Schipper [EMAIL PROTECTED]
 wrote:

 On Thu, Aug 07, 2008 at 10:46:40AM +0100, Conor wrote:
  Are there any RFID readers supported by OpenBSD?

 Don't most readers communicate with the host PC over some common
 protocol, say RS232 (serial), or maybe USB? OpenBSD will allow you to
 access those, so if you find or write a program that can communicate
 with the reader via RS232/USB/whatever, it should work as well on
 OpenBSD as on any other system.

Joachim


Not all, some only pop as like this

ugen0 at uhub1 port 1 OMNIKEY AG Smart Card Reader USB rev 2.00/1.00 addr
2

*This was the only output seen until I plugged it out then I got the generic
device detached message.

ugen0 detached

In theory they should all emulate/act as a serial interface in some form or
another. ACG USB readers use an FTDI serial converter although I won't have
one of those to test for quite sometime as they are a bit too expensive when
compared to OpenPCD. I don't think the Omnikey readers play as nice as the
OpenPCD or ACG readers. I'll have a chance to test the OpenPCD reader with
OpenBSD 4.3 in about a week or so.

Conor.



Re: Incorrect kate(4) tempatures

2008-08-07 Thread Constantine A. Murenin
The G revision chips don't provide correct readings for some reason.
It's interesting to note that only the last two K8 revisions, F and G,
are documented by AMD to have temperature sensors, however, most G
chips appear to report invalid data, whilst F chips and most
undocumented pre-F chips are working just fine.

br,
cnst.su.

On 07/08/2008, Wade, Daniel [EMAIL PROTECTED] wrote:
 The acpitz and lm readings look correct.  But the kate isn't even close.

  hw.sensors.acpitz0.temp0=31.05 degC (zone temperature)
  hw.sensors.kate0.temp0=-1.25 degC
  hw.sensors.kate0.temp1=-8.00 degC
  hw.sensors.kate0.temp2=0.25 degC
  hw.sensors.kate0.temp3=7.50 degC
  hw.sensors.lm1.temp0=35.00 degC
  hw.sensors.lm1.temp1=31.50 degC
  hw.sensors.lm1.temp2=41.00 degC

  OpenBSD 4.4 (GENERIC.MP) #1808: Wed Aug  6 00:19:35 MDT 2008
 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
  real mem = 2132963328 (2034MB)
  avail mem = 2071121920 (1975MB)
  mainbus0 at root
  bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf (41 entries)
  bios0: vendor Phoenix Technologies, LTD version 6.00 PG date 11/19/2007
  bios0: Unknow Unknow
  acpi0 at bios0: rev 0
  acpi0: tables DSDT FACP SSDT HPET MCFG APIC
  acpi0: wakeup devices HUB0(S5) XVR0(S5) XVR1(S5) XVR2(S5) XVR3(S5) UAR1(S5)
  USB0(S3) USB2(S3) AZAD(S5) MMAC(S5)
  acpitimer0 at acpi0: 3579545 Hz, 24 bits
  acpihpet0 at acpi0: 2500 Hz
  acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
  cpu0 at mainbus0: apid 0 (boot processor)
  cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+, 2612.48 MHz
  cpu0:
  FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
  H,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 5000+, 2612.04 MHz
  cpu1:
  FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
  H,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
  ioapic0: misconfigured as apic 0, remapped to apid 2
  acpiprt0 at acpi0: bus 0 (PCI0)
  acpiprt1 at acpi0: bus 1 (HUB0)
  acpicpu0 at acpi0: PSS
  acpicpu1 at acpi0: PSS
  acpitz0 at acpi0: critical temperature 90 degC
  acpibtn0 at acpi0: PWRB
  cpu0: PowerNow! K8 2612 MHz: speeds: 2600 2400 2200 2000 1800 1000 MHz
  pci0 at mainbus0 bus 0: configuration mode 1
  NVIDIA MCP65 Memory rev 0xa1 at pci0 dev 0 function 0 not configured
  pcib0 at pci0 dev 1 function 0 NVIDIA MCP65 ISA rev 0xa2
  nviic0 at pci0 dev 1 function 1 NVIDIA MCP65 SMBus rev 0xa1
  iic0 at nviic0
  iic0: addr 0x2e 00=c1 01=0f 02=00 03=00 04=00 05=00 06=00 07=c0 08=14 09=62
  10=02 11=00 12=00 words 00=c1ff 01=0fff 02=00ff 03=00ff 04=00ff 05=00ff
  06=00ff 07=c0ff
  iic0: addr 0x2f 00=00 01=0c 03=00 13=00 words 00=00ff 01=0cff 02= 03=00ff
  04= 05= 06= 07=
  spdmem0 at iic0 addr 0x52: 1GB DDR2 SDRAM non-parity PC2-6400CL5
  spdmem1 at iic0 addr 0x53: 1GB DDR2 SDRAM non-parity PC2-6400CL5
  iic1 at nviic0
  NVIDIA MCP65 Memory rev 0xa1 at pci0 dev 1 function 2 not configured
  ohci0 at pci0 dev 2 function 0 NVIDIA MCP65 USB rev 0xa1: apic 2 int 10 
 (irq
  10), version 1.0, legacy support
  ehci0 at pci0 dev 2 function 1 NVIDIA MCP65 USB rev 0xa1: apic 2 int 11 
 (irq
  11)
  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 8 function 0 NVIDIA MCP65 PCI rev 0xa1
  pci1 at ppb0 bus 1
  emu0 at pci1 dev 7 function 0 Creative Labs SoundBlaster Audigy rev 0x04:
  apic 2 int 10 (irq 10)
  ac97: codec id 0x83847609 (SigmaTel STAC9721/23)
  ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
  audio0 at emu0
  Creative Labs SoundBlaster Audigy Digital rev 0x04 at pci1 dev 7 function 1
  not configured
  Creative Labs Firewire rev 0x04 at pci1 dev 7 function 2 not configured
  pciide0 at pci0 dev 9 function 0 NVIDIA MCP65 IDE rev 0xa1: DMA, channel 0
  configured to compatibility, channel 1 configured to compatibility
  atapiscsi0 at pciide0 channel 0 drive 0
  scsibus0 at atapiscsi0: 2 targets, initiator 7
  cd0 at scsibus0 targ 0 lun 0: LITE-ON, DVDRW SHM-165P6S, MS0K ATAPI 5/cdrom
  removable
  wd0 at pciide0 channel 0 drive 1: ST380011A
  wd0: 16-sector PIO, LBA48, 76293MB, 15625 sectors
  cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
  wd0(pciide0:0:1): using PIO mode 4, Ultra-DMA 

Re: NEED A CLUSTER W/ MORE THAN 2 SERVERS

2008-08-07 Thread Jason Dixon
On Thu, Aug 07, 2008 at 06:19:55AM -0700, Thomaz Portella wrote:
 Please,
 Now I am using 2 servers with CARP load balance.
 But I need to increase this system to more than 2 servers.
 How can I do it ?
 Thanks in advance,

RTFM, KTHXBYE!

http://www.openbsd.org/cgi-bin/man.cgi?query=carpsektion=0

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



Re: postgresql

2008-08-07 Thread Niall O'Higgins
Hello,

We run PostgreSQL 8.3 on a Dell PE 2950 III w/ 4G RAM, 15krpm SAS
disks running from mfi(4) and quad core Xeon - all under
OpenBSD-current/amd64 of course.  Oh and we are running
GENERIC.MP.

I suppose the database is reasonably large at this stage, around
55 million rows or 10G on disk.  But I have heard from friends
that PostgreSQL can handle a billion rows without too much
trouble - of course it depends on what you are doing.

Tweaked it a little to get a bit more cache, I think each backend
goes up to around 108M at the moment:

Sysctls:

kern.seminfo.semmni=256
kern.seminfo.semmns=2048
kern.shminfo.shmmax=210428160

PostgreSQL config:

shared_buffers = 100MB

It would be nice to get some more of the data in memory, but most
of our activity is INSERTs, and since I'm not sure about our
locality of reference when it comes to reporting, we are heavily
I/O bound.  For this reason we have the 15krpm SAS disks in RAID
1 on mfi(4).

My experience is that PostgreSQL does not make it easy to run
entirely out of memory.  There are many parameters to consider
beyond simply where the data is pulled from.  This is probably
why an aggressively caching kernel like Linux can see excellent
performance in many scenarios.

Fast disks were the biggest win for us, since we are so I/O
intense.  Some other OS like Linux or whatever would probably do
a better job of caching without lots of tweaks - but OpenBSD has
so many other advantages in terms of hardware support,
manageability and maintainability, that we didn't even bother
testing with anything else.

Oh, also note that OpenBSD has some limit on how much memory an
individual process can map, so keep that in mind.  While the
kernel may be able to use all 128G of memory in your machine,
each PostgreSQL backend process may only be able to use a much
smaller chunk of it.

On Thu, Aug 07, 2008 at 12:28:56AM -0400, bofh wrote:
 I'm looking at a project that I'm trying to run on openbsd.  All that
 box will have is postgresql.  At this time, it's just 2 programmers
 and 1 sysadmin type person that's involved, no DBAs, so apologies if
 the questions are... too simplistic.

 And I realize if I want to maximize performance, I need to examine
 OSes as well.  But at this point, I want to explore what is the
 biggest postgresql server I can run under openbsd.  If at all
 possible, I want to run everything in memory.

--
Niall O'Higgins
P2P Research
http://p2presearch.com
http://niallohiggins.com



Re: postgresql

2008-08-07 Thread Bryan Irvine
YMMV but I had a snort server logging to postgres on OpenBSD running
on an AMD duron 900Mhz that *idled* at 100,000 inserts an hour.







On Wed, Aug 6, 2008 at 9:28 PM, bofh [EMAIL PROTECTED] wrote:
 Hi all,
 I'm looking at a project that I'm trying to run on openbsd.  All that
 box will have is postgresql.  At this time, it's just 2 programmers
 and 1 sysadmin type person that's involved, no DBAs, so apologies if
 the questions are... too simplistic.

 And I realize if I want to maximize performance, I need to examine
 OSes as well.  But at this point, I want to explore what is the
 biggest postgresql server I can run under openbsd.  If at all
 possible, I want to run everything in memory.

 What I'm looking for is what is the biggest database I can run on a 4
 socket (4 core per socket) AMD motherboard with 64GB or 128GB of Ram
 using a standard kernel?

 For example, what should shmmax be set to?
 http://developer.postgresql.org/pgdocs/postgres/kernel-resources.html
 recommends several hundred megabytes.

 I understand I may need to recompile the kernel.  Any recommendations
 for something that can run on 64/128GB ram, 16 cpus, running only
 postgresql?

 Thanks in advance.  I'm exploring what is possible at this point.  I
 realize I haven't given out more information, but I don't have that in
 hand yet.  But I'm interested in finding out what my top end is.
 Thanks!


 --
 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



ns openbsd.org

2008-08-07 Thread jul

Hello

it seems one of the nameserver of openbsd.org has not been updated
http://recursive.iana.org/?query=openbsd.org

has someone contact ns.appli.se admins ?

regards



Re: NEED A CLUSTER W/ MORE THAN 2 SERVERS

2008-08-07 Thread Vinicius Vianna

Jason Dixon escreveu:

On Thu, Aug 07, 2008 at 06:19:55AM -0700, Thomaz Portella wrote:
  

Please,
Now I am using 2 servers with CARP load balance.
But I need to increase this system to more than 2 servers.
How can I do it ?
Thanks in advance,



RTFM, KTHXBYE!

http://www.openbsd.org/cgi-bin/man.cgi?query=carpsektion=0

  
Maybe this from ifconfig(8) - 
http://www.openbsd.org/cgi-bin/man.cgi?query=ifconfigsektion=8


*carpnodes* /vhid:advskew,vhid:advskew,.../
If the driver is a carp(4) 
http://www.openbsd.org/cgi-bin/man.cgi?query=carpsektion=4arch=apropos=0manpath=OpenBSD+Current
 pseudo-device, create a load balancing
group consisting of up to 32 nodes.  Each node is specified as a
/vhid:advskew/ tuple in a comma separated list.


HTH,
DS



Re: MPLS On OpenBGP

2008-08-07 Thread David Newman

On 8/6/08 11:29 AM, #ukasz Bromirski wrote:

[EMAIL PROTECTED] wrote:

I'll be looking for that day wherein those Cisco guys can boost no more
that they are the only ones in the planet that has the MPLS skills. Whew,
maybe somebody knows where to start on how to add this MPLS feature so as
to answer the question like where do I begin?


You're top-posting.

For the MPLS, you have basically two parts - data plane, which is
encapsulation of the frames or cells, and the control plane, which
is exchanging VPNv4/VPNv6 information between multiprotocol speaking
BGP routers (usually - PEs/LERs in MPLS nomenclature).

Quick look at google shows a lot of places where existing MPLS code
can be found[1]. But as usual - maybe it's not the best of breed, or
even not complete.

The MPLS as itself is not Cisco domain, but it was invented by Cisco
as tag switching[2] back in the days where nobody believed it will be
needed. It was back in 1997.


A historical nit: MPLS/tag switching/frame-relay-with-found-objects [1] 
predates Cisco. Ipsilon Networks, which Nokia bought in 1997, was doing 
label switching around 6-12 months earlier, but I wouldn't describe 
their stuff as production grade.


Yes, there are many commercial suppliers of MPLS other than Cisco. 
Whether that will stop sales guys from boasting they're unique is 
altogether another matter.


dn

[1] Mike O'Dell's apt description.



So, as Claudio said - go for it, if You think you can do better.

[1]. http://www.mplsrc.com/vendor.shtml being one of them, with
 old ayame project as well for NetBSD

[2]. http://tools.ietf.org/html/rfc2105




Re: RFID Reader

2008-08-07 Thread Duncan Patton a Campbell
On Thu, 7 Aug 2008 17:05:19 +0100
Conor [EMAIL PROTECTED] wrote:

 On Thu, Aug 7, 2008 at 1:12 PM, Joachim Schipper [EMAIL PROTECTED]
  wrote:
 
  On Thu, Aug 07, 2008 at 10:46:40AM +0100, Conor wrote:
   Are there any RFID readers supported by OpenBSD?
 
  Don't most readers communicate with the host PC over some common
  protocol, say RS232 (serial), or maybe USB? OpenBSD will allow you to
  access those, so if you find or write a program that can communicate
  with the reader via RS232/USB/whatever, it should work as well on
  OpenBSD as on any other system.
 
 Joachim
 
 
 Not all, some only pop as like this
 
 ugen0 at uhub1 port 1 OMNIKEY AG Smart Card Reader USB rev 2.00/1.00 addr
 2
 
 *This was the only output seen until I plugged it out then I got the generic
 device detached message.
 
 ugen0 detached
 
 In theory they should all emulate/act as a serial interface in some form or
 another. ACG USB readers use an FTDI serial converter although I won't have
 one of those to test for quite sometime as they are a bit too expensive when
 compared to OpenPCD. I don't think the Omnikey readers play as nice as the
 OpenPCD or ACG readers. I'll have a chance to test the OpenPCD reader with
 OpenBSD 4.3 in about a week or so.
 
 Conor.
 

There some trick I don't exactly recall where you need to suppress the ugen
device to allow ucom to grab the device.  I think it involved disableing ugen.

Dhu



Re: RFID Reader

2008-08-07 Thread Duncan Patton a Campbell
On Thu, 7 Aug 2008 15:14:24 +0100
Conor [EMAIL PROTECTED] wrote:

 On Thu, Aug 7, 2008 at 1:05 PM, Duncan Patton a Campbell 
 [EMAIL PROTECTED] wrote:
 
  On Thu, 7 Aug 2008 10:46:40 +0100
  Conor [EMAIL PROTECTED] wrote:
 
   Are there any RFID readers supported by OpenBSD?
  
   Regards,
   Conor.
  
  
 
  This:
 
  http://www.openpcd.org/
 
  claims to be an open design with GPL'd drivers,
 
  but this
 
 
  http://www.motorola.com/business/v/index.jsp?vgnextoid=1722e90e3ae95110VgnVCM108406b00aRCRD
 
  should be fairly trivial to make work with OBSD, despite being a Windoze CE
  box as
  it has numerous open interfaces and claims to talk to SAP and IBM stuff ...
 
  The question of being supported is misleading as most of these devices
  will
  be designed to operate using standard industrial interfaces.
 
  Dhu
 
 
 Thanks Duncan,
 
 The OpenPCD is what I was hoping would work with OBSD, I just don't have
 access to the hardware yet to try it. On a FreeBSD host most of these just
 appear with ugen0 and thats about as far as it will go. I'll look into the
 Motorola but I'm not willing to committ to buying something that isn't going
 to work, however the same could be said for the OpenPCD. Although at least I
 know that OpenPCD will unfortunately work with something like Debian or
 Slackware as a last resort. If I can get the hardware to work with OpenBSD
 it'll just be a case then afterwards of getting librfid to work. At the
 moment I'm trying to get the Omnikey 5121 to work while I await the OpenPCD
 reader. It is not going well as one might imagine.
 

You need to get the OpenPCD to talk on ucom/uplcom OR use the Moto which
has RS232 and Ethernet interfaces (as well as USB) which can be used in a 
more conventional manner.  

Dhu


 ATB,
 Conor.



Document: OpenBSD for PyMES

2008-08-07 Thread Fernando Quintero
OpenBSD Colombia team, wrote a document about how to configure a OpenBSD
Server for a small company.
Services like dhcp, dns, apache + mysql + php, squid, sarge, nat and
firewall are touched.
I hope you enjoy it.
Note: Just for people who read spanish.
Note2: it's based on release OpenBSD v4.3

URL: http://www.openbsdcolombia.org/?q=node/66

See ya!.

-- 
--

Fernando Quintero
*Just a nonroot User*



Re: MPLS On OpenBGP

2008-08-07 Thread Zamri Besar
On Wed, Aug 6, 2008 at 11:07 PM, Claudio Jeker [EMAIL PROTECTED]wrote:

 On Wed, Aug 06, 2008 at 03:17:41PM +0100, [EMAIL PROTECTED] wrote:
  Will it be likely possible and feasible to add MPLS feature on OpenBGPd?
 

 Yes.  It is neither impossible nor unfeasible.
 But don't ask when it will happen unless you like to do the work.

 --
 :wq Claudio



Or is it possible to port ayame to OpenBSD? Or is it in progress / done?
http://www.ayame.org/


-zamri-



Re: Document: OpenBSD for PyMES

2008-08-07 Thread Zamri Besar
On Fri, Aug 8, 2008 at 12:07 PM, Fernando Quintero 
[EMAIL PROTECTED] wrote:

 OpenBSD Colombia team, wrote a document about how to configure a OpenBSD
 Server for a small company.
 Services like dhcp, dns, apache + mysql + php, squid, sarge, nat and
 firewall are touched.
 I hope you enjoy it.
 Note: Just for people who read spanish.
 Note2: it's based on release OpenBSD v4.3

 URL: http://www.openbsdcolombia.org/?q=node/66

 See ya!.

 --
 --

 Fernando Quintero
 *Just a nonroot User*



And google will be trying to help us. :)

http://translate.google.com/translate_t
http://translate.google.com/translate?u=http%3A%2F%2Fwww.openbsdcolombia.org%2F%3Fq%3Dnode%2F66hl=enie=UTF8sl=estl=en

-- 
Thank you.

Zamri Besar



Re: Document: OpenBSD for PyMES

2008-08-07 Thread virtualroot
http://groups.google.com/group/OpenBSD-Colombia/files

Servidor_En_OpenBSD_4_3.odt or Servidor_En_OpenBSD_4_3.pdf

Bye

2008/8/8 Zamri Besar [EMAIL PROTECTED]:
 On Fri, Aug 8, 2008 at 12:07 PM, Fernando Quintero 
 [EMAIL PROTECTED] wrote:

 OpenBSD Colombia team, wrote a document about how to configure a OpenBSD
 Server for a small company.
 Services like dhcp, dns, apache + mysql + php, squid, sarge, nat and
 firewall are touched.
 I hope you enjoy it.
 Note: Just for people who read spanish.
 Note2: it's based on release OpenBSD v4.3

 URL: http://www.openbsdcolombia.org/?q=node/66

 See ya!.

 --
 --

 Fernando Quintero
 *Just a nonroot User*



 And google will be trying to help us. :)

 http://translate.google.com/translate_t
 http://translate.google.com/translate?u=http%3A%2F%2Fwww.openbsdcolombia.org%2F%3Fq%3Dnode%2F66hl=enie=UTF8sl=estl=en

 --
 Thank you.

 Zamri Besar