Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

[SOLVED] sysfs not mounted

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
17 posts • Page 1 of 1
Author
Message
erzapito
Tux's lil' helper
Tux's lil' helper
Posts: 138
Joined: Fri Feb 02, 2007 6:43 pm

[SOLVED] sysfs not mounted

  • Quote

Post by erzapito » Fri May 27, 2011 9:51 pm

I have just installed gentoo and tried to use lm_sensors, it appears that the sysfs is not mounted and I don't know what I have to do. Does anyone wonder how can I solve this?

Thank you very much.
Last edited by erzapito on Mon May 30, 2011 9:41 pm, edited 1 time in total.
Top
denysonique
n00b
n00b
Posts: 60
Joined: Sat Apr 17, 2010 9:48 am
Location: London

  • Quote

Post by denysonique » Sat May 28, 2011 1:14 pm

What appears when you run:

Code: Select all

# mount
Top
erzapito
Tux's lil' helper
Tux's lil' helper
Posts: 138
Joined: Fri Feb 02, 2007 6:43 pm

  • Quote

Post by erzapito » Sun May 29, 2011 12:28 am

mount:

Code: Select all

rootfs on / type rootfs (rw)
/dev/root on / type ext4 (rw,noatime,barrier=1,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=3028244k,nr_inodes=757061,mode=755)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
rc-svcdir on /lib64/rc/init.d type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Sun May 29, 2011 3:28 am

edit menuconfig to include:
File systems --->
Pseudo filesystems --->
-*- /proc file system support
[*] /proc/kcore support
[*] Virtual memory file system support (former shm fs)
[*] Tmpfs POSIX Access Control Lists
[*] HugeTLB file system support
<*> Userspace-driven configuration filesystem
then recompile and recopy kernel.
Defund the FCC.
Top
Etal
Veteran
Veteran
User avatar
Posts: 1932
Joined: Fri Jul 15, 2005 3:01 pm

  • Quote

Post by Etal » Sun May 29, 2011 3:31 am

Do you have this line in your /etc/fstab ?

Code: Select all

sysfs		/sys			sysfs	nodev,nosuid,noexec		0 0
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Top
Hu
Administrator
Administrator
Posts: 24403
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sun May 29, 2011 3:47 am

Etal wrote:Do you have this line in your /etc/fstab ?

Code: Select all

sysfs		/sys			sysfs	nodev,nosuid,noexec		0 0
That is not present on my working systems.
Top
denysonique
n00b
n00b
Posts: 60
Joined: Sat Apr 17, 2010 9:48 am
Location: London

  • Quote

Post by denysonique » Sun May 29, 2011 4:44 am

Yep, sysfs no longer needs to be in fstab
Top
Etal
Veteran
Veteran
User avatar
Posts: 1932
Joined: Fri Jul 15, 2005 3:01 pm

  • Quote

Post by Etal » Sun May 29, 2011 5:08 am

Right. If not in fstab, sysfs would be mounted by /etc/init.d/sysfs.

Check if the sysfs service is in the boot runlevel, and if it is, see what happens when you restart it.
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Sun May 29, 2011 5:42 am

Not in boot run level in my working systems, instead rc-status -a shows :

Code: Select all

Dynamic Runlevel: needed
 sysfs [  started  ]
Dynamic Runlevel: manual
Defund the FCC.
Top
Hu
Administrator
Administrator
Posts: 24403
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sun May 29, 2011 5:09 pm

Etal wrote:Right. If not in fstab, sysfs would be mounted by /etc/init.d/sysfs.
This may be the case for baselayout-2, but that script does not exist in baselayout-1. Since the OP "just installed gentoo", it is not clear which version of baselayout he is using.

erzapito: could you post the output of emerge --info?
Top
erzapito
Tux's lil' helper
Tux's lil' helper
Posts: 138
Joined: Fri Feb 02, 2007 6:43 pm

  • Quote

Post by erzapito » Mon May 30, 2011 2:29 pm

I'm using version 2 of baselayout, I think it's been in stable for two weeks. By the way, I've checked /etc/init.d/sysfs and it is not started. I think I'm going to submit a bug about it.

This is my "emerge --info".

Code: Select all

Portage 2.1.9.42 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.5, libc-0-r0, 2.6.37-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.37-gentoo-r4-x86_64-AMD_Phenom-tm-_9600_Quad-Core_Processor-with-gentoo-2.0.2
Timestamp of tree: Mon, 30 May 2011 13:45:01 +0000
app-shells/bash:     4.1_p9
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.9.6-r3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.12.2
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.linuxant.fr/distfiles.gentoo.org/ ftp://ftp.dei.uc.pt/pub/linux/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.opteamax.de/gentoo/ http://mirror.netcologne.de/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="es_ES es"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk iconv ipv6 jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sdl session spell sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype udev unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es_ES es" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Top
alextz
n00b
n00b
Posts: 62
Joined: Wed Jan 04, 2006 8:39 pm
Location: Romania
Contact:
Contact alextz
Website

  • Quote

Post by alextz » Mon May 30, 2011 7:14 pm

Same problem here. When I try to run sensors-detect i get the same error message :

Code: Select all

Sysfs not mounted?
Top
Etal
Veteran
Veteran
User avatar
Posts: 1932
Joined: Fri Jul 15, 2005 3:01 pm

  • Quote

Post by Etal » Mon May 30, 2011 7:15 pm

Does running "/etc/init.d/sysfs start" help?
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Top
alextz
n00b
n00b
Posts: 62
Joined: Wed Jan 04, 2006 8:39 pm
Location: Romania
Contact:
Contact alextz
Website

  • Quote

Post by alextz » Mon May 30, 2011 7:25 pm

Yes,

Now I will add it to default runlevel.
Top
erzapito
Tux's lil' helper
Tux's lil' helper
Posts: 138
Joined: Fri Feb 02, 2007 6:43 pm

  • Quote

Post by erzapito » Mon May 30, 2011 7:48 pm

Same here, but I wonder why it worked by itself before and not now. Maybe it should be made clear on the documentation.
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Mon May 30, 2011 8:52 pm

/etc/init.d/sysfs should be started(run) by a need requirement in /etc/init.d/udev. /etc/init.d/udev should be in sysinit runlevel. Suggest

Code: Select all

emerge udev
and see if any conf file updates are required. if sysfs is put manually in a runlevel, sysinit might be a better choice than default.
Last edited by DONAHUE on Mon May 30, 2011 10:46 pm, edited 1 time in total.
Defund the FCC.
Top
erzapito
Tux's lil' helper
Tux's lil' helper
Posts: 138
Joined: Fri Feb 02, 2007 6:43 pm

  • Quote

Post by erzapito » Mon May 30, 2011 9:40 pm

It says to do so after compiling, I think it was something I missed when I was updating the whole system.

thank you very much.
Top
Post Reply

17 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic