Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 370781

Summary: sys-fs/udev-168-r2: drops usb modules on start when CONFIG_USB=m
Product: Gentoo Linux Reporter: exc <exclusive_tm>
Component: [OLD] Core systemAssignee: udev maintainers <udev-bugs>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description exc 2011-06-09 10:01:47 UTC
Can't boot with root fs on usb hdd and usb support as modules. After udev starts system can't find any file.

Reproducible: Always

Steps to Reproduce:
1. configure kernel usb support (*hci-hcd, usb-storage) as modules
2. use genkernel to compile kernel with initrd containing modules
3. put root fs on usb mass storage device
3. boot
Actual Results:  
system hangs up on udev start


it's possible to boot in interactive mode without udev;
with usb support built into kernel all works
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-10 02:46:25 UTC
1) Please post your `emerge --info' output.
Comment 2 exc 2011-06-10 10:37:03 UTC
 # cave info udev                
Package Manager Information:
    Package Name              paludis
    Package Version           0.60.4
    Build Date                2011-06-08T06:44:47+0400
    Built with CXX            i686-pc-linux-gnu-g++ 4.5.2
    Built with CXXFLAGS        -O2 -march=pentium3 -pipe -fomit-frame-pointer -pedantic
    Built with LDFLAGS        -Wl,-O1 -Wl,--as-needed

Environment Information:
    Format                    paludis
    Config dir                /etc/paludis
    Root                      /
    System Root               /
    World file                /var/db/pkg/world

Repository layman:
    format                    unavailable
    location                  /var/paludis/repositories/layman
    sync                      tar+http://git.exherbo.org/layman_repositories.tar.bz2
    sync_options              

Repository installed-virtuals:
    format                    installed_virtuals
    root                      /

Repository virtuals:
    format                    virtuals

Repository gentoo:
    format                    e
    location                  /var/paludis/repositories/gentoo
    builddir                  /tmp
    cache                     /var/paludis/repositories/gentoo/metadata/cache
    distdir                   /home/distfiles
    eapi_when_unknown         0
    eapi_when_unspecified     0
    eclassdirs                /var/paludis/repositories/gentoo/eclass
    layout                    traditional
    names_cache               /var/cache/paludis/names
    newsdir                   /var/paludis/repositories/gentoo/metadata/news
    profile_eapi_when_unspecified 0
    profile_layout            traditional
    profiles                  /var/paludis/repositories/gentoo/profiles/default/linux/x86/10.0/desktop
    securitydir               /var/paludis/repositories/gentoo/metadata/glsa
    setsdir                   /var/paludis/repositories/gentoo/sets
    sync                      rsync://rsync.gentoo.org/gentoo-portage
    sync_options              
    use_manifest              use
    write_cache               /var/cache/paludis/metadata
    Package information
        app-shells/bash       4.2_p10
        dev-java/java-config  (none)
        dev-lang/python       2.7.1-r1 3.2
        dev-util/ccache       (none)
        dev-util/cmake        2.8.4-r1
        sys-apps/baselayout   2.0.2
        sys-apps/openrc       0.8.2-r1
        sys-apps/sandbox      2.5
        sys-devel/autoconf    2.13 2.68
        sys-devel/automake    1.10.3 1.11.1-r1 1.4_p6-r1 1.5-r1 1.6.3-r1 1.7.9-r2 1.8.5-r4 1.9.6-r3
        sys-devel/binutils    2.21
        sys-devel/gcc         4.5.2
        sys-devel/gcc-config  1.4.1-r1
        sys-devel/libtool     2.4-r1
        sys-devel/make        3.82-r1
        sys-freebsd/freebsd-lib (none)
        sys-kernel/linux-headers 2.6.38
        sys-libs/glibc        2.13-r2
        sys-libs/uclibc       (none)

Repository installed:
    format                    vdb
    location                  /var/db/pkg
    builddir                  /tmp
    eapi_when_unknown         0
    names_cache               /var/cache/paludis/installed_names
    provides_cache            /var/cache/paludis/installed_provides
    root                      /

Repository my:
    format                    e
    location                  /var/paludis/repositories/my
    builddir                  /tmp
    cache                     /var/empty
    distdir                   /home/distfiles
    eapi_when_unknown         0
    eapi_when_unspecified     0
    eclassdirs                /var/paludis/repositories/gentoo/eclass  /var/db/paludis/repositories/kde-sunset/eclass
    layout                    traditional
    master_repository         gentoo
    names_cache               /var/cache/paludis/names
    newsdir                   /var/paludis/repositories/my/metadata/news
    profile_eapi_when_unspecified 0
    profile_layout            traditional
    profiles                  /var/paludis/repositories/gentoo/profiles/default/linux/x86/10.0/desktop
    securitydir               /var/paludis/repositories/my/metadata/glsa
    setsdir                   /var/paludis/repositories/my/sets
    sync                      
    sync_options              
    use_manifest              use
    write_cache               /var/cache/paludis/metadata

Extra Information for sys-fs/udev-168-r2::installed:
        >>> Running ebuild phase killold as paludisbuild:paludisbuild...
        >>> Starting builtin_killold
        >>> Done builtin_killold
        >>> Completed ebuild phase killold
        >>> Running ebuild phases initmisc infovars info as paludisbuild:paludisbuild...
        >>> Starting builtin_initmisc
        bunzip2 < /var/db/pkg/sys-fs/udev-168-r2/environment.bz2 > /tmp/environment-sys-fs-udev-168-r2-481
        ebuild_scrub_environment /tmp/environment-sys-fs-udev-168-r2-481
        ebuild_safe_source /tmp/environment-sys-fs-udev-168-r2-481
        rm /tmp/environment-sys-fs-udev-168-r2-481
        >>> Done builtin_initmisc
        >>> Starting builtin_infovars
        ACCEPT_KEYWORDS=x86
        CBUILD=i686-pc-linux-gnu
        CFLAGS=-O2 -march=pentium3 -pipe -fomit-frame-pointer
        CHOST=i686-pc-linux-gnu
        CONFIG_PROTECT=/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind 
        CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo 
        CPPFLAGS=
        CTARGET=
        CXXFLAGS=-O2 -march=pentium3 -pipe -fomit-frame-pointer
        DISTDIR=/var/db/pkg/sys-fs/udev-168-r2
        FEATURES=
        FFLAGS=
        GENTOO_MIRRORS=
        INSTALL_MASK=
        LANG=
        LC_ALL=C
        LDFLAGS=-Wl,-O1 -Wl,--as-needed
        LINGUAS=ru
        MAKEOPTS=-j2 -s
        PORTAGE_COMPRESS=
        PORTAGE_COMPRESS_FLAGS=
        PORTAGE_CONFIGROOT=
        PORTAGE_RSYNC_EXTRA_OPTS=
        PORTAGE_RSYNC_OPTS=
        PORTAGE_TMPDIR=/tmp
        PORTDIR=/var/db/pkg/sys-fs/udev-168-r2
        PORTDIR_OVERLAY=
        SYNC=
        USE=extras x86 alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1 alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2_modules_actions apache2_modules_alias apache2_modules_auth_basic apache2_modules_authn_alias apache2_modules_authn_anon apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_cgi apache2_modules_cgid apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling apache2_modules_status apache2_modules_unique_id apache2_modules_userdir apache2_modules_usertrack apache2_modules_vhost_alias calligra_features_braindump calligra_features_flow calligra_features_karbon calligra_features_kexi calligra_features_kpresenter calligra_features_krita calligra_features_tables calligra_features_words cameras_adc65 cameras_agfa_cl20 cameras_aox cameras_barbie cameras_canon cameras_casio_qv cameras_clicksmart310 cameras_digigr8 cameras_digita cameras_dimagev cameras_dimera3500 cameras_directory cameras_enigma13 cameras_fuji cameras_gsmart300 cameras_hp215 cameras_iclick cameras_jamcam cameras_jd11 cameras_kodak_dc120 cameras_kodak_dc210 cameras_kodak_dc240 cameras_kodak_dc3200 cameras_kodak_ez200 cameras_konica cameras_konica_qm150 cameras_largan cameras_lg_gsm cameras_mars cameras_mustek cameras_panasonic_coolshot cameras_panasonic_dc1000 cameras_panasonic_dc1580 cameras_panasonic_l859 cameras_pccam300 cameras_pccam600 cameras_polaroid_pdc320 cameras_polaroid_pdc640 cameras_polaroid_pdc700 cameras_ptp2 cameras_ricoh cameras_ricoh_g3 cameras_samsung cameras_sierra cameras_sipix_blink cameras_sipix_blink2 cameras_sipix_web2 cameras_smal cameras_sonix cameras_sony_dscf1 cameras_sony_dscf55 cameras_soundvision cameras_spca50x cameras_sq905 cameras_stv0674 cameras_stv0680 cameras_sx330z cameras_template cameras_toshiba_pdrm11 collectd_plugins_df collectd_plugins_interface collectd_plugins_irq collectd_plugins_load collectd_plugins_memory collectd_plugins_rrdtool collectd_plugins_swap collectd_plugins_syslog elibc_glibc gpsd_protocols_aivdm gpsd_protocols_ashtech gpsd_protocols_earthmate gpsd_protocols_evermore gpsd_protocols_fv18 gpsd_protocols_garmin gpsd_protocols_garmintxt gpsd_protocols_gpsclock gpsd_protocols_itrax gpsd_protocols_mtk3301 gpsd_protocols_navcom gpsd_protocols_nmea gpsd_protocols_ntrip gpsd_protocols_oceanserver gpsd_protocols_oldstyle gpsd_protocols_oncore gpsd_protocols_rtcm104v2 gpsd_protocols_rtcm104v3 gpsd_protocols_sirf gpsd_protocols_superstar2 gpsd_protocols_timing gpsd_protocols_tnt gpsd_protocols_tripmate gpsd_protocols_tsip gpsd_protocols_ubx input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_wacom kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text linguas_ru php_targets_php5-3 ruby_targets_ruby18 userland_GNU video_cards_i810 video_cards_intel video_cards_mach64 video_cards_mga video_cards_nouveau video_cards_nv video_cards_nvidia video_cards_r128 video_cards_radeon video_cards_radeonhd video_cards_savage video_cards_sis video_cards_trident video_cards_vesa video_cards_vga xtables_addons_account xtables_addons_chaos xtables_addons_condition xtables_addons_delude xtables_addons_dhcpmac xtables_addons_fuzzy xtables_addons_geoip xtables_addons_iface xtables_addons_ipmark xtables_addons_ipp2p xtables_addons_ipset xtables_addons_ipv4options xtables_addons_length2 xtables_addons_logmark xtables_addons_lscan xtables_addons_pknock xtables_addons_psd xtables_addons_quota2 xtables_addons_rawnat xtables_addons_steal xtables_addons_sysrq xtables_addons_tarpit xtables_addons_tee x86 
        >>> Done builtin_infovars
        >>> Starting pkg_info
        >>> Done pkg_info
        >>> Completed ebuild phases initmisc infovars info
        >>> Running ebuild phase tidyup as paludisbuild:paludisbuild...
        >>> Starting builtin_tidyup
        rm -fr /tmp/sys-fs-udev-168-r2-info
        >>> Done builtin_tidyup
        >>> Completed ebuild phase tidyup
Comment 3 William Hubbs gentoo-dev 2011-06-13 20:41:35 UTC
Is this still an issue with udev-171-r2?
Comment 4 exc 2011-06-13 22:45:55 UTC
(In reply to comment #3)
> Is this still an issue with udev-171-r2?

Yes. I tried to save stderr log of '/etc/init.d/udev start' to ATA drive, but got 'journal I/O commit error' and empty file.
Comment 5 exc 2011-06-13 22:54:08 UTC
(In reply to comment #4)
Sorry, I reported about udev-171-r1, not udev-171-r2. Can't sync portage now.
Comment 6 William Hubbs gentoo-dev 2011-06-30 23:52:04 UTC
I checked my kernel and was unable to find CONFIG_USB to set to m. Also,
the information you posted does not include the version ofyour kernel,
so I am unable to reproduce this.

The kernel I am running is 2.6.38-gentoo-r6.

Feel free to re-open if this is still an issue.