Re: Cisco PIX 4-port 10/100 card in OpenBSD-current

2003-02-26 Thread Roger Skjetlein
Why are the Intel cards better than anything else?
How does Intel compare to the 3Com905C for instance?
Everyone claims that Intel is the thing, but haven't actualley seen any 
documentation on this yet.

At 19:31 25.02.2003, Srebrenko Sehic wrote:
For all you pf firewall builders. I just tried installing a Cisco 4-port
card (PIX-4FE; used in Cisco PIX firewalls) into my OpenBSD-current box
and guess what? It works like a charm, so I wanted to share it.
I know people often ask for this type of devices.
Interfaces are detected as separate fxp(4) cards (we all know how good
they are). Dmesg is below. I haven't had a chance to test it in detail,
but so far, they seem to work VERY good.
The PCI bus might turn out to be a bottleneck, though!

Dmesg is below.

// haver

OpenBSD 3.3-beta (GENERIC) #1: Thu Feb 20 18:12:15 CET 2003
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD K6-2 (AuthenticAMD 586-class) 451 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX
real mem  = 268005376 (261724K)
avail mem = 242663424 (236976K)
using 3297 buffers containing 13504512 bytes (13188K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(06) BIOS, date 07/16/99, BIOS32 rev. 0 @ 0xf0690
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 @ 0xf/0xd42
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xf0ca0/160 (8 entries)
pcibios0: PCI Interrupt Router at 000:07:0 (Acer Labs M1543 PCI-ISA rev 
0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x3000
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Acer Labs M1541 Host-PCI rev 0x04
ppb0 at pci0 dev 1 function 0 Acer Labs M5243 AGP/PCI-PCI rev 0x04
pci1 at ppb0 bus 1
Acer Labs M7101 Power Mgmt rev 0x00 at pci0 dev 3 function 0 not configured
pcib0 at pci0 dev 7 function 0 Acer Labs M1543 PCI-ISA rev 0xc3
adv0 at pci0 dev 9 function 0 Advansys ABP-930/40UA rev 0x02: irq 7
scsibus0 at adv0: 7 targets
ppb1 at pci0 dev 10 function 0 DEC 21154 PCI-PCI rev 0x02
pci2 at ppb1 bus 2
fxp0 at pci2 dev 0 function 0 Intel 82557 rev 0x05: irq 3, address 
00:e0:b6:01:07:82
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 0
fxp1 at pci2 dev 1 function 0 Intel 82557 rev 0x05: irq 7, address 
00:e0:b6:01:07:81
inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 0
fxp2 at pci2 dev 2 function 0 Intel 82557 rev 0x05: irq 11, address 
00:e0:b6:01:07:80
inphy2 at fxp2 phy 1: i82555 10/100 media interface, rev. 0
fxp3 at pci2 dev 3 function 0 Intel 82557 rev 0x05: irq 10, address 
00:e0:b6:01:07:7f
inphy3 at fxp3 phy 1: i82555 10/100 media interface, rev. 0
vga1 at pci0 dev 12 function 0 Matrox MGA G200 PCI rev 0x01
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
eap0 at pci0 dev 13 function 0 Ensoniq AudioPCI rev 0x00: irq 7
audio0 at eap0
pciide0 at pci0 dev 15 function 0 Acer Labs M5229 UDMA IDE rev 0xc1: 
DMA, channel 0 configured to compatibility, channel 1 configured to 
compatibility
wd0 at pciide0 channel 0 drive 0: IBM-DTLA-307045
wd0: 16-sector PIO, LBA, 32253MB, 16383 cyl, 16 head, 63 sec, 66055244 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd1 at pciide0 channel 1 drive 0: IBM-DTTA-351010
wd1: 16-sector PIO, LBA, 9671MB, 16383 cyl, 16 head, 63 sec, 19807200 sectors
atapiscsi0 at pciide0 channel 1 drive 1
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: TOSHIBA, CD-ROM XM-6402B, 1008 SCSI0 
5/cdrom removable
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
cd0(pciide0:1:1): using PIO mode 4
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: PC speaker
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask c0c0 netmask ccc8 ttymask dcca
pctr: user-level cycle counter enabled
mtrr: K6-family MTRR support (2 registers)
dkcsum: wd0 matched BIOS disk 80
dkcsum: wd1 matched BIOS disk 81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302




Re: Cisco PIX 4-port 10/100 card in OpenBSD-current

2003-02-26 Thread Philipp Buehler - sysfive.com GmbH
On 26/02/2003, Attila Nagy [EMAIL PROTECTED] wrote To Roger Skjetlein:
 I have at least 3 3com905 cards (don't know the exact subtypes) which
 works, present you a link and a blazingly fast 6 kB/s transfer rate on a
 fast ethernet network.

yah, you dont know. 3com *can* be ok, but usually they *suck*.
I remember a discussion where one told 3com is cool, after breakage
I got a new one within days on warranty .. yeah, right, but isnt it
better if they do NOT break in first place? Second, if you get re-
placements from 3com it CAN HAPPEN that everything looks the same
(including software serial numbers), but the firmware has changed
in an unknown way and the driver doesnt work any longer. nuff said.

 Older Intels had their bugs too, they locked up after some traffic sent
 through them, but I think this was solved at the driver level after some
 reading from the original Intel driver.

dont speculate. probably you are talking about i82562 (integrated on
i815) which had slightly different buffers in the chip and with this
chip intel stopped handing out real specs. thus no real drivers can
be written. one has to reverse engineer that, there are no free docs
on it (at least those days).

they all suck.

ciao
-- 
 Philipp Buehler  -  [EMAIL PROTECTED]  -  http://sysfive.com/
 sysfive.com GmbH - UNIX. Networking. Security. Applications.
 Steilshooperstr. 184, 22305 Hamburg, Germany - GSM +49-179-1136646



Cisco PIX 4-port 10/100 card in OpenBSD-current

2003-02-25 Thread Srebrenko Sehic
For all you pf firewall builders. I just tried installing a Cisco 4-port
card (PIX-4FE; used in Cisco PIX firewalls) into my OpenBSD-current box
and guess what? It works like a charm, so I wanted to share it.
I know people often ask for this type of devices.

Interfaces are detected as separate fxp(4) cards (we all know how good
they are). Dmesg is below. I haven't had a chance to test it in detail,
but so far, they seem to work VERY good.

The PCI bus might turn out to be a bottleneck, though!

Dmesg is below.

// haver

OpenBSD 3.3-beta (GENERIC) #1: Thu Feb 20 18:12:15 CET 2003
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD K6-2 (AuthenticAMD 586-class) 451 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX
real mem  = 268005376 (261724K)
avail mem = 242663424 (236976K)
using 3297 buffers containing 13504512 bytes (13188K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(06) BIOS, date 07/16/99, BIOS32 rev. 0 @ 0xf0690
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 @ 0xf/0xd42
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xf0ca0/160 (8 entries)
pcibios0: PCI Interrupt Router at 000:07:0 (Acer Labs M1543 PCI-ISA rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x3000
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Acer Labs M1541 Host-PCI rev 0x04
ppb0 at pci0 dev 1 function 0 Acer Labs M5243 AGP/PCI-PCI rev 0x04
pci1 at ppb0 bus 1
Acer Labs M7101 Power Mgmt rev 0x00 at pci0 dev 3 function 0 not configured
pcib0 at pci0 dev 7 function 0 Acer Labs M1543 PCI-ISA rev 0xc3
adv0 at pci0 dev 9 function 0 Advansys ABP-930/40UA rev 0x02: irq 7
scsibus0 at adv0: 7 targets
ppb1 at pci0 dev 10 function 0 DEC 21154 PCI-PCI rev 0x02
pci2 at ppb1 bus 2
fxp0 at pci2 dev 0 function 0 Intel 82557 rev 0x05: irq 3, address 00:e0:b6:01:07:82
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 0
fxp1 at pci2 dev 1 function 0 Intel 82557 rev 0x05: irq 7, address 00:e0:b6:01:07:81
inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 0
fxp2 at pci2 dev 2 function 0 Intel 82557 rev 0x05: irq 11, address 00:e0:b6:01:07:80
inphy2 at fxp2 phy 1: i82555 10/100 media interface, rev. 0
fxp3 at pci2 dev 3 function 0 Intel 82557 rev 0x05: irq 10, address 00:e0:b6:01:07:7f
inphy3 at fxp3 phy 1: i82555 10/100 media interface, rev. 0
vga1 at pci0 dev 12 function 0 Matrox MGA G200 PCI rev 0x01
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
eap0 at pci0 dev 13 function 0 Ensoniq AudioPCI rev 0x00: irq 7
audio0 at eap0
pciide0 at pci0 dev 15 function 0 Acer Labs M5229 UDMA IDE rev 0xc1: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: IBM-DTLA-307045
wd0: 16-sector PIO, LBA, 32253MB, 16383 cyl, 16 head, 63 sec, 66055244 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd1 at pciide0 channel 1 drive 0: IBM-DTTA-351010
wd1: 16-sector PIO, LBA, 9671MB, 16383 cyl, 16 head, 63 sec, 19807200 sectors
atapiscsi0 at pciide0 channel 1 drive 1
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: TOSHIBA, CD-ROM XM-6402B, 1008 SCSI0 5/cdrom removable
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
cd0(pciide0:1:1): using PIO mode 4
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: PC speaker
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask c0c0 netmask ccc8 ttymask dcca
pctr: user-level cycle counter enabled
mtrr: K6-family MTRR support (2 registers)
dkcsum: wd0 matched BIOS disk 80
dkcsum: wd1 matched BIOS disk 81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302



Cisco PIX 4-port 10/100 card in OpenBSD-current

2003-02-25 Thread Srebrenko Sehic
For all you pf firewall builders. I just tried installing a Cisco 4-port
card (PIX-4FE; used in Cisco PIX firewalls) into my OpenBSD-current box
and guess what? It works like a charm, so I wanted to share it.
I know people often ask for this type of devices.

Interfaces are detected as separate fxp(4) cards (we all know how good
they are). Dmesg is below. I haven't had a chance to test it in detail,
but so far, they seem to work VERY good.

The PCI bus might turn out to be a bottleneck, though!

Dmesg is below.

// haver

OpenBSD 3.3-beta (GENERIC) #1: Thu Feb 20 18:12:15 CET 2003
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD K6-2 (AuthenticAMD 586-class) 451 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX
real mem  = 268005376 (261724K)
avail mem = 242663424 (236976K)
using 3297 buffers containing 13504512 bytes (13188K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(06) BIOS, date 07/16/99, BIOS32 rev. 0 @ 0xf0690
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 @ 0xf/0xd42
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xf0ca0/160 (8 entries)
pcibios0: PCI Interrupt Router at 000:07:0 (Acer Labs M1543 PCI-ISA rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x3000
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Acer Labs M1541 Host-PCI rev 0x04
ppb0 at pci0 dev 1 function 0 Acer Labs M5243 AGP/PCI-PCI rev 0x04
pci1 at ppb0 bus 1
Acer Labs M7101 Power Mgmt rev 0x00 at pci0 dev 3 function 0 not configured
pcib0 at pci0 dev 7 function 0 Acer Labs M1543 PCI-ISA rev 0xc3
adv0 at pci0 dev 9 function 0 Advansys ABP-930/40UA rev 0x02: irq 7
scsibus0 at adv0: 7 targets
ppb1 at pci0 dev 10 function 0 DEC 21154 PCI-PCI rev 0x02
pci2 at ppb1 bus 2
fxp0 at pci2 dev 0 function 0 Intel 82557 rev 0x05: irq 3, address 00:e0:b6:01:07:82
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 0
fxp1 at pci2 dev 1 function 0 Intel 82557 rev 0x05: irq 7, address 00:e0:b6:01:07:81
inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 0
fxp2 at pci2 dev 2 function 0 Intel 82557 rev 0x05: irq 11, address 00:e0:b6:01:07:80
inphy2 at fxp2 phy 1: i82555 10/100 media interface, rev. 0
fxp3 at pci2 dev 3 function 0 Intel 82557 rev 0x05: irq 10, address 00:e0:b6:01:07:7f
inphy3 at fxp3 phy 1: i82555 10/100 media interface, rev. 0
vga1 at pci0 dev 12 function 0 Matrox MGA G200 PCI rev 0x01
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
eap0 at pci0 dev 13 function 0 Ensoniq AudioPCI rev 0x00: irq 7
audio0 at eap0
pciide0 at pci0 dev 15 function 0 Acer Labs M5229 UDMA IDE rev 0xc1: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: IBM-DTLA-307045
wd0: 16-sector PIO, LBA, 32253MB, 16383 cyl, 16 head, 63 sec, 66055244 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd1 at pciide0 channel 1 drive 0: IBM-DTTA-351010
wd1: 16-sector PIO, LBA, 9671MB, 16383 cyl, 16 head, 63 sec, 19807200 sectors
atapiscsi0 at pciide0 channel 1 drive 1
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: TOSHIBA, CD-ROM XM-6402B, 1008 SCSI0 5/cdrom removable
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
cd0(pciide0:1:1): using PIO mode 4
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: PC speaker
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask c0c0 netmask ccc8 ttymask dcca
pctr: user-level cycle counter enabled
mtrr: K6-family MTRR support (2 registers)
dkcsum: wd0 matched BIOS disk 80
dkcsum: wd1 matched BIOS disk 81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302