Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137750 - cupsd/usblp stops boot process on Kernel 2.6.16
Summary: cupsd/usblp stops boot process on Kernel 2.6.16
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-23 09:41 UTC by mail
Modified: 2006-08-19 03:47 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 mail 2006-06-23 09:41:52 UTC
Hello,

I recently updated my Kernel from linux-2.6.15-gentoo-r1 to linux-2.6.16-gentoo-r9. I encountered the following problem:
* The init process stopped at "starting cupsd" randomly.
* I somehow found out (lsmod after successful reboot), that the module "usblp" wasn't loaded automatically anymore (by hot-/coldplug?).
* I added "usblp" to /etc/modules.autoload/kernel-2.6, so that the module is loaded before cupsd starts.
* I thought this should have fixed it, but today the init process stopped at "modprobe usblp".
* In both cases I was still able to reboot the machine with Ctrl+Alt+Del.
* Like said before, the problems occure randomly and only the very first time I boot Linux - never after a reboot.
* Everything went fine with the previous kernel version.

I tried to solve it by emergeing the newest cups version, without luck. I want to note that I use Turboprint, but nevertheless, I think it's rather an USB problem than cups'/the driver's fault.

Some information about my system:

# emerge info
Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.3.2, glibc-2.3.4.20040808-r1, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.3
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.14.90.0.7-r4
sys-devel/gcc-config: 1.3.4
sys-devel/libtool:   1.4.3-r3, 1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium4 -msse -msse2 -mmmx -mfpmath=sse -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=pentium4 -msse -msse2 -mmmx -mfpmath=sse -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://gentoo.inode.at/source/ http://gentoo.inode.at/"
LC_ALL="de_DE.utf8"
LINGUAS="de el en"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr cli crypt cups curl dga dio directfb divx4linux dri dvd dvdr dvdread eds emboss encode exif expat fam fbcon ffmpeg firebird flac flatfile foomaticdb fortran ftp gd gdbm gif glut gpm gstreamer gtk2 icq idn ieee1394 imagemagick imlib interbase ipv6 isdnlog java joystick jpeg kde lcms libg++ libwww mad mikmod mime mmx mmx2 mng motif mp3 mpeg ncurses nls nvidia odbc offensive ogg opengl oscar oss pam pcre pdflib perl plotutils png ppds pppd python qt quicktime readline recode reflection scanner sdl session slang soundtouch spell spl sse sse2 ssl svg svga sysvipc tcpd tetex tidy tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 videos vorbis win32codecs wmf x86 xml xml2 xorg xpm xscreensaver xv xvid zlib linguas_de linguas_el linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS

cat .config | grep -i usb | grep -v ^#
CONFIG_BT_HCIUSB=m
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB=m
CONFIG_USB_DEVICEFS=y
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_UHCI_HCD=m
CONFIG_USB_PRINTER=m
CONFIG_USB_STORAGE=m

# cat /var/log/cups/error_log | grep LoadDevices
W [15/Jun/2006:11:04:38 +0200] LoadDevices: Backend did not respond within 30 seconds!
(This was reported by cups when it interrupted the init process. I never got the message again after I put usblp in the autoload file. Now the boot process hangs earlier at modprobing usblp instead.)

# dmesg | grep -i usb
...
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
...
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04A9 pid 0x1086
(This is the partial output of dmesg after it booted succesfully).
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-06-28 12:13:22 UTC
I think this is a kernel issue, can you please update to 2.6.17 and tell me how it works?
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2006-08-18 15:45:48 UTC
please try with 2.6.17 and report
Comment 3 mail 2006-08-19 03:47:50 UTC
I'm currently running 2.6.17-gentoo-r4 and until today the problem didn't occur anymore.