Sounds nice!
However, my Gentoo systems are all virtual servers (DomU VMs on XenServer). So, the hardware devices are static. Will switching over to mdev give any benefits?
I even am toying around with the idea of having a completely static /dev, but still can't find any guide/pointers yet.
(Apologies if my email is OOT)
Rgds,
True. Unfortunately, I don't have 'exotic' hardware to test mdev against, and USB pass-through is not yet supported on XenServer 5.6 (which I'm using right now).
I can try it inside VirtualBox on my Windows workstation though. Will that help?
Rgds,
Ah, thanks! Now I have more confidence to experiment, knowing someone else have successfully went the static /dev road :-)
Rgds,
Okay, I have two staging VMs on XenServer and one on VMware. I'm going to report back what happens. If anything bad happens, *should* be an easy rollback to the previous snapshot.
Rgds,
Plus, I'm feeling adventurous and will experiment with VirtualBox also ;)
Rgds,
On Dec 2, 2011 2:50 AM, "Walter Dnes" <walt...@waltdnes.org> wrote:
>
> Corrected "#!/sbin/busybox ash" to "#!/bin/busybox ash" in step 3. The
> weird part is that my system actually booted and ran fine even with this
> typo in the script.
>
Amazingly enough, my system also works. Albeit with two red asterisks during boot. But the errors only affected rc logging, so I didn't pursue the issue further. Then again, I don't need to do smarty exotic things in /sbin/linuxrc, so the kernel's default actions of automagically mounting /proc and /sys saved my posterior ;-)
The only thing left for me now is to figure out how the hey rc logging perform logging while root is still ro. I currently have suppressed the red asterisks by remounting root rw in /sbin/linuxrc, but am thinking of reverting that because fsck won't work. Yes, the fsck can be performed inside /sbin/linuxrc, but I rather not do that to keep /sbin/linuxrc simple.
Am going to parse the initscripts later today to figure things out.
Rgds,
For desktops, I agree.
But I can see a use case for mdev completely replacing udev: servers and virtual machines.
Servers, especially production ones, have a hardware change only once in every two blue moons. They don't need all the bells and whistles of udev.
Even more so when you've gone the virtualized route.
Since servers are arguably where Linux shines the most, mdev should be seriously considered as a udev replacement.
Rgds,
On Jan 4, 2012 6:19 AM, "Dale" <rdale...@gmail.com> wrote:
>
> Neil Bothwick wrote:
>>
>> On Tue, 3 Jan 2012 15:31:20 +0100, Nicolas Sebrecht wrote:
>>
>>> I know. It's the "I want to get the rid of initramfs" thing that looks
>>> crazy to me.
>>
>> No one is saying they want to get rid of the initramfs, because they are
>> not using one. What people object to is being forced to start using one.
>>
>>
>
> You got that right. I have not used one since I started using Gentoo. Now, I may very well have to start. I hope mdev gets to a point where it works really well on desktop systems.
>
You were there in the thread linked by Walt, udev is just one of several packages maintained by RH people that *demands* /usr to be mounted during boot.
And the RH devels insistence to deprecate /bin, /sbin, /usr/sbin...
I'm getting depressed. One battle might be won (mdev vs udev), but there's still a war against the RH braindeadness...
Rgds,
After some soul-searching (yes, I still have one despite learning from BOFH), I think I'll agree with Alan... with some caveats.
I have less resistance to requiring /usr to be part of /. The way I see it, I can still do some bind mount black magic to provide a minimal /usr for booting yet isolating the 'real' /usr to prevent it messing up the rootfs.
As to udev, I still think it's an overkill for a static server environment. With virtualization, I can *guarantee* that the (virtual) hardware environment will never change. For these environments, I much prefer mdev to udev.
Finally, regarding initramfs, I wholly agree. Don't force me to use one. A server is already a complex system, and adding complexity won't end up pretty.
Rgds,
Hehehe... geek joke at its finest :-)
Thanks for the heads up!
Rgds,
mdev is capable of renaming devices, you know ;-)
https://svn.mcs.anl.gov/repos/ZeptoOS/trunk/BGP/packages/busybox/src/docs/mdev.txt
Rgds,
Anyways, the dev seems to take the gentle (and not so gentle) ribbings in stride, so all is well.
(In any case, he got good promotion for his project).
What really cracked me up: someone asked, didn't the testers -- if any -- caught the error? To which another commenter replied, yes, the testers caught the error, but they can't file a bug until they restore their /usr.
Rich XD
Rgds,
Is it possible to load the firmware blob after booting, from the shell?
Rgds,
Thanks for the update!
I've been mdev-ing my servers, and no problems whatsoever until now (touch wood!).
For those still on the sidelines re: mdev-for-udev, be aware that progress is happening rapidly with regards to what udev feature is 'vital' for modern systems.
Heck, mdev is already perfect for my needs: it can rename devices, fire up a script on hotplug/hotunplug events, load a firmware if told so by the kernel...
I suggest interested people should at least lurk in the busybox mailing list. The mdev-for-udev discussion us quite fresh, patches (not bloats) have been submitted... and we have our very own Walt Dnes in that list, proudly waving the Gentoo banner ;-)
Rgds,
Having personally long considered Lennart Poettering a 'spawn of the devil' my question is ... is this your reaction to systemd?
One minor typo to point out:
/atc/portage/package.mask should be /etc/portage/package.mask
I just joined this list last week, but might consider sacrificing some hardware to join your endeavor if you need more testers.
Kindest regards,
Bruce
On Mar 11, 2012 6:30 PM, "Daddy" <da...@happypenguincomputers.com> wrote:
>
> On March 11, 2012 at 5:09 AM Walter Dnes <walt...@waltdnes.org> wrote:
>
> Having personally long considered Lennart Poettering a 'spawn of the devil' my question is ... is this your reaction to systemd?
>
>
>
> One minor typo to point out:
>
>
>
> /atc/portage/package.mask should be /etc/portage/package.mask
>
>
>
> I just joined this list last week, but might consider sacrificing some hardware to join your endeavor if you need more testers.
>
>
I'm one of the long-suffering beta-tester for Walt ;-)
I've tested all his procedures (except this one), and up to now found no problems. One caveat: my tests are all on servers (test-dev-staging-production). We -- that is, Gentoo users who want to go udev-less -- will certainly appreciate feedback from desktop users.
Rgds,
First, my class is old fart. Though I'm always in IRC, mailing lists and forums are more my speed.
<story>
I built my first PC in 1984, but dropped out of society in totality from 1986 until 1996. In '97 an old PC was given me, then in '98 we bought a bare bones desktop box online and applied some nasty Mickey$oft OS to it. Subsequent hardware failures led me down the path I'm on today.
In 1999 a Linux geek where I worked introduced me to RedHat, which couldn't be successfully updated on my dialup connection. To me at that time, it looked like some hobby kit you'd get from Radio Shack.
In 2003, while living in China, one of the principles of the privacy service we used out of Virginia convinced me my computer was fast enough, and rather than making a RAID0 with the second drive, to "try Linux". It was RedHat 9.0, and after one month the distro itself sickened me.
However, in that length of time I'd found "cdrecord" and various other apps and scripts via CLI ... and seen the ability of Linux to multitask ... and I was hooked. The next few months were spent on Debian, with a kind gentleman from Belgium offering to mentor me. But all he offered, it turned out, were his scripts to do things. One day he just disappeared off the face of the earth.
By that time I'd gotten addicted to rebuilding my kernel, especially getting it down to < 1.0MB. And since this guy's "script" was the only way I'd done it, me and Google struck out for the bright, new Linux horizon. Someone had pointed me to "The Cathedral and The Bazaar", also, and my mind was made up. The business model and practices of Mickey$oft and that fruitloop company had opened my eyes to a world I wished I'd never seen, so I was looking for a way out. (They'd stolen, and killed by lawsuit, two particular projects of interest to me.)
After a month of reading (primarily some Google groups and LinuxQuestions.org), it seemed that my desires would best be met by (a) LFS, (b) Gentoo, or (c) Slackware. Not wanting to spend so much time compiling from source, not knowing the benefit, and having Gentoo buddies who regularly broke their system and spent more time compiling than I spent awake -- Slackware became my Linux distro. From Nov 2003 until the end of 2010, I was a Slacker.
Eventually the Slackware community no longer appealed to me (nicest thing I can say). Most of my time working on projects was spent with the #2 in Slackware via email and IM anyway.
In January 2011 we moved from China back to America. The other big change was my migration to Gentoo.
Today we have 1 workstation, 1 server, one PC, and 2 laptops running Gentoo (all but one laptop have no other OS). No devices plugged into our LAN are automounted.
My server is headless and X-less; all the other comps run Fluxbox. IMO there is no need for a desktop environment, but then, we use our computers for work. When we want to play we leave them alone.
We opened Happy Penguin Computers 5 months after returning to America, and are still getting established. That's my introduction to this list.
</story>
We have spare parts so tomorrow I'll build a test machine. My Gentoo knowledge is quite limited, seeing as how we moved back after 9 years and had to start life over. But I can start by following this guide, and probably reading and learning about ebuilds. They're quite different from Slackware's build scripts, primarily due to dependency checking, etc.
Kindest regards,
Bruce Hill
We share the same opinions there. To me the Linux distros have shot their desktops in the foot; instead of getting _better_ than the competition, IMO they've actually gotten worse in the last 5 years.
Will joyfully read that from Linus after my nap. (Probably did long ago and forgot it.)
Even when I can't offer code changes, typos are easy (having grown up in the newspaper and printing business).
iamben in #gentoo on IRC has piqued my interest to build a HTPC. Friday I put a 60G SSD and a 1TB mechanical drive on a board, partitioned the SDD, and d/led stage3 and portage before stopping. That and the earlier mentioned test machine will be my builds for tomorrow. Actually the HTPC is a strange idea, since we don't watch or even own a TV, but it might be a way to sell some of this hardware on my shelf.
Kindest regards,
Bruce Hill
--
sig to come after punching a hole in the LAN and starting mutt on the server
Thanks, David. I remember you from LQ.
I'm also usually found in ##Neddyseagoon on FreeNode. <:-)}