Re: kernel freeze randomly

2009-03-02 Thread Andreas Kahari
2009/2/25 Andreas Kahari :
> 2009/2/25 Robert :
>> On Wed, 25 Feb 2009 13:36:16 +
>> Andreas Kahari  wrote:
>>
>>> Will disabling apmd solve this issue?  I'm seeing freezes on my Lenovo
>>> X61s. The machine was stable for a few weeks (or so) until Theo backed
>>> out that backed-out commit on acpicpu.c on Monday (23rd).
>>>
>>> Andreas
>>
>> Try building kernel from -current.
>> The backout of the backout is backed-out again, uhm here is the commit:
>>
>>> CVSROOT:  /cvs
>>> Module name:  src
>>> Changes by:   dera...@cvs.openbsd.org 2009/02/24 06:20:03
>>>
>>> Modified files:
>>>   sys/arch/amd64/amd64: est.c
>>>   sys/dev/acpi   : acpicpu.c
>>>
>>> Log message:
>>> back out est.c 1.8 and bring acpicpu.c all the way back to 1.47 because
of
>>> hanging machines.  backed out correctly this time, as pointed out by
tedu.
>>
>> This leads to
>>
>> cpu0: unknown Enhanced SpeedStep CPU, msr 0x0617091f0600091f
>> cpu0: using only highest and lowest power states
>> cpu0: Enhanced SpeedStep 2400 MHz (1196 mV): speeds: 2400, 1600 MHz
>>
>> on my Thinkpad X200. Thats not quite right as expected, scince this
>> removes some month of changes in this area.
>> But the system didn't crash so far. I prefer that.
>>
>> - Robert
>>
>
> That's exactly what I have as well in my dmesg with a kernel built
> from today's sources, well, almost:
>
> cpu0: unknown Enhanced SpeedStep CPU, msr 0x0615081906000615
> cpu0: using only highest and lowest power states
> cpu0: Enhanced SpeedStep 1200 MHz (1036 mV): speeds: 1600, 1200 MHz
>
> With apmd enabled, I experienced a freeze just hours ago, so I
> reverted to a kernel built on the 19th.
>
> I'll disable apmd and I'll give the new kernel another go.
>
>
> Thanks,
> Andreas
>

Ok, having run with apmd disabled for a number of days, the system
hasn't frozen one single time.

Andreas


>
> Full dmesg of kernel built this morning (sorry for any gmail
> cut-n-paste weirdness):
>
> OpenBSD 4.5-beta (GENERIC.MP) #53: Wed Feb 25 09:21:07 GMT 2009
[cut]

--
Andreas Kahari
Somewhere in the general Cambridge area, UK



Installing packages using install.site

2009-03-02 Thread Sylvain Lapendry
Hi everyone,

I'm building a custom OpenBSD 4.4 thanks to site44.tgz & install.site.
In my install.site, I use pkg_add to install the apache-httpd package (which
is, with his depedencies, in the site44.tgz).
It seems to work, but during the installation, I've got this error :
"/var/run/ld.so.hints: File doesn't exist".
pkg_add needs ld.so ? What can I do to fix that error ?

Thanks a lot !



-current cwm toggle full-screen

2009-03-02 Thread Pau
Hello,

I am running -current and cwm combination C-M-f seems to not be
working. I don't get a fullscreen, just half of it. I had re-read the
man again but there's no indication that the combintions of keys
should have changed.

Any help will be appreciated.

Thanks,

Pau

-- 
Let there be peace on earth. And let it begin with misc



Using ldap everywhere ...

2009-03-02 Thread a. e.
Hi everybody,



I'm trying to set up a web/mail/dns/ftp/etc. ... using ldap everywhere...

But It seems that serving ns zones over ldap is not possible on OpenBSD... The
sdb-ldap backend is not in the OpenBSD ports...

For the Apache vhosts, i've found that module mod_ldapvhost. But it's almost
not documented...



I can manage easily the link between Postfix/ldap Ftp/ldap courrier/ldap.



Do you have some advices, comments, links to provide for the setup of dns/ldap
& apache/ldap on OpenBSD ?...

I really don't want to do this on ubuntu...



Regards.

ae.

_
Tiliphonez gratuitement ` tous vos proches avec Windows Live Messenger  ! 
Tilichargez-le maintenant !
http://www.windowslive.fr/messenger/1.asp



Re: -current cwm toggle full-screen

2009-03-02 Thread Okan Demirmen
On Mon 2009.03.02 at 13:40 +0100, Pau wrote:
> Hello,
> 
> I am running -current and cwm combination C-M-f seems to not be
> working. I don't get a fullscreen, just half of it. I had re-read the
> man again but there's no indication that the combintions of keys
> should have changed.
> 
> Any help will be appreciated.

uhm, which application?



Re: Installing packages using install.site

2009-03-02 Thread Nick Templeton
I ran into the same thing.  I run ldconfig(8) before pkg_add to get rid 
of that error.  Specifically I run:


ldconfig /usr/local/lib /usr/X11R6/lib

-Nick

On 3/2/2009 5:05 AM, Sylvain Lapendry wrote:

Hi everyone,

I'm building a custom OpenBSD 4.4 thanks to site44.tgz&  install.site.
In my install.site, I use pkg_add to install the apache-httpd package (which
is, with his depedencies, in the site44.tgz).
It seems to work, but during the installation, I've got this error :
"/var/run/ld.so.hints: File doesn't exist".
pkg_add needs ld.so ? What can I do to fix that error ?

Thanks a lot !




Re: -current cwm toggle full-screen

2009-03-02 Thread J.C. Roberts
On Mon, 2 Mar 2009 08:27:23 -0500 Okan Demirmen 
wrote:

> On Mon 2009.03.02 at 13:40 +0100, Pau wrote:
> > Hello,
> > 
> > I am running -current and cwm combination C-M-f seems to not be
> > working. I don't get a fullscreen, just half of it. I had re-read
> > the man again but there's no indication that the combintions of keys
> > should have changed.
> > 
> > Any help will be appreciated.
> 
> uhm, which application?
> 

With the 2009.02.28/27 i386 snapshot I am *unable* to reproduce the bug
with xterm, gvim or mplayer (playing).

-- 
J.C. Roberts



4.5 beta - Intel 845G work around

2009-03-02 Thread J.C. Roberts
This is mostly for the sake of the archives, namely people searching for
an answer after the release.

The Intel 845G chipset, and possibly other early Intel chipsets, do not
play very well with the new intel(4) driver. Version 2.4.3 is currently
in the xenocara tree, but testing is being done on the new 2.6.1.

http://marc.info/?l=openbsd-tech&m=123307709522306&w=2

Both versions have problems with the Intel 845G chipset. The bugs
manifest in a number of different ways, including black screen
(graphics mode), corrupted screen (graphics mode), corrupted virtual
terminals (text mode), loss of keyboard, loss of mouse, and all in
various combinations.

You'll typically see errors like the following snippets in your
Xorg.0.log

--
(II) evaluating device (Mouse0)
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) evaluating device (Keyboard0)
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(EE) intel(0): underrun on pipe A!
(EE) intel(0): underrun on pipe A!
(EE) intel(0): underrun on pipe A!
(EE) intel(0): underrun on pipe A!
... (repeating)
--
(II) evaluating device (Mouse0)
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) evaluating device (Keyboard0)
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
Error in I830WaitLpRing(), timeout for 2 seconds
pgetbl_ctl: 0x7ff60001 getbl_err: 0x0021
ipeir: 0x iphdr: 0x54f6
LP ring tail: 0x0001faa0 head: 0x0001fac4 len: 0x0001f001 start
0x eir: 0x esr: 0x0010 emr: 0xff7b
instdone: 0xff41 instpm: 0x
memmode: 0x instps: 0x0031
hwstam: 0xeffe ier: 0x0042 imr: 0xffbf iir: 0x
Ring at virtual 0x8bbb head 0x1fac4 tail 0x1faa0 count 32759
Ring at virtual 0x8bbb head 0x1fac4 tail 0x1faa0 count 32759
Ring at virtual 0x8bbb head 0x1fac4 tail 0x1faa0 count 32759
Ring at virtual 0x8bbb head 0x1fac4 tail 0x1faa0 count 32759
... (repeating)
Ring at virtual 0x8bbb head 0x1fac4 tail 0x1faa0 count 32759
Ring end
space: 28 wanted 32
(II) intel(0): [drm] removed 1 reserved context for kernel
(II) intel(0): [drm] unmapping 8192 bytes of SAREA 0x4000 at
0x8139c000 (II) intel(0): [drm] Closed DRM master.

Fatal server error:
lockup
--

The common suggestion is to disable the new EXA acceleration and just
force the driver to use the older XAA acceleration (X86Free Acceleration
Architecture) by putting the following in your xorg.conf "Device"
section.

Option  "AccelMethod"  "XAA"

Though you do get a somewhat working X with the above, it has trouble
with Virtual Terminal switching and/or stopping and restarting X. The
result is your text virtual terminals get corrupted. The above doesn't
work for everyone (thanks to reports John at bitminer.ca). The primary
difference between John's hardware and my own is he's running an new
LCD display, while I'm still running my trusty, decade old Sun CRT.

I've found a better work-around.

The buggy behavior on the intel(4) 2.4.3 driver is related to DDC (VESA
Display Data Channel) --in short DDC is the way the display tells the
display adapter (or system) about itself.

http://www.x.org/archive/X11R7.1/doc/RELNOTES4.html

If you shut off DDC, you'll need to define your display characteristics
properly (and possibly define your actual modes).

In your xorg.conf file, use this for your "Device" section.

Section "Device"
Identifier  "Card0"
Driver  "intel"
Option  "ModeDebug"   "true"
Option  "DDC" "false"
#Option  "DDC1""false"
#Option  "DDC2""false"
EndSection

If you didn't read the link above, you should. The plain "DDC" option
shuts off all of DCC, while the "DDC1" shuts of only DDC version 1.0,
and "DDC2" shuts off only DDC version 2.0 --I've also had some luck only
shutting off DDC2.

Virtual Terminal switching tends to work, and no, you really don't need
to set "ModeDebug" but it does help when debugging.

With the above, the only way I've been able to crash the X server is by
stopping (CTRL-ALT-BACKSPACE) and restarting it multiple times. It
takes a few times before the driver gets confused and fails to start.
The Xorg.0.log below was with "DDC2" set to false, and the X server
was stopped and restarted multiple times until it crashed.

If you do manage to get it to lock up through repeated restarting, then
a cold boot will get you back to where you started, namely a working X
session. In short, once things go bad, they stay that way, and further
attempts to start X never succeed. I suspect the driver has done "bad
things" (C)(R)(TM) to the resources and once it's happened, there's no
way to recover without rebooting.

When I get this issue bet

Re: -current cwm toggle full-screen

2009-03-02 Thread Pau
funny, I have the problem with all applications... I will check which
snapshot I am using

2009/3/2 J.C. Roberts :
> On Mon, 2 Mar 2009 08:27:23 -0500 Okan Demirmen 
> wrote:
>
>> On Mon 2009.03.02 at 13:40 +0100, Pau wrote:
>> > Hello,
>> >
>> > I am running -current and cwm combination C-M-f seems to not be
>> > working. I don't get a fullscreen, just half of it. I had re-read
>> > the man again but there's no indication that the combintions of keys
>> > should have changed.
>> >
>> > Any help will be appreciated.
>>
>> uhm, which application?
>>
>
> With the 2009.02.28/27 i386 snapshot I am *unable* to reproduce the bug
> with xterm, gvim or mplayer (playing).
>
> --
> J.C. Roberts
>
>



-- 
Let there be peace on earth. And let it begin with misc



Re: System security question

2009-03-02 Thread (private) HKS
On Sat, Feb 28, 2009 at 12:40 PM, Jean-Francois  wrote:
> Hi,
> "And I totally agree with you, Mixing firewall services with services
> like Web or file/print services is a recipe for disaster."
>
> True since hacking the web server is entering the firewall itself.
> But the web server, httpd, is chrooted ... so why would there be a
> problem here ?

Because security is never absolute. It is a matter of probabilities,
measuring cost against risk, reducing possible attack vectors, and
minimizing the effects of a successful attack. In practice, it means
following redundant best practice with the assumption that there is a
flaw in the system somewhere, so you're going to put as many layers of
obstacles as possible between yourself and your attacker. A very
simple example is host-based firewalls and network-based firewalls.
You use both so that your attacker has that much more protection to
wade through before actually getting to your important stuff. Maybe
they'll get frustrated and move on. If nothing else, you'll have that
much more time to notice the attack in progress.

You could probably run your web and file server on your firewall and
never have a security breach. Probably, because if you're running all
that on the same machine, it's clear you're not a high profile target.
The most you'll probably see is SSH brute force attacks and some
clumsy attempts at SQL injection. But "probably" is cold comfort if
someone exploits a flaw in your web app, gains a local shell (chrooted
though it may be), and then leaps to one of your local machines. Or
discovers a flaw in the chrooting system. Or finds an exploitable app
available in the chroot. Or DOSs your firewall. Or just installs a
little app there that adds your firewall/file/web server to their
botnet. Or manages to force your internal interface into promiscuous
mode. Or...

Get the idea? Ultimately, it's up to you. Your firewall is there as a
first-line of defense against malicious attacks. Opening additional
attack vectors on this machine is a bad idea. Locating your most
likely point of failure (your web app) on a machine with unrestricted
access to your internal data is a bad idea. But if your data is worth
less to you than a second old PC and a couple hours to setup 4.4 and
PF, then by all means, run everything on the same box.

-HKS



Re: -current cwm toggle full-screen

2009-03-02 Thread Dan Harnett
On Mon, Mar 02, 2009 at 06:53:48PM +0100, Pau wrote:
> funny, I have the problem with all applications... I will check which
> snapshot I am using

Are you using RandR?  Or more specifically, changing the resolution,
number of heads, or screen orientation dynamically?



Wireless USB Adapters For OpenBSD

2009-03-02 Thread Jeff Flowers
I recently purchased a Lenovo Ideapad S10, onto which I have
successfully installed OpenBSD 4.4 on. Xorg self configured
wonderfully. However, the built in Broadcom wireless chipset is not
supported by OpenBSD, leaving me to consider the purchase of a USB
wireless adapter.

Can anyone recommend a specific adapter to buy? Basic 802.11b/g
functionality is all I need.



Thank you,

-- 
Jeff Flowers
Florida, USA



Re: Wireless USB Adapters For OpenBSD

2009-03-02 Thread Jonathan Schleifer
The D-Link DWL-122 works fine for me, although it's only b and not g.  
If that's ok with you, it seems to be one of the best supported USB  
WiFi Sticks on OpenBSD.

--
Jonathan

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of PGP.sig]



Re: -current cwm toggle full-screen

2009-03-02 Thread Pau
I used X -config and that file (xorg.conf) I edited to add the new
paths to fonts I later installed

But everything I use is startx, nothing else, so I am not changing
anything afterwards

I can try to do it on the fly, i.e. without xorg.conf

2009/3/2 Dan Harnett :
> On Mon, Mar 02, 2009 at 06:53:48PM +0100, Pau wrote:
>> funny, I have the problem with all applications... I will check which
>> snapshot I am using
>
> Are you using RandR?  Or more specifically, changing the resolution,
> number of heads, or screen orientation dynamically?
>
>



--
Let there be peace on earth. And let it begin with misc



Re: Wireless USB Adapters For OpenBSD

2009-03-02 Thread Jeff Flowers
On Mon, Mar 2, 2009 at 1:26 PM, STeve Andre'  wrote:
> On Monday 02 March 2009 13:11:02 Jeff Flowers wrote:
>> I recently purchased a Lenovo Ideapad S10, onto which I have
>> successfully installed OpenBSD 4.4 on. Xorg self configured
>> wonderfully. However, the built in Broadcom wireless chipset is not
>> supported by OpenBSD, leaving me to consider the purchase of a USB
>> wireless adapter.
>>
>> Can anyone recommend a specific adapter to buy? Basic 802.11b/g
>> functionality is all I need.
>>
>>
>>
>> Thank you,
>
> You might want to try -current--it just might fix your problem.  Lately
> I've been doing a trick that annoys my Linux friends--I take their USB
> wifi stick and stuff it into my thinkpad and use it.  With very few
> exceptions, it just works.

That's pretty funny.


> I have a == $22 stick from newegg, CNet model CWD-854 which I
> bought thinking it would work till my thinkpads card would work,
> and it worked perfectly.  its a rum(4) device.
>
> But try random devices.  it's fun.

The wireless adapter in the S10 is a Broadcom BCM4315. According to
the manpage for bwi(4) for 4.5, it is not supported. Have you heard if
there is forecoming support? I didn't see anything mentioned in the
daily changelog.


--
Jeff Flowers
Florida, USA



Re: Wireless USB Adapters For OpenBSD

2009-03-02 Thread Bryan
http://www.newegg.com/Product/Product.aspx?Item=N82E16833164037

This one attaches to rum(4).  Solid as a rock regarding WPA2.  It does
get a tad warm though... and the external antenna is nice...

Regards,
Bryan

On Mon, Mar 2, 2009 at 10:17 AM, Jonathan Schleifer
 wrote:
> The D-Link DWL-122 works fine for me, although it's only b and not g.
> If that's ok with you, it seems to be one of the best supported USB
> WiFi Sticks on OpenBSD.
>
> --
> Jonathan
>
> [demime 1.01d removed an attachment of type application/pgp-signature which 
> had a name of PGP.sig]



Re: -current cwm toggle full-screen

2009-03-02 Thread Okan Demirmen
On Mon 2009.03.02 at 18:53 +0100, Pau wrote:
> funny, I have the problem with all applications... I will check which
> snapshot I am using

when you say half the screen, do you mean of the x or y axis?  how about
vertical max only?

> 2009/3/2 J.C. Roberts :
> > On Mon, 2 Mar 2009 08:27:23 -0500 Okan Demirmen 
> > wrote:
> >
> >> On Mon 2009.03.02 at 13:40 +0100, Pau wrote:
> >> > Hello,
> >> >
> >> > I am running -current and cwm combination C-M-f seems to not be
> >> > working. I don't get a fullscreen, just half of it. I had re-read
> >> > the man again but there's no indication that the combintions of keys
> >> > should have changed.
> >> >
> >> > Any help will be appreciated.
> >>
> >> uhm, which application?
> >>
> >
> > With the 2009.02.28/27 i386 snapshot I am *unable* to reproduce the bug
> > with xterm, gvim or mplayer (playing).
> >
> > --
> > J.C. Roberts
> >
> >
> 
> 
> 
> -- 
> Let there be peace on earth. And let it begin with misc



Re: -current cwm toggle full-screen

2009-03-02 Thread Pau
I mean vertically, the left side of the screen is used


> when you say half the screen, do you mean of the x or y axis?  how about
> vertical max only?
>
>> 2009/3/2 J.C. Roberts :
>> > On Mon, 2 Mar 2009 08:27:23 -0500 Okan Demirmen 
>> > wrote:
>> >
>> >> On Mon 2009.03.02 at 13:40 +0100, Pau wrote:
>> >> > Hello,
>> >> >
>> >> > I am running -current and cwm combination C-M-f seems to not be
>> >> > working. I don't get a fullscreen, just half of it. I had re-read
>> >> > the man again but there's no indication that the combintions of keys
>> >> > should have changed.
>> >> >
>> >> > Any help will be appreciated.
>> >>
>> >> uhm, which application?
>> >>
>> >
>> > With the 2009.02.28/27 i386 snapshot I am *unable* to reproduce the bug
>> > with xterm, gvim or mplayer (playing).
>> >
>> > --
>> > J.C. Roberts
>> >
>> >
>>
>>
>>
>> --
>> Let there be peace on earth. And let it begin with misc
>
>



--
Let there be peace on earth. And let it begin with misc



reboot on ath0 (Atheros AR5413" rev 0x01) using 4.5-snapshot

2009-03-02 Thread FRLinux
Hello,

I am using 4.5 snapshots from 28022009 and using the atheros chipset
AR5413, the system just reboots when trying to set it as an access
point. On the same soekris using the AR5212 does not make the box
reboot (although I am still trying to configure it right)

Here are the commands used:

ifconfig ath0 192.168.5.1 255.255.255.0 media autoselect mediaopt
hostap mode 11g nwid testap nwkey testkey chan 11

booting hd0a:/bsd: 6039964+1059784 [52+336688+318896]=0x7657ec
entry point at 0x200120

[ using 656008 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2009 OpenBSD. All rights reserved.
http://www.OpenBSD.org

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: Geode(TM) Integrated Processor by National Semi ("Geode by
NSC" 586-class) 267 MHz
cpu0: FPU,TSC,MSR,CX8,CMOV,MMX
real mem  = 268005376 (255MB)
avail mem = 250855424 (239MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 20/70/04, BIOS32 rev. 0 @
0xf7840
pcibios0 at bios0: rev 2.0 @ 0xf/0x1
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc8000/0x9000
cpu0 at mainbus0: (uniprocessor)
cpu0: TSC disabled
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Cyrix GXm PCI" rev 0x00
sis0 at pci0 dev 6 function 0 "NS DP83815 10/100" rev 0x00,
DP83816A: irq 10, address 00:00:24:c8:44:f4
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 7 function 0 "NS DP83815 10/100" rev 0x00,
DP83816A: irq 10, address 00:00:24:c8:44:f5
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci0 dev 8 function 0 "NS DP83815 10/100" rev 0x00,
DP83816A: irq 10, address 00:00:24:c8:44:f6
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
ppb0 at pci0 dev 10 function 0 "TI PCI2250 PCI-PCI" rev 0x02
pci1 at ppb0 bus 1
sis3 at pci1 dev 0 function 0 "NS DP83815 10/100" rev 0x00,
DP83816A: irq 9, address 00:00:24:c8:31:d4
nsphyter3 at sis3 phy 0: DP83815 10/100 PHY, rev. 1
sis4 at pci1 dev 1 function 0 "NS DP83815 10/100" rev 0x00,
DP83816A: irq 5, address 00:00:24:c8:31:d5
nsphyter4 at sis4 phy 0: DP83815 10/100 PHY, rev. 1
sis5 at pci1 dev 2 function 0 "NS DP83815 10/100" rev 0x00,
DP83816A: irq 9, address 00:00:24:c8:31:d6
nsphyter5 at sis5 phy 0: DP83815 10/100 PHY, rev. 1
sis6 at pci1 dev 3 function 0 "NS DP83815 10/100" rev 0x00,
DP83816A: irq 5, address 00:00:24:c8:31:d7
nsphyter6 at sis6 phy 0: DP83815 10/100 PHY, rev. 1
ath0 at pci0 dev 14 function 0 "Atheros AR5413" rev 0x01: irq 11
ath0: AR5413 10.5 phy 6.1 rf 6.3, FCC2A*, address
00:0b:6b:2f:02:1e
gscpcib0 at pci0 dev 18 function 0 "NS SC1100 ISA" rev 0x00
gpio0 at gscpcib0: 64 pins
"NS SC1100 SMI" rev 0x00 at pci0 dev 18 function 1 not configured
pciide0 at pci0 dev 18 function 2 "NS SCx200 IDE" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 4-sector PIO, LBA, 3919MB, 8027712 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
geodesc0 at pci0 dev 18 function 5 "NS SC1100 X-Bus" rev 0x00: iid
6 revision 3 wdstatus 0
ohci0 at pci0 dev 19 function 0 "Compaq USB OpenHost" rev 0x08:
irq 5, version 1.0, legacy support
isa0 at gscpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: 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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS
gpio1 at nsclpcsio0: 29 pins
gscsio0 at isa0 port 0x15c/2: SC1100 SIO rev 1:
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "Compaq OHCI root hub" rev 1.00/1.00 addr 1
b

Re: -current cwm toggle full-screen

2009-03-02 Thread Aaron Poffenberger

Pau wrote:

funny, I have the problem with all applications... I will check which
snapshot I am using

2009/3/2 J.C. Roberts :
  

On Mon, 2 Mar 2009 08:27:23 -0500 Okan Demirmen 
wrote:



On Mon 2009.03.02 at 13:40 +0100, Pau wrote:
  

Hello,

I am running -current and cwm combination C-M-f seems to not be
working. I don't get a fullscreen, just half of it. I had re-read
the man again but there's no indication that the combintions of keys
should have changed.

Any help will be appreciated.


uhm, which application?

  

With the 2009.02.28/27 i386 snapshot I am *unable* to reproduce the bug
with xterm, gvim or mplayer (playing).

--
J.C. Roberts



As a longshot, did you perhaps set the 'gap' value in your .cwmrc (man 
cwmrc(5))? I use gap to leave some space along the right side of the 
screen for xclock and other utilities.


--Aaron



Re: Wireless USB Adapters For OpenBSD

2009-03-02 Thread STeve Andre'
On Monday 02 March 2009 13:11:02 Jeff Flowers wrote:
> I recently purchased a Lenovo Ideapad S10, onto which I have
> successfully installed OpenBSD 4.4 on. Xorg self configured
> wonderfully. However, the built in Broadcom wireless chipset is not
> supported by OpenBSD, leaving me to consider the purchase of a USB
> wireless adapter.
>
> Can anyone recommend a specific adapter to buy? Basic 802.11b/g
> functionality is all I need.
>
>
>
> Thank you,

You might want to try -current--it just might fix your problem.  Lately
I've been doing a trick that annoys my Linux friends--I take their USB
wifi stick and stuff it into my thinkpad and use it.  With very few
exceptions, it just works.

I have a == $22 stick from newegg, CNet model CWD-854 which I
bought thinking it would work till my thinkpads card would work,
and it worked perfectly.  its a rum(4) device.

But try random devices.  it's fun.

--STeve Andre'



Re: Wireless USB Adapters For OpenBSD

2009-03-02 Thread new_guy
STeve Andre' wrote:
> 
> You might want to try -current--it just might fix your problem.  Lately
> I've been doing a trick that annoys my Linux friends--I take their USB
> wifi stick and stuff it into my thinkpad and use it.  With very few
> exceptions, it just works.
> 

At the same time, there are chipsets to avoid entirely. RealTek 8185 for
example and many times you have *no idea* what some of the less expensive
cards are using this week. I've bought identical Encore cards two months
apart. They had different chipsets.

-- 
View this message in context: 
http://www.nabble.com/Wireless-USB-Adapters-For-OpenBSD-tp22293528p22295583.html
Sent from the openbsd user - misc mailing list archive at Nabble.com.



softraid 1 with a failed device

2009-03-02 Thread Nick Nauwelaerts
Hello,
I was wondering how one can recover from a softraid in raid1 with a
failed device. Recover being: just run on 1 leg until I can find a
replacement disk. The error on reboot I'm faced with after loosing one
disk is the following:

softraid0: not assembling partial disk that used to be volume 0

I see references to this on the mailing list in November 2007 and was
wondering if a partial bringup of a raid 1 array was already possible.
All my attempts resulted either in bioctl complaining it did not have
enough disks:

# bioctl -c 1 -l /dev/sd1d softraid0
bioctl: not enough disks

Or an invalid argument (sd1e used to be the second raid1 slice):
# bioctl -c 1 -l /dev/sd1d,/dev/sd1e softraid0
bioctl: BIOCCREATERAID: Invalid argument

This is a test setup to see how I can rebuild raid1 arrays; that's why
both slices are on the same disk.

On a related note: do raid1 arrays ever go dirty? All tests I did thus
far failed to get them in a state where the metadata was corrupt. Does
that get rebuilt upon reboot after an unclean shutdown? I failed to
find anything in the manpage or my dmesg regarding that.

Thanks

// nick


OpenBSD 4.5-beta (GENERIC) #2011: Mon Feb  9 13:01:20 MST 2009
t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 2146369536 (2046MB)
avail mem = 2072330240 (1976MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (45 entries)
bios0: vendor Phoenix Technologies LTD version "6.00" date 07/22/2008
bios0: VMware, Inc. VMware Virtual Platform
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC BOOT
acpi0: wakeup devices USB_(S1)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Quad-Core AMD Opteron(tm) Processor 8356, 2310.78 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,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, 16 4MB entries fully associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu0: AMD erratum 113 detected and fixed
cpu0: AMD erratum 89 present, BIOS upgrade may be required
cpu0: apic clock running at 65MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0 apid 2 pa 0xfec0, version 11, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
acpibat0 at acpi0: BAT1 not present
acpibat1 at acpi0: BAT2 not present
acpiac0 at acpi0: AC unit online
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x01
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x01
pci1 at ppb0 bus 1
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x08
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: 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:  ATAPI 5/cdrom 
removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x08: SMBus disabled
vga1 at pci0 dev 15 function 0 "VMware Virtual SVGA II" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
mpi0 at pci0 dev 16 function 0 "Symbios Logic 53c1030" rev 0x01: apic 2 int 17 
(irq 9)
scsibus1 at mpi0: 16 targets, initiator 7
sd0 at scsibus1 targ 0 lun 0:  SCSI2 0/direct fixed
sd0: 6144MB, 512 bytes/sec, 12582912 sec total
sd1 at scsibus1 targ 1 lun 0:  SCSI2 0/direct fixed
sd1: 51200MB, 512 bytes/sec, 104857600 sec total
mpi0: target 0 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1
mpi0: target 1 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1
em0 at pci0 dev 17 function 0 "Intel PRO/1000MT (82545EM)" rev 0x01: apic 2 int 
18 (irq 11), address 00:50:56:b9:38:55
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 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: 
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
mtrr: Pentium Pro MTRR support
softraid0 at root
softraid0: not assembling partial disk that used to be volume 0
root on sd0a swap on sd0b dump on sd0b
(kbd slot)



Re: Wireless USB Adapters For OpenBSD

2009-03-02 Thread STeve Andre'
On Monday 02 March 2009 13:50:21 Jeff Flowers wrote:
> On Mon, Mar 2, 2009 at 1:26 PM, STeve Andre'  wrote:
> > On Monday 02 March 2009 13:11:02 Jeff Flowers wrote:
> >> I recently purchased a Lenovo Ideapad S10, onto which I have
> >> successfully installed OpenBSD 4.4 on. Xorg self configured
> >> wonderfully. However, the built in Broadcom wireless chipset is not
> >> supported by OpenBSD, leaving me to consider the purchase of a USB
> >> wireless adapter.
> >>
> >> Can anyone recommend a specific adapter to buy? Basic 802.11b/g
> >> functionality is all I need.
> >>
> >>
> >>
> >> Thank you,
> >
> > You might want to try -current--it just might fix your problem.  Lately
> > I've been doing a trick that annoys my Linux friends--I take their USB
> > wifi stick and stuff it into my thinkpad and use it.  With very few
> > exceptions, it just works.
>
> That's pretty funny.
>
> > I have a == $22 stick from newegg, CNet model CWD-854 which I
> > bought thinking it would work till my thinkpads card would work,
> > and it worked perfectly.  its a rum(4) device.
> >
> > But try random devices.  it's fun.
>
> The wireless adapter in the S10 is a Broadcom BCM4315. According to
> the manpage for bwi(4) for 4.5, it is not supported. Have you heard if
> there is forecoming support? I didn't see anything mentioned in the
> daily changelog.

Nope, my bad.  Shoulda looked at the code before mentioning -current.
Sorry.  So for now, grab a usb card from a friend and verify it works
and sneak out with it.^U.

--STeve Andre'



Re: -current cwm toggle full-screen

2009-03-02 Thread Pau
sorry, I have to add a bit more of information:

C M f toggles the window to 85% of the full screen horizontally and
about 60% vertically, the left corner of the window is the only corner
touching the physical limit of the screen

I was giving the values from whatI remembered, sorry.

2009/3/2 Pau :
> I am using default values... unless this gap value has been unset, I
> should be getting the whole of the screen, right?
>
> thanks for your input, btw!
>
> 2009/3/2 Aaron Poffenberger :
>> Pau wrote:
>>>
>>> funny, I have the problem with all applications... I will check which
>>> snapshot I am using
>>>
>>> 2009/3/2 J.C. Roberts :
>>>

 On Mon, 2 Mar 2009 08:27:23 -0500 Okan Demirmen 
 wrote:


>
> On Mon 2009.03.02 at 13:40 +0100, Pau wrote:
>
>>
>> Hello,
>>
>> I am running -current and cwm combination C-M-f seems to not be
>> working. I don't get a fullscreen, just half of it. I had re-read
>> the man again but there's no indication that the combintions of keys
>> should have changed.
>>
>> Any help will be appreciated.
>>
>
> uhm, which application?
>
>

 With the 2009.02.28/27 i386 snapshot I am *unable* to reproduce the bug
 with xterm, gvim or mplayer (playing).

 --
 J.C. Roberts



>>
>> As a longshot, did you perhaps set the 'gap' value in your .cwmrc (man
>> cwmrc(5))? I use gap to leave some space along the right side of the screen
>> for xclock and other utilities.
>>
>> --Aaron
>>
>>
>
>
>
> --
> Let there be peace on earth. And let it begin with misc
>



-- 
Let there be peace on earth. And let it begin with misc



Re: softraid 1 with a failed device

2009-03-02 Thread Aaron Poffenberger

Nick Nauwelaerts wrote:

Hello,
I was wondering how one can recover from a softraid in raid1 with a
failed device. Recover being: just run on 1 leg until I can find a
replacement disk. The error on reboot I'm faced with after loosing one
disk is the following:

softraid0: not assembling partial disk that used to be volume 0

I see references to this on the mailing list in November 2007 and was
wondering if a partial bringup of a raid 1 array was already possible.
All my attempts resulted either in bioctl complaining it did not have
enough disks:

# bioctl -c 1 -l /dev/sd1d softraid0
bioctl: not enough disks

Or an invalid argument (sd1e used to be the second raid1 slice):
# bioctl -c 1 -l /dev/sd1d,/dev/sd1e softraid0
bioctl: BIOCCREATERAID: Invalid argument

This is a test setup to see how I can rebuild raid1 arrays; that's why
both slices are on the same disk.

On a related note: do raid1 arrays ever go dirty? All tests I did thus
far failed to get them in a state where the metadata was corrupt. Does
that get rebuilt upon reboot after an unclean shutdown? I failed to
find anything in the manpage or my dmesg regarding that.

Thanks

// nick


OpenBSD 4.5-beta (GENERIC) #2011: Mon Feb  9 13:01:20 MST 2009
t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 2146369536 (2046MB)
avail mem = 2072330240 (1976MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (45 entries)
bios0: vendor Phoenix Technologies LTD version "6.00" date 07/22/2008
bios0: VMware, Inc. VMware Virtual Platform
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC BOOT
acpi0: wakeup devices USB_(S1)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Quad-Core AMD Opteron(tm) Processor 8356, 2310.78 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,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, 16 4MB entries fully associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu0: AMD erratum 113 detected and fixed
cpu0: AMD erratum 89 present, BIOS upgrade may be required
cpu0: apic clock running at 65MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0 apid 2 pa 0xfec0, version 11, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
acpibat0 at acpi0: BAT1 not present
acpibat1 at acpi0: BAT2 not present
acpiac0 at acpi0: AC unit online
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x01
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x01
pci1 at ppb0 bus 1
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x08
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: 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:  ATAPI 5/cdrom 
removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x08: SMBus disabled
vga1 at pci0 dev 15 function 0 "VMware Virtual SVGA II" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
mpi0 at pci0 dev 16 function 0 "Symbios Logic 53c1030" rev 0x01: apic 2 int 17 
(irq 9)
scsibus1 at mpi0: 16 targets, initiator 7
sd0 at scsibus1 targ 0 lun 0:  SCSI2 0/direct fixed
sd0: 6144MB, 512 bytes/sec, 12582912 sec total
sd1 at scsibus1 targ 1 lun 0:  SCSI2 0/direct fixed
sd1: 51200MB, 512 bytes/sec, 104857600 sec total
mpi0: target 0 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1
mpi0: target 1 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1
em0 at pci0 dev 17 function 0 "Intel PRO/1000MT (82545EM)" rev 0x01: apic 2 int 
18 (irq 11), address 00:50:56:b9:38:55
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 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: 
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
mtrr: Pentium Pro MTRR support
softraid0 at root
softraid0: not assembling partial disk that used to be volume 0
root on sd0a swap on sd0b dump on sd0b
(kbd slot)

  
You can't rebuild a softraid(4) right now (manually or automatically). 
You have to recreate it. The process is to make a new softraid and 
restore(8) the data from a recent dump(8).


If you don't have a dump you can c

Re: -current cwm toggle full-screen

2009-03-02 Thread Aaron Poffenberger
Very strange indeed. You might try `gap 0 0 0 0` to reset it to default 
values.


Pau wrote:

sorry, I have to add a bit more of information:

C M f toggles the window to 85% of the full screen horizontally and
about 60% vertically, the left corner of the window is the only corner
touching the physical limit of the screen

I was giving the values from whatI remembered, sorry.

2009/3/2 Pau :
  

I am using default values... unless this gap value has been unset, I
should be getting the whole of the screen, right?

thanks for your input, btw!

2009/3/2 Aaron Poffenberger :


Pau wrote:
  

funny, I have the problem with all applications... I will check which
snapshot I am using

2009/3/2 J.C. Roberts :



On Mon, 2 Mar 2009 08:27:23 -0500 Okan Demirmen 
wrote:


  

On Mon 2009.03.02 at 13:40 +0100, Pau wrote:



Hello,

I am running -current and cwm combination C-M-f seems to not be
working. I don't get a fullscreen, just half of it. I had re-read
the man again but there's no indication that the combintions of keys
should have changed.

Any help will be appreciated.

  

uhm, which application?




With the 2009.02.28/27 i386 snapshot I am *unable* to reproduce the bug
with xterm, gvim or mplayer (playing).

--
J.C. Roberts



  

As a longshot, did you perhaps set the 'gap' value in your .cwmrc (man
cwmrc(5))? I use gap to leave some space along the right side of the screen
for xclock and other utilities.

--Aaron


  


--
Let there be peace on earth. And let it begin with misc




ar5213a stuck on 11b

2009-03-02 Thread FRLinux
Hello again,

I have tried a second card which is an Atheros AR5213A. I can set it
on 11a or 11b but 11g (even though does not make any errors) never
works. It seems to stay stuck at 11b.

I have set it with and without encryption without luck so far.

This is my setup :

inet 192.168.5.1 255.255.255.0 NONE media autoselect mediaopt hostap
mode 11b nwid openbsdap chan 11 wpa wpapsk $(wpa-psk openbsdap
my_secret_key) wpaakms psk

Trying mode 11g just returns to the command line without resetting
anything. Has anyone seen familiar behavior, been googling for a while
without finding a solution so far.

ath0: flags=8863 mtu 1500
lladdr 00:0b:6b:de:10:f2
priority: 0
groups: wlan
media: IEEE802.11 autoselect mode 11b hostap
status: active
ieee80211: nwid openbsdap chan 11 bssid 00:0b:6b:de:10:f2
wpapsk 0xd.8b wpaprotos wpa1 wpaakms psk wpaciphers tkip,ccmp
wpagroupcipher tkip
inet6 fe80::20b:6bff:fede:10f2%ath0 prefixlen 64 scopeid 0x4
inet 192.168.5.1 netmask 0xff00 broadcast 192.168.5.255


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: Geode(TM) Integrated Processor by National Semi ("Geode by NSC"
586-class) 267 MHz
cpu0: FPU,TSC,MSR,CX8,CMOV,MMX
real mem  = 268005376 (255MB)
avail mem = 250855424 (239MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 20/70/04, BIOS32 rev. 0 @ 0xf7840
pcibios0 at bios0: rev 2.0 @ 0xf/0x1
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc8000/0x9000
cpu0 at mainbus0: (uniprocessor)
cpu0: TSC disabled
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Cyrix GXm PCI" rev 0x00
sis0 at pci0 dev 6 function 0 "NS DP83815 10/100" rev 0x00, DP83816A:
irq 10, address 00:00:24:c8:44:f4
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 7 function 0 "NS DP83815 10/100" rev 0x00, DP83816A:
irq 10, address 00:00:24:c8:44:f5
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci0 dev 8 function 0 "NS DP83815 10/100" rev 0x00, DP83816A:
irq 10, address 00:00:24:c8:44:f6
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
ath0 at pci0 dev 14 function 0 "Atheros AR5212" rev 0x01: irq 11
ath0: AR5213A 5.9 phy 4.3 rf5112a 3.6, FCC2A*, address 00:0b:6b:de:10:f2
gscpcib0 at pci0 dev 18 function 0 "NS SC1100 ISA" rev 0x00
gpio0 at gscpcib0: 64 pins
"NS SC1100 SMI" rev 0x00 at pci0 dev 18 function 1 not configured
pciide0 at pci0 dev 18 function 2 "NS SCx200 IDE" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 4-sector PIO, LBA, 3919MB, 8027712 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
geodesc0 at pci0 dev 18 function 5 "NS SC1100 X-Bus" rev 0x00: iid 6
revision 3 wdstatus 0
ohci0 at pci0 dev 19 function 0 "Compaq USB OpenHost" rev 0x08: irq 5,
version 1.0, legacy support
isa0 at gscpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: 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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS
gpio1 at nsclpcsio0: 29 pins
gscsio0 at isa0 port 0x15c/2: SC1100 SIO rev 1:
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "Compaq OHCI root hub" rev 1.00/1.00 addr 1
biomask f3e5 netmask ffe5 ttymask 
softraid0 at root
root on wd0a swap on wd0b dump on wd0b



Re: Wireless USB Adapters For OpenBSD

2009-03-02 Thread STeve Andre'
On Monday 02 March 2009 15:00:31 new_guy wrote:
> STeve Andre' wrote:
> > You might want to try -current--it just might fix your problem.  Lately
> > I've been doing a trick that annoys my Linux friends--I take their USB
> > wifi stick and stuff it into my thinkpad and use it.  With very few
> > exceptions, it just works.
>
> At the same time, there are chipsets to avoid entirely. RealTek 8185 for
> example and many times you have *no idea* what some of the less expensive
> cards are using this week. I've bought identical Encore cards two months
> apart. They had different chipsets.

That is very true, but it applies to just about all the cheap cards regardless
of what it is.  I've had "identical" serial, parallel, usb wifi and ide 
controller cards that wern't.

I guess I've been lucky lately and have only dealt with real Realtek stuff.

--STeve Andre'



Pre-Order Prizes

2009-03-02 Thread new_guy
I mentioned this when I pre-ordered 4.4... I think folks thought that I was
joking. Do prizes for pre-orders. Nothing fancy just something like this:

1. First 50 pre-orders win a T-Shirt and Theo signs the CD case.
2. The 100th pre-order wins a coffee mug.
3. 200th "
4. 300th "
5. Do something special for the 1000th.
6. etc.

Those are just suggestions. The prizes could be anything. Just an idea to
juice things up and hopefully sell more CDs. I find OpenBSD extremely useful
and I want to see it grow and prosper... even in hard economic times. That's
why I bring this up again.


-- 
View this message in context: 
http://www.nabble.com/Pre-Order-Prizes-tp22298403p22298403.html
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Re: Pre-Order Prizes

2009-03-02 Thread patrick keshishian
On Mon, Mar 2, 2009 at 2:34 PM, new_guy  wrote:
> I mentioned this when I pre-ordered 4.4... I think folks thought that I was
> joking. Do prizes for pre-orders. Nothing fancy just something like this:
>
> 1. First 50 pre-orders win a T-Shirt and Theo signs the CD case.
> 2. The 100th pre-order wins a coffee mug.
> 3. 200th "
> 4. 300th "
> 5. Do something special for the 1000th.
> 6. etc.
>
> Those are just suggestions. The prizes could be anything. Just an idea to
> juice things up and hopefully sell more CDs. I find OpenBSD extremely useful
> and I want to see it grow and prosper... even in hard economic times. That's
> why I bring this up again.

I don't so much like the "prize" idea, but maybe have developer signed
posters or CDs for extra $$$ and maybe in limited number of units per
release.

--patrick



Re: Pre-Order Prizes

2009-03-02 Thread Theo de Raadt
> I mentioned this when I pre-ordered 4.4... I think folks thought that I was
> joking. Do prizes for pre-orders. Nothing fancy just something like this:
> 
> 1. First 50 pre-orders win a T-Shirt and Theo signs the CD case.
> 2. The 100th pre-order wins a coffee mug.
> 3. 200th "
> 4. 300th "
> 5. Do something special for the 1000th.
> 6. etc.
> 
> Those are just suggestions. The prizes could be anything. Just an idea to
> juice things up and hopefully sell more CDs. I find OpenBSD extremely useful
> and I want to see it grow and prosper... even in hard economic times. That's
> why I bring this up again.

Or how about we skip the prizes, and Theo gets to do a bit of
development once in a while, instead of making coffee mugs and signing
CDs that are not even shipped out of the city where he lives?

I thought the software and the ideas behind the software were enough
"juice", or should I just give up even trying?

Is trying to make good stuff oh so 1970?

You know, like manufacturing stuff people want... or need... locally?

Sorry, but I am not going to spend my time making coffee mugs.



Re: Pre-Order Prizes

2009-03-02 Thread Theo de Raadt
> On Mon, Mar 2, 2009 at 2:34 PM, new_guy  wrote:
> > I mentioned this when I pre-ordered 4.4... I think folks thought that I was
> > joking. Do prizes for pre-orders. Nothing fancy just something like this:
> >
> > 1. First 50 pre-orders win a T-Shirt and Theo signs the CD case.
> > 2. The 100th pre-order wins a coffee mug.
> > 3. 200th "
> > 4. 300th "
> > 5. Do something special for the 1000th.
> > 6. etc.
> >
> > Those are just suggestions. The prizes could be anything. Just an idea to
> > juice things up and hopefully sell more CDs. I find OpenBSD extremely useful
> > and I want to see it grow and prosper... even in hard economic times. That's
> > why I bring this up again.
> 
> I don't so much like the "prize" idea, but maybe have developer signed
> posters or CDs for extra $$$ and maybe in limited number of units per
> release.

Oh yeah, that's a great idea!

We can take a poster and ship it from Milk River to 20 developers
around the world (say Netherlands, France, UK, Switzerland, Japan,
Australia, Sweden, etc) step by step, and when each of them gets it he
can pull it out of the increasingly ratty looking poster tube, sign
it, slip it back -- add new postage -- and maybe the poster even
eventually makes it somewhere without getting lost... and guess what!
Someone can get it about 3 months later.  It's going to be the same
low price because we can have The Computer Shop and OpenBSD pay for
all the shipping costs to get that poster all the way around the
world!  Naw, we'd charge all the postage to the person who is silly
enough pay for a poster tube round-the-world trip, and we know the
project would not one cent extra.

Or how about we just keep trying to make high quality software, and
hope that people support us for doing just that?

I think that is a better plan.



Re: Pre-Order Prizes

2009-03-02 Thread Dag Richards

I thought the prize was you got the software?



Re: Pre-Order Prizes

2009-03-02 Thread Daniel A. Ramaley
On 2009-03-02 at 16:45:00, Theo de Raadt wrote:
>Sorry, but I am not going to spend my time making coffee mugs.

Thank you.

I really like OpenBSD and contribute with money.
I already have enough coffee mugs.


Dan RamaleyDial Center 118, Drake University
Network Programmer/Analyst 2407 Carpenter Ave
+1 515 271-4540Des Moines IA 50311 USA



Re: -current cwm toggle full-screen

2009-03-02 Thread Robert
On Mon, 2 Mar 2009 22:30:06 +0100
Pau  wrote:

> sorry, I have to add a bit more of information:
> 
> C M f toggles the window to 85% of the full screen horizontally and
> about 60% vertically, the left corner of the window is the only corner
> touching the physical limit of the screen
> 
> I was giving the values from whatI remembered, sorry.

Hi,

this sounds a lot like what i had on my Thinkpad X200, but i am just
guessing. (Screen of 1280x800, tiled because of an additional lower
resolution ouput detected by X.)
But i "guess" it worked for you on the same hardware before...

Did you try another windowmanager and get the same problem?
Can you show us the output of xrander?
What hardware are you running on?

- Robert



Re: Pre-Order Prizes

2009-03-02 Thread new_guy
Theo de Raadt wrote:
> 
> Or how about we skip the prizes, and Theo gets to do a bit of
> development once in a while, instead of making coffee mugs and signing
> CDs that are not even shipped out of the city where he lives?
> 
> I thought the software and the ideas behind the software were enough
> "juice", or should I just give up even trying?
> 
> Is trying to make good stuff oh so 1970?
> 
> You know, like manufacturing stuff people want... or need... locally?
> 
> Sorry, but I am not going to spend my time making coffee mugs.
> 

Just a suggestion. The quality and simplicity of OpenBSD speaks for itself.
That's why I buy it instead of just downloading isos. You could make the
prize(s) whatever you want. Coffee mug was just a dumb example. I just
thought the idea might increase pre-orders. Humans will be humans. And the
chance to get a prize on top of the high-quality software appeals to folks.
I'll pre-order either way.


-- 
View this message in context: 
http://www.nabble.com/Pre-Order-Prizes-tp22298403p22298976.html
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Re: Pre-Order Prizes

2009-03-02 Thread ben wilber
On Mon, Mar 02, 2009 at 03:08:48PM -0800, new_guy wrote:
> Just a suggestion.

You got chewed out by Theo.  Just print that out and frame it.  It's
kind of like a signature.



Re: upgrades for the project

2009-03-02 Thread Marco Peereboom
After lots of very generous donations we today breached the required
amount!!  Thank you very very much everyone who donated!!

The r200s have been ordered and the 2950 will be ordered later today.

Thanks again to everyone who participated,
/marco

On Fri, Feb 27, 2009 at 12:11:19PM -0600, Marco Peereboom wrote:
> So far we have been able to order the two r200 boxes, thanks!
> 
> However we have not gotten to the required funds to order the 2950.
> There still is time to part with your hard earned cash and help the
> project ;-)
> 
> I do want to give a HUGE thanks to all the people that have already
> donated. Thank you very much!  It is people like you that makes this
> project tick!
> 
> On Tue, Feb 24, 2009 at 03:16:07PM -0600, Marco Peereboom wrote:
> > As you can read at:
> > http://undeadly.org/cgi?action=article&sid=20090224194829&mode=expanded&count=0
> > the project needs some upgrades.  So if you can spare us a donation
> > it'll be appreciated.  I'd appreciate if you'd put in the paypal comment
> > field if you want to be listed or not on the donations.html page.
> > 
> > If you have any questions feel free to send me a note.



Re: Pre-Order Prizes

2009-03-02 Thread Neal Hogan
On Mon, Mar 2, 2009 at 4:55 PM, Daniel A. Ramaley
wrote:

> On 2009-03-02 at 16:45:00, Theo de Raadt wrote:
> >Sorry, but I am not going to spend my time making coffee mugs.
>
> Thank you.
>
> I really like OpenBSD and contribute with money.
> I already have enough coffee mugs.
>
> 
> Dan RamaleyDial Center 118, Drake University
> Network Programmer/Analyst 2407 Carpenter Ave
> +1 515 271-4540Des Moines IA 50311 USA
>
>

Many folks take celebrity as a compliment. Perhaps that should be
acknowledged.

While I agree that the product is the most important thing, one must
acknowledge the consumers of such product . . .

oh . . .  wait . . .

continually producing a quality product does just that. Thanks for the
acknowledgment!

-- 
www.nealhogan.net  www.lambdaserver.com



Re: Pre-Order Prizes

2009-03-02 Thread patrick keshishian
On Mon, Mar 2, 2009 at 2:49 PM, Theo de Raadt 
wrote:
>> On Mon, Mar 2, 2009 at 2:34 PM, new_guy  wrote:
>> > I mentioned this when I pre-ordered 4.4... I think folks thought that I
was
>> > joking. Do prizes for pre-orders. Nothing fancy just something like
this:
>> >
>> > 1. First 50 pre-orders win a T-Shirt and Theo signs the CD case.
>> > 2. The 100th pre-order wins a coffee mug.
>> > 3. 200th "
>> > 4. 300th "
>> > 5. Do something special for the 1000th.
>> > 6. etc.
>> >
>> > Those are just suggestions. The prizes could be anything. Just an idea
to
>> > juice things up and hopefully sell more CDs. I find OpenBSD extremely
useful
>> > and I want to see it grow and prosper... even in hard economic times.
That's
>> > why I bring this up again.
>>
>> I don't so much like the "prize" idea, but maybe have developer signed
>> posters or CDs for extra $$$ and maybe in limited number of units per
>> release.
>
> Oh yeah, that's a great idea!
>
> We can take a poster and ship it from Milk River to 20 developers
> around the world (say Netherlands, France, UK, Switzerland, Japan,
> Australia, Sweden, etc) step by step, and when each of them gets it he
> can pull it out of the increasingly ratty looking poster tube, sign
> it, slip it back -- add new postage -- and maybe the poster even
> eventually makes it somewhere without getting lost... and guess what!
> Someone can get it about 3 months later. B It's going to be the same
> low price because we can have The Computer Shop and OpenBSD pay for
> all the shipping costs to get that poster all the way around the
> world! B Naw, we'd charge all the postage to the person who is silly
> enough pay for a poster tube round-the-world trip, and we know the
> project would not one cent extra.

Don't you guys get together few times a year for a marathon coding
session? Sign a dozen posters then and hold'em off 'til the next
release. Put a sticker price of $500 each (or more).


Take a dozen posters to hackaton ($10/each)
Take 10 minutes off to have devs sign them (= fun morale booster)
Sell each poster for $500/each: Profit!

or something like that ...


> Or how about we just keep trying to make high quality software, and
> hope that people support us for doing just that?
>
> I think that is a better plan.

That's good also.

--patrick



Re: -current cwm toggle full-screen

2009-03-02 Thread Pau
Hello,

yes, this is a thinkpad x200s. But the true resolution is picked up
(1440x900), I think

xrander and dmesg follow

I haven't tried any other wm... I got the machine four days ago with
windows vista on it, which I deleted. I will now try a different wm

-
Screen 0: minimum 320 x 200, current 1440 x 900, maximum 1440 x 1440
VGA disconnected (normal left inverted right x axis y axis)
LVDS connected 1440x900+0+0 (normal left inverted right x axis y axis)
261mm x 163mm
   1440x900   50.0*+
HDMI-1 connected (normal left inverted right x axis y axis)
   1024x768   60.0
   800x60060.3
   640x48059.9
HDMI-2 connected 1024x768+0+0 (normal left inverted right x axis y
axis) 0mm x 0mm
   1024x768   60.0*
   800x60060.3
   640x48059.9
OpenBSD 4.5 (GENERIC) #1748: Sat Feb 28 00:02:17 MST 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM)2 Duo CPU L9400 @ 1.86GHz ("GenuineIntel"
686-class) 1.87 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR
real mem  = 3178524672 (3031MB)
avail mem = 3079213056 (2936MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/27/08, BIOS32 rev. 0 @
0xfdcb0, SMBIOS rev. 2.4 @ 0xe0010 (62 entries)
bios0: vendor LENOVO version "6DET33WW (1.10 )" date 10/27/2008
bios0: LENOVO 74695KG
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT
TCPA SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP0(S4) EXP1(S4)
EXP2(S4) EXP3(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3)
USB5(S3) EHC0(S3) EHC1(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 265MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
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 -1 (EXP2)
acpiprt5 at acpi0: bus 5 (EXP3)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 104 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "42T4540" serial   566 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/0x1! 0xd/0x1000 0xd1000/0x1000
0xd2000/0x1000 0xde000/0x1800! 0xe/0x1
cpu0: unknown Enhanced SpeedStep CPU, msr 0x0617071b0600071b
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1867 MHz (1132 mV): speeds: 1867, 1600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07
vga1 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 1 int 16 (irq 11)
drm0 at inteldrm0
"Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured
"Intel GM45 HECI" rev 0x07 at pci0 dev 3 function 0 not configured
pciide0 at pci0 dev 3 function 2 "Intel GM45 PT IDER" rev 0x07: DMA
(unsupported), channel 0 wired to native-PCI, channel 1 wired to
native-PCI
pciide0: using apic 1 int 18 (irq 11) for native-PCI interrupt
pciide0: channel 0 ignored (not responding; disabled or no drives?)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
"Intel GM45 AMT SOL" rev 0x07 at pci0 dev 3 function 3 not configured
em0 at pci0 dev 25 function 0 "Intel ICH9 IGP M AMT" rev 0x03: apic 1
int 20 (irq 11), address 00:1f:16:0a:2b:69
uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 1
int 20 (irq 11)
uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 1
int 21 (irq 11)
uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 1
int 22 (irq 11)
ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 1
int 23 (irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03:
apic 1 int 17 (irq 11)
azalia0: codecs: Conexant CX20561
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: apic 1
int 20 (irq 11)
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03: apic 1
int 21 (irq 11)
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 "Intel WiFi Li

Re: -current cwm toggle full-screen

2009-03-02 Thread Pau
I just tried fvwm and when I press the buttom to maximise a window, it
fills in the whole screen...

Adding gap 0 0 0 0 didn't help either



Re: aue0 can't send packets

2009-03-02 Thread Nenhum_de_Nos
On Mon, March 2, 2009 01:43, Nenhum_de_Nos wrote:
> hail,
>
> I have an usb th ethernet and can't use it on OpenBSD 4.4. It detects ok,
> ifconfigs shows but can't ever get an ip from dhcp server, if I force ip
> with ifconfig I can't use either.
>
> the device is:
>
> aue0 at uhub2 port 1 "ADMtek USB To LAN Converter" rev 1.10/2.01 addr 2
> aue0: address 00:60:6e:00:18:c0
> ukphy1 at aue0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI
> 0x000749, model 0x0001
>
> and dmesg:
>
> # dmesg
> OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
> dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Transmeta(tm) Crusoe(tm) Processor TM5700 ("GenuineTMx86" 586-class)
> 799 MHz
> cpu0: FPU,V86,DE,PSE,TSC,MSR,CX8,SEP,CMOV,SER,MMX
> real mem  = 251146240 (239MB)
> avail mem = 234381312 (223MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 12/10/04, BIOS32 rev. 0 @ 0xfa260,
> SMBIOS rev. 2.3 @ 0xf0800 (32 entries)
> bios0: vendor Phoenix Technologies, LTD version "786R1 v1.07" date
> 12/10/2004
> bios0: Hewlett-Packard hp t5000 series
> acpi0 at bios0: rev 0
> acpi0: tables DSDT FACP
> acpi0: wakeup devices PCI0(S5) LAN0(S5) USB0(S4) USB1(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpicpu0 at acpi0: C3, C2
> acpibtn0 at acpi0: PWRB
> bios0: ROM list: 0xc/0x9000 0xcc000/0xa000
> cpu0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "Transmeta LongRun Northbridge" rev 0x04
> "Transmeta Mem1" rev 0x00 at pci0 dev 0 function 1 not configured
> "Transmeta Mem2" rev 0x00 at pci0 dev 0 function 2 not configured
> vendor "Transmeta", unknown product 0x0399 (class memory subclass RAM, rev
> 0x00) at pci0 dev 0 function 3 not configured
> uhci0 at pci0 dev 9 function 0 "VIA VT83C572 USB" rev 0x61: irq 15
> uhci1 at pci0 dev 9 function 1 "VIA VT83C572 USB" rev 0x61: irq 5
> ehci0 at pci0 dev 9 function 2 "VIA VT6202 USB" rev 0x63: irq 10
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1
> vga1 at pci0 dev 13 function 0 "ATI Radeon VE QY" rev 0x00
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> drm at vga1 unsupported
> pcib0 at pci0 dev 17 function 0 "VIA VT8231 ISA" rev 0x10
> pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA100,
> channel 0 configured to compatibility, channel 1 configured to
> compatibility
> pciide0: channel 0 disabled (no drives)
> pciide0: channel 1 ignored (disabled)
> viaenv0 at pci0 dev 17 function 4 "VIA VT8231 PMG" rev 0x10: failed to map
> PM I/O space
> vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x51: irq 15, address
> 00:11:85:e3:2a:17
> ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 10: OUI
> 0x004063, model 0x0032
> usb1 at uhci0: USB revision 1.0
> uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1
> usb2 at uhci1: USB revision 1.0
> uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1
> 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
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: 
> spkr0 at pcppi0
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> biomask fdfd netmask fdfd ttymask 
> umass0 at uhub0 port 2 configuration 1 interface 0 "Genesys Logic USB TO
> IDE" rev 2.00/0.02 addr 2
> umass0: using SCSI over Bulk-Only
> scsibus0 at umass0: 2 targets, initiator 0
> sd0 at scsibus0 targ 1 lun 0:  SCSI0 0/direct
> fixed
> sd0: 19464MB, 2481 cyl, 255 head, 63 sec, 512 bytes/sec, 39862368 sec
> total
> aue0 at uhub2 port 1 "ADMtek USB To LAN Converter" rev 1.10/2.01 addr 2
> aue0: address 00:60:6e:00:18:c0
> ukphy1 at aue0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI
> 0x000749, model 0x0001
> softraid0 at root
> root on sd0a swap on sd0b dump on sd0b
> #
>
> in earlier installations I could get it to drop a message in logs about TX
> error, but I couldn't reproduce so far.
>
> if anyone knows how to make it run ok,
>
> thanks,
>
> matheus
>
> --
> We will call you cygnus,
> The God of balance you shall be

if anyone can give me any hint to what I could do, I'm no developer, but I
could try if there is no other way. would make a great deal for me, as I
will make OpenBSD router on existing hardware (no need to buy another).

thanks again,

matheus

-- 
We will call you cygnus,
The God of balance you shall be



Re: Pre-Order Prizes

2009-03-02 Thread Ted Unangst
On Mon, Mar 2, 2009 at 6:20 PM, patrick keshishian  wrote:
> Don't you guys get together few times a year for a marathon coding
> session? Sign a dozen posters then and hold'em off 'til the next
> release. Put a sticker price of $500 each (or more).
>
>
> Take a dozen posters to hackaton ($10/each)
> Take 10 minutes off to have devs sign them (= fun morale booster)
> Sell each poster for $500/each: Profit!

you can do this yourself, and yet at the many bsd events I've
attended, I've never once seen anyone ask a developer to sign a
poster, even though the posters are ofter given away for free at such
events.  (I think I did sign a PF book once.)  I'd sign damn near
anything if somebody offered to pay me $10 a shot.  I'll be at
eurobsdcon in september, we'll see just how little changes



Re: Pre-Order Prizes

2009-03-02 Thread Theo de Raadt
> Don't you guys get together few times a year for a marathon coding
> session?

Yes, we get together to code.

> Sign a dozen posters then and hold'em off 'til the next
> release.

We don't get together to sign.  And we don't have posters there.  The
powers are in Milk River.  Use google maps, see where it is.  Zoom in.
Zoom wy in.  We don't hold the hackathon there.

> Put a sticker price of $500 each (or more).

And then what?  You think anyone would buy them?

> Take 10 minutes off to have devs sign them (= fun morale booster)
> Sell each poster for $500/each: Profit!

How many posters will you buy?

Anyone else?  $500 per poster, signed by 10 developers.  How many
offers?

If 10 people do that, we'll take an hour off coding to sign them.
It does not take 10 minutes to sign 10 posters.  Is it worth it?

Or should we write code during that time, instead?



Re: upgrades for the project

2009-03-02 Thread Theo de Raadt
> After lots of very generous donations we today breached the required
> amount!!  Thank you very very much everyone who donated!!
> 
> The r200s have been ordered and the 2950 will be ordered later today.
> 
> Thanks again to everyone who participated,

I'd like to also extend my thanks, naturally.  Thanks to Marco (for
handling paypal) and Bob (on behalf of the foundation) for dealing
with the mails they have received over this.

And thanks to all of you for contributing; it is going to be much
better to have this new stuff operating (and it uses less electricity
than what I am currently using..  with the price of power being what
it is... during these hostile and trying times and what-not).



Re: Pre-Order Prizes

2009-03-02 Thread patrick keshishian
On Mon, Mar 2, 2009 at 4:01 PM, Theo de Raadt 
wrote:
>> Don't you guys get together few times a year for a marathon coding
>> session?
>
> Yes, we get together to code.
>
>> Sign a dozen posters then and hold'em off 'til the next
>> release.
>
> We don't get together to sign. B And we don't have posters there. B The
> powers are in Milk River. B Use google maps, see where it is. B Zoom in.
> Zoom wy in. B We don't hold the hackathon there.
>
>> Put a sticker price of $500 each (or more).
>
> And then what? B You think anyone would buy them?
>
>> Take 10 minutes off to have devs sign them (= fun morale booster)
>> Sell each poster for $500/each: Profit!
>
> How many posters will you buy?
>
> Anyone else? B $500 per poster, signed by 10 developers. B How many
> offers?

I'll pre-order one such poster, or CD set, I actually would prefer the
CD set  w/signatures of a few key developers, for $500. You'll see
this $500 with my pre-order of 4.5.



> If 10 people do that, we'll take an hour off coding to sign them.
> It does not take 10 minutes to sign 10 posters. B Is it worth it?
>
> Or should we write code during that time, instead?

You should code. But while putting away a few beers at the end of the
day, sign a few posters and CDs.

--patrick



Re: aue0 can't send packets

2009-03-02 Thread Fred Crowson
What's the output of: ifconfig -a ?
What's the output of: route show -inet ?
What happens when you do: /sbin/dhclient aue0
A bit more information would be helpful.
Fred

On 3/2/09, Nenhum_de_Nos  wrote:
> On Mon, March 2, 2009 01:43, Nenhum_de_Nos wrote:
>> hail,
>>
>> I have an usb th ethernet and can't use it on OpenBSD 4.4. It detects ok,
>> ifconfigs shows but can't ever get an ip from dhcp server, if I force ip
>> with ifconfig I can't use either.
>>
>> the device is:
>>
>> aue0 at uhub2 port 1 "ADMtek USB To LAN Converter" rev 1.10/2.01 addr 2
>> aue0: address 00:60:6e:00:18:c0
>> ukphy1 at aue0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI
>> 0x000749, model 0x0001
>>
>> and dmesg:
>>
>> # dmesg
>> OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
>> dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
>> cpu0: Transmeta(tm) Crusoe(tm) Processor TM5700 ("GenuineTMx86" 586-class)
>> 799 MHz
>> cpu0: FPU,V86,DE,PSE,TSC,MSR,CX8,SEP,CMOV,SER,MMX
>> real mem  = 251146240 (239MB)
>> avail mem = 234381312 (223MB)
>> mainbus0 at root
>> bios0 at mainbus0: AT/286+ BIOS, date 12/10/04, BIOS32 rev. 0 @ 0xfa260,
>> SMBIOS rev. 2.3 @ 0xf0800 (32 entries)
>> bios0: vendor Phoenix Technologies, LTD version "786R1 v1.07" date
>> 12/10/2004
>> bios0: Hewlett-Packard hp t5000 series
>> acpi0 at bios0: rev 0
>> acpi0: tables DSDT FACP
>> acpi0: wakeup devices PCI0(S5) LAN0(S5) USB0(S4) USB1(S4)
>> acpitimer0 at acpi0: 3579545 Hz, 24 bits
>> acpiprt0 at acpi0: bus 0 (PCI0)
>> acpicpu0 at acpi0: C3, C2
>> acpibtn0 at acpi0: PWRB
>> bios0: ROM list: 0xc/0x9000 0xcc000/0xa000
>> cpu0 at mainbus0
>> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
>> pchb0 at pci0 dev 0 function 0 "Transmeta LongRun Northbridge" rev 0x04
>> "Transmeta Mem1" rev 0x00 at pci0 dev 0 function 1 not configured
>> "Transmeta Mem2" rev 0x00 at pci0 dev 0 function 2 not configured
>> vendor "Transmeta", unknown product 0x0399 (class memory subclass RAM, rev
>> 0x00) at pci0 dev 0 function 3 not configured
>> uhci0 at pci0 dev 9 function 0 "VIA VT83C572 USB" rev 0x61: irq 15
>> uhci1 at pci0 dev 9 function 1 "VIA VT83C572 USB" rev 0x61: irq 5
>> ehci0 at pci0 dev 9 function 2 "VIA VT6202 USB" rev 0x63: irq 10
>> usb0 at ehci0: USB revision 2.0
>> uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1
>> vga1 at pci0 dev 13 function 0 "ATI Radeon VE QY" rev 0x00
>> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
>> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
>> drm at vga1 unsupported
>> pcib0 at pci0 dev 17 function 0 "VIA VT8231 ISA" rev 0x10
>> pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA100,
>> channel 0 configured to compatibility, channel 1 configured to
>> compatibility
>> pciide0: channel 0 disabled (no drives)
>> pciide0: channel 1 ignored (disabled)
>> viaenv0 at pci0 dev 17 function 4 "VIA VT8231 PMG" rev 0x10: failed to map
>> PM I/O space
>> vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x51: irq 15, address
>> 00:11:85:e3:2a:17
>> ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 10: OUI
>> 0x004063, model 0x0032
>> usb1 at uhci0: USB revision 1.0
>> uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1
>> usb2 at uhci1: USB revision 1.0
>> uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1
>> 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
>> pcppi0 at isa0 port 0x61
>> midi0 at pcppi0: 
>> spkr0 at pcppi0
>> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
>> biomask fdfd netmask fdfd ttymask 
>> umass0 at uhub0 port 2 configuration 1 interface 0 "Genesys Logic USB TO
>> IDE" rev 2.00/0.02 addr 2
>> umass0: using SCSI over Bulk-Only
>> scsibus0 at umass0: 2 targets, initiator 0
>> sd0 at scsibus0 targ 1 lun 0:  SCSI0 0/direct
>> fixed
>> sd0: 19464MB, 2481 cyl, 255 head, 63 sec, 512 bytes/sec, 39862368 sec
>> total
>> aue0 at uhub2 port 1 "ADMtek USB To LAN Converter" rev 1.10/2.01 addr 2
>> aue0: address 00:60:6e:00:18:c0
>> ukphy1 at aue0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI
>> 0x000749, model 0x0001
>> softraid0 at root
>> root on sd0a swap on sd0b dump on sd0b
>> #
>>
>> in earlier installations I could get it to drop a message in logs about TX
>> error, but I couldn't reproduce so far.
>>
>> if anyone knows how to make it run ok,
>>
>> thanks,
>>
>> matheus
>>
>> --
>> We will call you cygnus,
>> The God of balance you shall be
>
> if anyone can give me any hint to what I could do, I'm no developer, but I
> could try if there is no other way. would make a great deal for me, as I
> will make OpenBSD router on existing hardware (no need to buy another).
>
> thanks again,
>
> matheus
>
> --
> We will call you cygnus,
> The God of balance you shall be



Re: -current cwm toggle full-screen

2009-03-02 Thread Robert
On Tue, 3 Mar 2009 00:25:54 +0100
Pau  wrote:

> Hello,
> 
> yes, this is a thinkpad x200s. But the true resolution is picked up
> (1440x900), I think
> 
> xrander and dmesg follow
> 
> I haven't tried any other wm... I got the machine four days ago with
> windows vista on it, which I deleted. I will now try a different wm
> 
> -
> Screen 0: minimum 320 x 200, current 1440 x 900, maximum 1440 x 1440
> VGA disconnected (normal left inverted right x axis y axis)
> LVDS connected 1440x900+0+0 (normal left inverted right x axis y axis)
> 261mm x 163mm
>1440x900   50.0*+
> HDMI-1 connected (normal left inverted right x axis y axis)
>1024x768   60.0
>800x60060.3
>640x48059.9
> HDMI-2 connected 1024x768+0+0 (normal left inverted right x axis y
> axis) 0mm x 0mm
>1024x768   60.0*
>800x60060.3
>640x48059.9

So  much  info... It's usualy worth it to spam the list with it, even
though one doesn't think it is needed. Atleast i would have picked up
on this thread earlier.

So the maximzed window is 1024x768? :)
Those HDMI are what is messing up your setup.
I disabled them to get rid of the tileing. But remember this, if you
want to connect a screen via basestation some day.

Here is the relevant snippet from my xorg.conf:

###
Section "Device"
Identifier  "Card0"
Driver  "intel"
VendorName  "Intel"
BoardName   "GM45 Video" 
BusID   "PCI:0:2:0"
Option "monitor-HDMI-1" "HDMI-1"
Option "monitor-HDMI-2" "HDMI-2"
EndSection
Section "Monitor"
Identifier  "HDMI-1"
Option "Ignore" "True"
EndSection
Section "Monitor"
Identifier  "HDMI-2"
Option "Ignore" "True"
EndSection
###

This should fix your "cwm-problem" which wasn't one at all.

cheers
- Robert
PS: This stuff was in the archives already.



Atenao partenaire de vos traductions en 2009

2009-03-02 Thread Aurelien SUPOT Atenao Text Work
Bonjour, 

Je me permets de vous contacter en ce dibut d'annie afin de pouvoir vous
proposer nos services pour 2009.

Pensez-vous pouvoir nous consulter prochainement pour vos besoins en
traduction?

Merci par avance de votre retour, 

Trhs cordialement

Aurilien SUPOT
Responsable Diveloppement

Atenao 
partenaire de votre 
communication internationale
4 rue Roux Alpheran
F-13100 Aix-en-Provence 
Til. : +33(0)4 42 93 34 29
Fax : +33(0)4 88 04 92 70
e-mail : asu...@atenao.com
site internet :www.atenao.com

P Afin de contribuer au respect de l'environnement, merci de n'imprimer ce
courriel qu'en cas de nicessiti



Upgrade on non-live disk

2009-03-02 Thread Damon McMahon
Greetings,

Is it possible/wise to follow the upgrade instructions on a non-live
OpenBSD disk mounted on /altroot? I have a second drive I use as a
non-live mirror with dd(1); can I use the "Upgrading without install
kernel" instructions to upgrade this disk by mounting its file systems
in /altroot and then substituting /altroot for / in the "Upgrading
without install kernel" instructions?

Cheers,
Damon



Re: aue0 can't send packets

2009-03-02 Thread Nenhum_de_Nos
On Mon, March 2, 2009 21:04, Fred Crowson wrote:
> What's the output of: ifconfig -a ?

# ifconfig -a
lo0: flags=8049 mtu 33204
groups: lo
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
vr0: flags=8843 mtu 1500
lladdr 00:11:85:e3:2a:17
groups: egress
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::211:85ff:fee3:2a17%vr0 prefixlen 64 scopeid 0x1
inet 10.1.1.90 netmask 0xff00 broadcast 10.1.1.255
enc0: flags=0<> mtu 1536
aue0: flags=8843 mtu 1500
lladdr 00:60:6e:00:18:c0
media: Ethernet autoselect (none)
status: no carrier
inet6 fe80::260:6eff:fe00:18c0%aue0 prefixlen 64 scopeid 0x4


> What's the output of: route show -inet ?

if I use the vr0 if, all is ok, I have keyboard access to the box, so when
on aue0 I have no ip nor routing anything :)

> What happens when you do: /sbin/dhclient aue0

it can't send packets over the wire. just receive (as tcpdump gets
something), so it tries till giving up.

dhclient aue0
DHCPDISCOVER on aue0 to 255.255.255.255 port 67 interval 1
DHCPDISCOVER on aue0 to 255.255.255.255 port 67 interval 2
DHCPDISCOVER on aue0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on aue0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on aue0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on aue0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on aue0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on aue0 to 255.255.255.255 port 67 interval 13
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

if I use vr0 that is ok, I have this:

# dhclient vr0
DHCPREQUEST on vr0 to 255.255.255.255 port 67
DHCPACK from 10.1.1.10
bound to 10.1.1.90 -- renewal in 43200 seconds.
#

I'm asking for help in here cause I have tried this same adapter in
FreeBSD and also get this error, so I exclude here the hardware. Just
FreeBSD 8-current with new drivers make it run ok. is the same tx error.

everything else is ok.

thanks,

matheus

> A bit more information would be helpful.
> Fred
>
> On 3/2/09, Nenhum_de_Nos  wrote:
>> On Mon, March 2, 2009 01:43, Nenhum_de_Nos wrote:
>>> hail,
>>>
>>> I have an usb th ethernet and can't use it on OpenBSD 4.4. It detects
>>> ok,
>>> ifconfigs shows but can't ever get an ip from dhcp server, if I force
>>> ip
>>> with ifconfig I can't use either.
>>>
>>> the device is:
>>>
>>> aue0 at uhub2 port 1 "ADMtek USB To LAN Converter" rev 1.10/2.01 addr 2
>>> aue0: address 00:60:6e:00:18:c0
>>> ukphy1 at aue0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI
>>> 0x000749, model 0x0001
>>>
>>> and dmesg:
>>>
>>> # dmesg
>>> OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
>>> dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
>>> cpu0: Transmeta(tm) Crusoe(tm) Processor TM5700 ("GenuineTMx86"
>>> 586-class)
>>> 799 MHz
>>> cpu0: FPU,V86,DE,PSE,TSC,MSR,CX8,SEP,CMOV,SER,MMX
>>> real mem  = 251146240 (239MB)
>>> avail mem = 234381312 (223MB)
>>> mainbus0 at root
>>> bios0 at mainbus0: AT/286+ BIOS, date 12/10/04, BIOS32 rev. 0 @
>>> 0xfa260,
>>> SMBIOS rev. 2.3 @ 0xf0800 (32 entries)
>>> bios0: vendor Phoenix Technologies, LTD version "786R1 v1.07" date
>>> 12/10/2004
>>> bios0: Hewlett-Packard hp t5000 series
>>> acpi0 at bios0: rev 0
>>> acpi0: tables DSDT FACP
>>> acpi0: wakeup devices PCI0(S5) LAN0(S5) USB0(S4) USB1(S4)
>>> acpitimer0 at acpi0: 3579545 Hz, 24 bits
>>> acpiprt0 at acpi0: bus 0 (PCI0)
>>> acpicpu0 at acpi0: C3, C2
>>> acpibtn0 at acpi0: PWRB
>>> bios0: ROM list: 0xc/0x9000 0xcc000/0xa000
>>> cpu0 at mainbus0
>>> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
>>> pchb0 at pci0 dev 0 function 0 "Transmeta LongRun Northbridge" rev 0x04
>>> "Transmeta Mem1" rev 0x00 at pci0 dev 0 function 1 not configured
>>> "Transmeta Mem2" rev 0x00 at pci0 dev 0 function 2 not configured
>>> vendor "Transmeta", unknown product 0x0399 (class memory subclass RAM,
>>> rev
>>> 0x00) at pci0 dev 0 function 3 not configured
>>> uhci0 at pci0 dev 9 function 0 "VIA VT83C572 USB" rev 0x61: irq 15
>>> uhci1 at pci0 dev 9 function 1 "VIA VT83C572 USB" rev 0x61: irq 5
>>> ehci0 at pci0 dev 9 function 2 "VIA VT6202 USB" rev 0x63: irq 10
>>> usb0 at ehci0: USB revision 2.0
>>> uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1
>>> vga1 at pci0 dev 13 function 0 "ATI Radeon VE QY" rev 0x00
>>> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
>>> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
>>> drm at vga1 unsupported
>>> pcib0 at pci0 dev 17 function 0 "VIA VT8231 ISA" rev 0x10
>>> pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA100,
>>> channel 0 configured to compatibility, channel 1 configured to
>>> compatibility
>>> pciide0: channel 0 disabled (no drives)
>>> pciide0: channel 1 ignored (disabled)
>>> viaenv0 at pci0 dev 17 function 4 "VIA VT8231 PMG" rev 0x10: failed to
>>>

Re: Upgrade on non-live disk

2009-03-02 Thread Nick Holland
Damon McMahon wrote:
> Greetings,
> 
> Is it possible/wise to follow the upgrade instructions on a non-live
> OpenBSD disk mounted on /altroot? I have a second drive I use as a
> non-live mirror with dd(1); can I use the "Upgrading without install
> kernel" instructions to upgrade this disk by mounting its file systems
> in /altroot and then substituting /altroot for / in the "Upgrading
> without install kernel" instructions?
> 
> Cheers,
> Damon

if you do it carefully, sure.

Nick.



Re: Wireless USB Adapters For OpenBSD

2009-03-02 Thread Gerald Thornberry
I use a Zonet ZEW2500P, which has a Ralink RT2570 chipset (ural).  It
costs US$30 or less.  Download and pkg_add the firmware mentioned in
the man page and it just works.  However, while the adapter itself is
small (like flip-phone small) it requires a USB cable.  It's not a
stick like the thumb-sized ones.

On Mon, Mar 2, 2009 at 4:08 PM, STeve Andre'  wrote:
> On Monday 02 March 2009 13:50:21 Jeff Flowers wrote:
>> On Mon, Mar 2, 2009 at 1:26 PM, STeve Andre'  wrote:
>> > On Monday 02 March 2009 13:11:02 Jeff Flowers wrote:
>> >> I recently purchased a Lenovo Ideapad S10, onto which I have
>> >> successfully installed OpenBSD 4.4 on. Xorg self configured
>> >> wonderfully. However, the built in Broadcom wireless chipset is not
>> >> supported by OpenBSD, leaving me to consider the purchase of a USB
>> >> wireless adapter.
>> >>
>> >> Can anyone recommend a specific adapter to buy? Basic 802.11b/g
>> >> functionality is all I need.
>> >>
>> >>
>> >>
>> >> Thank you,
>> >
>> > You might want to try -current--it just might fix your problem.  Lately
>> > I've been doing a trick that annoys my Linux friends--I take their USB
>> > wifi stick and stuff it into my thinkpad and use it.  With very few
>> > exceptions, it just works.
>>
>> That's pretty funny.
>>
>> > I have a == $22 stick from newegg, CNet model CWD-854 which I
>> > bought thinking it would work till my thinkpads card would work,
>> > and it worked perfectly.  its a rum(4) device.
>> >
>> > But try random devices.  it's fun.
>>
>> The wireless adapter in the S10 is a Broadcom BCM4315. According to
>> the manpage for bwi(4) for 4.5, it is not supported. Have you heard if
>> there is forecoming support? I didn't see anything mentioned in the
>> daily changelog.
>
> Nope, my bad.  Shoulda looked at the code before mentioning -current.
> Sorry.  So for now, grab a usb card from a friend and verify it works
> and sneak out with it.^U.
>
> --STeve Andre'



Re: Pre-Order Prizes

2009-03-02 Thread Gary Thornock
Getting the bits in the mail a few days before they show up on the FTP mirrors 
is already prize enough :D



mini-PCI Wistron CM9 & 2 antennae?

2009-03-02 Thread Fred Snurd
Scouring the archives didn't answer the following question;  neither has poking 
about the Web.

The Wistron CM9 mini-PCI card has 2 miniature SMT coaxial connectors.  Is it 
possible to use just a single antenna, and is this advisable?

Thanks for any insight shared.



Re: reboot on ath0 (Atheros AR5413" rev 0x01) using 4.5-snapshot

2009-03-02 Thread Nick Holland
FRLinux wrote:
> Hello,
> 
> I am using 4.5 snapshots from 28022009 and using the atheros chipset
> AR5413, the system just reboots when trying to set it as an access
> point. On the same soekris using the AR5212 does not make the box
> reboot (although I am still trying to configure it right)


could you have an under-sized power supply?

Start using the thing, power consumption goes up, PS overloads and
the thing reboots?

I seem to recall Soekris users ran into that from time to time.

Nick.


> Here are the commands used:
> 
> ifconfig ath0 192.168.5.1 255.255.255.0 media autoselect mediaopt
> hostap mode 11g nwid testap nwkey testkey chan 11
> 
> booting hd0a:/bsd: 6039964+1059784 [52+336688+318896]=0x7657ec
> entry point at 0x200120
> 
> [ using 656008 bytes of bsd ELF symbol table ]
> Copyright (c) 1982, 1986, 1989, 1991, 1993
> The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2009 OpenBSD. All rights reserved.
> http://www.OpenBSD.org
> 
> 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: Geode(TM) Integrated Processor by National Semi ("Geode by
> NSC" 586-class) 267 MHz
> cpu0: FPU,TSC,MSR,CX8,CMOV,MMX
> real mem  = 268005376 (255MB)
> avail mem = 250855424 (239MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 20/70/04, BIOS32 rev. 0 @
> 0xf7840
> pcibios0 at bios0: rev 2.0 @ 0xf/0x1
> pcibios0: pcibios_get_intr_routing - function not supported
> pcibios0: PCI IRQ Routing information unavailable.
> pcibios0: PCI bus #1 is the last bus
> bios0: ROM list: 0xc8000/0x9000
> cpu0 at mainbus0: (uniprocessor)
> cpu0: TSC disabled
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 "Cyrix GXm PCI" rev 0x00
> sis0 at pci0 dev 6 function 0 "NS DP83815 10/100" rev 0x00,
> DP83816A: irq 10, address 00:00:24:c8:44:f4
> nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
> sis1 at pci0 dev 7 function 0 "NS DP83815 10/100" rev 0x00,
> DP83816A: irq 10, address 00:00:24:c8:44:f5
> nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
> sis2 at pci0 dev 8 function 0 "NS DP83815 10/100" rev 0x00,
> DP83816A: irq 10, address 00:00:24:c8:44:f6
> nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
> ppb0 at pci0 dev 10 function 0 "TI PCI2250 PCI-PCI" rev 0x02
> pci1 at ppb0 bus 1
> sis3 at pci1 dev 0 function 0 "NS DP83815 10/100" rev 0x00,
> DP83816A: irq 9, address 00:00:24:c8:31:d4
> nsphyter3 at sis3 phy 0: DP83815 10/100 PHY, rev. 1
> sis4 at pci1 dev 1 function 0 "NS DP83815 10/100" rev 0x00,
> DP83816A: irq 5, address 00:00:24:c8:31:d5
> nsphyter4 at sis4 phy 0: DP83815 10/100 PHY, rev. 1
> sis5 at pci1 dev 2 function 0 "NS DP83815 10/100" rev 0x00,
> DP83816A: irq 9, address 00:00:24:c8:31:d6
> nsphyter5 at sis5 phy 0: DP83815 10/100 PHY, rev. 1
> sis6 at pci1 dev 3 function 0 "NS DP83815 10/100" rev 0x00,
> DP83816A: irq 5, address 00:00:24:c8:31:d7
> nsphyter6 at sis6 phy 0: DP83815 10/100 PHY, rev. 1
> ath0 at pci0 dev 14 function 0 "Atheros AR5413" rev 0x01: irq 11
> ath0: AR5413 10.5 phy 6.1 rf 6.3, FCC2A*, address
> 00:0b:6b:2f:02:1e
> gscpcib0 at pci0 dev 18 function 0 "NS SC1100 ISA" rev 0x00
> gpio0 at gscpcib0: 64 pins
> "NS SC1100 SMI" rev 0x00 at pci0 dev 18 function 1 not configured
> pciide0 at pci0 dev 18 function 2 "NS SCx200 IDE" rev 0x01: DMA,
> channel 0 wired to compatibility, channel 1 wired to compatibility
> wd0 at pciide0 channel 0 drive 0: 
> wd0: 4-sector PIO, LBA, 3919MB, 8027712 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> geodesc0 at pci0 dev 18 function 5 "NS SC1100 X-Bus" rev 0x00: iid
> 6 revision 3 wdstatus 0
> ohci0 at pci0 dev 19 function 0 "Compaq USB OpenHost" rev 0x08:
> irq 5, version 1.0, legacy support
> isa0 at gscpcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> com0: console
> com1 at isa0 port 0x2f8/8 irq 3: 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
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: 
>   

Re: Pre-Order Prizes

2009-03-02 Thread Gordon Grieder
"Billy Mays here for OpenBSD  Just install it on your computer
 and the holes are gone!  Order now and get TWO 
CD SETS ! That's TWO for the price of one  but you have to
ORDER NOW! "

Yeah, that'll work!



Dual-port gigabit PCI card options

2009-03-02 Thread Dan
Hi. What are my options for a well-supported 2-port PCI gigabit network
card? Are intel cards well-supported? Note I am looking for older PCI,
not PCI-E.

Thanks.



Re: Dual-port gigabit PCI card options

2009-03-02 Thread Theo de Raadt
> Hi. What are my options for a well-supported 2-port PCI gigabit network
> card? Are intel cards well-supported?

Absolutely.  Except for a few very new models.  We try to keep caught up,
though sometimes a few very rare ones slip through the cracks until the
next release (same thing will happen with 4.5, I can assure you, since
has happened all the way from around 3.0 or so...)

> Note I am looking for older PCI,
> not PCI-E.

I hear you... lots of PCI machines out there still.



Re: Pre-Order Prizes

2009-03-02 Thread Otto Moerbeek
On Mon, Mar 02, 2009 at 04:09:31PM -0800, patrick keshishian wrote:

> > If 10 people do that, we'll take an hour off coding to sign them.
> > It does not take 10 minutes to sign 10 posters. B Is it worth it?
> >
> > Or should we write code during that time, instead?
> 
> You should code. But while putting away a few beers at the end of the
> day, sign a few posters and CDs.

All the source is signed in a way. Go read all the copyright lines of
all the source files. 

-Otto



Re: Pre-Order Prizes

2009-03-02 Thread patrick keshishian
On Mon, Mar 2, 2009 at 10:04 PM, Otto Moerbeek  wrote:
> On Mon, Mar 02, 2009 at 04:09:31PM -0800, patrick keshishian wrote:
>
>> > If 10 people do that, we'll take an hour off coding to sign them.
>> > It does not take 10 minutes to sign 10 posters. B Is it worth it?
>> >
>> > Or should we write code during that time, instead?
>>
>> You should code. But while putting away a few beers at the end of the
>> day, sign a few posters and CDs.
>
> All the source is signed in a way. Go read all the copyright lines of
> all the source files.

that's actually a very cool idea for a poster, not the copyright
lines, but an OpenBSD poster with actually OpenBSD code snippets,
kinda like this wallpaper[1] but with more dimension/depth to it. I
was kinda thinking about this tonight on my drive home. I typically
don't buy posters as I don't have places to put them up. I bought the
4.4 poster cause it was a cool parody (it is still rolled up in the
mailer it arrived in).

--patrick

[1] http://img.flash-screen.com/uploads/200709/imgs/1190643970.jpg



Re: Wireless USB Adapters For OpenBSD

2009-03-02 Thread Maxwell J. Koo
I have the same model, and recently just purchased a new wireless card
from ebay for $20, mine being the intel 5100 (supported by iwn in current)
The mini pci-e slot is to the left of the touchpad and 4 screws away from
access. I tested it with an intel 4965 card from another notebook before
buying and it works fine, still waiting for my new one to be shipped though.
Possibly a good option if you're not set on an external adapter.



Re: mini-PCI Wistron CM9 & 2 antennae

2009-03-02 Thread FRLinux
On Tue, Mar 3, 2009 at 1:45 AM, Fred Snurd  wrote:
> Scouring the archives didn't answer the following question;  neither has
poking about the Web.
> The Wistron CM9 mini-PCI card has 2 miniature SMT coaxial connectors.  Is it
possible to use just a single antenna, and is this advisable?

Hello,

>From my experience it depends where is going to be your card. The
signal is obviously not as good. On my testing, one antenna gave me an
average 30/35% signal whereas 2 brings this closer to 80%

Cheers,
Steph