Re: Status of hardware encryption accelerators - wetblanket

2006-11-06 Thread Heinrich Rebehn

Andreas Bihlmaier wrote:

On Mon, Nov 06, 2006 at 09:51:13AM -0800, Dag Richards wrote:

Andreas Bihlmaier wrote:

On Mon, Nov 06, 2006 at 09:49:07AM -0700, Darrin Chandler wrote:

Greg Mortensen wrote:

On Sun, 5 Nov 2006, Darrin Chandler wrote:


Can you say what the "irrelevant" i386 machine is? Lots of difference
between a 90MHz PentiumI and a 3GHz Opteron, and I'd like to know where
those numbers fit in.
The i386 results were sent to me off-list, so I don't know the 
processor details. "It's fast" will have to suffice.  To put it in 
perspective, my fastest Intel systems report:


Xeon 3.00GHz
aes-128-cbc  56117.94k  59781.24k  62908.69k  63702.29k  63485.95k

Xeon 3.40GHz
aes-128-cbc  64935.33k  71725.72k  74294.15k  75431.37k  75419.89k

My fastest:
cpu0: AMD Opteron(tm) Processor 246, 1994.63 MHz
cpu1: AMD Opteron(tm) Processor 246, 1994.32 MHz
type 16 bytes   64 bytes   256 bytes   1024 bytes   8192 bytes
aes-128-cbc  80713.16k  87876.85k   91431.72k92622.31k92688.52k

While that's *more* than fast enough for common tasks, the SBC + VIA 
PadlockACE numbers you gave whip the pants off it for anything > 16 bytes.

Well, you should also consider bytes/watt :)
type 16 bytes 64 bytes256 bytes   1024 bytes   8192 
bytes
aes-128-cbc  48246.54k   175071.41k   472434.09k   788228.58k   
980033.81k


OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006
   [EMAIL PROTECTED]:/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,EST,TM2


Regards,
ahb


Those are very impressive numbers.
What are you getting through these gateways?
What is the net usable throughput client PCs on either end are able to 
exchange over the VPN?


This is just home usage, all over long 100mbit lines with dirty cheap
switches (several) in between.

#ipsec.conf (extract):
#--- Makros ---#
quick_enc = "aes"
quick_auth ="hmac-md5"# <- sha is much more expensive
ike esp from $local_ip to $local_net peer $lan_gw \
quick auth $quick_auth \
enc $quick_enc \
psk $psk_ahb
ike esp from $local_ip to $vpn_gw peer $lan_gw \
quick auth $quick_auth \
enc $quick_enc \
psk $psk_ahb
#--#

ahblaptop <- vpn-gw <- ahb64


[snipping dmesg and iperf numbers]

Does anybody know if OpenVPN will also benefit form hardware encryption?

Regards,

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

Phone : +49/421/218-4664
Fax   :-3341



Re: Bug in dd?

2006-11-06 Thread Otto Moerbeek
On Mon, 6 Nov 2006, Otto Moerbeek wrote:

> On Mon, 6 Nov 2006, Karel Kulhavy wrote:
> 
> > The behaviour of dd on OpenBSD 3.9 is noncompliant to it's own OpenBSD 
> > manpage:
> > 
> > OpenBSD:
> > [EMAIL PROTECTED]:~$ dd bs=1 skip=2 
> > 1234
> > 1234
> > 5+0 records in
> > 5+0 records out
> > 5 bytes transferred in 1.764 secs (3 bytes/sec)
> > 
> > Linux:
> > [EMAIL PROTECTED] ~ $ dd bs=1 skip=2
> > 1234
> > 34
> > 3+0 records in
> > 3+0 records out
> > 3 bytes (3 B) copied, 1.71841 seconds, 0.0 kB/s
> 
> Seeking a tty does not fail, but does not position the stream as well.
> 
> This fixes it. Note that echo "1234" | dd bs=1 skip=2 already works fine.

The fix was committed a minute ago. Thanks for the report.

-Otto

> 
> Index: position.c
> ===
> RCS file: /cvs/src/bin/dd/position.c,v
> retrieving revision 1.7
> diff -u -p -r1.7 position.c
> --- position.c11 Jun 2003 23:42:12 -  1.7
> +++ position.c6 Nov 2006 12:07:54 -
> @@ -71,7 +71,7 @@ pos_in(void)
>   int warned;
>  
>   /* If not a pipe or tape device, try to seek on it. */
> - if (!(in.flags & (ISPIPE|ISTAPE))) {
> + if (!(in.flags & (ISPIPE|ISTAPE|ISCHR))) {
>   if (lseek(in.fd, in.offset * in.dbsz, SEEK_CUR) == -1)
>   err(1, "%s", in.name);
>   return;



D-LINK 802.11n Desktop Adapters on 1198 i386 -current

2006-11-06 Thread Sam Fourman Jr.

hello all,

This post is for informational purposes mostly, I  bought 2 D-LINK
Wireless N adapters

DLINK DWA-552 Ver 1

D-Link DWA-542 Ver 1

Both of these adapters are in my computer and have a Atheros chipset
unsupported it looks like.

if anyone is interested in random dmesg's My dmesg is as follows:


Sam Fourman Jr.


OpenBSD 4.0-current (GENERIC) #1198: Sat Nov  4 22:34:05 MST 2006
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) XP 2800+ ("AuthenticAMD" 686-class, 512KB L2
cache) 2.09 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 1073246208 (1048092K)
avail mem = 970969088 (948212K)
using 4256 buffers containing 53784576 bytes (52524K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(65) BIOS, date 02/09/04, BIOS32 rev. 0 @
0xfbcf0, SMBIOS rev. 2.3 @ 0xf0800 (37 entries)
bios0: HP Pavilion 061 DW230A-ABA a500n
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0xdee4
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde40/160 (8 entries)
pcibios0: PCI Exclusive IRQs: 5 10 11
pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT82C596A ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xa800 0xcc000/0x8000! 0xd4000/0x1800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8378 PCI" 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 "NVIDIA GeForce2 MX 100" rev 0xb2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
vendor "Atheros", unknown product 0x0023 (class network subclass
miscellaneous, rev 0x01) at pci0 dev 8 function 0 not configured
vendor "Atheros", unknown product 0x0023 (class network subclass
miscellaneous, rev 0x01) at pci0 dev 10 function 0 not configured
pciide0 at pci0 dev 15 function 0 "VIA VT6420 SATA" rev 0x80: DMA
pciide0: using irq 11 for native-PCI interrupt
pciide1 at pci0 dev 15 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide1 channel 0 drive 0: 
wd0: 16-sector PIO, LBA, 76319MB, 156301488 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide1 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  SCSI0
5/cdrom removable
atapiscsi1 at pciide1 channel 1 drive 1
scsibus1 at atapiscsi1: 2 targets
cd1 at scsibus1 targ 0 lun 0:  SCSI0
5/cdrom removable
cd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 2
cd1(pciide1:1:1): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x81: irq 5
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x81: irq 5
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x81: irq 11
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 16 function 3 "VIA VT83C572 USB" rev 0x81: irq 11
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 4 "VIA VT6202 USB" rev 0x86: irq 5
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
viapm0 at pci0 dev 17 function 0 "VIA VT8237 ISA" rev 0x00
iic0 at viapm0
auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x60: irq 5
ac97: codec id 0x414c4780 (Avance Logic ALC658 rev 0)
ac97: codec features 20 bit DAC, 18 bit ADC, No 3D Stereo
audio0 at auvia0
vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x78: irq 10,
address 00:0e:a6:a0:c4:04
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 8: OUI
0x004063, model 0x0032
isa0 at mainbus0
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
lm0 at isa0 port 0x290/8: W83697HF
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask fbfd netmask fffd ttymask 
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
umass0 at uhub3 port 1 configuration 1 interface 0uhidev0 at uhub1
port 2 configuration 1 interface 0
umass0: vendor 0x058f USB Reader, rev 1.10/1.00, addr 2
umass0: using SCSI over Bulk-Only

uhidev0: Logite

Re: D vs. C

2006-11-06 Thread Jacob Yocom-Piatt
 Original message 
>Date: Mon, 6 Nov 2006 22:57:42 -0300
>From: "Gustavo Rios" <[EMAIL PROTECTED]>  
>Subject: Re: D vs. C  
>To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>Cc: misc@openbsd.org
>
>There is no such a thing as a secure language! What there is it is a
>promise for those who does not know anything about logic nor math to
>be able to code without the need to know how to program.
>
>... and i have said!
>

!!!

i couldn't have said it better myself (:

>On 11/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> Hi I was wondering if anyone has any experience with the D Programming 
>> language?
>>
>> Is it so much better than C/C++? In mean in the light of security and 
>> efficiency.
>>
>> Best and kind regards.



Re: Expected 802.11g speeds?

2006-11-06 Thread Melameth, Daniel D.
Maybe a TcpWindowSize issue on Windows XP?  By default, this is higher
for a 100Mb/s interface than the wireless interface.  FWIW, I get the
full speed of my Internet connection over a ral AP, 6Mb/s, and, when
using it normally, with WEP I still can get about ~20Mb/s.  Have you
tried shutting off the power saving features of the Intel Wi-Fi?

Steve Shockley wrote:
> I've got an OpenBSD 3.9 firewall/AP with a ral wireless card, and I'm
> connecting to it from a WinXP machine with an Intel 2915 wireless and
> Broadcom 5751 Ethernet.
> 
> My provider just upgraded my speeds, so I was using
> http://speed.rutgers.edu to test it.  When connected via Ethernet
> (100), I'm getting ~10mb down, but over wireless I'm getting ~2mb
> with no other changes.  Is ~2mb expected speed over 802.11g?  I'm
> getting "Excellent" signal quality according to WinXP, and ifconfig
> -M shows: 
> lladdr 00:15:00:32:8a:1c 64dB 54M privacy,short_slottime assoc
> for my node.  Just wondering if I've got a problem to diagnose, or if
> I'm already getting what I'm going to get out of it.
> 
> 
> dmesg for firewall/AP:
> 
> OpenBSD 3.9 (GENERIC.MP) #598: Thu Mar  2 02:37:06 MST 2006
> 
> [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
> cpu0: Intel Pentium III ("GenuineIntel" 686-class) 796 MHz 
> cpu0:
>
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
MMX,FXSR,SSE
> real mem  = 2138611712 (2088488K)
> avail mem = 1945260032 (1899668K)
> using 4278 buffers containing 107032576 bytes (104524K) of memory
> mainbus0 (root)
> bios0 at mainbus0: AT/286+(82) BIOS, date 03/26/01, BIOS32 rev. 0 @
> 0xfd7e3 pcibios0 at bios0: rev 2.1 @ 0xfd680/0x980
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf00/224 (12 entries)
> pcibios0: PCI Interrupt Router at 000:18:0 ("Intel 82371FB ISA" rev
> 0x00) pcibios0: PCI bus #2 is the last bus
> bios0: ROM list: 0xc/0x8000 0xc8000/0x1800
> mainbus0: Intel MP Specification (Version 1.4) (INTELLancewood   )
> cpu0 at mainbus0: apid 1 (boot processor)
> cpu0: apic clock running at 99 MHz
> cpu1 at mainbus0: apid 0 (application processor)
> cpu1: Intel Pentium III ("GenuineIntel" 686-class) 796 MHz
> cpu1:
>
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
MMX,FXSR,SSE
> mainbus0: bus 0 is type PCI
> mainbus0: bus 1 is type PCI
> mainbus0: bus 2 is type PCI
> mainbus0: bus 3 is type ISA
> ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82440BX AGP" rev 0x00
> ppb0 at pci0 dev 1 function 0 "Intel 82440BX AGP" rev 0x00
> pci1 at ppb0 bus 1
> ppb1 at pci1 dev 15 function 0 "DEC 21150-BC PCI-PCI" rev 0x06
> pci2 at ppb1 bus 2
> em0 at pci2 dev 4 function 0 "Intel PRO/1000 (82542)" rev 0x03: apic 2
> int 20 (irq 11), address 00:08:c7:86:39:f5
> ral0 at pci0 dev 9 function 0 "Ralink RT2560" rev 0x01: apic 2 int 19
> (irq 11), address 00:09:f3:70:13:52
> ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
> wi0 at pci0 dev 11 function 0 "Intersil PRISM2.5" rev 0x01: apic 2 int
> 18 (irq 11)
> wi0: PRISM2.5 ISL3874A(Mini-PCI) (0x8013), Firmware 1.1.1 (primary),
> 1.8.0 (station), address 00:09:5b:11:cf:b6
> ahc0 at pci0 dev 12 function 0 "Adaptec AIC-7896/7 U2" rev 0x00: apic
> 2 
> int 19 (irq 11)
> scsibus0 at ahc0: 16 targets
> ahc1 at pci0 dev 12 function 1 "Adaptec AIC-7896/7 U2" rev 0x00: apic
> 2 
> int 19 (irq 11)
> scsibus1 at ahc1: 16 targets
> fxp0 at pci0 dev 13 function 0 "Intel 8255x" rev 0x0d, i82550: apic 2
> int 17 (irq 5), address 00:02:b3:8f:1a:3f
> inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
> fxp1 at pci0 dev 14 function 0 "Intel 8255x" rev 0x08, i82559: apic 2
> int 21 (irq 10), address 00:d0:b7:89:03:69
> inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
> fxp2 at pci0 dev 16 function 0 "Intel 8255x" rev 0x05, i82558: apic 2
> int 16 (irq 11), address 00:90:27:34:c7:da
> inphy2 at fxp2 phy 1: i82555 10/100 PHY, rev. 0
> pcib0 at pci0 dev 18 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
> pciide0 at pci0 dev 18 function 1 "Intel 82371AB IDE" rev 0x01: DMA,
> channel 0 wired to compatibility, channel 1 wired to compatibility
> wd0 at pciide0 channel 0 drive 0: 
> wd0: 16-sector PIO, LBA, 78167MB, 160086528 sectors
> atapiscsi0 at pciide0 channel 0 drive 1
> scsibus2 at atapiscsi0: 2 targets
> cd0 at scsibus2 targ 0 lun 0: <, ATAPI CDROM., 10AH> SCSI0 5/cdrom
> removable wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
> pciide0: channel 1 disabled (no drives)
> uhci0 at pci0 dev 18 function 2 "Intel 82371AB USB" rev 0x01: apic 2
> int 21 (irq 10)
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0
> uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> piixpm0 at pci0 dev 18 function 3 "Intel 82371AB Power" rev 0x02: SMI
> iic0 at piixpm0
> "unknown" at iic0 addr 0x18 not configured
> "unknown" at iic0 addr 0x4e not configured

Re: 4.0 Lockup [Was: 3.9 Lockup]

2006-11-06 Thread STeve Andre'
On Monday 06 November 2006 22:10, Melameth, Daniel D. wrote:
> I'm having the same issue with 4.0 -stable--well, a bastardized copy of
> -stable that also contains ral, cardbus and related changes from
> -current.  I've used more than one fxp card as well as more than one ral
> card and the issue stays the same--fxp0: warnings and timeouts and,
> eventually under load or after a few days, the box locks up with no
> apparent panic and ddb.console=1 provides no help.  If I recall
> correctly, the issue also exists if I replace fxp with xl.  It would
> appear so long as there are two Cardbus cards in this box, this issue
> occurs--as fxp plus wi is rock solid.
>
> How do I troubleshoot this further?
[snip]

Ugh.  This brings back some memories.  I'm pretty sure it was a sat
pro that I had some cardbus problems with some time ago.  I believe
I did a bios update, which changed things; better but not perfect.  So
try that, and look in the bios settings for anything that can tweak the
cardbus slots.  Given my experiences with this, I'm thinking there is
a good chance that your problem lies in the laptop itself.  Good luck.

--STeve Andre'



4.0 Lockup [Was: 3.9 Lockup]

2006-11-06 Thread Melameth, Daniel D.
I'm having the same issue with 4.0 -stable--well, a bastardized copy of
-stable that also contains ral, cardbus and related changes from
-current.  I've used more than one fxp card as well as more than one ral
card and the issue stays the same--fxp0: warnings and timeouts and,
eventually under load or after a few days, the box locks up with no
apparent panic and ddb.console=1 provides no help.  If I recall
correctly, the issue also exists if I replace fxp with xl.  It would
appear so long as there are two Cardbus cards in this box, this issue
occurs--as fxp plus wi is rock solid.

How do I troubleshoot this further?


$ dmesg
OpenBSD 4.0-stable (GENERIC) #0: Thu Nov  2 21:41:33 MST 2006
 
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class) 647 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,F
XSR,SSE
real mem  = 133656576 (130524K)
avail mem = 114528256 (111844K)
using 1657 buffers containing 6787072 bytes (6628K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(63) BIOS, date 12/30/99, SMBIOS rev. 2.3 @
0x7ff (45 entries)
bios0: TOSHIBA SATELLITE PRO 4340XDVD
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high, estimated 1:39 hours
apm0: flags 20102 dobusy 0 doidle 1
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xc/0xc000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "S3 Savage/IX-MV" rev 0x11
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 5 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 5 function 1 "Intel 82371AB IDE" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 38204MB, 78242976 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 5 function 2 "Intel 82371AB USB" rev 0x01: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
piixpm0 at pci0 dev 5 function 3 "Intel 82371AB Power" rev 0x03: SMI
iic0 at piixpm0
admtemp0 at iic0 addr 0x4e: adm1021
"AT&T/Lucent LTMODEM" rev 0x01 at pci0 dev 7 function 0 not configured
vendor "Toshiba", unknown product 0x0d01 (class wireless subclass IrDA,
rev 0x00) at pci0 dev 9 function 0 not configured
cbb0 at pci0 dev 11 function 0 "Toshiba ToPIC95B CardBus" rev 0x07: irq
11
cbb1 at pci0 dev 11 function 1 "Toshiba ToPIC95B CardBus" rev 0x07: irq
11
yds0 at pci0 dev 12 function 0 "Yamaha 744" rev 0x02: irq 11
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 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
pccom1 at isa0 port 0x2f8/8 irq 3: ns8250, no fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 20 device 0 cacheline 0x0, lattimer 0x0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 21 device 0 cacheline 0x0, lattimer 0x0
pcmcia1 at cardslot1
biomask ef65 netmask ef65 ttymask ffe7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
fxp0 at cardbus0 dev 0 function 0 "INTEL(R), PRO/100 CARDBUS II,
MBLA3300": INTEL(R) PRO/100 CARDBUS II: irq 11, address
00:a0:c9:bc:ad:ad
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
ral0 at cardbus1 dev 0 function 0 "Ralink Technology, Inc., RT2500,
802.11  CardBus Reference Card": irq 11, address 00:0e:3b:07:a2:13
ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
WARNING: / was not properly unmounted
ac97: codec id 0x414b4d02 (Asahi Kasei AK4543)
ac97: codec features headphone, 18 bit DAC, 18 bit ADC, AKM 3D
audio0 at yds0
opl0 at yds0: model OPL3
midi1 at opl0: 
mpu at yds0 not configured
mpu at yds0 not configured
mpu at yds0 not configured
mpu at yds0 not configured

Melameth, Daniel D. wrote:
> I recently upgraded (via clean install) a machine that was previously
> running 3.8 and wi in hostap, without incident for the last six months
> or so, to 3.9 running ral in hostap.  Wh

Re: D vs. C

2006-11-06 Thread Adam
"Gustavo Rios" <[EMAIL PROTECTED]> wrote:

> There is no such a thing as a secure language! What there is it is a
> promise for those who does not know anything about logic nor math to
> be able to code without the need to know how to program.

Right, because if you aren't perfect then you shouldn't be coding right?
Real programmers do everything in assembly and have never made a mistake.

> ... and i have said!

Could you stop saying now?

Adam



Re: crash on 4.0 (but no ddb)

2006-11-06 Thread Stephen Takacs
On Sun, Nov 05, 2006 at 05:27:05PM -0500, Kyle George wrote:
> Actually, what I should have said was uncomment the ddb.console=1 line in 
> sysctl.conf.  That's where it should go.  It will work in either place 
> though.

Yeah that's what I did. :-)  Unfortunately the machine crashed again
tonight while I was using it, and the ddb.console key sequence didn't
work, because the keyboard was totally dead.

I had just started up xpdf, and it was taking forever to load the file
(lots of graphics on this PDF) when I realized after a couple minutes
that this time it wasn't going to finish loading...  Ever since 3.9 was
released I've been throttling the CPU with hw.setperf=0, because I don't
mind a slightly slower system.  I've loaded much crazier PDFs than this
one before in previous releases, and although sometimes they can take a
while to load, the machine never crashed like this.  At most the xpdf
process crashes and tells me it ran out of memory. :-)  That's fine
though and my ulimits are sane, considering that the machine has lots of
RAM (and hardly ever hits swap):

time(cpu-seconds)unlimited
file(blocks) unlimited
coredump(blocks) 0
data(kbytes) 131072
stack(kbytes)4096
lockedmem(kbytes)146377
memory(kbytes)   437376
nofiles(descriptors) 128
processes64

Since hotplugd was running, I tried to plug in a USB disk, in order to
see if anything was alive still.  The little LED on the flash disk
didn't turn on...  I then plugged my Linksys WPC11 into the cardbus
slot, and it stayed dead too.  It seemed like the machine was really
locked up hard.

Is there any way to troubleshoot this further in this kind of situation?
I don't think it's the hardware, because I'm subjecting the machine to
the same stress levels as always, and it started acting strange the next
morning after the 3.9 -> 4.0 upgrade.



Re: D vs. C

2006-11-06 Thread Gustavo Rios

There is no such a thing as a secure language! What there is it is a
promise for those who does not know anything about logic nor math to
be able to code without the need to know how to program.

... and i have said!

On 11/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Hi I was wondering if anyone has any experience with the D Programming language?

Is it so much better than C/C++? In mean in the light of security and 
efficiency.

Best and kind regards.




Re: Expected 802.11g speeds?

2006-11-06 Thread Alexander Lind
mb as in megabit or megabyte?

alec

Steve Shockley wrote:
> I've got an OpenBSD 3.9 firewall/AP with a ral wireless card, and I'm
> connecting to it from a WinXP machine with an Intel 2915 wireless and
> Broadcom 5751 Ethernet.
>
> My provider just upgraded my speeds, so I was using
> http://speed.rutgers.edu to test it.  When connected via Ethernet
> (100), I'm getting ~10mb down, but over wireless I'm getting ~2mb with
> no other changes.  Is ~2mb expected speed over 802.11g?  I'm getting
> "Excellent" signal quality according to WinXP, and ifconfig -M shows:
> lladdr 00:15:00:32:8a:1c 64dB 54M privacy,short_slottime assoc
> for my node.  Just wondering if I've got a problem to diagnose, or if
> I'm already getting what I'm going to get out of it.
>
>
> dmesg for firewall/AP:
>
> OpenBSD 3.9 (GENERIC.MP) #598: Thu Mar  2 02:37:06 MST 2006
> [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
> cpu0: Intel Pentium III ("GenuineIntel" 686-class) 796 MHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
>
> real mem  = 2138611712 (2088488K)
> avail mem = 1945260032 (1899668K)
> using 4278 buffers containing 107032576 bytes (104524K) of memory
> mainbus0 (root)
> bios0 at mainbus0: AT/286+(82) BIOS, date 03/26/01, BIOS32 rev. 0 @
> 0xfd7e3
> pcibios0 at bios0: rev 2.1 @ 0xfd680/0x980
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf00/224 (12 entries)
> pcibios0: PCI Interrupt Router at 000:18:0 ("Intel 82371FB ISA" rev 0x00)
> pcibios0: PCI bus #2 is the last bus
> bios0: ROM list: 0xc/0x8000 0xc8000/0x1800
> mainbus0: Intel MP Specification (Version 1.4) (INTELLancewood   )
> cpu0 at mainbus0: apid 1 (boot processor)
> cpu0: apic clock running at 99 MHz
> cpu1 at mainbus0: apid 0 (application processor)
> cpu1: Intel Pentium III ("GenuineIntel" 686-class) 796 MHz
> cpu1:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
>
> mainbus0: bus 0 is type PCI
> mainbus0: bus 1 is type PCI
> mainbus0: bus 2 is type PCI
> mainbus0: bus 3 is type ISA
> ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82440BX AGP" rev 0x00
> ppb0 at pci0 dev 1 function 0 "Intel 82440BX AGP" rev 0x00
> pci1 at ppb0 bus 1
> ppb1 at pci1 dev 15 function 0 "DEC 21150-BC PCI-PCI" rev 0x06
> pci2 at ppb1 bus 2
> em0 at pci2 dev 4 function 0 "Intel PRO/1000 (82542)" rev 0x03: apic 2
> int 20 (irq 11), address 00:08:c7:86:39:f5
> ral0 at pci0 dev 9 function 0 "Ralink RT2560" rev 0x01: apic 2 int 19
> (irq 11), address 00:09:f3:70:13:52
> ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
> wi0 at pci0 dev 11 function 0 "Intersil PRISM2.5" rev 0x01: apic 2 int
> 18 (irq 11)
> wi0: PRISM2.5 ISL3874A(Mini-PCI) (0x8013), Firmware 1.1.1 (primary),
> 1.8.0 (station), address 00:09:5b:11:cf:b6
> ahc0 at pci0 dev 12 function 0 "Adaptec AIC-7896/7 U2" rev 0x00: apic
> 2 int 19 (irq 11)
> scsibus0 at ahc0: 16 targets
> ahc1 at pci0 dev 12 function 1 "Adaptec AIC-7896/7 U2" rev 0x00: apic
> 2 int 19 (irq 11)
> scsibus1 at ahc1: 16 targets
> fxp0 at pci0 dev 13 function 0 "Intel 8255x" rev 0x0d, i82550: apic 2
> int 17 (irq 5), address 00:02:b3:8f:1a:3f
> inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
> fxp1 at pci0 dev 14 function 0 "Intel 8255x" rev 0x08, i82559: apic 2
> int 21 (irq 10), address 00:d0:b7:89:03:69
> inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
> fxp2 at pci0 dev 16 function 0 "Intel 8255x" rev 0x05, i82558: apic 2
> int 16 (irq 11), address 00:90:27:34:c7:da
> inphy2 at fxp2 phy 1: i82555 10/100 PHY, rev. 0
> pcib0 at pci0 dev 18 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
> pciide0 at pci0 dev 18 function 1 "Intel 82371AB IDE" rev 0x01: DMA,
> channel 0 wired to compatibility, channel 1 wired to compatibility
> wd0 at pciide0 channel 0 drive 0: 
> wd0: 16-sector PIO, LBA, 78167MB, 160086528 sectors
> atapiscsi0 at pciide0 channel 0 drive 1
> scsibus2 at atapiscsi0: 2 targets
> cd0 at scsibus2 targ 0 lun 0: <, ATAPI CDROM., 10AH> SCSI0 5/cdrom
> removable
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
> pciide0: channel 1 disabled (no drives)
> uhci0 at pci0 dev 18 function 2 "Intel 82371AB USB" rev 0x01: apic 2
> int 21 (irq 10)
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0
> uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> piixpm0 at pci0 dev 18 function 3 "Intel 82371AB Power" rev 0x02: SMI
> iic0 at piixpm0
> "unknown" at iic0 addr 0x18 not configured
> "unknown" at iic0 addr 0x4e not configured
> vga1 at pci0 dev 20 function 0 "Cirrus Logic CL-GD5480" rev 0x23
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> isa0 at pcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskb

Expected 802.11g speeds?

2006-11-06 Thread Steve Shockley
I've got an OpenBSD 3.9 firewall/AP with a ral wireless card, and I'm 
connecting to it from a WinXP machine with an Intel 2915 wireless and 
Broadcom 5751 Ethernet.


My provider just upgraded my speeds, so I was using 
http://speed.rutgers.edu to test it.  When connected via Ethernet (100), 
I'm getting ~10mb down, but over wireless I'm getting ~2mb with no other 
changes.  Is ~2mb expected speed over 802.11g?  I'm getting "Excellent" 
signal quality according to WinXP, and ifconfig -M shows:

lladdr 00:15:00:32:8a:1c 64dB 54M privacy,short_slottime assoc
for my node.  Just wondering if I've got a problem to diagnose, or if 
I'm already getting what I'm going to get out of it.



dmesg for firewall/AP:

OpenBSD 3.9 (GENERIC.MP) #598: Thu Mar  2 02:37:06 MST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel Pentium III ("GenuineIntel" 686-class) 796 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE

real mem  = 2138611712 (2088488K)
avail mem = 1945260032 (1899668K)
using 4278 buffers containing 107032576 bytes (104524K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(82) BIOS, date 03/26/01, BIOS32 rev. 0 @ 0xfd7e3
pcibios0 at bios0: rev 2.1 @ 0xfd680/0x980
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf00/224 (12 entries)
pcibios0: PCI Interrupt Router at 000:18:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x1800
mainbus0: Intel MP Specification (Version 1.4) (INTELLancewood   )
cpu0 at mainbus0: apid 1 (boot processor)
cpu0: apic clock running at 99 MHz
cpu1 at mainbus0: apid 0 (application processor)
cpu1: Intel Pentium III ("GenuineIntel" 686-class) 796 MHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE

mainbus0: bus 0 is type PCI
mainbus0: bus 1 is type PCI
mainbus0: bus 2 is type PCI
mainbus0: bus 3 is type ISA
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82440BX AGP" rev 0x00
ppb0 at pci0 dev 1 function 0 "Intel 82440BX AGP" rev 0x00
pci1 at ppb0 bus 1
ppb1 at pci1 dev 15 function 0 "DEC 21150-BC PCI-PCI" rev 0x06
pci2 at ppb1 bus 2
em0 at pci2 dev 4 function 0 "Intel PRO/1000 (82542)" rev 0x03: apic 2 
int 20 (irq 11), address 00:08:c7:86:39:f5
ral0 at pci0 dev 9 function 0 "Ralink RT2560" rev 0x01: apic 2 int 19 
(irq 11), address 00:09:f3:70:13:52

ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
wi0 at pci0 dev 11 function 0 "Intersil PRISM2.5" rev 0x01: apic 2 int 
18 (irq 11)
wi0: PRISM2.5 ISL3874A(Mini-PCI) (0x8013), Firmware 1.1.1 (primary), 
1.8.0 (station), address 00:09:5b:11:cf:b6
ahc0 at pci0 dev 12 function 0 "Adaptec AIC-7896/7 U2" rev 0x00: apic 2 
int 19 (irq 11)

scsibus0 at ahc0: 16 targets
ahc1 at pci0 dev 12 function 1 "Adaptec AIC-7896/7 U2" rev 0x00: apic 2 
int 19 (irq 11)

scsibus1 at ahc1: 16 targets
fxp0 at pci0 dev 13 function 0 "Intel 8255x" rev 0x0d, i82550: apic 2 
int 17 (irq 5), address 00:02:b3:8f:1a:3f

inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
fxp1 at pci0 dev 14 function 0 "Intel 8255x" rev 0x08, i82559: apic 2 
int 21 (irq 10), address 00:d0:b7:89:03:69

inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
fxp2 at pci0 dev 16 function 0 "Intel 8255x" rev 0x05, i82558: apic 2 
int 16 (irq 11), address 00:90:27:34:c7:da

inphy2 at fxp2 phy 1: i82555 10/100 PHY, rev. 0
pcib0 at pci0 dev 18 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 18 function 1 "Intel 82371AB IDE" rev 0x01: DMA, 
channel 0 wired to compatibility, channel 1 wired to compatibility

wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA, 78167MB, 160086528 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 0: <, ATAPI CDROM., 10AH> SCSI0 5/cdrom removable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
uhci0 at pci0 dev 18 function 2 "Intel 82371AB USB" rev 0x01: apic 2 int 
21 (irq 10)

usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
piixpm0 at pci0 dev 18 function 3 "Intel 82371AB Power" rev 0x02: SMI
iic0 at piixpm0
"unknown" at iic0 addr 0x18 not configured
"unknown" at iic0 addr 0x4e not configured
vga1 at pci0 dev 20 function 0 "Cirrus Logic CL-GD5480" rev 0x23
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 

D vs. C

2006-11-06 Thread coolzone
Hi I was wondering if anyone has any experience with the D Programming language?

Is it so much better than C/C++? In mean in the light of security and 
efficiency.

Best and kind regards.



Re: bgpd route-reflector setup via media upgrades from 3.9 to 4.0 not working anymore.

2006-11-06 Thread Daniel Ouellet

Claudio Jeker wrote:

Please check that the routes on your route-reflector. My guess is that you
need to set "nexthop qualify via bgp" at least that was the error I had
while testing it now. Afterwards route reflection worked for me.


I just tried it and still not it. A clear session came back with the 
same announcements.


I am still digging this, but I am at a lost so far.

All was working very well on 3.9 and same configuration doesn't do it on 
4.0.


I will spend more time tonight on this, but so far, I can't a reason or 
what changed between 3.9 and 4.0 to kill this.




faq16.html section 15.2.3

2006-11-06 Thread Peter Fraser
Needs a link pointing to "Packages for OpenBSD 4.0"



Re: bgpd route-reflector setup via media upgrades from 3.9 to 4.0 not working anymore.

2006-11-06 Thread Claudio Jeker
On Mon, Nov 06, 2006 at 06:32:49AM -0500, Daniel Ouellet wrote:
> Daniel Ouellet wrote:
> >Hi,
> >
> >I am trying to isolate this issue, but the exact same setup and 
> >configuration for the 3.9 was working and after the upgrades to 4.0 
> >without any changes what so ever to the bgpd.conf doesn't work anymore.
> >
> >All bgp sessions are up as before, all ibgp sessions are up as well, but 
> >all routers that were configure to use this bgpd as a route-reflector do 
> >not get the full table anymore, but only the ibgp routers.
> >
> >Looking in the man page, I don't see a new option that may have impacted 
> >this, or that should be added to enable it again.
> >
> >Any clue as to where I should look, or if anything changed between the 
> >3.9 and 4.0 in regards to route-reflector setup.
> >
> >So, far I find nothing in this regards.
> 
> Here is more details to show the problem.
> 
> It should really announce the full routing tables based on the 
> configuration below as an example, but it doesn't.
> 
> I use real full feeds from a few real peers to show real data and did a 
> configuration for testing with the following results below.
> 
> Why wouldn't it send the full table as a reflector would?
> 
> Any clue as to what I forgot in the new version oppose to 3.9, or is 
> this really a bug then? I can't get the reflector to work anymore in 4.0.
> 
> Thanks
> 
> 
> 
> # bgpctl sh rib memory
> RDE memory statistics
> 198197 IPv4 network entries using 12.1M of memory
> 227458 prefix entries using 12.1M of memory
>  43193 BGP path attribute entries using 4.9M of memory
>  38816 BGP AS-PATH attribute entries using 1.5M of memory,
>and holding 43193 references
>   3814 BGP attributes entries using 149K of memory
>and holding 138391 references
>   3813 BGP attributes using 22.3K of memory
> RIB using 30.9M of memory
> 
> 
> 
> Showing the count of valid announce routes, only 81 learn from that 
> local router bgp sessions
> 
> # bgpctl show rib neighbor x.x.x.192 out | grep -c '*>'
> 81
> 
> 
> 
> Simple test configuration:
> 
> # global configuration
> AS x
> router-id x.x.x.199
> 
> # Network announcements
> network x.x.x.199/32
> 
> neighbor x.x.x.192 {
> remote-as   x
> descr   "Test"
> multihop5
> local-address   x.x.x.199
> holdtime180
> holdtime min3
> route-reflector
> announceall
> tcp md5sig password TestOnly
> }
> 
> 
> 
> ==
> 
> # bgpctl s s
> Neighbor  ASMsgRcvdMsgSentOutQ  Up/Down  State/PrefixRcvd
> Test  x   260336 0 00:04:38 57
> 
> 

Please check that the routes on your route-reflector. My guess is that you
need to set "nexthop qualify via bgp" at least that was the error I had
while testing it now. Afterwards route reflection worked for me.

-- 
:wq Claudio



Networkinterface behavior(wlan vs. wire)

2006-11-06 Thread Maxim Bourmistrov
"wire" interfaces behave as expected:
remove hostname.iface and it will never be UP after boot.

This however does not apply to wlan interfaces.
Why not?



Re: Status of hardware encryption accelerators - wetblanket

2006-11-06 Thread Andreas Bihlmaier
On Mon, Nov 06, 2006 at 09:51:13AM -0800, Dag Richards wrote:
> Andreas Bihlmaier wrote:
> >On Mon, Nov 06, 2006 at 09:49:07AM -0700, Darrin Chandler wrote:
> >>Greg Mortensen wrote:
> >>>On Sun, 5 Nov 2006, Darrin Chandler wrote:
> >>>
> Can you say what the "irrelevant" i386 machine is? Lots of difference
> between a 90MHz PentiumI and a 3GHz Opteron, and I'd like to know where
> those numbers fit in.
> >>> The i386 results were sent to me off-list, so I don't know the 
> >>>processor details. "It's fast" will have to suffice.  To put it in 
> >>>perspective, my fastest Intel systems report:
> >>>
> >>>Xeon 3.00GHz
> >>>aes-128-cbc  56117.94k  59781.24k  62908.69k  63702.29k  63485.95k
> >>>
> >>>Xeon 3.40GHz
> >>>aes-128-cbc  64935.33k  71725.72k  74294.15k  75431.37k  75419.89k
> >>My fastest:
> >>cpu0: AMD Opteron(tm) Processor 246, 1994.63 MHz
> >>cpu1: AMD Opteron(tm) Processor 246, 1994.32 MHz
> >>type 16 bytes   64 bytes   256 bytes   1024 bytes   8192 bytes
> >>aes-128-cbc  80713.16k  87876.85k   91431.72k92622.31k92688.52k
> >>
> >>While that's *more* than fast enough for common tasks, the SBC + VIA 
> >>PadlockACE numbers you gave whip the pants off it for anything > 16 bytes.
> >
> >Well, you should also consider bytes/watt :)
> >type 16 bytes 64 bytes256 bytes   1024 bytes   8192 
> >bytes
> >aes-128-cbc  48246.54k   175071.41k   472434.09k   788228.58k   
> >980033.81k
> >
> >OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006
> >[EMAIL PROTECTED]:/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,EST,TM2
> >
> >Regards,
> >ahb
> >
> 
> Those are very impressive numbers.
> What are you getting through these gateways?
> What is the net usable throughput client PCs on either end are able to 
> exchange over the VPN?

This is just home usage, all over long 100mbit lines with dirty cheap
switches (several) in between.

#ipsec.conf (extract):
#--- Makros ---#
quick_enc = "aes"
quick_auth ="hmac-md5"  # <- sha is much more expensive
ike esp from $local_ip to $local_net peer $lan_gw \
quick auth $quick_auth \
enc $quick_enc \
psk $psk_ahb
ike esp from $local_ip to $vpn_gw peer $lan_gw \
quick auth $quick_auth \
enc $quick_enc \
psk $psk_ahb
#--#

ahblaptop <- vpn-gw <- ahb64

#ahblaptop
OpenBSD 4.0 (GENERIC) #1104: Fri Sep  1 11:54:27 MDT 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: mobile AMD Athlon(tm) XP 2500+ ("AuthenticAMD" 686-class, 512KB L2 cache) 
1.87 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 536375296 (523804K)

#ahb64
OpenBSD 4.0-current (GENERIC) #1172: Sun Oct 22 20:45:57 MDT 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) 64 Processor 3000+ ("AuthenticAMD" 686-class, 512KB L2 
cache) 1.81 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3
cpu0: Cool'n'Quiet K8 1801 MHz: speeds: 1800 1000 MHz
real mem  = 2145873920 (2095580K)

#iperf
0.000313 0.024359 8 1 0.00 0.00 0.08 0.00 0.00
0.000312 0.048899 16 2 0.00 0.01 0.06 0.00 0.00
0.000313 0.073198 24 3 0.00 0.01 0.07 0.00 0.00
0.000311 0.098273 32 4 0.00 0.02 0.09 0.00 0.00
0.000312 0.146932 48 6 0.00 0.00 0.09 0.00 0.00
0.000309 0.197435 64 8 0.00 0.01 0.10 0.00 0.00
0.000320 0.286414 96 12 0.00 0.01 0.02 0.00 0.00
0.000319 0.310805 104 13 0.00 0.00 0.02 0.00 0.00
0.000318 0.383336 128 16 0.00 0.00 0.03 0.00 0.00
0.000318 0.455365 152 19 0.00 0.00 0.01 0.00 0.00
0.000322 0.497413 168 21 0.00 0.01 0.02 0.00 0.00
0.000319 0.574244 192 24 0.00 0.00 0.06 0.00 0.00
0.000335 0.614646 216 27 0.00 0.02 0.11 0.00 0.00
0.000333 0.663925 232 29 0.00 0.02 0.08 0.00 0.00
0.000332 0.735122 256 32 0.00 0.00 0.03 0.00 0.00
0.000333 0.801825 280 35 0.00 0.00 0.13 0.00 0.00
0.000342 1.003329 360 45 0.00 0.00 0.03 0.00 0.00
0.000344 1.064252 384 48 0.00 0.01 0.09 0.00 0.00
0.000343 1.134685 408 51 0.00 0.00 0.10 0.00 0.00
0.000353 1.319587 488 61 0.00 0.00 0.20 0.00 0.00
0.000354 1.380665 512 64 0.00 0.00 0.16 0.00 0.00
0.000353 1.446069 536 67 0.00 0.02 0.15 0.00 0.00
0.000374 1.895688 744 93 0.00 0.0

Re: i18n/l10n

2006-11-06 Thread Michael Lockhart
Your best bet is to use internationalization support in applications
themselves.  OpenBSD doesn't provide much on the base OS level, but most
applications have support for it.  Here's a site that provides a good
starting point for app level Unicode/i18n support:

http://eyegene.ophthy.med.umich.edu/unicode/

Regards,
Mike Lockhart
 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Mike Lockhart[Systems Engineering & Operations]
StayOnline, Inc
http://www.stayonline.net/
mailto: [EMAIL PROTECTED]
GPG: 8714 6F73 3FC8 E0A4 0663  3AFF 9F5C 888D 0767 1550
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Jack J. Woehr
Sent: Monday, November 06, 2006 2:56 PM
To: OpenBSD-Misc Mailing List
Subject: i18n/l10n

Looked in the FAQ and don't find any path to start understanding
internationalization and localization in OpenBSD ... if there is
such a path?

-- 
Jack J. Woehr
Director of Development
Absolute Performance, Inc.
[EMAIL PROTECTED]
303-443-7000 ext. 527



Re: i18n/l10n

2006-11-06 Thread Jack J. Woehr
Thanks for the update!

On Nov 6, 2006, at 1:35 PM, Marc Espie wrote:

> On Mon, Nov 06, 2006 at 12:56:29PM -0700, Jack J. Woehr wrote:
>> Looked in the FAQ and don't find any path to start understanding
>> internationalization and localization in OpenBSD ... if there is
>> such a path?
>>
> Nope, there isn't. For one good reason: it's still work in progress.

-- 
Jack J. Woehr
Director of Development
Absolute Performance, Inc.
[EMAIL PROTECTED]
303-443-7000 ext. 527



Re: AMD X2: Dell E521 or others?

2006-11-06 Thread Marco Peereboom
I have one of those.  There is an issue with ohci that needs to be worked out
but it works with it disabled.  I enabled the on-board NIC for amd64 so you
should be good there too.

On Mon, Nov 06, 2006 at 08:12:12AM -0800, Claus Assmann wrote:
> Is anyone running OpenBSD on a Dell E521 machine (it seems to use
> an "NForce 430" chipset) with AMD X2?  I'm looking for new computer
> with a dual core CPU for some performance testing (no "multimedia"
> stuff needed, some "cheap" machine will be sufficient). I also would
> like to run SunOS 5.10 on it, please let me know whether you have
> a machine with an AMD X2 and both of these OS run on it. TIA!



Re: i18n/l10n

2006-11-06 Thread Marc Espie
On Mon, Nov 06, 2006 at 12:56:29PM -0700, Jack J. Woehr wrote:
> Looked in the FAQ and don't find any path to start understanding
> internationalization and localization in OpenBSD ... if there is
> such a path?
> 
Nope, there isn't. For one good reason: it's still work in progress.
The integration of i18n mechanisms is not finished, we do not have
the widechars to multibyte code yet (just stubs for it).

As it is, it is enough to have partial support in places that matter,
and thus a lot of `new ports' compile... most of the i18n stuff comes
from 3rd party apps for now (perl, gtk, qt come to mind).

There is very little sense in documenting it until it is more usable.

Hopefully, the situation will improve.



i18n/l10n

2006-11-06 Thread Jack J. Woehr
Looked in the FAQ and don't find any path to start understanding
internationalization and localization in OpenBSD ... if there is
such a path?

-- 
Jack J. Woehr
Director of Development
Absolute Performance, Inc.
[EMAIL PROTECTED]
303-443-7000 ext. 527



Re: Option 3G+ UMTS HSDPA on Soekris 4521 not attaching

2006-11-06 Thread Matt Hamilton

Alexander Lind wrote:

wild guess; maybe the drivers for it are not included in the default
kernel, so you may have to roll your own kernel with the necessary
drivers enabled?


Well, I'm guessing it is the ubsa driver, as with the rest of the Option 
Globetrotter cards.  And this is in GENERIC by default as far as I can see.


-Matt

--
Matt Hamilton   [EMAIL PROTECTED]
Netsight Internet Solutions, Ltd.Business Vision on the Internet
http://www.netsight.co.uk +44 (0)117 9090901
Web Design | Zope/Plone Development & Consulting | Co-location | Hosting



Re: Option 3G+ UMTS HSDPA on Soekris 4521 not attaching

2006-11-06 Thread Alexander Lind
wild guess; maybe the drivers for it are not included in the default
kernel, so you may have to roll your own kernel with the necessary
drivers enabled?

alec

Matt Hamilton wrote:
> Hi All,
>   I've just installed a -current snapshop (the day before 4.0 release,
> sods law) onto a Soekris 4521 board.  It is booting and running off a
> 512MB flash card.  I just signed up for T-Mobile's (UK) flat rate 3G
> data service, which came with an Option Globetrotter card.  The card
> is detected as shown below.  It is a T-mobile branded card, but on the
> back the model is a Option GT Fusion+.
>
> From what I can read there seem to be quite a variety of 'Option
> Globetrotter' cards out there, so not sure if mine is really
> supported, but the fact it is detected makes me think it must be.  I'm
> aware the WLAN driver (Marvell) might not work, but I just want to get
> the 3G bit going.  As you can see from the dmesg below, whilst it
> seems to be detected it is not attached to usbcom.
>
> Any Ideas?  Let me know if you need any more info.
>
> -Matt
>
> OpenBSD 4.0-current (GENERIC) #1187: Mon Oct 30 16:48:50 MST 2006
> [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: AMD Am486DX4 W/B or Am5x86 W/B 150 ("AuthenticAMD" 486-class)
> cpu0: FPU
> real mem  = 66678784 (65116K)
> avail mem = 52580352 (51348K)
> using 844 buffers containing 3457024 bytes (3376K) of memory
> mainbus0 (root)
> bios0 at mainbus0: AT/286+(00) BIOS, date 20/50/27, 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 #2 is the last bus
> bios0: ROM list: 0xc8000/0x9000
> cpu0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> elansc0 at pci0 dev 0 function 0 "AMD ElanSC520 PCI" rev 0x00: product
> 0 stepping 1.1, CPU clock 133MHz, reset 0
> gpio0 at elansc0: 32 pins
> cbb0 at pci0 dev 17 function 0 "TI PCI1420 CardBus" rev 0x00: irq 10
> cbb1 at pci0 dev 17 function 1 "TI PCI1420 CardBus" rev 0x00: irq 10
> sis0 at pci0 dev 18 function 0 "NS DP83815 10/100" rev 0x00, DP83816A:
> irq 11, address 00:00:24:c7:2b:24
> nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
> sis1 at pci0 dev 19 function 0 "NS DP83815 10/100" rev 0x00, DP83816A:
> irq 5, address 00:00:24:c7:2b:25
> nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
> cardslot0 at cbb0 slot 0 flags 0
> cardbus0 at cardslot0: bus 1 device 0 cacheline 0x10, lattimer 0x3f
> pcmcia0 at cardslot0
> cardslot1 at cbb1 slot 1 flags 0
> cardbus1 at cardslot1: bus 2 device 0 cacheline 0x10, lattimer 0x3f
> pcmcia1 at cardslot1
> isa0 at mainbus0
> 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
> wdc0 at isa0 port 0x1f0/8 irq 14
> wd0 at wdc0 channel 0 drive 0: 
> wd0: 1-sector PIO, LBA, 488MB, 1000944 sectors
> wd0(wdc0:0:0): using BIOS timings
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: 
> spkr0 at pcppi0
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pccom0: console
> pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> biomask f7c5 netmask ffe5 ttymask ffe7
> pctr: no performance counters in CPU
> "Marvell Libertas 88W8335" rev 0x43 at cardbus1 dev 0 function 0 not
> configured
> vendor "Marvell", unknown product 0x1fb7 (class network subclass
> ethernet, rev 0x43) at cardbus1 dev 0 function 1 not configured
> "Option 3G+ UMTS HSDPA (F32)" rev 0x00 at cardbus1 dev 0 function 2
> not configured
> unknown vendor 0x product 0x (class prehistoric subclass
> miscellaneous, rev 0x00) at cardbus1 dev 0 function 3 not configured
> unknown vendor 0x product 0x (class prehistoric subclass
> miscellaneous, rev 0x00) at cardbus1 dev 0 function 6 not configured
> unknown vendor 0x product 0x (class prehistoric subclass
> miscellaneous, rev 0x00) at cardbus1 dev 0 function 7 not configured
> dkcsum: wd0 matches BIOS drive 0x80
> root on wd0a
> rootdev=0x0 rrootdev=0x300 rawdev=0x302



Option 3G+ UMTS HSDPA on Soekris 4521 not attaching

2006-11-06 Thread Matt Hamilton

Hi All,
  I've just installed a -current snapshop (the day before 4.0 release, 
sods law) onto a Soekris 4521 board.  It is booting and running off a 
512MB flash card.  I just signed up for T-Mobile's (UK) flat rate 3G 
data service, which came with an Option Globetrotter card.  The card is 
detected as shown below.  It is a T-mobile branded card, but on the back 
the model is a Option GT Fusion+.


From what I can read there seem to be quite a variety of 'Option 
Globetrotter' cards out there, so not sure if mine is really supported, 
but the fact it is detected makes me think it must be.  I'm aware the 
WLAN driver (Marvell) might not work, but I just want to get the 3G bit 
going.  As you can see from the dmesg below, whilst it seems to be 
detected it is not attached to usbcom.


Any Ideas?  Let me know if you need any more info.

-Matt

OpenBSD 4.0-current (GENERIC) #1187: Mon Oct 30 16:48:50 MST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Am486DX4 W/B or Am5x86 W/B 150 ("AuthenticAMD" 486-class)
cpu0: FPU
real mem  = 66678784 (65116K)
avail mem = 52580352 (51348K)
using 844 buffers containing 3457024 bytes (3376K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 20/50/27, 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 #2 is the last bus
bios0: ROM list: 0xc8000/0x9000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
elansc0 at pci0 dev 0 function 0 "AMD ElanSC520 PCI" rev 0x00: product 0 
stepping 1.1, CPU clock 133MHz, reset 0

gpio0 at elansc0: 32 pins
cbb0 at pci0 dev 17 function 0 "TI PCI1420 CardBus" rev 0x00: irq 10
cbb1 at pci0 dev 17 function 1 "TI PCI1420 CardBus" rev 0x00: irq 10
sis0 at pci0 dev 18 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: 
irq 11, address 00:00:24:c7:2b:24

nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 19 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: 
irq 5, address 00:00:24:c7:2b:25

nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 1 device 0 cacheline 0x10, lattimer 0x3f
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 2 device 0 cacheline 0x10, lattimer 0x3f
pcmcia1 at cardslot1
isa0 at mainbus0
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
wdc0 at isa0 port 0x1f0/8 irq 14
wd0 at wdc0 channel 0 drive 0: 
wd0: 1-sector PIO, LBA, 488MB, 1000944 sectors
wd0(wdc0:0:0): using BIOS timings
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
biomask f7c5 netmask ffe5 ttymask ffe7
pctr: no performance counters in CPU
"Marvell Libertas 88W8335" rev 0x43 at cardbus1 dev 0 function 0 not 
configured
vendor "Marvell", unknown product 0x1fb7 (class network subclass 
ethernet, rev 0x43) at cardbus1 dev 0 function 1 not configured
"Option 3G+ UMTS HSDPA (F32)" rev 0x00 at cardbus1 dev 0 function 2 not 
configured
unknown vendor 0x product 0x (class prehistoric subclass 
miscellaneous, rev 0x00) at cardbus1 dev 0 function 3 not configured
unknown vendor 0x product 0x (class prehistoric subclass 
miscellaneous, rev 0x00) at cardbus1 dev 0 function 6 not configured
unknown vendor 0x product 0x (class prehistoric subclass 
miscellaneous, rev 0x00) at cardbus1 dev 0 function 7 not configured

dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302


--
Matt Hamilton   [EMAIL PROTECTED]
Netsight Internet Solutions, Ltd.Business Vision on the Internet
http://www.netsight.co.uk +44 (0)117 9090901
Web Design | Zope/Plone Development & Consulting | Co-location | Hosting



OpenBSD 4.0 CDs

2006-11-06 Thread Gustavo Rios

Hey list members,

i have just received my 4.0 CD Set! I am trying to install it on a
third HD i have in my computer. The problem i am facing is that the
i386 CD cannot be "seen" by the CD DRIVE. It looks like there is no CD
in the disc drive. After i insert it, i see some "beeps" in fixed
interval of time. Theses beeps occur abuot 3 to 4 times. I tried
booting the already installed openbsd and mount, but what i get is:

$ su -
Password:
Terminal type? [xterm]
# mount /cdr
mount_cd9660: /dev/cd0a on /cdr: Operation not supported by device
# exit
$

I trying reading it on my Windows XP, nothing is showed for drive D:,
just like if there was no CD inside.

Of course, what i need is just before any OS is booted, i.e., i would
like to boot the CD for a brand new installation.

Thanks in advance.

PS: Of course, i am doing all that on the same hardware: Dell
Precision Workstation 370

Here is my dmesg:
OpenBSD 3.9-stable (GENERIC) #1: Mon Nov  6 16:13:12 BRST 2006
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
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,CF
LUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,CNXT-ID
real mem  = 534925312 (522388K)
avail mem = 481079296 (469804K)
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)
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfeb00/224 (12 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801FB LPC" rev 0x00)
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 82925X MCH Host" rev 0x04
ppb0 at pci0 dev 1 function 0 "Intel 82925X PCIE" rev 0x04
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "NVIDIA Quadro FX 330" rev 0xa2
wsdisplay0 at vga1 mux 1: 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, 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, 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, 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, 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
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
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
auich0 at pci0 dev 30 function 2 "Intel 82801FB AC97" rev 0x03: irq 10, ICH6 AC9
7
ac97: codec id 0x41445370 (Analog Devices AD1980)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801FB LPC" rev 0x03: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801FB IDE" rev 0x03: DMA, channel 0 c
onfigured 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:  SCSI0 5/cdrom rem
ovable
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
configured to native-PCI, channel 1 configured to native-PCI
pciide1: using irq 5 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 76293MB, 15625 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1 at pciide1 channel 1 drive 0: 
wd1: 16-sector PIO, LBA, 76293MB, 15625 sectors
wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x03: SMI
iic0 at ichiic0
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port

Re: Status of hardware encryption accelerators - wetblanket

2006-11-06 Thread Dag Richards

Andreas Bihlmaier wrote:

On Mon, Nov 06, 2006 at 09:49:07AM -0700, Darrin Chandler wrote:

Greg Mortensen wrote:

On Sun, 5 Nov 2006, Darrin Chandler wrote:


Can you say what the "irrelevant" i386 machine is? Lots of difference
between a 90MHz PentiumI and a 3GHz Opteron, and I'd like to know where
those numbers fit in.
 The i386 results were sent to me off-list, so I don't know the 
processor details. "It's fast" will have to suffice.  To put it in 
perspective, my fastest Intel systems report:


Xeon 3.00GHz
aes-128-cbc  56117.94k  59781.24k  62908.69k  63702.29k  63485.95k

Xeon 3.40GHz
aes-128-cbc  64935.33k  71725.72k  74294.15k  75431.37k  75419.89k

My fastest:
cpu0: AMD Opteron(tm) Processor 246, 1994.63 MHz
cpu1: AMD Opteron(tm) Processor 246, 1994.32 MHz
type 16 bytes   64 bytes   256 bytes   1024 bytes   8192 bytes
aes-128-cbc  80713.16k  87876.85k   91431.72k92622.31k92688.52k

While that's *more* than fast enough for common tasks, the SBC + VIA 
PadlockACE numbers you gave whip the pants off it for anything > 16 bytes.


Well, you should also consider bytes/watt :)
type 16 bytes 64 bytes256 bytes   1024 bytes   8192 bytes
aes-128-cbc  48246.54k   175071.41k   472434.09k   788228.58k   980033.81k

OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006
[EMAIL PROTECTED]:/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,EST,TM2

Regards,
ahb



Those are very impressive numbers.
What are you getting through these gateways?
What is the net usable throughput client PCs on either end are able to 
exchange over the VPN?




Re: Status of hardware encryption accelerators

2006-11-06 Thread Andreas Bihlmaier
On Mon, Nov 06, 2006 at 09:49:07AM -0700, Darrin Chandler wrote:
> Greg Mortensen wrote:
> >On Sun, 5 Nov 2006, Darrin Chandler wrote:
> >
> >>Can you say what the "irrelevant" i386 machine is? Lots of difference
> >>between a 90MHz PentiumI and a 3GHz Opteron, and I'd like to know where
> >>those numbers fit in.
> >
> >  The i386 results were sent to me off-list, so I don't know the 
> >processor details. "It's fast" will have to suffice.  To put it in 
> >perspective, my fastest Intel systems report:
> >
> >Xeon 3.00GHz
> >aes-128-cbc  56117.94k  59781.24k  62908.69k  63702.29k  63485.95k
> >
> >Xeon 3.40GHz
> >aes-128-cbc  64935.33k  71725.72k  74294.15k  75431.37k  75419.89k
> 
> My fastest:
> cpu0: AMD Opteron(tm) Processor 246, 1994.63 MHz
> cpu1: AMD Opteron(tm) Processor 246, 1994.32 MHz
> type 16 bytes   64 bytes   256 bytes   1024 bytes   8192 bytes
> aes-128-cbc  80713.16k  87876.85k   91431.72k92622.31k92688.52k
> 
> While that's *more* than fast enough for common tasks, the SBC + VIA 
> PadlockACE numbers you gave whip the pants off it for anything > 16 bytes.

Well, you should also consider bytes/watt :)
type 16 bytes 64 bytes256 bytes   1024 bytes   8192 bytes
aes-128-cbc  48246.54k   175071.41k   472434.09k   788228.58k   980033.81k

OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006
[EMAIL PROTECTED]:/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,EST,TM2

Regards,
ahb



Re: Status of hardware encryption accelerators

2006-11-06 Thread Darrin Chandler

Greg Mortensen wrote:

On Sun, 5 Nov 2006, Darrin Chandler wrote:


Can you say what the "irrelevant" i386 machine is? Lots of difference
between a 90MHz PentiumI and a 3GHz Opteron, and I'd like to know where
those numbers fit in.


  The i386 results were sent to me off-list, so I don't know the 
processor details. "It's fast" will have to suffice.  To put it in 
perspective, my fastest Intel systems report:


Xeon 3.00GHz
aes-128-cbc  56117.94k  59781.24k  62908.69k  63702.29k  63485.95k

Xeon 3.40GHz
aes-128-cbc  64935.33k  71725.72k  74294.15k  75431.37k  75419.89k


My fastest:
cpu0: AMD Opteron(tm) Processor 246, 1994.63 MHz
cpu1: AMD Opteron(tm) Processor 246, 1994.32 MHz
type 16 bytes   64 bytes   256 bytes   1024 bytes   8192 bytes
aes-128-cbc  80713.16k  87876.85k   91431.72k92622.31k92688.52k

While that's *more* than fast enough for common tasks, the SBC + VIA 
PadlockACE numbers you gave whip the pants off it for anything > 16 bytes.


--
Darrin Chandler|  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |



Re: Nintendo Wifi Connector and Nintendo DS (WEP)

2006-11-06 Thread Jeff Quast

On 11/3/06, Sam Fourman Jr. <[EMAIL PROTECTED]> wrote:

I guess i was mistaken , I had thought that the OpenBSD support for armish
http://www.openbsd.org/armish.html

would also include devices like the Nintendo DS



I think the DS is too armmy for armish.



Sam Fourman Jr.




AMD X2: Dell E521 or others?

2006-11-06 Thread Claus Assmann
Is anyone running OpenBSD on a Dell E521 machine (it seems to use
an "NForce 430" chipset) with AMD X2?  I'm looking for new computer
with a dual core CPU for some performance testing (no "multimedia"
stuff needed, some "cheap" machine will be sufficient). I also would
like to run SunOS 5.10 on it, please let me know whether you have
a machine with an AMD X2 and both of these OS run on it. TIA!



Re: Status of hardware encryption accelerators

2006-11-06 Thread Andy Hayward

Machine 1:
cpu0: AMD Athlon(TM) XP 2500+ ("AuthenticAMD" 686-class) 1.83 GHz

type 16 bytes 64 bytes256 bytes   1024 bytes   8192 bytes
aes-128-cbc  27752.30k30348.75k31400.62k31634.09k31639.75k

Machine 2:
cpu0: AMD Athlon(TM) XP 2600+ ("AuthenticAMD" 686-class, 512KB L2
cache) 1.91 GHz
ubsec0 at pci0 dev 11 function 0 "Broadcom 5805" rev 0x01: 3DES MD5
SHA1 RNG PK, irq 3

type 16 bytes 64 bytes256 bytes   1024 bytes   8192 bytes
aes-128-cbc  53267.77k65862.29k70738.31k72143.81k72609.77k

-- ach



Re: I would like to replace my Cisco 7513 with a OpenBSD router...

2006-11-06 Thread Henning Brauer
* Cris Harrison <[EMAIL PROTECTED]> [2006-11-06 00:36]:
> Hi gang
> I think that I have a problem
> 1. my cisco 7513 makes my electric bill glow!
> I am  bring two (2) DSL lines to my 7513 and with a little cisco magic on
> both end (ip load-sharing per packet) (people  also call this bonding)
> 
> port # 0.1   net { bridge #1 216.90.150.70   255.255.255.252 } ip
> load-sharing per packet
> port # 0.2   net { bridge #2 216.90.150.118 255.255.255.252 } ip
> load-sharing per packet
> port # 1.0   net {216.90.150.118 255.255.255.252
> 
> so I end up with fatter pipe...
> :}
> 
> all of my servers are sun ultra1 and ultra2
> I just got hit with a 'SRLOAD' root kit
> 
> can I end up with this map with openBSD 4.0?
> 
> hfe0 216.90.150.70   255.255.255.252 ip load-sharing per packet
> hfe1 216.90.150.118 255.255.255.252 ip load-sharing per packet
> hfe2 10.10.10.1
> hfe3 216.90.150.118 255.255.255.252
> 
> hfe0 & 1 are dsl lines...
> firewall with pf
> and out on hfe3

this is supposed to work with multipath load-sharing routes from 4.0 on

-- 
Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg & Amsterdam



Re: OpenBSD 4.0 NET-SNMP - UCD Broken?

2006-11-06 Thread Antoine Jacoutot
Selon "Timothy A. Napthali" <[EMAIL PROTECTED]>:
> Does anyone know if something happened to OpenBSD 4.0 or the net-snmp
> package for OpenBSD 4.0? I've just installed both on a new box and SNMP
> UCD objects are broken; they seem to be missing?

http://www.openbsd.org/pkg-stable.html
http://www.openbsd.org/cgi-bin/cvsweb/ports/net/net-snmp/?only_with_tag=OPENBSD_4_0



Re: building kernel for new release in previous stable system

2006-11-06 Thread Jason Murray
Thanks. Things usually go so smoothly that we're all a bit spoiled. Even 
when we don't do things in the "supported" fashion.


I did the gcc upgrade, compiled some new kernels, and I now have nice 
shiny 4.0 install with RAIDframe.


Joachim Schipper wrote:

Read http://www.openbsd.org/faq/upgrade-old.html#20060727, the guide on
upgrading from 3.9 to 4.0.




I would like to replace my Cisco 7513 with a OpenBSD router...

2006-11-06 Thread Cris Harrison
Hi gang
I think that I have a problem
1. my cisco 7513 makes my electric bill glow!
I am  bring two (2) DSL lines to my 7513 and with a little cisco magic on
both end (ip load-sharing per packet) (people  also call this bonding)

port # 0.1   net { bridge #1 216.90.150.70   255.255.255.252 } ip
load-sharing per packet
port # 0.2   net { bridge #2 216.90.150.118 255.255.255.252 } ip
load-sharing per packet
port # 1.0   net { 216.90.150.118 255.255.255.252

so I end up with fatter pipe...
:}

all of my servers are sun ultra1 and ultra2
I just got hit with a 'SRLOAD' root kit

can I end up with this map with openBSD 4.0?

hfe0 216.90.150.70   255.255.255.252 ip load-sharing per packet
hfe1 216.90.150.118 255.255.255.252 ip load-sharing per packet
hfe2 10.10.10.1
hfe3 216.90.150.118 255.255.255.252

hfe0 & 1 are dsl lines...
firewall with pf
and out on hfe3

Thanks
Cris Harrison



Re: Status of hardware encryption accelerators

2006-11-06 Thread Greg Mortensen

On Sun, 5 Nov 2006, Darrin Chandler wrote:


Can you say what the "irrelevant" i386 machine is? Lots of difference
between a 90MHz PentiumI and a 3GHz Opteron, and I'd like to know where
those numbers fit in.


  The i386 results were sent to me off-list, so I don't know the 
processor details. "It's fast" will have to suffice.  To put it in 
perspective, my fastest Intel systems report:


Xeon 3.00GHz
aes-128-cbc  56117.94k  59781.24k  62908.69k  63702.29k  63485.95k

Xeon 3.40GHz
aes-128-cbc  64935.33k  71725.72k  74294.15k  75431.37k  75419.89k

  Regards,
Greg

 \|/   ___   \|/[EMAIL PROTECTED]+- 2048R/38BD6CAB -+
  @~./'O o`\.~@| 02BD EF81 91B3 1B33 64C2 |
 /__( \___/ )__\   | 3247 6722 7006 38BD 6CAB |
`\__`U_/'  +--+



OpenBSD 4.0 NET-SNMP - UCD Broken?

2006-11-06 Thread Timothy A. Napthali
Does anyone know if something happened to OpenBSD 4.0 or the net-snmp
package for OpenBSD 4.0? I've just installed both on a new box and SNMP
UCD objects are broken; they seem to be missing?



Re: How much traffic can it route?

2006-11-06 Thread Henning Brauer
* Der Engel <[EMAIL PROTECTED]> [2006-11-03 21:46]:
> I have a doubt about if OpenBSD/PF can NAT 40Mbits with a simple rule
> set and like 60 redirects.
> The box has a xeon proc and two integrated NICs, one fxp and a bge,
> can it handle it?

yeah, but what do you want it to do for lunch?

-- 
Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg & Amsterdam



Re: building kernel for new release in previous stable system

2006-11-06 Thread Henning Brauer
* Pierre-Yves Ritschard <[EMAIL PROTECTED]> [2006-11-03 11:59]:
> * Stuart Henderson ([EMAIL PROTECTED]) wrote:
> > On 2006/11/03 11:34, Pierre-Yves Ritschard wrote:
> > > Another solution would  be, once 4.1 gets out to unpack the  base41.tgz,
> > > etc41.tgz and comp41.tgz into /usr/somewhere then unpack or checkout
> > > using cvs the 4.1 kernel sources in there as well.
> > 
> > Nice idea, and it works sometimes, but only when the new binaries run
> > on your old kernel, which isn't guaranteed (see the 'reboot on a new
> > kernel' warnings in release(8) and the 'without install media' upgrade
> > documentation).
> > 
> Yeah, I should have mentionned that.
> In the case of building a kernel it should work since cc has a great
> chance of still running on the new kernel (except for things like
> switching from a.out to elf or the like).

or adding a fundamental syscall a lot of apps use (through libc or 
similar) - like the in-kernel getcwd lately...

-- 
Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg & Amsterdam



Re: kde keyboard problem on powerbook G4/400

2006-11-06 Thread Chris Bergmann

On 06/11/2006, at 23:27 , Miod Vallat wrote:



You don't happen to use xdm (or kdm) to log in in X11, and have getty
running on ttyC0, do you?



Awesome! That's much better :-)

Not only does the keyboard work, but kdm also starts on boot.

Much obliged,

chris



Re: kde keyboard problem on powerbook G4/400

2006-11-06 Thread Miod Vallat

I'm trying to set up a standard Powerbook G4 / 400 with OpenBSD 4.0.

There seem to be a few issues with the keyboard support within KDE. I 
 expect that this is just a simple configuration error on my part, 
but  I haven't found any reference to this elsewhere. The symptoms 
are as  follows:


[...]

You don't happen to use xdm (or kdm) to log in in X11, and have getty
running on ttyC0, do you?

Miod



pf.conf + altq more problem..

2006-11-06 Thread Reza Muhammad
Dear All.

I start with the simple rule set in my pf bridge
machine to limit
bandwidth 3Mbps  from my server on lan to internet and
from internet to
my server on lan 

my_server_on_lan="172.16.0.228"
internet="202.x.x.x"
lan = "172.16.0.0/16"
altq on xl1 bandwidth 100% cbq queue \
{int_out,dflt_out}
queue int_out   bandwidth 3Mb
queue dflt_out  bandwidth  16Kb cbq (default)

altq on xl2 bandwidth 100% cbq queue {int_in,dflt_in}

queue int_inbandwidth   3Mb
queue dflt_in   bandwidth  16Kb cbq (default)

pass in on xl1  from any to $lan
pass out on xl1 from $lan to any

pass out  on xl1 from $my_server_on_lan to $internet \
keep state queue
(int_out)

pass in on xl2 from $lan to any keep state
pass out on xl2  from any to $lan  keep state

pass  out  on xl2 from $internet to $my_server_on_lan
\ keep state queue
(int_in)

I have done some test with iperf with no luck.
Is there something wrong with this rule set to
acompilished my need ?
Please help..

regards
Reza




 

Access over 1 million songs - Yahoo! Music Unlimited 
(http://music.yahoo.com/unlimited)



kde keyboard problem on powerbook G4/400

2006-11-06 Thread Chris Bergmann

I'm trying to set up a standard Powerbook G4 / 400 with OpenBSD 4.0.

There seem to be a few issues with the keyboard support within KDE. I  
expect that this is just a simple configuration error on my part, but  
I haven't found any reference to this elsewhere. The symptoms are as  
follows:


* Sometimes keys will "stick" when pressed down. This often happens  
with the arrow keys when I'm scrolling in Konqueror, and I'm often  
not able to fix it short of a reboot. I've also had it happen with  
other keys (return) and even complete key sequences (alt-tab, etc.)


* Some character keys will start to respond to key-up instead of key- 
down. This generally means that characters I type will end up out-of- 
order because some are responding to the key-downs, and others are  
responding to the key-ups.


* As far as I can tell, this problem does not occur in the console  
(outside of X.)


Has anyone met this behaviour before? I'm kind of stumped as to how  
to proceed with this one.


chris



Re: [4.0] apmd on toshiba satellite A30

2006-11-06 Thread Marco Peereboom
Might have to do with the fact that there is no apm device on your 
machine.  This is an acpi exclusive machine.  Acpi is under active 
development so stay tuned.


atstake atstake wrote:

I am running OBSD 4.0-release (i386) on Toshiba Satellite A30.
I started apmd and here's my ps output

root 10023  0.0  0.1   240   316 ??  Ss 5:57AM0:00.00 apmd

But when I do "apm" it says

Battery state: unknown, 0% remaining, unknown life estimate
A/C adapter state: not known
Performance adjustment mode: manual (3200 MHz)

Also, "halt -p" doesn't work and I need to hard-shutdown. I got 
powerdown=YES

in /etc/rc.shutdown.

Here's my dmesg -

OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Mobile Intel(R) Pentium(R) 4 CPU 3.20GHz ("GenuineIntel"
686-class) 3.21 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,CNXT-ID 


real mem  = 468676608 (457692K)
avail mem = 419454976 (409624K)
using 4256 buffers containing 23535616 bytes (22984K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(4a) BIOS, date 04/07/05, BIOS32 rev. 0 @
0xfd700, SMBIOS rev. 2.31 @ 0xd6010 (31 entries)
bios0: TOSHIBA Satellite A30
pcibios0 at bios0: rev 2.1 @ 0xfd700/0x900
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf00/224 (12 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x1002 product 0x434c
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc/0xf000 0xd/0x6000! 0xd6000/0x800! 
0xd8000/0x1000

cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "ATI RS300_133 Host" rev 0x02
ppb0 at pci0 dev 1 function 0 "ATI Radeon IGP 9100 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 "ATI Radeon Mobility IGP 9100" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ohci0 at pci0 dev 19 function 0 "ATI SB200 USB" rev 0x01: irq 11,
version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: ATI OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 19 function 1 "ATI SB200 USB" rev 0x01: irq 11,
version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: ATI OHCI root hub, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ehci0 at pci0 dev 19 function 2 "ATI SB200 USB2" rev 0x01: irq 11
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: ATI EHCI root hub, rev 2.00/1.00, addr 1
uhub2: 6 ports with 6 removable, self powered
piixpm0 at pci0 dev 20 function 0 "ATI SB200 SMBus" rev 0x17: SMI
iic0 at piixpm0
pciide0 at pci0 dev 20 function 1 "ATI IXP200 IDE" rev 0x00: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA, 57231MB, 117210240 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pcib0 at pci0 dev 20 function 3 "ATI SB200 PCI-ISA" rev 0x00
ppb1 at pci0 dev 20 function 4 "ATI SB200 PCI-PCI" rev 0x00
pci2 at ppb1 bus 2
"TI TSB43AB21 FireWire" rev 0x00 at pci2 dev 0 function 0 not configured
ath0 at pci2 dev 2 function 0 "Atheros AR5212" rev 0x01: irq 11
ath0: AR5213 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, WOR4W, address 
00:90:96:72:4d:f1

rl0 at pci2 dev 3 function 0 "Realtek 8139" rev 0x10: irq 11, address
00:02:3f:d3:3a:7b
rlphy0 at rl0 phy 0: RTL internal PHY
cbb0 at pci2 dev 4 function 0 "ENE CB-1410 CardBus" rev 0x01: irq 11
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0x20
pcmcia0 at cardslot0
auixp0 at pci0 dev 20 function 5 "ATI IXP200 AC97" rev 0x00: irq 11
auixp0: soft resetting aclink
auixp0: not up; resetting aclink hardware
auixp0: not up; resetting aclink hardware
auixp0: aclink hardware reset successful
"ATI IXP200 Modem" rev 0x01 at pci0 dev 20 function 6 not configured
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
biomask ef75 netmask ef75 ttymask fff7
pctr: user-level cycle counter enabled
ath1 at cardbus0 dev 0 function 0 "Atheros Communications, Inc.,
AR5001--, Wireless LAN Reference Card": irq 11
ath1: AR5213 7.9 phy 4.5 rf2112a 5.6: RF radio not supported
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
ac97: codec

Re: Bug in dd?

2006-11-06 Thread Otto Moerbeek
On Mon, 6 Nov 2006, Karel Kulhavy wrote:

> The behaviour of dd on OpenBSD 3.9 is noncompliant to it's own OpenBSD 
> manpage:
> 
> OpenBSD:
> [EMAIL PROTECTED]:~$ dd bs=1 skip=2 
> 1234
> 1234
> 5+0 records in
> 5+0 records out
> 5 bytes transferred in 1.764 secs (3 bytes/sec)
> 
> Linux:
> [EMAIL PROTECTED] ~ $ dd bs=1 skip=2
> 1234
> 34
> 3+0 records in
> 3+0 records out
> 3 bytes (3 B) copied, 1.71841 seconds, 0.0 kB/s

Seeking a tty does not fail, but does not position the stream as well.

This fixes it. Note that echo "1234" | dd bs=1 skip=2 already works fine.

-Otto

Index: position.c
===
RCS file: /cvs/src/bin/dd/position.c,v
retrieving revision 1.7
diff -u -p -r1.7 position.c
--- position.c  11 Jun 2003 23:42:12 -  1.7
+++ position.c  6 Nov 2006 12:07:54 -
@@ -71,7 +71,7 @@ pos_in(void)
int warned;
 
/* If not a pipe or tape device, try to seek on it. */
-   if (!(in.flags & (ISPIPE|ISTAPE))) {
+   if (!(in.flags & (ISPIPE|ISTAPE|ISCHR))) {
if (lseek(in.fd, in.offset * in.dbsz, SEEK_CUR) == -1)
err(1, "%s", in.name);
return;



Bug in dd?

2006-11-06 Thread Karel Kulhavy
The behaviour of dd on OpenBSD 3.9 is noncompliant to it's own OpenBSD manpage:

OpenBSD:
[EMAIL PROTECTED]:~$ dd bs=1 skip=2 
1234
1234
5+0 records in
5+0 records out
5 bytes transferred in 1.764 secs (3 bytes/sec)

Linux:
[EMAIL PROTECTED] ~ $ dd bs=1 skip=2
1234
34
3+0 records in
3+0 records out
3 bytes (3 B) copied, 1.71841 seconds, 0.0 kB/s

Excerpt from OpenBSD dd manpage:

 skip=n   Skip n blocks from the beginning of the input before copying.
  On input which supports seeks, an lseek(2) operation is used.
  Otherwise, input data is read and discarded.  For pipes, the
  correct number of bytes is read.  For all other devices, the
  correct number of blocks is read without distinguishing between
  a partial or complete block being read.

 bs=n Set both the input and output block size to n bytes, superseding
  the ibs and obs operands.  If no conversion values other than
  noerror, notrunc, or sync are specified, then each input block
  is copied to the output as a single block without any aggrega-
  tion of short blocks.

 if=file  Read input from file instead of the standard input.

 of=file  Write output to file instead of the standard output.  Any regu-
  lar output file is truncated unless the notrunc conversion value
  is specified.  If an initial portion of the output file is
  skipped (see the seek operand), the output file is truncated at
  that point.

STANDARDS
 The dd utility is expected to be a superset of the IEEE Std 1003.2
 (``POSIX.2'') standard.  The files operand and the ascii, ebcdic, ibm,
 oldascii, oldebcdic, and oldibm values are extensions to the POSIX stan-
 dard.

Does the POSIX specify the skip must work? If yes, then dd on OpenBSD 3.9 is
not POSIX compliant.

CL<



Re: bgpd route-reflector setup via media upgrades from 3.9 to 4.0 not working anymore.

2006-11-06 Thread Daniel Ouellet

Daniel Ouellet wrote:

Hi,

I am trying to isolate this issue, but the exact same setup and 
configuration for the 3.9 was working and after the upgrades to 4.0 
without any changes what so ever to the bgpd.conf doesn't work anymore.


All bgp sessions are up as before, all ibgp sessions are up as well, but 
all routers that were configure to use this bgpd as a route-reflector do 
not get the full table anymore, but only the ibgp routers.


Looking in the man page, I don't see a new option that may have impacted 
this, or that should be added to enable it again.


Any clue as to where I should look, or if anything changed between the 
3.9 and 4.0 in regards to route-reflector setup.


So, far I find nothing in this regards.


Here is more details to show the problem.

It should really announce the full routing tables based on the 
configuration below as an example, but it doesn't.


I use real full feeds from a few real peers to show real data and did a 
configuration for testing with the following results below.


Why wouldn't it send the full table as a reflector would?

Any clue as to what I forgot in the new version oppose to 3.9, or is 
this really a bug then? I can't get the reflector to work anymore in 4.0.


Thanks



# bgpctl sh rib memory
RDE memory statistics
198197 IPv4 network entries using 12.1M of memory
227458 prefix entries using 12.1M of memory
 43193 BGP path attribute entries using 4.9M of memory
 38816 BGP AS-PATH attribute entries using 1.5M of memory,
   and holding 43193 references
  3814 BGP attributes entries using 149K of memory
   and holding 138391 references
  3813 BGP attributes using 22.3K of memory
RIB using 30.9M of memory



Showing the count of valid announce routes, only 81 learn from that 
local router bgp sessions


# bgpctl show rib neighbor x.x.x.192 out | grep -c '*>'
81



Simple test configuration:

# global configuration
AS x
router-id x.x.x.199

# Network announcements
network x.x.x.199/32

neighbor x.x.x.192 {
remote-as   x
descr   "Test"
multihop5
local-address   x.x.x.199
holdtime180
holdtime min3
route-reflector
announceall
tcp md5sig password TestOnly
}



==

# bgpctl s s
Neighbor  ASMsgRcvdMsgSentOutQ  Up/Down  State/PrefixRcvd
Test  x   260336 0 00:04:38 57




Re: How to take two screenshots?

2006-11-06 Thread Shane J Pearson

Hi Girish,

On 05/11/2006, at 6:39 PM, Girish Venkatachalam wrote:

   I have setup a multiboot machine with 4 OSes,  
gentoo,NetBSD,OpenBSD(but of course :-) and FreeBSD on a single  
hard disk.


   Now I want to do two things.

   a) Take a screenshot of the grub splash screen at bootup

   b) Take a screenshot of the wdm screen

   Can you guys help out?


You could run a setup like this within VMware Workstation and then  
take screenshots of the VMware window.


You can point VMware at a real raw disk (the one you have already  
installed to), instead of a disk image. If that does not work for  
you, you might have better luck starting from a clean VMware disk  
image and re-installing those OS' within it. Since the VMware machine  
will likely have different hardware.



Shane J Pearson
shanejp netspace net au



Re: Moscow 6-10 December

2006-11-06 Thread Anton Karpov
2006/11/5, Wim Vandeputte <[EMAIL PROTECTED]>:
>
> Hey,
>
> I will be in Moscow in December from the 6th to the 9th and would like
> to meet up with some OpenBSD users, please contact me if you have
> local knowledge, especially if you know of a place called B1 in
> Ordzhonikidze
>
> Wim.



It would be really nice to organise OpenBSD users meeting, if you will have
free time. Will you bring tshirts and CDs? ;)



Some "problems" after first install of 4.0 on HP nx6110

2006-11-06 Thread Tomas Bodzar
Hi all,

I've been installed new 4.0 on my laptop.Looks fine unlike 3.8 and 3.9.

X are running ok.

I use Cable modem Motorola 5100 - with USB connection there is a message
in dmesg - disabling USB port (unrecognized device).Same thing with USB
mouse Genius GM-03003 (touchpad works fine)
If I use LAN port on Motorola 5100 and DHCP during install than DHCP
DISCOVER always fail (but i use default settings so i must play a little
around with it)

LAN in my laptop is Broadcom 440x bce0 and i use dualboot with Win XP
SP2 (I had problem with this card on 3.8 and 3.9 with dualboot,LED's was
off.Now it looks that it can be fine.

So have somebody experience with this Cable modem Motorola 5100?
Soory that I haven't dmesg output,my mistake :-)

Thanks a lot for your answers

Bodie



bgpd route-reflector setup via media upgrades from 3.9 to 4.0 not working anymore.

2006-11-06 Thread Daniel Ouellet

Hi,

I am trying to isolate this issue, but the exact same setup and 
configuration for the 3.9 was working and after the upgrades to 4.0 
without any changes what so ever to the bgpd.conf doesn't work anymore.


All bgp sessions are up as before, all ibgp sessions are up as well, but 
all routers that were configure to use this bgpd as a route-reflector do 
not get the full table anymore, but only the ibgp routers.


Looking in the man page, I don't see a new option that may have impacted 
this, or that should be added to enable it again.


Any clue as to where I should look, or if anything changed between the 
3.9 and 4.0 in regards to route-reflector setup.


So, far I find nothing in this regards.

Best,

Daniel



Re: [3.9] About vfork~

2006-11-06 Thread Otto Moerbeek
On Mon, 6 Nov 2006, Kasicass wrote:

> Hi all,
> 
> I just run the following program in obsd 3.9, but it doesn't work as
> expected. As said that child process created by vfork should run in the
> address space of the parent, until it calls exec/exit.

Not _should_, posix is very clear about that. It warns you not to
depend on those semantics. BTW, I think you swapped your results. 

-Otto

> 
> -
> #include 
> #include 
> #include 
> #include 
> 
> int   glob = 6;   /* external variable in initialized data */
> 
> int
> main(void)
> {
>   int var;/* automatic variable on the stack */
>   pid_t   pid;
> 
> 
>   var = 88;
>   printf("before fork\n");  /* we don't flush stdout */
> 
>   if ( (pid = vfork()) < 0 )
>   ;
>   else if (pid == 0)
>   {   /* child */
>   glob++; /* modify variables */
>   var++;
>   _exit(0);   /* child terminates */
>   }
> 
>   printf("pid = %d, glob = %d, var = %d\n", getpid(), glob, var);
>   exit(0);
> }
> -
> In obsd, result is
> 
> before fork
> pid = xxx, glob = 7, var = 89
> 
> 
> But in Linux 2.6/FreeBSD 5.4-RELEASE, it works fine. The result is
> 
> before fork
> pid = xxx, glob = 7, var = 89
> -
> 
> I've not much time to dig into the kernel code, could anyone give me a
> brief description about why it runs like that.
> 
> Thx a lot.
> 
> 
> -- 
> Best regards#!
> 
> Kasicass/sYcini - Coder
> http://www.sycini.com



Re: [3.9] About vfork~

2006-11-06 Thread Jason Stubbs
On Monday 06 November 2006 17:54, Kasicass wrote:
> Hi all,
>
> I just run the following program in obsd 3.9, but it doesn't work as
> expected. As said that child process created by vfork should run in the
> address space of the parent, until it calls exec/exit.
>
> -
> #include 
> #include 
> #include 
> #include 
>
> int   glob = 6;   /* external variable in initialized data */
>
> int
> main(void)
> {
>   int var;/* automatic variable on the stack */
>   pid_t   pid;
>
>   var = 88;
>   printf("before fork\n");  /* we don't flush stdout */
>
>   if ( (pid = vfork()) < 0 )
>   ;
>   else if (pid == 0)
>   {   /* child */
>   glob++; /* modify variables */
>   var++;
>   _exit(0);   /* child terminates */
>   }
>
>   printf("pid = %d, glob = %d, var = %d\n", getpid(), glob, var);
>   exit(0);
> }
> -
> In obsd, result is
>
> before fork
> pid = xxx, glob = 7, var = 89
>
> But in Linux 2.6/FreeBSD 5.4-RELEASE, it works fine. The result is
>
> before fork
> pid = xxx, glob = 6, var = 88
> -
>
> Could anyone give me a brief description about why it runs like that ?

The following excerpt is taken from the Linux man page for vfork.

   (From  SUSv2  / POSIX draft.)  The vfork() function has the same effect
   as fork(), except that the behaviour is undefined if the  process  cre-
   ated  by vfork() either modifies any data other than a variable of type
   pid_t used to store the return value from vfork(), or returns from  the
   function  in  which  vfork()  was  called,  or calls any other function
   before successfully calling _exit() or one  of  the  exec()  family  of
   functions.

Of note here is "the behaviour is undefined if the process created by vfork()
... modifies any data other than a variable of type pid_t used to store the 
return value from vfork()". I can't answer why OpenBSD differs (although I 
could make some educated guesses) but either implementation is correct if 
going by the above excerpt.

--
Jason Stubbs



[3.9] About vfork~

2006-11-06 Thread Kasicass
Hi all,

I just run the following program in obsd 3.9, but it doesn't work as
expected. As said that child process created by vfork should run in the
address space of the parent, until it calls exec/exit.

-
#include 
#include 
#include 
#include 

int glob = 6;   /* external variable in initialized data */

int
main(void)
{
int var;/* automatic variable on the stack */
pid_t   pid;


var = 88;
printf("before fork\n");  /* we don't flush stdout */

if ( (pid = vfork()) < 0 )
;
else if (pid == 0)
{   /* child */
glob++; /* modify variables */
var++;
_exit(0);   /* child terminates */
}

printf("pid = %d, glob = %d, var = %d\n", getpid(), glob, var);
exit(0);
}
-
In obsd, result is

before fork
pid = xxx, glob = 7, var = 89


But in Linux 2.6/FreeBSD 5.4-RELEASE, it works fine. The result is

before fork
pid = xxx, glob = 7, var = 89
-

I've not much time to dig into the kernel code, could anyone give me a
brief description about why it runs like that.

Thx a lot.


-- 
Best regards#!

Kasicass/sYcini - Coder
http://www.sycini.com



[3.9] About vfork~

2006-11-06 Thread Kasicass
Hi all,

I just run the following program in obsd 3.9, but it doesn't work as
expected. As said that child process created by vfork should run in the
address space of the parent, until it calls exec/exit.

-
#include 
#include 
#include 
#include 

int glob = 6;   /* external variable in initialized data */

int
main(void)
{
int var;/* automatic variable on the stack */
pid_t   pid;


var = 88;
printf("before fork\n");  /* we don't flush stdout */

if ( (pid = vfork()) < 0 )
;
else if (pid == 0)
{   /* child */
glob++; /* modify variables */
var++;
_exit(0);   /* child terminates */
}

printf("pid = %d, glob = %d, var = %d\n", getpid(), glob, var);
exit(0);
}
-
In obsd, result is

before fork
pid = xxx, glob = 7, var = 89


But in Linux 2.6/FreeBSD 5.4-RELEASE, it works fine. The result is

before fork
pid = xxx, glob = 6, var = 88
-

Could anyone give me a brief description about why it runs like that ?

Thx a lot.


-- 
Best regards#!

Kasicass/sYcini - Coder
http://www.sycini.com



Re: [4.0] apmd on toshiba satellite A30

2006-11-06 Thread Wijnand Wiersma

2006/11/6, atstake atstake <[EMAIL PROTECTED]>:

I am running OBSD 4.0-release (i386) on Toshiba Satellite A30.
I started apmd and here's my ps output

root 10023  0.0  0.1   240   316 ??  Ss 5:57AM0:00.00 apmd

But when I do "apm" it says

Battery state: unknown, 0% remaining, unknown life estimate
A/C adapter state: not known
Performance adjustment mode: manual (3200 MHz)

Also, "halt -p" doesn't work and I need to hard-shutdown. I got powerdown=YES
in /etc/rc.shutdown.


I have the same thing, but I try to help with acpi testing.
http://undeadly.org/cgi?action=article&sid=20061012191523

Running -CURRENT with apmd -f /dev/acpi (and some other flags) I get
at least information about the A/C adapter and sometimes a percentage
of the battery state. It is not working ok yet (percentage is wrong),
but it is more then one month ago. Things are improving and if you
like to see more improvements: help with testing at least.

Wijnand



Re: [4.0] apmd on toshiba satellite A30

2006-11-06 Thread Theo de Raadt
> I am running OBSD 4.0-release (i386) on Toshiba Satellite A30.
> I started apmd and here's my ps output
> 
> root 10023  0.0  0.1   240   316 ??  Ss 5:57AM0:00.00 apmd
> 
> But when I do "apm" it says
> 
> Battery state: unknown, 0% remaining, unknown life estimate
> A/C adapter state: not known
> Performance adjustment mode: manual (3200 MHz)
> 
> Also, "halt -p" doesn't work and I need to hard-shutdown. I got powerdown=YES
> in /etc/rc.shutdown.

So what is the problem?  Not everything works on every machine.

There are continual efforts to make things work *better* on many
machines, but I think it should be RATHER OBVIOUS that some machines
can't do these things yet with our code.



[4.0] apmd on toshiba satellite A30

2006-11-06 Thread atstake atstake

I am running OBSD 4.0-release (i386) on Toshiba Satellite A30.
I started apmd and here's my ps output

root 10023  0.0  0.1   240   316 ??  Ss 5:57AM0:00.00 apmd

But when I do "apm" it says

Battery state: unknown, 0% remaining, unknown life estimate
A/C adapter state: not known
Performance adjustment mode: manual (3200 MHz)

Also, "halt -p" doesn't work and I need to hard-shutdown. I got powerdown=YES
in /etc/rc.shutdown.

Here's my dmesg -

OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Mobile Intel(R) Pentium(R) 4 CPU 3.20GHz ("GenuineIntel"
686-class) 3.21 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,CNXT-ID
real mem  = 468676608 (457692K)
avail mem = 419454976 (409624K)
using 4256 buffers containing 23535616 bytes (22984K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(4a) BIOS, date 04/07/05, BIOS32 rev. 0 @
0xfd700, SMBIOS rev. 2.31 @ 0xd6010 (31 entries)
bios0: TOSHIBA Satellite A30
pcibios0 at bios0: rev 2.1 @ 0xfd700/0x900
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf00/224 (12 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x1002 product 0x434c
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc/0xf000 0xd/0x6000! 0xd6000/0x800! 0xd8000/0x1000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "ATI RS300_133 Host" rev 0x02
ppb0 at pci0 dev 1 function 0 "ATI Radeon IGP 9100 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 "ATI Radeon Mobility IGP 9100" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ohci0 at pci0 dev 19 function 0 "ATI SB200 USB" rev 0x01: irq 11,
version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: ATI OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 19 function 1 "ATI SB200 USB" rev 0x01: irq 11,
version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: ATI OHCI root hub, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ehci0 at pci0 dev 19 function 2 "ATI SB200 USB2" rev 0x01: irq 11
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: ATI EHCI root hub, rev 2.00/1.00, addr 1
uhub2: 6 ports with 6 removable, self powered
piixpm0 at pci0 dev 20 function 0 "ATI SB200 SMBus" rev 0x17: SMI
iic0 at piixpm0
pciide0 at pci0 dev 20 function 1 "ATI IXP200 IDE" rev 0x00: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA, 57231MB, 117210240 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pcib0 at pci0 dev 20 function 3 "ATI SB200 PCI-ISA" rev 0x00
ppb1 at pci0 dev 20 function 4 "ATI SB200 PCI-PCI" rev 0x00
pci2 at ppb1 bus 2
"TI TSB43AB21 FireWire" rev 0x00 at pci2 dev 0 function 0 not configured
ath0 at pci2 dev 2 function 0 "Atheros AR5212" rev 0x01: irq 11
ath0: AR5213 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, WOR4W, address 00:90:96:72:4d:f1
rl0 at pci2 dev 3 function 0 "Realtek 8139" rev 0x10: irq 11, address
00:02:3f:d3:3a:7b
rlphy0 at rl0 phy 0: RTL internal PHY
cbb0 at pci2 dev 4 function 0 "ENE CB-1410 CardBus" rev 0x01: irq 11
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0x20
pcmcia0 at cardslot0
auixp0 at pci0 dev 20 function 5 "ATI IXP200 AC97" rev 0x00: irq 11
auixp0: soft resetting aclink
auixp0: not up; resetting aclink hardware
auixp0: not up; resetting aclink hardware
auixp0: aclink hardware reset successful
"ATI IXP200 Modem" rev 0x01 at pci0 dev 20 function 6 not configured
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
biomask ef75 netmask ef75 ttymask fff7
pctr: user-level cycle counter enabled
ath1 at cardbus0 dev 0 function 0 "Atheros Communications, Inc.,
AR5001--, Wireless LAN Reference Card": irq 11
ath1: AR5213 7.9 phy 4.5 rf2112a 5.6: RF radio not supported
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
ac97: codec id 0x414c4740 (Avance Logic ALC202)
ac97: codec features headphone, 20 bit DAC, 18 bit ADC, Realtek 3D
audio0 at auixp0
ath0: device timeout