Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

OpenRC and baselayout 2 - Stunning!

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
51 posts
  • 1
  • 2
  • 3
  • Next
Author
Message
mrpete
Apprentice
Apprentice
User avatar
Posts: 184
Joined: Mon Sep 01, 2003 10:12 am

OpenRC and baselayout 2 - Stunning!

  • Quote

Post by mrpete » Tue Apr 15, 2008 12:16 pm

OpenRC and baselayout 2 have just hit ~x86 and I've got to say I am absolutely stunned how quick the startup time is now. Just a word of warning, if you are like me and run a ~x86 system and regularly update it without paying the utmost attention to what's being updated you do want to take a look at this, http://www.gentoo.org/doc/en/openrc-migration.xml.

Great work!
Top
monsm
Guru
Guru
User avatar
Posts: 467
Joined: Wed Sep 26, 2007 1:27 pm
Location: London, UK

  • Quote

Post by monsm » Tue Apr 15, 2008 2:07 pm

Good stuff.
I was thinking about this after seeing that post on the Gentoo front page. I was thinking maybe its an idea to put in my own mask into my /etc/portage/package.mask file in order to avoid surprises. Then remove the mask again when I am ready to update that part.

I'll probably just try to remember it when I run world updates next time, in few weeks.
Top
pappy_mcfae
Watchman
Watchman
User avatar
Posts: 5999
Joined: Thu Dec 27, 2007 10:51 pm
Location: Pomona, California.
Contact:
Contact pappy_mcfae
Website

  • Quote

Post by pappy_mcfae » Tue Apr 15, 2008 9:01 pm

monsm wrote:Good stuff.
I was thinking about this after seeing that post on the Gentoo front page. I was thinking maybe its an idea to put in my own mask into my /etc/portage/package.mask file in order to avoid surprises. Then remove the mask again when I am ready to update that part.

I'll probably just try to remember it when I run world updates next time, in few weeks.
For now, I'd heartily recommend masking baselayout-2 and OpenRC. I am still ironing out the bugs that came with that "upgrade". I got lucky with my 64 bit system since it only uses one network interface. However, my laptops need to be able to rename their net interfaces, and that ain't happening with this new setup. For the time being, I have things functional on two out of three systems. I am debating whether I should go for an update on the third, or whether I should leave it until the bigger kinks are removed from this system. I am leaning towards not.

Frankly, I don't see a whole lot of difference. Perhaps sometime in the future I will. For now, color me unimpressed.

Blessed be!
Pappy
This space left intentionally blank, except for these ASCII symbols.
Top
cst
Apprentice
Apprentice
Posts: 203
Joined: Sun Feb 24, 2008 11:51 am
Location: /proc

  • Quote

Post by cst » Wed Apr 16, 2008 9:14 am

there was a few issues on my system but i managed to get all of them fixed and now it all works great and is a lot faster, good job!
i7 3930K @ 4GHz
MSI X79A-GD45 (8D)
32GB 1600 MHz DDR3 Samsung
Samsung 840 PRO, 2xSamsung HD502HJ in RAID 1
MSI GTX 980Ti
latest gentoo-sources on x86_64 Fluxbox (amd64)

best render farm: www.GarageFarm.NET
Top
wolfden
Tux's lil' helper
Tux's lil' helper
Posts: 102
Joined: Wed Oct 13, 2004 9:01 pm
Location: Midwest
Contact:
Contact wolfden
Website

  • Quote

Post by wolfden » Wed Apr 16, 2008 9:29 am

all good here, been running it for a while now on the x86, just upgrading 64 bit now - migration guide is good.
Top
pappy_mcfae
Watchman
Watchman
User avatar
Posts: 5999
Joined: Thu Dec 27, 2007 10:51 pm
Location: Pomona, California.
Contact:
Contact pappy_mcfae
Website

  • Quote

Post by pappy_mcfae » Thu Apr 17, 2008 9:17 am

I just removed baselayout-2 from this machine (a three hour tour of hell). It prevented my automatic networking script from operating, and caused a few other irritations.

While I understand the idea behind the new baselayout, I'm unimpressed with the results I've seen on my laptop thus far. I am going to leave it on my Core2 because that machine has only one network interface, and it wasn't bothered in the least by the upgrade.

Blessed be!
Pappy
This space left intentionally blank, except for these ASCII symbols.
Top
spielc
Guru
Guru
Posts: 452
Joined: Tue Apr 20, 2004 2:26 pm

  • Quote

Post by spielc » Thu Apr 17, 2008 12:02 pm

I have to say that i have mixed feelings about the new gentoo init-system. On one hand it's ALOT faster than the old one on the other i experience quite alot of bugs with the new system: First of all i compiled almost all my drivers as modules that includes rtc_cmos for my system's realtime clock, so i experienced problems with the hwclock-initscript as it was started before modules-initscript was (before * in the init-script). That was easy to fix just replace before * with after modules and that was it. The other problem is really annoying: Whenever i actually log into X and try to shutdown/reboot openrc fails to stop xdm-initscript and hangs on dbus-initscript. If i don't log into X rebooting/shutting down the system works as expected. Only thing that helps is using SysReq: emergency reboot to reboot the system. Anybody else experienced this problems and found a solution?
Top
tsuehpsyde
Tux's lil' helper
Tux's lil' helper
Posts: 103
Joined: Wed Jul 28, 2004 2:03 pm
Contact:
Contact tsuehpsyde
Website

  • Quote

Post by tsuehpsyde » Thu Apr 17, 2008 3:18 pm

Well, I'm trying to get this working on my test box, but it's dying. :( Perhaps I can get some help? On reboot, I'm getting the following message:

Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Insert root floppy and press ENTER

VFS: Cannot open root device "sda3(then a bunch of weird symbols for almost a full line, like half an H)" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
0800 160836480 sda driver: sd
0801 136521 sda1
0802 3911827 sda2
0803 156786367 sda3
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

And here is my menu.lst in grub:

default 0
timeout 1

title=Gentoo 2.6.24-gentoo-r4
root (hd0,0)
kernel /boot/bzImage root=/dev/sda3

Any ideas? :( I haven't changed anything in grub, so I'm not sure why this migration to OpenRC started this mess, heh.
Top
Simba7
l33t
l33t
User avatar
Posts: 709
Joined: Mon Jan 22, 2007 8:25 pm
Location: Billings, MT, USA
Contact:
Contact Simba7
Website

  • Quote

Post by Simba7 » Thu Apr 17, 2008 3:41 pm

Did you update Grub, too? I've been having problems with -r5. I ended up reverting to -r4.
Top
tsuehpsyde
Tux's lil' helper
Tux's lil' helper
Posts: 103
Joined: Wed Jul 28, 2004 2:03 pm
Contact:
Contact tsuehpsyde
Website

  • Quote

Post by tsuehpsyde » Thu Apr 17, 2008 4:49 pm

I'm not sure. I rebooted and it randomly booted up to OpenRC and started up. I simply rebooted, and it got stuck again. Something is definitely flakey...
Top
pappy_mcfae
Watchman
Watchman
User avatar
Posts: 5999
Joined: Thu Dec 27, 2007 10:51 pm
Location: Pomona, California.
Contact:
Contact pappy_mcfae
Website

  • Quote

Post by pappy_mcfae » Thu Apr 17, 2008 5:01 pm

The speed with which my computer boots is immaterial to me. I'd say 45 seconds from start to finish is live-with-able. And even if openrc slims that down to 30 seconds, it's not worth the savings if I lose functionality. The good thing is you can remove the new baselayout and openrc. Doing that has brought my laptop back to the kind of functionality *I* want. After all, that is one of the main reasons I remain a Gentoo user.

Blessed be!
Pappy
This space left intentionally blank, except for these ASCII symbols.
Top
Simba7
l33t
l33t
User avatar
Posts: 709
Joined: Mon Jan 22, 2007 8:25 pm
Location: Billings, MT, USA
Contact:
Contact Simba7
Website

  • Quote

Post by Simba7 » Thu Apr 17, 2008 5:20 pm

I haven't bumped into the loss of functionality... but I did redo all my systems when I switched over..
Top
cyrillic
Watchman
Watchman
User avatar
Posts: 7311
Joined: Wed Feb 19, 2003 3:05 am
Location: Groton, Massachusetts USA

  • Quote

Post by cyrillic » Thu Apr 17, 2008 7:13 pm

I must admit, I was scared to take the plunge into openrc/baselayout2

... but I did it anyways, and I am quite pleased with the results. :D
Top
depontius
Advocate
Advocate
Posts: 3533
Joined: Wed May 05, 2004 4:06 pm

  • Quote

Post by depontius » Thu Apr 17, 2008 7:42 pm

pappy_mcfae wrote:The speed with which my computer boots is immaterial to me.y
I reboot my deskside when I update the kernel. Other than that, it's here when I need it, and increasing its uptime when I'm not. I'm pretty much completely uninterested in the boot time on this machine.

My laptop, on the other hand, is a different case. I'd like to see faster boots there. But of course it also has 2 network (wired and wireless) interfaces, so I may bump into the problems others have had. I also have my own post-networking script that makes extensive changes, including runlevel, ( runlevels for home, work, nonetwork, travel, etc ) based on the issued IP address. That sounds like it may need rework.

Does the new /etc/conf.d/net.example show how to add an extra static route, like the old one did?
.sigs waste space and bandwidth
Top
dantrell
l33t
l33t
User avatar
Posts: 915
Joined: Fri Jun 01, 2007 10:09 pm
Location: Earth

  • Quote

Post by dantrell » Thu Apr 17, 2008 8:10 pm

After rebooting 2 of several boxes, I have to agree: stunning. 8O
Dantrell B.
Top
pappy_mcfae
Watchman
Watchman
User avatar
Posts: 5999
Joined: Thu Dec 27, 2007 10:51 pm
Location: Pomona, California.
Contact:
Contact pappy_mcfae
Website

  • Quote

Post by pappy_mcfae » Thu Apr 17, 2008 10:42 pm

depontius wrote:
pappy_mcfae wrote:The speed with which my computer boots is immaterial to me.y
I reboot my deskside when I update the kernel. Other than that, it's here when I need it, and increasing its uptime when I'm not. I'm pretty much completely uninterested in the boot time on this machine.

My laptop, on the other hand, is a different case. I'd like to see faster boots there. But of course it also has 2 network (wired and wireless) interfaces, so I may bump into the problems others have had. I also have my own post-networking script that makes extensive changes, including runlevel, ( runlevels for home, work, nonetwork, travel, etc ) based on the issued IP address. That sounds like it may need rework.

Does the new /etc/conf.d/net.example show how to add an extra static route, like the old one did?
I'm not sure. I looked at it, and when I didn't find the ability to rename my interfaces, I decided it wasn't for me. Part of the problem for me is for some reason, my auto-networking script just stopped working. Gone...history...no more. Untying the knots was a total P.I.T.A. Perhaps I'll give it a go when they get the bigger bugs out. For now, as I said before, color me unimpressed.

And like you, curiously, the only machine that took the upgrade without completely falling to pieces was the machine I hardly ever reboot. Hmm.

Blessed be!
Pappy
This space left intentionally blank, except for these ASCII symbols.
Top
depontius
Advocate
Advocate
Posts: 3533
Joined: Wed May 05, 2004 4:06 pm

  • Quote

Post by depontius » Thu Apr 17, 2008 11:05 pm

pappy_mcfae wrote:my auto-networking script just stopped working. Gone...history...no more. Untying the knots was a total P.I.T.A. Perhaps I'll give it a go when they get the bigger bugs out. For now, as I said before, color me unimpressed.

And like you, curiously, the only machine that took the upgrade without completely falling to pieces was the machine I hardly ever reboot. Hmm.

Blessed be!
Pappy
Given the warning, I think I'll have /etc backed up before starting this. I have a spare machine that I may try the baselayout-2 on this weekend, just to get a feel.
.sigs waste space and bandwidth
Top
pappy_mcfae
Watchman
Watchman
User avatar
Posts: 5999
Joined: Thu Dec 27, 2007 10:51 pm
Location: Pomona, California.
Contact:
Contact pappy_mcfae
Website

  • Quote

Post by pappy_mcfae » Thu Apr 17, 2008 11:28 pm

depontius wrote:Given the warning, I think I'll have /etc backed up before starting this. I have a spare machine that I may try the baselayout-2 on this weekend, just to get a feel.
That would be an incredibly wise thing. Unfortunately for me, I updated two machines at once, not realizing what was going to happen. That was a mistake.

Blessed be!
Pappy
This space left intentionally blank, except for these ASCII symbols.
Top
_pi
n00b
n00b
Posts: 23
Joined: Fri Apr 06, 2007 5:25 am

  • Quote

Post by _pi » Fri Apr 18, 2008 3:54 am

I don't care how fast I boot up. No matter what 5-20 seconds got trimmed off of that it was not worth the 6+ hours of trouble shooting to get the damn thing running.
Top
cyrillic
Watchman
Watchman
User avatar
Posts: 7311
Joined: Wed Feb 19, 2003 3:05 am
Location: Groton, Massachusetts USA

  • Quote

Post by cyrillic » Fri Apr 18, 2008 5:30 pm

pappy_mcfae wrote:I looked at it, and when I didn't find the ability to rename my interfaces, I decided it wasn't for me.
Maybe you just didn't know where to look.

Renaming interfaces can be done easily by editing /etc/udev/rules.d/70-persistent-net.rules
Top
Simba7
l33t
l33t
User avatar
Posts: 709
Joined: Mon Jan 22, 2007 8:25 pm
Location: Billings, MT, USA
Contact:
Contact Simba7
Website

  • Quote

Post by Simba7 » Fri Apr 18, 2008 6:20 pm

dantrell wrote:After rebooting 2 of several boxes, I have to agree: stunning. 8O
I agree.. One of my boxes is a router/firewall. The less time it has to reboot, the more happy I become.
Top
pappy_mcfae
Watchman
Watchman
User avatar
Posts: 5999
Joined: Thu Dec 27, 2007 10:51 pm
Location: Pomona, California.
Contact:
Contact pappy_mcfae
Website

  • Quote

Post by pappy_mcfae » Fri Apr 18, 2008 7:47 pm

cyrillic wrote:
pappy_mcfae wrote:I looked at it, and when I didn't find the ability to rename my interfaces, I decided it wasn't for me.
Maybe you just didn't know where to look.

Renaming interfaces can be done easily by editing /etc/udev/rules.d/70-persistent-net.rules
I know. I edited said file so my wired adapter starts life as wth0. My wireless naturally starts life as wlan0. Then, I have a script that looks for carrier on the wired adapter. If it is found, wth0 is then renamed to eth0. If not, then wlan0 is renamed to eth0. It works flawlessly. And, it works the way *I* want it to.

When I move to baselayout-2/openrc, the script shuts down and renaming the interfaces goes out the window. That is NOT how I want my machine to work. Part of what I like most about Gentoo is that I decide how the computer operates, not the other way around. If I want the computer to tell me how *it* wants to work, I can always boot into Windoze XP.

So, when and if an option comes into being with the new setup that will allow me to continue to use my computer the way I want to use it, I'll gladly switch. Until that time comes, I'm not interested.

Thanks.

Blessed be!
Pappy
This space left intentionally blank, except for these ASCII symbols.
Top
Taladar
Guru
Guru
Posts: 458
Joined: Sat Oct 09, 2004 4:26 pm
Location: Bielefeld, Germany

  • Quote

Post by Taladar » Sat Apr 19, 2008 9:46 am

I really would have appreciated it if a completely unmasked (okay, in ~amd64 but still) package would not delete my /etc/conf.d/net without even showing up in etc-update...

Even if it can't handle the old format, the least it could do is move it out of the way instead of just overwriting it with an empty file...(happened to me on three computers so I am pretty sure I didn't accidently do that via etc-update)
Top
Treggats
n00b
n00b
Posts: 46
Joined: Sat Aug 04, 2007 1:46 pm
Location: 127.0.0.1/24

  • Quote

Post by Treggats » Sat Apr 19, 2008 10:23 am

I must say, the new baselayout is stunning, everytime I boot or shutdown my laptop I'm amazed by the speed at which it goes.
I've had no problems with network adapters, since I only let net.lo boot. The others will start when I log in (networkmanager)

Even though it was quite scary to do the upgrade, as I *might* wreck my system. After the reboot all was fine and fast :)

The thing I didn't understand was if I was supposed to put all my old /etc/conf.d/rc into the new /etc/rc.conf
/* Insert funny quote */
Top
SeaTiger
l33t
l33t
User avatar
Posts: 603
Joined: Thu Nov 22, 2007 8:32 am
Location: Toronto, Ontario, Canada

  • Quote

Post by SeaTiger » Sat Apr 19, 2008 7:46 pm

tsuehpsyde wrote:Well, I'm trying to get this working on my test box, but it's dying. :( Perhaps I can get some help? On reboot, I'm getting the following message:

Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Insert root floppy and press ENTER

VFS: Cannot open root device "sda3(then a bunch of weird symbols for almost a full line, like half an H)" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
0800 160836480 sda driver: sd
0801 136521 sda1
0802 3911827 sda2
0803 156786367 sda3
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

And here is my menu.lst in grub:

default 0
timeout 1

title=Gentoo 2.6.24-gentoo-r4
root (hd0,0)
kernel /boot/bzImage root=/dev/sda3

Any ideas? :( I haven't changed anything in grub, so I'm not sure why this migration to OpenRC started this mess, heh.
In the following line:

Code: Select all

kernel /boot/bzImage root=/dev/sda3
add a [space] at the end, it is a bug from the latest grub.
Top
Post Reply

51 posts
  • 1
  • 2
  • 3
  • Next

Return to “Portage & Programming”

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