Re: procfs in OpenBSD

2009-09-20 Thread Paige Thompson
yeah what problem  :D :D :D :D :D

On Sat, Sep 19, 2009 at 6:54 PM, Marco Peereboom sl...@peereboom.us wrote:

 what problem are you trying to solve?

 On Sat, Sep 19, 2009 at 08:38:48PM -0500, Sergio Andr?s G?mez del Real
 wrote:
  Hi.
 
  I failed googling about this topic. Any help please? :D :D :D :D



Re: procfs in OpenBSD

2009-09-20 Thread Jim Willis
U what?

On Sun, Sep 20, 2009 at 12:08 AM, Paige Thompson erra...@devel.ws wrote:

 yeah what problem  :D :D :D :D :D

 On Sat, Sep 19, 2009 at 6:54 PM, Marco Peereboom sl...@peereboom.us
 wrote:

  what problem are you trying to solve?
 
  On Sat, Sep 19, 2009 at 08:38:48PM -0500, Sergio Andr?s G?mez del Real
  wrote:
   Hi.
  
   I failed googling about this topic. Any help please? :D :D :D :D



Re: OT: Old School Unix vs. Modern Day Support Professionals - was (Defending OpenBSD Performance)

2009-09-20 Thread David Walker
 Most long term OpenBSD users know of THEOS. The reason is simple; the
 scumbag company behind that OS tried to use reverse domain hijacking
 (i.e. a bogus dispute claim) to steal the THEOS.COM domain name from
 it's owner, namely Theo de Raadt.

Here's the goss:
http://theos.com/dispute.html

Best wishes.



realtime mirroring and openbsd ?

2009-09-20 Thread Benoit Chesneau
Hi all,

I have to setup a full redundant installation for a web services in
view of  having failover from one machine to the other. So data need
to be replicated fin quasi realtime. There is solution like drbd on
linux that works like a raid1 over tcp, but I wonder if there is any
solution that would allow me to do it on openbsd ? also is there any
distributed fs that could work over openbsd ?

- benont



Express Visas, Express Travels

2009-09-20 Thread Express Embassy
Express Embassy wishes all Muslims: 

Hope, belief, love, kindness, devotion, loyalty, purity, perseverance, 
tranquility and tolerance.
May Allah bless you with all these and more on Eid ul-Fitr and always.

Express Embassy will continue to be # 1 super speed express immigration, visa, 
travel and job placement consulting firm with a special attention  prompt 
service that you deserve.  Find out more at www.expressembassy.com

Best regards,

The Express Embassy Team
http://www.expressembassy.com



Re: realtime mirroring and openbsd ?

2009-09-20 Thread Benoit Chesneau
On Sun, Sep 20, 2009 at 11:33 AM, Jussi Peltola pe...@pelzi.net wrote:
 On Sun, Sep 20, 2009 at 10:58:56AM +0200, Benoit Chesneau wrote:
 Hi all,

 I have to setup a full redundant installation for a web services in
 view of  having failover from one machine to the other. So data need
 to be replicated fin quasi realtime. There is solution like drbd on
 linux that works like a raid1 over tcp, but I wonder if there is any
 solution that would allow me to do it on openbsd ? also is there any
 distributed fs that could work over openbsd ?

 If your reliability requirements are higher than in the unlikely event
 hardware breaks, someone walks up to the rack and moves the disks to
 the cold spare machine, you have a heck of a lot more cases to think
 about first. DRBD is a RAID and the same rules of RAID and backups
 apply. What if some of your data gets corrupted? How do you recover and
 how long will *that* take? How will you handle upgrades - will you only
 mirror data or larger parts of the OS? How long would it even take to
 fsck the DRBD volume after the primary machine crashes, and how long is
 that compared to swapping the disks?

 One way to think about, for a typical DB based web service, is to rsync
 your static files in cron and use your database's built in replication
 and other redundancy features you need. Real databases are designed to
 have ACID transactions, to get that with a filesystem you need more than
 DRBD. This way you also get two hot servers for your service instead of
 a slightly improved cold spare, which DRBD is.

 Don't get me wrong, though, DRBD does have some good uses that come to
 mind, like mirroring a mail server filesystem so you can take snapshots
 and run backups off them on another machine to avoid load on the real
 server. But it is not a magic 100% uptime dust, since it only really
 guards against hardware failure and not against user or software errors.



I understand the point. My problem was more that couchdb only
replicate per db and don't handle global replication of a couchdb
node. But I could work with it. Thanks for the enlightenment anyway.

- benont



Re: realtime mirroring and openbsd ?

2009-09-20 Thread Lars Nooden
Benoit Chesneau wrote:
[snip]
 also is there any
 distributed fs that could work over openbsd ?

One is AFS (Arla / OpenAFS)
 http://www.stacken.kth.se/project/arla/
 http://www.openafs.org/

See also:

http://www.openbsd.org/4.5_packages/i386/openafs-1.4.7p5.tgz-long.html

http://www.dia.uniroma3.it/~afscon09/


Regards,
/Lars



Re: OpenBSD on first gen Asus eeePCs

2009-09-20 Thread Brad Tilley
On Sat, Sep 19, 2009 at 9:07 PM, frantisek holop min...@obiit.org wrote:
 hmm, on Sat, Sep 19, 2009 at 03:38:06PM +0400, Alexander Polakov said that
 Try setting OS Installation in BIOS Setup to Finished.

 has been like that all the time.

Yes, mine too. Still same problem.



Re: Booting problem

2009-09-20 Thread Vadim Zhukov
On 19 September 2009 c. 18:57:26 Anatoly V. Beregovoy wrote:
 Hi all!
 First of all, I'm sorry about my English.
 I have a problem with booting OpenBSD 4.5 on my computer. It has
 internal and external video adapters. With only internal one the
 system boots without any problem. dmesg output (using only internal
 card) is attached to the message. When I plug an external video card
 OpenBSD refuses to boot. It doesn't matter what a video adapter I use
 (I tried with three cards). The system stops booting with the
 following:
 ...
 ...
 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
 lpt0 at isa0 port 0x378/4 irq 7
 wbsio0 at isa0 port 0x2e/2: W83627HF rev 0x17
 lm1 at wbsio0 port 0x290/8: W83627HF
 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
 usb0 at uhci0: USB revision 1.0
 uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
 usb1 at uhci1: USB revision 1.0
 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
 biomask ef65 netmask ef65 ttymask 
 mtrr: Pentium Pro MTRR support
 softraid0 at root
 root on wd0a swap on wd0b dump on wd0b

 Keyboard isn't working after that - the system is froze.

 OpenBSD is the only system on PC. Windows (r) works fine on this
 computer. I need to use an external adapter.

 What have I tried? I've tried to boot with turned on or off following
 options in BIOS (I tried various combinations):
  - Assign IRQ to VGA;
  - Video BIOS cacheable;
  - Enable Internal Video;
  - AGP Data Transfer Rate;
  - Init Display First;
  - PCI/VGA Palette Snoop.
 Also I tried to boot with minimal hardware (only M/B, cpu, memory,
 HDD, video card). I looked boot(1) but found nothing useful.

 My hardware:
 Motherboard Abit SL30 with the newest BIOS update, CPU Pentium 3 733,
 128Mb RAM. I'm sure that the hardware is good. It works fine.

 Thank you!
 OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel Pentium III (GenuineIntel 686-class) 549 MHz
 cpu0:
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE3
6,MMX,FXSR,SSE real mem  = 132673536 (126MB)
 avail mem = 119992320 (114MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 04/02/02, BIOS32 rev. 0 @
 0xfb0d0, SMBIOS rev. 2.2 @ 0xf0800 (35 entries) bios0: vendor Award
 Software International, Inc. version 6.00 PG date 04/02/2002 bios0:
 ABIT i815E-W83627HF
 apm0 at bios0: Power Management spec V1.2 (slowidle)
 apm0: AC on, battery charge unknown
 acpi at bios0 function 0x0 not configured

Do not treat me as an expert but I suggest you to try to enable ACPI in
UKC (boot -c).

--
  Best wishes,
Vadim Zhukov

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: RAID1 drive replacement help?

2009-09-20 Thread Paul M

On 18/09/2009, at 3:23 PM, Jeffrey C. Smith wrote:


Paul M wrote:

On 18/09/2009, at 2:28 PM, Jeffrey C. Smith wrote:

Now, I try to reconstruct /dev/wd1d (the failed drive):

# raidctl -v -R /dev/wd1d raid0
raidctl: /dev/wd1d is not a component of this device

Still no luck. Any more ideas???

Thanks,
Jeff
Has your raid0.conf file changed? The one you posted earlier shows 
that /dev/wd1d

*is* a component of that array.


It has not changed. Here it is:

snip


Thinking about this some more, I suspect that what may be happening is 
that
the disk still thinks it is a spare. Try blowing away the RAID 
partition,
possibly even replace it with a regular partition and write data to it 
just
to make sure. Then delete that, recreate the RAID partition and try 
again to

reconstruct the component.
(It may also be possible to achieve this with the -r option to raidctl, 
but

I'm unfamiliar with the operation of this switch).

Essentially, you configured the disk as a spare, now you want to 
override

that configuration and configure it as a component.
The man page does say that the spare and the component it was 
reconstructed
from are interchangeable, but I think the system is getting confused as 
to

just what wd1d is.

Taking a different approach, you could keep wd1d as the spare, but add 
a 3rd
disk to replace the failed component and simply reconstruct onto that 
(using

the -B switch to raidctl)

Also - dont forget about the syslog.


paulm



Recent ThinkPad T series

2009-09-20 Thread Michael Burk
Hi All,

After years of using OpenBSD on servers, I want to take the plunge and
setup an OpenBSD-based laptop. From what I gather on this list, it
looks like ThinkPads are better supported than most. I've been looking
at two models - the ThinkPad T400 and T400s. I've tried to determine
if all the components are supported, but I'm not sure about some
things. If anyone has direct experience with these models (they've
been out for a year or so, I think), I'd appreciate any feedback.

Here's what I've determined about support:

CPU:  Intel Core2 Duo (SP9600 or T9600)  - yes; use AMD64 arch?
ATI Mobility Radeon 3470 - yes
  - or -
Intel GMA 4500MHD - ?
UltraNav (TrackPoint and TouchPad) - probably
DisplayPort video port for external monitor - ?
(I'd like to be able to have two separate screens configured,
 though video mirroring would be OK)
Intel WiFi Link 5300 - yes
Sound card (no specs available) - ?
Bluetooth - yes through ports
5 in 1 or 7 in 1 Media Card Reader - standard USB storage device?
Integrated camera - no
Fingerprint reader - no

One serious drawback is that I can't find a place locally that sells
them, so I can't find out how they feel, sound, or how good the screen
looks. I'd appreciate any comments about these aspects also.

Thanks,
Michael