Forums

Skip to content

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

openrc support thread

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Locked
Advanced search
820 posts
  • Page 33 of 33
    • Jump to page:
  • Previous
  • 1
  • …
  • 29
  • 30
  • 31
  • 32
  • 33
Author
Message
farhaven
Tux's lil' helper
Tux's lil' helper
Posts: 127
Joined: Sun Feb 17, 2008 6:05 pm

Post by farhaven » Thu Jul 09, 2009 12:55 am

Weird, now there's an updated version of /etc/inittab. Thanks a lot for your help :)
Top
Spidey
Apprentice
Apprentice
User avatar
Posts: 269
Joined: Thu Sep 07, 2006 5:53 pm
Contact:
Contact Spidey
Website

Post by Spidey » Tue Jul 28, 2009 8:11 pm

After updating to OpenRC, I can't boot anymore. I've got some mount errors before, but my box booted 100%, I could use everything normally. But now, I get these errors:

Code: Select all

Mounting /proc
mount: wrong fs type, bad option, bla bla bla.
I've recently added /proc to my /etc/fstab, since I got the exact same error before, but with unspecified partition.

Code: Select all

none /proc proc defaults 0 0
Another errors, usually together:

Code: Select all

/lib64/rc/init.d/*: Read-only file system
Failed to update the dependency tree.
Failed to create stopping dir. Read-only file system.
The * in the first error message actually means a lot of files are causing the problem, it's not specific.


I believe my main problem is fstab or mount, the other errors seems to be caused by a read only root fs. But I can't find what is the problem. I've reviewed /etc/fstab a million times, nothing wrong. It's pretty simple, just root, swap, /proc (new addition, same error before this) and tmpfs.
Top
UberLord
Retired Dev
Retired Dev
User avatar
Posts: 6838
Joined: Thu Sep 18, 2003 10:26 am
Location: Blighty
Contact:
Contact UberLord
Website

Post by UberLord » Thu Jul 30, 2009 10:07 pm

Can you post your fstab without comments?
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Top
Spidey
Apprentice
Apprentice
User avatar
Posts: 269
Joined: Thu Sep 07, 2006 5:53 pm
Contact:
Contact Spidey
Website

Post by Spidey » Fri Jul 31, 2009 3:53 am

Thank you for your feedback. Here is my /etc/fstab stripped of comments.

Code: Select all

/dev/sda2		/		ext4		noatime		0 1
/dev/sda3		none		swap		sw		0 0
shm			/dev/shm	tmpfs		nodev,nosuid,noexec	0 0
none 			/proc 		proc 		defaults 		0 0
My partition scheme is:

/dev/sda1 = windows
/dev/sda2 = gentoo
/dev/sda3 = swap
/dev/sda5 = backup (ntfs)

/dev/sdb1 = media

Windows, Backup and Media partitions aren't described in /etc/fstab yet, to make troubleshooting easier. I'll setup my system first, them I'll start customizing it.

Next time I boot to gentoo/ubuntu+chroot I'll make sure to copy /usr/src/linux/.config and /boot/grub/grub.conf, if you wish. That was the configuration files that I can think of as causes for this trouble. By the way, I'm 100% sure that my kernel has ext4 built-in support, ext4, not ext4dev. And my grub.conf is the same as before, root=/dev/sda2 ro video_options_stravaganza.
Top
lucapost
Veteran
Veteran
User avatar
Posts: 1420
Joined: Thu Nov 24, 2005 4:33 pm
Location: <ud|me|ts> - Italy
Contact:
Contact lucapost
Website

Post by lucapost » Fri Jul 31, 2009 12:09 pm

I have a question about /etc/conf.d/net and pppd, in particular with idle time setting:

Code: Select all

       idle n Specifies that pppd should disconnect if the link is idle for n seconds.	The link is idle when no data packets (i.e. IP packets)
	      are  being sent or received.  Note: it is not advisable to use this option with the persist option without the demand option.  If
	      the active-filter option is given, data packets which are rejected by the specified activity filter also count as the link  being
	      idle.

I have 3G internet key with 10h/day tariff.
In my /etc/conf.d/net I have set idle time:

Code: Select all

pppd_ppp1="
                  ....
                  idle 600
                  ...."
and this option works properly, but after the connection go down rc script restart it!

What can I solve this problem? wvdial is horrible solution...
LP
Top
UberLord
Retired Dev
Retired Dev
User avatar
Posts: 6838
Joined: Thu Sep 18, 2003 10:26 am
Location: Blighty
Contact:
Contact UberLord
Website

Post by UberLord » Fri Jul 31, 2009 10:05 pm

Spidey wrote:Thank you for your feedback. Here is my /etc/fstab stripped of comments.

Code: Select all

/dev/sda2		/		ext4		noatime		0 1
/dev/sda3		none		swap		sw		0 0
shm			/dev/shm	tmpfs		nodev,nosuid,noexec	0 0
none 			/proc 		proc 		defaults 		0 0
I can't replicate your problem :/
Can you remove the shm and proc lines, as OpenRC will pretty much use your settings anyway.
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Top
Spidey
Apprentice
Apprentice
User avatar
Posts: 269
Joined: Thu Sep 07, 2006 5:53 pm
Contact:
Contact Spidey
Website

Post by Spidey » Sat Aug 01, 2009 12:25 am

That's what I feared. Are there any way to log the kernel booting process?
May I "emerge -e system"?

I'll start by emerging baselayout and openrc first, then I'll emerge the toolkit (gcc, glibc, python) and if nothing works, an emerge -e system should do the trick. If nothing works, reinstall.

I'm uploading my dmesg after an unsuccessful boot (with read-only root file system) and my .config to rapidshare, link just below.

Here are my emerge --info and my emerge -pv baselayout openrc:
These are the packages that would be merged, in order:

Calculating dependencies ... done!
[ebuild R ] sys-kernel/gentoo-sources-2.6.30-r4 USE="symlink -build" 0 kB
[ebuild R ] sys-apps/baselayout-2.0.1 USE="-build" 0 kB
[ebuild R ] sys-apps/openrc-0.4.3-r3 USE="ncurses pam unicode -debug" 0 kB

Total: 3 packages (3 reinstalls), Size of downloads: 0 kB
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 01 Aug 2009 01:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python: 2.6.2-r1
dev-util/ccache: 2.4-r8
dev-util/cmake: 2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.4.3-r3
sys-apps/sandbox: 2.0
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils: 2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse3 -msse4.1 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
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 /etc/udev/rules.d"
CXXFLAGS="-march=core2 -msse3 -msse4.1 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/dis ... ons/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="pt_BR en_US en pt"
MAKEOPTS="-j7"
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.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdr cli cracklib crypt cups custom-optimization dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv isdnlog java jpeg kde libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib mysql ncurses nls nptl nptlonly ogg opengl openmp openssl pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl ssse3 startup-notification svg symlink sysfs tcpd tiff truetype unicode usb vorbis webkit x264 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt_BR en_US en pt" USERLAND="GNU" VIDEO_CARDS="fglrx radeonhd vesa"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
My dmesg and .config 7-zipped:
http://rapidshare.com/files/262365567/d ... ig.7z.html
Top
mv
Watchman
Watchman
User avatar
Posts: 6795
Joined: Wed Apr 20, 2005 12:12 pm

Post by mv » Sat Aug 01, 2009 12:09 pm

@Spidey: It might be something different, but I had such a problem when one of the data-blocks of my harddisks had a CRC error. When reading that block the kernel then considered this a fatal error and forced the whole harddisk immediately to a read-only state, meaning that e.g. any user-level "mount -o remount,rw" was ignored. Maybe this kernel feature can be switched on/off by (un)setting some option in the kernel's .config - I had never tried.
Top
Spidey
Apprentice
Apprentice
User avatar
Posts: 269
Joined: Thu Sep 07, 2006 5:53 pm
Contact:
Contact Spidey
Website

Post by Spidey » Sat Aug 01, 2009 4:00 pm

Never seen something like this, but I'll try to scan my disk for errors. Anyway, from Ubuntu I can mount /dev/sda2 flawlessly, I think I broke something when I wen't from stable to unstable.
Top
VinzC
Watchman
Watchman
User avatar
Posts: 5100
Joined: Sat Apr 17, 2004 1:51 pm
Location: Dark side of the mood

openrc-0.4.3-r3 no longer compiles with GCC-4.3.2

Post by VinzC » Wed Aug 05, 2009 2:59 pm

Hi.

I've got a singular issue. I've just changed my CFLAGS from "-march=nocona" to "-march=core2 -msse4.1" as I have a CPU that supports SSE4.1. I've recompiled gcc and glibc first then did an emerge -qve system. Almost everything went fine. So far the only one package that fails is OpenRC-0.4.3-r3...

Code: Select all

[shortened]...
x86_64-pc-linux-gnu-gcc -march=core2 -msse4.1 -O2 -pipe  -std=c99 -Wall -Wextra -Wimplicit -Wshadow -Wformat=2 -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wnested-externs -Winline -Wwrite-strings -Wcast-align -Wcast-qual -Wpointer-arith -Wdeclaration-after-statement -Wsequence-point  -I../includes -I../librc -I../libeinfo  -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -DHAVE_TERMCAP -DHAVE_PAM -c rc.c -o rc.o
rc.c: In function ‘proc_getent’:
rc.c:179: error: ‘COMMAND_LINE_SIZE’ undeclared (first use in this function)
rc.c:179: error: (Each undeclared identifier is reported only once
rc.c:179: error: for each function it appears in.)
rc.c:179: warning: unused variable ‘proc’
make[2]: *** [rc.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-apps/openrc-0.4.3-r3/work/openrc-0.4.3/src/rc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-apps/openrc-0.4.3-r3/work/openrc-0.4.3/src'
make: *** [all] Error 2
 * 
 * ERROR: sys-apps/openrc-0.4.3-r3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2757:  Called die
 * The specific snippet of code:
 *       emake ${MAKE_ARGS} || die "emake ${MAKE_ARGS} failed"
 *  The die message:
 *   emake  LIBNAME=lib64 OS=Linux failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/sys-apps:openrc-0.4.3-r3:20090805-142336.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/openrc-0.4.3-r3/temp/environment'.
 * 

Code: Select all

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Duo CPU     T9400  @ 2.53GHz
stepping        : 10
cpu MHz         : 2534.000
cache size      : 6144 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm ida tpr_shadow vnmi flexpriority
bogomips        : 5053.90
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Duo CPU     T9400  @ 2.53GHz
stepping        : 10
cpu MHz         : 2534.000
cache size      : 6144 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm ida tpr_shadow vnmi flexpriority
bogomips        : 5053.96
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

Code: Select all

Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.30-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9400_@_2.53GHz-with-glibc2.2.5
Timestamp of tree: Thu, 09 Jul 2009 04:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.4-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.30
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4.1 -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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -msse4.1 -O2 -pipe"
DISTDIR="/var/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
LDFLAGS="-Wl,-O1"
LINGUAS="fr en en_GB en_US"
MAKEOPTS="-j3"
PKGDIR="/var/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="/var/portage"
PORTDIR_OVERLAY="/usr/local/portage"
USE="X acl acpi alsa amd64 bindist branding bzip2 cairo cdda cddb cdparanoia cdr cli cracklib crypt cups dbus directfb dri dvd dvdr encode fbcon ffmpeg flac gdbm gif gnutls gpm gs gstreamer gtk hal iconv isdnlog jpeg jpeg2k mad midi mmx mmxext mp3 mpeg mudflap multilib musicbrainz ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png pppd python readline reflection sdl session slang spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff truetype unicode usb v4l2 vorbis wmf xcomposite xinerama xorg xscreensaver xv xvid zlib" ALSA_CARDS="hda-intel" 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 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 auth_digest" ELIBC="glibc" INPUT_DEVICES="keyboard mouse ps2mouse linuxinput synaptics evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr en en_GB en_US" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
So I've tried restoring my older CFLAGS to "-march=nocona" but it didn't cure the problem.

Should I press the *panic* button or is there something else I can do?

EDIT: Ok, my issue has nothing to do with GCC, I've just seen [bug=276715]that bug[/bug]. I've applied the patch and OpenRC compiles fine now. 8)
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Top
EasterParade
l33t
l33t
User avatar
Posts: 938
Joined: Sat Jul 26, 2003 10:48 am

Post by EasterParade » Sat Aug 22, 2009 12:44 pm

Did not work here.

Code: Select all

x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe  -std=c99 -Wall -Wextra -Wimplicit -Wshadow -Wformat=2 -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wnested-externs -Winline -Wwrite-strings -Wcast-align -Wcast-qual -Wpointer-arith -Wdeclaration-after-statement -Wsequence-point  -I../includes -I../librc -I../libeinfo  -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -DHAVE_TERMCAP -DHAVE_PAM -c rc.c -o rc.o
rc.c: In Funktion »proc_getent«:
rc.c:179: Fehler: »COMMAND_LINE_SIZE« nicht deklariert (erste Benutzung in dieser Funktion)
rc.c:179: Fehler: (Jeder nicht deklarierte Bezeichner wird nur einmal aufgeführt
rc.c:179: Fehler: für jede Funktion in der er auftritt.)
rc.c:179: Warnung: Variable »proc« wird nicht verwendet
make[2]: *** [rc.o] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/sys-apps/openrc-0.4.3-r1/work/openrc-0.4.3/src/rc'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/var/tmp/portage/sys-apps/openrc-0.4.3-r1/work/openrc-0.4.3/src'
make: *** [all] Fehler 2
 * 
 * ERROR: sys-apps/openrc-0.4.3-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2814:  Called die
 * The specific snippet of code:
 *       emake ${MAKE_ARGS} || die "emake ${MAKE_ARGS} failed"
 *  The die message:
 *   emake  LIBNAME=lib64 OS=Linux failed
 * 
Did I fail, make a mistake while patching? Patch reported success. Or does openrc fail here due to another reason?
It is a downgrade from openrc-0.4.3-r3 on 2.6.30-gentoo-r2 with linux-headers-2.6.30-r1.

Code: Select all

 emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 22 Aug 2009 11:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.8-r1
dev-lang/python:     2.4.4-r13, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/                 ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/                 ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/enlightenment /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
Top
VinzC
Watchman
Watchman
User avatar
Posts: 5100
Joined: Sat Apr 17, 2004 1:51 pm
Location: Dark side of the mood

Post by VinzC » Sun Aug 23, 2009 7:01 am

The patch has been included in the -r3 version (only) so if you --sync now and re-merge openrc the error should be gone.
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Top
ichbinsisyphos
Guru
Guru
User avatar
Posts: 547
Joined: Fri Dec 08, 2006 7:03 pm

Post by ichbinsisyphos » Thu Aug 27, 2009 3:20 am

UberLord wrote:http://roy.marples.name/~roy/mnt-dirs.diff

Not tested though. Let me know if it works.
Is the patch missing in the newest release? I had to manually edit the files after a re-install.
Top
wthrowe
Tux's lil' helper
Tux's lil' helper
Posts: 141
Joined: Wed Aug 19, 2009 6:28 pm

Post by wthrowe » Fri Aug 28, 2009 3:36 am

I've been running openrc-0.4.3-r3 for a while now, and haven't had any major problems (well, except for nettree not getting updated automatically).

One annoyance that I've found, though, is that I can't seem to disable hotplugging. It appears from the config file that it should be off by default, but whenever I start my wireless card (I have a wireless runlevel) it gets added to the 'hotplugged' runlevel and doesn't shut down when I rc back to default, where it isn't enabled.

Everything works fine if I boot directly into default. I only have problems when I switch out of the wireless runlevel. Manual stop of wlan0 works fine, but having to do that every time is a pain.

Any suggestions?
Top
VinzC
Watchman
Watchman
User avatar
Posts: 5100
Joined: Sat Apr 17, 2004 1:51 pm
Location: Dark side of the mood

Post by VinzC » Fri Aug 28, 2009 7:53 am

wthrowe wrote:Manual stop of wlan0 works fine, but having to do that every time is a pain.
RF-Kill switch?
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Top
z_sfeng
Apprentice
Apprentice
Posts: 154
Joined: Wed Apr 21, 2004 8:57 pm
Location: Finland

problem with shutdown, reboot, and hwclock

Post by z_sfeng » Fri Aug 28, 2009 8:04 am

I have 3 problems, 2 of them seem related to hwclock:
1. system time is not correct. I set my system time to "local", and time zone to Europe/Helsinki, and not sync hwclock at shutdown.
If I sync hwclock to correct time (BIOS time is correct EEST time) , after reboot there is always 3 hours time difference. /etc/init.d/hwclock restart can restore my system correctly.
try to be more clearly, the system time is:
after reboot, "date" shows, 13:45:44 EEST 2009 (wrong)
"hwclock" shows, 10:45 EEST (correct)
run /etc/init.d/hwclock restart, show

Code: Select all

"Setting system clock using the hardware clock [Local Time] ...     [OK]
now, "date" shows, 10:49:14 EEST 2009 (correct!)
"hwclock" shows, 10:49:43 AM EEST (correct!)

after a reboot, every thing goes wrong again

2. can shutdown. command "shutdown now" ends with:

Code: Select all

...
Finnished Shutting down the Logical Volume Manager                   [ok]]
Setting system clock using the hardware clock [Local Time] ...        [ok]
Setting system clock using the hardware clock [Local Time] ...        [ok]
Give root passwaord for maintenance
(or type Control-D to continue):
but command "poweroff" work without problem.

3. "reboot" seem shutdown the machine, end with message:

Code: Select all

restarting system
and blank the screen,
then I got 6 beep, and system halt, I have to press powerbutton for seconds to poweroff it.

openrc version is 0.4.3-r3 on ~amd64 machine.
Top
Strowi
l33t
l33t
User avatar
Posts: 656
Joined: Tue Aug 19, 2003 3:19 pm
Location: Bonn
Contact:
Contact Strowi
Website

Post by Strowi » Fri Aug 28, 2009 8:43 am

hi,

does anyone know how to replicate the network postup() functionality in openrc5? i already tried asking on irc or the mailinglist, but haven't got any clue as to how i would realize the following:
I am using wpa_supplicant to connect to all my networks. But there is one network (and probably a dozen other use-cases), where i need a vpn-connection started (which worked with the postup()-function).

How would i make the net-script wait until wpa_supplicant has connected and got an ip and then start vpnc?

/etc/conf.d/net (pre-openrc5)

Code: Select all


postup() {
        if  [[ ${IFACE} = "wlan0" ]]; then

                #Get the SSID
                ESSID=`iwgetid --raw`

                case "${ESSID}" in
                        NET1)
                                /bin/echo level 2 > /proc/acpi/ibm/volume;

                                if [[ -f /var/run/vpnc/pid ]] ; then
                                        /usr/sbin/vpnc-disconnect;
                                fi;
                               /usr/sbin/vpnc /etc/vpnc/uni.conf;

                        ;;
                        NET2)
                                /etc/init.d/sshd start
                        ;;
                        *)
                        ;;
                esac
        fi

    return 0
}
--
Linux & such ...
http://blog.hasnoname.de
Top
wthrowe
Tux's lil' helper
Tux's lil' helper
Posts: 141
Joined: Wed Aug 19, 2009 6:28 pm

Post by wthrowe » Fri Aug 28, 2009 2:06 pm

VinzC wrote:
wthrowe wrote:Manual stop of wlan0 works fine, but having to do that every time is a pain.
RF-Kill switch?
Works, although still a bit ugly. (And now it also takes two actions to turn wireless on again.) At least it avoids getting my resolv.conf nuked by wlan0 stop after eth0 has already rewritten it, so thanks.


And to z_sfeng:
shutdown by default puts the system in single user mode. To actually shutdown, use

Code: Select all

shutdown -h now
which is what poweroff does internally.
Top
VinzC
Watchman
Watchman
User avatar
Posts: 5100
Joined: Sat Apr 17, 2004 1:51 pm
Location: Dark side of the mood

Post by VinzC » Sat Aug 29, 2009 12:06 pm

VinzC wrote:RF-Kill switch?
wthrowe wrote:Works, although still a bit ugly. (And now it also takes two actions to turn wireless on again.) At least it avoids getting my resolv.conf nuked by wlan0 stop after eth0 has already rewritten it, so thanks.
Glad to help. Since your troubles seem to come from resolv.conf being overwritten (if I understood) you might want to try OpenResolv if you need more complex DNS configuration than the [simple] defaults. I'm using it to add (instead of «replace») DNS servers that I receive from VPN connections, for instance. It works very well -- it's written by Roy Marples aka Uberlord.
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Top
timeBandit
Bodhisattva
Bodhisattva
User avatar
Posts: 2719
Joined: Fri Dec 31, 2004 1:54 am
Location: here, there or in transit

Post by timeBandit » Sat Aug 29, 2009 2:33 pm

Continued by [topic=790100]OpenRC support thread, 2d Edition[/topic].
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Top
Locked

820 posts
  • Page 33 of 33
    • Jump to page:
  • Previous
  • 1
  • …
  • 29
  • 30
  • 31
  • 32
  • 33

Return to “Other Things 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