Re: [gentoo-user] liveusb not working
Alan McKinnon wrote: On Sunday 19 April 2009 19:10:34 Valmor de Almeida wrote: Sergey A. Kobzar wrote: Btw, did you set bootable flag for the partition with Gentoo? This was it. It all works now. That is ... weird To the best of my knowledge, nothing in Linux pays any attention to the state of the bootable flag. Some apps set it so as not to confuse Windows. There must have been something in this thread that I missed It is the BIOS that require the bootable flag. Some BIOSes seem to only boot from USB if there is a bootable partition on it. /Andreas
Re: [gentoo-user] which -march flag to pick for Intel Core 2 Duo in make.conf?
On 5/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: -Original Message- From: Randy Barlow [mailto:[EMAIL PROTECTED] Snip If you are using a lot of memory in your computations, then the 64-bit environment will be much friendlier to you :) Also, if I understand correctly, you will get higher precision on floating point calculations (someone correct me if I am wrong here!) I also believe that the 64 bit processors are able to perform more instructions per second on average when executing 64 bit code vs. 32 bit code if I am not mistaken... I am not sure, but that makes sense. If nothing else, things executed directly usually run more smoothly than those who are run through emulation. 64bit code on 64bit processor good... There is no emulation involved when running 32bit code in either core2 nor amd64 processors. The difference when running in 32bit mode is that some instructions are unavailable, you have a smaller number of registers, and the registers are only 32bit. More registers speed up most kind of code, 64bit registers speed up 64bit calculations, and the extra instructions are good for array calculations and similar (more sse instructions for example). The only bad thing with 64bit code is that the programs get bigger, which may effect memory performance negatively. But if you have a lot of memory then you will benefit from not needing any special addressing modes. Since you (Denis) are doing a lot of mathematical calculations you will probably benefit from running in 64bit mode. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] mdadm: No arrays found in config file
On 7/19/06, Kenton Groombridge [EMAIL PROTECTED] wrote: Jarry wrote: I have noticed following message in /var/log/boot (but I see them too early during boot-up): ... * Remounting root filesystem read/write ... [ ok ] * Setting hostname to obelix ... [ ok ] * Starting up RAID devices (mdadm) ... mdadm: No arrays found in config file [ !! ] I have been getting this for some time but was hesitant to post a bug. Although I get this message, my raid starts fine, and when shutting down, I get an OK message that it is shutdown properly. I believe the reason for this is that your partitions are of type 'fd' When they have that id they are automagically found and started by the kernel, and therefor there are nothing for mdadm to do. But this is just a guess. /Andreas -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Issues with Gentoo WinXP dualboot setup
On 6/5/06, Dmitry Mashkovskiy [EMAIL PROTECTED] wrote: Hello, I've successfully set up Gentoo on the machine with ABIT IS7 motherboard and two SATA disks (integrated controller on ICH5 chipset, I guess). The first one is Seagate (Ch2 M. (master?) in BIOS) with WinXP, the second is Maxtor (Ch3 M. in BIOS) with Gentoo and GRUB in MBR. One problem is that I cannot boot in Windows while booting with GRUB. Here is my grub.conf: - default 0 timeout 10 title=Windows XP rootnoverify (hd1,0) makeactive chainloader +1 title=Gentoo Linux 2.6.12-r6 root (hd0,0) kernel /kernel-2.6.12-gentoo-r6 root=/dev/sdb3 irqpoll - I get only Booting 'Windows XP' rootnoverify (hd1,0) makeactive chainloader +1 and then machine hangs. So I have to set Seagate drive as a boot device in BIOS in order to boot Windows. How can I work it out? Should I install GRUB in the MBR of Windows disk? Another problem is that sometimes machine freezes or falls in kernel panic while booting Gentoo (usually on probing ATA devices). I suppose it may be due to buggy/broken hardware but it would be nice to find some solution or workaround. I believe the problem is that Windows expect to be installed on the first disk and when it is not it fail to start. Try adding this before the rootnoverify line: map hd0 hd1 map hd1 hd0 This will make the bios change the order of the disks and Windows will hopefully be happy again. /Andreas -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] A couple projects on my laptop
On 5/9/06, Timothy A. Holmes [EMAIL PROTECTED] wrote: Thanks for the response -- I tried the additional stuff in /etc/fstab that you mentioned and when I hook up the usb drive and type /mount/sda1 /mnt/flash -- I get You must be root to mount When the information is in /etc/fstab all you have to do is either # mount /dev/sda1 or # mount /mnt/flash If you specify both device and mount point mount will never look in the fstab file... /Andreas -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What on Earth is Portage doing for so long?
On 3/17/06, Thomas T. Veldhouse [EMAIL PROTECTED] wrote: Bruno Lustosa wrote: Good question :) But one way to speed this up is to use CDB, so that instead of keeping cache in separate files, it's all in one, resulting in a *much* faster cache update. There are directions here: http://gentoo-wiki.com/TIP_speed_up_portage_with_cdb Interesting ... and thanks for the tip. I am concerned about all the warnings of breakage though. I need this on my server, which is my production firewall at the moment. I would hate to have this fail. A safer way is to update to a newer version of portage. In portage-2.1 the cache update code is rewritten and it is much faster then before (but maybe not as fast as CDB). The biggest reason for the slower update now compared to a year ago, is that the total number of packages in the tree have increased. The old code did not handle this very well. Since this is a server, you probably don't use kde. Excluding all kde split packages from the portage tree will speed things up a lot. Create an rsync exclude file and add RSYNC_EXCLUDE=path_to_file to your make.conf. Look in man pages for rsync for details. /Andreas -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: php blocking
On 1/26/06, James [EMAIL PROTECTED] wrote: Richard Fish bigfish at asmallpond.org writes: Add the --tree option to see what is actually trying to bring in dev-php/mod_php and dev-php/php. # emerge --unmerge --tree PEAR-PEAR --tree implies --pretend... adding --pretend to options. These are the packages that I would unmerge: --- Couldn't find PEAR-PEAR to unmerge. unmerge: No packages selected for removal. I'm not so sure I tried what you are suggesting. Can if I missed your point, can you be more explicit in your syntax suggestions? He suggested that you should add --tree to the emerge command you did when you got the blockings. This will show in more detail what your problem is. /Andreas -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: recompiling vim linked to libncursesw
On 7/27/05, Moshe Kaminsky [EMAIL PROTECTED] wrote: Hi, * Fernando Canizo [EMAIL PROTECTED] [27/07/05 14:14]: snip I investigate what was in the archives, so i saved a copy (using 'C' command from mutt) of the first message (the one i receive from me) and file says: 'UTF-8 Unicode mail text', check what's inside with hexedit and see that LATIN SMALL LETTER A WITH ACUTE is encoded with this hex: C3 A1 (which is not 00 E1 from unicode chart from http://www.unicode.org/charts/) I think this is just the way these characters are represented in utf-8. Yes, it is. 00E1 hex is '000 1111' in binary. When encoding this as UTF-8 this value is stored in two bytes. The last byte will begin with '10' followed by the last 6 bits of data. '10 11' binary or 'A1' in hex. The first byte will begin with '110' to indicate that it is a two byte character followed by the remaining significant data. '110 00011' binary or 'C3' hex. This is correct. The problem seem to be that mutt(?) takes this UTF-8 encoded data and encodes as UTF-8 again as if the data was two 8 bit characters. 'C3' then becomes 'C3 83' and 'A1' becomes 'C2 A1' /Andreas -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] where is the functionality of etcat
On 7/11/05, Rudmer van Dijk [EMAIL PROTECTED] wrote: etcat is deprecated in favor of equery but equery does not have a functionality like `etcat -v package` (listing all available versions of a package). I used it quite often and have been struggling with equery ever since etcat is deprecated... Are there plans to build this functionality into equery? if not, why?? Doesn't 'equery list -p package' do what you want? $ equery list -p gentoo-sources [ Searching for package 'gentoo-sources' in all categories among: ] * installed packages [I--] [ ] sys-kernel/gentoo-sources-2.6.11-r11 (2.6.11-r11) [I--] [ ] sys-kernel/gentoo-sources-2.6.12-r4 (2.6.12-r4) * Portage tree (/usr/portage) [-P-] [M~] sys-kernel/gentoo-sources-2.6.12-r3 (2.6.12-r3) [-P-] [ ] sys-kernel/gentoo-sources-2.6.9-r9 (2.6.9-r9) [-P-] [ ] sys-kernel/gentoo-sources-2.4.28-r9 (2.4.28-r9) [-P-] [ ] sys-kernel/gentoo-sources-2.6.10-r6 (2.6.10-r6) [-P-] [ ] sys-kernel/gentoo-sources-2.6.11-r8 (2.6.11-r8) /Andreas -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Slow mencoder after emerge?
On 7/8/05, cothrige [EMAIL PROTECTED] wrote: * Rumen Yotov ([EMAIL PROTECTED]) wrote: Hi, Maybe rebuilding mplayer through portage will have the same result. Think you could have a look at 'revdep-rebuild' (man revdep-rebuild). HTH. Rumen Nope. Didn't work. But, I did notice that when I run it I get a string of ... supported but disabled. statements at the beginning. MMX, SSE, MMX2 and so on. This causes me to wonder, is there a way to adjust the configure options in emerge? ... Yes, USE-flags. http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=2 To see which USE flags mplayer uses: $ emerge -pv mplayer enable them by adding them to the global USE in '/etc/make.conf' or add a line to '/etc/portage/package.use'. See the portage man pages for more information: $ man portage /Andreas -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Rebuild entire system - recompile all installed packages
On 6/4/05, Peter Ruskin [EMAIL PROTECTED] wrote: That's strange, this is what I get here: $ ls -1d /var/db/pkg/*/* | wc -l 1147 $ emerge -Dep world | wc -l 1100 $ emerge -Dep system | wc -l 183 I get: $ ls -1d /var/db/pkg/*/* | wc -l 334 $ emerge -ep world | wc -l 318 It is indeed strange how Alexander can have such a big difference between emerge and var/db/pkg Andreas -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user]
On 5/9/05, Drew Tomlinson [EMAIL PROTECTED] wrote: On 5/8/2005 3:43 PM Peter De Zutter wrote: Add yourself to the wheel group, and then you'll be able to su to root. I thought I did that with the '-G wheel' option I passed to useradd. I also think that if I'm not part of the wheel group, I wouldn't even have the opportunity to enter a password after doing 'su'. How can I check to be sure I'm part of the wheel group? # groups -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] First Install - Help Setting Root Password
On 5/9/05, Drew Tomlinson [EMAIL PROTECTED] wrote: snip To test the various new passwords, I used this string of commands after each attempt to set root's password: sh-2.05b# su user su(pam_unix)[1911]: session opened for user user by (uid=0) bash-2.05b$ su Password: setgid: Operation not permitted Because of the setgid error I don't think it is a password problem. The normal output on wrong passwords are: # su Password: su: Authentication failure Sorry. Something else (pam?) is not allowing you to become root. -- gentoo-user@gentoo.org mailing list