QUARANTINED: DELIVERY REPORTS ABOUT YOUR E-MAIL

2006-01-31 Thread WorkgroupMail Content Filter
The message "DELIVERY REPORTS ABOUT YOUR E-MAIL" from MAILER-DAEMON, sent on 
2/1/2006 09:37 was quarantined because it contained either an executable file, 
a batch file or a screen saver file. All of these types of attachments are 
considered security risks. Please consult your mail administrator who can 
release the message.



Re: RAIDframe question

2006-01-31 Thread Jurjen Oskam
On Wed, Feb 01, 2006 at 01:19:58AM -0500, Peter wrote:

> raid0: Device already configured!
> "ioctl (RAIDFRAME_CONFIGURE) failed"
> 
> Can anyone lend a hand in this important matter?

Let me guess (since you didn't post any configuration): you
enabled RAID-autoconfiguration by the kernel *and* you 
configure the same RAID-device during the boot sequence using
raidctl?

-- 
Jurjen Oskam



Re: hardware: IBM e326m test results

2006-01-31 Thread Srebrenko Sehic
Damn, talk about "beeing unlucky". My test came 1 day before the new
patch. I started to look into this myself. I guess Brad beat me to it.
Great work, less work for me :)

I'll update the OSCL. Thanks to Daniel as well for testing.

On 2/1/06, Brad <[EMAIL PROTECTED]> wrote:
> Hey, update the bge driver and retest on your IBM e326m.
> You'll see a nice surprise. :)



RAIDframe question

2006-01-31 Thread Peter
I am running 3.8-stable with RAIDframe RAID-1 and two IDE disks (wd0
and wd1).  Everything thing seems to work (parity is good) but when I
boot up I get two messages that worry me:

raid0: Device already configured!
"ioctl (RAIDFRAME_CONFIGURE) failed"

Can anyone lend a hand in this important matter?

There are some more seemingly good raid related messages after that but
the machine is now at a remote location and I do not see any messages
in the output of dmesg (the first line above is the last line from
dmesg).

The tail end of dmesg output is:

Kernelized RAIDframe activated
cd0(atapiscsi0:0:0): Check Condition (error 0x70) on opcode 0x0
SENSE KEY: Not Ready
 ASC/ASCQ: Medium Not Present
raid0 (root): (RAID Level 1) total number of sectors is 48234752 (23552
MB) as root
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
rootdev=0x1300 rrootdev=0x3600 rawdev=0x3602
raid0: Device already configured!

-- 
Peter 



pf+altq+hfsc

2006-01-31 Thread G.Stefan
Where can i find a some good exampels with pf+altq+hfsc or with cbq that works 
givving CIR and MIR.


-- 
Best regards,
 G.Stefan  mailto:[EMAIL PROTECTED]



Re: hardware: IBM e326m test results

2006-01-31 Thread Daniel Ouellet

Srebrenko Sehic wrote:

Again, some bad news. This time, bge(4) is acting up. It seems like
BCM5780 is not configured properly resulting in "bge0: watchdog
timeout -- resetting" kernel messages even with light network
activity. Forcing media settings helps a bit; performance drops to
around 200kb/sec and you simply delay "watchdog timeout".


Not anymore. All was corrected today and I can now saturate my switch
bug time! I even need to put my hands on a Gb switch to actually test
with higher speed as the switch is the bottleneck at the moment. Same
for the watchdog as well, all solved.


We're looking into fixing this issue. I just wanted to give you heads
up if you're looking for IBM hardware to buy/run.


I would say that for having both HP DL145 G2 and IBM e326m now in the
lab and testing both, I would actually go for the IBM. Better chip set
and much better performance all around including drive access, (except
the second SATA controller for now) etc. Even the support from OpenBSD
for my Quad ports Intel PRO/1000MT is working well in the IBM oppose to 
inside the HP 145 G2 where I still can't get all 4 ports up, only the 
first two, interrupts assignment conflicts, other then that it all 
working without issues so far in testing.



As always, more details are available at http://www.armorlogic.com/oscl/

dmesg for IBM e326m:


New dmesg for IBM e326m. As long as you are welling to run the latest
current, you will get good stuff out of it!

All credit goes to Brad as usual, he did an awesome job on this today as
always!!! A real pleasure to do tests for him! The results are always
better then expected!

You got to love OpenBSD, and if you don't, I don't know what's your 
smoking (;>


Daniel

==

OpenBSD 3.9-beta (GENERIC.MP) #2: Wed Feb  1 01:23:46 EST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1072672768 (1047532K)
avail mem = 907960320 (886680K)
using 22937 buffers containing 107474944 bytes (104956K) of memory
mainbus0 (root)
ipmi0 at mainbus0: version 1.5 interface KCS iobase 0xca2/2 spacing 1
mainbus0: Intel MP Specification (Version 1.4) (AMD  HAMMER  )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Dual Core AMD Opteron(tm) Processor 280, 2394.32 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 
64b/line 16-way L2 cache

cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Dual Core AMD Opteron(tm) Processor 280, 2394.00 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 
64b/line 16-way L2 cache

cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
mpbios: bus 0 is type PCI
mpbios: bus 1 is type PCI
mpbios: bus 2 is type PCI
mpbios: bus 3 is type PCI
mpbios: bus 4 is type PCI
mpbios: bus 5 is type PCI
mpbios: bus 6 is type PCI
mpbios: bus 7 is type PCI
mpbios: bus 8 is type PCI
mpbios: bus 9 is type PCI
mpbios: bus 10 is type ISA
ioapic0 at mainbus0 apid 4: pa 0x81ba0e24, version 11, 16 pins
ioapic1 at mainbus0 apid 5: pa 0x81ba0d24, version 11, 16 pins
ioapic2 at mainbus0 apid 6: pa 0x81ba0c24, version 11, 16 pins
pci0 at mainbus0 bus 0: configuration mode 1
ppb0 at pci0 dev 1 function 0 "ServerWorks HT-1000 PCI" rev 0x00
pci1 at ppb0 bus 1
ppb1 at pci1 dev 13 function 0 "ServerWorks HT-1000 PCIX" rev 0xb2
pci2 at ppb1 bus 2
pciide0 at pci1 dev 14 function 0 "ServerWorks HT-1000 SATA" rev 0x00: DMA
pciide0: using apic 4 int 11 (irq 11) for native-PCI interrupt
pciide0: port 0: SStatus=0x0113, SControl=0x0113
pciide0: port 0: scnt=0x1 sn=0x1 cl=0x0 ch=0x0
pciide0: port 0: device present, speed: 1.5Gb/s
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 76324MB, 156312576 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: port 1: SStatus=0x0004, SControl=0x0004
pciide0: port 1: PHY offline
pciide0: port 2: SStatus=0x0004, SControl=0x0004
pciide0: port 2: PHY offline
pciide0: port 3: SStatus=0x0004, SControl=0x0004
pciide0: port 3: PHY offline
pciide1 at pci1 dev 14 function 1 "ServerWorks HT-1000 SATA" rev 0x00: 
unable to map BA5 register space

pchb0 at pci0 dev 2 function 0 "ServerWorks HT-1000" rev 0x00
pciide2 at pci0 dev 2 function 1 "ServerWorks HT-1000 IDE" rev 0x00: DMA
atapiscsi0 at pciide2 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  SCSI0 
5/cdrom removable

cd0(pciide2:

Re: DVD burning, cdrloots, dvdrtools, dvd+rw_tools on OpenBSD-3.8

2006-01-31 Thread Jacob Meuser
On Tue, Jan 31, 2006 at 04:40:49PM +0500, Dmitry Slobodchikov wrote:
> Hi everybody-)
> 
> I've got two burners:
> 
> NEC ND-3540A
> PIONEER DVR-110D
> 
> but I got ext lines by the both
> 
> Based on:
> Cdrecord 1.11a15 (i386-unknown-openbsd3.8) Copyright (C) 1995-2001 JFrg 
> Schilling
 ^
> scsidev: '/dev/dvd'
> devname: '/dev/dvd'
> scsibus: -2 target: -2 lun: -2
> Using libscg version 'bero-0.5a'
> ./dvdrecord: Warning: using inofficial version of libscg (bero-0.5a 
> '@(#)scsitransp.c   1.81 01/04/20 Copyright 1988,1995,2000 J. Schilling').
 ^^
> Device type: Removable CD-ROM
> Version: 0
> Response Format: 2
> Capabilities   :
> Vendor_info: 'PIONEER '
> Identifikation : 'DVD-RW  DVR-110D'
> Revision   : '1.17'
> Device seems to be: Generic mmc2 DVD.
> Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
   ^^
> Driver flags   : SWABAUDIO BURNFREE
> Supported modes: PACKET SAO
> Starting to write CD/DVD at speed 1 in write mode for single session.
> Last chance to quit, starting real write in 0 seconds. Operation starts.
> ./dvdrecord: Input/output error. blank unit: scsi sendcmd: retryable error
> CDB:  A1 01 00 00 00 00 00 00 00 00 00 00
> status: 0x0 (GOOD STATUS)
> cmd finished after 0.005s timeout 9600s
> ./dvdrecord: Cannot blank disk, aborting.
> 
> 
> If I using CD-RW, then thas't OK.
> 
> What't wrong about my hands?-))

they are typing commands to use semi-functional software.

sysutils/dvd+rw-tools has been in the ports tree since before OpenBSD 3.7.

-- 
<[EMAIL PROTECTED]>



Pentium D 820 / Dell XPS 200

2006-01-31 Thread Michael Steinfeld
I'm curious to know why I can't find any info on Pentium D and OpenBSD.

any specific source branch I should use for better support while I 'make build'

Any links or helpful info appreciated...

--
-mike



OpenBSD PF IP Fragment Remote Denial Of Service

2006-01-31 Thread Subcommander l0r3zz
This came across security focus and I haven't seen it mentioned here.
THey claim 3.8 is vulnerable, anybody know anything?

l0r3zz




06.4.12 CVE: CVE-2006-0381
Platform: BSD
Title: OpenBSD PF IP Fragment Remote Denial Of Service
Description: PF is a packet filtering package that is integrated into
the operating system's kernel. OpenBSD's PF is susceptible to a remote

denial of service vulnerability. This issue is due to a flaw in
affected kernels that results in a kernel crash when attempting to
normalize IP fragments. For a list of vulnerable versions, see the
reference below.

Ref: http://www.securityfocus.com/bid/16375



Re: MP kernels and wd0 errors on AMD64

2006-01-31 Thread Nicholas Young
On Tue, Jan 31, 2006 at 02:09:05PM +0100, mickey wrote:
> On Tue, Jan 31, 2006 at 12:24:48PM +1100, Nicholas Young wrote:
> > On Mon, Jan 30, 2006 at 04:40:29PM +0100, mickey wrote:
> > > On Mon, Jan 30, 2006 at 05:46:17PM +1100, Nicholas Young wrote:
> > > > Hello
> > > re
> > > 
> > > > When booting with the standard kernel everything works fine and I
> > > > can login/use the machine, run stress without any errors.
> > > > 
> > > > When booting with the MP kernel it will get to mounting the drive and
> > > > freeze, partial boot log below of where the error occurs.
> > > > 
> > > > I have tested this with AMD64/i386 of 3.8 and the AMD64 snapshot
> > > > 24 Jan 2006. 
> > > 
> > > (i'm not sure what you mean by amd64/i386 ;)
> > 
> > I tested it with 3.8 AMD64 and then 3.8 i386.
> > 
> > > can you give a try to i386 (not amd64) fresh snap plz?
> > 
> > I loaded the i386 snapshot from 24 Jan 06 and it had the same final
> > error.
> > 
> > It also gave during the boot:
> > biomask 0 netmask 0 ttymask 0
> > ioapic0: pin 3 shares different IPL interrupts (40..50), degraded
> > performance
> > ioapic0: pin 5 shares different IPL interrupts (40..90), degraded
> > performance
> > pctr: user-level counter enabled
> > apm0: disconnected
> > wd0(pciide2:0:0): timeout
> > type: ata
> > c_bcount: 512
> > c_skip: 0
> > wd0(pciide2:0:0): timeout
> > type: ata
> > c_bcount: 512
> > c_skip: 0
> 
> can you try non-smp kernel plz?
> also if that fails try disable pcibios in ukc> .
> same plz try w/ smp kernel if disabling pcibios change anything.
> (to get to ukc do boot -c and then "disable pcibios" at UKC> prompt)
> 

Thanks for the reply.

With the non-smp kernel there is no error and it boots to the login
prompt and i can use the machine as per normal. This is with pcibios
enabled.

For the smp kernel disabling the pcibios made no obvious difference it
still ends with the same wd0(pciide2:0:0): timeout issue and then
freezes. It looks like it is going into ltsleep+0x6d forever.

At the moment I think a process is asking for a read from the SATA
drive for the disklable,this appears to be what is happening when it
works correctly.

The read either fails and timesout or is completed but not correctly
notifying the calling process for some reason which then ends up in
wdctimeout().

I think this implies some problem with the SATA driver for the NF4
chipset in SMP mode. This is based on the fact it works correctly
with a IDE drive for SMP and non-SMP kernels and with SATA drives
for non-SMP kernels. (all on the same hardware)

Does this seem like a reasonable idea of where the problem could be?

Anything else I should/could try? I can get a better output from ddb if
someone can give me instructions on what to do. At the moment I am
trying to understand how the wdc code works and what changes when
reading from a device when using a SMP kernel.

I am not sure if this can help, however I have run the following to try
and get an idea of what is going on when the system ends up in
wdctimeout().

boot> boot bsd.mp -d
booting hd0a:bsd.mp: 5000232+873256 [52+258016+239165]=0x613718
entry point at 0x100120
   .
[ using 497608 bytes of bsd ELF symbol table ]
Stopped at  Debugger+0x4:   leave
ddb{0}> break wdctimeout
ddb{0}> c
...
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask 0 netmask 0 ttymask 0
ioapic0: pin 3 shares different IPL interrupts (40..50), degraded
performance
ioapic0: pin 5 shares different IPL interrupts (40..90), degraded
performance
pctr: user-level cycle counter enabled
apm0: disconnected
Breakpoint at   wdctimeout: pushl   %ebp
ddb{0}> boot reboot
panic: wdc_exec_command: polled command not done
Stopped at  Debugger+0x4:   leave
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS
PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb{0}> trace
Debugger(d18a55a4,d7e2f060,e9058bfc,d7e2f060,e9058c44) at Debugger+0x4
panic(d04f1340,d7e2f060,0,d05acce0,d1872100) at panic+0x63
wdc_exec_command(d18a50d4,e9058c44,e9058c6c,d016da36) at
wdc_exec_command+0x10a

wd_flushcache(d18a7800,10,b0,3e,d1877890) at wd_flushcache+0x67
wd_shutdown(d18a7800,e9058d20,e9058ccc,d01f0d35) at wd_shutdown+0x10
dohooks(d05ae900,1,e9058cfc,d01f0dd1) at dohooks+0x5e
boot(4804,1,e9058d1c,0,0) at boot+0x55
db_boot_poweroff_cmd(d034a2e0,0,,e9058d24,d05acee0) at
db_boot_poweroff
_cmd
db_command(d05acee0,d05acd00,e9058e2c,d01efd61,e9058e08) at
db_command+0xff
db_command_loop(1,e9058ec4,e9058e6c,d03465c4,1) at db_command_loop+0x9c
db_trap(1,0,e9058e6c,d0346569,e9058ec4) at db_trap+0x86
kdb_trap(1,0,e9058ec4,d05ae928) at kdb_trap+0xe8
trap() at trap+0xb9
--- trap (number 1) ---
wdctimeout(58,0,10,10,e9057000) at wdctimeout+0x1
Bad frame pointer: 0xe9058f20
ddb{0}> ps
   PID   PPID   PGRPUID  S   FLAGS  WAIT   COMMAND
 7  0  0  0  2   0x2100604 pfpurge
 6  0  0  0  3   0x2100204  

Re: OpenBSD/i386 3.8 on a Compaq DL380 SMP with GENERIC.MP

2006-01-31 Thread Steve Shockley

Bruno Carnazzi wrote:

Is there some stability/performance advantage in upgrading the
Proliant Firmware ?


Since it's not on HP's web site (that I can find), here's the firmware 
changelog:


Version 2002.12.18B (Contains Bug Fixes)
Enhancements
Added support for Windows Server 2003.
Fixes
Updated to correct an issue where NetWare 6.0 would abend during a 
shutdown when the ACPI PSM was installed.


Version 2002.12.18 (Contains Bug Fixes)
Enhancements
Added support for Windows Server 2003.
Fixes
Updated to correct an issue where NetWare 6.0 would abend during a 
shutdown when the ACPI PSM was installed.


Version 2002.07.04B (Contains Bug Fixes)
Fixes
Updated the following:
Integration with Novell inter-processor communication.
Disabled Windows Server 2003 EMS by default. User will need to run a 
special utility to enable EMS.


Version 2002.02.14B (Contains Bug Fixes)
Fixes
Updated the following:
Changed POST message for PCI Header Type 2 cards to be a warning rather 
than a 106 error.

Installation speed of Windows Server 2003.
Resolved issue where the system could not boot from certain DVD drives.

Version 2001.08.04 (Enhancements)
Enhancements
08/04/2001 Maintenance Release

Version 2001.04.02B (Enhancements)
Enhancements
Online Flash Engine
Enhanced flash engine to remove requirement for a system partition on 
the target server.


Version 2001.04.02 (Enhancements)
Enhancements
Added support for the latest Intel processors.

Version 2000.11.08A (Enhancements)
Enhancements
Inital release.



Winbond PC87591 on i2c?

2006-01-31 Thread Mitja Muženič
Hi!

In the light of recent activity on i2c sensors, is anybody working on
Winbond (ex NS) PC87591 ?

As far as I can tell there is documentation available at
http://www.winbond.com.tw/E-WINBONDHTM/partner/apc_002.html and I believe
this is the sensor in at least one IBM Thinkpad model (A31p in my case).

The i2c master, though unsupported in 3.8, has appeared after I updated the
laptop to -current:

ichiic0 at pci0 dev 31 function 3 "Intel 82801CA/CAM SMBus" rev 0x02: irq 11
iic0 at ichiic0



Regards, Mitja


OpenBSD 3.9-beta (GENERIC) #595: Mon Jan 30 12:13:55 MST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz ("GenuineIntel"
686-class) 2 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,AC
PI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID
real mem  = 535863296 (523304K)
avail mem = 481943552 (470648K)
using 4278 buffers containing 26894336 bytes (26264K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(fb) BIOS, date 04/06/05, BIOS32 rev. 0 @ 0xfd7e0
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xfd770/0x890
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/256 (14 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc/0x1 0xdc000/0x4000! 0xe/0x1
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82845 Host" rev 0x04
ppb0 at pci0 dev 1 function 0 "Intel 82845 AGP" rev 0x04
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 vendor "ATI", unknown product 0x4c58 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 29 function 0 "Intel 82801CA/CAM USB" rev 0x02: 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
uhci1 at pci0 dev 29 function 1 "Intel 82801CA/CAM USB" rev 0x02: irq 11
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 82801CA/CAM USB" rev 0x02: irq 11
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
ppb1 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x42
pci2 at ppb1 bus 2
cbb0 at pci2 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0xa8: irq 11
cbb1 at pci2 dev 0 function 1 "Ricoh 5C476 CardBus" rev 0xa8: irq 11
"Ricoh 5C552 Firewire" rev 0x00 at pci2 dev 0 function 2 not configured
wi0 at pci2 dev 2 function 0 "Intersil PRISM2.5" rev 0x01: irq 11
wi0: PRISM2.5 ISL3874A(Mini-PCI) (0x8013), Firmware 1.1.0 (primary), 1.4.9
(station), address 00:02:6f:05:ce:9d
fxp0 at pci2 dev 8 function 0 "Intel PRO/100 VE" rev 0x42, i82562: irq 11,
address 00:02:8a:96:ab:78
inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 4 device 0 cacheline 0x0, lattimer 0xb0
pcmcia1 at cardslot1
ichpcib0 at pci0 dev 31 function 0 "Intel 82801CAM LPC" rev 0x02: SpeedStep
pciide0 at pci0 dev 31 function 1 "Intel 82801CAM IDE" rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors
wd1 at pciide0 channel 0 drive 1: 
wd1: 16-sector PIO, LBA, 38154MB, 78140160 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 "Intel 82801CA/CAM SMBus" rev 0x02: irq 11
iic0 at ichiic0
auich0 at pci0 dev 31 function 5 "Intel 82801CA/CAM AC97" rev 0x02: irq 11,
ICH3 AC97
ac97: codec id 0x41445348 (Analog Devices AD1881A)
ac97: codec features headphone, Analog Devices Phat Stereo
audio0 at auich0
"Intel 82801CA/CAM Modem" rev 0x02 at pci0 dev 31 function 6 not configured
isa0 at ichpcib0
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
sysbeep0 at pcppi0
lpt2 at isa0 port 0x3bc/4: polled
npx0 at isa0 port 0xf0/16: using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask effd netmask effd ttymask 
pctr: user-level cycle counter 

Re: Pf que for voip

2006-01-31 Thread Tobias Ulmer
On Tue, Jan 31, 2006 at 08:06:04PM +0200, Alex Stamatis wrote:
> Hello all.
> 
> I am relatively new to openbsd. More than satisfied from the OS. From the
> day I set it up to do my router and some more things it never annoyed me.
> Even with some power failures etc the system kept working after booting
> again just fine !
> 
> Now I need an advise from you who know it very well and especially the pf (i
> am a total noob on pf). I bought a voip device today. And i want the router
> no matter what the network usage is and packets to always give full priority
> and the needed speed to 4 ports and a port range in 1 ip in order this
> device can work properly because if I am on the phone and start a download
> from another computer on the network the voip goes down ... The manual is
> very big to read it and understand it in such a small amount of time I use
> the system. As I told you I am a total newbie on OpenBSD.
> Can you sugget to me some lines that will give full priority to these 4
> ports and 1 range which go into a specific lan ip ?
> Thank you so much for your time.
> 
> Best Regards
> Alex Stamatis
> 
>

Hi Alex,

rtfm ;) http://openbsd.org/faq/pf/queueing.html

Tobias



Fw: smp kernel

2006-01-31 Thread mcg
Begin forwarded message:

Date: Tue, 31 Jan 2006 23:19:01 +0200
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: smp kernel


hi!

i am using OpenBSD_3_8 stable and i have intel-1386-pc with intel-p4-ht smp 3.2 
Ghz processor and asus-p4c 800 deluxe motherboard and western digital sata 
hard-disk.i can not boot with /bsd.mp kernel.when i try system hangs and i have 
to press to reset button which is sad.error message appears below


--
wd0 (pcide2:0:0): timeout
type: ata (i have sata)
c_bcount:512
c_skip: 0
uhub1: device problem disabling port 2
---

then it hangs and i have to press to reset button.

is there a way to fix this?

regards 
mcg



iwi unstable in 3.9-beta

2006-01-31 Thread Gregory Steuck
Hi Damien,

With your latest changes to iwi, the driver is working as well as the
one in 3.8.

The only issue is: my card does not work reliably. After a reboot the
card works for a while. During that time ifconfig iwi0 looks like this:

iwi0: flags=8843 mtu 1500
lladdr 
groups: egress 
media: IEEE802.11 autoselect (DS11)
status: active
ieee80211: nwid my_ap chan 1 bssid  nwkey  
100dBm 
inet 192.168.0.7 netmask 0xff00 broadcast 192.168.0.255
inet6 fe80::213:%iwi0 prefixlen 64 scopeid 0x2

But eventually (some times it takes hours) the card loses the
connection. At this stage I cannot ping the base, then when I
re-init the card it does not see the network.

% ping -i 20 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
--- 192.168.0.1 ping statistics ---
1 packets transmitted, 0 packets received, 100.0% packet loss
% ifconfig iwi0
iwi0: flags=8843 mtu 1500
lladdr 
groups: egress 
media: IEEE802.11 autoselect (DS11)
status: active
ieee80211: nwid my_ap chan 1 bssid  nwkey  
100dBm 
inet 192.168.0.7 netmask 0xff00 broadcast 192.168.0.255
inet6 fe80::213:%iwi0 prefixlen 64 scopeid 0x2
% ping -i 20 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
ping: sendto: Host is down
ping: wrote 192.168.0.1 64 chars, ret=-1
--- 192.168.0.1 ping statistics ---
1 packets transmitted, 0 packets received, 100.0% packet loss
% sudo ifconfig iwi0 down
% sudo sh /etc/netstart wi0
% ping -i 20 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
ping: sendto: Network is down
ping: wrote 192.168.0.1 64 chars, ret=-1
--- 192.168.0.1 ping statistics ---
1 packets transmitted, 0 packets received, 100.0% packet loss
% ifconfig iwi0
iwi0: flags=8802 mtu 1500
lladdr 
groups: egress 
media: IEEE802.11 autoselect
status: no network
ieee80211: nwid my_ap nwkey  100dBm 
inet 192.168.0.7 netmask 0xff00 broadcast 192.168.0.255
inet6 fe80::213:%iwi0 prefixlen 64 scopeid 0x2

Bringing ifconfig iwi0 down or rerunning netstart does not
help. Suspending the system does not help. The only thing that does help
is a reboot.

Just for completeness sake, below is the dmesg from the kernel I built
from last night CVS.

Thanks
Greg

OpenBSD 3.9-beta (comp) #7: Mon Jan 30 20:49:00 PST 2006
[EMAIL PROTECTED]:/home/greg/comp
cpu0: Intel(R) Pentium(R) M processor 2.13GHz ("GenuineIntel" 686-class) 798 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
cpu0: Enhanced SpeedStep 600 MHz (988 mV): unknown EST cpu, no changes possible
real mem  = 1072144384 (1047016K)
avail mem = 971591680 (948820K)
using 4278 buffers containing 53710848 bytes (52452K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(c8) BIOS, date 07/20/05, BIOS32 rev. 0 @ 0xfd760
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 11%
apm0: AC off, battery charge high, estimated 0:16 hours
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xfd6f0/0x910
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/256 (14 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc/0x1 0xd/0x1600 0xd1800/0x1000 0xdc000/0x4000! 
0xe/0x1
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82915GM/PM/GMS Host" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82915PM/GM PCIE" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 vendor "ATI", unknown product 0x3154 rev 0x80
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 BCM5751M" rev 0x11, BCM5750 B1 
(0x4101): irq 11, address 
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb2 at pci0 dev 28 function 2 "Intel 82801FB PCIE" rev 0x03
pci3 at ppb2 bus 3
uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x03: 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
uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x03: irq 11
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 11
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 11
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 de

pf high latency

2006-01-31 Thread Mario Beltran

hello people

I have a netra sunfire v120 with openbsd 3.8 and packet filter.

LOM event: +89d+2h55m35s host reset
ng ...

p
Processor Speed = 648 MHz
Baud rate is 9600
8 Data bits, 1 stop bits, no parity (configured from lom)

Firmware CORE  Sun Microsystems, Inc.
@(#) core 1.0.12 2002/01/08 13:00
Software Power ON
Verifying NVRAM...Done
Bootmode is 0
[New I2C DIMM address]
MCR0 = 57b2ce06
MCR1 = 80008000
MCR2 = cf1f
MCR3 = a086
Ecache Size = 512 KB
Clearing E$ Tags Done
Clearing I/D TLBs Done
Probing memory
Done
MEMBASE=0x0
MEMSIZE=0x2000
Clearing memory...Done
Turning ON MMUs Done
Copy ROM to RAM (170040 bytes) Done
Orig PC=0x1fff0007e44  New PC=0xf0f07e9c
Processor Speed=648MHz
Looking for Dropin FVM ... found
Decompressing Client Done
Transferring control to Client...

ttya initialized
Reset Control: BXIR:0 BPOR:0 SXIR:0 SPOR:1 POR:0
Probing upa at 1f,0 pci pci pci
Probing upa at 0,0 SUNW,UltraSPARC-IIe SUNW,UltraSPARC-IIe (512 Kb)
Loading Support Packages: kbd-translator
Loading onboard drivers: ebus flashprom eeprom idprom SUNW,lomh
Probing /[EMAIL PROTECTED],1 Device 3  pmu i2c temperature dimm i2c-nvram idprom
  motherboard-fru fan-control
lomp
Sun Fire V120 (UltraSPARC-IIe 648MHz), No Keyboard
OpenBoot 4.0, 512 MB memory installed, Serial #56380363.
Ethernet address 0:3:ba:5c:4b:cb, Host ID: 835c4bcb.



Executing last command: boot 
Boot device: disk  File and args:

OpenBSD IEEE 1275 Bootblock 1.1
..>> OpenBSD 3.8 (obj) #1: Thu Sep  1 17:32:37 MDT 2005
   [EMAIL PROTECTED]:/usr/src/sys/arch/sparc64/stand/ofwboot/obj
: trying bsd...
Booting /[EMAIL PROTECTED],0/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL 
PROTECTED],0:a/bsd
[EMAIL PROTECTED]@[EMAIL PROTECTED]
symbols @ 0xfef9a280 58+259056+154413 start=0x100
[ using 414176 bytes of bsd ELF symbol table ]
console is /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED]/[EMAIL 
PROTECTED],3f8
Copyright (c) 1982, 1986, 1989, 1991, 1993
   The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2005 OpenBSD. All rights reserved.  
http://www.OpenBSD.org


OpenBSD 3.8 (GENERIC) #607: Sat Sep 10 16:03:59 MDT 2005
   [EMAIL PROTECTED]:/usr/src/sys/arch/sparc64/compile/GENERIC
total memory = 536870912
avail memory = 479002624
using 3276 buffers containing 26836992 bytes of memory
bootpath: /[EMAIL PROTECTED],0/[EMAIL PROTECTED],0/[EMAIL PROTECTED],0/[EMAIL 
PROTECTED],0
mainbus0 (root): Sun Fire V120 (UltraSPARC-IIe 648MHz)
cpu0 at mainbus0: SUNW,UltraSPARC-IIe @ 648 MHz, version 0 FPU
cpu0: physical 32K instruction (32 b/l), 16K data (32 b/l), 2048K 
external (64 b/l)

psycho0 at mainbus0
SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 3; PCI bus 0
DVMA map: c000 to e000
IOTDB: 2742000 to 27c2000
pci0 at psycho0
ppb0 at pci0 dev 1 function 1 "Sun Simba PCI-PCI" rev 0x13
pci1 at ppb0 bus 1
ebus0 at pci1 dev 12 function 0 "Sun PCIO Ebus2 (US III)" rev 0x01
flashprom at ebus0 addr 0-f not configured
clock1 at ebus0 addr 0-1fff: mk48t59: hostid 835c4bcb
ebus_attach: idprom: incomplete
SUNW,lomh at ebus0 addr 20-23 ipl 42 not configured
gem0 at pci1 dev 12 function 1 "Sun ERI Ether" rev 0x01: ivec 3006, 
address 00:03:ba:5c:4b:cb

ukphy0 at gem0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x0010dd, model 0x0002, rev. 1
ohci0 at pci1 dev 12 function 3 "Sun USB" rev 0x01: ivec 24, version 
1.0, legacy support

usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Sun OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
"Acer Labs M7101 Power" rev 0x00 at pci1 dev 3 function 0 not configured
"Acer Labs M7101 Power" rev 0x00 at pci1 dev 3 function 0 not configured
ebus1 at pci1 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00
power at ebus1 addr 2000-2007 ipl 37 not configured
com0 at ebus1 addr 3f8-3ff ipl 43: ns16550a, 16 byte fifo
com0: console
com1 at ebus1 addr 2e8-2ef ipl 43: ns16550a, 16 byte fifo
pciide0 at pci1 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc3: 
DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI

pciide0: using ivec 180c for native-PCI interrupt
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  SCSI0 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 disabled (no drives)
gem1 at pci1 dev 5 function 1 "Sun ERI Ether" rev 0x01: ivec 301c, 
address 00:03:ba:5c:4b:cc

ukphy1 at gem1 phy 1: Generic IEEE 802.3u media interface
ukphy1: OUI 0x0010dd, model 0x0002, rev. 1
ohci1 at pci1 dev 5 function 3 "Sun USB" rev 0x01: ivec 26, version 1.0, 
legacy support

usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Sun OHCI root hub, rev 1.00/1.00, addr 1
uhub1: 4 ports with 4 removable, self powered
ppb1 at pci0 dev 1 function 0 "Sun Simba PCI-PCI" rev 0x13
pci2 at ppb1 bus 2
siop0 at pci2 dev 8 function 0 "Symbios Logic 53c896" rev 0x07: ivec 
1820, using 8K of on-board RAM

Re: RAIDframe stability and reliability

2006-01-31 Thread Dave Diller
> > Yeah, 20% or so, with RAIDframe being the only change:
> >
> > -rw-r--r--  1 root  wheel  5281094 Sep 16 21:30 bsd-stock-3.8-install
> >
> > -rwxr-xr-x  1 root  wheel  6072989 Jan 22 10:28 bsd-raid-38stab-012206
>
> no, that's 15%.

Rounded to 5 and 6, did the math after sending ;-)

> but still strange, mine is only:
>
> -rwxr-xr-x   1 root  wheel  5668267 Jan 28 01:25 bsd
>
> which is just 7% up. stabile i386 build, with
>
> pseudo-device raid4
> optionRAID_AUTOCONFIG

Ahh - I also have
optionRAIDDEBUG

so that's probably it.  I likely don't need that longterm but put it in before
patching to -stable and never reverted.  It certainly makes raidframe chattier
on boot!

-dd



Developers: you just ruined my night

2006-01-31 Thread Scott Plumlee
Here I was, planning on spending an hour or two after work upgrading a 
3.8-release system to -stable.  Started the process from a release I 
built earlier in the day, and 8 minutes later I'm done.  What am I 
supposed to do now, go home and have a beer?


Thanks again for a superb product.  This was my first time trying out 
making my own release (for upgrading a firewall with no compiler), and 
it was as simple and clean as the original install.  Can't believe I've 
spent all that time applying patches by hand up till now.




Re: SATA support in 3.8

2006-01-31 Thread Tony Del Porto

On Jan 29, 2006, at 2:28 PM, David Wilk wrote:


Howdy all, I was just wondering what SATA support was like in 3.8.
Specifically, are there any promise controller add-in cards (as  
opposed to
built-in to mobo) that anyone would recommend?  Or, are things as  
they were

in May of '05 when Theo was less than enthused with then-current SATA
support: http://marc.theaimsgroup.com/?l=openbsd- 
misc&m=111390018104270&w=2


Any pointers would be most welcome.



David,

I can't tell you which Promise models do work, but here's something  
that apparently doesn't under STABLE:


 PROMISE SATA 150TX2PLUS 2-PORT SATA 1-PORT PATA PCI SUPPORT FOR NCQ  
& TCQ HARD DRIVES



# dmesg
OpenBSD 3.8-stable (GENERIC) #0: Mon Jan  2 06:07:27 PST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) Processor ("AuthenticAMD" 686-class, 512KB L2  
cache) 800 MHz
cpu0:  
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,F 
XSR

real mem  = 402219008 (392792K)
avail mem = 359768064 (351336K)
using 4278 buffers containing 20213760 bytes (19740K) of memory
...
pciide0 at pci0 dev 4 function 1 "VIA VT82C571 IDE" rev 0x10: ATA66,  
channel 0 configured to compatibility, channel 1 configured to  
compatibility

wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA, 14649MB, 30003120 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:   
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 ignored (disabled)
...
vendor "Promise", unknown product 0x3d75 (class mass storage subclass  
miscellaneous, rev

0x02) at pci0 dev 11 function 0 not configured

The above card works like a champ in FreeBSD 5.4 (no value judgement,  
just my experience).


I have a sil3112 based card from LSI (MegaRAID SATA 150-2) that works  
in OpenBSD (but doesn't work reliably in FreeBSD). I had to special  
order that card to get the LSI branded version, but Sil3112 based  
cards are pretty common as cheap white box adapters. Mind, Sil3112  
based cards are known widely to be crap, so I doubt anyone would give  
it the gold seal of approval.


Good Luck,

Tony Del Porto
SysAdmin
USENIX Association
2560 9th Street, Suite 215, Berkeley CA 94710
[EMAIL PROTECTED] | www.usenix.org | www.sage.org



Re: RAIDframe stability and reliability

2006-01-31 Thread kami petersen

Dave Diller skrev:

The main reason RAIDframe is not in GENERIC, I seem to recall, is that
it makes the kernel quite a bit bigger for no gain in the average case.


Yeah, 20% or so, with RAIDframe being the only change:

-rw-r--r--  1 root  wheel  5281094 Sep 16 21:30 bsd-stock-3.8-install

-rwxr-xr-x  1 root  wheel  6072989 Jan 22 10:28 bsd-raid-38stab-012206


no, that's 15%. but still strange, mine is only:

-rwxr-xr-x   1 root  wheel  5668267 Jan 28 01:25 bsd

which is just 7% up. stabile i386 build, with

pseudo-device raid4
optionRAID_AUTOCONFIG



/kami



Re: 3.9beta on macppc snapshot 30-01-06: no keyboard

2006-01-31 Thread Antoine Jacoutot

On Tue, 31 Jan 2006, Pete Vickers wrote:

on my powerbook5,2 (G4 15"), runs through booting fine, but at the 
install,upgrade,shell prompt, the keyboard doesn't work ( but  still 
lights the LED)


Hi.

I've been experiencing the same problem too since the latest snapshot. It 
does not happen all the time though. Usually a reboot (via ssh) and 
everything works fine.


--
Antoine



3.9beta on macppc snapshot 30-01-06: no keyboard

2006-01-31 Thread Pete Vickers

Hi,

on my powerbook5,2 (G4 15"), runs through booting fine, but at the  
install,upgrade,shell prompt, the keyboard doesn't work ( but   
still lights the LED)


dmesg is thus little tricky to aquire...

/Pete



Re: hardware: IBM e326m test results

2006-01-31 Thread Daniel Ouellet

Srebrenko Sehic wrote:

Again, some bad news. This time, bge(4) is acting up. It seems like
BCM5780 is not configured properly resulting in "bge0: watchdog
timeout -- resetting" kernel messages even with light network
activity. Forcing media settings helps a bit; performance drops to
around 200kb/sec and you simply delay "watchdog timeout".

We're looking into fixing this issue. I just wanted to give you heads
up if you're looking for IBM hardware to buy/run.

As always, more details are available at http://www.armorlogic.com/oscl/



Thanks,

I got the same problem and just loaded the OS on that box yesterday as I 
wasn't very happy with the new HP DL1-45 (G2).


Took a long time to load the OS in that box via the Internet as the 
watchdog always reset the connection. (:<


Bummer.



Re: (3.9beta/i386) sensorsd can not start?

2006-01-31 Thread Moritz Jodeit
On Mon, Jan 30, 2006 at 12:57:24PM +0800, John Wong wrote:
> after upgrade to 3.9beta/i386, sensorsd can not start
> when i start the sensorsd, it show the error message
> 
> shell$: /usr/sbin/sensorsd
> sensorsd: sysctl: No such file or directory

Just fixed that in -current. Thanks for the report.

Moritz



Re: Quad-port GigE NIC

2006-01-31 Thread Arrigo Triulzi

I found this card which says "low-profile":

http://www.lewiz.com/talon3008.html

and looks low-profile.

Sadly I don't know what the chipset is (Talon doesn't mean much to me), 
I've asked by e-mail, awaiting their reply.


Arrigo



Pf que for voip

2006-01-31 Thread Alex Stamatis
Hello all.

I am relatively new to openbsd. More than satisfied from the OS. From the
day I set it up to do my router and some more things it never annoyed me.
Even with some power failures etc the system kept working after booting
again just fine !

Now I need an advise from you who know it very well and especially the pf (i
am a total noob on pf). I bought a voip device today. And i want the router
no matter what the network usage is and packets to always give full priority
and the needed speed to 4 ports and a port range in 1 ip in order this
device can work properly because if I am on the phone and start a download
from another computer on the network the voip goes down ... The manual is
very big to read it and understand it in such a small amount of time I use
the system. As I told you I am a total newbie on OpenBSD.
Can you sugget to me some lines that will give full priority to these 4
ports and 1 range which go into a specific lan ip ?
Thank you so much for your time.

Best Regards
Alex Stamatis



Re: pf and arp problem

2006-01-31 Thread Joachim Schipper
On Tue, Jan 31, 2006 at 10:32:14AM -0600, Miguel wrote:
> Joachim Schipper wrote:
> 
> >There's an arp(8) command you can use to check your suspicions.
> >Otherwise, I'd like a packet trace - any chance of running tcpdump
> >-nvvvXs 65535 host 200.13.161.2 while doing the above?
> >
> >(Though I'm not certain you are right about arp being the problem - if
> >it was, why'd the second ping have the same problem? Arp is cached.)
>
> You are right, this is even worst :
> 
> 
> # ping 200.13.161.3
> PING 200.13.161.3 (200.13.161.3): 56 data bytes
> ping: sendto: No route to host
> ping: wrote 200.13.161.3 64 chars, ret=-1
> ping: sendto: No route to host
> ping: wrote 200.13.161.3 64 chars, ret=-1
> ping: sendto: No route to host
> ping: wrote 200.13.161.3 64 chars, ret=-1
> ping: sendto: No route to host
> ping: wrote 200.13.161.3 64 chars, ret=-1
> 64 bytes from 200.13.161.3: icmp_seq=4 ttl=255 time=0.592 ms
> 64 bytes from 200.13.161.3: icmp_seq=5 ttl=255 time=0.302 ms
> 64 bytes from 200.13.161.3: icmp_seq=6 ttl=255 time=0.365 ms
> 64 bytes from 200.13.161.3: icmp_seq=7 ttl=255 time=0.357 ms
> --- 200.13.161.3 ping statistics ---
> 8 packets transmitted, 4 packets received, 50.0% packet loss
> round-trip min/avg/max/std-dev = 0.302/0.404/0.592/0.111 ms
> # arp -a
> ? (200.13.161.2) at 00:03:ba:04:cd:02 on hme0
> ? (200.13.161.3) at 00:03:ba:05:01:2c on hme0
> ? (200.13.161.6) at 00:12:79:d4:95:63 on hme0

Looks fine, arp -a looks like this here:

calliope.jschipper.dynalias.net (192.168.14.1) at 00:30:4f:21:1f:81 on rl0

So that should work.

> # ping 200.13.161.3
> PING 200.13.161.3 (200.13.161.3): 56 data bytes
> ping: sendto: No route to host
> ping: wrote 200.13.161.3 64 chars, ret=-1
> ping: sendto: No route to host
> ping: wrote 200.13.161.3 64 chars, ret=-1
> ping: sendto: No route to host
> ping: wrote 200.13.161.3 64 chars, ret=-1
> 64 bytes from 200.13.161.3: icmp_seq=3 ttl=255 time=0.476 ms
> 64 bytes from 200.13.161.3: icmp_seq=4 ttl=255 time=0.306 ms
> --- 200.13.161.3 ping statistics ---
> 5 packets transmitted, 2 packets received, 60.0% packet loss
> round-trip min/avg/max/std-dev = 0.306/0.391/0.476/0.085 ms
> #
> 
> the arp entry is cached, but the No route to host is always there.
> BTW, i tried the packet trace but its a lot of output, it is my dns 
> server, so i cant read the output, look at an example


That is, indeed, only dns traffic. Try tcpdump -s 65535 -w outfile
host 200.13.161.2 and ! port 53, followed by tcpdump -nvvvXs 65535 -r
outfile | less; this combination will allow you to read at your
convenience. Please note that it is possible to restrict the traffic
further in the read command, though it is obviously more efficient to
only write what you need.

Joachim



iic problem

2006-01-31 Thread Rik Burt
I have an older Intel P3 board that uses the piixm sensor driver.  For 
some reason it is still not working after all the fantastic work that 
has gone on.  Here is the dmesg output of my problem:


piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x02: SMI
iic0 at piixpm0
iic0: addr 0x28 00=01 01=7f 02=2d 05=3c 06=80 07=80 08=80 09=80 0a=80 
0b=80 0c=bf 0d=b6 0e=1b 0f=00 10=01 11=00 12=00 15=3c 16=80 17=3c 18=3c 
19=3c 1a=3c 1b=3c
1c=bf 1d=b6 1e=1b 1f=00 20=c3 21=92 22=c2 23=88 24=c3 25=c2 26=c1 27=27 
29=20 2a=04 2b=00 2c=00 2d=00 2e=00 2f=00 30=00 31=00 32=00 33=00 34=00 
35=00 36=00 37=00 38=00 39=00 3a=00 3b=04 3c=10 3d=00 3e=00 3f=40 40=01 
41=00 42=00 45=3c 46=80
47=80 48=00 49=80 4a=00 4b=80 4c=bf 4d=b6 4e=1b 4f=00 50=01 51=00 52=00 
55=3c 56=80 57=80 58=80 59=80 5a=80 5b=80 5c=bf 5d=b6 5e=1b 5f=00 60=c3 
61=92 62=c2 63=88 64=c3 65=c2 66=c1 67=27 69=20 6a=04 6b=00 6c=00 6d=00 
6e=00 6f=00 70=00 71=00
72=00 73=00 74=00 75=00 76=00 77=00 78=00 79=00 7a=00 7b=04 7c=10 7d=00 
7e=00 7f=40 80=01 81=00 82=00 85=3c 86=80 87=80 88=80 89=80 8a=80 8b=80 
8c=bf 8d=b6 8e=1b 8f=00 90=01 91=00 92=00 95=3c 96=80 97=80 98=80 99=80 
9a=80 9b=80 9c=bf 9d=b6
9e=1b 9f=00 a0=c3 a1=92 a2=c2 a3=88 a4=c3 a5=c2 a6=c1 a7=27 a9=20 aa=04 
ab=00 ac=00 ad=00 ae=00 af=00 b0=00 b1=00 b2=00 b3=00 b4=00 b5=00 b6=00 
b7=00 b8=00 b9=00 ba=00 bb=04 bc=10 bd=00 be=00 bf=40 c0=01 c1=00 c2=00 
c5=3c c6=80 c7=80 c8=80
c9=80 ca=80 cb=80 cc=bf cd=b6 ce=1b cf=00 d0=01 d1=00 d2=00 d5=3c d6=80 
d7=80 d8=80 d9=80 da=80 db=80 dc=bf dd=b6 de=1b df=00 e0=c3 e1=92 e2=c2 
e3=88 e4=c3 e5=c2 e6=c1 e7=27 e9=20 ea=04 eb=00 ec=00 ed=00 ee=00 ef=00 
f0=00 f1=00 f2=00 f3=00

f4=00 f5=00 f6=00 f7=00 f8=00 f9=00 fa=00 fb=04 fc=10 fd=00 fe=00 ff=40

I used to see this kind of 'dump' on my other machine until the asb100 
fixes were put in.


The box is running -current as of January 29.

Rik



Re: pf and arp problem

2006-01-31 Thread Miguel

Joachim Schipper wrote:


There's an arp(8) command you can use to check your suspicions.
Otherwise, I'd like a packet trace - any chance of running tcpdump
-nvvvXs 65535 host 200.13.161.2 while doing the above?

(Though I'm not certain you are right about arp being the problem - if
it was, why'd the second ping have the same problem? Arp is cached.)

Joachim


 





You are right, this is even worst :


# ping 200.13.161.3
PING 200.13.161.3 (200.13.161.3): 56 data bytes
ping: sendto: No route to host
ping: wrote 200.13.161.3 64 chars, ret=-1
ping: sendto: No route to host
ping: wrote 200.13.161.3 64 chars, ret=-1
ping: sendto: No route to host
ping: wrote 200.13.161.3 64 chars, ret=-1
ping: sendto: No route to host
ping: wrote 200.13.161.3 64 chars, ret=-1
64 bytes from 200.13.161.3: icmp_seq=4 ttl=255 time=0.592 ms
64 bytes from 200.13.161.3: icmp_seq=5 ttl=255 time=0.302 ms
64 bytes from 200.13.161.3: icmp_seq=6 ttl=255 time=0.365 ms
64 bytes from 200.13.161.3: icmp_seq=7 ttl=255 time=0.357 ms
--- 200.13.161.3 ping statistics ---
8 packets transmitted, 4 packets received, 50.0% packet loss
round-trip min/avg/max/std-dev = 0.302/0.404/0.592/0.111 ms
# arp -a
? (200.13.161.2) at 00:03:ba:04:cd:02 on hme0
? (200.13.161.3) at 00:03:ba:05:01:2c on hme0
? (200.13.161.6) at 00:12:79:d4:95:63 on hme0
# ping 200.13.161.3
PING 200.13.161.3 (200.13.161.3): 56 data bytes
ping: sendto: No route to host
ping: wrote 200.13.161.3 64 chars, ret=-1
ping: sendto: No route to host
ping: wrote 200.13.161.3 64 chars, ret=-1
ping: sendto: No route to host
ping: wrote 200.13.161.3 64 chars, ret=-1
64 bytes from 200.13.161.3: icmp_seq=3 ttl=255 time=0.476 ms
64 bytes from 200.13.161.3: icmp_seq=4 ttl=255 time=0.306 ms
--- 200.13.161.3 ping statistics ---
5 packets transmitted, 2 packets received, 60.0% packet loss
round-trip min/avg/max/std-dev = 0.306/0.391/0.476/0.085 ms
#

the arp entry is cached, but the No route to host is always there.
BTW, i tried the packet trace but its a lot of output, it is my dns 
server, so i cant read the output, look at an example



10:26:01.443020 200.13.190.132.1075 > 200.13.161.2.53:  [udp sum ok] 
5054+ A? hp.msn.com. (28) (ttl 126, id 46030, len 56)

 : 4500 0038 b3ce  7e11 9944 c80d be84  E..83N..~..DH.>.
 0010: c80d a102 0433 0035 0024 d888 13be 0100  H.!..3.5.$X..>..
 0020: 0001    0268 7003 6d73 6e03  .hp.msn.
 0030: 636f 6d00 0001 0001 449d 8a02com.D...

10:26:01.443614 200.13.161.2.53 > 217.16.26.177.53:  [udp sum ok] 41273% 
[1au] A6? ns2.madgroup.ru. ar: . OPT UDPsize=2048 (44) (DF) (ttl 254, id 
31947, len 72)

 : 4500 0048 7ccb 4000 fe11 a307 c80d a102  E..H|[EMAIL PROTECTED]
 0010: d910 1ab1 0035 0035 0034 b803 a139 0010  Y..1.5.5.48.!9..
 0020: 0001   0001 036e 7332 086d 6164  .ns2.mad
 0030: 6772 6f75 7002 7275  2600 0100 0029  group.ru..&)
 0040: 0800  8000   

10:26:01.444526 200.13.161.2.53 > 200.13.190.132.1075:  [udp sum ok] 
5054 q: A? hp.msn.com. 3/3/1 hp.msn.com. CNAME 
hm.sc.msn.com.c.footprint.net., hm.sc.msn.com.c.footprint.net. A 
66.77.84.94, hm.sc.msn.com.c.footprint.net. A 67.72.8.94 ns: 
c.footprint.net. NS b.ns.c.footprint.net., c.footprint.net. NS 
us-mi-1.ns.c.footprint.net., c.footprint.net. NS a.ns.c.footprint.net. 
ar: us-mi-1.ns.c.footprint.net. A 166.90.248.209 (176) (DF) (ttl 254, id 
18984, len 204)

 : 4500 00cc 4a28 4000 fe11 4256 c80d a102  E..LJ(@.~.BVH.!.
 0010: c80d be84 0035 0433 00b8 f050 13be 8180  H.>..5.3.8pP.>..
 0020: 0001 0003 0003 0001 0268 7003 6d73 6e03  .hp.msn.
 0030: 636f 6d00 0001 0001 c00c 0005 0001   [EMAIL PROTECTED]
 0040: 0308 001f 0268 6d02 7363 036d 736e 0363  .hm.sc.msn.c
 0050: 6f6d 0163 0966 6f6f 7470 7269 6e74 036e  om.c.footprint.n
 0060: 6574 00c0 2800 0100 0100  8500 0442  et.@(..B
 0070: 4d54 5ec0 2800 0100 0100  8500 0443  MT^@(..C
 0080: 4808 5ec0 3600 0200 0100 0151 5500 0701  [EMAIL PROTECTED]
 0090: 6202 6e73 c036 c036 0002 0001 0001 5155  [EMAIL PROTECTED]@6..QU
 00a0: 000a 0775 732d 6d69 2d31 c075 c036 0002  [EMAIL PROTECTED]@6..
 00b0: 0001 0001 5155 0004 0161 c075 c086 0001  [EMAIL PROTECTED]@...
 00c0: 0001 0002 a2d5 0004 a65a f8d1"U..&ZxQ

10:26:01.454125 200.13.173.241.28479 > 200.13.161.2.53:  [udp sum ok] 
12685+ A? Irc.Real.H4ck.Biz. (35) (ttl 125, id 50535, len 63)

 : 4500 003f c567  7d11 9937 c80d adf1  E..?Eg..}..7H.-q
 0010: c80d a102 6f3f 0035 002b 18c6 318d 0100  H.!.o?.5.+.F1...
 0020: 0001    0349 7263 0452 6561  .Irc.Rea
 0030: 6c04 4834 636b 0342 697a  0100 0174  l.H4ck.Biz.t
 0040: a1e2 53  !bS

10:26:01.478620 200.13.181.18.1047 > 200.13.161.2.53:  [udp sum ok] 
39484+ A? t.msn.com. (27) (ttl 124, id 1382, len 55)

 : 4500 0037 0566  7c11 5320 c80d b512  E..7.f..|.S H.5.
 0010: c80d a102 0417 0035 0023 8cce 9a3c 0100  H.!5.#

Re: pf and arp problem

2006-01-31 Thread Joachim Schipper
On Tue, Jan 31, 2006 at 09:48:13AM -0600, Miguel wrote:
> Hi, im having serious problems with (i think) arp protocol, my openbsd 
> firewall always tries to resolve the arp address, look at this:
> 
> 
> # ping 200.13.161.2
> PING 200.13.161.2 (200.13.161.2): 56 data bytes
> ping: sendto: No route to host
> ping: wrote 200.13.161.2 64 chars, ret=-1
> ping: sendto: No route to host
> ping: wrote 200.13.161.2 64 chars, ret=-1
> ping: sendto: No route to host
> ping: wrote 200.13.161.2 64 chars, ret=-1
> ping: sendto: No route to host
> ping: wrote 200.13.161.2 64 chars, ret=-1
> ping: sendto: No route to host
> ping: wrote 200.13.161.2 64 chars, ret=-1
> ping: sendto: No route to host
> ping: wrote 200.13.161.2 64 chars, ret=-1
> ping: sendto: No route to host
> ping: wrote 200.13.161.2 64 chars, ret=-1
> 64 bytes from 200.13.161.2: icmp_seq=7 ttl=255 time=0.684 ms
> 64 bytes from 200.13.161.2: icmp_seq=8 ttl=255 time=0.306 ms
> 64 bytes from 200.13.161.2: icmp_seq=9 ttl=255 time=0.494 ms
> 64 bytes from 200.13.161.2: icmp_seq=10 ttl=255 time=0.381 ms
> --- 200.13.161.2 ping statistics ---
> 11 packets transmitted, 4 packets received, 63.6% packet loss
> round-trip min/avg/max/std-dev = 0.306/0.466/0.684/0.143 ms
> # ping 200.13.161.2
> PING 200.13.161.2 (200.13.161.2): 56 data bytes
> ping: sendto: No route to host
> ping: wrote 200.13.161.2 64 chars, ret=-1
> ping: sendto: No route to host
> ping: wrote 200.13.161.2 64 chars, ret=-1
> ping: sendto: No route to host
> ping: wrote 200.13.161.2 64 chars, ret=-1
> ping: sendto: No route to host
> ping: wrote 200.13.161.2 64 chars, ret=-1
> 64 bytes from 200.13.161.2: icmp_seq=4 ttl=255 time=0.717 ms
> 64 bytes from 200.13.161.2: icmp_seq=5 ttl=255 time=0.478 ms
> 64 bytes from 200.13.161.2: icmp_seq=6 ttl=255 time=0.512 ms
> --- 200.13.161.2 ping statistics ---
> 7 packets transmitted, 3 packets received, 57.1% packet loss
> round-trip min/avg/max/std-dev = 0.478/0.569/0.717/0.105 ms
> 
> 
> first,  i get No route to host, after a few seconds i got response, a 
> few second later a try again and the same No route to host problem.
> any advise?

There's an arp(8) command you can use to check your suspicions.
Otherwise, I'd like a packet trace - any chance of running tcpdump
-nvvvXs 65535 host 200.13.161.2 while doing the above?

(Though I'm not certain you are right about arp being the problem - if
it was, why'd the second ping have the same problem? Arp is cached.)

Joachim



pf and arp problem

2006-01-31 Thread Miguel
Hi, im having serious problems with (i think) arp protocol, my openbsd 
firewall always tries to resolve the arp address, look at this:



# ping 200.13.161.2
PING 200.13.161.2 (200.13.161.2): 56 data bytes
ping: sendto: No route to host
ping: wrote 200.13.161.2 64 chars, ret=-1
ping: sendto: No route to host
ping: wrote 200.13.161.2 64 chars, ret=-1
ping: sendto: No route to host
ping: wrote 200.13.161.2 64 chars, ret=-1
ping: sendto: No route to host
ping: wrote 200.13.161.2 64 chars, ret=-1
ping: sendto: No route to host
ping: wrote 200.13.161.2 64 chars, ret=-1
ping: sendto: No route to host
ping: wrote 200.13.161.2 64 chars, ret=-1
ping: sendto: No route to host
ping: wrote 200.13.161.2 64 chars, ret=-1
64 bytes from 200.13.161.2: icmp_seq=7 ttl=255 time=0.684 ms
64 bytes from 200.13.161.2: icmp_seq=8 ttl=255 time=0.306 ms
64 bytes from 200.13.161.2: icmp_seq=9 ttl=255 time=0.494 ms
64 bytes from 200.13.161.2: icmp_seq=10 ttl=255 time=0.381 ms
--- 200.13.161.2 ping statistics ---
11 packets transmitted, 4 packets received, 63.6% packet loss
round-trip min/avg/max/std-dev = 0.306/0.466/0.684/0.143 ms
# ping 200.13.161.2
PING 200.13.161.2 (200.13.161.2): 56 data bytes
ping: sendto: No route to host
ping: wrote 200.13.161.2 64 chars, ret=-1
ping: sendto: No route to host
ping: wrote 200.13.161.2 64 chars, ret=-1
ping: sendto: No route to host
ping: wrote 200.13.161.2 64 chars, ret=-1
ping: sendto: No route to host
ping: wrote 200.13.161.2 64 chars, ret=-1
64 bytes from 200.13.161.2: icmp_seq=4 ttl=255 time=0.717 ms
64 bytes from 200.13.161.2: icmp_seq=5 ttl=255 time=0.478 ms
64 bytes from 200.13.161.2: icmp_seq=6 ttl=255 time=0.512 ms
--- 200.13.161.2 ping statistics ---
7 packets transmitted, 3 packets received, 57.1% packet loss
round-trip min/avg/max/std-dev = 0.478/0.569/0.717/0.105 ms


first,  i get No route to host, after a few seconds i got response, a 
few second later a try again and the same No route to host problem.

any advise?

BTW , im running openbsd 3.8 on sun netra v120
thanks



Re: Quad-port GigE NIC

2006-01-31 Thread Arrigo Triulzi

The tech spec of that Quad Port card talks about
Width:  10.7 cm (4.2 in.)
Length: 16/5 cm (6.5 in.)

Which is not low-profile but a normal PCI card.
There is no such thing as a half-height slot. There is only 
low-profile.
Because low-profile (64mm) is bigger than half a normal PCI (107mm) 
card.


My apologies, I read the wrong link.  The one I was looking at was 
indeed a 2x UTP socket card and then I looked at the 4x UTP and didn't 
realise that it was back to full-height.


And my apologies for getting the naming convention wrong.


2 ports on low profile are no problem and I think you can find em(4) in
that form factor. As I said I doubt that someone packed 4 ports on a
low-profile card.


Indeed, I have one of those already.  I need another port but nobody 
seems to make a 3-port em(4) (or anything else for that matter) which 
is all I want...


Arrigo



Re: Quad-port GigE NIC

2006-01-31 Thread Claudio Jeker
On Tue, Jan 31, 2006 at 03:54:27PM +0100, Arrigo Triulzi wrote:
> >AFAIK it is not possible to fit a quad port Ethernet card into a
> >low-profile PCI slot. The 4 RJ45 ports need more space than allowed by 
> >the
> >PCI spec.
> 
> Actually the card in the tinyurl link I sent claims to fit the 
> half-height slot of the HPQ DL320 G3 (I have a 3Ware SATA RAID card in 
> the other).

The tech spec of that Quad Port card talks about
Width:  10.7 cm (4.2 in.)
Length: 16/5 cm (6.5 in.)

Which is not low-profile but a normal PCI card.
There is no such thing as a half-height slot. There is only low-profile.
Because low-profile (64mm) is bigger than half a normal PCI (107mm) card.

> 
> I don't know how they do it.  In reality I'd only need three but it 
> seems that it is either 2 or 4...
> 

2 ports on low profile are no problem and I think you can find em(4) in
that form factor. As I said I doubt that someone packed 4 ports on a
low-profile card.

-- 
:wq Claudio



hardware: IBM e326m test results

2006-01-31 Thread Srebrenko Sehic
Again, some bad news. This time, bge(4) is acting up. It seems like
BCM5780 is not configured properly resulting in "bge0: watchdog
timeout -- resetting" kernel messages even with light network
activity. Forcing media settings helps a bit; performance drops to
around 200kb/sec and you simply delay "watchdog timeout".

We're looking into fixing this issue. I just wanted to give you heads
up if you're looking for IBM hardware to buy/run.

As always, more details are available at http://www.armorlogic.com/oscl/

dmesg for IBM e326m:

OpenBSD 3.9-beta (GENERIC.MP) #710: Mon Jan 30 13:49:52 MST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3757023232 (3668968K)
avail mem = 3224174592 (3148608K)
using 22937 buffers containing 375910400 bytes (367100K) of memory
mainbus0 (root)
ipmi0 at mainbus0: version 1.5 interface KCS iobase 0xca2/2 spacing 1
mainbus0: Intel MP Specification (Version 1.4) (AMD  HAMMER  )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Dual Core AMD Opteron(tm) Processor 280, 2394.36 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Dual Core AMD Opteron(tm) Processor 280, 2394.00 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB
64b/line 16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
mpbios: bus 0 is type PCI
mpbios: bus 1 is type PCI
mpbios: bus 2 is type PCI
mpbios: bus 3 is type PCI
mpbios: bus 4 is type PCI
mpbios: bus 5 is type PCI
mpbios: bus 6 is type PCI
mpbios: bus 7 is type PCI
mpbios: bus 8 is type PCI
mpbios: bus 9 is type ISA
ioapic0 at mainbus0 apid 4: pa 0x860a2e24, version 11, 16 pins
ioapic1 at mainbus0 apid 5: pa 0x860a2d24, version 11, 16 pins
ioapic2 at mainbus0 apid 6: pa 0x860a2c24, version 11, 16 pins
pci0 at mainbus0 bus 0: configuration mode 1
ppb0 at pci0 dev 1 function 0 vendor "ServerWorks", unknown product
0x0036 rev 0x00
pci1 at ppb0 bus 1
ppb1 at pci1 dev 13 function 0 vendor "ServerWorks", unknown product
0x0104 rev 0xb2
pci2 at ppb1 bus 2
mpt0 at pci2 dev 3 function 0 "Symbios Logic 53c1030" rev 0x08: apic 5
int 2 (irq 11)
mpt0: sending FW Upload request to IOC (size: 36, img size: 69624)
mpt0: IM support: 6
scsibus0 at mpt0: 16 targets
sd0 at scsibus0 targ 0 lun 0:  SCSI3
0/direct fixed
sd0: 34715MB, 27150 cyl, 4 head, 654 sec, 512 bytes/sec, 71096640 sec total
sd1 at scsibus0 targ 1 lun 0:  SCSI3
0/direct fixed
sd1: 34715MB, 27150 cyl, 4 head, 654 sec, 512 bytes/sec, 71096640 sec total
mpt0: target 0 Synchronous at 160MHz width 16bit offset 127 QAS 0 DT 1 IU 1
mpt0: target 1 Synchronous at 160MHz width 16bit offset 127 QAS 0 DT 1 IU 1
pciide0 at pci1 dev 14 function 0 "ServerWorks HT-1000 SATA" rev 0x00: DMA
pciide0: using apic 4 int 10 (irq 10) for native-PCI interrupt
pciide0: port 0: SStatus=0x0004, SControl=0x0004
pciide0: port 0: PHY offline
pciide0: port 1: SStatus=0x0004, SControl=0x0004
pciide0: port 1: PHY offline
pciide0: port 2: SStatus=0x0004, SControl=0x0004
pciide0: port 2: PHY offline
pciide0: port 3: SStatus=0x0004, SControl=0x0004
pciide0: port 3: PHY offline
pciide1 at pci1 dev 14 function 1 "ServerWorks HT-1000 SATA" rev 0x00:
unable to map BA5 register space
pchb0 at pci0 dev 2 function 0 vendor "ServerWorks", unknown product
0x0205 rev 0x00
pciide2 at pci0 dev 2 function 1 "ServerWorks HT-1000 IDE" rev 0x00: DMA
atapiscsi0 at pciide2 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0:  SCSI0
5/cdrom removable
cd0(pciide2:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 0
pcib0 at pci0 dev 2 function 2 vendor "ServerWorks", unknown product
0x0234 rev 0x00
ohci0 at pci0 dev 3 function 0 vendor "ServerWorks", unknown product
0x0223 rev 0x01: apic 4 int 10 (irq 10), version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: ServerWorks OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci0 dev 3 function 1 vendor "ServerWorks", unknown product
0x0223 rev 0x01: apic 4 int 10 (irq 10), version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: ServerWorks OHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 3 function 2 vendor "ServerWorks", unknown product
0x0223 rev 0

Re: Quad-port GigE NIC

2006-01-31 Thread Arrigo Triulzi

AFAIK it is not possible to fit a quad port Ethernet card into a
low-profile PCI slot. The 4 RJ45 ports need more space than allowed by 
the

PCI spec.


Actually the card in the tinyurl link I sent claims to fit the 
half-height slot of the HPQ DL320 G3 (I have a 3Ware SATA RAID card in 
the other).


I don't know how they do it.  In reality I'd only need three but it 
seems that it is either 2 or 4...


Arrigo



Re: ath0 or rtw0 will not connect to wireless network.

2006-01-31 Thread Joshua Kampmeier
UPDATE:  I was still unable to get the card to connect to my network. I'm
going to try to get the latest cvs from -current and rebuild to see if that
makes a difference. (Anyone know if there are any wireless framework changes
between 3.8 and current?) I will also try to play around with the settings
on my routerhopefully I can get somewhere with this...

Thanks again.



Re: DVD burning, cdrloots, dvdrtools, dvd+rw_tools on OpenBSD-3.8

2006-01-31 Thread Jonathan Gray
On Tue, Jan 31, 2006 at 04:40:49PM +0500, Dmitry Slobodchikov wrote:
> Hi everybody-)
> 
> I've got two burners:
> 
> NEC ND-3540A
> PIONEER DVR-110D
> 
> but I got ext lines by the both
> 
> Based on:
> Cdrecord 1.11a15 (i386-unknown-openbsd3.8) Copyright (C) 1995-2001 JFrg 
> Schilling
> scsidev: '/dev/dvd'
> devname: '/dev/dvd'
> scsibus: -2 target: -2 lun: -2
> Using libscg version 'bero-0.5a'
> ./dvdrecord: Warning: using inofficial version of libscg (bero-0.5a 
> '@(#)scsitransp.c   1.81 01/04/20 Copyright 1988,1995,2000 J. Schilling').
> Device type: Removable CD-ROM
> Version: 0
> Response Format: 2
> Capabilities   :
> Vendor_info: 'PIONEER '
> Identifikation : 'DVD-RW  DVR-110D'
> Revision   : '1.17'
> Device seems to be: Generic mmc2 DVD.
> Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
> Driver flags   : SWABAUDIO BURNFREE
> Supported modes: PACKET SAO
> Starting to write CD/DVD at speed 1 in write mode for single session.
> Last chance to quit, starting real write in 0 seconds. Operation starts.
> ./dvdrecord: Input/output error. blank unit: scsi sendcmd: retryable error
> CDB:  A1 01 00 00 00 00 00 00 00 00 00 00
> status: 0x0 (GOOD STATUS)
> cmd finished after 0.005s timeout 9600s
> ./dvdrecord: Cannot blank disk, aborting.
> 
> 
> If I using CD-RW, then thas't OK.
> 
> What't wrong about my hands?-))

Use growisofs not cdrecord to write DVDs.

See http://www.openbsd.org/faq/faq13.html#writeDVD for a discussion of it.



Re: MP kernels and wd0 errors on AMD64

2006-01-31 Thread mickey
On Tue, Jan 31, 2006 at 12:24:48PM +1100, Nicholas Young wrote:
> On Mon, Jan 30, 2006 at 04:40:29PM +0100, mickey wrote:
> > On Mon, Jan 30, 2006 at 05:46:17PM +1100, Nicholas Young wrote:
> > > Hello
> > re
> > 
> > > When booting with the standard kernel everything works fine and I
> > > can login/use the machine, run stress without any errors.
> > > 
> > > When booting with the MP kernel it will get to mounting the drive and
> > > freeze, partial boot log below of where the error occurs.
> > > 
> > > I have tested this with AMD64/i386 of 3.8 and the AMD64 snapshot
> > > 24 Jan 2006. 
> > 
> > (i'm not sure what you mean by amd64/i386 ;)
> 
> I tested it with 3.8 AMD64 and then 3.8 i386.
> 
> > can you give a try to i386 (not amd64) fresh snap plz?
> 
> I loaded the i386 snapshot from 24 Jan 06 and it had the same final
> error.
> 
> It also gave during the boot:
> biomask 0 netmask 0 ttymask 0
> ioapic0: pin 3 shares different IPL interrupts (40..50), degraded
> performance
> ioapic0: pin 5 shares different IPL interrupts (40..90), degraded
> performance
> pctr: user-level counter enabled
> apm0: disconnected
> wd0(pciide2:0:0): timeout
>   type: ata
>   c_bcount: 512
>   c_skip: 0
> wd0(pciide2:0:0): timeout
>   type: ata
>   c_bcount: 512
>   c_skip: 0

can you try non-smp kernel plz?
also if that fails try disable pcibios in ukc> .
same plz try w/ smp kernel if disabling pcibios change anything.
(to get to ukc do boot -c and then "disable pcibios" at UKC> prompt)

cu
-- 
paranoic mickey   (my employers have changed but, the name has remained)



Re: Quad-port GigE NIC

2006-01-31 Thread Claudio Jeker
On Tue, Jan 31, 2006 at 11:32:42AM +0100, Arrigo Triulzi wrote:
> Does anyone have good experiences with a low-profile PCI Quad-port 
> adapter under OpenBSD?
> 
> I've found the following which appears to use a Broadcom chipset (bge*):
> 
>Interphase SlotOptimizerTM 554GB PCI/PCI-X Quad-Port Gigabit 
> Ethernet Adapter
>http://tinyurl.com/d9bsu
> 
> I would greatly appreciate any recommendations for low-profile 
> Quad-port cards which are known to work on OpenBSD (this one needs to 
> go in the half-height PCI slot of an HPQ DL320G3).
> 

AFAIK it is not possible to fit a quad port Ethernet card into a
low-profile PCI slot. The 4 RJ45 ports need more space than allowed by the
PCI spec.

-- 
:wq Claudio



DVD burning, cdrloots, dvdrtools, dvd+rw_tools on OpenBSD-3.8

2006-01-31 Thread Dmitry Slobodchikov
Hi everybody-)

I've got two burners:

NEC ND-3540A
PIONEER DVR-110D

but I got ext lines by the both

Based on:
Cdrecord 1.11a15 (i386-unknown-openbsd3.8) Copyright (C) 1995-2001 JFrg 
Schilling
scsidev: '/dev/dvd'
devname: '/dev/dvd'
scsibus: -2 target: -2 lun: -2
Using libscg version 'bero-0.5a'
./dvdrecord: Warning: using inofficial version of libscg (bero-0.5a 
'@(#)scsitransp.c   1.81 01/04/20 Copyright 1988,1995,2000 J. Schilling').
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   :
Vendor_info: 'PIONEER '
Identifikation : 'DVD-RW  DVR-110D'
Revision   : '1.17'
Device seems to be: Generic mmc2 DVD.
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags   : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Starting to write CD/DVD at speed 1 in write mode for single session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
./dvdrecord: Input/output error. blank unit: scsi sendcmd: retryable error
CDB:  A1 01 00 00 00 00 00 00 00 00 00 00
status: 0x0 (GOOD STATUS)
cmd finished after 0.005s timeout 9600s
./dvdrecord: Cannot blank disk, aborting.


If I using CD-RW, then thas't OK.

What't wrong about my hands?-))



-- 
Q sb`femhel,
 Dmitry  mailto:[EMAIL PROTECTED]



Re: Snapshot and network connections trouble

2006-01-31 Thread Björn Ketelaars

Moritz Grimm wrote:

Bjvrn Ketelaars wrote:
Last week (January 24, 2006) I updated our gateway to snapshot (i386). 
Everything seems to work fine except that users are complaining about 
internet-connections being dropped. The main complaint is that it is 
possible to use the internet but it is not possible to transfer files. 
I checked this complaint, and indeed there are some problems best 
described as connections being closed to fast.
As a test I reverted to a backup (Snapshot December 29, 2005) which 
solved the dropping of connections.


Is there anyone who recognizes this problem and maybe has a solution?

[...]
pass in on $wan_if inet proto tcp from ! to 10.0.0.100 port 
5000 flags S/SA synproxy state
pass in on $wan_if inet proto udp from ! to 10.0.0.100 port 
5000 keep state
pass out on $wan_if proto tcp from any to ! modulate state 
flags S/SA

[...]

It looks like this could be related to modulate/synproxy state being 
currently broken: 
http://marc.theaimsgroup.com/?l=openbsd-pf&m=113844738811816&w=2


It would be interesting to know if the patch helps, I suppose?


Moritz



Applied the path, compiled and tested the new kernel. Everything works 
fine now!


Thanks



Quad-port GigE NIC

2006-01-31 Thread Arrigo Triulzi
Does anyone have good experiences with a low-profile PCI Quad-port 
adapter under OpenBSD?


I've found the following which appears to use a Broadcom chipset (bge*):

   Interphase SlotOptimizerTM 554GB PCI/PCI-X Quad-Port Gigabit 
Ethernet Adapter

   http://tinyurl.com/d9bsu

I would greatly appreciate any recommendations for low-profile 
Quad-port cards which are known to work on OpenBSD (this one needs to 
go in the half-height PCI slot of an HPQ DL320G3).


Thanks in advance,

Arrigo



Re: fatal: evp_crypt: EVP_Cipher failed

2006-01-31 Thread Hans-Joerg Hoexer
yes, these cards have issues.  The only advice I can give is to set
kern.usercrypto=0.  I tried to debug this several times, but I did
not find a test case that produces this issue reliably.

On Mon, Jan 30, 2006 at 04:46:49PM -0600, Sean Cody wrote:
> I have been having issues lately with the HiFn based crypto cards  
> locking up in 3.7 and 3.8.
> They are usually fine but under some undefined load they lock up and  
> it seems rather random as to when it happens and how much load causes  
> it.
> 
> The cards are used to help out with a VPN between a few far flung  
> machines but they are all i386.
> I've encountered this on two Soekris NET4501's and on a single Athlon  
> machine.
> 
> The only real clue is in the authlog where sshd reports:
> sshd []: fatal: evp_crypt: EVP_Cipher failed
> 
> SSHD and isakmpd are both seeminly locked up but I can get into the  
> machine if I use the blowfish protocol which isn't supported on the  
> HiFn card thereby leading me to think there is a bug in the driver or  
> the card itself where it's not servicing an interrupt or is stuck  
> waiting for an interrupt which will never come.
> 
> The dmesg on the machines have the following line:
> hifn0 at pci0 dev 13 function 0 "Hifn 7955/7954" rev 0x00: LZS 3DES  
> ARC4 MD5 SHA1 RNG AES PK, 32KB dram, irq 9
> 
> As well the cards in question are the VPN1401 (PCI) and VPN1411  
> (MiniPCI).
> Since there is no kernel panic I'm sort of at a loss as to how to  
> track this down better.
> 
> As far as the kernels go, I am using 3.8_GENERIC on the Athlon and a  
> stripped (via flashdist) version of 3.8 on the NET4501's.
> 
> Again these lockups are always under some sort of load over the VPN  
> (VNC, file transfers ) and are for the most part random.
> 
> Does anyone have any suggestions on how to track this down?
> My current solution is just 'ssh somehost -c blowfish reboot' though  
> that is obviously far from optimal.
> 
> -- 
> Sean



Re: Clustering using OpenBSD

2006-01-31 Thread unixadmin99
> They're all firewalls; Theo gets hit with a lot of malicious traffic.
>
>
s/gets hit with/attracts

*ducks*

--
~michael



problem running sharity-light at system startup

2006-01-31 Thread Valerio G. Romano
Hello all,

I am having a problem running sharity-light at startup.
I am running:

-bash-3.00$ uname -a
OpenBSD my.hostname 3.8 GENERIC#425 macppc
(dmesg appended at bottom of this email)

I added this line to rc.local:

/usr/local/sbin/shlight //fileserver-host/public /mnt/myshare -U
myusername -P mypasswd -w

I reboot and the windows drive is not mounted.  I run the exact same
command as root (with sudo) from a bash shell and it is mounted and I
can do an ls in /mnt/myshare/ or browse it with a samba share, and my
files are there.

I searched all the archives, and found one answer here:
(I also found a few other people with the same problem)

http://openbsd.toybed.com/archive/2003/msg13352.html

but I am embarrassed to admit that I do not see how the output of that
diff solves my problem.

Following another suggestion I read, I made an external script which is
very similar and call that script in rc.local.  That script is
executable.  It still does not work.

My question is this: how do I execute the shlight command at startup
without having to log in after the machine starts and run it myself?

-The rest of this email is simply further explanation to make sure I
covered my basis, my apologies for my longwindedness.-


Unfortunately, it has been years since my sysadmin days (law
school...yadda yadda).  Nonetheless, just playing around recently I
installed OpenBSD 3.8 on an old G4 I had never turned on, the install
worked effortlessly, OpenBSD kicks butt! OpenVPN went on and runs with
only slightly more effort, ditto on Samba.  I convinced the windows
admin to forward a couple ports to the pretty G4 in my cluttered office
(that cost me a bottle of scotch)...

then I put on sharity-light:

-bash-3.00$ shlight -v
shlight: Version 1.1 (1998-11-16)

which interestingly is the version that installs with a pkg_add -rv on
the following link:

ftp://ftp.openbsd.org/pub/OpenBSD/3.8/packages/powerpc/sharity-light-1.2.tgz

I mounted my windows drive without too much problem.  The VPN works
great from my laptop anywhere.  I can get all my other processes
starting with rc.local or inetd.conf.   As explained above, I can not
get the windows drive mounted on my OpenBSD machine with sharity-light
(or otherwise) on system startup.  It seems silly that simply getting
this final process to run on start up is keeping this project from
completion.

I welcome any ideas or help, including suggestions on another package or
method to mount windows machines on my OpenBSD machine, on the same
subnet, with no special networking considerations. Sharity-light has
worked thus far without much problem (except for the aforementioned
problems at system startup, and /usr/local/sbin/unshlight -a never
actually works), but the lack of documentation, including man pages and
mailing lists, and the negative feedback in some of what I read makes me
think there must be a better alternative.  I would simply use OpenVPN as
a bridge to the windows network, but I do not have access to the DHCP
server to break off a chunk of our subnet, I can't afford that much scotch.


Thanks very much,


Valerio


p.s I have appended my dmesg:

9 headphones
audio0 at awacs0
adb0 at macobio0 irq 18: via-cuda , 0 targets
aed0 at adb0 addr 0: ADB Event device
wdc0 at macobio0 irq 13: DMA
atapiscsi0 at wdc0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  SCSI0
5/cdrom removable
atapiscsi1 at wdc0 channel 0 drive 1
scsibus1 at atapiscsi1: 2 targets
sd0 at scsibus1 targ 0 lun 0:  SCSI0 0/direct
removable
sd0: drive offline
cd0(wdc0:0:0): using BIOS timings, DMA mode 2
sd0(wdc0:0:1): using BIOS timings
bm0 at macobio0 irq 42,33: address 00:50:e4:59:20:49
lxtphy0 at bm0 phy 0: LXT970 10/100 PHY, rev. 3
ohci0 at pci1 dev 6 function 0 "Opti 82C861" rev 0x10: irq 28, version
1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Opti OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
vgafb0 at pci0 dev 16 function 0 "ATI Rage 128 GL" rev 0x00, mmio
wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
uhub1 at uhub0 port 1
uhub1: Mitsumi Electric Hub in Apple USB Keyboard, rev 1.10/2.11, addr 2
uhub1: 3 ports with 2 removable, bus powered
uhidev0 at uhub1 port 1 configuration 1 interface 0
uhidev0: Mitsumi Electric Apple USB Keyboard, rev 1.00/1.03, addr 3,
iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd0 at ukbd0: console keyboard, using wsdisplay0
bootpath: '/pci/@d/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/bsd'
boot device: wd0.
root on wd0a
rootdev=0x0 rrootdev=0xb00 rawdev=0xb02
9 headphones
audi
[ using 323864 bytes of bsd ELF symbol table ]
console out [ATY,Rage128y]console in [keyboard] USB and ADB found, using USB
: memaddr 8400 size 400, : consaddr 8400, : ioaddr 80b2,
size 2: memtag 8000, iotag 8000: width 640 linebytes 640 height 480
depth 8
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of Cali

Re: Alias IP on a trunk(4) interface

2006-01-31 Thread Bruno Carnazzi
Oups sorry,it just works. Posting too early...

$ ifconfig trunk0
trunk0: flags=8843 mtu 1500
lladdr 00:02:a5:29:15:f0
trunk: trunkproto roundrobin
trunkport xl0
trunkport fxp0 master
groups: trunk egress
media: Ethernet autoselect
status: active
inet 172.20.3.100 netmask 0xfe00 broadcast 172.20.3.255
inet 197.7.70.222 netmask 0xff00 broadcast 197.7.70.255



On 1/31/06, Bruno Carnazzi <[EMAIL PROTECTED]> wrote:
>   Hi all,
>
> I'd like to add some alias IP to a trunk(4) interface and it doesn't
> seem to work...
> Here's is my ifconfig -a just after booting :
>
> $ ifconfig -a
> lo0: flags=8049 mtu 33224
> groups: lo
> inet 127.0.0.1 netmask 0xff00
> inet6 ::1 prefixlen 128
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
> fxp0: flags=8943 mtu 1500
> lladdr 00:02:a5:29:15:f0
> trunk: trunkdev trunk0
> media: Ethernet autoselect (100baseTX full-duplex)
> status: active
> inet6 fe80::202:a5ff:fe29:15f0%fxp0 prefixlen 64 scopeid 0x1
> xl0: flags=8943 mtu 1500
> lladdr 00:0a:5e:5a:c9:a4
> trunk: trunkdev trunk0
> media: Ethernet autoselect (100baseTX full-duplex)
> status: active
> inet6 fe80::20a:5eff:fe5a:c9a4%xl0 prefixlen 64 scopeid 0x2
> pflog0: flags=0<> mtu 33224
> pfsync0: flags=0<> mtu 1348
> enc0: flags=0<> mtu 1536
> trunk0: flags=8843 mtu 1500
> lladdr 00:02:a5:29:15:f0
> trunk: trunkproto roundrobin
> trunkport xl0
> trunkport fxp0 master
> groups: trunk egress
> media: Ethernet autoselect
> status: active
> inet 172.20.3.100 netmask 0xfe00 broadcast 172.20.3.255
>
> And here is my /etc/hostname.trunk0 :
> !/sbin/ifconfig fxp0 up
> !/sbin/ifconfig xl0 up
>
> inet 172.20.3.100 255.255.254.0 NONE trunkport fxp0 trunkport xl0
> inet alias 197.7.70.222 255.255.255.0
> up
>
> The 197.7.70.200 alias does not appears...
> Refering to http://www.openbsd.org/faq/faq6.html#Setup, this command :
> ifconfig trunk0 inet alias 197.7.70.222 netmask 255.255.255.255 should
> do the trick. But not. Silently retrurn with a null error code.
>
> The CAVEATS section of man 4 trunk does not reports this.
>
> Got an idea ?
>
> Thank you,
>
> Bruno.



Alias IP on a trunk(4) interface

2006-01-31 Thread Bruno Carnazzi
  Hi all,

I'd like to add some alias IP to a trunk(4) interface and it doesn't
seem to work...
Here's is my ifconfig -a just after booting :

$ ifconfig -a
lo0: flags=8049 mtu 33224
groups: lo
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
fxp0: flags=8943 mtu 1500
lladdr 00:02:a5:29:15:f0
trunk: trunkdev trunk0
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::202:a5ff:fe29:15f0%fxp0 prefixlen 64 scopeid 0x1
xl0: flags=8943 mtu 1500
lladdr 00:0a:5e:5a:c9:a4
trunk: trunkdev trunk0
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::20a:5eff:fe5a:c9a4%xl0 prefixlen 64 scopeid 0x2
pflog0: flags=0<> mtu 33224
pfsync0: flags=0<> mtu 1348
enc0: flags=0<> mtu 1536
trunk0: flags=8843 mtu 1500
lladdr 00:02:a5:29:15:f0
trunk: trunkproto roundrobin
trunkport xl0
trunkport fxp0 master
groups: trunk egress
media: Ethernet autoselect
status: active
inet 172.20.3.100 netmask 0xfe00 broadcast 172.20.3.255

And here is my /etc/hostname.trunk0 :
!/sbin/ifconfig fxp0 up
!/sbin/ifconfig xl0 up

inet 172.20.3.100 255.255.254.0 NONE trunkport fxp0 trunkport xl0
inet alias 197.7.70.222 255.255.255.0
up

The 197.7.70.200 alias does not appears...
Refering to http://www.openbsd.org/faq/faq6.html#Setup, this command :
ifconfig trunk0 inet alias 197.7.70.222 netmask 255.255.255.255 should
do the trick. But not. Silently retrurn with a null error code.

The CAVEATS section of man 4 trunk does not reports this.

Got an idea ?

Thank you,

Bruno.