Re: [gentoo-user] pg_upgrade91 - You must have read and write access in the current directory
In linux.gentoo.user, you wrote: On 12/05/11 13:37, Gregory Shearman wrote: In linux.gentoo.user, Joseph wrote: I'm upgrading form posgresql 9.0 to 9.1, it seem to the upgrade went OK but when try to transfer the data base: pg_upgrade91 -v --old-datadir=/var/lib/postgresql/9.0/data/ --new-datadir=/var/lib/postgresql/9.1/data --old-bindir=/usr/lib/postgresql-9.0/bin/ --new-bindir=/usr/lib/postgresql-9.1/bin/ Running in verbose mode Performing Consistency Checks - Checking current, bin, and data directories You must have read and write access in the current directory. Failure, exiting What am I doing wrong? Have you checked that you have read and write access in the current directory before running the command? I did the upgrade as the postgres user and made sure that I ran the command from a read/writable directory for that user. Yes, I did su postgres and ls -al /var/lib/postgresql/9.1/ drwx-- 13 postgres postgres 4096 Dec 4 18:20 data so it should work. -- Joseph hmmm... Which directory are you running the command from? I ran mine from /var/lib/postgresql which has the properties: drwxr-xr-x 4 postgres root I don't recall using the command pg_upgrade91, but I see that it is a symlink to /usr/lib/postgresql-9.1/bin/pg_upgrade This is the command that worked for me: pg_upgrade -u postgres -d /var/lib/postgresql/9.0/data -D \\ /var/lib/postgresql/9.1/data -b /usr/lib/postgresql-9.0/bin -B \\ /usr/lib/postgresql-9.1/bin For more information do (as postgres user) $ pg_upgrade --help -- Regards, Gregory
[gentoo-user] Re: vbox vm no boot
Alan McKinnon alan.mckin...@gmail.com writes: Yes, I see the latest screenshot now. Must have missed that one. Harry, that error almost always indicates you do not have the drivers for PIIX compiled into the kernel. I assume you are not using an initramfs so that driver must be compiled in, not a module. In make menuconfig, it's found at Device Drivers - Serial ATA and Parallel ATA drivers Those are selected as builtin Similar for the file system driver (presumably ext2|3|4) for the partition hosting /boot, that too must be compiled in (not a module) Ditto here That is for the new attempt... I have yet to try booting it, but from your suggestions it sounds like I may have it right this time. I posted another screen grab but never saw it show up here. Trying again http://www.jtan.com/~reader/vu3/disp.cgi Note: The first image (filename Driver.png) doesn't show the last 10/12 lines of menuconfig due to monitor constraints, but they are all unselected.
Re: [gentoo-user] no sound on upgraded Firefox from 7 to 8 - using pulse audio
$ cat /etc/asound.conf pcm.pulse { type pulse } ctl.pulse { type pulse } pcm.!default { type pulse } ctl.!default { type pulse } Do you have this?
Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse
On Sun, Dec 04, 2011 at 03:40:01PM +0100, Michael Mol wrote: On Sun, Dec 4, 2011 at 8:44 AM, Harry Putnam rea...@newsguy.com wrote: For the OP, a few posters have mentioned that under gentoo, every thing is compiled from scratch, but it was not made clear that it happens again and again at most updates. No one has made clear that there is a very HUGE amount of time sunk into compiling absolutely everything. I'd say bull, but that depends *greatly* on your hardware. When I talk about Gentoo with my friends, they admit to having tried it, but then say it took them a long, long time to build a system on their 486. You don't want to run Gentoo compiles on a 486. You probably ought not to run Gentoo compiles on any x86 processor older than an Athlon64 or Intel Core chip. I have gentoo on a few machines here, including a Pentium-M powered Thinkpad (single core, 1.7GHz) and a G4 eMac (single core PPC, 1.25GHz). They handle it just fine, though it does take awhile to update of course. Never the two or three days people love to cry about, but then I don't use gnome or kde, so maybe it would if I did... As long as I keep them updated weekly, it rarely takes more than four hours and often takes as little as 60-90 minutes. I'm using fvwm these days, in case anyone's curious. Lot of work to set up, but it does everything extremely well once configured. The difference in the performance with gentoo on a lower spec machine does make it pretty worthwhile to suffer the updates, IMO. In fact, I like gentoo and FreeBSD best for low-spoec hardware. YMMV of course... :) -- caveat utilitor ♫ ❤ ♫ ❤ ♫ ❤ ♫ ❤
Re: Re: [gentoo-user] no sound on upgraded Firefox from 7 to 8 - using pulse audio
On , Claudio Roberto França Pereira spide...@gmail.com wrote: $ cat /etc/asound.conf pcm.pulse { type pulse } ctl.pulse { type pulse } pcm.!default { type pulse } ctl.!default { type pulse } Do you have this? Yes, and also /etc/firefox/firefoxrc containing FIREFOX_DSP=padsp Thanks Francisco
[gentoo-user] Re: Advice on system monitoring
Michael Mol mikemol at gmail.com writes: Let's start with that dual-xeon box I was using to benchmark emerge -e @world, figure I'm looking for how better to tune my MAKEOPTS and EMERGE_DEFAULT_OPTS variables, and assume I'd like to get more information about the following factors: Complex and never finished, imho. * What was the 1m, 5m 15m load averages? * What were the similar averages for CPU spent in user time, system time and I/O wait? sys-process/iotop * What was network usage like? (I have a caching proxy server on the network Lots of different tools to look at network performance: wireshark, (look around /usr/portage/net-analyzer) so even if distfiles are lost on-system, well, a cache hit transfers at up to around 50MB/s. It'd be better, except for read performance limitations on the router box, and write performance limitations on the local machine) bonnie++ (or bonnie) * What was the temperature of each CPU core, RAM module and hard drive? (Not so relevant for improving system performance, but still of interest.) app-admin/hddtemp (for drives) dunno on individual cpu cores... I'd like to have a web interface I could navigate to which would show graphs of these counters. Now all of that in one gui tool? Do post back when you get it working, as I'd like to use it too! hth, James
Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse
On Mon, Dec 5, 2011 at 11:28 AM, Indi thebeelzebubtrig...@gmail.com wrote: In fact, I like gentoo and FreeBSD best for low-spoec hardware. What does low-spec hardware mean?
Re: [gentoo-user] Advice on system monitoring
On 12/4/2011 10:29 PM, Michael Mol wrote: I haven't yet needed to do this kind of system monitoring, so I'm very much a newbie here. Let's start with that dual-xeon box I was using to benchmark emerge -e @world, figure I'm looking for how better to tune my MAKEOPTS and EMERGE_DEFAULT_OPTS variables, and assume I'd like to get more information about the following factors: * What was the 1m, 5m 15m load averages? * What were the similar averages for CPU spent in user time, system time and I/O wait? * What was network usage like? (I have a caching proxy server on the network, so even if distfiles are lost on-system, well, a cache hit transfers at up to around 50MB/s. It'd be better, except for read performance limitations on the router box, and write performance limitations on the local machine) * What was the temperature of each CPU core, RAM module and hard drive? (Not so relevant for improving system performance, but still of interest.) I'd like to have a web interface I could navigate to which would show graphs of these counters. Collectd might be interesting to you. It can collect all of these and write them out to rrd files. The frontend cgi script is a little lame, but you can try some of the other frontends. The emerge flags are ... extensive. http://collectd.org/ kashani
Re: [gentoo-user] Re: Advice on system monitoring
On Mon, Dec 5, 2011 at 12:01 PM, James wirel...@tampabay.rr.com wrote: Michael Mol mikemol at gmail.com writes: Let's start with that dual-xeon box I was using to benchmark emerge -e @world, figure I'm looking for how better to tune my MAKEOPTS and EMERGE_DEFAULT_OPTS variables, and assume I'd like to get more information about the following factors: Complex and never finished, imho. * What was the 1m, 5m 15m load averages? * What were the similar averages for CPU spent in user time, system time and I/O wait? sys-process/iotop * What was network usage like? (I have a caching proxy server on the network Lots of different tools to look at network performance: wireshark, (look around /usr/portage/net-analyzer) so even if distfiles are lost on-system, well, a cache hit transfers at up to around 50MB/s. It'd be better, except for read performance limitations on the router box, and write performance limitations on the local machine) bonnie++ (or bonnie) * What was the temperature of each CPU core, RAM module and hard drive? (Not so relevant for improving system performance, but still of interest.) app-admin/hddtemp (for drives) dunno on individual cpu cores... I'd like to have a web interface I could navigate to which would show graphs of these counters. Now all of that in one gui tool? Do post back when you get it working, as I'd like to use it too! The approach I'd like to take is to have all the monitoring set up, launch emerge -e @world, and see what's going on around (and just prior to) stalls and CPU waste. I'm defining a stall as where my operating load falls below my number of CPU cores, and I'm defining CPU waste as CPU time spent anywhere but 'user'. I'd like to look at graphs of the metrics from over the course of the emerge. My chief thought is this: I have both 'make' and 'emerge' trying to reach a specific load average, which means that this particular dynamic system is going to have feedback as they go back and forth. I expect that I'll want to duck one of them under the other, but I don't know which one yet, and I don't know how far. I should also look to see if pbzip2 supports load awareness. Having eight cores suddenly start churning through BWT blocks is great if your load average is something like 0.24, but not so great if it launches your load average up to around 12. -- :wq
Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse
On Mon, Dec 5, 2011 at 12:10 PM, LinuxIsOne linuxis...@gmail.com wrote: On Mon, Dec 5, 2011 at 11:28 AM, Indi thebeelzebubtrig...@gmail.com wrote: In fact, I like gentoo and FreeBSD best for low-spoec hardware. What does low-spec hardware mean? Whatever the default setup of the latest release of Ubuntu runs sluggish on. (Or what a previous version of Ubuntu ran on, but current versions won't) While somewhat flippant, that seems a pretty reasonable way to think about it. -- :wq
Re: Re: [gentoo-user] no sound on upgraded Firefox from 7 to 8 - using pulse audio
Yes, and also /etc/firefox/firefoxrc containing FIREFOX_DSP=padsp Thanks Francisco I can't reproduce this. I'm using ~amd64, firefox 8, pulseaudio 1.1. Do you have multiple sound cards or sound output devices? Maybe the sound is going to another sink that the one you expected? I'm under KDE, and KMix have a cool extension by PA that let me direct streams online to the sink I wish.
Re: [gentoo-user] Anyone using libreoffice 3.5.0.0 yet?
On Sat, Dec 3, 2011 at 8:36 AM, Albert W. Hopkins mar...@letterboxes.org wrote: IIRC, libreoffice was released with *experimental* support for gtk3, and have acknowledged that there are issues with the gtk3 port. However Gentoo decided to enable gtk3 support by default. However it *should* work as expected when built against gtk2. Looks like the ebuild has been updated and now has -gtk3 by default. :)
Re: [gentoo-user] Re: vbox vm no boot
From the first post, you've ran, under grub, setup (hd0,0). This installs grub on the first partition boot loader, you want to install it on the DISK boot loader, on the MBR. Maybe gparted fixed that for you. The correct way would be to run: root (hd0,0) //indicate where grub stage 1.5 and 2 are. setup (hd0) //install grub's stage 1 on the MBR. About the second error, the kernel is definitely detecting your sata controller, the partitions are all there. It seems that you missed to append the root=/dev/sda3 to the kernel parameters, under grub.conf. In the end, I'd recommend disabling ext2 fs support in the kernel too, and use ext4 to mount ext2 and ext3 file systems.
Re: [gentoo-user] pg_upgrade91 - You must have read and write access in the current directory
On 12/05/11 21:56, Gregory Shearman wrote: hmmm... Which directory are you running the command from? I ran mine from /var/lib/postgresql which has the properties: drwxr-xr-x 4 postgres root I don't recall using the command pg_upgrade91, but I see that it is a symlink to /usr/lib/postgresql-9.1/bin/pg_upgrade This is the command that worked for me: pg_upgrade -u postgres -d /var/lib/postgresql/9.0/data -D \\ /var/lib/postgresql/9.1/data -b /usr/lib/postgresql-9.0/bin -B \\ /usr/lib/postgresql-9.1/bin For more information do (as postgres user) $ pg_upgrade --help -- Regards, Gregory I definitely wasn't in that directory I just su postgres and run the command. I just recreate the databases by hand and populated them with backup data. -- Joseph
Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse
On Mon, Dec 5, 2011 at 9:29 AM, Michael Mol mike...@gmail.com wrote: snip What does low-spec hardware mean? Whatever the default setup of the latest release of Ubuntu runs sluggish on. (Or what a previous version of Ubuntu ran on, but current versions won't) While somewhat flippant, that seems a pretty reasonable way to think about it. snip This sounds about right, I have a Gateway netbook running a 1.6GHz processor and integrated graphics that runs Gentoo perfectly fine (XFCE mostly). The same netbook was rather sluggish running Ubuntu, and even KDE under Gentoo wasn't terribly impressive. With some reasonable CFLAGS and time to spare you can keep your compile times to within a few hours. -FF-
Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse
On Mon, 5 Dec 2011 12:10:52 -0500 LinuxIsOne linuxis...@gmail.com wrote: On Mon, Dec 5, 2011 at 11:28 AM, Indi thebeelzebubtrig...@gmail.com wrote: In fact, I like gentoo and FreeBSD best for low-spoec hardware. What does low-spec hardware mean? Anything that isn't for sale in shops anymore. -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse
On Mon, Dec 05, 2011 at 06:40:03PM +0100, Michael Mol wrote: On Mon, Dec 5, 2011 at 12:10 PM, LinuxIsOne linuxis...@gmail.com wrote: On Mon, Dec 5, 2011 at 11:28 AM, Indi thebeelzebubtrig...@gmail.com wrote: In fact, I like gentoo and FreeBSD best for low-spoec hardware. What does low-spec hardware mean? Whatever the default setup of the latest release of Ubuntu runs sluggish on. (Or what a previous version of Ubuntu ran on, but current versions won't) While somewhat flippant, that seems a pretty reasonable way to think about it. Seems to me Ubuntu is sluggish no matter what hardware you have. Peopple pay such a high price to avoid learning anything... But I was thinking more about anything x86 or ppc and single core, or stuff like intel atom. Anything ARM. Anything pre core2duo from intel, for sure, as well as any ppc Mac. -- caveat utilitor ♫ ❤ ♫ ❤ ♫ ❤ ♫ ❤
Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse
On Mon, Dec 5, 2011 at 3:14 PM, Indi thebeelzebubtrig...@gmail.com wrote: On Mon, Dec 05, 2011 at 06:40:03PM +0100, Michael Mol wrote: On Mon, Dec 5, 2011 at 12:10 PM, LinuxIsOne linuxis...@gmail.com wrote: On Mon, Dec 5, 2011 at 11:28 AM, Indi thebeelzebubtrig...@gmail.com wrote: In fact, I like gentoo and FreeBSD best for low-spoec hardware. What does low-spec hardware mean? Whatever the default setup of the latest release of Ubuntu runs sluggish on. (Or what a previous version of Ubuntu ran on, but current versions won't) While somewhat flippant, that seems a pretty reasonable way to think about it. Seems to me Ubuntu is sluggish no matter what hardware you have. That's why I gave the description I did. What seems sluggish to you may not seem sluggish to me. It certainly won't seem sluggish to my grandmother... It tunes itself very nicely to the perceptions and needs of the individual in question. -- :wq
[gentoo-user] Installing Gentoo: Grub, alternate GNU/Linux system on another partition
I'm giving Gentoo another try, having been using Ubuntu for quite a while, and more recently Mint. I would like to be able to access Mint until the Gentoo system is working as I'd like it. I have gotten through the install, for the most part, up to grub. I can see how to edit the grub.conf file for my Gentoo partition. However, it isn't clear to me from the examples how to write a grub.conf entry for Mint's root (/) partition, on /dev/sda8. I am asking for advice on writing the grub.conf file. Here are the various partitions involved: Gentoo: /boot /dev/sda1 //dev/sda2 Mint(/boot is not separate) / /dev/sda8 The Mint kernel is using an initramfs, while I have manually configured the kernel on Gentoo, at least for now. Grub 2 is not transparent to me. The kernel is: /boot/vmlinuz-3.0.0-13-generic the initrd-img file is: /boot/initrd.img-3.0.0-13-generic My grub.conf file for gentoo would look like this: ### default 0 timeout 30 #splashimage=(hd0,0)/boot/grub/splash.xpm.gz title Gentoo Original root (hd0,0) kernel /boot/kernel-3.0.6-gentoo-r1 root=/dev/sda2 ### I have a few other questions of a more or less minor nature. Perhaps better to ask them separately. Alan Davis
Re: [gentoo-user] Installing Gentoo: Grub, alternate GNU/Linux system on another partition
On Mon, 5 Dec 2011 12:23:28 -0800 Alan E. Davis lngn...@gmail.com wrote: I'm giving Gentoo another try, having been using Ubuntu for quite a while, and more recently Mint. I would like to be able to access Mint until the Gentoo system is working as I'd like it. I have gotten through the install, for the most part, up to grub. I can see how to edit the grub.conf file for my Gentoo partition. However, it isn't clear to me from the examples how to write a grub.conf entry for Mint's root (/) partition, on /dev/sda8. I am asking for advice on writing the grub.conf file. Here are the various partitions involved: Gentoo: /boot /dev/sda1 //dev/sda2 Mint(/boot is not separate) / /dev/sda8 The Mint kernel is using an initramfs, while I have manually configured the kernel on Gentoo, at least for now. Grub 2 is not transparent to me. The kernel is: /boot/vmlinuz-3.0.0-13-generic the initrd-img file is: /boot/initrd.img-3.0.0-13-generic My grub.conf file for gentoo would look like this: ### default 0 timeout 30 #splashimage=(hd0,0)/boot/grub/splash.xpm.gz title Gentoo Original root (hd0,0) kernel /boot/kernel-3.0.6-gentoo-r1 root=/dev/sda2 ### I have a few other questions of a more or less minor nature. Perhaps better to ask them separately. Alan Davis Dual boot scenarios get tricky, it is vital to assume nothing. You left out a lot of info, so I have to make some reasonable assumptions. Reply with corrections if we're going to wrong route. You can only have one primary bootloader, either grub from Gentoo or grub2 from Mint, it cannot be both. But it looks like that's what you do have. Seeing as you intend to drop Mint eventually, you must uninstall grub2 and all it's files from Mint. Your supplied grub.conf will only work if you have a boot - . symlink present on /dev/sda1. Gentoo normally does this for you. For Mint you probably need something like this: title Mint root (hd0,7) kernel /vmlinuz-whatever_mint_uses root=/dev/sda8 ro quiet splash any_other_mint_params initrd /initrd-whatever_mint_uses You can pick up the correct kernel and initrd arguments from /boot/grub/grub.cfg on /dev/sda8 by looking in the menuentry sections. -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] Installing Gentoo: Grub, alternate GNU/Linux system on another partition
On Mon, Dec 5, 2011 at 4:34 PM, Alan McKinnon alan.mckin...@gmail.com wrote: Dual boot scenarios get tricky, it is vital to assume nothing. You left out a lot of info, so I have to make some reasonable assumptions. Reply with corrections if we're going to wrong route. You can only have one primary bootloader, either grub from Gentoo or grub2 from Mint, it cannot be both. But it looks like that's what you do have. Seeing as you intend to drop Mint eventually, you must uninstall grub2 and all it's files from Mint. Not *exactly* true. Grub can chainload any bootloader that's visible to BIOS. At minimum, that means you could have grub on /dev/sda chainload grub on /dev/sdb. I'm uncertain if it means you could chainload a bootloader stored in the first 512 bytes of /dev/sda8, but I suspect so. Your supplied grub.conf will only work if you have a boot - . symlink present on /dev/sda1. Gentoo normally does this for you. So do most distros I've touched. Just an FYI. I think your instructions will work fine for him, though. I was going to offer some grub1 stanzas, but I wasn't sure if real_root was necessary. -- :wq
[gentoo-user] Re: Installing Gentoo: Grub, alternate GNU/Linux system on another partition
On 2011-12-05, Michael Mol mike...@gmail.com wrote: You can only have one primary bootloader, either grub from Gentoo or grub2 from Mint, it cannot be both. But it looks like that's what you do have. Seeing as you intend to drop Mint eventually, you must uninstall grub2 and all it's files from Mint. Not *exactly* true. It is for the usual definition of primary bootloader as the one that is loaded and run by the BIOS. Grub can chainload any bootloader that's visible to BIOS. At minimum, that means you could have grub on /dev/sda (primary bootloader) chainload grub on /dev/sdb (secondary bootloader). I'm uncertain if it means you could chainload a bootloader stored in the first 512 bytes of /dev/sda8, but I suspect so. You're right, you can. Though to get grub2 to install on a partition like /dev/sda8 instead of in the MBR you have to use the --force option or you'll get some incomprehensable error message when you try to do the 'setup' command. -- Grant Edwards grant.b.edwardsYow! ! The land of the at rising SONY!! gmail.com
Re: [gentoo-user] pg_upgrade91 - You must have read and write access in the current directory
In linux.gentoo.user, you wrote: On 12/05/11 21:56, Gregory Shearman wrote: hmmm... Which directory are you running the command from? I ran mine from /var/lib/postgresql which has the properties: drwxr-xr-x 4 postgres root I don't recall using the command pg_upgrade91, but I see that it is a symlink to /usr/lib/postgresql-9.1/bin/pg_upgrade This is the command that worked for me: pg_upgrade -u postgres -d /var/lib/postgresql/9.0/data -D \\ /var/lib/postgresql/9.1/data -b /usr/lib/postgresql-9.0/bin -B \\ /usr/lib/postgresql-9.1/bin For more information do (as postgres user) $ pg_upgrade --help I definitely wasn't in that directory I just su postgres and run the command. I just recreate the databases by hand and populated them with backup data. I see. That's a shame. Usually, the HOME directory of the postgres user is set to /var/lib/postgresql. If you just do su postgres you'll remain in the directory from which you ran the command. What you *must* do is run: $ su - postgres Notice the '-'? This makes the su to the user a *login*, so that you'll be in the HOME directory of the postgres user. Try it yourself. Do an 'ls' after su postgres and then do an 'ls' after su - postgres See man su for more information. -- Regards, Gregory.
Re: [gentoo-user] Installing Gentoo: Grub, alternate GNU/Linux system on another partition
On Mon, 5 Dec 2011 16:49:21 -0500 Michael Mol mike...@gmail.com wrote: You can only have one primary bootloader, either grub from Gentoo or grub2 from Mint, it cannot be both. But it looks like that's what you do have. Seeing as you intend to drop Mint eventually, you must uninstall grub2 and all it's files from Mint. Not *exactly* true. Grub can chainload any bootloader that's visible to BIOS. Yes, you are correct, this can be done. I figured I wouldn't mention it as it gets confusing. Selecting Gentoo from grub should load Gentoo. Selecting Mint from grub and finding ... grub ... is just wierd. Few things baffle users as much as that. Yes, been there done that :-) At minimum, that means you could have grub on /dev/sda chainload grub on /dev/sdb. I'm uncertain if it means you could chainload a bootloader stored in the first 512 bytes of /dev/sda8, but I suspect so. That works too, I once had a system set up just that way. The maintenance reduced me to tears -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] Re: Installing Gentoo: Grub, alternate GNU/Linux system on another partition
On Monday 05 Dec 2011 21:58:44 Grant Edwards wrote: On 2011-12-05, Michael Mol mike...@gmail.com wrote: You can only have one primary bootloader, either grub from Gentoo or grub2 from Mint, it cannot be both. But it looks like that's what you do have. Seeing as you intend to drop Mint eventually, you must uninstall grub2 and all it's files from Mint. Not *exactly* true. It is for the usual definition of primary bootloader as the one that is loaded and run by the BIOS. Grub can chainload any bootloader that's visible to BIOS. At minimum, that means you could have grub on /dev/sda (primary bootloader) chainload grub on /dev/sdb (secondary bootloader). I'm uncertain if it means you could chainload a bootloader stored in the first 512 bytes of /dev/sda8, but I suspect so. You're right, you can. Though to get grub2 to install on a partition like /dev/sda8 instead of in the MBR you have to use the --force option or you'll get some incomprehensable error message when you try to do the 'setup' command. Last time I installed Ubuntu on a machine that had a different primary OS/bootloader I chose for it to be installed on the Ubuntu partition and there was not problem with it. It was GRUB2 Then I chainloaded it from the primary bootloader. The OS can do the same, but this means that he can either: a) Install Gentoo's GRUB to the MBR and chainload from Gentoo's grub.conf Mint's /dev/sda8 boot loader (assuming that he has installed the Mint bootloader to /dev/sda8 instead of the MBR); or b) Install Gentoo's GRUB in Gentoo's partition, or some other partition (e.g. a boot partition specific to Gentoo) and chainload this from Mint's GRUB2. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse
On Monday 05 Dec 2011 20:20:38 Michael Mol wrote: On Mon, Dec 5, 2011 at 3:14 PM, Indi thebeelzebubtrig...@gmail.com wrote: On Mon, Dec 05, 2011 at 06:40:03PM +0100, Michael Mol wrote: On Mon, Dec 5, 2011 at 12:10 PM, LinuxIsOne linuxis...@gmail.com wrote: On Mon, Dec 5, 2011 at 11:28 AM, Indi thebeelzebubtrig...@gmail.com wrote: In fact, I like gentoo and FreeBSD best for low-spoec hardware. What does low-spec hardware mean? Whatever the default setup of the latest release of Ubuntu runs sluggish on. (Or what a previous version of Ubuntu ran on, but current versions won't) While somewhat flippant, that seems a pretty reasonable way to think about it. Seems to me Ubuntu is sluggish no matter what hardware you have. That's why I gave the description I did. What seems sluggish to you may not seem sluggish to me. It certainly won't seem sluggish to my grandmother... It tunes itself very nicely to the perceptions and needs of the individual in question. I no longer run Gentoo on my Pentium IBM laptop - let's face it with 72M RAM even fluxbox was a bit sluggish! Ha! I do however run it on my 1998 vintage Pentium 3 laptop and before that on a Pentium 3 Coppermine. KDE is sluggish and rebuilding KDE takes a day or so. That's why I don't run a full KDE ... ;p Only some KDE apps on e17. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: Installing Gentoo: Grub, alternate GNU/Linux system on another partition
On 2011-12-05, Mick michaelkintz...@gmail.com wrote: On Monday 05 Dec 2011 21:58:44 Grant Edwards wrote: On 2011-12-05, Michael Mol mike...@gmail.com wrote: You can only have one primary bootloader, either grub from Gentoo or grub2 from Mint, it cannot be both. But it looks like that's what you do have. Seeing as you intend to drop Mint eventually, you must uninstall grub2 and all it's files from Mint. Not *exactly* true. It is for the usual definition of primary bootloader as the one that is loaded and run by the BIOS. Grub can chainload any bootloader that's visible to BIOS. At minimum, that means you could have grub on /dev/sda (primary bootloader) chainload grub on /dev/sdb (secondary bootloader). I'm uncertain if it means you could chainload a bootloader stored in the first 512 bytes of /dev/sda8, but I suspect so. You're right, you can. Though to get grub2 to install on a partition like /dev/sda8 instead of in the MBR you have to use the --force option or you'll get some incomprehensable error message when you try to do the 'setup' command. Last time I installed Ubuntu on a machine that had a different primary OS/bootloader I chose for it to be installed on the Ubuntu partition and there was not problem with it. It was GRUB2 I tried that a couple weeks ago with several different versions of Ubuntu and it didn't work with any of them. The installer was perfectly happy letting my chose a partition as a destination, and there were no error messages or warnings, but it just didn't work after it was installed. I had to boot the Ubuntu live CD and then install grub2 in the Ubuntu partition by hand using the --force option. -- Grant Edwards grant.b.edwardsYow! Am I accompanied by a at PARENT or GUARDIAN? gmail.com
Re: [gentoo-user] Installing Gentoo: Grub, alternate GNU/Linux system on another partition
On Mon, 5 Dec 2011 12:23:28 -0800, Alan E. Davis wrote: I'm giving Gentoo another try, having been using Ubuntu for quite a while, and more recently Mint. I would like to be able to access Mint until the Gentoo system is working as I'd like it. I have gotten through the install, for the most part, up to grub. I can see how to edit the grub.conf file for my Gentoo partition. However, it isn't clear to me from the examples how to write a grub.conf entry for Mint's root (/) partition, on /dev/sda8. I am asking for advice on writing the grub.conf file. I wouldn't bother, Mint already has Grub2, which makes adding extra distros a piece of cake. Install Gentoo, without a bootloader, reboot into Mint and run sudo grub-update. It will scan your disks, detect the Gentoo setup and add a menu entry to Mint's bootloader. It is even sensible enough to recognise that the installation is Gentoo and name it accordingly. If you decide to dump Mint, you'll need to install Grub2 on Gentoo and copy the config file over, but that's all. -- Neil Bothwick Everything takes longer than expected, even when you take into account Hoffstead's Law. - Hoffstead's Law signature.asc Description: PGP signature
Re: [gentoo-user] clamav and spamassassin
Here's the entirety of my main.cf postscreen section for reference. I've deemed these safe, but you shouldn't enable them without reading what they do! # # Postscreen settings # postscreen_greet_action = enforce postscreen_dnsbl_sites = psbl.surriel.com, bl.spamcop.net, zen.spamhaus.org, b.barracudacentral.org postscreen_dnsbl_threshold = 1 postscreen_dnsbl_action = enforce ## ## Deep protocol tests ## postscreen_pipelining_enable = yes postscreen_pipelining_action = enforce postscreen_non_smtp_command_enable = yes postscreen_non_smtp_command_action = enforce postscreen_bare_newline_enable = yes postscreen_bare_newline_action = enforce I've looked up each of those parameters and they sound fine to me. How long have you been running them? Have you been notified of any mistakenly rejected mail? It's very important my server doesn't miss any mail, even if it means dealing with more spam. - Grant
Re: [gentoo-user] clamav and spamassassin
On Dec 6, 2011 7:19 AM, Grant emailgr...@gmail.com wrote: Here's the entirety of my main.cf postscreen section for reference. I've deemed these safe, but you shouldn't enable them without reading what they do! # # Postscreen settings # postscreen_greet_action = enforce postscreen_dnsbl_sites = psbl.surriel.com, bl.spamcop.net, zen.spamhaus.org, b.barracudacentral.org postscreen_dnsbl_threshold = 1 postscreen_dnsbl_action = enforce ## ## Deep protocol tests ## postscreen_pipelining_enable = yes postscreen_pipelining_action = enforce postscreen_non_smtp_command_enable = yes postscreen_non_smtp_command_action = enforce postscreen_bare_newline_enable = yes postscreen_bare_newline_action = enforce I've looked up each of those parameters and they sound fine to me. How long have you been running them? Have you been notified of any mistakenly rejected mail? It's very important my server doesn't miss any mail, even if it means dealing with more spam. Similar situation with me. Because my company is in the financial sector, false negatives are much more preferred than false positives. (Although I can always weasel my way out of any problems caused by slight configuration mistakes, I prefer not having to put myself into a situation where weasel-ing is needed :-) Rgds,
[gentoo-user] Re: [gentoo-user] Re: [gentoo-user] Re: [gentoo-user] «-»: [gentoo-user] Gnupg 2 and BZIP2 preference
Are you sure you've re-emerged the package after adding the bzip2 use flag? Run eix app-crypt/gnupg to confirm.
Re: [gentoo-user] clamav and spamassassin
On 12/05/2011 07:45 PM, Pandu Poluan wrote: I've looked up each of those parameters and they sound fine to me. How long have you been running them? Have you been notified of any mistakenly rejected mail? It's very important my server doesn't miss any mail, even if it means dealing with more spam. Similar situation with me. Because my company is in the financial sector, false negatives are much more preferred than false positives. I have never had a false positive report that I traced back to one of the postscreen deep protocol tests. That being said, they've only been in place for ~4 months.
[gentoo-user] Re: vbox vm no boot
Claudio Roberto França Pereira spide...@gmail.com writes: From the first post, you've ran, under grub, setup (hd0,0). This installs grub on the first partition boot loader, you want to install it on the DISK boot loader, on the MBR. Maybe gparted fixed that for you. The correct way would be to run: root (hd0,0) //indicate where grub stage 1.5 and 2 are. setup (hd0) //install grub's stage 1 on the MBR. That was a nice catch ... I sure did F___ this up from beginning to end. Relying on memory let me do setup (hd0,0) which like you say is really wrong. And what makes it worse is that the install documentation tells you exactly what to run... I didn't even look, just thought I `remembered' About the second error, the kernel is definitely detecting your sata controller, the partitions are all there. It seems that you missed to append the root=/dev/sda3 to the kernel parameters, under grub.conf. Another good catch, and I caught it too, at some point. In the end, I'd recommend disabling ext2 fs support in the kernel too, and use ext4 to mount ext2 and ext3 file systems. Why is that?
Re: [gentoo-user] clamav and spamassassin
On Dec 6, 2011 7:58 AM, Michael Orlitzky mich...@orlitzky.com wrote: On 12/05/2011 07:45 PM, Pandu Poluan wrote: I've looked up each of those parameters and they sound fine to me. How long have you been running them? Have you been notified of any mistakenly rejected mail? It's very important my server doesn't miss any mail, even if it means dealing with more spam. Similar situation with me. Because my company is in the financial sector, false negatives are much more preferred than false positives. I have never had a false positive report that I traced back to one of the postscreen deep protocol tests. That being said, they've only been in place for ~4 months. Four months without a false positive? Good enough for me. Where do I sign? :-) Rgds,
Re: [gentoo-user] Re: vbox vm no boot
On Dec 6, 2011 8:00 AM, Harry Putnam rea...@newsguy.com wrote: Claudio Roberto França Pereira spide...@gmail.com writes: From the first post, you've ran, under grub, setup (hd0,0). This installs grub on the first partition boot loader, you want to install it on the DISK boot loader, on the MBR. Maybe gparted fixed that for you. The correct way would be to run: root (hd0,0) //indicate where grub stage 1.5 and 2 are. setup (hd0) //install grub's stage 1 on the MBR. That was a nice catch ... I sure did F___ this up from beginning to end. Relying on memory let me do setup (hd0,0) which like you say is really wrong. And what makes it worse is that the install documentation tells you exactly what to run... I didn't even look, just thought I `remembered' Age is a harsh mistress :-) About the second error, the kernel is definitely detecting your sata controller, the partitions are all there. It seems that you missed to append the root=/dev/sda3 to the kernel parameters, under grub.conf. Another good catch, and I caught it too, at some point. In the end, I'd recommend disabling ext2 fs support in the kernel too, and use ext4 to mount ext2 and ext3 file systems. Why is that? ext4 driver is perfectly capable of mounting ext2/3, so you'll save memory. And before btrfs matures, you can expect the kernel people to optimize ext4 to hell and back. I'm not (yet) aware of any additional benefits. Rgds,
Re: [gentoo-user] clamav and spamassassin
On 12/05/2011 08:01 PM, Pandu Poluan wrote: Four months without a false positive? Good enough for me. Where do I sign? :-) main.cf =)
[gentoo-user] Configure xorg Failed
After xorg-server installed, I follow the description in the handbook using Xorg -configre. Unfortunately , it failed . The message is below: [ 621.762] _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 [ 621.762] _XSERVTransOpen: transport open failed for inet6/Matrix:0 [ 621.762] _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 [ 621.764] X.Org X Server 1.10.4 Release Date: 2011-08-19 [ 621.764] X Protocol Version 11, Revision 0 [ 621.764] Build Operating System: Linux 2.6.39-gentoo-r3 i686 Gentoo [ 621.765] Current Operating System: Linux Matrix 2.6.39-gentoo-r3 #2 SMP Tue Oct 25 17:47:50 HKT 2011 i686 [ 621.765] Kernel command line: root=/dev/sda6 video=vesafb:mtrr,ywrap vga=0x317 [ 621.765] Build Date: 06 December 2011 05:54:36PM [ 621.765] [ 621.766] Current version of pixman: 0.22.2 [ 621.766] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 621.766] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 621.767] (==) Log file: /var/log/Xorg.0.log, Time: Tue Dec 6 18:02:07 2011 [ 621.767] (II) Loader magic: 0x81f2d80 [ 621.767] (II) Module ABI versions: [ 621.767] X.Org ANSI C Emulation: 0.4 [ 621.767] X.Org Video Driver: 10.0 [ 621.767] X.Org XInput driver : 12.2 [ 621.767] X.Org Server Extension : 5.0 [ 621.770] (--) PCI:*(0:1:0:0) 1002:9552:103c:3644 rev 0, Mem @ 0x8000/268435456, 0x9030/65536, I/O @ 0x3000/256, BIOS @ 0x/131072 [ 621.770] Missing output drivers. Configuration failed.
Re: [gentoo-user] Re: vbox vm no boot
Yeah, just for simplicity. This way you just have one extended file system driver that works for the second, third and forth version of the file system.
Re: [gentoo-user] Configure xorg Failed
Did you try to build a kernel without network facilities?
Re: [gentoo-user] clamav and spamassassin
I've looked up each of those parameters and they sound fine to me. How long have you been running them? Have you been notified of any mistakenly rejected mail? It's very important my server doesn't miss any mail, even if it means dealing with more spam. Similar situation with me. Because my company is in the financial sector, false negatives are much more preferred than false positives. I have never had a false positive report that I traced back to one of the postscreen deep protocol tests. That being said, they've only been in place for ~4 months. What about trouble with the DNSBL lists? I know when I changed my IP address I had to work to get the new one removed from a few blacklists it had previously been placed on. I wasn't sending spam, but my messages would have been blocked under that config if I hadn't done the work to get the IP off the lists. - Grant
Re:Re: [gentoo-user] Configure xorg Failed
At 2011-12-06 10:52:35,Claudio Roberto França Pereira spide...@gmail.com wrote: Did you try to build a kernel without network facilities? What's that meaning? I built kernel with necessary drivers, of course I have a work-fine networkafter Gentoo built up . Does it have anything to do with X ?
Re: [gentoo-user] Re: vbox vm no boot
On Mon, Dec 05, 2011 at 08:26:07AM -0600, Harry Putnam wrote That is for the new attempt... I have yet to try booting it, but from your suggestions it sounds like I may have it right this time. I posted another screen grab but never saw it show up here. Trying again http://www.jtan.com/~reader/vu3/disp.cgi I had similar can't find boot device problems with qemu-kvm. I don't know if it's relevant or not to your situation, but try changing all sda? entries to hda? in /etc/fstab and lilo/grub the virtual machine. -- Walter Dnes waltd...@waltdnes.org
Re: [gentoo-user] clamav and spamassassin
On 12/05/2011 10:24 PM, Grant wrote: What about trouble with the DNSBL lists? I know when I changed my IP address I had to work to get the new one removed from a few blacklists it had previously been placed on. I wasn't sending spam, but my messages would have been blocked under that config if I hadn't done the work to get the IP off the lists. - Grant We do get false positives from the blacklists on rare occasion, but they're the same ones we got before postscreen. Before postscreen, we had, smtpd_recipient_restrictions = permit_mynetworks, ... reject_rbl_client psbl.surriel.com, reject_rbl_client bl.spamcop.net, reject_rbl_client zen.spamhaus.org, reject_rbl_client b.barracudacentral.org, permit After postscreen, we have, smtpd_recipient_restrictions = permit_mynetworks, ... permit postscreen_dnsbl_sites = psbl.surriel.com, bl.spamcop.net, zen.spamhaus.org, b.barracudacentral.org The two should be more or less equivalent considering that postscreen_dnsbl_threshold = 1. (I should mention that you have to register with barracuda before using their list.)
Re: [gentoo-user] Configure xorg Failed
What video card do you have? Did you build the drivers for it?
Re: [gentoo-user] Re: Installing Gentoo: Grub, alternate GNU/Linux system on another partition
On Monday 05 Dec 2011 23:33:12 Grant Edwards wrote: On 2011-12-05, Mick michaelkintz...@gmail.com wrote: On Monday 05 Dec 2011 21:58:44 Grant Edwards wrote: On 2011-12-05, Michael Mol mike...@gmail.com wrote: You can only have one primary bootloader, either grub from Gentoo or grub2 from Mint, it cannot be both. But it looks like that's what you do have. Seeing as you intend to drop Mint eventually, you must uninstall grub2 and all it's files from Mint. Not *exactly* true. It is for the usual definition of primary bootloader as the one that is loaded and run by the BIOS. Grub can chainload any bootloader that's visible to BIOS. At minimum, that means you could have grub on /dev/sda (primary bootloader) chainload grub on /dev/sdb (secondary bootloader). I'm uncertain if it means you could chainload a bootloader stored in the first 512 bytes of /dev/sda8, but I suspect so. You're right, you can. Though to get grub2 to install on a partition like /dev/sda8 instead of in the MBR you have to use the --force option or you'll get some incomprehensable error message when you try to do the 'setup' command. Last time I installed Ubuntu on a machine that had a different primary OS/bootloader I chose for it to be installed on the Ubuntu partition and there was not problem with it. It was GRUB2 I tried that a couple weeks ago with several different versions of Ubuntu and it didn't work with any of them. The installer was perfectly happy letting my chose a partition as a destination, and there were no error messages or warnings, but it just didn't work after it was installed. I had to boot the Ubuntu live CD and then install grub2 in the Ubuntu partition by hand using the --force option. Hmm ... maybe they changed their scripts? It's been some time (more than a year? ) since I tried it. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] usb mount problem
maybe there are filesystem corrupt on the device, or smthng related to the connection to the host, maybe supported filesystems not compiled in kernel, maybe coding for FAT set is not correct in kernel?