Re: [gentoo-user] multiple /lib64/modules directories
On Monday 16 May 2011 20:55:39 Dale wrote: > root@smoker / # du -shc /lib/modules/2.6.30-gentoo-r8/ > 7.6M/lib/modules/2.6.30-gentoo-r8/ > 7.6Mtotal > root@smoker / # > > It's not much but it could help. Imagine a system that's been kept updated for over 10 years and a new kernel comes out every month (on average) You could end up with 120 of these, and then it would be 912MB... And if you're like me and stick a lot of stuff as modules, then it could be even more -- Joost
[gentoo-user] e17 fails to build from svn
I had no problem building it on another gentoo box, but this one is giving me a headache. All packages build fine until the last package enlightenment and then it fails complaining about ... hal! # emerge -1aDv x11-wm/enlightenment These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] x11-wm/enlightenment- USE="acpi bluetooth e_modules_battery e_modules_clock e_modules_comp e_modules_conf-applications e_modules_conf-borders e_modules_conf-clientlist e_modules_conf-colors e_modules_conf-dialogs e_modules_conf-display e_modules_conf-edgebindings e_modules_conf-engine e_modules_conf-fonts e_modules_conf-icon-theme e_modules_conf-imc e_modules_conf-interaction e_modules_conf-intl e_modules_conf-keybindings e_modules_conf-menus e_modules_conf-mime e_modules_conf-mouse e_modules_conf-mouse-cursor e_modules_conf-mousebindings e_modules_conf-paths e_modules_conf-performance e_modules_conf-profiles e_modules_conf-scale e_modules_conf-shelves e_modules_conf-startup e_modules_conf-theme e_modules_conf-transitions e_modules_conf-wallpaper e_modules_conf-wallpaper2 e_modules_conf-window-display e_modules_conf-window-focus e_modules_conf-window-manipulation e_modules_conf-window-remembers e_modules_conf-winlist e_modules_connman e_modules_cpufreq e_modules_dropshadow e_modules_everything e_modules_everything-apps e_modules_everything-calc e_modules_everything-files e_modules_everything-settings e_modules_everything-windows e_modules_fileman e_modules_fileman_opinfo e_modules_gadman e_modules_ibar e_modules_ibox e_modules_illume2 e_modules_mixer e_modules_msgbus e_modules_pager e_modules_start e_modules_syscon e_modules_systray e_modules_temperature e_modules_winlist e_modules_wizard nls pam spell udev ukit* -doc -e_modules_illume -e_modules_ofono -exchange (-hal) -static-libs" 0 kB [1] Total: 1 package (1 reinstall), Size of downloads: 0 kB Portage tree and overlays: [0] /usr/portage [1] /var/lib/layman/enlightenment Would you like to merge these packages? [Yes/No] yes >>> Verifying ebuild manifests >>> Emerging (1 of 1) x11-wm/enlightenment- from enlightenment * Package:x11-wm/enlightenment- * Repository: enlightenment * Maintainer: enlightenm...@gentoo.org [snip ...] checking for E_REMOTE... yes checking for E_IMC... yes checking for E_THUMB... yes checking for E_FM... yes checking for E_FM_OP... yes checking for E_FM_OPEN... yes checking for E_SYS... yes checking for E_INIT... yes checking for E... no configure: error: Package requirements ( evas >= 1.0.999 ecore >= 1.0.999 ecore-x >= 1.0.999 ecore-evas >= 1.0.999 ecore-input >= 1.0.999 ecore-input-evas >= 1.0.999 ecore-con >= 1.0.999 ecore-ipc >= 1.0.999 ecore-file >= 1.0.999 eet >= 1.4.0 edje >= 1.0.999 efreet >= 1.0.999 efreet-mime >= 1.0.999 efreet-trash >= 1.0.999 eina >= 1.0.999 dbus-1 edbus >= 1.0.999 eukit >= 1.0.999 ehal ) were not met: No package 'ehal' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables E_CFLAGS and E_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/x11-wm/enlightenment-/work/e/config.log * ERROR: x11-wm/enlightenment- failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 56: Called src_configure * environment, line 2920: Called enlightenment_src_configure * environment, line 1560: Called econf '--disable-install-sysactions' '--enable-conf-acpibindings' '--enable-bluez' '--disable-doc' '--disable-exchange' '--disable-device-hal' '--disable-mount-hal' '--enable-nls' '--enable-pam' '--enable-everything-aspell' '--enable-device-udev' '--enable-mount-udisks' '--enable-everything' '--enable-everything-apps' '--enable-everything-calc' '--enable-everything-files' '--enable-everything-settings' '--enable-everything-windows' '--enable-conf-applications' '--enable-conf-borders' '--enable-conf-clientlist' '--enable-conf-colors' '--enable-conf-dialogs' '--enable-conf-display' '--enable-conf-edgebindings' '--enable-conf-engine' '--enable-conf-fonts' '--enable-conf-icon-theme' '--enable-conf-imc' '--enable-conf-interaction' '--enable-conf-intl' '--enable-conf-keybindings' '--enable-conf-menus' '--enable-conf-mime' '--enable-conf-mouse' '--enable-conf-mousebindings' '--enable-conf-mouse-cursor' '--enable-conf-paths' '--enable-conf-performance' '--enable-conf-profiles' '--enable-conf-scale' '--enable-conf-shelves' '--enable-conf-startup' '--enable-conf-theme' '--enable-conf-transitions' '--enable-conf-wallpaper' '--enable-conf-wallpaper2' '--enable-conf-window-display' '--enable-conf-window-focus' '--enable-conf-window-manipulation' '--enable-conf-window-remembers' '--enable-conf-winlist' '--en
Re: [gentoo-user] grub menu and the new openrc
On Monday 16 May 2011 13:10:52 Dale wrote: > Mick wrote: > > Did you try creating a new runlevel (dale_special) and then booting into > > it by appending softlevel=dale_special ? > > > > That will prove if the Gentoo softlevel mechanism is no longer available. > > I tried some of the other runlevels, nonetwork, single, boot and none of > those work except for single by just putting "rw single" in the boot > line. Single doesn't work if I select it by using softlevel=single. > That does work if I am in default then switch to single in a console > tho. That would be using the "rc single" command. I used to have > another runlevel that I created myself but I removed it a good while > back when I got boot set up like I wanted. It appears that openrc has > not been told what softlevel is. I do see where it is passed on to the > OS from grub during the boot process tho. OK, it is clear then that (some?) of the gentoo runlevels called with the softlevel incantation do not work as they used to with baselayout 1. I just tried softlevel=single and it definitely didn't work. Also, softlevel=sysinit, didn't work. However, softlevel=nonetwork *did* work ... well, sort of. It mounted everything, then started devices including my network card (I have enabled rc_hotplugging devices in /etc/rc.conf so this may have something to do with it) and then it stopped before starting things like iptables, local, etc. Sure enough I had an IP address and was able to connect to the world ... albeit without iptables running (not sure I would have a use case for this scenario). I'm not sure if setting rc_hotplug made this messy, but from $ ls -la /etc/runlevels/ total 32 drwxr-xr-x 8 root root 4096 May 2 10:54 . drwxr-xr-x 88 root root 4096 May 16 21:11 .. drwxr-xr-x 2 root root 4096 May 2 10:54 boot drwxr-xr-x 2 root root 4096 May 15 20:01 default drwxr-xr-x 2 root root 4096 Jan 21 2010 nonetwork drwxr-xr-x 2 root root 4096 May 2 10:54 shutdown drwxr-xr-x 2 root root 4096 Jan 21 2010 single drwxr-xr-x 2 root root 4096 May 2 10:54 sysinit single and sysinit are ignored (runlevel 3 comes up). > > I think that nox brings you all the way up to runlevel 3, not runlevel 1. > > I have used nox before on a CD. The reason I like to use the ones I > already have is that I already know exactly what is running and what is > not. When I boot to single by adding "rw single" to the end of the boot > line, I still have to start some services to get where I want to be. > Being able to boot to the boot runlevel is much better since I have some > things already set to start. Openrc doesn't mount things listed in > fstab such as /home/ portage and /var which are separate partitions. I wouldn't expect it to mount anything other than / under single. > >> The thing is, I do use them which is why I went to the trouble of > >> setting them up to begin with. I actually use them pretty regular. > >> Just because others don't use them doesn't mean that I don't or > >> shouldn't. In that case you probably need runlevel 3, but just with nox? > > The definitive answer is that the gentoo "single" softlevel does not > > work. The Linux standard "single" or "S" or "1" runlevel works fine (but > > I can't recall if I tried "1" recently). > > > > So the question remains what is happening with other softlevels if you > > care to create them. > > I'm beginning to think that openrc goes back to the "old" Linux way. In > other words, it uses the init levels instead of softlevels. Yes, this seems to be the case, although not in a clear way (otherwise why is softlevel=nonetwork working?) > The only > thing that makes me think that is not true, init=runlevel doesn't work > either. I suspect that init=/bin/bash would work but not tested yet. init="/bin/bash" works. You log in as root user without passwd. Only the / fs is mounted as rw. Everything else is a manual job and you must run sync after you make any changes, or your fs may not forgive you. > I > have this in inittab: > > l0:0:wait:/sbin/rc shutdown > l0s:0:wait:/sbin/halt -dhp > l1:1:wait:/sbin/rc single > l2:2:wait:/sbin/rc nonetwork > l3:3:wait:/sbin/rc default > l4:4:wait:/sbin/rc default > l5:5:wait:/sbin/rc default > l6:6:wait:/sbin/rc reboot > l6r:6:wait:/sbin/reboot -dk If you append any number from above, like 1, or 2, or 3, etc. to the kernel line it will work. > I assume I could edit that to look like this: > > l0:0:wait:/sbin/rc shutdown > l0s:0:wait:/sbin/halt -dhp > l1:1:wait:/sbin/rc single > l2:2:wait:/sbin/rc boot > l3:3:wait:/sbin/rc nonetwork > l4:4:wait:/sbin/rc default > l5:5:wait:/sbin/rc default > l6:6:wait:/sbin/rc reboot > l6r:6:wait:/sbin/reboot -dk > #z6:6:respawn:/sbin/sulogin > > The only problem with that is that there are more runlevel options than > there are lines there for me to add. I am not sure that you are meant to edit this manually. I thought that if you want another runlevel you are meant to add this
Re: [gentoo-user] multiple /lib64/modules directories
on 05/17/2011 04:55 AM Dale wrote the following: > So, if I delete a bzImage from /boot that came from kernel version > 2.6.32-1 and no longer plan to use it, I could also remove the modules > from /lib/modules/2.32-1 as well? Of course, and in fact you should, as there is no point in keeping them without the corresponding kernel...
Re: [gentoo-user] Re: Spam and Moderation [was: An Invitation to Neuroscientists and Physicists: Singapore Citizen Mr. Teo En Ming (Zhang Enming) Reports First Hand Account of Mind Intrusion and Mind
Alan Mackenzie wrote: Hi, Dale. On Mon, May 16, 2011 at 12:58:08PM -0500, Dale wrote: Indi wrote: Generally speaking, either messages sent to the list should be instantaneously available after hitting "send" OR someone is delaying the messages so they can be confirmed On Topic, or at least not spam? Crazy thought... But WHO is going to do that? Since it is rare that this mailing list sees spam, I don't think it is worth the effort. I suspect it is rare to see spam precisely because someone (or some two) is moderating the list. There are all sorts of strategies for doing this. Perhaps a set of core people get straight through, but unknowns have to wait in the queue for checking. That this Sinaporeish man got through is perhaps a simple accident. The only bad thing is that I don't mark them as spam because I'm worried some legitimate mail may get marked as spam. The plus of instant is if someone is needing help fast, you get replies a lot faster. I thought you had to be subscribed to the list to send a message? Who's controlling the subscriptions? Dale :-) :-) I think there is something that filters them because this list gets very few spam messages. At least I don't see many. As much traffic as this list gets sometimes, I doubt there is someone(s) doing the filtering tho. There are times when this list gets pretty busy. Just let portage bork something and watch it fly. lol Then again, that has been a while too. ;-) I think the subscription is basically all automated. Just send a message, it sends a confirmation and you send it back. Thing is, they got your IP and all by that time. So, if you send spam, they know who to block. I do recall the list getting away messages a good while back. It took a bit for someone to put the brakes on that too. That's one reason I don't think anyone is reading then allowing the forwards on this list. Let's just hope the spam doesn't get worse. Strange that spell check wants to capitalize spam. o_O I ain't talking about meat. lol Dale :-) :-)
Re: [gentoo-user] multiple /lib64/modules directories
Alan McKinnon wrote: This is basic Linux stuff. There is a /lib/modules/ for each installed kernel binary. Portage will never remove them as portage did not install them, they are installed by the "make modules_install" target of the kernel build process, which you always run manually outside of portage's control. The vbox modules are also in those directories under misc/ but this comes with a quirk. They are usually built by remerging virtualbox-modules or running module-rebuild. Unlike most other ebuilds, these do not delete everything from the last emerge and replace all files (you will still need all installed modules for any installed kernels you still have). So, portage simply does not remove things from /lib/modules/ In other words, what you have is exactly what you should have and things as working as designed. To remove anything in /lib/modules, you must manually rm them yourself. Incidentally, the same goes for the various kernel files in /boot/. So, if I delete a bzImage from /boot that came from kernel version 2.6.32-1 and no longer plan to use it, I could also remove the modules from /lib/modules/2.32-1 as well? That could come in handy to know if someone has a small drive and has to watch their drive space. root@smoker / # du -shc /lib/modules/2.6.30-gentoo-r8/ 7.6M/lib/modules/2.6.30-gentoo-r8/ 7.6Mtotal root@smoker / # It's not much but it could help. Dale :-) :-)
Re: [gentoo-user] multiple /lib64/modules directories
On 05/16/2011 08:12 PM, Alan McKinnon wrote: > Apparently, though unproven, at 02:11 on Tuesday 17 May 2011, Valmor de > Almeida did opine thusly: > [snip] > > In other words, what you have is exactly what you should have and things as > working as designed. To remove anything in /lib/modules, you must manually rm > them yourself. Thanks; manually removed. -- Valmor > > Incidentally, the same goes for the various kernel files in /boot/. > > > >> >> Thanks, >> >> -- >> Valmor >> >> -> locate vbox* | grep modules >> /lib64/modules/2.6.36-gentoo-r5/misc/vboxdrv.ko >> /lib64/modules/2.6.36-gentoo-r5/misc/vboxnetadp.ko >> /lib64/modules/2.6.36-gentoo-r5/misc/vboxnetflt.ko >> /lib64/modules/2.6.37-gentoo-r4/misc/vboxdrv.ko >> /lib64/modules/2.6.37-gentoo-r4/misc/vboxnetadp.ko >> /lib64/modules/2.6.37-gentoo-r4/misc/vboxnetflt.ko >> >> -> equery list gentoo-sources >> [ Searching for package 'gentoo-sources' in all categories among: ] >> * installed packages >> [I--] [ ] sys-kernel/gentoo-sources-2.6.37-r4 (2.6.37-r4) >
Re: [gentoo-user] is a nice "place" :-D
On 2011/05/17 01:33 (GMT+0200) Alan McKinnon composed: grep "GET /Tmp/Linux/G" | /var/log/apache2/access_log | grep-v | \ awk '{print $1}' | sort | uniq | wc In true grand Unix tradition you cannot get quicker, dirtier or more effective than that It almost worked too. :-) grep "GET /Tmp/Linux/G" /var/log/apache2/access_log | grep -v | \ awk '{print $1}' | sort | uniq | wc -l got me almost what I wanted, 20 unique IPs, but that's a lot of stuff to remember, which for me will never happen. So I tried converting to an alias. grep "GET $1" | /var/log/apache2/access_log | grep -v | \ awk '{print $1}' | sort | uniq | wc -l sort of works, except I won't always be looking for GET as part of what to grep for, or might require more than one whitepsace instance, and am tripping over how to deal with the whitespace if I leave GET out of the alias and only put on cmdline if I actually want it as part of what to grep for. grep "GET $1 $2" | /var/log/apache2/access_log | grep -v | \ awk '{print $1}' | sort | uniq | wc -l seems to work, but I'm not sure there aren't booby traps besides 2nd or more whitespace instances I'm not considering, even though it gets the same answer for this particular case. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/
Re: [gentoo-user] is a nice "place" :-D
On Tue, May 17, 2011 at 01:33:39AM +0200, Alan McKinnon wrote: > grep "GET /Tmp/Linux/G" | /var/log/apache2/access_log | grep-v | \ > awk '{print $1}' | sort | uniq | wc > > In true grand Unix tradition you cannot get quicker, dirtier or more > effective > than that > You can replace "sort | uniq" by "sort -u" And the "Grand Unix Tradition" probably would 'cut' instead of awk :) While you are at it, an incantation that pipes grep to awk? Seriously? W -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton
Re: [gentoo-user] multiple /lib64/modules directories
Apparently, though unproven, at 02:11 on Tuesday 17 May 2011, Valmor de Almeida did opine thusly: > Hello, > > After a recent sync, I ended up with these two modules > > /lib64/modules/2.6.36-gentoo-r5/misc/vboxdrv.ko > /lib64/modules/2.6.37-gentoo-r4/misc/vboxdrv.ko > > and others too. I expected the directory for the older kernel to be > removed. Is this the case? Virtualbox was re-emerged after the sync > therefore the modules for the newer kernel were created. The current > kernel is 2.6.37-gentoo-r4 (and it is the only one on my system). Should > the directory /lib64/modules/2.6.36-gentoo-r5/ still exist? This is basic Linux stuff. There is a /lib/modules/ for each installed kernel binary. Portage will never remove them as portage did not install them, they are installed by the "make modules_install" target of the kernel build process, which you always run manually outside of portage's control. The vbox modules are also in those directories under misc/ but this comes with a quirk. They are usually built by remerging virtualbox-modules or running module-rebuild. Unlike most other ebuilds, these do not delete everything from the last emerge and replace all files (you will still need all installed modules for any installed kernels you still have). So, portage simply does not remove things from /lib/modules/ In other words, what you have is exactly what you should have and things as working as designed. To remove anything in /lib/modules, you must manually rm them yourself. Incidentally, the same goes for the various kernel files in /boot/. > > Thanks, > > -- > Valmor > > -> locate vbox* | grep modules > /lib64/modules/2.6.36-gentoo-r5/misc/vboxdrv.ko > /lib64/modules/2.6.36-gentoo-r5/misc/vboxnetadp.ko > /lib64/modules/2.6.36-gentoo-r5/misc/vboxnetflt.ko > /lib64/modules/2.6.37-gentoo-r4/misc/vboxdrv.ko > /lib64/modules/2.6.37-gentoo-r4/misc/vboxnetadp.ko > /lib64/modules/2.6.37-gentoo-r4/misc/vboxnetflt.ko > > -> equery list gentoo-sources > [ Searching for package 'gentoo-sources' in all categories among: ] > * installed packages > [I--] [ ] sys-kernel/gentoo-sources-2.6.37-r4 (2.6.37-r4) -- alan dot mckinnon at gmail dot com
[gentoo-user] multiple /lib64/modules directories
Hello, After a recent sync, I ended up with these two modules /lib64/modules/2.6.36-gentoo-r5/misc/vboxdrv.ko /lib64/modules/2.6.37-gentoo-r4/misc/vboxdrv.ko and others too. I expected the directory for the older kernel to be removed. Is this the case? Virtualbox was re-emerged after the sync therefore the modules for the newer kernel were created. The current kernel is 2.6.37-gentoo-r4 (and it is the only one on my system). Should the directory /lib64/modules/2.6.36-gentoo-r5/ still exist? Thanks, -- Valmor -> locate vbox* | grep modules /lib64/modules/2.6.36-gentoo-r5/misc/vboxdrv.ko /lib64/modules/2.6.36-gentoo-r5/misc/vboxnetadp.ko /lib64/modules/2.6.36-gentoo-r5/misc/vboxnetflt.ko /lib64/modules/2.6.37-gentoo-r4/misc/vboxdrv.ko /lib64/modules/2.6.37-gentoo-r4/misc/vboxnetadp.ko /lib64/modules/2.6.37-gentoo-r4/misc/vboxnetflt.ko -> equery list gentoo-sources [ Searching for package 'gentoo-sources' in all categories among: ] * installed packages [I--] [ ] sys-kernel/gentoo-sources-2.6.37-r4 (2.6.37-r4)
Re: [gentoo-user] chicken <--> egg (NFS & tty video) (Fixed!)
Apparently, though unproven, at 01:28 on Tuesday 17 May 2011, Indi did opine thusly: > On Tue, May 17, 2011 at 01:10:02AM +0200, Neil Bothwick wrote: > > On Mon, 16 May 2011 23:40:32 +0200, Alan McKinnon wrote: > > > I had many posts typed out, most of them rude, all of them classic > > > Alan, but something held me back. Lucky it went that way, he later > > > posted he read 1667MHZ as 167MHz. > > > > > > Amazing what a difference a "1" can make :-) > > > > Not nearly as much as a "6" :P > > Or an "s"*. > > :) You're speaking to a grumpy old fart combined language git, who not only studied English first language at length but an entire 5 year high school career in Latin as well. This makes me eminently qualified to opine thusly: All persons working in technology fields necessarily display masculine attributes, hence shall be uniformly referred to by the male form of pronouns, i.e. all techies are addressed as "he". The female form is not incorrect, but discouraged. All objects of technology (aka stuff what we work on), due to the peculiar interaction shown to them by techies, shall be uniformly referred to by means of the female form of pronouns. Vehicles and computers are especially to be referred to using the "she" form. Motorcycles triply so. Users, n00bs, marketing persons, hairdressers, telephone handset sanitizers and other assorted riff-raff of the human species should be referred to using the neuter form of pronouns, i.e. "it", as befitting their overall contribution to humanity. You see what I did there? You see how I recovered with a witty reposte without even blinking an eye? It takes nerves of steel and much practise to pull that one off, I tell you! Let's see how long it takes Neil to find the grammar errors in that lot :-) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] is a nice "place" :-D
Apparently, though unproven, at 01:10 on Tuesday 17 May 2011, Felix Miata did opine thusly: > After attempting to install for the first time last week, I started 3 > different threads here looking for help. I'm pleased with the nature of the > responses, and being able to succeed eventually using a mix of those > responses and my own efforts digging into Google, gentoo.org and cranial > cobwebs. So, thanks to all who replied, and even to those who showed > interest without replying. > > For http://fm.no-ip.com/Tmp/Linux/G/, newly created to use with those three > threads, 'cat /var/log/apache2/access_log | grep "GET /Tmp/Linux/G" | grep > -v | sort > outfile' generated 117 lines. That's a lot more hits > than I can ever remember getting before when asking for help from a > mailing list (even if it did take 5 days to accumulate so many). > > I'm curious if anyone here would like to offer a better variant of my local > query that would limit the hit count so that no more than one hit per IP is > represented in the output? My skill with such things is very limited. I > can't think of the the name of a command to cut the IP off the front of > each line, much less how to compare if it's a non-first instance to be > discarded. Or, maybe there's an Apache utility for doing this that I just > don't know about? There's always a million ways to skin a cat like this. At a high volume site you would of course not try and deal with this directly from the apache logs. You would send them to syslog which would parse them and write them to a database from where you could run sophisticated SQL. There are also Apache analyser apps out there, google will find them. But I think all that is overkill for what you want. Your command works fine except for needing to discard duplicate IPs. You don't seem to need to know the details of the GET, so just grab using awk the first field and sort | uniq the result. It will run a tad quicker (and reveal less n00bness to your audience) if you grep the file directly instead of cat | grep: grep "GET /Tmp/Linux/G" | /var/log/apache2/access_log | grep-v | \ awk '{print $1}' | sort | uniq | wc In true grand Unix tradition you cannot get quicker, dirtier or more effective than that -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: Prevent depclean from removing Python-2.6?
> > > +1 It bit me, and just seems stupid. > > +1 > > I like Neil's suggestion - eselect can put packages it knows about into a > specially-named set. > > I've logged the bug; http://bugs.gentoo.org/show_bug.cgi?id=367611 Based on the quality of Neil's posts i'm sure you're right, but i'll leave the devs to choose the solution. I've just requested the check in the bug above, not make any suggestions on how to implement it.
Re: [gentoo-user] chicken <--> egg (NFS & tty video) (Fixed!)
On Tue, May 17, 2011 at 01:10:02AM +0200, Neil Bothwick wrote: > On Mon, 16 May 2011 23:40:32 +0200, Alan McKinnon wrote: > > > I had many posts typed out, most of them rude, all of them classic > > Alan, but something held me back. Lucky it went that way, he later > > posted he read 1667MHZ as 167MHz. > > > > Amazing what a difference a "1" can make :-) > > Not nearly as much as a "6" :P > Or an "s"*. :) -- caveat utilitor ♫ ❤ ♫ ❤ ♫ ❤ ♫ *(I'm an old woman)
Re: [gentoo-user] chicken <--> egg (NFS & tty video) (Fixed!)
On 2011/05/16 19:01 (GMT-0400) Neil Bothwick composed: On Mon, 16 May 2011 23:40:32 +0200, Alan McKinnon wrote: he read 1667MHZ as 167MHz. Amazing what a difference a "1" can make :-) Not nearly as much as a "6" :P Sure it can! In 101000b, any of those "1"s represents more than 6. Indi misread 1101011b as 10100111b, while "6" is only 110b. :-) -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/
Re: [gentoo-user] chicken <--> egg (NFS & tty video) (Fixed!)
Apparently, though unproven, at 01:01 on Tuesday 17 May 2011, Neil Bothwick did opine thusly: > On Mon, 16 May 2011 23:40:32 +0200, Alan McKinnon wrote: > > I had many posts typed out, most of them rude, all of them classic > > Alan, but something held me back. Lucky it went that way, he later > > posted he read 1667MHZ as 167MHz. > > > > Amazing what a difference a "1" can make :-) > > Not nearly as much as a "6" :P I *really* need to get some sleep and go to bed _right_now_ -- alan dot mckinnon at gmail dot com
[gentoo-user] is a nice "place" :-D
After attempting to install for the first time last week, I started 3 different threads here looking for help. I'm pleased with the nature of the responses, and being able to succeed eventually using a mix of those responses and my own efforts digging into Google, gentoo.org and cranial cobwebs. So, thanks to all who replied, and even to those who showed interest without replying. For http://fm.no-ip.com/Tmp/Linux/G/, newly created to use with those three threads, 'cat /var/log/apache2/access_log | grep "GET /Tmp/Linux/G" | grep -v | sort > outfile' generated 117 lines. That's a lot more hits than I can ever remember getting before when asking for help from a mailing list (even if it did take 5 days to accumulate so many). I'm curious if anyone here would like to offer a better variant of my local query that would limit the hit count so that no more than one hit per IP is represented in the output? My skill with such things is very limited. I can't think of the the name of a command to cut the IP off the front of each line, much less how to compare if it's a non-first instance to be discarded. Or, maybe there's an Apache utility for doing this that I just don't know about? -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/
Re: [gentoo-user] chicken <--> egg (NFS & tty video) (Fixed!)
On Mon, 16 May 2011 23:40:32 +0200, Alan McKinnon wrote: > I had many posts typed out, most of them rude, all of them classic > Alan, but something held me back. Lucky it went that way, he later > posted he read 1667MHZ as 167MHz. > > Amazing what a difference a "1" can make :-) Not nearly as much as a "6" :P -- Neil Bothwick WWW: World Wide Wait signature.asc Description: PGP signature
Re: [gentoo-user] Re: Spam and Moderation [was: An Invitation to Neuroscientists and Physicists: Singapore Citizen Mr. Teo En Ming (Zhang Enming) Reports First Hand Account of Mind Intrusion and Mind
On Mon, May 16, 2011 at 09:30:03PM +0200, Paul Hartman wrote: > On Mon, May 16, 2011 at 11:26 AM, Indi wrote: > > Generally speaking, either messages sent to the list should be > > instantaneously > > available after hitting "send" OR someone is delaying the messages so > > they can be confirmed On Topic, or at least not spam? > > Never attribute to spam that which can be adequately explained by > mental illness. Now that you mention it... ;) -- caveat utilitor ♫ ❤ ♫ ❤ ♫ ❤ ♫
Re: [gentoo-user] chicken <--> egg (NFS & tty video) (Fixed!)
On Mon, May 16, 2011 at 10:10:02PM +0200, Neil Bothwick wrote: > On Mon, 16 May 2011 10:57:14 -0400, Indi wrote: > > > > Read the settings for PORTAGE_ELOG in man make.conf. > > > Or as that man page says, > > "Please see /usr/share/portage/config/make.conf.example > > for elog documentation." > > I know that's what the man page currently says, but I expect it will be > updated to include the actual information long before this thread is > deleted from all mail archives, so it seemed prudent to point to the man > page and let the user follow the link :) > > Quite right, thanks. :) -- caveat utilitor ♫ ❤ ♫ ❤ ♫ ❤ ♫
Re: [gentoo-user] chicken <--> egg (NFS & tty video) (Fixed!)
Apparently, though unproven, at 23:15 on Monday 16 May 2011, Dale did opine thusly: > Alan McKinnon wrote: > > Apparently, though unproven, at 18:18 on Monday 16 May 2011, Indi did > > opine > > > > thusly: > >> On Mon, May 16, 2011 at 06:10:02PM +0200, Felix Miata wrote: > >>> Actually after the first or 2nd or some subsequent attempt that was my > >>> plan. After so much time passed (days, not just hours) and I had good > >>> kernel, NFS, and MC that I didn't see much point delaying KDE. After > >>> the errors disappeared around 10 last night and I reported same here I > >>> started to wonder where to go next on a tired brain. I set qt3support > >>> emerging around that time, and more than 3 hours later and time for > >>> bed its hundred& some packages were still emerging. I woke up hours > >>> later to goto the bathroom and found that done, so set kdm to install. > >>> That hundred plus set of packages is still emerging now, nearly 6 > >>> hours later. Maybe 32 bit 1667MHz& 512M RAM is on the skimpy side for > >>> installing Gentoo? > >> > >> Not to mention there is pretty much no way you'll be using kde on that > >> hardware! I'd be surprised if X would be usable on that even with > >> blackbox wm... > > > > This is a joke right? > > I once ran Gentoo Linux with KDE3 on a 133Mhz machine with 256Mbs of > ram. It wasn't fast but it did OK. A friend used it to play cards on. > No internet or anything tho. > > I did the compiling via chroot on my old rig which had a much faster CPU > and such. I just plugged the drive into my rig and did my thing. > > It may be slow but it should work. Make sure you have some swap tho. I pondered for a long time how to reply to Indi. I had many posts typed out, most of them rude, all of them classic Alan, but something held me back. Lucky it went that way, he later posted he read 1667MHZ as 167MHz. Amazing what a difference a "1" can make :-) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: Spam and Moderation [was: An Invitation to Neuroscientists and Physicists: Singapore Citizen Mr. Teo En Ming (Zhang Enming) Reports First Hand Account of Mind Intrusion and Mind
Apparently, though unproven, at 23:25 on Monday 16 May 2011, Sebastian Beßler did opine thusly: > Am 16.05.2011 22:55, schrieb Alan McKinnon: > > When automated software cannot deal with it anymore, it is time for that > > MailMan to go away and be replaced. > > Do you have any suggestions? > As far as I am concerned that MailMan does his work very good. No suggestions needed from me at this time. The software for this list is working very well indeed and nothing needs to be changed. What I meant was "don't waste your time trying to deal with spam on a mailing list and control it once the address leaks onto spammer's lists. Just remove the mailing list and change the name to something spammers don't know yet." It all works out with surprisingly little fuss. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: Spam and Moderation [was: An Invitation to Neuroscientists and Physicists: Singapore Citizen Mr. Teo En Ming (Zhang Enming) Reports First Hand Account of Mind Intrusion and Mind
Am 16.05.2011 22:55, schrieb Alan McKinnon: > When automated software cannot deal with it anymore, it is time for that > MailMan to go away and be replaced. Do you have any suggestions? As far as I am concerned that MailMan does his work very good. Greetings Sebastian signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] chicken <--> egg (NFS & tty video) (Fixed!)
Alan McKinnon wrote: Apparently, though unproven, at 18:18 on Monday 16 May 2011, Indi did opine thusly: On Mon, May 16, 2011 at 06:10:02PM +0200, Felix Miata wrote: Actually after the first or 2nd or some subsequent attempt that was my plan. After so much time passed (days, not just hours) and I had good kernel, NFS, and MC that I didn't see much point delaying KDE. After the errors disappeared around 10 last night and I reported same here I started to wonder where to go next on a tired brain. I set qt3support emerging around that time, and more than 3 hours later and time for bed its hundred& some packages were still emerging. I woke up hours later to goto the bathroom and found that done, so set kdm to install. That hundred plus set of packages is still emerging now, nearly 6 hours later. Maybe 32 bit 1667MHz& 512M RAM is on the skimpy side for installing Gentoo? Not to mention there is pretty much no way you'll be using kde on that hardware! I'd be surprised if X would be usable on that even with blackbox wm... This is a joke right? I once ran Gentoo Linux with KDE3 on a 133Mhz machine with 256Mbs of ram. It wasn't fast but it did OK. A friend used it to play cards on. No internet or anything tho. I did the compiling via chroot on my old rig which had a much faster CPU and such. I just plugged the drive into my rig and did my thing. It may be slow but it should work. Make sure you have some swap tho. Dale :-) :-)
[gentoo-user] ldd -r /usr/lib64/libdbusmenu-qt.so.2 = undefined symbol:
Hi, does anyone knows how to solve it? Reemerging did nothing ldd -r /usr/lib64/libdbusmenu-qt.so.2 linux-vdso.so.1 => (0x7fff373fd000) libQtGui.so.4 => /usr/lib64/qt4/libQtGui.so.4 (0x7f0687701000) libQtDBus.so.4 => /usr/lib64/qt4/libQtDBus.so.4 (0x7f068748) libQtCore.so.4 => /usr/lib64/qt4/libQtCore.so.4 (0x7f0686fbc000) libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/libstdc++.so.6 (0x7f0686ca9000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x7f0686a92000) libc.so.6 => /lib64/libc.so.6 (0x7f0686737000) libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x7f0686426000) libpthread.so.0 => /lib64/libpthread.so.0 (0x7f068620a000) libpng14.so.14 => /usr/lib64/libpng14.so.14 (0x7f0685fe) libz.so.1 => /lib64/libz.so.1 (0x7f0685dc8000) libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x7f0685b3) libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x7f06858e4000) libSM.so.6 => /usr/lib64/libSM.so.6 (0x7f06856db000) libICE.so.6 => /usr/lib64/libICE.so.6 (0x7f06854c) libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x7f06852b5000) libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x7f06850ac000) libXinerama.so.1 => /usr/lib64/libXinerama.so.1 (0x7f0684ea9000) libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x7f0684c73000) libXext.so.6 => /usr/lib64/libXext.so.6 (0x7f0684a61000) libX11.so.6 => /usr/lib64/libX11.so.6 (0x7f0684725000) libm.so.6 => /lib64/libm.so.6 (0x7f06844a3000) libQtXml.so.4 => /usr/lib64/qt4/libQtXml.so.4 (0x7f0684253000) libdbus-1.so.3 => /usr/lib64/libdbus-1.so.3 (0x7f068401) libgthread-2.0.so.0 => /usr/lib64/libgthread-2.0.so.0 (0x7f0683e0a000) librt.so.1 => /lib64/librt.so.1 (0x7f0683c01000) libdl.so.2 => /lib64/libdl.so.2 (0x7f06839fd000) /lib64/ld-linux-x86-64.so.2 (0x7f06886da000) libuuid.so.1 => /lib64/libuuid.so.1 (0x7f06837f7000) libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x7f06835ce000) libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x7f06833b) libXau.so.6 => /usr/lib64/libXau.so.6 (0x7f06831ad000) libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x7f0682fa6000) undefined symbol: _ZN5QHashIi15QHashDummyValueE13detach_helperEv (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN5QListI7QStringE6appendERKS0_ (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN4QMapIP7QActioniE11node_createEP8QMapDataPPNS3_4NodeERKS1_RKi (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN4QMapI7QString8QVariantEaSERKS2_ (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN4QMapI7QString8QVariantE4takeERKS0_ (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _Z13qvariant_castI13QDBusArgumentET_RK8QVariant (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN5QListI12DBusMenuItemEC1ERKS1_ (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZNK4QMapIiP7QActionE15mutableFindNodeEPPN8QMapData4NodeERKi (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN4QMapIiP7QActionE13detach_helperEv (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN5QListI12DBusMenuItemE6appendERKS0_ (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN5QHashIP7QAction4QMapI7QString8QVariantEE13detach_helperEv (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN4QMapIP7QActioniE8freeDataEP8QMapData (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN5QListI12DBusMenuItemEaSERKS1_ (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN4QMapIP23QDBusPendingCallWatcher4TaskE13detach_helperEv (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZrsI11QStringListERK13QDBusArgumentS3_R5QListIT_E (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN5QHashIP7QAction4QMapI7QString8QVariantEED1Ev (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN5QListI12DBusMenuItemED1Ev (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN5QListI7QStringE13detach_helperEv (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _Z17qRegisterMetaTypeI13QDBusArgumentEiPKcPT_ (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN4QMapIP23QDBusPendingCallWatcher4TaskED1Ev (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN5QListI11QStringListED2Ev (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN5QListI11QStringListE6appendERKS0_ (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN4QMapIP7QActioniED1Ev (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN4QMapIP23QDBusPendingCallWatcher4TaskE4takeERKS1_ (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN4QMapIP7QActioniE13detach_helperEv (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZNK4QMapIP23QDBusPendingCallWatcher4TaskE15mutableFindNodeEPPN8QMapData4NodeERKS1_ (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN5QHashIi15QHashDummyValueE6removeERKi (/u
Re: [gentoo-user] Re: Spam and Moderation [was: An Invitation to Neuroscientists and Physicists: Singapore Citizen Mr. Teo En Ming (Zhang Enming) Reports First Hand Account of Mind Intrusion and Mind
Apparently, though unproven, at 21:18 on Monday 16 May 2011, Paul Hartman did opine thusly: > On Mon, May 16, 2011 at 11:26 AM, Indi wrote: > > Generally speaking, either messages sent to the list should be > > instantaneously available after hitting "send" OR someone is delaying > > the messages so they can be confirmed On Topic, or at least not spam? > > Never attribute to spam that which can be adequately explained by > mental illness. As one of those poor unfortunate souls having to maintain and admin MailMan, I have one overriding rule with spam: When automated software cannot deal with it anymore, it is time for that MailMan to go away and be replaced. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] chicken <--> egg (NFS & tty video) (Fixed!)
Thnx, have followed advice. I am impressed. JDM -Original Message- From: Neil Bothwick Date: Mon, 16 May 2011 20:57:26 To: Reply-to: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] chicken <--> egg (NFS & tty video) (Fixed!) On Mon, 16 May 2011 10:57:14 -0400, Indi wrote: > > Read the settings for PORTAGE_ELOG in man make.conf. > Or as that man page says, > "Please see /usr/share/portage/config/make.conf.example > for elog documentation." I know that's what the man page currently says, but I expect it will be updated to include the actual information long before this thread is deleted from all mail archives, so it seemed prudent to point to the man page and let the user follow the link :) -- Neil Bothwick A computer without Microsoft is like a chocolate cake without mustard.
Re: [gentoo-user] dd says no space left on device
On Monday 16 May 2011 20:54:58 Neil Bothwick wrote: > On Mon, 16 May 2011 16:35:07 +0100, Mick wrote: > > Only to add that the new larger drive will appear as small as the > > original because the fs size is after all that of the smaller drive. > > After your dd the data over to the new disk you will need to run > > gparted as suggested by Stroller, or use ntfsresize which is what > > gparted uses anyway. > > The drive will not appear small, only the partition. The same is true > using the originally suggested method of copying the MBR and partition > separately. Oops! Sorry, I meant to say partition - just thinking about ntfs and "mapping drives" in MSWindows was enough to confuse me ... :@ -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] chicken <--> egg (NFS & tty video) (Fixed!)
On Mon, 16 May 2011 10:57:14 -0400, Indi wrote: > > Read the settings for PORTAGE_ELOG in man make.conf. > Or as that man page says, > "Please see /usr/share/portage/config/make.conf.example > for elog documentation." I know that's what the man page currently says, but I expect it will be updated to include the actual information long before this thread is deleted from all mail archives, so it seemed prudent to point to the man page and let the user follow the link :) -- Neil Bothwick A computer without Microsoft is like a chocolate cake without mustard. signature.asc Description: PGP signature
Re: [gentoo-user] dd says no space left on device
On Mon, 16 May 2011 16:35:07 +0100, Mick wrote: > Only to add that the new larger drive will appear as small as the > original because the fs size is after all that of the smaller drive. > After your dd the data over to the new disk you will need to run > gparted as suggested by Stroller, or use ntfsresize which is what > gparted uses anyway. The drive will not appear small, only the partition. The same is true using the originally suggested method of copying the MBR and partition separately. -- Neil Bothwick WinErr 001: Windows loaded - System in danger signature.asc Description: PGP signature
Re: [gentoo-user] --oneshot and --update
On Mon, 16 May 2011 14:38:37 +0100, Stroller wrote: > This probably doesn't arise very often, as you probably won't be > updating oneshotted packages very often. --oneshot is fairly strictly a > temporary solution - to fulfil a virtual in a certain way or just for > testing how a package behaves with or without a graphics lib installed. > If you want the package updated then you should record it in world. I use to use --oneshot for testing packages, so they didn't end up in world with me forgetting they were there. Now I use a set (@temp) and add any packages I want to try out in there. It stops stuff getting depcleaned before I've tried it and keeps the package and itsa deps up to date. Every so often I go through the temp set and remove packages, either adding them to @world or leaving them to the tender mercies of depclean. -- Neil Bothwick Dolly Parton-- silicone based life signature.asc Description: PGP signature
Re: [gentoo-user] Re: Spam and Moderation [was: An Invitation to Neuroscientists and Physicists: Singapore Citizen Mr. Teo En Ming (Zhang Enming) Reports First Hand Account of Mind Intrusion and Mind
On Mon, May 16, 2011 at 11:26 AM, Indi wrote: > Generally speaking, either messages sent to the list should be instantaneously > available after hitting "send" OR someone is delaying the messages so > they can be confirmed On Topic, or at least not spam? Never attribute to spam that which can be adequately explained by mental illness.
Re: [gentoo-user] dd says no space left on device
On Monday 16 May 2011 17:03:36 Stroller wrote: > On 16/5/2011, at 4:35pm, Mick wrote: > >> GParted is the next choice, then - I understand it to be more than "just > >> a graphical front-end", and I don't think you'll have such good results > >> trying to use command-line tools to expand NTFS partitions. > > > > ... > > After your dd the data over to the new disk you will need to run > > gparted as suggested by Stroller, or use ntfsresize which is what > > gparted uses anyway. > > I believe that GParted uses the ntfsresize *libraries* directly, rather > than the ntfsresize command-line program. > > I believe that's why GParted behaves *better* than ntfsresize - I'm sure > there has been at least one occasion on which I found it better to use > GParted than ntfsresize (which wouldn't do what I wanted). > > I made the quoted statement for a reason. You could be right, I don't know what gparted runs exactly, but recall from the gparted logs that it runs some sort of script where it sequentially runs ntfsresize (the command, I suppose) --check, then performs a dry run with the --no-action option, then --force to resize the fs and mark it for a consistency check with chkdsk when it finally boots into MSWindows, then I think it checks it again. This is all from memory, so it may do other stuff too, like check for bad sectors, etc. Did you check that the problems you experienced were not due to different ntfsresize versions? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] What is the proper usage of module_rebuild?
Apparently, though unproven, at 16:59 on Monday 16 May 2011, fe...@crowfix.com did opine thusly: > On Mon, May 16, 2011 at 04:49:07PM +0200, Alan McKinnon wrote: > > The correct way to use module-rebuild is to run once: > > > > module-rebuild populate > > > > This will search the tree to find out-of-kernel-tree module ebuilds you > > are using and put them in a db or later use. > > > > Every time you emerge and build a new kernel, run: > > > > module-rebuild rebuild > > > > This will build the missing modules for the kernel you just built. > > > > module-rebuild add|del lets you maintain the list as you add and delete > > stuff > > If populate inits the list, are add/del only there to avoid a length > tree search? Otherwise I take it you mean run populate once, then > rebuild after every new kernel, and otherwise do nothing? Correct. populate is the kind of thing you run once at the beginning and never again. add|del is run whenever you need them and rebuild after every new kernel merge (even -r versions) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] chicken <--> egg (NFS & tty video) (Fixed!)
Apparently, though unproven, at 18:18 on Monday 16 May 2011, Indi did opine thusly: > On Mon, May 16, 2011 at 06:10:02PM +0200, Felix Miata wrote: > > Actually after the first or 2nd or some subsequent attempt that was my > > plan. After so much time passed (days, not just hours) and I had good > > kernel, NFS, and MC that I didn't see much point delaying KDE. After the > > errors disappeared around 10 last night and I reported same here I > > started to wonder where to go next on a tired brain. I set qt3support > > emerging around that time, and more than 3 hours later and time for bed > > its hundred & some packages were still emerging. I woke up hours later > > to goto the bathroom and found that done, so set kdm to install. That > > hundred plus set of packages is still emerging now, nearly 6 hours > > later. Maybe 32 bit 1667MHz & 512M RAM is on the skimpy side for > > installing Gentoo? > > Not to mention there is pretty much no way you'll be using kde on that > hardware! I'd be surprised if X would be usable on that even with blackbox > wm... This is a joke right? -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: Spam and Moderation [was: An Invitation to Neuroscientists and Physicists: Singapore Citizen Mr. Teo En Ming (Zhang Enming) Reports First Hand Account of Mind Intrusion and Mind
On Mon, May 16, 2011 at 08:10:02PM +0200, Dale wrote: > Indi wrote: > > Generally speaking, either messages sent to the list should be > > instantaneously > > available after hitting "send" OR someone is delaying the messages so > > they can be confirmed On Topic, or at least not spam? > > > > Crazy thought... > > > > > > But WHO is going to do that? Since it is rare that this mailing list > sees spam, I don't think it is worth the effort. The only bad thing is > that I don't mark them as spam because I'm worried some legitimate mail > may get marked as spam. > I was just ribbing the modeator(s), but it's probably an automated thing anyway. :) > > I thought you had to be subscribed to the list to send a message? > Not sure, but there are lists one can send to without being a subscriber. At least on this list we're less likely to see the thousands of microsoft spambots that infest some others. :) -- caveat utilitor ♫ ❤ ♫ ❤ ♫ ❤ ♫
Re: [gentoo-user] Re: Spam and Moderation [was: An Invitation to Neuroscientists and Physicists: Singapore Citizen Mr. Teo En Ming (Zhang Enming) Reports First Hand Account of Mind Intrusion and Mind
Apparently, though unproven, at 18:26 on Monday 16 May 2011, Indi did opine thusly: > Generally speaking, either messages sent to the list should be > instantaneously available after hitting "send" OR someone is delaying the > messages so they can be confirmed On Topic, or at least not spam? > > Crazy thought... It's the former and there's a snowball's chance in hell it will ever be the latter. It's not instantaneous though. Mail does not work like that. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: Spam and Moderation [was: An Invitation to Neuroscientists and Physicists: Singapore Citizen Mr. Teo En Ming (Zhang Enming) Reports First Hand Account of Mind Intrusion and Mind
Hi, Dale. On Mon, May 16, 2011 at 12:58:08PM -0500, Dale wrote: > Indi wrote: > > Generally speaking, either messages sent to the list should be > > instantaneously > > available after hitting "send" OR someone is delaying the messages so > > they can be confirmed On Topic, or at least not spam? > > Crazy thought... > But WHO is going to do that? Since it is rare that this mailing list > sees spam, I don't think it is worth the effort. I suspect it is rare to see spam precisely because someone (or some two) is moderating the list. There are all sorts of strategies for doing this. Perhaps a set of core people get straight through, but unknowns have to wait in the queue for checking. That this Sinaporeish man got through is perhaps a simple accident. > The only bad thing is that I don't mark them as spam because I'm > worried some legitimate mail may get marked as spam. > The plus of instant is if someone is needing help fast, you get replies > a lot faster. > I thought you had to be subscribed to the list to send a message? Who's controlling the subscriptions? > Dale > :-) :-) -- Alan Mackenzie (Nuremberg, Germany).
Re: [gentoo-user] [OT] Gentoo-based 'filer' / GentooFiler How-To?
On 2011-05-16 13:46, Tanstaafl wrote: > Why not? It isn't perfect, but is by far the best GUI+IMAP client I've > found... Because of slowness and other little annoying things... I plan to install Pine, an old favorite of mine. :-) > Maybe you didn't know you could highlight the test you want to include > in your reply, and it will include *only* that in the reply? Didn't know that, thanks! :-) Best regards Peter K
Re: [gentoo-user] Re: Spam and Moderation [was: An Invitation to Neuroscientists and Physicists: Singapore Citizen Mr. Teo En Ming (Zhang Enming) Reports First Hand Account of Mind Intrusion and Mind
Indi wrote: Generally speaking, either messages sent to the list should be instantaneously available after hitting "send" OR someone is delaying the messages so they can be confirmed On Topic, or at least not spam? Crazy thought... But WHO is going to do that? Since it is rare that this mailing list sees spam, I don't think it is worth the effort. The only bad thing is that I don't mark them as spam because I'm worried some legitimate mail may get marked as spam. The plus of instant is if someone is needing help fast, you get replies a lot faster. I thought you had to be subscribed to the list to send a message? Dale :-) :-)
Re: [gentoo-user] Gentoo and a Mobile Phone
Am 16.05.2011 15:39, schrieb dhk...@optonline.net: > I have an Optimus V 3G mobile phone. When I connect it to my Gentoo box > with the usb cable, and turn on usb storage, I get the following message > in a pop-up box. > > Unable to mount 2.0 GB Filesystem > Not Authorized > > Should I make the device rwx for all, make a udev rule, or do something > else? The problem is depending on what's plugged in, it may not always > be /dev/sdb . Also, what applications are out there that can interact > with the device? One of the first things I'd like to do is backup and > edit my contacts on the Gentoo box and sync it to the phone. > > Thanks, > > dhk > > What permissions are currently set? Maybe you just need to add your user to another group (plugdev?). I guess normal USB sticks work? Otherwise, udev is the way to go. Hope this helps, Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] chicken <--> egg (NFS & tty video) (Fixed!)
> On Mon, May 16, 2011 at 12:18:49PM -0400, Indi wrote: > > On Mon, May 16, 2011 at 06:10:02PM +0200, Felix Miata wrote: > > > > > > Actually after the first or 2nd or some subsequent attempt that was my > > > plan. > > > After so much time passed (days, not just hours) and I had good kernel, > > > NFS, > > > and MC that I didn't see much point delaying KDE. After the errors > > > disappeared around 10 last night and I reported same here I started to > > > wonder > > > where to go next on a tired brain. I set qt3support emerging around that > > > time, and more than 3 hours later and time for bed its hundred & some > > > packages were still emerging. I woke up hours later to goto the bathroom > > > and > > > found that done, so set kdm to install. That hundred plus set of packages > > > is > > > still emerging now, nearly 6 hours later. Maybe 32 bit 1667MHz & 512M RAM > > > is > > > on the skimpy side for installing Gentoo? > > > > > > > Not to mention there is pretty much no way you'll be using kde on that > > hardware! I'd be surprised if X would be usable on that even with blackbox > > wm... > > > Oh jeesh, my bad -- I saw "167 MHz", but it's "1667 MHz". Sorry! :/ (My eyesight is not good) Yes, you shoud be able to run whatever DE/WM. -- caveat utilitor ♫ ❤ ♫ ❤ ♫ ❤ ♫ -- caveat utilitor ♫ ❤ ♫ ❤ ♫ ❤ ♫
[gentoo-user] Re: Spam and Moderation [was: An Invitation to Neuroscientists and Physicists: Singapore Citizen Mr. Teo En Ming (Zhang Enming) Reports First Hand Account of Mind Intrusion and Mind Read
Generally speaking, either messages sent to the list should be instantaneously available after hitting "send" OR someone is delaying the messages so they can be confirmed On Topic, or at least not spam? Crazy thought... -- caveat utilitor ♫ ❤ ♫ ❤ ♫ ❤ ♫
Re: [gentoo-user] chicken <--> egg (NFS & tty video) (Fixed!)
On Mon, May 16, 2011 at 06:10:02PM +0200, Felix Miata wrote: > > Actually after the first or 2nd or some subsequent attempt that was my plan. > After so much time passed (days, not just hours) and I had good kernel, NFS, > and MC that I didn't see much point delaying KDE. After the errors > disappeared around 10 last night and I reported same here I started to wonder > where to go next on a tired brain. I set qt3support emerging around that > time, and more than 3 hours later and time for bed its hundred & some > packages were still emerging. I woke up hours later to goto the bathroom and > found that done, so set kdm to install. That hundred plus set of packages is > still emerging now, nearly 6 hours later. Maybe 32 bit 1667MHz & 512M RAM is > on the skimpy side for installing Gentoo? > Not to mention there is pretty much no way you'll be using kde on that hardware! I'd be surprised if X would be usable on that even with blackbox wm... -- caveat utilitor ♫ ❤ ♫ ❤ ♫ ❤ ♫
[gentoo-user] An Invitation to Neuroscientists and Physicists: Singapore Citizen Mr. Teo En Ming (Zhang Enming) Reports First Hand Account of Mind Intrusion and Mind Reading
16 May 2011 Monday 7:28 P.M. Singapore Time For Immediate Release SINGAPORE, SINGAPORE - Singapore Citizen Mr. Teo En Ming (Zhang Enming) would like to report first hand account of mind intrusion and mind reading. I have been hearing voices for quite some time now but I have not been able to identify the persons physically. A number of un-identified persons have intruded into my mind and they are able to read my thoughts. I could not explain the mechanism by which these un-identified persons have been reading my mind at the moment but there is definitely a scientific explanation for it. I know very clearly that I am not suffering from schizophrenia at all. I am fully aware that no common man would believe me except the select few scientific researchers working in top secret government projects and the human guinea pigs who are being experimented on. One of the possibilities is that I have a microchip implanted into my brain, possibly when I was an infant. It may take a few years, a few decades, or even a few centuries before mind reading is finally brought to light before the general public. I would like to invite neuroscientists, engineers and physicists to speak on the scientific explanation behind mind intrusion and mind reading. Please remember what Singapore Citizen Mr. Teo En Ming (Zhang Enming) have said. Mark my words. You will know the truth in future. It is no longer a conspiracy theory. I can affirm that it (mind intrusion and mind reading) is indeed happening to me. Yours truly, Singapore Citizen Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics)(Singapore Polytechnic) BEng(Hons)(Mechanical Engineering)(National University of Singapore) Singapore Identity Card No/NRIC: S78*6*2*H Toa Payoh Lorong 5, Singapore Mobile Phone: +65-8369-2618
Re: [gentoo-user] dd says no space left on device
On 16/5/2011, at 4:35pm, Mick wrote: >> GParted is the next choice, then - I understand it to be more than "just a >> graphical front-end", and I don't think you'll have such good results trying >> to use command-line tools to expand NTFS partitions. > ... > After your dd the data over to the new disk you will need to run > gparted as suggested by Stroller, or use ntfsresize which is what > gparted uses anyway. I believe that GParted uses the ntfsresize *libraries* directly, rather than the ntfsresize command-line program. I believe that's why GParted behaves *better* than ntfsresize - I'm sure there has been at least one occasion on which I found it better to use GParted than ntfsresize (which wouldn't do what I wanted). I made the quoted statement for a reason. Stroller.
Re: [gentoo-user] chicken <--> egg (NFS & tty video) (Fixed!)
On 2011/05/16 11:26 (GMT-0400) Indi composed: On Mon, May 16, 2011 at 05:00:02AM +0200, Felix Miata wrote: On 2011/05/15 22:18 (GMT-0400) Felix Miata composed: > I have two Gentoo stanzas in my primary bootloader, one to load the kernel, > another to chainload Gentoo's Grub. Loading the kernel works, but chainload > gives error 13 invalid executable format. I named the bzImage copied to /boot > "kernel-2.6.37-r4f", and symlinked it a vmlinuz. vmlinuz is the name I use in > the Grub stanzas. Is Gentoo's Grub expecting the kernel to have a particular > name, and I picked a wrong one? Or maybe what it doesn't like is that I > uncommented splashimage=(hd0,6)/boot/grub/splash.xpm.gz in menu.lst? I always just copy the bzImage to (for example) /boot/vmlinux-2.6.38-gentoo-r5, but the name doesn't really matter as long as it matches your bootloader entry. I spent more time thinking about what happened, and decided the Grub message had to be coming from the master Grub trying to chainload the non-existent Gentoo Grub, and finding old data from a partition previously using that space, rather than something recognizable as boot code. Why setup didn't get this right via emerge I have no idea, unless it didn't actually do anything toward actually setting Grub up. If so, it could be there was already some mismatched Grub code there already from a previous use of the sectors there that didn't like the file format. The install docs are fairly clear that installing the grub pkg is only the first step of setting up the bootloader. At that point I was seriously burned out on reading and rereading docs on install attempt #8 on my 5th day trying. I was so joyful seeing pretty colors and no error messages that I couldn't think logically. ;-) It seems to me (though I could certainly be wrong) that your best bet really is to perform a "vanilla install" first, as much as your hardware allows. Just to get to know the system before attempting to customize it. :) Actually after the first or 2nd or some subsequent attempt that was my plan. After so much time passed (days, not just hours) and I had good kernel, NFS, and MC that I didn't see much point delaying KDE. After the errors disappeared around 10 last night and I reported same here I started to wonder where to go next on a tired brain. I set qt3support emerging around that time, and more than 3 hours later and time for bed its hundred & some packages were still emerging. I woke up hours later to goto the bathroom and found that done, so set kdm to install. That hundred plus set of packages is still emerging now, nearly 6 hours later. Maybe 32 bit 1667MHz & 512M RAM is on the skimpy side for installing Gentoo? -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/
Re: [gentoo-user] Gentoo and a Mobile Phone
On Mon, May 16, 2011 at 8:39 AM, wrote: > I have an Optimus V 3G mobile phone. When I connect it to my Gentoo box > with the usb cable, and turn on usb storage, I get the following message in > a pop-up box. > > Unable to mount 2.0 GB Filesystem > Not Authorized > > Should I make the device rwx for all, make a udev rule, or do something > else? The problem is depending on what's plugged in, it may not always be > /dev/sdb . Also, what applications are out there that can interact with the > device? One of the first things I'd like to do is backup and edit my > contacts on the Gentoo box and sync it to the phone. udev rule is definitely the way to go. You can identify it by manufacturer/model/serial/whatever, and give it a persistent device name and permissions of your liking. I had mine as /dev/nokia for example.
Re: [gentoo-user] Double mount entry?
On Mon, May 16, 2011 at 6:45 AM, Pandu Poluan wrote: > What's rootfs? /usr/src/linux/Documentation/filesystems/ramfs-rootfs-initramfs.txt [snip] What is rootfs? --- Rootfs is a special instance of ramfs (or tmpfs, if that's enabled), which is always present in 2.6 systems. You can't unmount rootfs for approximately the same reason you can't kill the init process; rather than having special code to check for and handle an empty list, it's smaller and simpler for the kernel to just make sure certain lists can't become empty. Most systems just mount another filesystem over rootfs and ignore it. The amount of space an empty instance of ramfs takes up is tiny. [/snip]
Re: [gentoo-user] dd says no space left on device
On 16 May 2011 15:21, Stroller wrote: > > On 16/5/2011, at 12:56pm, Adam Carter wrote: >> ... >> Yes the new drive is bigger, going from 66G to 500G. Single partition only, >> ... >> >> So how do i proceed? Is it; >> 1. dd the mbr without partition table, to get the boot code (so bs=446 >> count=1) >> 2. use fdisk to set one big primary partition, mark it bootable and NTFS >> (type 7) >> 3. dd into what will be /dev/sdb1 > > Just `dd if=/dev/sda of=/dev/sdb` if you can. > > As Neil posted: there is no need to copy MBR & partitions separately in such > a simple situation. I don't know that I have ever needed to clone a > hard-drive in the way that you're attempting - I have *always* cloned the > whole drive (and I've cloned quite a few Windows drives this way). `dd > if=/dev/sda of=/dev/sdb` with no numbers on the end of sda or sdb. > >> but IIRC there is a 100MB unlabelled space (doesnt come up with fdisk -l). >> Is this is an OEM recovery hidden partition? > > Possibly. But this question should be preceded by: "do you have an OEM > recovery hidden partition?" > > I mean, if the computer starts up and says "press R to boot into the Compaq > recovery partition" and there's no other place for it to be, then yes. But > frequently OEM recovery hidden partitions are visible in Windows' disk > management console (Start > Run > "diskmgmt.msc") as partitions of DOS or > unknown type, or simply showing as "hidden" or with no drive letter assigned. > Therefore I'd expect them to be visible in fdisk as well. > > Whatever, if you clone the whole disk you will copy the recovery partition, > if its present. > >> Will I be able to expand NTFS or it is better to make sure parition size = >> NTFS filesystem size so it doesnt get confused, the boot into windows and >> expand it? > > It probably depends on the version of NTFS whether this can be done natively > or not. I believe that in XP you can expand D: and E: partitions from within > Windows, but not C:. So to expand an XP system drive you would use Partition > Magic or the GParted LiveCD [1]. I guess that Windows 7 allows you to expand > C: from the management console, if not GParted claims to support it (and > Vista). > > I would be trying to do this *after* you have cloned the whole drive and > booted with the new copy. Don't try to be clever about whether the filesystem > should be the same size as the partition or not - just copy the whole lot > verbatim, so they'll remain the same sizes they are now. Then use the GUI > tools to expand the partition+filesystem afterwards and let those GUI tools > worry about it - preferably use Windows' own tools, otherwise use Partition > Magic or GParted. > > Partition Magic is my resizing tool of choice for XP, but it's neither free > nor Free, nor is it supported on Vista or Windows 7. GParted is the next > choice, then - I understand it to be more than "just a graphical front-end", > and I don't think you'll have such good results trying to use command-line > tools to expand NTFS partitions. > > Stroller. > > > [1] http://gparted.sourceforge.net/livecd.php Only to add that the new larger drive will appear as small as the original because the fs size is after all that of the smaller drive. After your dd the data over to the new disk you will need to run gparted as suggested by Stroller, or use ntfsresize which is what gparted uses anyway. -- Regards, Mick
Re: [gentoo-user] chicken <--> egg (NFS & tty video) (Fixed!)
On Mon, May 16, 2011 at 05:00:02AM +0200, Felix Miata wrote: > On 2011/05/15 22:18 (GMT-0400) Felix Miata composed: > > > I have two Gentoo stanzas in my primary bootloader, one to load the kernel, > > another to chainload Gentoo's Grub. Loading the kernel works, but chainload > > gives error 13 invalid executable format. I named the bzImage copied to > > /boot > > "kernel-2.6.37-r4f", and symlinked it a vmlinuz. vmlinuz is the name I use > > in > > the Grub stanzas. Is Gentoo's Grub expecting the kernel to have a particular > > name, and I picked a wrong one? Or maybe what it doesn't like is that I > > uncommented splashimage=(hd0,6)/boot/grub/splash.xpm.gz in menu.lst? > I always just copy the bzImage to (for example) /boot/vmlinux-2.6.38-gentoo-r5, but the name doesn't really matter as long as it matches your bootloader entry. > > Why setup didn't get this right via emerge I have no idea, unless it didn't > actually do anything toward actually setting Grub up. If so, it could be > there was already some mismatched Grub code there already from a previous use > of the sectors there that didn't like the file format. > The install docs are fairly clear that installing the grub pkg is only the first step of setting up the bootloader. It seems to me (though I could certainly be wrong) that your best bet really is to perform a "vanilla install" first, as much as your hardware allows. Just to get to know the system before attempting to customize it. :) -- caveat utilitor ♫ ❤ ♫ ❤ ♫ ❤ ♫
Re: [gentoo-user] What is the proper usage of module_rebuild?
On Mon, May 16, 2011 at 04:49:07PM +0200, Alan McKinnon wrote: > The correct way to use module-rebuild is to run once: > > module-rebuild populate > > This will search the tree to find out-of-kernel-tree module ebuilds you are > using and put them in a db or later use. > > Every time you emerge and build a new kernel, run: > > module-rebuild rebuild > > This will build the missing modules for the kernel you just built. > > module-rebuild add|del lets you maintain the list as you add and delete stuff If populate inits the list, are add/del only there to avoid a length tree search? Otherwise I take it you mean run populate once, then rebuild after every new kernel, and otherwise do nothing? -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman & rocket surgeon / fe...@crowfix.com GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o
Re: [gentoo-user] chicken <--> egg (NFS & tty video) (Fixed!)
On Mon, May 16, 2011 at 03:10:03PM +0200, Neil Bothwick wrote: > On Mon, 16 May 2011 12:43:05 +, JDM wrote: > > > That's a clever trick. How do you get emails from emerge? > > Read the settings for PORTAGE_ELOG in man make.conf. > > Or as that man page says, "Please see /usr/share/portage/config/make.conf.example for elog documentation." :) -- caveat utilitor ♫ ❤ ♫ ❤ ♫ ❤ ♫
Re: [gentoo-user] Double mount entry?
Apparently, though unproven, at 13:45 on Monday 16 May 2011, Pandu Poluan did opine thusly: > Hmmm... just installed a new system... and when I type `mount`, I get this: > > rootfs on / type rootfs (rw) > /dev/root on / type reiserfs (rw,noatime) > proc on /proc type proc (rw,relatime) > rc-svcdir on /lib64/rc/init.d type tmpfs > (rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755) > sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) > udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,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) > /dev/sda1 on /boot type ext2 (rw,noatime) > binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc > (rw,noexec,nosuid,nodev) > > What's rootfs? And what's rc-svcdir? Where do they come from? openrc stuff. Your output is correct. Don't worry about it. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] What is the proper usage of module_rebuild?
Apparently, though unproven, at 15:20 on Monday 16 May 2011, fe...@crowfix.com did opine thusly: > I have an ancient emerge script which does this: > > rm -rf /var/lib/module-rebuild > module-rebuild -C list > > and I do not know why -- did I dream this up myself, or did I inherit > it from somewhere? I do not know. > > At any rate, it seems kind of odd. What is the proper way of using > module_rebuild?It seems to me there are two cases, and maybe that > is why this script has this odd code. If you have just built a brand > new kernel, you might want to rebuild the module list from scratch. > But once you have done that, future emerges only need to keep the > module list up to date. > > And then I realized I don't even know what the module list actually > is. > > Please enlighten me :-O Looks like something you dreamed up. /var/lib/module-rebuild contains a list of installed out-of-tree modules. You delete the entire directory then list it (to prove that it is empty?) I have no idea why you might have wanted to do that back in the day. The correct way to use module-rebuild is to run once: module-rebuild populate This will search the tree to find out-of-kernel-tree module ebuilds you are using and put them in a db or later use. Every time you emerge and build a new kernel, run: module-rebuild rebuild This will build the missing modules for the kernel you just built. module-rebuild add|del lets you maintain the list as you add and delete stuff -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] chicken <--> egg (NFS & tty video) (Fixed!)
On 16/5/2011, at 1:43pm, JDM wrote: >> Most people set things up so they get emails of the post install >> messages when emerging things, but it is up to you to actually read them >> and, when necessary, follow the instructions. > That's a clever trick. How do you get emails from emerge? $ grep -i mail /etc/make.conf PORTAGE_ELOG_SYSTEM="save mail" PORTAGE_ELOG_MAILURI="root" PORTAGE_ELOG_MAILFROM="portage@hex" $ (I follow the guiding principal that root and postmaster should always be correctly aliased, and that mail to them should be delivered correctly to another named user, my own). Stroller.
Re: [gentoo-user] Pre OpenRC update question...
On 16/5/2011, at 11:47am, Tanstaafl wrote: > ... > On that note - I think I asked this a few months ago - I'm assuming I > could continue using the old baselayout for a while, if I wanted, > emerging updates (skipping the baselayout/OpenRC updates) for a while, > without any problems, right? I don't believe you can do this safely, as I don't believe that the runtime-depends of all other ebuilds distinguish properly between the old baselayout and OpenRC / baselayout2. There were some comments here the other week about checking for libraries & programs which has been updated / recompiled, but for which the old versions were still in use. The programs `lib_users` and `checkrestart` were mentioned, and sure enough the latter indicated some init.d scripts; however some of these failed to restart, complaining "I'm written for the new baselayout, not this old crap!". I run a mostly "stable" x86 system, with a handful of ~x86 packages unmasked by hand, so I can't say this isn't to blame. I personally think the cause is that I synced and updated a handful of packages just as or before the migration warning appeared, and that these were stabilised in preparation for the other. Whatever - I think Portage should be clever enough to say "hang on, this init.d script doesn't match the baselayout verstion - let's not emerge this!", but it doesn't seem to be. Stroller
Re: [gentoo-user] dd says no space left on device
On 16/5/2011, at 12:56pm, Adam Carter wrote: > ... > Yes the new drive is bigger, going from 66G to 500G. Single partition only, > ... > > So how do i proceed? Is it; > 1. dd the mbr without partition table, to get the boot code (so bs=446 > count=1) > 2. use fdisk to set one big primary partition, mark it bootable and NTFS > (type 7) > 3. dd into what will be /dev/sdb1 Just `dd if=/dev/sda of=/dev/sdb` if you can. As Neil posted: there is no need to copy MBR & partitions separately in such a simple situation. I don't know that I have ever needed to clone a hard-drive in the way that you're attempting - I have *always* cloned the whole drive (and I've cloned quite a few Windows drives this way). `dd if=/dev/sda of=/dev/sdb` with no numbers on the end of sda or sdb. > but IIRC there is a 100MB unlabelled space (doesnt come up with fdisk -l). Is > this is an OEM recovery hidden partition? Possibly. But this question should be preceded by: "do you have an OEM recovery hidden partition?" I mean, if the computer starts up and says "press R to boot into the Compaq recovery partition" and there's no other place for it to be, then yes. But frequently OEM recovery hidden partitions are visible in Windows' disk management console (Start > Run > "diskmgmt.msc") as partitions of DOS or unknown type, or simply showing as "hidden" or with no drive letter assigned. Therefore I'd expect them to be visible in fdisk as well. Whatever, if you clone the whole disk you will copy the recovery partition, if its present. > Will I be able to expand NTFS or it is better to make sure parition size = > NTFS filesystem size so it doesnt get confused, the boot into windows and > expand it? It probably depends on the version of NTFS whether this can be done natively or not. I believe that in XP you can expand D: and E: partitions from within Windows, but not C:. So to expand an XP system drive you would use Partition Magic or the GParted LiveCD [1]. I guess that Windows 7 allows you to expand C: from the management console, if not GParted claims to support it (and Vista). I would be trying to do this *after* you have cloned the whole drive and booted with the new copy. Don't try to be clever about whether the filesystem should be the same size as the partition or not - just copy the whole lot verbatim, so they'll remain the same sizes they are now. Then use the GUI tools to expand the partition+filesystem afterwards and let those GUI tools worry about it - preferably use Windows' own tools, otherwise use Partition Magic or GParted. Partition Magic is my resizing tool of choice for XP, but it's neither free nor Free, nor is it supported on Vista or Windows 7. GParted is the next choice, then - I understand it to be more than "just a graphical front-end", and I don't think you'll have such good results trying to use command-line tools to expand NTFS partitions. Stroller. [1] http://gparted.sourceforge.net/livecd.php
[gentoo-user] An Invitation to Neuroscientists and Physicists: Singapore Citizen Mr. Teo En Ming (Zhang Enming) Reports First Hand Account of Mind Intrusion and Mind Reading
16 May 2011 Monday 7:28 P.M. Singapore Time For Immediate Release SINGAPORE, SINGAPORE - Singapore Citizen Mr. Teo En Ming (Zhang Enming) would like to report first hand account of mind intrusion and mind reading. I have been hearing voices for quite some time now but I have not been able to identify the persons physically. A number of un-identified persons have intruded into my mind and they are able to read my thoughts. I could not explain the mechanism by which these un-identified persons have been reading my mind at the moment but there is definitely a scientific explanation for it. I know very clearly that I am not suffering from schizophrenia at all. I am fully aware that no common man would believe me except the select few scientific researchers working in top secret government projects and the human guinea pigs who are being experimented on. One of the possibilities is that I have a microchip implanted into my brain, possibly when I was an infant. It may take a few years, a few decades, or even a few centuries before mind reading is finally brought to light before the general public. I would like to invite neuroscientists, engineers and physicists to speak on the scientific explanation behind mind intrusion and mind reading. Please remember what Singapore Citizen Mr. Teo En Ming (Zhang Enming) have said. Mark my words. You will know the truth in future. It is no longer a conspiracy theory. I can affirm that it (mind intrusion and mind reading) is indeed happening to me. Yours truly, Singapore Citizen Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics)(Singapore Polytechnic) BEng(Hons)(Mechanical Engineering)(National University of Singapore) Singapore Identity Card No/NRIC: S78*6*2*H Toa Payoh Lorong 5, Singapore Mobile Phone: +65-8369-2618
Re: [gentoo-user] --oneshot and --update
Dale writes: > Way back when, --update did not record to the world file. That may have > changed but I sort of doubt it. It has changed indeed. Wonko
Re: [gentoo-user] --oneshot and --update
Stroller wrote: On 16/5/2011, at 7:35am, Pandu Poluan wrote: ... * emerge --oneshot package will install package but does not record it in @world * To update a oneshot-ed package, I must either do it explicitly (emerge --update package) ... Will this not cause the package to be recorded in world? I think you update a oneshotted package with `emerge -1 package` (just the same as you used to install it in the first place). This probably doesn't arise very often, as you probably won't be updating oneshotted packages very often. --oneshot is fairly strictly a temporary solution - to fulfil a virtual in a certain way or just for testing how a package behaves with or without a graphics lib installed. If you want the package updated then you should record it in world. Stroller. Way back when, --update did not record to the world file. That may have changed but I sort of doubt it. Dale :-) :-)
[gentoo-user] Gentoo and a Mobile Phone
I have an Optimus V 3G mobile phone. When I connect it to my Gentoo box with the usb cable, and turn on usb storage, I get the following message in a pop-up box.Unable to mount 2.0 GB FilesystemNot AuthorizedShould I make the device rwx for all, make a udev rule, or do something else? The problem is depending on what's plugged in, it may not always be /dev/sdb . Also, what applications are out there that can interact with the device? One of the first things I'd like to do is backup and edit my contacts on the Gentoo box and sync it to the phone.Thanks,dhk
Re: [gentoo-user] --oneshot and --update
On 16/5/2011, at 7:35am, Pandu Poluan wrote: > ... > * emerge --oneshot package will install package but does not record it in > @world > > * To update a oneshot-ed package, I must either do it explicitly > (emerge --update package) ... Will this not cause the package to be recorded in world? I think you update a oneshotted package with `emerge -1 package` (just the same as you used to install it in the first place). This probably doesn't arise very often, as you probably won't be updating oneshotted packages very often. --oneshot is fairly strictly a temporary solution - to fulfil a virtual in a certain way or just for testing how a package behaves with or without a graphics lib installed. If you want the package updated then you should record it in world. Stroller.
[gentoo-user] Re: Genkernel + ROOT=/tmp/rootfs ?
On Wed, May 11, 2011 at 5:25 PM, Kfir Lavi wrote: > Hi, > I'm building a catalyst target for installing with ROOT=/tmp/rootfs > Looking on the genkernel man page and I can't find a way to install the > kernel > to ROOT. > Is there a way to do that? > > Thanks, > Kfir > Anyone?
Re: [gentoo-user] Double mount entry?
Pandu Poluan wrote: Hmmm... just installed a new system... and when I type `mount`, I get this: rootfs on / type rootfs (rw) /dev/root on / type reiserfs (rw,noatime) proc on /proc type proc (rw,relatime) rc-svcdir on /lib64/rc/init.d type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,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) /dev/sda1 on /boot type ext2 (rw,noatime) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) What's rootfs? And what's rc-svcdir? Where do they come from? Rgds, -- Pandu E Poluan ~ IT Optimizer ~ Visit my Blog: http://pepoluan.posterous.com You are not alone. I have the same here: root@fireball / # mount rootfs on / type rootfs (rw) /dev/root on / type reiserfs (rw,relatime) 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) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,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) /dev/sda1 on /boot type ext2 (rw) /dev/sda8 on /var type ext3 (rw,commit=0) /dev/sda6 on /usr/portage type ext3 (rw,commit=0) /dev/sda7 on /home type reiserfs (rw) /dev/sdc1 on /data type reiserfs (rw) 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) root@fireball / # I think I read a while back this is a openrc thing. It's just the new way of doing things. No idea why but might be something we can't change. Dale :-) :-)
[gentoo-user] What is the proper usage of module_rebuild?
I have an ancient emerge script which does this: rm -rf /var/lib/module-rebuild module-rebuild -C list and I do not know why -- did I dream this up myself, or did I inherit it from somewhere? I do not know. At any rate, it seems kind of odd. What is the proper way of using module_rebuild?It seems to me there are two cases, and maybe that is why this script has this odd code. If you have just built a brand new kernel, you might want to rebuild the module list from scratch. But once you have done that, future emerges only need to keep the module list up to date. And then I realized I don't even know what the module list actually is. Please enlighten me :-O -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman & rocket surgeon / fe...@crowfix.com GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o
[gentoo-user] Double mount entry?
Hmmm... just installed a new system... and when I type `mount`, I get this: rootfs on / type rootfs (rw) /dev/root on / type reiserfs (rw,noatime) proc on /proc type proc (rw,relatime) rc-svcdir on /lib64/rc/init.d type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,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) /dev/sda1 on /boot type ext2 (rw,noatime) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) What's rootfs? And what's rc-svcdir? Where do they come from? Rgds, -- Pandu E Poluan ~ IT Optimizer ~ Visit my Blog: http://pepoluan.posterous.com
Re: [gentoo-user] chicken <--> egg (NFS & tty video) (Fixed!)
On Mon, 16 May 2011 12:43:05 +, JDM wrote: > That's a clever trick. How do you get emails from emerge? Read the settings for PORTAGE_ELOG in man make.conf. -- Neil Bothwick WinErr 001: Windows loaded - System in danger signature.asc Description: PGP signature
Re: [gentoo-user] chicken <--> egg (NFS & tty video) (Fixed!)
That's a clever trick. How do you get emails from emerge? JDM -Original Message- From: Tanstaafl Date: Mon, 16 May 2011 07:58:34 To: Reply-to: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] chicken <--> egg (NFS & tty video) (Fixed!) On 2011-05-15 10:54 PM, Felix Miata wrote: > Why setup didn't get this right via emerge I have no idea, unless it > didn't actually do anything toward actually setting Grub up. If so, it > could be there was already some mismatched Grub code there already from > a previous use of the sectors there that didn't like the file format. Felix - you need to start reading the post-install messages when emerging things. With Gentoo, a lot of times, you have to actually do things manually after installing something - as you found with GRUB. Most people set things up so they get emails of the post install messages when emerging things, but it is up to you to actually read them and, when necessary, follow the instructions.
Re: [gentoo-user] Pre OpenRC update question...
Tanstaafl wrote: On 2011-05-16 7:38 AM, William Hubbs wrote: On Mon, May 16, 2011 at 06:47:59AM -0400, Tanstaafl wrote: On that note - I think I asked this a few months ago - I'm assuming I could continue using the old baselayout for a while, if I wanted, emerging updates (skipping the baselayout/OpenRC updates) for a while, without any problems, right? I would not recommend doing this. The plan is to support openrc/baselayout-2 as gentoo's default init system and deprecate baselayout-1, which will eventually lead to things breaking if you are still using baselayout-1. Well, sure, I'm not talking about delaying the update for very long, weeks, maybe, but no more than a month or two at the most. On my old rig, I updated it last night. On it, nothing else depended on openrc and baselayout. It had other updates and I wanted to do the openrc alone so I did emerge -1av openrc and that updated baselayout and installed openrc. I might add, the machine is remotely ran over ssh. The only time I touch it is to push the power switch to turn it on. The upgrade was easy enough. Most of the things in the guide are done during the install and can be skipped. It would be safer to check them all tho. When I finished, I just typed in reboot & exit and a couple minutes later, I logged back in. No problems at all. If you want to hold off on the updates, just add the packages to package.mask and it will skip them so that you can still use world and system without pulling them in. As was already stated, I wouldn't wait to long. It will most likely start to breaking things pretty soon. Dale :-) :-)
Re: [gentoo-user] grub menu and the new openrc
Mick wrote: On Monday 16 May 2011 02:47:31 Dale wrote: Daniel da Veiga wrote: On Sun, May 15, 2011 at 20:12, Dalemailto:rdalek1...@gmail.com>> wrote: Daniel da Veiga wrote: I have a similar entry, but have never used the softlevel= flag, I simply append "single" at the end of the kernel call and it boots in single user (root password or ctrl+d to continue). I did get this to work: title Gentoo single user kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 rw single So, all I need now is to figure out how to get this work: title Gentoo boot level kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=boot It appears the softlevel= is no longer working with the new openrc. It looks like the docs need to be updated. I also tried init= and it doesn't work either. Did you try creating a new runlevel (dale_special) and then booting into it by appending softlevel=dale_special ? That will prove if the Gentoo softlevel mechanism is no longer available. I tried some of the other runlevels, nonetwork, single, boot and none of those work except for single by just putting "rw single" in the boot line. Single doesn't work if I select it by using softlevel=single. That does work if I am in default then switch to single in a console tho. That would be using the "rc single" command. I used to have another runlevel that I created myself but I removed it a good while back when I got boot set up like I wanted. It appears that openrc has not been told what softlevel is. I do see where it is passed on to the OS from grub during the boot process tho. Time to go farther up the food chain I guess. The docs need to be changed at least. Updated docs are always good, but I wonder why do you need this. If I need single user I simply press "e", edit the line and add single, followed by a "b" to boot. That is a for maintenance only so I really don't see a need for it at grub menu, same wth the other runlevels, all you gotta do is append "nox" or use Interactive (again, this is only if something is broken, I can't see myself doing this twice in a week)... I think that nox brings you all the way up to runlevel 3, not runlevel 1. I have used nox before on a CD. The reason I like to use the ones I already have is that I already know exactly what is running and what is not. When I boot to single by adding "rw single" to the end of the boot line, I still have to start some services to get where I want to be. Being able to boot to the boot runlevel is much better since I have some things already set to start. Openrc doesn't mount things listed in fstab such as /home/ portage and /var which are separate partitions. The thing is, I do use them which is why I went to the trouble of setting them up to begin with. I actually use them pretty regular. Just because others don't use them doesn't mean that I don't or shouldn't. I tried to use them is how I figured out it didn't work anymore. That alone shows that I use them for various reasons. This update is less than a week old and I already found out that this doesn't work anymore. I just want to figure out how it works with openrc which it appears no one has a answer and the docs are wrong as well. The definitive answer is that the gentoo "single" softlevel does not work. The Linux standard "single" or "S" or "1" runlevel works fine (but I can't recall if I tried "1" recently). So the question remains what is happening with other softlevels if you care to create them. I'm beginning to think that openrc goes back to the "old" Linux way. In other words, it uses the init levels instead of softlevels. The only thing that makes me think that is not true, init=runlevel doesn't work either. I suspect that init=/bin/bash would work but not tested yet. I have this in inittab: l0:0:wait:/sbin/rc shutdown l0s:0:wait:/sbin/halt -dhp l1:1:wait:/sbin/rc single l2:2:wait:/sbin/rc nonetwork l3:3:wait:/sbin/rc default l4:4:wait:/sbin/rc default l5:5:wait:/sbin/rc default l6:6:wait:/sbin/rc reboot l6r:6:wait:/sbin/reboot -dk I assume I could edit that to look like this: l0:0:wait:/sbin/rc shutdown l0s:0:wait:/sbin/halt -dhp l1:1:wait:/sbin/rc single l2:2:wait:/sbin/rc boot l3:3:wait:/sbin/rc nonetwork l4:4:wait:/sbin/rc default l5:5:wait:/sbin/rc default l6:6:wait:/sbin/rc reboot l6r:6:wait:/sbin/reboot -dk #z6:6:respawn:/sbin/sulogin The only problem with that is that there are more runlevel options than there are lines there for me to add. Even tho I can sort of get to what I want, I still want to get the new way sorted so that I can get the doc team to update the docs. If this has been overlooked, then it may be that the devs will have to add this feature or make other changes so that this is doable. I also posted on the forums. They are equally stumped. I am beginning to think this was
Re: [gentoo-user] Pre OpenRC update question...
On 2011-05-16 7:38 AM, William Hubbs wrote: > On Mon, May 16, 2011 at 06:47:59AM -0400, Tanstaafl wrote: >> On that note - I think I asked this a few months ago - I'm assuming I >> could continue using the old baselayout for a while, if I wanted, >> emerging updates (skipping the baselayout/OpenRC updates) for a while, >> without any problems, right? > I would not recommend doing this. The plan is to support > openrc/baselayout-2 as gentoo's default init system and deprecate > baselayout-1, which will eventually lead to things breaking if you are > still using baselayout-1. Well, sure, I'm not talking about delaying the update for very long, weeks, maybe, but no more than a month or two at the most.
Re: [gentoo-user] chicken <--> egg (NFS & tty video) (Fixed!)
On 2011-05-15 10:54 PM, Felix Miata wrote: > Why setup didn't get this right via emerge I have no idea, unless it > didn't actually do anything toward actually setting Grub up. If so, it > could be there was already some mismatched Grub code there already from > a previous use of the sectors there that didn't like the file format. Felix - you need to start reading the post-install messages when emerging things. With Gentoo, a lot of times, you have to actually do things manually after installing something - as you found with GRUB. Most people set things up so they get emails of the post install messages when emerging things, but it is up to you to actually read them and, when necessary, follow the instructions.
Re: [gentoo-user] dd says no space left on device
> > But the OP's new drive is larger, so I assume that he will be > > rearranging partitions afterwards - could be wrong. > > So if you've got to rearrange the partitions anyway, it is easier to just > dd the whole thing in one go and then do the rearranging. > > Alternatively, set up the new partition table manually and them copy each > filesystem. dding the partition table separately from all the partitions > makes no sense. > > Yes the new drive is bigger, going from 66G to 500G. Single partition only, but IIRC there is a 100MB unlabelled space (doesnt come up with fdisk -l). Is this is an OEM recovery hidden partition? So how do i proceed? Is it; 1. dd the mbr without partition table, to get the boot code (so bs=446 count=1) 2. use fdisk to set one big primary partition, mark it bootable and NTFS (type 7) 3. dd into what will be /dev/sdb1 Then what? Will I be able to expand NTFS or it is better to make sure parition size = NTFS filesystem size so it doesnt get confused, the boot into windows and expand it? Thanks again.
Re: [gentoo-user] Gentoo-based 'filer' / GentooFiler How-To?
On 2011-05-15 10:05 AM, pk wrote: > (I'm not happy with my current mail client either [Thunderbird]). Why not? It isn't perfect, but is by far the best GUI+IMAP client I've found... Maybe you didn't know you could highlight the test you want to include in your reply, and it will include *only* that in the reply?
Re: [gentoo-user] Pre OpenRC update question...
On Mon, May 16, 2011 at 06:47:59AM -0400, Tanstaafl wrote: > On last question/confirmation - > > There are a few updates other than just the baselayout/OpenRC updates > pending... can I still emerge those now, prior to the baselayout update, > like normal? Yes, as long as they do not have a dependency on the newer baselayout or openrc. > On that note - I think I asked this a few months ago - I'm assuming I > could continue using the old baselayout for a while, if I wanted, > emerging updates (skipping the baselayout/OpenRC updates) for a while, > without any problems, right? I would not recommend doing this. The plan is to support openrc/baselayout-2 as gentoo's default init system and deprecate baselayout-1, which will eventually lead to things breaking if you are still using baselayout-1. William pgp16Vk3JCTQR.pgp Description: PGP signature
Re: [gentoo-user] dd says no space left on device
On Mon, 16 May 2011 12:16:51 +0100, Mick wrote: > > If you're going to resize/move partitions afterwards, you may as well > > just dd the whole drive in one go. > > But the OP's new drive is larger, so I assume that he will be > rearranging partitions afterwards - could be wrong. So if you've got to rearrange the partitions anyway, it is easier to just dd the whole thing in one go and then do the rearranging. Alternatively, set up the new partition table manually and them copy each filesystem. dding the partition table separately from all the partitions makes no sense. -- Neil Bothwick Of all the people I've met you're certainly one of them signature.asc Description: PGP signature
Re: SOLVED [gentoo-user] media center with gentoo
On 05/14/2011 08:42 AM, Coert Waagmeester wrote: > Hello all, > > Building myself a new media center setup. > I used to have an old xbox with xbmc. But the CPU is to slow for hi-def > video. > > Now I have a normal PC with keyboard and mouse in its place. > Normal Gentoo install. > > How can I get X to start up without login straight into XBMC? > Which (xdm,kdm,etc) should I use for this? > Or should I just start an xsession with xbmc out of some sort of init > script? > > On the XBMC forum I have found this link, and will try to get that going > in the meantime. > http://forum.xbmc.org/showthread.php?t=41739 > > Any other media center tips would be appreciated! > Also going to try and put a normal USB plug on one of the old xbox > controllers. > > > Regards, > Coert > > Hello all, Thanks for all the tips! I got it going with: http://forum.xbmc.org/showthread.php?p=266552 Combination of mingetty with autologin. My ~/.profile script then starts X with .xinitrc containing 'xbmc --standalone' Works like a charm, Coert Waagmeester
Re: [gentoo-user] dd says no space left on device
On 16 May 2011 11:45, Neil Bothwick wrote: > On Mon, 16 May 2011 11:37:10 +0100, Mick wrote: > >> Then you can use gparted and resize partitions, add new ones, etc. >> BTW do not resize ntfs partitions unless you have booted into them >> defragged them first. > > If you're going to resize/move partitions afterwards, you may as well > just dd the whole drive in one go. But the OP's new drive is larger, so I assume that he will be rearranging partitions afterwards - could be wrong. -- Regards, Mick
Re: [gentoo-user] Re: How's the openrc update going for everyone?
On 2011-05-13 4:16 AM, Neil Bothwick wrote: > KDE3 was fine as it was. I think that pretty much sums it up... No one forced anyone to upgrade to 4.0 when it was released. Anyone (you) could have continued using 3.x until *you* were satisfied with 4.x...
Re: [gentoo-user] Pre OpenRC update question...
On 2011-05-12 5:46 PM, Dale wrote: > Alan McKinnon wrote: >> Apparently, though unproven, at 23:00 on Thursday 12 May 2011, >> Tanstaafl did opine thusly: >>> If I want to image my system prior to the update 'just in case' >>> something goes south, am I correct that all I need to worry about is /, >>> since /etc is located there? >>> >>> In other words, is anything on /usr or /var touched during this update? >> All the affected configs are in /etc/ > That was all I backed up when I did mine to. If it does go south, just > re-emerge the old packages and restore /etc from your backups. Should > be back to normal. > > That said, follow the guide and you should be fine. It went smoothly > for me. Thanks Alan and Dale... but since this is a production server, guess I'll wait till this weekend to do the deed. On last question/confirmation - There are a few updates other than just the baselayout/OpenRC updates pending... can I still emerge those now, prior to the baselayout update, like normal? On that note - I think I asked this a few months ago - I'm assuming I could continue using the old baselayout for a while, if I wanted, emerging updates (skipping the baselayout/OpenRC updates) for a while, without any problems, right? Thanks again guys... probably fretting over nothing, like the rest of you...
Re: [gentoo-user] dd says no space left on device
On Mon, 16 May 2011 11:37:10 +0100, Mick wrote: > Then you can use gparted and resize partitions, add new ones, etc. > BTW do not resize ntfs partitions unless you have booted into them > defragged them first. If you're going to resize/move partitions afterwards, you may as well just dd the whole drive in one go. -- Neil Bothwick Bus: (n.) a connector you plug money into, something like a slot machine. signature.asc Description: PGP signature
Re: [gentoo-user] dd says no space left on device
On 16 May 2011 07:31, Adam Carter wrote: > >> > To check my understanding - would it be correct to say that; >> > 1. Using dd to copy the first 512 bytes (MBR) is ALL that is needed to >> > setup the partitions - that is i wont need to run fdisk etc afterward. >> >> This is correct if you only have primary partitions. It will not copy the >> extended partition and any logical partitions in it. They reside in the >> first >> sector of the extended partition, which is not a boot sector, but contains >> the >> logical partition table. (I found this out the hard way!) >> >> Have a look at this to see how you can back up the extended partition >> tables >> with sfdisk (there's more than one of these, if you have more than one >> logical >> partition) : >> >> http://www.partimage.org/Partimage-manual_Backup-partition-table >> >> >> > 2. Using dd in this way of course will not update the kernel's knowledge >> > of >> > the partition table so a partprobe is necessary >> >> Yes, or a reboot. >> >> >> > 3. When using fdisk to write a partition table and exit, it calls a >> > re-read >> > of the partition table by the kernel so any changes should be ready >> > straight away. (there's a message about calling ioctl when it exits - so >> > i >> > guess that is the update) >> >> They are ready (i.e. written) but not yet read by the OS. Tools like >> gparted >> (part)probe the device to re-read the partition table after saving changes >> to >> disk. > > Thanks Mick. Great info, esp about the extended partitions. Fortunately, I > dont have any on this disk but good to know. OK, this is what I would do: dd over the MBR (bs=512 count=1). This will bring over the bootloader code and the primary partition table. Any primary partitions you had will be copied over, same number and same size. Then reboot. This will read the new primary partition table. Then run your dd command on the respective partition. It should not error out on the first bs, but I suggest that you also add conv=notrunc. and perhaps conv=notrunc,noerror. The notrunc is necessary to copy all sectors, otherwise dd will stop as soon as it reaches unused sectors and truncate the test of the copy. The noerror will make it carry on even if there are read errors. In this way what you get on the new disk should be identical bit by bit with what's on the old disk including empty space. Then you can use gparted and resize partitions, add new ones, etc. BTW do not resize ntfs partitions unless you have booted into them defragged them first. Let us know how it goes. -- Regards, Mick
[gentoo-user] Can't get help in Gnome - Silly error message
Hi, Gentoo. Would somebody please help me. In every program in Gnome, there is a help menu. When I click on any of them, I get the wierd error message: Couldn't display help The specified location is not supported Does this just mean "couldn't find file" or does it have some deeper meaning? More to the point, what do I have to do to fix this problem? -- Alan Mackenzie (Nuremberg, Germany).
Re: [gentoo-user] --oneshot and --update
On Mon, 16 May 2011 13:35:19 +0700, Pandu Poluan wrote: > * emerge --oneshot package will install package but does not record it > in @world Yes. > * To update a oneshot-ed package, I must either do it explicitly > (emerge --update package), or use --deep against world (emerge > --update --deep @world) The former, the latter will not do anything as the package is unknown to world. > * --update-ing a package will not record it in @world As in emerge -u package? That will record it in world. > * If I want that package to be included in @world, I have to re-emerge > it * emerge --oneshot package will install package but does not record it in @world * To update a oneshot-ed package, I must either do it explicitly (emerge --update package), or use --deep against world (emerge --update --deep @world) * --update-ing a package will not record it in @world * If I want that package to be included in @world, I have to re-emerge it No, emerge -n package. -- Neil Bothwick What do you call a Tellytubbie with a finger up its bum? Stinky Pinky! signature.asc Description: PGP signature
Re: [gentoo-user] chicken <--> egg (NFS & tty video) (Fixed!)
On Sun, 15 May 2011 22:54:14 -0400, Felix Miata wrote: > Why setup didn't get this right via emerge I have no idea, unless it > didn't actually do anything toward actually setting Grub up. Emerging GRUB installs it, that's all. The post installation message would have told you to set i up, but it's up to you to do the work. -- Neil Bothwick I'm not closed minded, you're just wrong. signature.asc Description: PGP signature
Re: [gentoo-user] --oneshot and --update
On Monday 16 May 2011 08:35:19 Pandu Poluan wrote: > Hello list! > > I am trying to get the 'Zen' of emerge. Please CMIIW on the following > points: > > * emerge --oneshot package will install package but does not record it in > @world right > * To update a oneshot-ed package, I must either do it explicitly > (emerge --update package), or use --deep against world (emerge > --update --deep @world) > > * --update-ing a package will not record it in @world > > * If I want that package to be included in @world, I have to re-emerge it no, you can use emerge --noreplace www-client/firefox (for exemple), or write this ebuild name in the world file itself. > So, did I get everything right? > > Rgds, -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: --oneshot and --update
On 05/16/2011 09:35 AM, Pandu Poluan wrote: Hello list! I am trying to get the 'Zen' of emerge. Please CMIIW on the following points: * emerge --oneshot package will install package but does not record it in @world * To update a oneshot-ed package, I must either do it explicitly (emerge --update package), or use --deep against world (emerge --update --deep @world) * --update-ing a package will not record it in @world * If I want that package to be included in @world, I have to re-emerge it So, did I get everything right? I don't think that "--deep" will update stuff that isn't a direct or indirect dependency of packages that are in world.
Re: [gentoo-user] --oneshot and --update
Apparently, though unproven, at 08:35 on Monday 16 May 2011, Pandu Poluan did opine thusly: > Hello list! > > I am trying to get the 'Zen' of emerge. Please CMIIW on the following > points: > > * emerge --oneshot package will install package but does not record it in > @world Yes > * To update a oneshot-ed package, I must either do it explicitly > (emerge --update package), or use --deep against world (emerge > --update --deep @world) Yes > * --update-ing a package will not record it in @world Dunno. Please test it and tell us if it did or not > * If I want that package to be included in @world, I have to re-emerge it No. emerge -n Refer to emerge man page You can also just edit /var/lib/portage/world by hand for the same result -- alan dot mckinnon at gmail dot com