Re: Awesome installation on Panasonic Toughbook CF-71

2005-07-30 Thread Bernd Schoeller
On Fri, Jul 29, 2005 at 08:24:34PM -0700, Roger Neth Jr wrote:
 Hello All,
 Received my Toughbook from E-bay and installed OpenBSD 3.7. Smoothest
 install I have ever done!
 Mouse, XOrg, sound, Compaq WL110 installed flawlessly. OpenBSD recognized
 the WL110 right away.

Great, have you sent a report to [EMAIL PROTECTED] ? That might be
helpful.

http://www.openbsd.org/faq/faq4.html#SendDmesg

Bernd

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



Re: 1U server recommendation

2005-07-30 Thread Martin Schröder
On 2005-07-30 13:01:32 +1000, Ioan Nemes wrote:
 Martin Schrvder wrote:
 The only thing from Sun on the v20z is the label (and an os
 which you won't use).
 Yes, and Dell is all re-branded Intel.

Next time you see a v20z read the label at the back.

Best
Martin
-- 
http://www.tm.oneiros.de



Re: 1U server recommendation

2005-07-30 Thread Martin Schröder
On 2005-07-30 14:13:25 +0200, Martin Schrvder wrote:
 On 2005-07-30 13:01:32 +1000, Ioan Nemes wrote:
  Martin Schrvder wrote:
  The only thing from Sun on the v20z is the label (and an os
  which you won't use).
  Yes, and Dell is all re-branded Intel.
 
 Next time you see a v20z read the label at the back.

Here's a picture of a v40z:
http://www.sun.com/smrc/photohtmls/ppservsunfirev40z-08s.html

See also http://www.newisys.com/products/4300.html

Best
Martin
-- 
http://www.tm.oneiros.de



Re: memory allocation for large datasets

2005-07-30 Thread Jonathan Thornburg

Hi,

In a recent message
http://marc.theaimsgroup.com/?l=openbsd-miscm=112250190321628w=1
to the misc@openbsd.org mailing list, you asked about how to allow a
single process (running R) to use large (multi-GB) amounts of memory.
I don't have a definite solution to your problem, but here are a couple
of things you might try:


First off, make sure /etc/login.conf allows infinite memory usage
for whatever user is doing the R processing -- I think the defaults
only allow 128 or 256M.  What I do is put myself in the staff group,
and give this group infinite (i.e. limited only by kernel/hardware)
memory usage limits with the following /etc/login.conf fragment:

#
# Staff have fewer restrictions and can login even when nologins are set.
#
staff:\
:datasize=infinity:\
:memoryuse=infinity:\
:maxproc=256:\
:filesize=infinity:\
:stacksize=infinity:\
:ignorenologin:\
:localcipher=blowfish,8:\
:tc=default:


You didn't give your architecture (x86, amd64, sparc, ...), but I've
seen varioues messages on the openbsd lists that (alas) the kernel
currently limits process data size to at most 1GB on some (or maybe all)
platforms.  The messages I've seen about this are
   http://monkey.org/openbsd/archive/misc/0411/msg04266.html
   http://monkey.org/openbsd/archive/misc/0412/msg01039.html
   http://marc.theaimsgroup.com/?l=openbsd-miscm=18168813306w=1
   http://marc.theaimsgroup.com/?l=openbsd-miscm=18481604030w=1
   http://marc.theaimsgroup.com/?l=openbsd-miscm=111654164126662w=1
   http://marc.theaimsgroup.com/?l=openbsd-miscm=111715446228191w=1
   http://marc.theaimsgroup.com/?l=openbsd-miscm=111785832810606w=1

So unless this has been fixed (eg at the recent hackathon), you may
have to abandon OpenBSD to get really large data+bss+heap sizes. :( :(

ciao,

--
-- Jonathan Thornburg [EMAIL PROTECTED]
   Max-Planck-Institut fuer Gravitationsphysik (Albert-Einstein-Institut),
   Golm, Germany, Old Europe http://www.aei.mpg.de/~jthorn/home.html
   Washing one's hands of the conflict between the powerful and the
powerless means to side with the powerful, not to be neutral.
  -- quote by Freire / poster by Oxfam



Re: Other Sharp Zauri?

2005-07-30 Thread Theo de Raadt
Hopefully this more general question is appropriate here.   I've 
 noticed sales for the Zaurus SL-5500.  Geeks.com has a sale on
 them right now.
 
My question is if it makes sense for efforts to support any of
 the other units besides the C3000 and C3100.  I know very little
 about the Zaurus in general, hence this question.  I'm not asking
 for any kind of a time-table for anything, just general feasibility
 for support for some of the cheaper units.

At this point the others are not that interesting.  They do not have
hard drives in them, but only simple flash.  And since they only have
one CF slot, that's even more boring.

At this time, no.  There are other more important things to fix.



Re: freeze at ifconfig

2005-07-30 Thread Uwe Dippel
On Fri, 29 Jul 2005 13:47:36 +0200, Andreas Bihlmaier wrote:

 I later on found out (after many trips down the stairs ) that a ram was going
 really bad (as in seqfault in random places), but I also changed my NIC during
 my search for the bad hardware in my box.

Not much chance here on bad hardware: It had been up 172 days; got 3.7,
and was up some 50 days.
 
 My GUESS is that the problem is with the 'xl' 3.7 release driver because
 I didn't have the problem since using a real NIC (fxp) an not a piece of
 junk (sorry but did some testing with xl - crap ).

Not so sure about this either. Never had problems with xln before.
At least, nothing specific to Intel.

 As written above dump the nic or if that is not a choice leave the media
 setting at 'auto'.

This would never work when the switch is forced to a media and rate
(100BASE-T Full Duplex). 
Any box would see this as 100BASE-T Half Duplex. This happened to
a colleague with Windows-something on that switch; to my other box there
(RHEL with RTL8139) and this box (OpenBSD 3.7 with xln): All and any would
- when set to auto - assume a 100BASE-T Half Duplex and produce horrible
amounts of errors. No clue why. In any case: autonegotiation on that
switch is out.


Thanks anyway,

Uwe



bridge for traffic loging?

2005-07-30 Thread stan
I need to be able to determine what all types of traffic iss going to/from
a given sunbnet. 

What I have in mind is to set up an OpenBSD bridge, with something like
pass all log all in the pf.conf. 

I'm not interested in the payloads of the traffic just what ports and type,
and which machines originate the traffic.

Is this a sensible way to do this? 

What type of preformance level machine will I need for this. The network in
question is still a 10M network, so I would not expect to need to powerfual
a machine. 



-- 
U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong 
Terror 
- New York Times 9/3/1967



Re: hifn crypto acc.

2005-07-30 Thread Theo de Raadt
 Hifn has a new crypto card out since may, HIPP 7855 HXL, does anyone
 know if this is supported?
 
 Regards,
 Fredrik Widlund
 
 http://www.hifn.com/products/HIPP7855HXLboard.html

I got tired of talking to hifn.

We keep saying make all your docs available, and people will write
code.  They keep giving the docs only to specific people we mention,
after many many emails.  The process is mind-numbingly dull.  I have
no personal interest in helping hifn at all anymore.  What we have
working right now is fine.  If they want to sell future chips, let
them open their docs completely.  Feel free to forward this mail to
them.  They keep mailing me, at various levels of their company, but I
won't reply to anything more from them except fully open docs.



freeze on the fly

2005-07-30 Thread Gustavo Rios
Dear folks,

i have a Dell Precision Workstation 370 running OBSD 3.7. My system
runs rock solid even under high stress like build the whole system.
But, by the second time i face a system complete freeze. I am edit a
file (this second time) and suddenly everything freezed. I could not
even turn the box off. have anybody already faced such scenario with
the hardware i have?

Here is my dmesg:

OpenBSD 3.7-stable (dell-pws370) #6: Sat Jul 30 02:40:02 BRT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/dell-pws370
cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz (GenuineIntel 686-class) 3 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,PNI,MWAIT,CNXT-ID
real mem  = 534925312 (522388K)
avail mem = 484843520 (473480K)
using 4278 buffers containing 26849280 bytes (26220K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 03/16/05, BIOS32 rev. 0 @ 0xffe90
apm0 at bios0: Power Management spec V1.2
apm0: APM get power status: unknown error code? (83)
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfeb00/224 (12 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x8086 product 0x2640
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc/0xc000 0xcc000/0x1800! 0xcd800/0x2800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 925X MCH Host rev 0x04
ppb0 at pci0 dev 1 function 0 Intel 925X PCIE rev 0x04
pci1 at ppb0 bus 1
vga0 at pci1 dev 0 function 0 Nvidia Quadro FX 330 rev 0xa2
wsdisplay0 at vga0: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x03
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 Broadcom BCM5751 rev 0x01, BCM5750 A1
(0x4001): irq 11 address 00:11:11:e3:92:7e
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb2 at pci0 dev 28 function 1 Intel 82801FB PCIE rev 0x03
pci3 at ppb2 bus 3
uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x03: irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x03: irq 5
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x03: irq 3
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x03: irq 10
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x03: irq 9
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: single transaction translator
uhub4: 8 ports with 8 removable, self powered
ppb3 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xd3
pci4 at ppb3 bus 4
Intel 82801FB AC97 rev 0x03 at pci0 dev 30 function 2 not configured
pcib0 at pci0 dev 31 function 0 Intel 82801FB LPC rev 0x03
pciide0 at pci0 dev 31 function 1 Intel 82801FB IDE rev 0x03: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: PHILIPS, DVD+-RW DVD8631, CD21 SCSI0
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
pciide1 at pci0 dev 31 function 2 Intel 82801FR SATA rev 0x03: DMA,
channel 0 wired to native-PCI, channel 1 wired to compatibility
pciide1: using irq 5 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: Maxtor 6Y080M0
wd0: 16-sector PIO, LBA, 76293MB, 15625 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
Intel 82801FB SMBus rev 0x03 at pci0 dev 31 function 3 not configured
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask f76d netmask ff6d ttymask ffef
pctr: user-level cycle counter enabled
uhub5 at uhub4 port 3
uhub5: Cypress Semiconductor USB2 Hub, class 9/0, rev 2.00/0.0b, addr 2
uhub5: 

Re: OpenBGPD - advertised-routes (more)

2005-07-30 Thread G Douglas Davidson

On Jul 29, 2005, at 4:18 PM, Claudio Jeker wrote:


On Fri, Jul 29, 2005 at 01:23:27PM -0400, G Douglas Davidson wrote:

I'm having an issue announcing a NO_EXPORT network to our upstream
and I'd like a way to prove that I am in fact sending the network in
question (if in fact I am).  It seems the log updates does not 
apply

to sent updates, just received.

Any suggestions appreciated.


I utilized the dump updates feature as follows:

dump updates out /tmp/updates-out-%H%M 300

And in looking at the output, we are in fact not announce the network
in question.  However a bgpctl network show indicates that we are
announcing the network in question.  There are no filters in place.

The only things that appears different for this network versus other
networks we announce are:

1. This network (a /24) is part of a larger network (/20) that we
announce.
2. This network is announced with the NO_EXPORT community.
3. This network is also announced by another provider and is in our 
bgp

table.

Any help would be appreciated!



Currently it is only possible to set the NO_EXPORT community on 
outgoing

updates (match to rules). This is probably not expeceted behaviour.
I will have a look at it after I have finaly rewritten the bgp filter
stuff.



Looks like adding NO_EXPORT via the rules match worked.

Thanks!

--
G. Douglas Davidson  | CityNet, Inc.
[EMAIL PROTECTED] | Pittsburgh, PA
voice: 412.481.5406  | fax: 412.431.1315



Re: freeze on the fly

2005-07-30 Thread Shawn K. Quinn
On Sat, 2005-07-30 at 15:01 -0300, Gustavo Rios wrote:
 i have a Dell Precision Workstation 370 running OBSD 3.7. My system
 runs rock solid even under high stress like build the whole system.
 But, by the second time i face a system complete freeze. I am edit a
 file (this second time) and suddenly everything freezed. I could not
 even turn the box off. have anybody already faced such scenario with
 the hardware i have?
 
 Here is my dmesg:
 
 OpenBSD 3.7-stable (dell-pws370) #6: Sat Jul 30 02:40:02 BRT 2005
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/dell-pws370

Can you reproduce the problem booting GENERIC?

-- 
Shawn K. Quinn [EMAIL PROTECTED]



Re: hifn crypto acc.

2005-07-30 Thread Jason Crawford
On 7/30/05, Theo de Raadt [EMAIL PROTECTED] wrote:
  Hifn has a new crypto card out since may, HIPP 7855 HXL, does anyone
  know if this is supported?
 
  Regards,
  Fredrik Widlund
 
  http://www.hifn.com/products/HIPP7855HXLboard.html
 
 I got tired of talking to hifn.
 
 We keep saying make all your docs available, and people will write
 code.  They keep giving the docs only to specific people we mention,
 after many many emails.  The process is mind-numbingly dull.  I have
 no personal interest in helping hifn at all anymore.  What we have
 working right now is fine.  If they want to sell future chips, let
 them open their docs completely.  Feel free to forward this mail to
 them.  They keep mailing me, at various levels of their company, but I
 won't reply to anything more from them except fully open docs.
 

So what would a good alternative be for crypto accel cards?

Jason



altq help on 3.7

2005-07-30 Thread Teren Sapp
Hi all,

I was told to just use altq to limit my roommate's bandwidth so I setup a
ruleset according to the FAQ as you see below. However, it doesn't seem to
be working effectively, any ideas? Thanks

 

altq on $external cbq bandwidth 3.2Mb queue { std_ext, voip1_ext, teddy_ext
}

 

queue std_ext   bandwidth 2Mb priority 3 cbq(default borrow)

queue teddy_ext bandwidth 384Kb priority 1{ teddy1_ext, teddy2_ext }

queue teddy1_ext bandwidth 50% cbq(borrow)

queue teddy2_ext bandwidth 50% cbq(borrow)

queue voip1_ext bandwidth 768Kb priority 5 cbq(borrow)

 

altq on $internal cbq bandwidth 100% queue { std_int, voip1_int, teddy_int }

 

queue std_int   bandwidth 90Mb priority 3 cbq(default borrow)

queue teddy_int bandwidth 1Mb priority 1{ teddy1_int, teddy2_int }

queue teddy1_int bandwidth 50% cbq(borrow)

queue teddy2_int bandwidth 50% cbq(borrow)

queue voip1_int bandwidth 9Mb priority 5 cbq(borrow)



VIA IPSec acceleration

2005-07-30 Thread Mike

Hello,

I'm trying to set up a point-to-point IPSec VPN tunnel running 
3.7-release on two VIA EPIA boxes (dmesg below).  Traffic is passing 
through the tunnel properly, but I don't think the crypto accelerator 
(padlock) is being used.


Here's my lab setup:


   192.168.5.1:vr1vr1:192.168.5.254
 +--+  +--+
 client  | vpnA |  switch  | vpnB | server
 +--+  +--+
  192.168.6.254:vr0  vr0:172.20.1.1



I'm fairly sure the hardware accelerator works properly after this test:

# sysctl kern.usercrypto=1
kern.usercrypto: 1 - 1
# openssl speed -evp aes-128-cbc
To get the most accurate results, try to run this
program when this computer is idle.
Doing aes-128-cbc for 3s on 16 size blocks: 5264787 aes-128-cbc's in 2.91s
Doing aes-128-cbc for 3s on 64 size blocks: 4906120 aes-128-cbc's in 2.91s
Doing aes-128-cbc for 3s on 256 size blocks: 3444201 aes-128-cbc's in 2.91s
Doing aes-128-cbc for 3s on 1024 size blocks: 1512989 aes-128-cbc's in 
2.91s

Doing aes-128-cbc for 3s on 8192 size blocks: 242548 aes-128-cbc's in 2.91s
OpenSSL 0.9.7d 17 Mar 2004
built on: date not available
options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) 
aes(partial) blowfish(idx)

compiler: information not available
available timing options: USE_TOD HZ=100 [sysconf value]
timing function used: getrusage
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes256 bytes   1024 bytes   8192 
bytes
aes-128-cbc  28984.63k   108040.15k   303385.96k   531663.61k 
683682.83k

# sysctl kern.usercrypto=0
kern.usercrypto: 1 - 0
# openssl speed -evp aes-128-cbc
To get the most accurate results, try to run this
program when this computer is idle.
Doing aes-128-cbc for 3s on 16 size blocks: 1182423 aes-128-cbc's in 2.90s
Doing aes-128-cbc for 3s on 64 size blocks: 319179 aes-128-cbc's in 2.89s
Doing aes-128-cbc for 3s on 256 size blocks: 81744 aes-128-cbc's in 2.84s
Doing aes-128-cbc for 3s on 1024 size blocks: 20570 aes-128-cbc's in 2.82s
Doing aes-128-cbc for 3s on 8192 size blocks: 2577 aes-128-cbc's in 2.83s
OpenSSL 0.9.7d 17 Mar 2004
built on: date not available
options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) 
aes(partial) blowfish(idx)

compiler: information not available
available timing options: USE_TOD HZ=100 [sysconf value]
timing function used: getrusage
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes256 bytes   1024 bytes   8192 
bytes
aes-128-cbc   6527.23k 7066.80k 7379.03k 7468.56k 
7464.59k




However, I'm pretty sure padlock is not being used for the IPSec traffic 
because doing large FTP transfers I get a maximum of 20Mbps throughput 
through the tunnel, with vmstat showing system CPU as high as 80%. 
Simply routing the traffic through the two VIA boxes gives at least 
50Mbps throughput.


My IPSec configuration is slightly modified from the VPN-east and 
VPN-west examples in /usr/share/ipsec/isakmpd.  I've included the 
isakmpd.conf and isakmpd.policy from vpnB:


# cat isakmpd.conf
#   $OpenBSD: VPN-east.conf,v 1.13 2003/03/16 08:13:02 matthieu Exp $
#   $EOM: VPN-east.conf,v 1.12 2000/10/09 22:08:30 angelos Exp $

# A configuration sample for the isakmpd ISAKMP/Oakley (aka IKE) daemon.
#
# The network topology of the example net is like this:
#
# 192.168.11.0/24 - west [.11] - 10.1.0.0/24 - [.12] east - 192.168.12.0/24
#
# west and east are the respective security gateways (aka VPN-nodes).

[Phase 1]
192.168.5.1=ISAKMP-peer-west

[Phase 2]
Connections=IPsec-east-west

[ISAKMP-peer-west]
Phase=  1
Transport=  udp
Address=192.168.5.1
Configuration=  Default-main-mode
Authentication= mekmitasdigoat

[IPsec-east-west]
Phase=  2
ISAKMP-peer=ISAKMP-peer-west
Configuration=  Default-quick-mode
Local-ID=   Net-east
Remote-ID=  Net-west

[Net-west]
ID-type=IPV4_ADDR_SUBNET
Network=192.168.6.0
Netmask=255.255.255.0

[Net-east]
ID-type=IPV4_ADDR_SUBNET
Network=0.0.0.0
Netmask=0.0.0.0

[Default-main-mode]
DOI=IPSEC
EXCHANGE_TYPE=  ID_PROT
Transforms= AES-SHA

[AES-SHA]
ENCRYPTION_ALGORITHM=   AES_CBC
HASH_ALGORITHM= SHA

[Default-quick-mode]
DOI=IPSEC
EXCHANGE_TYPE=  QUICK_MODE
Suites= QM-ESP-AES-SHA-PFS-SUITE

# cat isakmpd.policy
KeyNote-Version: 2
Comment: This policy accepts ESP SAs from a remote that uses the right 
password

$OpenBSD: policy,v 1.6 2001/06/20 16:36:19 angelos Exp $
$EOM: policy,v 1.6 2000/10/09 22:08:30 angelos Exp $
Authorizer: POLICY
Licensees: passphrase:mekmitasdigoat
Conditions: 

Network interface (bge) always down after reboot

2005-07-30 Thread Tom Mack
I just installed 3.7 on a Dell Precision 370. During the install, I
was unable to get an IP address from DHCP, but I ignored it. When I
rebooted, I noticed that the ifconfig bge0 reported status: no
carrier. I knew it had worked fine 30 minutes ago when the computer
was running Windows and I hadn't touched the cable. For the hell of
it, I typed ifconfig bge0 up and it went active. Then I did a
dhclient bge0 and got an IP address. However, after rebooting, the
interface was no carrier again (and the same procedure would make it
go up again). I've tried specifying the media and mediaopt in
hostname.bge0 file to no avail.

Anyone know how to fix this?

Here's a typescript from right after a reboot:
Script started on Sat Jul 30 16:24:55 2005
auction# ifconfig -a
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33224
inet 127.0.0.1 netmask 0xff00 
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
bge0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
address: 00:11:11:4c:40:43
media: Ethernet 100baseTX full-duplex (none)
status: no carrier
pflog0: flags=0 mtu 33224
pfsync0: flags=0 mtu 2020
enc0: flags=0 mtu 1536
auction# ifconfig bge0 up
auction# ifconfig bge0
bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
address: 00:11:11:4c:40:43
media: Ethernet 100baseTX full-duplex
status: active
inet6 fe80::211:11ff:fe4c:4043%bge0 prefixlen 64 scopeid 0x1
auction# dhclient bge0
DHCPREQUEST on bge0 to 255.255.255.255 port 67
DHCPACK from 10.100.10.6
bound to 10.100.2.67 -- renewal in 345600 seconds.
auction# 


And here is the dmesg:
OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz (GenuineIntel 686-class) 2.80 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,PNI,MWAIT,CNXT-ID
real mem  = 1071796224 (1046676K)
avail mem = 971493376 (948724K)
using 4278 buffers containing 53694464 bytes (52436K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 08/23/04, BIOS32 rev. 0 @ 0xffe90
apm0 at bios0: Power Management spec V1.2
apm0: APM get power status: unknown error code? (83)
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfeb00/224 (12 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x8086 product 0x2640
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc/0xc000 0xcc000/0x1800! 0xcd800/0x2800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 925X MCH Host rev 0x04
ppb0 at pci0 dev 1 function 0 Intel 925X PCIE rev 0x04
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 Nvidia Quadro FX 330 rev 0xa2
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x03
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 Broadcom BCM5751 rev 0x01, BCM5750 A1
(0x4001): irq 11 address 00:11:11:4c:40:43
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb2 at pci0 dev 28 function 1 Intel 82801FB PCIE rev 0x03
pci3 at ppb2 bus 3
uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x03: irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x03: irq 5
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x03: irq 10
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x03: irq 9
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x03: irq 9
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: single transaction translator
uhub4: 8 ports with 8 removable, self powered
ppb3 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xd3
pci4 at ppb3 bus 4
vendor Conexant, unknown product 0x2f20 (class communications
subclass miscellaneous, rev 0x00) at pci4 dev 1 function 0 not
configured
Creative Labs SoundBlaster Audigy rev 0x04 at pci4 dev 2 function 0
not configured
Creative Labs Firewire rev 0x04 at pci4 dev 2 function 2 not configured
pcib0 at pci0 dev 31 function 0 Intel 82801FB LPC rev 

pkg_add -r question?

2005-07-30 Thread L. V. Lammert

After experimenting with pkg_add -r on a 3.6 - 3.7 upgrade, it is **NICE**!!

One question, however, .. is there a way to use the *OLD* package name, 
instead of the *NEW* package name? pkg_add would then query PKG_PATH for an 
updated version? The way it works now, it seems like you must manually 
compare the old packages  new packages, build the list of new packages by 
name, before using pkg_add -r.


Lee



Re: Network interface (bge) always down after reboot

2005-07-30 Thread Stephan Tesch
Am Samstag, 30. Juli 2005 23:43 schrieb Tom Mack:

 I just installed 3.7 on a Dell Precision 370. During the install, I
 was unable to get an IP address from DHCP, but I ignored it. When I
 rebooted, I noticed that the ifconfig bge0 reported status: no
 carrier. I knew it had worked fine 30 minutes ago when the computer
 was running Windows and I hadn't touched the cable. For the hell of
 it, I typed ifconfig bge0 up and it went active. Then I did a
 dhclient bge0 and got an IP address. However, after rebooting, the
 interface was no carrier again (and the same procedure would make it
 go up again). I've tried specifying the media and mediaopt in
 hostname.bge0 file to no avail.

 Anyone know how to fix this?

Does it work if you put

dhcp up

into /etc/hostname.bge0 ?

So long,
Stephan



Re: pkg_add -r question?

2005-07-30 Thread Clint M. Sand
On Sat, Jul 30, 2005 at 04:45:55PM -0500, L. V. Lammert wrote:
 After experimenting with pkg_add -r on a 3.6 - 3.7 upgrade, it is 
 **NICE**!!
 
 One question, however, .. is there a way to use the *OLD* package name, 
 instead of the *NEW* package name? pkg_add would then query PKG_PATH for an 
 updated version? The way it works now, it seems like you must manually 
 compare the old packages  new packages, build the list of new packages by 
 name, before using pkg_add -r.
 
   Lee


 /usr/ports/infrastructure/build/out-of-date



find-build-order usage help

2005-07-30 Thread viq
I tried looking at this script, i tried looking online for how to use it, and 
wasn't able to come up with anything. A word of advice, please?

Thanks
viq

---
INTERIA.PL z najlepsza wyszukiwarka...  http://link.interia.pl/f18a7



Re: altq help on 3.7

2005-07-30 Thread Erik Wikström

On 2005-07-30 20:11, Teren Sapp wrote:

Hi all,

I was told to just use altq to limit my roommate's bandwidth so I setup a
ruleset according to the FAQ as you see below. However, it doesn't seem to
be working effectively, any ideas? Thanks


Have you made rules to assign traffic to the queues? See the Assigning
Traffic to a Queue section in the FAQ.

--
Erik Wikstrvm



newbie question on patches

2005-07-30 Thread Roger Neth Jr

Hello All,
Recently there were a couple of patches for libz. Am I able to install the 
latest patch and will that will take care of the previous patch also?

My assumption is yes but want to make sure.
Would this be the same with all patches if one misses a previous patch?
Thank you,

rogern

_
Dont just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/




clustering SMP machines: MPICH2 build error

2005-07-30 Thread dick
lo all,

i've been looking into clustering a couple dual-processor
openbsd boxen (both running 3.7-release and bsd.mp) and
haven't found very much documentation on the topic. i figured
that either MPICH2 or PVM would be a good route, but i tried
to compile MPICH2 from source and encountered errors. i
haven't yet tried to install PVM and am reticent to do so
because it seems much less actively maintained.

when i try to build MPICH2, i can successfully configure the
source, but the make yields the following error:

...
compiling ROMIO in directory adio/common
gcc -I/home/X/mpich2-1.0.2p1/src/binding/f77
-I/home/X/mpich2-1.0.2p1/src/binding/f77
-I/home/X/mpich2-1.0.2p1/src/mpid/ch3/include
-I/home/X/mpich2-1.0.2p1/src/mpid/ch3/include
-I/home/X/mpich2-1.0.2p1/src/mpid/common/datatype
-I/home/X/mpich2-1.0.2p1/src/mpid/common/datatype
-I/home/X/mpich2-1.0.2p1/src/mpid/ch3/channels/sock/include
-I/home/X/mpich2-1.0.2p1/src/mpid/ch3/channels/sock/include
-I/home/X/mpich2-1.0.2p1/src/mpid/common/sock
-I/home/X/mpich2-1.0.2p1/src/mpid/common/sock
-I/home/X/mpich2-1.0.2p1/src/mpid/common/sock/poll
-I/home/X/mpich2-1.0.2p1/src/mpid/common/sock/poll  -O
-DFORTRANDOUBLEUNDERSCORE -DHAVE_ROMIOCONF_H -I.
-I/home/X/mpich2-1.0.2p1/src/mpi/romio/adio/common/../include
-I../include  -I../../include
-I/home/X/mpich2-1.0.2p1/src/mpi/romio/adio/common/../../../../../src/include
 -I../../../../../src/include  -c ad_fstype.c
ad_fstype.c: In function `ADIO_FileSysType_fncall':
ad_fstype.c:306: error: structure has no member named `f_type'
ad_fstype.c:320: error: structure has no member named `f_type'
*** Error code 1

Stop in /home/X/mpich2-1.0.2p1/src/mpi/romio/adio/common.
*** Error code 1
...

to me, this suggests that there is some issue with file system
support, although this is pure speculation. assistance or
suggestions in working around this error would be appreciated.

another possibility is that neither of the programs i
mentioned (MPICH2 and PVM) are the right tools for the job.

just to clarify, i am interested in clustering from the high
performance computing perspective, i.e. running a single
parallelized executable compiled from source on many boxen to
shorten the time spent processing.

cheers,
jake



WhatTheHack, Netherlands, join us on Sunday (EUR 50)

2005-07-30 Thread Michael Knudsen
For all people that want to visit us at WhatTheHack tomorrow Sunday in
the very last minute, you can get in for only EUR 50. We have a big
party in our tent, and of course the big, very popular Humppa Bar where
you can listen to quality music and get cheap, good quality beer and
schnaps (but sssch!).

In case you wonder what's going on, this picture says a lot:

http://sunsite.dk/~mk/IMG_6999.JPG

Hope to see a lot of you people there!

Regards,
Michael, Wim etc.
-- 
soaplove reverse: yah, totallu.
soaplove Looks like some of my y fell off in transit. TCP sucks.