Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122126 - udev-084, kernel suspend2-sources-2.6.15-r5, no /dev/parport0
Summary: udev-084, kernel suspend2-sources-2.6.15-r5, no /dev/parport0
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-08 07:22 UTC by Christian Roessner
Modified: 2006-02-10 11:26 UTC (History)
0 users

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


Attachments
config-gentoo-sources-2.6.15-r4 (config-gentoo-sources-2.6.15-r4,38.42 KB, text/plain)
2006-02-08 10:24 UTC, Christian Roessner
Details
dmesg.log (dmesg.log,15.62 KB, text/plain)
2006-02-09 00:29 UTC, Christian Roessner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Roessner 2006-02-08 07:22:14 UTC
Hi,

I have noticed that there is no parport0 device node in /dev with udev version 084 (and 081*) and kernel suspend2-sources-2.6.15-r5.

In syslog:

syslog:Feb  8 12:10:50 amd64 hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev/parport0: No such file or directory: io/hpiod/ppdevice.cpp 836
syslog:Feb  8 12:10:50 amd64 hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev/parport1: No such file or directory: io/hpiod/ppdevice.cpp 836
syslog:Feb  8 12:10:50 amd64 hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev/parport2: No such file or directory: io/hpiod/ppdevice.cpp 836
syslog:Feb  8 12:10:50 amd64 hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev/parport3: No such file or directory: io/hpiod/ppdevice.cpp 836
syslog:Feb  8 12:10:50 amd64 hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev/parport0: No such file or directory: io/hpiod/ppdevice.cpp 836
syslog:Feb  8 12:10:50 amd64 hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev/parport1: No such file or directory: io/hpiod/ppdevice.cpp 836
syslog:Feb  8 12:10:50 amd64 hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev/parport2: No such file or directory: io/hpiod/ppdevice.cpp 836
syslog:Feb  8 12:10:50 amd64 hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev/parport3: No such file or directory: io/hpiod/ppdevice.cpp 836
syslog:Feb  8 13:19:41 amd64 hp: unable to open /var/run/hpiod.port: No such file or directory: prnt/hpijs/hplip_api.c 84
syslog:Feb  8 14:17:00 amd64 hp: unable to open /var/run/hpiod.port: No such file or directory: prnt/hpijs/hplip_api.c 84
syslog:Feb  8 14:50:00 amd64 hp: unable to open /var/run/hpiod.port: No such file or directory: prnt/hpijs/hplip_api.c 84
syslog:Feb  8 14:54:02 amd64 hpiod: 0.9.8 accepting connections at 56631...

I would have to create the node by calling

mknod /dev/parport0 c 99 0

I saw that there was a rule added to 50-udev.rules:

KERNEL=="parport*",     NAME="%k", GROUP="lp"

but this seems not to work.

udevinfo -d:

/block/hda=/dev/hda
/block/hdc=/dev/hdc
/block/loop0=/dev/loop/0
/block/loop1=/dev/loop/1
/block/loop2=/dev/loop/2
/block/loop3=/dev/loop/3
/block/loop4=/dev/loop/4
/block/loop5=/dev/loop/5
/block/loop6=/dev/loop/6
/block/loop7=/dev/loop/7
/block/ram0=/dev/rd/0
/block/ram1=/dev/rd/1
/block/ram10=/dev/rd/10
/block/ram11=/dev/rd/11
/block/ram12=/dev/rd/12
/block/ram13=/dev/rd/13
/block/ram14=/dev/rd/14
/block/ram15=/dev/rd/15
/block/ram2=/dev/rd/2
/block/ram3=/dev/rd/3
/block/ram4=/dev/rd/4
/block/ram5=/dev/rd/5
/block/ram6=/dev/rd/6
/block/ram7=/dev/rd/7
/block/ram8=/dev/rd/8
/block/ram9=/dev/rd/9
/block/sda=/dev/sda
/block/sda/sda1=/dev/sda1
/block/sda/sda2=/dev/sda2
/block/sda/sda5=/dev/sda5
/block/sda/sda6=/dev/sda6
/block/sda/sda7=/dev/sda7
/class/capi/capi=/dev/capi20
/class/graphics/fb0=/dev/fb/0
/class/i2c-dev/i2c-0=/dev/i2c/0
/class/i2c-dev/i2c-1=/dev/i2c/1
/class/i2c-dev/i2c-2=/dev/i2c/2
/class/input/input0/event0=/dev/input/event0
/class/input/input1/event1=/dev/input/event1
/class/input/input1/mouse0=/dev/input/mouse0
/class/input/input2/event2=/dev/input/event2
/class/input/input3/event3=/dev/input/event3
/class/input/mice=/dev/input/mice
/class/misc/device-mapper=/dev/mapper/control
/class/misc/psaux=/dev/misc/psaux
/class/misc/rtc=/dev/misc/rtc
/class/sound/adsp=/dev/sound/adsp
/class/sound/audio=/dev/sound/audio
/class/sound/controlC0=/dev/snd/controlC0
/class/sound/dsp=/dev/sound/dsp
/class/sound/hwC0D0=/dev/snd/hwC0D0
/class/sound/hwC0D2=/dev/snd/hwC0D2
/class/sound/midiC0D0=/dev/snd/midiC0D0
/class/sound/midiC0D1=/dev/snd/midiC0D1
/class/sound/midiC0D2=/dev/snd/midiC0D2
/class/sound/mixer=/dev/sound/mixer
/class/sound/pcmC0D0c=/dev/snd/pcmC0D0c
/class/sound/pcmC0D0p=/dev/snd/pcmC0D0p
/class/sound/pcmC0D1c=/dev/snd/pcmC0D1c
/class/sound/pcmC0D2c=/dev/snd/pcmC0D2c
/class/sound/pcmC0D2p=/dev/snd/pcmC0D2p
/class/sound/pcmC0D3p=/dev/snd/pcmC0D3p
/class/sound/seq=/dev/snd/seq
/class/sound/sequencer=/dev/sound/sequencer
/class/sound/sequencer2=/dev/sound/sequencer2
/class/sound/timer=/dev/snd/timer
/class/tty/capi0=/dev/capi/0
/class/tty/capi1=/dev/capi/1
/class/tty/capi10=/dev/capi/10
/class/tty/capi11=/dev/capi/11
/class/tty/capi12=/dev/capi/12
/class/tty/capi13=/dev/capi/13
/class/tty/capi14=/dev/capi/14
/class/tty/capi15=/dev/capi/15
/class/tty/capi16=/dev/capi/16
/class/tty/capi17=/dev/capi/17
/class/tty/capi18=/dev/capi/18
/class/tty/capi19=/dev/capi/19
/class/tty/capi2=/dev/capi/2
/class/tty/capi20=/dev/capi/20
/class/tty/capi21=/dev/capi/21
/class/tty/capi22=/dev/capi/22
/class/tty/capi23=/dev/capi/23
/class/tty/capi24=/dev/capi/24
/class/tty/capi25=/dev/capi/25
/class/tty/capi26=/dev/capi/26
/class/tty/capi27=/dev/capi/27
/class/tty/capi28=/dev/capi/28
/class/tty/capi29=/dev/capi/29
/class/tty/capi3=/dev/capi/3
/class/tty/capi30=/dev/capi/30
/class/tty/capi31=/dev/capi/31
/class/tty/capi4=/dev/capi/4
/class/tty/capi5=/dev/capi/5
/class/tty/capi6=/dev/capi/6
/class/tty/capi7=/dev/capi/7
/class/tty/capi8=/dev/capi/8
/class/tty/capi9=/dev/capi/9
/class/usb_device/usbdev1.1=/dev/bus/usb/001/001
/class/usb_device/usbdev1.2=/dev/bus/usb/001/002
/class/usb_device/usbdev1.3=/dev/bus/usb/001/003
/class/usb_device/usbdev1.4=/dev/bus/usb/001/004
/class/usb_device/usbdev2.1=/dev/bus/usb/002/001
/class/usb_device/usbdev3.1=/dev/bus/usb/003/001
/class/video4linux/vbi0=/dev/v4l/vbi0
/class/video4linux/video0=/dev/v4l/video0

Do you have any ideas?

Thanks in advance

Christian

Gentoo Base System version 1.12.0_pre15
Portage 2.1_pre4-r1 (default-linux/amd64/2005.1, gcc-4.0.2, glibc-2.3.6-r2, 2.6.15-suspend2-r5 x86_64)
=================================================================
System uname: 2.6.15-suspend2-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE=""
ALSA_CARDS="intel8x0 emu10k1"
ANT_HOME="/usr/share/ant-core"
ARCH="amd64"
AUTOCLEAN="yes"
BASH_ENV="/etc/spork/is/not/valid/profile.env"
CBUILD="x86_64-pc-linux-gnu"
CCACHE_SIZE="5G"
CDEFINE_amd64="__x86_64__"
CDEFINE_x86="__i386__"
CFLAGS="-O2 -march=athlon64 -pipe"
CFLAGS_x86="-m32 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CVS_RSH="ssh"
CXXFLAGS="-O2 -march=athlon64 -pipe"
DCCC_PATH="/usr/lib/distcc/bin"
DEFAULT_ABI="amd64"
DISPLAY=":0.0"
DISTCC_LOG=""
DISTCC_VERBOSE="0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/vim"
ELIBC="glibc"
EMERGE_WARNING_DELAY="10"
FEATURES="autoconfig ccache digest distlocks prelink sandbox sfperms strict"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp --no-check-certificate ${URI} -P ${DISTDIR}"
FLTK_DOCDIR="/usr/share/doc/fltk-1.1.7/html"
FRITZCAPI_CARDS="fcusb2"
GCC_SPECS=""
GDK_USE_XFT="1"
GDM_LANG="de_DE.utf8"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://gentoo.inode.at/source/ ftp://ftp.easynet.nl/mirror/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
GUILE_LOAD_PATH="/usr/share/guile/1.6"
G_BROKEN_FILENAMES="1"
HISTCONTROL="ignoredups:erasedups"
HOME="/root"
HOSTNAME="amd64"
INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.16.1/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.0.2/info"
INPUT_DEVICES="evdev keyboard mouse "
JAVAC="/opt/blackdown-jdk-1.4.2.03/bin/javac"
JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JDK_HOME="/opt/blackdown-jdk-1.4.2.03"
KERNEL="linux"
LADSPA_PATH="/usr/lib64/ladspa"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS_x86="-m elf_i386 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib"
LESS="-R -M --shift 5"
LESSCHARSET="utf-8"
LESSOPEN="|lesspipe.sh %s"
LIBDIR_amd64="lib64"
LIBDIR_x86="lib32"
LINGUAS="de"
LOGNAME="root"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.flac=01;35:*.mp3=01;35:*.mpc=00;36:*.ogg=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.flac=00;36:*.aac=00;36:"
MAKEOPTS="-j3"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.16.1/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.0.2/man::/opt/blackdown-jdk-1.4.2.03/man"
MULTILIB_ABIS="x86 amd64"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib /usr/lib /usr/kde/*/lib /usr/qt/*/lib /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|eclipse-3|debug|portage)"
OLDPWD="/var/log"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/root/bin:/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.0.2:/opt/Acrobat7:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc s390 amd64 ppc64 m68k arm sparc sh mips ia64 alpha ppc-macos hppa x86"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CALLER="emerge"
PORTAGE_ELOG_CLASSES="info warn error log"
PORTAGE_ELOG_MAILURI="root@localhost localhost"
PORTAGE_ELOG_SYSTEM="save mail"
PORTAGE_GID="250"
PORTAGE_MASTER_PID="17548"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_TMPFS="/dev/shm"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK="/usr/lib/gstreamer-0.8:/lib/modules:/usr/lib64/locale:/usr/lib64/wine:/usr/lib64/valgrind:*.la:*.png:*.py:*.pl:*.pm:*.sh:*.xml:*.xslt:*.a:*.js:/usr/lib/klibc"
PWD="/etc/udev/rules.d"
PYTHONDOCS="/usr/share/doc/python-docs-2.4.2/html"
PYTHONPATH="/usr/lib/portage/pym"
QTDIR="/emul/linux/x86/usr/qt/2:/emul/linux/x86/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp --no-check-certificate ${URI} -P ${DISTDIR}"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT="180"
SANE_CONFIG_DIR="/etc/sane.d"
SHELL="/bin/bash"
SHLVL="1"
SYMLINK_LIB="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
TERM="xterm"
USE="amd64 X X509 a52 aac aalib acl acpi acpi4linux activefilter alsa apache2 avi bash-completion bcmath berkdb bigger-fonts bitmap-fonts bluetooth browserplugin bzip2 bzlib cairo caps cddb cdparanoia cdr chroot client codecs crypt cscope css ctype cups dbm dbus dga dhcp directfb dlloader doc dri dts dvd dvdr dvdread dxr3 eds emboss encode esd exif expat extensions faac faad fame fax faxonly fbcon fbsplash ffmpeg firefox flac font-server foomaticdb freetype fuse gd gdbm gif gimp gimpprint glitz glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal hbci howl icq icu idn imagemagick imap imlib ipv6 javascript jbig jpeg jpeg2k lcd lcms ldap libcaca libclamav lirc lm_sensors logrotate lzo lzw lzw-tiff mad maildir mailwrapper mbox mcal md5sum mikmod mime mjpeg mng
motif mp3 mpeg mpeg4 mppe-mppc mysql nautilus ncurses network nls no-old-linux nptl nptlonly nsplugin ntfs nvidia ogg oggvorbis opengl oss pam password pcntl pdflib perl php pic png pnp posix postgres ppds python quicktime readline rtc ruby samba scanner sdl session sftplogging slang snmp sockets sox speex spell sqlite ssl subversion svg symlink tcltk tcpd tetex theora threads tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd vim-with-x vorbis wma wmf wxwindows xine xml2 xmms xpm xprint xrandr xscreensaver xsl xv xvid zlib elibc_glibc fritzcapi_cards_fcusb2 input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux linguas_de userland_GNU video_cards_apm video_cards_v4l video_cards_nvidia video_cards_nv"
USER="root"
USERLAND="GNU"
USE_EXPAND="DVB_CARDS ELIBC FCDSL_CARDS FRITZCAPI_CARDS INPUT_DEVICES KERNEL LINGUAS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN=""
USE_ORDER="env:pkg:conf:defaults"
VIDEO_CARDS="apm v4l nvidia nv"
XARGS="xargs -r"
XAUTHORITY="/root/.xauthveMoaX"
_="/usr/bin/emerge"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-08 09:24:52 UTC
Not printing, please don't assign bugs if you are not sure. 

We don't support suspend2-sources, reopen with kernel .config attached (don't paste it inline) if you are able to reproduce the issue with latest versions of supported kernels [1], once you've made sure that you have updated all udev configuration files and rebooted the box and have the appropriate module loaded if the driver is not compiled into kernel.

[1] http://www.gentoo.org/doc/en/gentoo-kernel.xml#doc_chap2
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-02-08 09:25:08 UTC
See above.
Comment 3 Christian Roessner 2006-02-08 10:24:34 UTC
Created attachment 79244 [details]
config-gentoo-sources-2.6.15-r4
Comment 4 Christian Roessner 2006-02-08 10:29:00 UTC
I installed latest gentoo sources and recompiled with the config taken from suspend2-sources (make oldconfig, make, make modules_install, make install)

Latest udev (084) with --noconfmem.

After reboot: No /dev/parport0, hpoid still shows the errors (see above).

Thanks

Christian
Comment 5 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-02-08 19:38:25 UTC
Do you have the parport module loaded?
Comment 6 Christian Roessner 2006-02-09 00:28:10 UTC
Did you look at the kernel config? It is built-in?

See dmesg, please.
Comment 7 Christian Roessner 2006-02-09 00:29:40 UTC
Created attachment 79300 [details]
dmesg.log
Comment 8 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-02-09 13:29:23 UTC
What does:
  tree /sys/class/printer
show?

Also, what does:
  udevtest /class/printer/lp0
show?
Comment 9 Christian Roessner 2006-02-09 17:33:43 UTC
cat /sys/class/printer/lp0/dev: 6:0

udevtest /class/printer/lp0:
main: looking at device '/class/printer/lp0' from subsystem 'printer'
udev_rules_get_name: rule applied, 'lp0' becomes 'lp0'
create_node: creating device node '/dev/lp0', major = '6', minor = '0', mode = '0660', uid = '0', gid = '7'
main: run: '/sbin/udev_run_devd printer'
main: run: 'socket:/org/kernel/udev/monitor'
Comment 10 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-02-09 21:20:05 UTC
So udev is creating the /dev/lp0 node for your printer just fine.

I don't see what the bug is here.  Is it a printer configuration issue?

I don't think udev is doing anything wrong...
Comment 11 Christian Roessner 2006-02-10 01:33:19 UTC
It seems I followed a bug that isn
Comment 12 Christian Roessner 2006-02-10 01:33:19 UTC
It seems I followed a bug that isn´t a bug? I saw these many messages in /var/log/syslog and I only checked, if /dev/parport0 was really missing.

Now I also logged into a different Linux box (Debian) and saw, there is really no parport0 device.

So my question: Is this a problem with hplip that it checks for stuff that isn´t neccesarry?

If I wasted your time, I feel really very sorry. I never did want this!

Regards
Christian
Comment 13 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-02-10 11:26:10 UTC
I have no idea what hplip does, sorry.  Try asking the developers of it.