Re: [gentoo-user] Grub2 and is the upgrade a tooth puller.
On Mon, Jun 25, 2012 at 12:05 AM, Dale rdalek1...@gmail.com wrote: Howdy, Hi Dale. It appears that grub2 is coming soon. Thread on -dev said a couple months or so till it hits the tree, keyworded and/or masked I'm sure. I guess it is about time to jump off the cliff and give this a try. I installed Kubuntu on a system for my brother and it uses grub2. I have had to edit the config and then run the update script. I have sort of installed and made a config change to grub2, even tho it was only once. Basically, I sort of seen the thing at least. o_O My first question is, how hard is this to change from old grub to grub2? It's a completely new beast. Almost none of the old grub-legacy related knowledge works for GRUB2. I only run Gentoo here, no windoze at all and no other distro either. I figure that may make it easier. I must confess tho, I'm a hoarder of kernels. LOL I generally have several versions of them on here. Is there a way for it to only see say the last 3 versions or so? I only have three right now but I cleaned out all the non-init kernels a while back. Given time, I may have a dozen or so. I would rather not have that many lines on the grub screen when booting. You can edit the config file (you first need to give it the appropriate permissions), and remove from it the kernels you don't want. Also, you can move the kernels/initramfs' from /boot into a temp directory when running the grub2-mkconfig script. Also, will it know what init thingy image to connect the kernels too? I name my kernels with the version and name the init thingy with a similar name. Looks someting like this: root@fireball / # ls -al /boot/bzImage-3.* -rw-r--r-- 1 root root 4740064 May 16 20:25 /boot/bzImage-3.3.5-2 -rw-r--r-- 1 root root 4758496 May 23 13:09 /boot/bzImage-3.4.0-1 -rw-r--r-- 1 root root 4758816 Jun 14 09:00 /boot/bzImage-3.4.2.r1-1 root@fireball / # ls -al /boot/initramfs-3.* -rw-r--r-- 1 root root 3560934 May 12 05:03 /boot/initramfs-3.3.5-1.img -rw-r--r-- 1 root root 3560423 May 23 13:10 /boot/initramfs-3.4.0.img -rw-r--r-- 1 root root 3561170 Jun 14 09:05 /boot/initramfs-3.4.2.img root@fireball / # The grub2-mkconfig script should recognize the correct initramfs for each kernel. There are times when I may have more than one kernel but only one init thingy tho. So far, one init thingy will work with any kernel of that version. I have not tried mixing tho. Also, how much disk space does grub take up on /boot? Mine is on a separate partition and I hope it is large enough. Mine uses around 8MB: # du -sh /boot/grub2/ 7.9M/boot/grub2/ Thoughts. Info. I upgraded to GRUB 2 because of ext4, since grub-legacy upstream doesn't handle ext4 (and, apparently, never will). However, the Gentoo ebuild applies the patch from http://code.google.com/p/grub4ext4/ and it's my impression it will continue to apply said patch in the future, so grub-legacy on Gentoo supports ext4. Given that, I really don't see an advantage to use GRUB2, except that it will be the one being maintained in the future, and when UEFI hardware becomes the standard (if ever), you will probably need it.. Besides ext4 upstream support, GRUB2 allows to use higher screen resolutions for the graphical menu. That's about it's only advantage over grub-legacy, and it's a very shallow one. The new configuration format and the script to generate it are not flexible, and its documentation is sorely lacking. I really think you should stick with grub-legacy while Gentoo supports it. I keep using GRUB2 in my desktop and laptop, buy I didn't migrated my servers nor my media center to it, nor plan to do it. I see no reason for it. And being honest, I hope that something else replaces GRUB2; I like the notion of a /firstboot minimal Linux as boot loader, or something similar. If the boot loader has to do OS-related work (graphics/input drivers and stuff like that), I think using Linux directly is better than re-implementing something twice (and probably in the wrong manner) as GRUB2 is doing. So, in short: I don't recommend switching to GRUB2. And I'm using it. Either wait for its documentation and tools to mature (i.e., when they finally hit the 2.0 version), or wait for something else to handle the future of Linux boot loader. Meanwhile, if you don't use UEFI, you really don't need GRUB2. So stick to grub-legacy. My 0.02 ${CURRENCY}. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México
Re: [gentoo-user] Re: Nvidia 295.59 driver on kernel 3.3.8
On 2012-06-24 23:57, walt wrote: On 06/24/2012 12:13 PM, Samuraiii wrote: The driver 295.59 builds just fine against kernel 3.2.12 So problem _MUST_ be somewhere around kernel. A perfectly reasonable conclusion. (My own perfectly reasonable conclusions are often wrong ;) Maybe you could install vanilla-sources and see if you have the same problem. Or, just remove the gentoo-sources and reinstall from scratch? OK I'll try vanilla... By reinstall from scratch you mean to unmerge just gentoo-sources or reinstall whole system? -- Samuraiii e-mail: samurai.no.d...@gmail.com mailto:samurai.no.d...@gmail.com GnuPG key ID: 0x80C752EA http://pgp.mit.edu:11371/pks/lookup?search=0x80C752EAop=vindexfingerprint=onexact=on (obtainable on http://pgp.mit.edu) Full copy of public timestamp block http://publictimestamp.org signatures id-15123 (from 2012-06-24 18:00:09) is included in header of html. signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Grub2 and is the upgrade a tooth puller.
On Mon, 25 Jun 2012 00:05:25 -0500, Dale wrote: It appears that grub2 is coming soon. Thread on -dev said a couple months or so till it hits the tree, keyworded and/or masked I'm sure. I guess it is about time to jump off the cliff and give this a try. If GRUB legacy is working for you, I see no need to change. I put GRUB 2 on new installs but haven't seen any reason to switch over existing systems. On the other hand, if you want to learn more about it, go for it! I My first question is, how hard is this to change from old grub to grub2? The same as installing GRUB 2 from scratch. I would waste time trying to have both installed (I'm not sure if that's even supported any more) as it's easy enough to reinstall legacy from a live CD if you have to, but keep your menu.lst. I must confess tho, I'm a hoarder of kernels. LOL I generally have several versions of them on here. Is there a way for it to only see say the last 3 versions or so? I only have three right now but I cleaned out all the non-init kernels a while back. Given time, I may have a dozen or so. I would rather not have that many lines on the grub screen when booting. You could edit the script that searches for an adds Linux kernels, or disable it. I use the custom script to add my own entries at the top of the menu and let the standard 10_linux script add all detected kernel below. It lists them most recent first, so any excess of kernels falls off the bottom of the screen :) Also, will it know what init thingy image to connect the kernels too? I name my kernels with the version and name the init thingy with a similar name. Looks someting like this: root@fireball / # ls -al /boot/bzImage-3.* -rw-r--r-- 1 root root 4740064 May 16 20:25 /boot/bzImage-3.3.5-2 -rw-r--r-- 1 root root 4758496 May 23 13:09 /boot/bzImage-3.4.0-1 -rw-r--r-- 1 root root 4758816 Jun 14 09:00 /boot/bzImage-3.4.2.r1-1 root@fireball / # ls -al /boot/initramfs-3.* -rw-r--r-- 1 root root 3560934 May 12 05:03 /boot/initramfs-3.3.5-1.img -rw-r--r-- 1 root root 3560423 May 23 13:10 /boot/initramfs-3.4.0.img -rw-r--r-- 1 root root 3561170 Jun 14 09:05 /boot/initramfs-3.4.2.img That should work, although I do not use a separate initramfs file so I haven't tried it. There are times when I may have more than one kernel but only one init thingy tho. So far, one init thingy will work with any kernel of that version. I have not tried mixing tho. Use symlinks, or a custom menu. Also, how much disk space does grub take up on /boot? Mine is on a separate partition and I hope it is large enough. % df /boot Filesystem Type Size Used Avail Use% Mounted on /dev/md0 ext2 482M 406M 51M 89% /boot However, 380MB of that is a System Rescue CD ISO, one of the nice things about GRUB 2 is that you can boot straight fro the ISO, no need to go hunting for a CD when you need a live boot (unless the reaso you need a live boot is that you screwed up GRUB :) % du /boot/grub2 1.5M/boot/grub2 A GRUB legacy box here gives % du /boot/grub 990K/boot/grub so not much difference. Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n This is redundant now, portage has gone back to the old method of spamming your screen with compiler output when using --jobs 1. -- Neil Bothwick Home is where you hang your @. signature.asc Description: PGP signature
Re: [gentoo-user] wicd setup on a virtualbox gentoo guest
On 6/24/12 7:24 PM, Alan McKinnon wrote: On Sun, 24 Jun 2012 19:04:25 -0400 Valmor de Almeida val.gen...@gmail.com wrote: Hello, I am having a hard time getting wicd to work on gentoo guest. Thought that it was a simple matter of emerge and run wicd-client -n to configure. I have compiled the correct ethernet driver in the kernel (at least I think so). What driver is that? The vbox emulates this adapter Intel PRO/1000 MT Desktop (8254OEM) In the kernel 3.3.8-gentoo I compiled the Intel(R) PRO/1000 Gigabit Ethernet Support I compiled directly into the kernel. If I had used a module the module name would have been e1000. Does anyone have some experience with this or could point me to diagnostic approaches? What have you already tried (so we don't waste our time trying the same thing) The output of ifconfig -a follows below. dmesg? /var/log/messages? dmesg shows [0.576506] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI [0.577602] e1000: Copyright (c) 1999-2006 Intel Corporation. [0.579200] e1000 :00:03.0: setting latency timer to 64 [1.071183] e1000 :00:03.0: eth0: (PCI:33MHz:32-bit) 08:00:27:96:75:25 [1.071949] e1000 :00:03.0: eth0: Intel(R) PRO/1000 Network Connection and there is nothing helpful in /var/log/messages Don't know why eth1 and not eth0 is there. udev persistent rules strike again The contents of /var/log/wicd/wicd.log below do indicate a mess up with eth1 and eth0. Any idea on how to fix this? Thanks, -- Valmor /var/log/wicd/wicd.log 2012/06/25 14:15:06 :: --- 2012/06/25 14:15:06 :: wicd initializing... 2012/06/25 14:15:06 :: --- 2012/06/25 14:15:06 :: wicd is version 1.7.2.1 755 2012/06/25 14:15:06 :: setting backend to external 2012/06/25 14:15:06 :: trying to load backend external 2012/06/25 14:15:06 :: successfully loaded backend external 2012/06/25 14:15:06 :: trying to load backend external 2012/06/25 14:15:06 :: successfully loaded backend external 2012/06/25 14:15:06 :: Couldn't detect a wireless interface. 2012/06/25 14:15:06 :: setting wireless interface wlan0 2012/06/25 14:15:06 :: automatically detected wired interface eth1 2012/06/25 14:15:06 :: setting wired interface eth0 2012/06/25 14:15:06 :: setting wpa driver wext 2012/06/25 14:15:06 :: setting use global dns to False 2012/06/25 14:15:06 :: setting global dns 2012/06/25 14:15:06 :: global dns servers are None None None 2012/06/25 14:15:06 :: domain is None 2012/06/25 14:15:06 :: search domain is None 2012/06/25 14:15:06 :: setting automatically reconnect when connection drops True 2012/06/25 14:15:06 :: Setting dhcp client to 0 2012/06/25 14:15:06 :: Wireless configuration file found... 2012/06/25 14:15:06 :: Wired configuration file found... 2012/06/25 14:15:06 :: chmoding configuration files 0600... 2012/06/25 14:15:06 :: chowning configuration files root:root... 2012/06/25 14:15:06 :: Using wireless interface...wlan0 2012/06/25 14:15:06 :: Using wired interface...eth0 2012/06/25 10:15:13 :: Autoconnecting... 2012/06/25 10:15:13 :: No wired connection present, attempting to autoconnect to wireless network 2012/06/25 10:15:13 :: Unable to autoconnect, you'll have to manually connect 2012/06/25 10:15:18 :: Autoconnecting... [snip] The HWaddr is correctly obtained from the vbox. Your information supplied is not enough to really help you solve this problem. Thanks, -- Valmor ifconfig -a eth1 Link encap:Ethernet HWaddr 08:00:27:96:75:25 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) sit0 Link encap:IPv6-in-IPv4 NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Re: [gentoo-user] Poor quality of wireless connection
On Sat, Jun 23, 2012 at 9:57 PM, José Romildo Malaquias j.romi...@gmail.com wrote: Hello. I have a notebook with an Intel Centrino Advanced-N 6230 wireless card. In gentoo (kernel 3.4.3-gentoo) and also in Fedora 17 the connection through it is of poor quality. ping to the router is getting about 50% packet loss. With Ubuntu 12.04 and Windows 7 the connection is ok, without packet loss. Gentoo, Fedora and Ubuntu are all using the iwlwifi module for the centrino wireless card. I have no experience with this card, but I had an Atheros card a few years ago that was horrible when power saving mode was enabled. When I disabled power saving, the performance was good. Of course this uses more battery power... Maybe something similar happens with yours. Especially if it works in Ubuntu, maybe you can look at the settings with iwconfig and figure out what the difference is between that and Gentoo.
Re: [gentoo-user] wicd setup on a virtualbox gentoo guest
On Mon, Jun 25, 2012 at 10:45 AM, Valmor de Almeida val.gen...@gmail.com wrote: On 6/24/12 7:24 PM, Alan McKinnon wrote: On Sun, 24 Jun 2012 19:04:25 -0400 Valmor de Almeida val.gen...@gmail.com wrote: Hello, I am having a hard time getting wicd to work on gentoo guest. Thought that it was a simple matter of emerge and run wicd-client -n to configure. I have compiled the correct ethernet driver in the kernel (at least I think so). What driver is that? The vbox emulates this adapter Intel PRO/1000 MT Desktop (8254OEM) In the kernel 3.3.8-gentoo I compiled the Intel(R) PRO/1000 Gigabit Ethernet Support I compiled directly into the kernel. If I had used a module the module name would have been e1000. Does anyone have some experience with this or could point me to diagnostic approaches? What have you already tried (so we don't waste our time trying the same thing) The output of ifconfig -a follows below. dmesg? /var/log/messages? dmesg shows [ 0.576506] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI [ 0.577602] e1000: Copyright (c) 1999-2006 Intel Corporation. [ 0.579200] e1000 :00:03.0: setting latency timer to 64 [ 1.071183] e1000 :00:03.0: eth0: (PCI:33MHz:32-bit) 08:00:27:96:75:25 [ 1.071949] e1000 :00:03.0: eth0: Intel(R) PRO/1000 Network Connection and there is nothing helpful in /var/log/messages Don't know why eth1 and not eth0 is there. udev persistent rules strike again The contents of /var/log/wicd/wicd.log below do indicate a mess up with eth1 and eth0. Any idea on how to fix this? Yep. All I needed to do was to change the wired interface from eth0 to eth1 in the preferences of wicd-client -n and it works. So the question is, why do I have eth1 and not eth0 and how do I set up eth0 instead? Is dhcpcd involved in this? Thanks, -- Valmor Thanks, -- Valmor /var/log/wicd/wicd.log 2012/06/25 14:15:06 :: --- 2012/06/25 14:15:06 :: wicd initializing... 2012/06/25 14:15:06 :: --- 2012/06/25 14:15:06 :: wicd is version 1.7.2.1 755 2012/06/25 14:15:06 :: setting backend to external 2012/06/25 14:15:06 :: trying to load backend external 2012/06/25 14:15:06 :: successfully loaded backend external 2012/06/25 14:15:06 :: trying to load backend external 2012/06/25 14:15:06 :: successfully loaded backend external 2012/06/25 14:15:06 :: Couldn't detect a wireless interface. 2012/06/25 14:15:06 :: setting wireless interface wlan0 2012/06/25 14:15:06 :: automatically detected wired interface eth1 2012/06/25 14:15:06 :: setting wired interface eth0 2012/06/25 14:15:06 :: setting wpa driver wext 2012/06/25 14:15:06 :: setting use global dns to False 2012/06/25 14:15:06 :: setting global dns 2012/06/25 14:15:06 :: global dns servers are None None None 2012/06/25 14:15:06 :: domain is None 2012/06/25 14:15:06 :: search domain is None 2012/06/25 14:15:06 :: setting automatically reconnect when connection drops True 2012/06/25 14:15:06 :: Setting dhcp client to 0 2012/06/25 14:15:06 :: Wireless configuration file found... 2012/06/25 14:15:06 :: Wired configuration file found... 2012/06/25 14:15:06 :: chmoding configuration files 0600... 2012/06/25 14:15:06 :: chowning configuration files root:root... 2012/06/25 14:15:06 :: Using wireless interface...wlan0 2012/06/25 14:15:06 :: Using wired interface...eth0 2012/06/25 10:15:13 :: Autoconnecting... 2012/06/25 10:15:13 :: No wired connection present, attempting to autoconnect to wireless network 2012/06/25 10:15:13 :: Unable to autoconnect, you'll have to manually connect 2012/06/25 10:15:18 :: Autoconnecting... [snip] The HWaddr is correctly obtained from the vbox. Your information supplied is not enough to really help you solve this problem. Thanks, -- Valmor ifconfig -a eth1 Link encap:Ethernet HWaddr 08:00:27:96:75:25 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) sit0 Link encap:IPv6-in-IPv4 NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Re: [gentoo-user] Grub2 and is the upgrade a tooth puller.
On Mon, Jun 25, 2012 at 1:02 AM, Canek Peláez Valdés can...@gmail.com wrote: And being honest, I hope that something else replaces GRUB2; I like the notion of a /firstboot minimal Linux as boot loader, or something similar. If the boot loader has to do OS-related work (graphics/input drivers and stuff like that), I think using Linux directly is better than re-implementing something twice (and probably in the wrong manner) as GRUB2 is doing. Interestingly, Ubuntu, who has been a big supporter of GRUB2, is moving away from it because of license incompatibility with UEFI secure boot. They are going to use efilinux instead and are planning to extended it to have a simple boot menu interface.
Re: [gentoo-user] Re: Nvidia 295.59 driver on kernel 3.3.8
On 2012-06-24 23:57, walt wrote: On 06/24/2012 12:13 PM, Samuraiii wrote: The driver 295.59 builds just fine against kernel 3.2.12 So problem _MUST_ be somewhere around kernel. A perfectly reasonable conclusion. (My own perfectly reasonable conclusions are often wrong ;) Maybe you could install vanilla-sources and see if you have the same problem. Or, just remove the gentoo-sources and reinstall from scratch? So with vanilla is the same problem, removing gentoo-sources (complete removal - I kept just .config file) also didn't helped. S -- Samuraiii e-mail: samurai.no.d...@gmail.com GnuPG key ID: 0x80C752EA (obtainable on http://pgp.mit.edu) Full copy of public timestamp block signatures id-15131 (from 2012-06-25 18:00:07) is included in header of html. signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Grub2 and is the upgrade a tooth puller.
On 06/24/2012 10:05 PM, Dale wrote: I only run Gentoo here, no windoze at all and no other distro either. I agree with Canek. The only reason I switched to grub2 is that I have an outboard docking station that I don't always power on. That causes the BIOS to change the order of the drives when I reboot with the docking station powered up, and then the kernel can't find the boot drive. Very silly problem, really, and maybe this particular BIOS is dumber than most, dunno. But grub2 can search for the boot drive based on the disk label or UUID, so that particular problem is gone now.
Re: [gentoo-user] Proper permissions for /var/log/portage/elog/summary.log?
On 24-Jun-12 20:27, Dale wrote: I have just checked my machines and I found I have basically two groups of settings (ls -al in /var/log/portage/elog/): A) drwxrws--- 2 portage root 4096 Jun 24 03:10 . drwxr-xr-x 3 rootroot 4096 Apr 7 2009 .. -rw-rw-r-- 1 portage root57760 Jun 22 15:11 summary.log B) drwxrwsr-x 2 portage portage 4096 Jun 24 13:30 . drwxrws--- 3 portage portage 4096 Nov 3 2011 .. -rw-rw-r-- 1 portage portage 1132 Jun 22 17:28 summary.log So is the B-version correct one? This is my thinking on why it may be different for different folks. This first tho. I run emerge as root. I have not added my regular user to the portage group. I have no memory of messing with the permissions either. I think that if you use a regular user to emerge some things, it gets set to portage:portage or some mix of portage:root. If you always run emerge as root, then you get root:root. It may be that this is only set once or that it could be modified if you run as root then later on run as a user. I always run emerge as root. But back to my question: on all boxes with A access rights I can not rotage portage logs. All I get is mail from my cron saying: error setting owner of /var/log/portage/elog/summary.log-20110803.gz: Operation not permitted... On the other side, on boxes with B access rights (see above) logs are rotated without problem. Logrotate-script is the same: /var/log/portage/elog/summary.log { su portage portage missingok nocreate delaycompress } So I suppose either there is something wrong with A, or logrotate script must be modified (although it works for B)... Jarry -- ___ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted.
[gentoo-user] Re: Nvidia 295.59 driver on kernel 3.3.8
On 25/06/12 22:28, Samuraiii wrote: So with vanilla is the same problem, removing gentoo-sources (complete removal - I kept just .config file) also didn't helped. I guess it's time to open a bug about it on bugs.gentoo.org.
Re: [gentoo-user] Re: Nvidia 295.59 driver on kernel 3.3.8
On 2012-06-25 23:28, Nikos Chantziaras wrote: On 25/06/12 22:28, Samuraiii wrote: So with vanilla is the same problem, removing gentoo-sources (complete removal - I kept just .config file) also didn't helped. I guess it's time to open a bug about it on bugs.gentoo.org. The bug for gentoo is unnecessary - bug is sitting on my chair... The problem was combination of umask setting in /etc/profile (umask 077) later corrected to 022 but not sourced to root and "user*" features in /etc/make.conf. I feel so embarassed. Thank you all for your help S -- Samuraiii e-mail: samurai.no.d...@gmail.com GnuPG key ID: 0x80C752EA (obtainable on http://pgp.mit.edu) Full copy of public timestamp block signatures id-15131 (from 2012-06-25 18:00:07) is included in header of html. signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] wicd setup on a virtualbox gentoo guest
On Mon, 25 Jun 2012 11:20:42 -0400, Valmor de Almeida wrote: udev persistent rules strike again The contents of /var/log/wicd/wicd.log below do indicate a mess up with eth1 and eth0. Any idea on how to fix this? Yep. All I needed to do was to change the wired interface from eth0 to eth1 in the preferences of wicd-client -n and it works. So the question is, why do I have eth1 and not eth0 and how do I set up eth0 instead? Is dhcpcd involved in this? No, it's udev persistent rules. eth0 has already been assigned to a different MAC address, so this one gets eth1. Delete /etc/udev/rules.d/70-persistent-net.rules to go back to eth0. -- Neil Bothwick Help a man when he is in trouble and he will remember you when he is in trouble again signature.asc Description: PGP signature
Re: [gentoo-user] Proper permissions for /var/log/portage/elog/summary.log?
On Mon, Jun 25, 2012 at 2:19 PM, Jarry mr.ja...@gmail.com wrote: On 24-Jun-12 20:27, Dale wrote: I have just checked my machines and I found I have basically two groups of settings (ls -al in /var/log/portage/elog/): A) drwxrws--- 2 portage root 4096 Jun 24 03:10 . drwxr-xr-x 3 root root 4096 Apr 7 2009 .. -rw-rw-r-- 1 portage root 57760 Jun 22 15:11 summary.log B) drwxrwsr-x 2 portage portage 4096 Jun 24 13:30 . drwxrws--- 3 portage portage 4096 Nov 3 2011 .. -rw-rw-r-- 1 portage portage 1132 Jun 22 17:28 summary.log So is the B-version correct one? This is my thinking on why it may be different for different folks. This first tho. I run emerge as root. I have not added my regular user to the portage group. I have no memory of messing with the permissions either. I think that if you use a regular user to emerge some things, it gets set to portage:portage or some mix of portage:root. If you always run emerge as root, then you get root:root. It may be that this is only set once or that it could be modified if you run as root then later on run as a user. I always run emerge as root. But back to my question: on all boxes with A access rights I can not rotage portage logs. All I get is mail from my cron saying: error setting owner of /var/log/portage/elog/summary.log-20110803.gz: Operation not permitted... On the other side, on boxes with B access rights (see above) logs are rotated without problem. Logrotate-script is the same: /var/log/portage/elog/summary.log { su portage portage missingok nocreate delaycompress } So I suppose either there is something wrong with A, or logrotate script must be modified (although it works for B)... For reference: On my laptop: ls -l /var/log/portage total 4 drwxrwsr-x 2 portage portage 4096 Dec 29 18:45 elog On a very-fresh-install of Gentoo: ls -l /mnt/gentoo/var/log/portage/ total 4 drwxrwsr-x 2 portage portage 4096 Jun 25 14:16 elog It seems to me that the proper permissions for /var/log/portage/elog are likely: * chmod 0775 * chown portage.portage -- :wq
Re: [gentoo-user] Apache server setup
On Sunday 24 June 2012 20:12:33 Michael Orlitzky wrote: On 06/24/2012 01:47 PM, Peter Humphrey wrote: 8 This is the error you need to fix: [Sun Jun 24 18:38:29 2012] [warn] [client 192.168.2.6] mod_include: Options +Includes (or IncludesNoExec) wasn't set, INCLUDES filter removed I see above that you've already tried to set Options +Includes on the directory, but for some reason it isn't working. You'll have to look for it, but I can make an educated guess. 8 Good guess, but no cigar :-) I think (hope) I've found it: http://en.gentoo-wiki.com/wiki/Apache2/Virtual_Hosts makes it clear that a subdomain's definition must /precede/ the domain's definition. I was doing it the other way around, it seeming obviously logical to me: define the whole first, then refine the parts. I didn't even consider the alternative. On the other hand this is vhost definition; is the reasoning the same? I haven't proved it yet, because I'm now going to spend a day or two scratching my head to decide whether to learn a bit more and make my site a vhost. And whereabouts in the /var/www/... structure to put it. I expect to use rsync to keep the site updated from my workstation where I do the development. An FTP server seems OTT here. Again, Michael, thank you for your help. This must be the world's best technical discussion forum. -- Rgds Peter
Re: [gentoo-user] Re: Nvidia 295.59 driver on kernel 3.3.8
On Monday 25 June 2012 22:38:54 Samuraiii wrote: The bug for gentoo is unnecessary - bug is sitting on my chair... Nice one! It's good to see inventive minds at work. -- Rgds Peter
Re: [gentoo-user] Re: Grub2 and is the upgrade a tooth puller.
I mostly gentoo, but ubuntu has this marvellous tool 'boot-repair' based on grub2 in the yannbuntu repo. With one click it finds all the bootable partitions on your box, writes and installs the grub.cfg. Next time you boot viola! there's all your OSes ready to be started. On 6/25/12, walt w41...@gmail.com wrote: On 06/24/2012 10:05 PM, Dale wrote: I only run Gentoo here, no windoze at all and no other distro either. I agree with Canek. The only reason I switched to grub2 is that I have an outboard docking station that I don't always power on. That causes the BIOS to change the order of the drives when I reboot with the docking station powered up, and then the kernel can't find the boot drive. Very silly problem, really, and maybe this particular BIOS is dumber than most, dunno. But grub2 can search for the boot drive based on the disk label or UUID, so that particular problem is gone now.
Re: [gentoo-user] Re: Grub2 and is the upgrade a tooth puller.
On Mon, Jun 25, 2012 at 9:49 PM, Maxim Wexler maxim.wex...@gmail.com wrote: I mostly gentoo, but ubuntu has this marvellous tool 'boot-repair' based on grub2 in the yannbuntu repo. With one click it finds all the bootable partitions on your box, writes and installs the grub.cfg. Next time you boot viola! there's all your OSes ready to be started. It should be a front-end for grub2-mkconfig, which in Gentoo uses os-prober: http://packages.debian.org/source/sid/os-prober grub2-mkconfig does exactly the same, just from the command line. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México
Re: [gentoo-user] Grub2 and is the upgrade a tooth puller.
On Jun 25, 2012 10:55 PM, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Mon, Jun 25, 2012 at 1:02 AM, Canek Peláez Valdés can...@gmail.com wrote: And being honest, I hope that something else replaces GRUB2; I like the notion of a /firstboot minimal Linux as boot loader, or something similar. If the boot loader has to do OS-related work (graphics/input drivers and stuff like that), I think using Linux directly is better than re-implementing something twice (and probably in the wrong manner) as GRUB2 is doing. Interestingly, Ubuntu, who has been a big supporter of GRUB2, is moving away from it because of license incompatibility with UEFI secure boot. They are going to use efilinux instead and are planning to extended it to have a simple boot menu interface. Interesting... I wonder if I can use efilinux for Gentoo, too... Rgds,
Re: [gentoo-user] Re: Grub2 and is the upgrade a tooth puller.
Canek Peláez Valdés wrote: On Mon, Jun 25, 2012 at 9:49 PM, Maxim Wexler maxim.wex...@gmail.com wrote: I mostly gentoo, but ubuntu has this marvellous tool 'boot-repair' based on grub2 in the yannbuntu repo. With one click it finds all the bootable partitions on your box, writes and installs the grub.cfg. Next time you boot viola! there's all your OSes ready to be started. It should be a front-end for grub2-mkconfig, which in Gentoo uses os-prober: http://packages.debian.org/source/sid/os-prober grub2-mkconfig does exactly the same, just from the command line. Regards. Grub2 has a GUI? I got to go see this. lol Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] Grub2 and is the upgrade a tooth puller.
Re 4FE7F195.4090708@gmail.com4fe7f195.4090...@gmail.com, Canek Peláez Valdés said: Either wait for its documentation and tools to mature (i.e., when they finally hit the 2.0 version), or wait for something else to handle the future of Linux boot loader. Meanwhile, if you don't use UEFI, you really don't need GRUB2. So stick to grub-legacy. Don't overlook syslinux/extlinux. I use those and am quite happy with it. Also, on UEFI systems and recent linux kernels you can just use the EFI bios and a kernel compiled to act as an EFI application. This eliminates the need for a middle layer boot loader altogether. -- Keith -- -- ~ Keith Dart ke...@dartworks.biz public key: ID: 19017044 http://www.dartworks.biz/ =