Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94153 - squid 2.5.10_rc3 with zero-penalty-hit flag - kernel 2.6.11-gentoo-r8
Summary: squid 2.5.10_rc3 with zero-penalty-hit flag - kernel 2.6.11-gentoo-r8
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Network Proxy Developers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-27 01:22 UTC by Iosif Peterfi
Modified: 2005-05-27 22:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Iosif Peterfi 2005-05-27 01:22:58 UTC
I have noticed strange messages in my logs. Here is a snip:

May 27 11:09:59 [kernel] printk: 6 messages suppressed.
May 27 11:09:59 [kernel]  [<c038cca8>] nf_getsockopt+0x38/0x40
May 27 11:10:05 [kernel] BUG: using smp_processor_id() in preemptible 
[00000001] code: squid/6367
May 27 11:10:12 [kernel] BUG: using smp_processor_id() in preemptible 
[00000001] code: squid/6367
                - Last output repeated twice -
May 27 11:10:15 [kernel] printk: 45 messages suppressed.
May 27 11:10:30 [kernel] BUG: using smp_processor_id() in preemptible 
[00000001] code: squid/6367
May 27 11:11:48 [kernel] printk: 2 messages suppressed.
May 27 11:11:49 [kernel] BUG: using smp_processor_id() in preemptible 
[00000001] code: squid/6367
                - Last output repeated 2 times -
May 27 11:13:03 [kernel] printk: 3 messages suppressed.
May 27 11:13:10 [kernel] BUG: using smp_processor_id() in preemptible 
[00000001] code: squid/6367
                - Last output repeated twice -
May 27 11:13:10 [kernel]  [<c03a4290>] ip_getsockopt+0x590/0x630
May 27 11:13:10 [kernel] BUG: using smp_processor_id() in preemptible 
[00000001] code: squid/6367
                - Last output repeated 2 times -
May 27 11:13:27 [kernel] printk: 61 messages suppressed.
May 27 11:13:27 [kernel] BUG: using smp_processor_id() in preemptible 
[00000001] code: squid/6367
May 27 11:13:30 [kernel] printk: 51 messages suppressed.

I have a Intel(R) Pentium(R) 4 CPU 2.00GHz. And i have no idea what smp has to 
do with this. There are also strange messages about nf_getsockopt and 
ip_getsockopt. I don't know if they are related to the kernel and(or) squid
(zero-penalty-hit flag). Squid doesnt crash. This is strange.

Kernel 2.6.11-gentoo-r8 is patched with esfq patch, connbytes and connlimit
(patched not to crash the kernel) from pom.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Iosif Peterfi 2005-05-27 01:25:00 UTC
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-
2.3.4.20041102-r1, 2.6.11-gentoo-r8 i686)
=================================================================
System uname: 2.6.11-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 12:47:38)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.7.9-r1, 1.6.3, 1.9.5, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X
11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.roedu.net/pub/mirrors/gentoo.org/ 
http://ftp.lug.ro/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups emboss encode 
foomaticdb fortran gd gdbm gif gpm imlib ipv6 jpeg libg++ libwww mad mikmod 
motif mp3 mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png 
python qt quicktime readline samba sdl snmp spell ssl tcpd tiff truetype 
truetype-fonts type1-fonts xml2 xmms xv zero-penalty-hit zlib userland_GNU 
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, 
PORTDIR_OVERLAY
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2005-05-27 22:13:24 UTC
you enabled CONFIG_DEBUG_PREEMPT in your kernel configuration, which in
conjunction with CONFIG_PREEMPT will log this message.
between us, I don't understand why you enabled CONFIG_PREEMPT!!! it does
increase responsiveness of the system but responsiveness is important on desktop
not on servers, where it does more harm than good!

as Con Kolivas says
(http://bhhdoa.org.au/pipermail/ck/2004-October/001313.html), it is completely
harmless