OpenBSD 3.9 doesnt boot

2006-05-16 Thread Ricardo Santos
I have a machine (HP dx6 100MT) that boots with the 3.8 boot cd, but
doesn't with the 3.9 boot cd. It stops at the second UHCI.

Here is the screen of boot OpenBSD 3.9:

 OpenBSD/i386 BOOT 2.10
boot
booting hd0a:/bsd: 4966344+867848 [52+255872+237161]=0x608d64
entry point at 0x100120

[ using 493460 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights
reserved.
Copyright (c) 1995-2006 OpenBSD. All rights reserved.
http://www.OpenBSD.org

OpenBSD 3.9 (GENERIC) #617: Thu Mar  2 02:26:48 MST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz (GenuineIntel 686-class) 3 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CDreal 
mem  = 527949824 (515576K)
avail mem = 474705920 (463580K)
using 4278 buffers containing 26501120 bytes (25880K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(16) BIOS, date 09/13/04, BIOS32 rev. 0 @
0xeb520
pcibios0 at bios0: rev 2.2 @ 0xeb520/0x4ae0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf5360/256 (14 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801FB LPC rev
0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc/0xa800! 0xca800/0x1000 0xcb800/0x2000
0xe9c00/0x6400!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82915G/P/GV Host rev 0x04
vga1 at pci0 dev 2 function 0 Intel 82915G/P/GV Video rev 0x04:
aperture at 00wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb0 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x03
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 1 Intel 82801FB PCIE rev 0x03
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 Broadcom BCM5751 rev 0x01, BCM5750 A1
(0x4001):0brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
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 5
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered


And Here is the dmesg when I boot with OpenBSD 3.8:

OpenBSD 3.8 (RAMDISK_CD) #794: Sat Sep 10 15:58:32 MDT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz (GenuineIntel 686-class) 3 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,CNXT-ID
real mem  = 527949824 (515576K)
avail mem = 475840512 (464688K)
using 4278 buffers containing 26501120 bytes (25880K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(16) BIOS, date 09/13/04, BIOS32 rev. 0 @
0xeb520
pcibios0 at bios0: rev 2.2 @ 0xeb520/0x4ae0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf5360/256 (14 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x8086 product 0x2640
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc/0xa800! 0xca800/0x1000 0xcb800/0x2000
0xe9c00/0x6400!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 915G/P/GV Host rev 0x04
vga1 at pci0 dev 2 function 0 Intel 915G/P/GV Video rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
ppb0 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x03
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 1 Intel 82801FB PCIE rev 0x03
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 Broadcom BCM5751 rev 0x01, BCM5750 A1
(0x4001): irq 5 address 00:0f:fe:0d:4f:70
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
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 5
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x03: irq 10
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 dev 29 function 7 Intel 82801FB USB rev 0x03: irq 11
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb2 at pci0 dev 30 function 0 Intel 82801BA AGP rev 

GRE and WCCPv1

2006-02-07 Thread Ricardo Santos
Hi.

I am trying to configure a squid box (with dansguardian) with OpenBSD
3.8, as a transparent cache, at the exit of my network.

In the border I have a Cisco 2600 router.

When the router receives web packets it redirects (WCCPv1 protocol) via
a GRE Tunnel to the squid box. So, my conclusion, is that the tunnel is
working fine.

But when the OpenBSD receives the packets (and it receives, because I
see the packets with tcpdump) it only increments the unsupported/unknown
packets when I issue the netstat -s command.

I have the following configuration in /etc/pf.conf:

rdr on bge0 inet proto tcp from any to any port www - 127.0.0.1 port
8080

pass out proto tcp from $Proxy_IP to any
pass out proto tcp from any port = 80 to any
pass in proto tcp from any port = 80 to $Proxy_IP

pass in proto gre from $Router_IP to $Proxy_IP

I already tried changing the interface bge0 (in the rdr line) to gre0,
but nothing changed.

I also have, in sysctl.conf, the following two lines, that permit the
entry of gre packets and WCCP packets (It's not clear in the man pages
if it is WCCPv1 or WCCPv2, but it says also to not use WCCPv2, so I
assumed WCCPv1).

I suspect the problem is the way that OpenBSD deals (or not) with the
GRE packets. Can anyone help me?

Ricardo Santos