Re: the openbsd mug

2009-08-09 Thread David Walker
 hi,

 i just ordered my 4.6 preordre from openbsdeurope.com

 i also got the new mug. is this the same mug that openbsd sell on openbsd.org?

 will there be a new mug design for each future releases?

 thanks in advance

 --robbo

Have you checked it?
Really tested it?
I think you've been had.

Do you know what the problem is?
There's a handle on the side! A handle!
The tray on my cup holder is round. Round!
Even those FreeBSD morons know not to put a handle on the side:
http://www.cafepress.com.au/FreeBSD_Users.317118537
They can't make an operating system worth spit but at least they get
the beverage part right.
Frankly they're as dumb as you but you guys are dumber.
Way dumber.

How can you make release mug with a handle?
http://www.openbsd.org/mug.html
Idiots.

And before any of you lowlifes ask the problem is not my end.
I use it the same as any other mug.
I've been doing this for a long time (drinking) and the problem is at your end.
Nothing is different at my end.
Well I got a new tray but that wouldn't ever make any difference.
Of course it's a new mug also and I haven't checked the product
description but hey that never stopped me calling other people idiots.

You guys are a bunch of clowns.
You'll never get anywhere.
Frankly your ship has got a flat tyre and the lights are on. Yes the
lights are ON!
It's your fault developers.
BrokenBSD.

Big hiya to PJ.
I'm on your side.
http://www.radio-active.net.au/blog/2005/05/beerserver.jpg

Best wishes.



Re: the openbsd mug

2009-08-09 Thread Bob Beck
 You'll never get anywhere.
 Frankly your ship has got a flat tyre and the lights are on. Yes the
 lights are ON!
 It's your fault developers.
 BrokenBSD.

Of course you don't realize, we knew it was you when you ordered so we
only put a handle on your mug, just to fuck with your little head
because we're pre-vengeful bastards. 



Re: the openbsd mug

2009-08-09 Thread David Walker
On 09/08/2009, Bob Beck b...@openbsd.org wrote:
 You'll never get anywhere.
 Frankly your ship has got a flat tyre and the lights are on. Yes the
 lights are ON!
 It's your fault developers.
 BrokenBSD.

 Of course you don't realize, we knew it was you when you ordered so we
 only put a handle on your mug, just to fuck with your little head
 because we're pre-vengeful bastards.




Of course I should have expected it.
Poor PJ's experience should have taught me but I will never learn. Ever.
Don't worry I will change my IP when I download any more stuff from
your servers.
It has long been suspected that OpenBSD is a front - certainly there's
something fishy going on.

PJ, the boys down in isolation really enjoyed the way you handle yourself.
Dealing with all their so called questions.
If you could send some photos of yourself that would be dandy.
Prison grey gets tedious at times.

Best wishes.



Simple internet question : packets are not forwarded anymore ?

2009-08-09 Thread Jean-François SIMON
Hi

I did something wrong is doing networks change yesterday and now the sub
network has no internet access anymore. This scheme below used to work very
well.

I am struggling in order to find why packets from the sub network do not
reach anymore the DSL box ?

Please could you indicate where to look.

- The OpenBSD box has access to internet (lynx works to access the web).
- from the sub net I can ping 10.0.1.1 and 192.168.0.10 but not 192.168.0.1
- PF does not block the packets from 10.0.1.* to 192.168.0.1
- with tcpdump I can see that packets are not forwarded to ext_if when they
need to reach 192.168.0.1
- The pf.conf rules have not changed therefore should not be the problem
here
- route default is set to 192.168.0.1
- subnet machines are set correctly (as before when it worked)

Subnet machines
10.0.1.*

10.0.1.1 int_if
OpenBSD firewall using NAT rules
192.168.0.10 ext_if

ADSL box
192.168.0.1

Internet



Re: the openbsd mug

2009-08-09 Thread Theo de Raadt
 i just ordered my 4.6 preordre from openbsdeurope.com
 
 i also got the new mug. is this the same mug that openbsd sell on
 openbsd.org?

It is going to be as similar as possible.

 will there be a new mug design for each future releases?

We'll see how it works out.



Re: Simple internet question : packets are not forwarded anymore ?

2009-08-09 Thread Jean-François SIMON
Sorry for that is was a problem of the soft I use to dump the packets.

It has done something wrong with the rpobes and crashed PF somehow.

Reboot solved it.

Regards.

2009/8/9 Jean-Frangois SIMON jfsimon1...@gmail.com

 Hi

 I did something wrong is doing networks change yesterday and now the sub
 network has no internet access anymore. This scheme below used to work very
 well.

 I am struggling in order to find why packets from the sub network do not
 reach anymore the DSL box ?

 Please could you indicate where to look.

 - The OpenBSD box has access to internet (lynx works to access the web).
 - from the sub net I can ping 10.0.1.1 and 192.168.0.10 but not 192.168.0.1
 - PF does not block the packets from 10.0.1.* to 192.168.0.1
 - with tcpdump I can see that packets are not forwarded to ext_if when they
 need to reach 192.168.0.1
 - The pf.conf rules have not changed therefore should not be the problem
 here
 - route default is set to 192.168.0.1
 - subnet machines are set correctly (as before when it worked)

 Subnet machines
 10.0.1.*

 10.0.1.1 int_if
 OpenBSD firewall using NAT rules
 192.168.0.10 ext_if

 ADSL box
 192.168.0.1

 Internet



Re: the openbsd mug

2009-08-09 Thread Mike Erdely
This. Was. Awesome.

On Sun, Aug 09, 2009 at 07:03:10PM +0930, David Walker wrote:
  hi,
 
  i just ordered my 4.6 preordre from openbsdeurope.com
 
  i also got the new mug. is this the same mug that openbsd sell on 
  openbsd.org?
 
  will there be a new mug design for each future releases?
 
  thanks in advance
 
  --robbo
 
 Have you checked it?
 Really tested it?
 I think you've been had.
 
 Do you know what the problem is?
 There's a handle on the side! A handle!
 The tray on my cup holder is round. Round!
 Even those FreeBSD morons know not to put a handle on the side:
 http://www.cafepress.com.au/FreeBSD_Users.317118537
 They can't make an operating system worth spit but at least they get
 the beverage part right.
 Frankly they're as dumb as you but you guys are dumber.
 Way dumber.
 
 How can you make release mug with a handle?
 http://www.openbsd.org/mug.html
 Idiots.
 
 And before any of you lowlifes ask the problem is not my end.
 I use it the same as any other mug.
 I've been doing this for a long time (drinking) and the problem is at your 
 end.
 Nothing is different at my end.
 Well I got a new tray but that wouldn't ever make any difference.
 Of course it's a new mug also and I haven't checked the product
 description but hey that never stopped me calling other people idiots.
 
 You guys are a bunch of clowns.
 You'll never get anywhere.
 Frankly your ship has got a flat tyre and the lights are on. Yes the
 lights are ON!
 It's your fault developers.
 BrokenBSD.
 
 Big hiya to PJ.
 I'm on your side.
 http://www.radio-active.net.au/blog/2005/05/beerserver.jpg
 
 Best wishes.



Re: the openbsd mug

2009-08-09 Thread Jesus Sanchez

gotta love trolls


Mike Erdely escribis:

This. Was. Awesome.

On Sun, Aug 09, 2009 at 07:03:10PM +0930, David Walker wrote:
  

hi,
  
i just ordered my 4.6 preordre from openbsdeurope.com
  
i also got the new mug. is this the same mug that openbsd sell on openbsd.org?
  
will there be a new mug design for each future releases?
  
thanks in advance
  
--robbo
  

Have you checked it?
Really tested it?
I think you've been had.

Do you know what the problem is?
There's a handle on the side! A handle!
The tray on my cup holder is round. Round!
Even those FreeBSD morons know not to put a handle on the side:
http://www.cafepress.com.au/FreeBSD_Users.317118537
They can't make an operating system worth spit but at least they get
the beverage part right.
Frankly they're as dumb as you but you guys are dumber.
Way dumber.

How can you make release mug with a handle?
http://www.openbsd.org/mug.html
Idiots.

And before any of you lowlifes ask the problem is not my end.
I use it the same as any other mug.
I've been doing this for a long time (drinking) and the problem is at your end.
Nothing is different at my end.
Well I got a new tray but that wouldn't ever make any difference.
Of course it's a new mug also and I haven't checked the product
description but hey that never stopped me calling other people idiots.

You guys are a bunch of clowns.
You'll never get anywhere.
Frankly your ship has got a flat tyre and the lights are on. Yes the
lights are ON!
It's your fault developers.
BrokenBSD.

Big hiya to PJ.
I'm on your side.
http://www.radio-active.net.au/blog/2005/05/beerserver.jpg

Best wishes.




Intermittent Segmentation fault (11) with new port updates for Compilation of apache-httpd-2.2.11 and php5.2.10 . Bug??

2009-08-09 Thread Andres Salazar
Hello,

Environment: OpenBSD 4.5 stable , generic MP kernel. Dmesg here:
http://pastebin.com/m5f5e96fe

Summary: We have a special need to use Apache 2 with PHP5 and before
the ports where updated from php5.2.6 and apache 2.2.9 this procedure
worked 100% before and now even in a new install just by calling
phpinfo() iam getting the following intermittent errors in the error
log and a white screen:

Error: [Sun Aug 09 12:47:27 2009] [notice] child pid 12566 exit signal
Segmentation fault (11)


Ruled out: I have ruled out hardware issues by totally replacing the
box and also doing a fresh install.. I have made sure all X11 file
sets where installed because they are needed for compilation.

How to recreate the problem:

a.) Compile kernel to stable rebooted, and compiled userland to stable.
b.) Dowloaded the latest ports from the stable branch.
c.) cd /usr/ports/www/apache-httpd/; make; make install. Confirmed
sucessfull install of apache 2.2.11
d.) cd /usr/ports/www/php5/core; vi Makefile and changed:
CONFIGURE_ARGS+=--with-apxs=/usr/sbin/apxs \ to
CONFIGURE_ARGS+=--with-apxs2=/usr/local/sbin/apxs2 \
then make; make install. Confirmed the installation of php5.2.10
e.) Configured httpd2.conf so that it loads the php5 module:
LoadModule php5_module /usr/local/lib/php/libphp5.so
f.) cd /usr/ports/www/php5/extensions; vi Makefile and changed:
CONFIGURE_ARGS+=--with-apxs=/usr/sbin/apxs \ to
CONFIGURE_ARGS+=--with-apxs2=/usr/local/sbin/apxs2 \
then make; make install.
g.) export PKG_PATH=/usr/ports/packages/i386/all/; pkg_add  php5-bz2
php5-curl php5-gd php5-gmp php5-mbstring php5-mcrypt php5-mhash
php5-mysql php5-shmop. (This will grab the packages compiled from the
pkg:path).
h.) Placed a info.php file in the apache2 htdocs and refresh it many
times, many of those generate that error and images (logos) dont load.
.. the issue is totally INTERMITTENT.. after I rebooted I could
load phpinfo() fine but then I tried installing phpmyadmin and
sometimes some functions just yield out the error. Sometimes the issue
is so bad all the pages load half way.


Iam about to throw myself out the window because Ive tried for days to
look for a specific pattern towards when the Segmentation is
generated, but it is absolutely random. Sometimes my sites dont
generate the Seg fault error but they just log a 500 error without
further explanation. I have repeated this so many times that sometimes
it isnt even necessary to load the extensions just the php5-core will
error.

Please advise!

Andres



Sofaliving

2009-08-09 Thread Sofaliving
LOJAS: MAIA-BRAGA*-GUIMARCES*-COIMBRA-FIGUEIRA DA FOZ-SANTARIM

* A loja de Braga e Guimarces nco se encontram em saldos, mas sim com
descontos especiais de abertura.

www.sofaliving.pt

se nco deseja receber mais esta newsletter i favor enviar e-mail com a palavra
Remover para ge...@sofaliving.pt



Q: How to shop for a laptop to run OpenBSD?

2009-08-09 Thread Ali M.
Greetings,

I will (hope) to buy a new laptop in a couple of months, how to make
sure that the one I pick will work under OpenBSD.
I understand that there is a list of supported hardware at:
http://www.openbsd.org/i386.html

So should I check the laptop detailed specs and make sure everything
in on that list!
Is this how everyone does it, is there another way?

How up to date is that list, the laptop I get will be new (again I
hope ;), what if I don't find its component on that list?

Any tips like
is there specific brands (Asus, Dell, etc ... ) that are known to be
more OpenBSD friendly than others!
is there brands I should avoid, components and specs that should be
warning signs, I read for example on the OpenBSD site that I should
avoid Nvidia etc 

It would be helpful, if you bought a laptop recently that run Openbsd
smoothly to tell me the model
As i see that
http://www.openbsd.org/i386-laptop.html
is now dead

Regards,
Ali



Re: Q: How to shop for a laptop to run OpenBSD?

2009-08-09 Thread Edd Barrett
On Sun, Aug 09, 2009 at 09:19:11PM +0300, Ali M. wrote:
 Greetings,
 
 I will (hope) to buy a new laptop in a couple of months, how to make
 sure that the one I pick will work under OpenBSD.

Get a thinkpad, and replace the wireless card :)

-- 

Best Regards

Edd Barrett
(Freelance software developer / technical writer / open-source developer)

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



Q: How to shop for a laptop to run OpenBSD?

2009-08-09 Thread Samuel Baldwin
2009/8/9 Edd Barrett vex...@gmail.com:
 Get a thinkpad, and replace the wireless card :)

Why? The wireless card on my T61 works wonderfully with both OpenBSD
and Arch Linux. (Although much better with OpenBSD.)

--
Samuel Baldwin - logik.li



reply-to header

2009-08-09 Thread Samuel Baldwin
Would it be possible for this to be set when the list delivers mail?
Most other mailing lists do and it's a bit of a lifesaver for those
who are used to hitting reply to reply to the list.

-- 
Samuel Baldwin - logik.li



Re: Q: How to shop for a laptop to run OpenBSD?

2009-08-09 Thread Matthew Szudzik
On Sun, Aug 09, 2009 at 07:39:19PM +0100, Edd Barrett wrote:
 Get a thinkpad, and replace the wireless card :)

Maybe I'm paranoid, but I've been reluctant to get a new ThinkPad
because they all have Intel AMT nowadays.

 http://marc.info/?l=openbsd-miscm=118302016430106
 
http://software.intel.com/en-us/articles/architecture-guide-intel-active-management-technology/

And according to the following forum post, there's no way to disable it

 http://forum.thinkpads.com/viewtopic.php?f=25t=62992



Re: Q: How to shop for a laptop to run OpenBSD?

2009-08-09 Thread Jeffrey 'jf' Lim
On Mon, Aug 10, 2009 at 2:39 AM, Edd Barrett vex...@gmail.com wrote:

 On Sun, Aug 09, 2009 at 09:19:11PM +0300, Ali M. wrote:
  Greetings,
 
  I will (hope) to buy a new laptop in a couple of months, how to make
  sure that the one I pick will work under OpenBSD.

 Get a thinkpad, and replace the wireless card :)



except that that's still no guarantee. Some thinkpads have nvidias So
remember to double-check still!

-jf

--
In the meantime, here is your PSA:
It's so hard to write a graphics driver that open-sourcing it would not
help.
   -- Andrew Fear, Software Product Manager, NVIDIA Corporation
http://kerneltrap.org/node/7228



Re: Q: How to shop for a laptop to run OpenBSD?

2009-08-09 Thread STeve Andre'
On Sunday 09 August 2009 14:19:11 Ali M. wrote:
 Greetings,

 I will (hope) to buy a new laptop in a couple of months, how to make
 sure that the one I pick will work under OpenBSD.
 I understand that there is a list of supported hardware at:
 http://www.openbsd.org/i386.html

 So should I check the laptop detailed specs and make sure everything
 in on that list!
 Is this how everyone does it, is there another way?

 How up to date is that list, the laptop I get will be new (again I
 hope ;), what if I don't find its component on that list?

 Any tips like
 is there specific brands (Asus, Dell, etc ... ) that are known to be
 more OpenBSD friendly than others!
 is there brands I should avoid, components and specs that should be
 warning signs, I read for example on the OpenBSD site that I should
 avoid Nvidia etc 

 It would be helpful, if you bought a laptop recently that run Openbsd
 smoothly to tell me the model
 As i see that
 http://www.openbsd.org/i386-laptop.html
 is now dead

 Regards,
 Ali

Thinkpads rock.  I was worried when Lenovo took over, but the W500 I
am using right now is great.  I've been using OpenBSD exclusively on
Thinkpads since 1999.

Obviously, you need to look at all the hardware on a proposed system
first.  If you can look at a unit in a store, ask them if you can boot up
a OpeBSD-current CD, so you can look at the dmesg data, and put it
on a USB stick for others to look at.  If the store won't let you do that
walk away from them.

The single most important thing to make sure of (or most aggravating)
is the video card.  If they use  NVIDIA, walk away.  ATI works pretty well.
As far as I know nearly all laptops made today use one or the other so
thtat pretty easy to determine.

Ethernet cards and wireless cards have great support here, but your
laptop might not see one of them.  In my case the W500's  ethernet
card was part of the IHC9 chipset, and it didn't work.  About six weeks
after I got the laptop support was added.  Wireless supprt is likely 
there, and in the case of Thinkpads the wifi card is a mini-PCI card so
it can be swapped out if need be, or,  you can use a USB substitute.

Hopefully the laptop will use an Intel HD audio chip, as the sound is
great.  azaila(4) has gotten very very good.  Not sure what other laptops
are using these days.

Things like the disk and USB should just work--I'd be surprised if
they didn't.

Looking at the hardware list at http://cvs.openbsd.org/i386.html will show
you what hardware is supported.  There is also the amd64 page to
look at.

It can be stressful trying to figure this out, but I did it last November 
and am happy with what I got.  If you can post a dmesg from a -current
CD which always has the best hardware support.

--STeve Andre'



bce(4) data error

2009-08-09 Thread Taylor Venable
I just installed the amd64 snapshot from 2009-08-05 on my Dell
Inspiron 1501 laptop, and since packages are a little behind I tried
to compile gimp from Ports.  However, after about three hours of work
I started seeing messages from bce(4) saying data error while
downloading the distfiles.  Although the download would eventually
finish alright, it was slow going.  When I rebooted, everything worked
right again and I went back to building gimp, but after about another
three hours I got the same problem.  I check pfctl and the stats in
the interface are not particularly impressive:

bce0
Cleared: Wed Dec 31 19:00:01 1969
References:  [ States:  0  Rules: 1  ]
In4/Pass:[ Packets: 54320  Bytes: 75465588   ]
In4/Block:   [ Packets: 0  Bytes: 0  ]
Out4/Pass:   [ Packets: 35584  Bytes: 1885654]
Out4/Block:  [ Packets: 0  Bytes: 0  ]
In6/Pass:[ Packets: 14 Bytes: 2018   ]
In6/Block:   [ Packets: 0  Bytes: 0  ]
Out6/Pass:   [ Packets: 1  Bytes: 64 ]
Out6/Block:  [ Packets: 0  Bytes: 0  ]

I thought maybe it has to do with an amount of data being transferred,
so I rebooted and ran nc from another machine's /dev/zero to the
laptop's /dev/null, and transferred 5GB but this did not trigger the
error.  Looking at the driver source I'm not good enough to see any
other possible things to check, so if anybody has any ideas of how I
can further debug this I'd be happy to try them.  Before I installed
the snap I was running 4.5 release with no troubles but perhaps I'd
just never stressed it right.  It seems that if_bce.c has not changed
since 4.5 was tagged.

Dmesg attached.

-- 
Taylor Venable
http://metasyntax.net/
OpenBSD 4.6-current (GENERIC.MP) #126: Wed Aug  5 15:46:03 MDT 2009
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2010578944 (1917MB)
avail mem = 1939279872 (1849MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf0470 (37 entries)
bios0: vendor Dell Inc. version 2.3.0 date 03/15/2006
bios0: Dell Inc. Inspiron 1501
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP TCPA SSDT APIC MCFG HPET SLIC
acpi0: wakeup devices PB2_(S4) PB3_(S4) PB5_(S4) PB6_(S4) OHC1(S0) OHC2(S0) 
OHC3(S0) OHC4(S0) OHC5(S0) EHCI(S0) P2P_(S5) MODM(S3) SLPB(S4) LID_(S3)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Turion(tm) 64 X2 Mobile Technology TL-50, 1596.25 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 256KB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Turion(tm) 64 X2 Mobile Technology TL-50, 1596.00 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 256KB 64b/line 
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
ioapic0 at mainbus0 apid 2 pa 0xfec0, version 21, 24 pins
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PB2_)
acpiprt2 at acpi0: bus -1 (PB3_)
acpiprt3 at acpi0: bus 2 (PB5_)
acpiprt4 at acpi0: bus -1 (PB6_)
acpiprt5 at acpi0: bus 8 (P2P_)
acpiprt6 at acpi0: bus 1 (AGP_)
acpiec0 at acpi0
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpitz0 at acpi0: critical temperature 110 degC
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: LID_
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 model DELLRD8507 serial 4165 type LION oem SIMPLO
acpivideo0 at acpi0: VGA_
acpivout0 at acpivideo0: CRT_
acpivout1 at acpivideo0: LCD_
cpu0: PowerNow! K8 1596 MHz: speeds: 1600 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 ATI RS480 Host rev 0x10
ppb0 at pci0 dev 1 function 0 ATI RS480 PCIE rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 ATI Radeon XPRESS 200M rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 5 function 0 ATI RS480 PCIE rev 0x00
pci2 at ppb1 bus 2
ahci0 at pci0 dev 18 function 0 ATI SB600 SATA rev 0x00: apic 2 int 22 (irq 
11), AHCI 1.1
scsibus0 at ahci0: 32 targets
sd0 at 

Re: bce(4) data error

2009-08-09 Thread Taylor Venable
After looking around a bit more I think I may have just triggered the
bug mentioned at the bottom of the bce(4) man page about having more
than 1GB of memory, which is ridiculous but seems to explain this
according to some reports from the NetBSD lists.

Still, if anybody has any suggestions I'd be willing to try them.

-- 
Taylor Venable
http://metasyntax.net/



Re: bce(4) data error

2009-08-09 Thread Theo de Raadt
 However, after about three hours of work
 I started seeing messages from bce(4) saying data error while
downloading the distfiles.

The best workaround for you is to remove 1GB of ram from your
machine.

You are the proud owner of one of the most astoundingly braindead
pci ethernet chips to come out in decades.  Our group actually wants
one.. you know.. but anyways, a fix might be forthcoming..

BUGS
 The BCM4401 hardware can not do DMA to addresses above 1GB.  Since the
 bce driver makes no effort to circumvent this problem, it is likely that
 the device will not work properly on machines with more than 1GB of sys-
 tem memory.



Re: Q: How to shop for a laptop to run OpenBSD?

2009-08-09 Thread Edd Barrett
On Sun, Aug 09, 2009 at 02:54:21PM -0400, Samuel Baldwin wrote:
 2009/8/9 Edd Barrett vex...@gmail.com:
  Get a thinkpad, and replace the wireless card :)
 Why? The wireless card on my T61 works wonderfully with both OpenBSD
 and Arch Linux. (Although much better with OpenBSD.)

I had an R51e and now a x31, which both shipped with iwi driven cards,
and they *suck*! Even my friends using linux and windows hate them.

Also you have to do the firmware dance.

I have a ral, which seems to work well as a client, but not in hostap
mode so well. Remember if you do want to change the wifi card in a
thinkpad, use tpwireless to unlock the bios check.

Thanks

-- 

Best Regards

Edd Barrett
(Freelance software developer / technical writer / open-source developer)

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



Re: Q: How to shop for a laptop to run OpenBSD?

2009-08-09 Thread Stuart Henderson
On 2009-08-09, Ali M. tclwarr...@gmail.com wrote:
 is there brands I should avoid, components and specs that should be
 warning signs, I read for example on the OpenBSD site that I should
 avoid Nvidia etc 

you probably want to avoid NVIDIA, and Intel's PowerVR-based GMA 500
on most(all?) Poulsbo-based systems.

I'd generally be prepared to swap wireless or use USB (there are some
very small USB devices we support which are reported to work very well
as wireless clients); some onboard cards will work, others won't -
do your research well if you really want to avoid this.

 It would be helpful, if you bought a laptop recently that run Openbsd
 smoothly to tell me the model

i386-laptop.html was partly useful but some people will have a tendency
to extrapolate to similar-sounding models. e.g. last laptop I bought was
an Eee 901 which works nicely, but some other models with similar numbers
have non-supported wireless. (and there is also some chance of laptop
makers switching to different parts even within a single model).



Re: Simple internet question : packets are not forwarded anymore ?

2009-08-09 Thread Stuart Henderson
On 2009-08-09, Jean-Frangois SIMON jfsimon1...@gmail.com wrote:
 Sorry for that is was a problem of the soft I use to dump the packets.
 It has done something wrong with the rpobes and crashed PF somehow.

can you repeat this? please try and give some more details.




 Reboot solved it.

 Regards.

 2009/8/9 Jean-Frangois SIMON jfsimon1...@gmail.com

 Hi

 I did something wrong is doing networks change yesterday and now the sub
 network has no internet access anymore. This scheme below used to work very
 well.

 I am struggling in order to find why packets from the sub network do not
 reach anymore the DSL box ?

 Please could you indicate where to look.

 - The OpenBSD box has access to internet (lynx works to access the web).
 - from the sub net I can ping 10.0.1.1 and 192.168.0.10 but not 192.168.0.1
 - PF does not block the packets from 10.0.1.* to 192.168.0.1
 - with tcpdump I can see that packets are not forwarded to ext_if when they
 need to reach 192.168.0.1
 - The pf.conf rules have not changed therefore should not be the problem
 here
 - route default is set to 192.168.0.1
 - subnet machines are set correctly (as before when it worked)

 Subnet machines
 10.0.1.*

 10.0.1.1 int_if
 OpenBSD firewall using NAT rules
 192.168.0.10 ext_if

 ADSL box
 192.168.0.1

 Internet



Re: Q: How to shop for a laptop to run OpenBSD?

2009-08-09 Thread Matthew Szudzik
On Sun, Aug 09, 2009 at 11:09:49PM +0100, Edd Barrett wrote:
 mode so well. Remember if you do want to change the wifi card in a
 thinkpad, use tpwireless to unlock the bios check.

But does tpwireless work on recent ThinkPads?  According to the list of
successful BIOS modifications at

 
http://www.thinkwiki.org/wiki/Problem_with_unauthorized_MiniPCI_network_card#Successful_BIOS_Modifications

this has only worked for the X40's (or T42's or R51's) and earlier
models.  The one X60 that they tried was bricked and the modifications
failed for the W500 they tried.



Re: Q: How to shop for a laptop to run OpenBSD?

2009-08-09 Thread Jeffrey 'jf' Lim
On Mon, Aug 10, 2009 at 3:02 AM, Matthew Szudzik mszud...@andrew.cmu.eduwrote:

 On Sun, Aug 09, 2009 at 07:39:19PM +0100, Edd Barrett wrote:
  Get a thinkpad, and replace the wireless card :)

 Maybe I'm paranoid, but I've been reluctant to get a new ThinkPad
 because they all have Intel AMT nowadays.

  http://marc.info/?l=openbsd-miscm=118302016430106

 http://software.intel.com/en-us/articles/architecture-guide-intel-active-management-technology/

 And according to the following forum post, there's no way to disable it

  http://forum.thinkpads.com/viewtopic.php?f=25t=62992


is there a list, some kind of a guide, for which processors have this? Or is
it a case of (?) all current and future processors having this? Would it be
better to go with AMD instead then in order to avoid this crap?

-jf

--
In the meantime, here is your PSA:
It's so hard to write a graphics driver that open-sourcing it would not
help.
   -- Andrew Fear, Software Product Manager, NVIDIA Corporation
http://kerneltrap.org/node/7228



Bluetooth Mouse not allowing pairing on OpenBSD 4.5-Current

2009-08-09 Thread Neville, Nathan
Hello,

   I am new to the OpenBSD world, so please be patient with me if I don't
include all the information need. This is my first post. Thank you.

Goal: To use my Bluetooth mouse in KDE 3.5.

Problem: OpenBSD 4.5-Current can see my mouse, but not pair with it. I have
been following the NetBSD guide at:
http://www.netbsd.org/docs/guide/en/netbsd.html#chap-bluetooth. I have
installed all the ports which directly relate to bluetooth. I have been having
no trouble with commands  installation until now. I keep getting this error:
 btpin: connect(/var/run/bthcid): Socket operation on non-socket  The
command I am typing in is: #btpin -d ubt0 -a mouse -p . The problem is
that btpin is not located in /var/run/bthcid. Bthcid is located in
/usr/local/sbin/bthcid for some reason? All the other commands in the guide
work fine. I even made sure I added bthcid to my /etc/rc.config file. In
addition, I always have to issue the btconfig ubt0 up command after startup
everytime. Any help would be appreciated. thx.

My dmesg:

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: VIA Esther processor 1500MHz (CentaurHauls 686-class) 1.50 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,CMOV,PAT,CFLUSH,ACPI,MMX
,FXSR,SSE,SSE2,TM,SBF,SSE3
real mem  = 1005088768 (958MB)
avail mem = 963461120 (918MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/26/06, BIOS32 rev. 0 @ 0xf9ee0,
SMBIOS rev. 2.3 @ 0xf (33 entries)
bios0: vendor Phoenix Technologies, LTD version 6.00 PG date 09/26/2006
bios0: IDOT ID-PCM7E PC2500
apm0 at bios0: Power Management spec V1.2 (slowidle)
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf/0xd1a4
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfd110/128 (6 entries)
pcibios0: bad IRQ table checksum
pcibios0: PCI BIOS has 7 Interrupt Routing table entries
pcibios0: PCI Exclusive IRQs: 5 10 11
pcibios0: PCI Interrupt Router at 000:17:0 (VIA VT8237 ISA rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xfe00 0xd/0x8000! 0xd8000/0x1000
cpu0 at mainbus0: (uniprocessor)
cpu0: RNG AES AES-CTR SHA1 SHA256 RSA
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 VIA CN700 Host rev 0x00
viaagp0 at pchb0: v3
agp0 at viaagp0: aperture at 0xe800, size 0x1000
pchb1 at pci0 dev 0 function 1 VIA CN700 Host rev 0x00
pchb2 at pci0 dev 0 function 2 VIA CN700 Host rev 0x00
pchb3 at pci0 dev 0 function 3 VIA PT890 Host rev 0x00
pchb4 at pci0 dev 0 function 4 VIA CN700 Host rev 0x00
pchb5 at pci0 dev 0 function 7 VIA CN700 Host rev 0x00
ppb0 at pci0 dev 1 function 0 VIA VT8377 AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 VIA S3 Unichrome PRO IGP rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
em0 at pci0 dev 8 function 0 Intel PRO/1000GT (82541GI) rev 0x05: irq 10,
address 00:1b:21:1c:c0:eb
rl0 at pci0 dev 9 function 0 Realtek 8139 rev 0x10: irq 11, address
00:0e:2e:dc:e9:29
rlphy0 at rl0 phy 0: RTL internal PHY
pciide0 at pci0 dev 15 function 0 VIA VT6420 SATA rev 0x80: DMA
pciide0: using irq 11 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: SAMSUNG HD753LJ
wd0: 16-sector PIO, LBA48, 715404MB, 1465149168 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: TSSTcorp, CDDVDW SH-S203N, SB01 ATAPI 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5
pciide1 at pci0 dev 15 function 1 VIA VT82C571 IDE rev 0x06: ATA133, channel
0 configured to compatibility, channel 1 configured to compatibility
pciide1: channel 0 disabled (no drives)
pciide1: channel 1 disabled (no drives)
uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x81: irq 10
uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x81: irq 10
uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x81: irq 11
uhci3 at pci0 dev 16 function 3 VIA VT83C572 USB rev 0x81: irq 11
ehci0 at pci0 dev 16 function 4 VIA VT6202 USB rev 0x86: irq 5
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 VIA EHCI root hub rev 2.00/1.00 addr 1
viapm0 at pci0 dev 17 function 0 VIA VT8237 ISA rev 0x00
iic0 at viapm0
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-3200CL3
spdmem1 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-3200CL3
auvia0 at pci0 dev 17 function 5 VIA VT8233 AC97 rev 0x60: irq 5
ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0)
audio0 at auvia0
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
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 VIA UHCI root hub rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 VIA UHCI root hub rev 1.00/1.00 addr 1
isa0 at mainbus0
isadma0 at 

Re: Q: How to shop for a laptop to run OpenBSD?

2009-08-09 Thread Dan Harnett
On Sun, Aug 09, 2009 at 07:02:45PM +, Matthew Szudzik wrote:
 On Sun, Aug 09, 2009 at 07:39:19PM +0100, Edd Barrett wrote:
  Get a thinkpad, and replace the wireless card :)
 
 Maybe I'm paranoid, but I've been reluctant to get a new ThinkPad
 because they all have Intel AMT nowadays.
 
  http://marc.info/?l=openbsd-miscm=118302016430106
  
 http://software.intel.com/en-us/articles/architecture-guide-intel-active-management-technology/
 
 And according to the following forum post, there's no way to disable it
 
  http://forum.thinkpads.com/viewtopic.php?f=25t=62992

More recent BIOS updates have included an option to disable it.



Re: Q: How to shop for a laptop to run OpenBSD?

2009-08-09 Thread Dan Harnett
On Sun, Aug 09, 2009 at 11:46:50PM +, Matthew Szudzik wrote:
 On Sun, Aug 09, 2009 at 11:09:49PM +0100, Edd Barrett wrote:
  mode so well. Remember if you do want to change the wifi card in a
  thinkpad, use tpwireless to unlock the bios check.
 
 But does tpwireless work on recent ThinkPads?  According to the list of
 successful BIOS modifications at

tpwireless does not work on recent ThinkPads.  You can find recent
modified BIOS images (including for the W500) by reading the first
message here: http://forum.thinkpads.com/viewtopic.php?f=29t=55837