Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69706 - Cupsd hangs while following "Gentoo Printing Guide" document, due to hpijs update
Summary: Cupsd hangs while following "Gentoo Printing Guide" document, due to hpijs up...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-01 04:44 UTC by fabio oliveira
Modified: 2005-07-21 12:05 UTC (History)
1 user (show)

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 fabio oliveira 2004-11-01 04:44:33 UTC
The first time I followed the "Gentoo Printing Guide" all worked well. Nevertheless, one time during 'emerge -uD world", portage updated the hpijs package (I have a HP printer).
After said update, cupsd (at boot) started to take a lot ot time to start (appear [ok] at boot). One time, it just completely hanged. I had to use the Live CD and remove cupsd from rc-update.

Reproducible: Always
Steps to Reproduce:
1.Have cups working in your linux box
2.Update hpijs via emerge world
3.Reboot, and experience cupdsd starting delays, culminating at hang

Actual Results:  
On the first boots, cupsd started to take a long time to start.
Then, It just hanged, and my linux wouldn't boot

Expected Results:  
cupsd would start normally at boot, in a normal and fast way

I searched through the forums, and tried some solutions. I deleted the "finished
jobs" dir (some people said that was causing the lag) but it didn't work.
One time, I completly erased some cups related dirs, re-emerged cups, foomatic
and hpijs, and cupsd started to behave normaly. But on the next update of hpijs
the same thing happened. This time, not remembering which dirs I had erased
previously, but tried several combinations, I wasn't able to solve the problem.
Tried various times to emerge unmerge cups, foomatic and hpijs, re-emerge them
folloswing the "Cups Printing Guide" in the Gentoo website, but never having
success.
Portage 2.0.51-r2 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20041021-r0,
2.6.8-gentoo-r10 i686)
=================================================================
System uname: 2.6.8-gentoo-r10 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.5.3
distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -Os -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.gentoo-pt.org/pub/gentoo
ftp://ftp.rnl.ist.utl.pt/gentoo/ http://darkstar.ist.utl.pt/gentoo/
http://gentoo.felisberto.net/ http://ftp.dei.uc.pt/pub/Linux/gentoo
http://darkstar.ist.utl.pt/gentoo/ http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mitra/gentoo-portage"
USE="3dnow 3dnowx X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dga
directfb divx4linux dvd dvdread encode esd ethereal f77 foomaticdb gdbm gif
gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod mmx mmx2 motif
mozilla mpeg msn ncurses nls nvidia oggvorbis opengl oss pam pdflib perl png
ppds python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd
tga truetype usb videos x86 xml2 xmms xosd xv xvid zlib"
Comment 1 Jeffrey Forman (RETIRED) gentoo-dev 2004-11-01 04:54:50 UTC
I really dont understand how these bugs are getting assigned to me. I have nothing to do with CUPS.
Comment 2 Fred Krogh 2005-04-25 07:33:21 UTC
I'm having similar problems although hpijs is not installed.  On a dual Opteron, cupsd consumes over 99% of one cpu when started.  Given instructions I'm willing to make runs to aid in tracking down the problem.  I suspect the problem has nothing to do with hpijs and is it appears to show up on more than one platform.
Comment 3 Fred Krogh 2005-04-25 07:38:29 UTC
Sorry, I should have added output from emerge --info, it is now below.

Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r6 x86_64 AMD Opteron(tm) Processor 242
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 28 2005, 20:08:50)]
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://adelie.polymtl.ca/ ftp://cs.ubishops.ca/pub/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://gentoo.seren.com/gentoo ftp://linux.cs.lewisu.edu/gentoo/ http://mirror.usu.edu/mirrors/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 apache2 atlas bash-completion bcmath bitmap-fonts bonobo cups curl doc emacs esd f77 fam fastcgi fbconfoomaticdb font-server foomaticdb fortran gdbm gif gnome gphoto gpm gstreamer gtk gtk2 icq imlib ipv6 java javascript jikes jp2 jpeg leim libwww lzw lzw-tiff mail motif mozilla mp3 multilib mysql mysqli ncurses nls ofx ogg oggvorbis opengl oss pam pcmica perl png ppds prp python qt readline samba sasl session shared sharedmem sml2 sockets ssl symlink tcpd tetex threads tiff truetype truetype-fonts type1-fonts usb userlocales vorbis xemacs xml xml2 xmms xpm xprint xrandr xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY



Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2005-06-06 04:24:05 UTC
do you still have the problems? 
Comment 5 fabio oliveira 2005-06-06 04:37:41 UTC
yes I do...
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2005-06-06 04:47:51 UTC
please set loglevel to debug in your cupsd.conf, try to print, and post the log 
Comment 7 Jan Kundrát (RETIRED) gentoo-dev 2005-07-21 12:05:20 UTC
Gentoo Printing Guide has been rewritten, please reopen if it breaks even when 
following new instructions.