Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74650 - Prolem with module post install command and Baselayout-1.11.8
Summary: Prolem with module post install command and Baselayout-1.11.8
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-16 10:35 UTC by Kostas Kavourakis
Modified: 2005-11-27 10:26 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 Kostas Kavourakis 2004-12-16 10:35:31 UTC
I have full udev enabled system and coldplug on my boot runlevel. I also have a DXR3 DVD card, witch is loaded automaticaly by coldplug on boot. I have these lines for the relevant modules in my /etc/modules.d/aliases:
# DXR3 section

alias char-major-121      em8300
alias sound-slot-1        em8300
alias sound-service-1-0   em8300
alias sound-service-1-1   em8300
alias sound-service-1-3   em8300
alias sound-service-1-8   em8300
alias sound-service-1-12  em8300

below em8300 bt865
below bt865 sound-slot-0 sound-service-0-3
options em8300 use_bt865=1 dicom_fix=1 dicom_control=1 dicom_other_pal=1 bt865_ucode_timeout=1
options bt865 color_bars=0
post-install em8300 sleep 2 && /usr/local/bin/em8300setup

The problem is that I get an error on boot saying that it failed to execute the post install command for the em8300 module. If I try modprobe em8300 from the console it works just fine. I didn't have this problem with baselayout-1.11.7-r2 so I reverted back to it and the problem is gone.

Reproducible: Always
Steps to Reproduce:
1. Install Baselayout-1.11.18
2. Reboot
3. Error during boot, post install command failed

Actual Results:  
The post install command had failed to execute, requiring manual execution in
order to fully enable the driver.

Expected Results:  
Should had execute the proper command as per baselayout-1.11.7-r2 with no errors.

Gentoo Base System version 1.6.7
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20041102-r0,
2.6.9-gentoo-r9 i686)
=================================================================
System uname: 2.6.9-gentoo-r9 i686 AMD Athlon(tm) XP 1600+
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.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -mmmx -msse
-ftracer -finline-functions -fforce-addr -fprefetch-loop-arrays -w"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/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=i686 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -mmmx -msse
-ftracer -finline-functions -fforce-addr -fprefetch-loop-arrays -w"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://files.gentoo.gr http://128.213.5.34/gentoo/
http://ftp.du.se/pub/os/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X acpi alsa apache2 apm avi berkdb bitmap-fonts cdr crypt
cups dedicated dvd dvdr encode esd f77 flac font-server foomaticdb fortran gdbm
gif gnome gpm gstreamer gtk gtk2 imagemagick imap imlib java jpeg libg++ libwww
mad maildir matroska mikmod mmx motif mozilla moznocompose moznoirc moznomail
mpeg ncurses nls nptl nptlonly oggvorbis opengl oss pam pdflib perl php pic png
pwdb python quicktime readline remote samba sasl sdl slang spell sse ssl svga
tcltk tcpd tiff truetype truetype-fonts usb userlocales virus-scan x86 xml xml2
xmms xv xvid zlib"
Comment 1 SpanKY gentoo-dev 2004-12-16 10:59:35 UTC
is your /usr or /usr/local on a diff partition ?
Comment 2 Kostas Kavourakis 2004-12-16 12:23:35 UTC
No, I only have 2 partinions, 1 for /boot and 1 for / . So /usr is part of the root filesystem.
Comment 3 SpanKY gentoo-dev 2004-12-16 12:39:57 UTC
did you post the exact error ?
Comment 4 Kostas Kavourakis 2004-12-16 12:49:21 UTC
I believe that I already stated that the error comes from modprobe, and say it cannot execute the post install command. No, I don't have the original phrasing, and I have already removed the baselayout-1.11.18 in order to eliminate to problem. Clould it be a udev problem? The root partition is definitely mounted when coldplug calls the module, so that can't be the problem. But the specific command requires a device present in /dev, that's why I have the sleep command, because there is small delay before the device node is created by the udev. I tried increasing the delay but I gave up at 5 seconds delay, beyond that the delay is just unacceptable.
Comment 5 SpanKY gentoo-dev 2005-11-27 10:26:33 UTC
try it with latest versions of baselayout and udev and see if it still errors