Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43993 - ptal-init (hpoj) does not start during boot although script is in init.d with 'after usb' and 'before cupsd'
Summary: ptal-init (hpoj) does not start during boot although script is in init.d with...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-07 17:08 UTC by tom mccullough
Modified: 2004-03-27 09:32 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 tom mccullough 2004-03-07 17:08:12 UTC
no error messages are generated, and as root, I can type 'ptal-init start' and it works fine thereafter.  I don't see cupsd started in the boot either.  I added 'after hpoj' to the cupsd script but no change.

Reproducible: Always
Steps to Reproduce:
1. boot or reboot
2. try to use scanner
3. type ptal-init start from root prompt
4. use scanner

Actual Results:  
everything works as advertised after manually starting hpoj (and cupsd
automatically?) except gimp won't print pictures but that was a problem I had
with RH9 as well.  I don't think that is yours. (I get a postscript-like header
printed in text at the top of the page then it starts spitting out blank paper
till you cancel manually)

Expected Results:  
hpoj and cupsd should load at boot

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22)
=================================================================
System uname: 2.4.22 i686 AMD Athlon(tm)
Gentoo Base System version 1.4.3.8p1
Autoconf: sys-devel/autoconf-2.57-r1
Automake: sys-devel/automake-1.7.5-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /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/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb cdr crypt cups dvd dvdr encode esd foomaticdb gdbm
gif gnome gphoto2 gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod
motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png
postgres ppds python qt quicktime readline scanner sdl slang spell ssl svga tcpd
tetex truetype usb x86 xml2 xmms xv zlib"
## end of emerge info output ##
note: this is my first reasonably successful install of Gentoo.  I chose Gentoo
due to Mr. Horsten's medley.o precompiled raid module working with the LiveCD
install.  It allowed me to patch .config, config help and add the medley.c
source to the vanilla-source tree to get a bootable raid0 array on my A7N8X
deluxe mobo.
Comment 1 Jeff 2004-03-13 04:19:32 UTC
have you added both to the default run level? rc-update add hpoj default; rc-update add cupsd default. They both start fine for me.
Comment 2 tom mccullough 2004-03-14 09:41:55 UTC
part of this is my fault for not updating properly (rc-update add hpoj default and rc-update add cupsd default)  I was not aware that these actions were needed after emerging the two packages.  my bad.  I still had to edit the hpoj script in init.d as follows:
I added 'after hotplug' to the hpoj script in the depends section and now hpoj works.  I am getting two modprobe errors as follows:
modprobe: Can't locate /dev/ptal-mlcd
modprobe: Can't locate /dev/ptal-printd

These don't seem to affect the operation of the printer.
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2004-03-27 09:32:53 UTC
fixed the dependencie in the init script :)