Re: squid reorg

2014-01-26 Thread Aleksandar Lazic

Hi.

After build squid with --disable-arch-native the squid server was able 
to start.


I have copied your ./config line.

###
squid-3.4.2# ./configure --disable-strict-error-checking --enable-shared 
--datadir=/usr/local/share/squid --libexecdir=/usr/local/libexec/squid 
--disable-loadable-modules --enable-arp-acl --enable-auth 
--enable-delay-pools --enable-follow-x-forwarded-for 
--enable-forw-via-db --enable-http-violations --enable-icap-client 
--enable-ipv6 --enable-referer-log --enable-removal-policies="lru heap" 
--enable-ssl --enable-stacktraces  --with-default-user=_squid 
--with-filedescriptors=8192 --with-pidfile=/var/run/squid.pid 
--with-pthreads --with-swapdir=/var/squid/cache --enable-pf-transparent 
--prefix=/usr/local --sysconfdir=/etc/squid --mandir=/usr/local/man 
--infodir=/usr/local/info --localstatedir=/var/squid 
--disable-silent-rules --disable-arch-native

###

Cheers Aleks

Am 24-01-2014 20:45, schrieb Aleksandar Lazic:

Hi.

The squid-3.3.11 runs ok.

Am 24-01-2014 12:40, schrieb Aleksandar Lazic:

As soon as I'am back at home I will install it.

Am 24-01-2014 09:59, schrieb Stuart Henderson:

I suspect it's trying to use 128-bit atomic ops (CMPXCHG16B) which
this cpu doesn't support (no CX16 in the cpu flags - thanks for the
complete dmesg, and yes this is a good place to report the problem).
I'll take a look into it.

Could you try squid-3.3 too please, so we can see if that also has 
this problem?



Aleksandar Lazic  wrote:

Hi.

I got

Illegal instruction (core dumped)

after installation.

I have done the following.


PKG_PATH=http://openbsd.cs.fau.de/pub/OpenBSD/snapshots/packages/i386/
export PKG_PATH

pkg_add -i -v squid
choosed squid-3.4.2

vi /etc/squid/squid.conf

changed the line
http_port 3128
to
http_port 3128 intercept


 dmesg
OpenBSD 5.5-beta (GENERIC) #232: Fri Jan 17 15:59:15 MST 2014
t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD"
586-class) 499 MHz
cpu0: 
FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW

real mem  = 536375296 (511MB)
avail mem = 515727360 (491MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 20/70/03, BIOS32 rev. 0 @ 
0xfac40

pcibios0 at bios0: rev 2.0 @ 0xf/0x1
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc8000/0xa800
cpu0 at mainbus0: (uniprocessor)
mtrr: K6-family MTRR support (2 registers)
amdmsr0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
0:20:0: io address conflict 0x6100/0x100
0:20:0: io address conflict 0x6200/0x200
pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33
glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG 
AES
vr0 at pci0 dev 6 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 
11,

address 00:00:24:d0:6f:34
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: 
OUI

0x004063, model 0x0034
vr1 at pci0 dev 7 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 5,
address 00:00:24:d0:6f:35
ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: 
OUI

0x004063, model 0x0034
vr2 at pci0 dev 8 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 9,
address 00:00:24:d0:6f:36
ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: 
OUI

0x004063, model 0x0034
vr3 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 
12,

address 00:00:24:d0:6f:37
ukphy3 at vr3 phy 1: Generic IEEE 802.3u media interface, rev. 3: 
OUI

0x004063, model 0x0034
ral0 at pci0 dev 14 function 0 "Ralink RT2860" rev 0x00: irq 10,
address
98:fc:11:eb:3c:65
ral0: MAC/BBP RT2860 (rev 0x0103), RF RT2850 (MIMO 2T2R)
hifn0 at pci0 dev 17 function 0 "Hifn 7955/7954" rev 0x00: LZS 3DES
ARC4
MD5 SHA1 RNG AES PK, 32KB dram, irq 15
glxpcib0 at pci0 dev 20 function 0 "AMD CS5536 ISA" rev 0x03: rev 3,
32-bit 3579545Hz timer, watchdog, gpio, i2c
gpio0 at glxpcib0: 32 pins
iic0 at glxpcib0
pciide0 at pci0 dev 20 function 2 "AMD CS5536 IDE" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 1-sector PIO, LBA48, 15279MB, 31293360 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 21 function 0 "AMD CS5536 USB" rev 0x02: irq 7,
version 1.0, legacy support
ehci0 at pci0 dev 21 function 1 "AMD CS5536 USB" rev 0x02: irq 7
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1
isa0 at glxpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0

Re: squid reorg

2014-01-24 Thread Aleksandar Lazic

Hi.

The squid-3.3.11 runs ok.

Am 24-01-2014 12:40, schrieb Aleksandar Lazic:

As soon as I'am back at home I will install it.

Am 24-01-2014 09:59, schrieb Stuart Henderson:

I suspect it's trying to use 128-bit atomic ops (CMPXCHG16B) which
this cpu doesn't support (no CX16 in the cpu flags - thanks for the
complete dmesg, and yes this is a good place to report the problem).
I'll take a look into it.

Could you try squid-3.3 too please, so we can see if that also has 
this problem?



Aleksandar Lazic  wrote:

Hi.

I got

Illegal instruction (core dumped)

after installation.

I have done the following.


PKG_PATH=http://openbsd.cs.fau.de/pub/OpenBSD/snapshots/packages/i386/
export PKG_PATH

pkg_add -i -v squid
choosed squid-3.4.2

vi /etc/squid/squid.conf

changed the line
http_port 3128
to
http_port 3128 intercept


 dmesg
OpenBSD 5.5-beta (GENERIC) #232: Fri Jan 17 15:59:15 MST 2014
t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD"
586-class) 499 MHz
cpu0: 
FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW

real mem  = 536375296 (511MB)
avail mem = 515727360 (491MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 20/70/03, BIOS32 rev. 0 @ 
0xfac40

pcibios0 at bios0: rev 2.0 @ 0xf/0x1
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc8000/0xa800
cpu0 at mainbus0: (uniprocessor)
mtrr: K6-family MTRR support (2 registers)
amdmsr0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
0:20:0: io address conflict 0x6100/0x100
0:20:0: io address conflict 0x6200/0x200
pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33
glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG 
AES

vr0 at pci0 dev 6 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11,
address 00:00:24:d0:6f:34
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
vr1 at pci0 dev 7 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 5,
address 00:00:24:d0:6f:35
ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
vr2 at pci0 dev 8 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 9,
address 00:00:24:d0:6f:36
ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
vr3 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 12,
address 00:00:24:d0:6f:37
ukphy3 at vr3 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
ral0 at pci0 dev 14 function 0 "Ralink RT2860" rev 0x00: irq 10,
address
98:fc:11:eb:3c:65
ral0: MAC/BBP RT2860 (rev 0x0103), RF RT2850 (MIMO 2T2R)
hifn0 at pci0 dev 17 function 0 "Hifn 7955/7954" rev 0x00: LZS 3DES
ARC4
MD5 SHA1 RNG AES PK, 32KB dram, irq 15
glxpcib0 at pci0 dev 20 function 0 "AMD CS5536 ISA" rev 0x03: rev 3,
32-bit 3579545Hz timer, watchdog, gpio, i2c
gpio0 at glxpcib0: 32 pins
iic0 at glxpcib0
pciide0 at pci0 dev 20 function 2 "AMD CS5536 IDE" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 1-sector PIO, LBA48, 15279MB, 31293360 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 21 function 0 "AMD CS5536 USB" rev 0x02: irq 7,
version 1.0, legacy support
ehci0 at pci0 dev 21 function 1 "AMD CS5536 USB" rev 0x02: irq 7
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1
isa0 at glxpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS
gpio1 at nsclpcsio0: 29 pins
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "AMD OHCI root hub" rev 1.00/1.00 addr 1
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
scsibus1 at softraid0: 256 targets
root on wd0a (35dc92839f31a39d.a) swap on wd0b dump on wd0b



# /usr/local/sbin/squid -X
2014/01/23 23:15:42.727| src/debug.cc(425) parseOptions: command-line
-X
overrides: ALL,7
2014/01/23 23:15:42.729| src/cache_manager.cc(102) registerProfile:
registering legacy mem
2014/01/23 23:15:42.730| src/cache_manager.cc(87) registerProfile:
registered profile: mem
2014/01/23 23:15:42.731| src/cache_manager.cc(102) registerProfile:
registering legacy squidaio_counts
2014/01/23 23:15:42.732| src/cache_manager.cc(87) registerProfile:
registered profile: s

Re: squid reorg

2014-01-24 Thread Aleksandar Lazic

As soon as I'am back at home I will install it.

Am 24-01-2014 09:59, schrieb Stuart Henderson:

I suspect it's trying to use 128-bit atomic ops (CMPXCHG16B) which
this cpu doesn't support (no CX16 in the cpu flags - thanks for the
complete dmesg, and yes this is a good place to report the problem).
I'll take a look into it.

Could you try squid-3.3 too please, so we can see if that also has this 
problem?



Aleksandar Lazic  wrote:

Hi.

I got

Illegal instruction (core dumped)

after installation.

I have done the following.


PKG_PATH=http://openbsd.cs.fau.de/pub/OpenBSD/snapshots/packages/i386/
export PKG_PATH

pkg_add -i -v squid
choosed squid-3.4.2

vi /etc/squid/squid.conf

changed the line
http_port 3128
to
http_port 3128 intercept


 dmesg
OpenBSD 5.5-beta (GENERIC) #232: Fri Jan 17 15:59:15 MST 2014
t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD"
586-class) 499 MHz
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW
real mem  = 536375296 (511MB)
avail mem = 515727360 (491MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 20/70/03, BIOS32 rev. 0 @ 
0xfac40

pcibios0 at bios0: rev 2.0 @ 0xf/0x1
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc8000/0xa800
cpu0 at mainbus0: (uniprocessor)
mtrr: K6-family MTRR support (2 registers)
amdmsr0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
0:20:0: io address conflict 0x6100/0x100
0:20:0: io address conflict 0x6200/0x200
pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33
glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG 
AES

vr0 at pci0 dev 6 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11,
address 00:00:24:d0:6f:34
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
vr1 at pci0 dev 7 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 5,
address 00:00:24:d0:6f:35
ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
vr2 at pci0 dev 8 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 9,
address 00:00:24:d0:6f:36
ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
vr3 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 12,
address 00:00:24:d0:6f:37
ukphy3 at vr3 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
ral0 at pci0 dev 14 function 0 "Ralink RT2860" rev 0x00: irq 10,
address
98:fc:11:eb:3c:65
ral0: MAC/BBP RT2860 (rev 0x0103), RF RT2850 (MIMO 2T2R)
hifn0 at pci0 dev 17 function 0 "Hifn 7955/7954" rev 0x00: LZS 3DES
ARC4
MD5 SHA1 RNG AES PK, 32KB dram, irq 15
glxpcib0 at pci0 dev 20 function 0 "AMD CS5536 ISA" rev 0x03: rev 3,
32-bit 3579545Hz timer, watchdog, gpio, i2c
gpio0 at glxpcib0: 32 pins
iic0 at glxpcib0
pciide0 at pci0 dev 20 function 2 "AMD CS5536 IDE" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 1-sector PIO, LBA48, 15279MB, 31293360 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 21 function 0 "AMD CS5536 USB" rev 0x02: irq 7,
version 1.0, legacy support
ehci0 at pci0 dev 21 function 1 "AMD CS5536 USB" rev 0x02: irq 7
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1
isa0 at glxpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS
gpio1 at nsclpcsio0: 29 pins
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "AMD OHCI root hub" rev 1.00/1.00 addr 1
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
scsibus1 at softraid0: 256 targets
root on wd0a (35dc92839f31a39d.a) swap on wd0b dump on wd0b



# /usr/local/sbin/squid -X
2014/01/23 23:15:42.727| src/debug.cc(425) parseOptions: command-line
-X
overrides: ALL,7
2014/01/23 23:15:42.729| src/cache_manager.cc(102) registerProfile:
registering legacy mem
2014/01/23 23:15:42.730| src/cache_manager.cc(87) registerProfile:
registered profile: mem
2014/01/23 23:15:42.731| src/cache_manager.cc(102) registerProfile:
registering legacy squidaio_counts
2014/01/23 23:15:42.732| src/cache_manager.cc(87) registerProfile:
registered profile: squidaio_counts
2014/01/23 23:15:42.732| src/cache_manager.cc(87) registe

squid reorg

2014-01-23 Thread Aleksandar Lazic
3d2231 in __register_frame_info () from /usr/local/sbin/squid
#1  0x143d2634 in __register_frame_info () from /usr/local/sbin/squid
#2  0x143dac57 in __register_frame_info () from /usr/local/sbin/squid
#3  0x143e448f in __register_frame_info () from /usr/local/sbin/squid
#4  0x1450c791 in snmp_netIpFn () from /usr/local/sbin/squid
#5  0x1450cfdc in snmp_netIpFn () from /usr/local/sbin/squid
#6  0x1450d2c2 in snmp_netIpFn () from /usr/local/sbin/squid
#7  0x143b2b88 in ?? () from /usr/local/sbin/squid
#8  0x0002 in ?? ()
#9  0xcfbf481c in ?? ()
#10 0xcfbf4828 in ?? ()
#11 0x253920a4 in ?? () from /usr/libexec/ld.so
#12 0xcfbf4818 in ?? ()
#13 0xcfbf47d4 in ?? ()
#14 0x in ?? ()


What could be wrong?
How can I help to fix this issue?
Is this still the right list for such a report?

BR A

Am 24-01-2014 00:20, schrieb Aleksandar Lazic:

Thank you.
I will take a look and give feedback.

Am 24-01-2014 00:12, schrieb Stuart Henderson:

On 2014/01/24 00:07, Aleksandar Lazic wrote:

Hi Stuart.

I just seen your mail in the archive.

http://marc.info/?t=13835139422&r=1&w=2

I want to use the latest squid 3.4 with intercept mode on
http_port and https_port and pf divert-to on my
soekris net5501-70 .

I offer you to test the new 3.4 packages on current as soon as it
is ready.

Best regards
Aleks



This is already in -current, test reports are welcome.

$ sudo pkg_add squid
Ambiguous: choose package for squid
 a   0: 
 1: squid-3.3.11
 2: squid-3.4.2
Your choice:




Re: squid reorg

2014-01-23 Thread Aleksandar Lazic

Thank you.
I will take a look and give feedback.

Am 24-01-2014 00:12, schrieb Stuart Henderson:

On 2014/01/24 00:07, Aleksandar Lazic wrote:

Hi Stuart.

I just seen your mail in the archive.

http://marc.info/?t=13835139422&r=1&w=2

I want to use the latest squid 3.4 with intercept mode on
http_port and https_port and pf divert-to on my
soekris net5501-70 .

I offer you to test the new 3.4 packages on current as soon as it
is ready.

Best regards
Aleks



This is already in -current, test reports are welcome.

$ sudo pkg_add squid
Ambiguous: choose package for squid
 a   0: 
 1: squid-3.3.11
 2: squid-3.4.2
Your choice:




Re: squid reorg

2014-01-23 Thread Aleksandar Lazic

Hi Stuart.

I just seen your mail in the archive.

http://marc.info/?t=13835139422&r=1&w=2

I want to use the latest squid 3.4 with intercept mode on
http_port and https_port and pf divert-to on my
soekris net5501-70 .

I offer you to test the new 3.4 packages on current as soon as it
is ready.

Best regards
Aleks