Re: [gentoo-user] How to emergency manual install of libffi-compat.

2021-08-20 Thread Andrea Conti
I've bitten by this too... the problem is that portage does not follow a particular order when rebuilding subslot deps, so when upgrading dev-libs/libffi (in this case from 0/7 to 0/8) it can schedule lots of other packages between when the new libffi is installed and when python is rebuilt.

Re: [gentoo-user] BIOS can not find boot partition

2021-01-24 Thread Andrea Conti
Hello, I don't want to use EFI. Then you probably should not be attempting to boot off an NVMe drive, as that is only possible if the drive has an onboard BIOS-mode boot ROM; AFAIK those are only found on some of the earliest NVMe drives. Moreover... grub-install /dev/nvme0n1p2

Re: [gentoo-user] kernel support for: i211 - intel network driver

2020-11-17 Thread Andrea Conti
Hello, The i219 is a completely different (and much older) chip; the right driver for the i211 is definitely igb. That said, I think the OP should first make sure the onboard LAN is enabled in the BIOS and then post the output of "lspci -tv". andrea On 17/11/20 00:59, Adam Carter wrote: On

Re: [gentoo-user] Trouble with backup harddisks

2020-05-02 Thread Andrea Conti
> I think, I feel better if I repartitioning/reformat both drives, > though. It's not necessary, but if it makes you feel better by all means do so. > *GPT/MBR > From a discussion based on a "GPT or MBR for my system drive" in > conjunction with UEFI it was said, that GPT is more modern and >

Re: [gentoo-user] Trouble with backup harddisks

2020-05-01 Thread Andrea Conti
A very *#BIG THANK YOU#* for all the great help, the research and the solution. I myself am back in "normal mode" :) You're welcome! What is the most reasonable setup here: GPT without any hybrid magic and ext4 because it is so common? I would go with MBR and a single ext4 partition. GPT is

Re: [gentoo-user] Trouble with backup harddisks

2020-05-01 Thread Andrea Conti
does my posting from this morning reached you ? ...I did not received anything back from the mailinglist... Nope. Just this night's response to Wol.

Re: [gentoo-user] Trouble with backup harddisks

2020-04-30 Thread Andrea Conti
> Since the disk was only ever accessed through an operating system that knew > solely about MBR, the GPT data meant nothing to it. It happily wrote data > past the MBR headers. Because the protective MBR is positioned before GPT > information, the primary GPT header was destroyed and most

Re: [gentoo-user] Trouble with backup harddisks

2020-04-30 Thread Andrea Conti
Hi, CONFIG_PARTITION_ADVANCED=y CONFIG_MSDOS_PARTITION=y CONFIG_EFI_PARTITION=y That's all you need. This could be the key. Sector sizes have been changing from 512 to 4096 over many years. If your kernel has been updated to expect/use 4096 byte sectors, it might not be able to read the

Re: [gentoo-user] Understanding fstrim...

2020-04-13 Thread Andrea Conti
Have your backup cron job call fstrim once everything is safely backed up? Well, yes, but that's beside the point. What I really wanted to stress was that mounting an SSD-backed filesystem with "discard" has effects on the ability to recover deleted data. Normally it's not a problem,

Re: [gentoo-user] Understanding fstrim...

2020-04-13 Thread Andrea Conti
> My SSD (NVme/M2) is ext4 formatted and I found articles on the > internet, that it is neither a good idea to activate the "discard" > option at mount time nor to do a fstrim either at each file deletion > no triggered by a cron job. I have no desire to enter the whole performance/lifetime

Re: [gentoo-user] Difficulties to install a bootloader for the new system

2020-04-07 Thread Andrea Conti
> rc.log stops here: > > * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh > /etc/init.d/local start > * Starting local ... > [ ok ] So apparently it's booting all the way... Looking at my working config (asus x370 prime, ryzen 7 1700, UEFI boot from an NVMe SSD), you might

Re: [gentoo-user] Difficulties to install a bootloader for the new system

2020-04-07 Thread Andrea Conti
On 07/04/20 11:32, tu...@posteo.de wrote: When I boot this setup, grub starts and displays: booting Linux 5051500-64-RT ... and freezes. I have to powercycle the whole thing. If you're getting there, your firmware was successful in loading GRUB from your system partition, so you can

Re: [gentoo-user] Preparing a blank NVMe as a boot drive...

2020-04-06 Thread Andrea Conti
Then there was something mentioned about namespaces, which should be allocated smaller than the physical drive Is this really needed - just to boot from this SSD? NVMe namespaces are an abstraction layer that allows a controller to present its connected storage as a number of independent

Re: [gentoo-user] Still questions concerning a reasonable setup of a new system: UEFI &&/|| MTBR

2020-03-28 Thread Andrea Conti
> The BIOS of any machine old enough to be using FAT-style MBR cannot cope with > anything newer, so if you have one, you're stuck with it. The BIOS does not care about partitions at all: it just loads and executes whatever is on the first sector of the disk. As long as you are using a

Re: [gentoo-user] RYZEN 5: Hyperthreading or no hyperthreading...

2020-03-27 Thread Andrea Conti
Hello, Thread(s) per core: 1 < Does my CPU hyperthread? Definitely not. Your kernel config is fine, chances are hyperthreading (aka "SMT mode") is disabled in your BIOS settings. andrea

Re: [gentoo-user] SDD, what features to look for and what to avoid.

2020-03-17 Thread Andrea Conti
My mobo is just old enough to not support NVMe drives.  I checked on that a while back.  It'll be old school SDDs, well, the ones that mount hardware wise like HDDs anyway.  It's not like SDDs are really that old. We're talking about interface standards here, not form factors. SATA drives use

Re: [gentoo-user] SDD strategies...

2020-03-17 Thread Andrea Conti
On 17/03/20 10:03, Neil Bothwick wrote: On Tue, 17 Mar 2020 09:35:10 +0100, Andrea Conti wrote: The SSD is currently reporting 98% of its rated life left: I feel quite confident it's going to outlast the laptop's useful life. What are you using to get that niformation? smartctl -A /dev/sdX

Re: [gentoo-user] SDD, what features to look for and what to avoid.

2020-03-17 Thread Andrea Conti
So, before I find a SDD to buy, what are some things I should look for it to have and what are things I should avoid? I think the single most important thing is buying stuff from a reputable brand (there's quite a number of those by now). Look at reviews. Top-tier performance probably isn't

Re: [gentoo-user] SDD strategies...

2020-03-17 Thread Andrea Conti
Hello, SSDs are a common replacement for HDs nowaday -- but I still trust my HDs more than this "flashy" things...call me retro or oldschool, but it my current "Bauchgefühl" (gut feeling). The days of shitty JMicron stuff and OCZ drives dropping like flies are long gone... you are not going

Re: [gentoo-user] To all IPv6-slackers among the Gentoo community

2019-11-28 Thread Andrea Conti
TIM has also been offering "experimental" native IPv6 to all PPPoE-connected customers for years [1]. It works, but they (intentionally?) made it less-than-useful by choosing to give out a dynamic /64. andrea [1]

Re: [gentoo-user] How to flash an LSI SAS controller from IR to IT mode on linux with sas2flsh

2018-03-21 Thread Andrea Conti
> Jesus christ it is 2018 and they still want us to use dos to flash > hardware >:'[ While DOS is usually the recommended environment for flashing hardware, in my experience the most reliable option for (cross)flashing LSI SAS2 controllers is the EFI version of sas2flash. Specifically, on some

Re: [gentoo-user] Partition of 3TB USB drive not detected

2016-08-06 Thread Andrea Conti
Hi, > ~ # parted /dev/sde print > Model: WD My Book 1230 (scsi) > Disk /dev/sde: 6001GB > Sector size (logical/physical): 4096B/4096B [...] > AFAICS this partition works fine, fsck does not report any problem. The > funny thing is, it should not have been possible, because of the 2GB limit >

Re: [gentoo-user] iscsitarget or targetcli?

2015-01-29 Thread Andrea Conti
On 29/01/15 11:25, J. Roeleveld wrote: Hi all, I want to set up an iSCSI server (target in iSCSI terminology) running on Gentoo. Does anyone know which of the following 2 are better: - sys-block/iscsitarget - sys-block/targetcli Both don't seem to have had an update for over 2 years,

Re: [gentoo-user] iscsitarget or targetcli?

2015-01-29 Thread Andrea Conti
What is the difference between the kernel-stuff (targetcli is only the config- tool) and scst? http://scst.sourceforge.net/comparison.html It was written by the SCST team, so it should be taken with a grain of salt; it is nonetheless a useful overview of the alternatives out there. andrea

Re: [gentoo-user] Mac Mini with Grub booting Mac OSX and Windows?!

2013-05-30 Thread Andrea Conti
Thanks Andrea. I had though that the MBR was automatically mapped to the the first 4 gpt partitions because that's they way it's always been on my system. So now I wonder how it's been set that way, because I know i've never touched gpt-fdisk and I didn't use bootcamp. Maybe the refit

Re: [gentoo-user] Mac Mini with Grub booting Mac OSX and Windows?!

2013-05-30 Thread Andrea Conti
The real problem is that while rEFIt/rEFInd, OSX and Linux have no problem dealing with a GPT partition table, Windows only supports MBR. (Windows 7+ supports GPT partition tables but it can only boot from a GPT disk in EFI mode. So, let us assume we have in the game: Windows 7 Ultimate

Re: [gentoo-user] Mac Mini with Grub booting Mac OSX and Windows?!

2013-05-29 Thread Andrea Conti
We can't have more then 4 primary partitions on a hard disk. Gentoo needs 2 partitions, /boot and a Virtual partition (that count's as well as one primary) with all the other folders. Windows will create 2. and Mac OSX minimum 1, am I right?! Your Windows partitions have to be in the first

Re: [gentoo-user] Fine Tuning NTP Server

2013-05-10 Thread Andrea Conti
Hello, server tick.nrc.ca minpoll 64 maxpoll 1024 iburst prefer Ouch! minpoll and maxpoll should be specified as the log2 of the actual value, i.e. 6 and 10. Those are the defaults anyway. disable auth broadcastclient server ntp.server.com prefer This looks fine to me; although

Re: [gentoo-user] Fine Tuning NTP Server

2013-05-08 Thread Andrea Conti
Hi, The official explanation of the output of ntpq -p is here: http://www.eecis.udel.edu/~mills/ntp/html/decode.html#peer although http://tech.kulish.com/2007/10/30/ntp-ntpq-output-explained/ is probably a bit more understandable if you're not familiar with ntpd. remote refid

Re: [gentoo-user] can't mount ext4 fs as est3 or ext3

2013-04-26 Thread Andrea Conti
Hi, EXT3-fs (sda5): error: couldn't mount because of unsupported optional features (240) /dev/sda5 / ext4noatime,discard 0 1 When first mounting the root filesystem the kernel has no access to /etc/fstab and therefore by default tries mounting it with all available

Re: [gentoo-user] DHCP - specific inet no - how to

2012-11-12 Thread Andrea Conti
dhcpcd has a --resquest option to do just this. One never stops learning... It only works if the address is available and if the server is returning a different address now it may be that your preferred address is in use. It also depends on the dhcp server understanding the request. I

Re: [gentoo-user] nfs mounting back and forth...

2012-11-12 Thread Andrea Conti
Hi, As an alternative to quickpkg and friends: Mount the beaglebones rootfs to /usr/$CTARGET of my Gentoo Linux PC. Then nfs-mount a part of my Linux PC filesystem on /usr/$CTARGET/tmp No need for nfs, just bind mount /tmp onto /usr/$CTARGET/tmp. Look up the --bind option in the man page of

Re: [gentoo-user] DHCP - specific inet no - how to

2012-11-08 Thread Andrea Conti
Hello, Normally, a device tries to get the previous inet number, but sometime this changes. DHCP clients can neither request nor suggest a specific IP address, so they don't try to get anything. It's just the DHCP server giving out the previous IP to the same client, either by chance or

Re: [gentoo-user] USERDIR problem with apache on new install (SOLVED)

2012-09-30 Thread Andrea Conti
Hello, I put in a symlink /home - /local/allan/gottlieb so that programs looking in /home would be happy. I had /etc/passwd say /local/allan/gottlieb since it is the real directory. apache doesn't like this. There is probably an option to let it do this since it has several options on

Re: [gentoo-user] distcc cross-compiling for OSX

2012-09-27 Thread Andrea Conti
I think I must add a OSX specified symbolic link. Symlinks are only needed on the distcc client, not on the server running distccd. But that is a trivial matter. Which tools / configuration must be set for cross-compiling OSX code on my Gentoo box? You need to put together a complete OSX

Re: [gentoo-user] distcc cross-compiling for OSX

2012-09-27 Thread Andrea Conti
Thanks for this link, I have read it before I write the post. Did I understand thr problem correct: I need a full OSX compatible toolchain !? So I download all Apple developer tools, compile it under my Gentoo box and add all header files which I used under OSX to my Linux box? According

[gentoo-user] Re: Some essential packages fail to compile

2012-09-09 Thread Andrea Conti
If I fully follow that wiki page (I did until the wrapper script is added) I would have to change these links: lrwxrwxrwx 1 root root 16 Sep 6 21:35 c++ - ../../bin/distcc lrwxrwxrwx 1 root root 16 Sep 6 21:35 cc - ../../bin/distcc lrwxrwxrwx 1 root root 16 Sep 6 21:35 g++ -

Re: Aw: [gentoo-user] Re: Some essential packages fail to compile

2012-09-08 Thread Andrea Conti
One way is (if you have read any 'environment' files in my tar archive) to set the guest architecture explitcitly in /etc/(portage/)make.conf which I did. /etc/make.conf: CFLAGS=-O2 -march=i686 -pipe -fPIC -m32 CXXFLAGS=${CFLAGS} CHOST=i486-pc-linux-gnu That is not setting the guest

[gentoo-user] Re: Some essential packages fail to compile

2012-09-08 Thread Andrea Conti
http://www.gentoo.org/doc/en/cross-compiling-distcc.xml I also read it far before I wrote my email. In case I wasn't clear in my other email, what you should be paying attention to are the instructions under 'Configuring distcc to cross-compile correctly'. Of course, the instructions are

Re: [gentoo-user] GCC : another trap for the unwary

2012-09-08 Thread Andrea Conti
(1) Gcc 4.5.4 seems to require USE=cxx, not the previous -nocxx, which was covered by -* at the beginning of my list in make.conf . http://article.gmane.org/gmane.linux.gentoo.devel/73962 I guess they ended not putting in the check after all :) andrea

Re: [gentoo-user] new machine : DVD drive

2012-08-20 Thread Andrea Conti
(1) do I need to configure the kernel to find the drive ? It's basically handled exactly the same as a CD drive, so you need the same configuration options you would use for that. Yes. As a minimum have a look at BLK_DEV_SR and BLK_DEV_SR_VENDOR. You may also need SCSI_PROC_FS for legacy

Re: [gentoo-user] Just a heads-up, I think =sys-libs/glibc-2.14.1-r3 is a stinker.

2012-04-26 Thread Andrea Conti
Ok, yes. This version of glibc, =sys-libs/glibc-2.14.1-r3, is crud. It's the current stable version on amd64, and you seem to be the only one having problems with it. I think the problem is likely with your setup (i.e. other toolchain component, CFLAGS, ...). least, if you're doing parallel

Re: [gentoo-user] new mobo : no Eth0

2012-04-21 Thread Andrea Conti
Does anyone have suggestions ? Your logs show that the interface is being detected and is named 'eth0'. If you can't see eth0 at the end of the boot process, the device node has probably been renamed by udev (you should see it as eth1, e.g. in the output of ifconfig -a). So: # rm

Re: [gentoo-user] The End Is Near ... or, get the vaseline, they're on the way!

2012-03-17 Thread Andrea Conti
This news item is to inform you that once you upgrade to a version of udev =181, if you have /usr on a separate partition, you must boot your system with an initramfs which pre-mounts /usr. [...] Happy Computer Users, systemd is on your horizon. The problem, if you really want to call this

Re: [gentoo-user] In TTYs, pinguins remain

2012-02-15 Thread Andrea Conti
In TTYs, the penguins you see on top of the booting process remain. Then in less, i cannot scroll upwards, which sucks using man and like that. You're using a framebuffer driver which is either misconfigured or not supported by your system. Most of the time it's just vesafb interacting badly

Re: [gentoo-user] grub vs grub 2

2012-02-14 Thread Andrea Conti
PS: If you know how to get rid of any background image, could you say how? Remove or comment out any splashimage directives from the config file. *** Re grub2: as long as grub0 works, I really don't care if grub2 is better, cleaner, shinier, more modern or anything else. I don't need a

Re: [gentoo-user] hwclock -- sysclock and the ntp-client

2012-02-07 Thread Andrea Conti
Is your RTC driver compiled into the kernel? CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS_DEVICE=rtc0 Those have nothing to do with the RTC *driver*. AFAIK on a PC the relevant option is CONFIG_RTC_DRV_CMOS andrea

Re: [gentoo-user] HEADS UP - postfix-2.9.0 is broken

2012-02-06 Thread Andrea Conti
BTW postfix 2.9.0 also fails to emerge if USE=vda because it tried to apply the patch for 2.8.5. (patch for 2.9.0 has not yet been released) And it also fails to start if have maps in hash format and emerge with USE=-berkdb. Luckily the error messages are informative enough... but let's say

Re: [gentoo-user] Re: -march=native is *EXTREMELY* conservative

2011-12-18 Thread Andrea Conti
Could be. It could also be it's because of -mfpmath=sse. AFAIK most video decoders (outside of reference implementations) are written using integer math only... -O3 is a much more likely candidate. andrea

Re: [gentoo-user] What happened to OpenRC 0.9.6?

2011-12-11 Thread Andrea Conti
On 27/11/11 16.36, Nikos Chantziaras wrote: sys-apps/openrc-0.9.6 is just... gone? Not even masked, but completely gone from portage. FYI, sys-apps/openrc-0.9.7 is out. Apparently, the solution to the rc_parallel issues was to remove every mention of rc_parallel from the default /etc/rc.conf

Re: [gentoo-user] Re: What happened to OpenRC 0.9.6?

2011-11-29 Thread Andrea Conti
Oh, you just want to test the features *you* use, understood. Guys, I did not want to start a flamewar. I've been running ~arch for years and I've had my fair share of breakage, which I'm perfectly fine with (e.g. I'm not complaining that dev-lang/php-5.4.0._rc2 currently fails to compile with

Re: [gentoo-user] What happened to OpenRC 0.9.6?

2011-11-27 Thread Andrea Conti
On 27/11/11 16.36, Nikos Chantziaras wrote: sys-apps/openrc-0.9.6 is just... gone? Not even masked, but completely gone from portage. What happened to it? Last time I checked it was hardmasked. Now it's been confined into oblivion, I hope. It had a little problem in resolving the

Re: [gentoo-user] java java everywhere

2011-11-11 Thread Andrea Conti
Or maybe the build system is stable enough for general use. If someone can share some experience with the source build, I'd like to hear about it. The build system of the source build, of course. Well, it works, and my impression is that it's a bit faster than icedtea-6 (the build system, I

Re: [gentoo-user] [OT] laptop desktop serial connection don't work on one direction

2011-11-06 Thread Andrea Conti
I have connected the wires by hand, 3-2 and 2-3 but without 5. I'll try it again today with 5 connected, and post my findings. Not having a common ground reference between the two sides could very well cause the kind of problems you're seeing :) andrea

Re: [gentoo-user] problem with pam

2011-10-29 Thread Andrea Conti
On 29/10/11 13.10, co wrote: # ls -l /lib/libpam.so* lrwxrwxrwx 1 root root11 Oct 21 23:47 /lib32/libpam.so - libpam.so.0 lrwxrwxrwx 1 root root16 Oct 21 23:48 /lib32/libpam.so.0 - libpam.so.0.83.0 -rwxr-xr-x 1 root root 46520 Sep 28 19:37 /lib32/libpam.so.0.83.0 That's not

Re: [gentoo-user] problem with pam

2011-10-29 Thread Andrea Conti
On 29/10/11 19.47, co wrote: After I run e2fsck -c on /var partition.I have re-emerged pam. So I  think there is something wrong with my hard disc. Why do you think that? Did badblocks identify any specific problems? A failing hard disk generally shows very obvious symptoms (noises, periodic

Re: [gentoo-user] subversion-1.7.0 and layman

2011-10-14 Thread Andrea Conti
Hello, svn: E155036: Please see the 'svn upgrade' command svn: E155036: Working copy is too old. Should I downgrade subversion or just waiting till the particular layman repositorys' format will be upgraded? The problem is with your working copy, not with the repository. Subversion

Re: [gentoo-user] Filesystem with lowest CPU load, acceptable emerge performance, and stable?

2011-09-09 Thread Andrea Conti
So, can anyone recommend me a filesystem that fulfills my following needs: Scenario: vFirewall (virtual Firewall) that is going to be deployed at my IaaS Cloud Provider. Disk I/O Characteristic: Occasional writes during 'normal' usage, once-a-week eix-sync + emerge -avuD Priority:

Re: [gentoo-user] Layman errors. Google ain't helping.

2011-09-04 Thread Andrea Conti
No such file or directory: '/var/lib/layman/make.config' ^^ -rw-r--r-- 1 root root 64 Sep 3 22:49 /var/lib/layman/make.conf That's either a typo or the source of the

Re: [gentoo-user] Question regarding UTF-8 settings

2011-08-28 Thread Andrea Conti
rc-update You meant env-update, right? . The output was -- despite of what the guide exspected -- The guide shows the output from setting LANG. You set LC_CTYPE, so unless I'm missing something obvious your result is perfectly normal. The wording in the green box under listing 2.4 is

Re: [gentoo-user] [Gentoo install] Disk full at 35%?

2011-08-21 Thread Andrea Conti
If you run man mke2fs, you should check out -N and -i. It was trial-and-error (for me, anyway) to find the right number. Consider using reiserfs for /usr/portage. No real performance advantage over ext[234], but works well with lots of small files and there's no inode count to worry about. In

Re: [gentoo-user] [Gentoo install] Disk full at 35%?

2011-08-21 Thread Andrea Conti
Would LVM somehow prevent these sort of things from happening? LVM doesn't affect inode usage, does it? LVM has nothing to do with inodes. Inodes are a filesystem concept, and filesystems do not really care about the kind of block device they reside on. Well, generally. AFAIK you will gain

Re: [gentoo-user] [Gentoo install] Disk full at 35%?

2011-08-21 Thread Andrea Conti
Filesystem Inodes IUsed IFree IUse% Mounted on /dev/mapper/weird-inodetest 1024 1024 0 100% /mnt /dev/mapper/weird-inodetest 2048 1024 1024 50% /mnt Then I stand corrected. I guess that the man page for mke2fs saying that the inode count of a filesystem cannot

Re: [gentoo-user] {OT} Can I retrieve my SSL key?

2011-08-18 Thread Andrea Conti
On 18/08/11 03.23, Grant wrote: I just accidentally overwrote my SSL certificate key. Is there any way to retrieve it? Possibly some sort of export since I haven't restarted apache2 yet? If apache keeps the certificate file open after reading it (I doubt that's the case, but if you have lsof

Re: [gentoo-user] Firmware exists but fails to load

2011-08-16 Thread Andrea Conti
it does not actually matter how you configured the driver -- built-in kernel or as module: everytime when driver operates the device, it checks whether firmware is loaded. Are you sure about that? AFAIK firmware loading is only attempted once, when the driver is first initialized.

Re: [gentoo-user] Re: Firmware exists but fails to load

2011-08-15 Thread Andrea Conti
It's not a workaround, but how it's supposed to work. Loading from userspace means using a user-space program to load the firmware. This is not what you're trying to do, since you don't have such a program. ? Udev has been the standard way to service kernel firmware requests for quite some

Re: [gentoo-user] Torrent with dynamics throttles

2011-08-13 Thread Andrea Conti
Hello, This set/unset is boring.. Is there any way to dynamic set my torrents limits, so when I'm using internet it frees some bandwidth to me, and when I stop to use it goes full speed again?? You want to use QoS / traffic-pritoritising, which is normally done at the router.

Re: [gentoo-user] What's up with the hardened USE flag?

2011-07-04 Thread Andrea Conti
Hello, Everyone will get this. The culprit is a change in the pax-utils.eclass [1]. Which adds USE=hardened to every consumer of the eclass. That's IUSE, not USE. USE flags are not touched (at least on non-hardened systems), so the change is only picked up by emerge if you use the --new-use

Re: [gentoo-user] What's up with the hardened USE flag?

2011-07-04 Thread Andrea Conti
That's IUSE, not USE. IUSE~=USE [1] Um, yes. It's what I wrote. [editing saved IUSE by hand] Please do not use such hacks I know it's a hack, and I was not recommending it as a general-purpose solution. use --changed-use to avoid a rebuild instead of --new-use like Neil suggested. This

Re: [gentoo-user] Recovering RAID1 after disk failure

2011-06-17 Thread Andrea Conti
Hello, However, the good drive started on sector 63 and the new drive want's to start on sector 2048. Fdisk won't let me create the partition table on the new drive as it is on the old drive. Recent versions of fdisk require partitions to begin on a 1MB boundary; this among other things

Re: [gentoo-user] RFC: Implementing a spamfiltering frontend

2011-05-21 Thread Andrea Conti
On 21/05/11 06.13, Pandu Poluan wrote: Hello list! Due to the increase of spam/phishing emails received by my office, I decided to explore the idea of implementing a spamfiltering 'frontend' in front of my email server. Here's how I plan to do it: fetchmail (G) -- postfix (G) --

Re: [gentoo-user] RFC: Implementing a spamfiltering frontend

2011-05-21 Thread Andrea Conti
so unless you need to perform complex mail routing you could directly send the filtered mail to the windows server. Hmm... interesting points. But can it still do the 2nd part of the equation, that is, perform outgoing routing? That's what I meant with complex mail routing :) The problem

Re: [gentoo-user] Re: Gentoo-based 'filer' / GentooFiler How-To?

2011-05-20 Thread Andrea Conti
Hello, Is it true that tgt will replace IET? Last time someone asked that question on the IET mailing list the answer was no. I can't find the relevant thread right now but I think the general idea was that IET concentrates on code stability (thus no inclusion in the kernel sources) and

Re: [gentoo-user] Re: checking whether the C compiler works... no Oooops !!

2011-05-07 Thread Andrea Conti
Well, this ain't good. Neither python-updater nor revdep-rebuild can complete. Either it is a missing package or some other error. Am I to the point where I have to reinstall? If you can't sort out the mess manually, try emerge -e system, then emerge -e world. You can also save some time by

Re: [gentoo-user] Re: checking whether the C compiler works... no Oooops !!

2011-05-06 Thread Andrea Conti
/usr/libexec/gcc/i686-pc-linux-gnu/4.4.4/cc1: error while loading shared libraries: libmpfr.so.1: cannot open shared object file Meaning, run revdep-rebuild :) Yeah, right. So revdep-rebuild does its thing, finds out that gcc is broken and tries to rebuild it with the broken gcc :) In this

Re: [gentoo-user] php-cgi must be run as root?

2011-05-06 Thread Andrea Conti
The access permission to /usr/lib64/php5.3/bin/php-cgi is 755, so I think everyone can execute it. Then, what is the problem? Most probably, the nginx user cannot access the .php file you're trying to execute, either because of its permissions or because it cannot traverse one of its parent

Re: [gentoo-user] Re: Re: Re: Changing boot device with 2.6.36

2011-01-07 Thread Andrea Conti
Had to boot this morning 5 times, since the root device switched arbitrarily between sde3 and sdg3 Try disabling CONFIG_SCSI_SCAN_ASYNC (Asynchronous SCSI scanning under SCSI options). While it is not a solution, this might somewhat reduce the randomness you are experiencing. andrea

Re: [gentoo-user] Re: Re: Changing boot device with 2.6.36

2011-01-04 Thread Andrea Conti
boot=LABEL=boot_device_label in grub config work for you? I hoped so, but actually no. Grub complains at boot time not finding the root device. Is this available in the grub-0.97 series at all? I am not sure about grub 2, but 0.97 knows nothing about filesystem labels (and neither does

Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-15 Thread Andrea Conti
E-SATA != SATA Nah. They are *exactly* the same. Evidently someone realized that the original SATA connector is way too fragile to be regularly used to plug/unplug a cable by hand, so they engineered in some features which make it a bit more resilient. But apart from the shape of the

Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-15 Thread Andrea Conti
The SATA spec allows for hot plugging, so technically yes ... My recollection of my understanding (multiple disclaimers) was that SATA *allowed* for SATA hot-plugging but didn't *mandate* it. a good summary of the hardware/driver situation wrt hotplugging can be found here:

Re: [gentoo-user] FAN-Speed readout/control ???

2010-12-12 Thread Andrea Conti
Just build all the sensor drivers into the kernel, not modules but built in. A simpler way: - make sure you have CONFIG_I2C_CHARDEV=y, CONFIG_I2C_HELPER_AUTO=y and select the correct I2C hardware bus drivers for your platform (CONFIG_I2C_I801 for most recent Intel chipsets and CONFIG_I2C_PIIX4

Re: [gentoo-user] Gigabyte and controlling fans

2010-12-12 Thread Andrea Conti
It's a Gigabyte 770T series mobo. It uses the it8720 chip. You can try writing directly to the pwm control inputs under the platform device node (i.e. /sys/devices/platform/it87.xxx/pwm*); these usually take 8-bit (0-255) values. E.g. to set pwm1 to a value of 127 you just do echo 127

Re: [gentoo-user] FAN-Speed readout/control ???

2010-12-12 Thread Andrea Conti
AMD k10 was already in and reports everything -- only the fan stuff was missing, which (normall) the ITE (it87) chip is used for. Current IT87xx chips provide fan, temperature and voltage readings. If you built the drivers as modules, are you sure everything (it87 and the relevant i2c drivers)

Re: [gentoo-user] symlinks + rsync backup

2010-11-21 Thread Andrea Conti
rsync -aERPv --progress rsync://localhost/Windows-Vista-backup /mnt/rsync/vista/ Is there a specific reason you are using rsync in daemon mode on the sending side for a local tranfer? If the symlinks look right on the mounted windows fs, I guess that rsync -aEPv /mnt/vista/. /mnt/rsync/vista/

Re: [gentoo-user] migrating disks (from mounts to disklabels

2010-11-18 Thread Andrea Conti
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes A small caveat -- if this is an advanced format drive be sure to use fdisk in sector mode (fdisk

Re: [gentoo-user] migrating disks (from mounts to disklabels

2010-11-18 Thread Andrea Conti
tar c /path/to/old/ | tar xvp /path/to/new Whoops... That should be tar c -C /path/to/old/ . | tar xvp -C /path/to/new/ Sorry, andrea

Re: [gentoo-user] gcc upgrade: Active gcc profile is invalid!

2010-10-19 Thread Andrea Conti
On 19/10/2010 19:45, Jarry wrote: Hi, I just tried to upgrade gcc (stable amd64, from 4.4.3-r2 to 4.4.4-r2) following the procedure recommended in Gentoo GCC Upgrade Guide: emerge -uav gcc At the end of compilation, I got these strange messages:

Re: [gentoo-user] Does updating grub require mounting /boot first?

2010-10-09 Thread Andrea Conti
On 09/10/2010 18:30, Tanstaafl wrote: Hello, I'm ready to update grub, but just realized I'm not sure if I need to mount /boot before I emerge update it or not... /boot must be mounted, but the ebuild will mount it for you if it is not. Note however that the ebuild will *not* update the

Re: [gentoo-user] Copying a file via ssh with no password, keeping the system safe

2010-10-08 Thread Andrea Conti
On 08/10/2010 0:28, Willie Wong wrote: You can't do that on a per-command basis. You'd be trying to control the authentication method accepted by sshd on B according to which command is run on A -- something sshd on B knows nothing about. That's partially false. See my response in this

Re: [gentoo-user] Copying a file via ssh with no password, keeping the system safe

2010-10-07 Thread Andrea Conti
On 07/10/2010 18:45, Momesso Andrea wrote: Setting up a public key, would do the job, but then, all the connections between the servers would be passwordless, so if server A gets compromised, also server B is screwed. Well, not really... public key authentication works on a per-user basis, so

Re: [gentoo-user] Re: static-libs

2010-09-12 Thread Andrea Conti
DL libraries aren't really a different kind of library format (both static and shared libraries can be used as DL libraries); Library archives (.a) and shared objects (.so) differ in several ways. Roughly speaking: From a file format perspective, .a files are simple collections (man ar) of

Re: [gentoo-user] Re: static-libs

2010-09-12 Thread Andrea Conti
So why shouldn't you be able to load an unshared lib (without PIC) dynamically? Sure there still would be some additional steps. I am not talking specifically about PIC/non-PIC code here. PIC is relevant because when you're doing dynamic loading you generally cannot predict at what (virtual)

Re: [gentoo-user] Shared libraries in Gentoo

2010-09-09 Thread Andrea Conti
I still try to understand the relation of shared libraries and dynamic libraries. I read that dynamic libraries are linked at runtime. I also read, that you can dynamically link againgst a shared as well as against a normal library. Pardon me, but in my opinion if you're asking this kind of

Re: [gentoo-user] Pipe Lines - A really basic question

2010-09-09 Thread Andrea Conti
My generic question is: When I'm using a pipe line series of commands do I use up more/less space than doing things in sequence? When you use a pipe you don't need the space to store intermediate results between the two programs. Thepipe is backed by a small system-allocated RAM buffer (4k

Re: [gentoo-user] Thunderbird and IMAP folders

2010-09-01 Thread Andrea Conti
Hi, I routinely use thunderbird to access mail on a cyrus IMAP server with very large folders (thousands of archived messages). IMAP support in the 3.1 series seems quite stable to me (whereas 2.x had frequent problems with folder indexes and 3.0.x tended to hang randomly while performing server

Re: [gentoo-user] LINGUAS

2010-08-20 Thread Andrea Conti
It's the official (as far as there is such a thing) place to store the list of gettext translations you want on your system, and most autotools-based builds and binary package managers also recognize it. I didn't know that. Thanks for clarifying! andrea

Re: [gentoo-user] LINGUAS

2010-08-19 Thread Andrea Conti
On the other hand LINGUAS is still a general variable AFAIK and not portage specific. LINGUAS is strictly portage-specific. It's used to control the compile-time inclusion of languages and/or locales for packages which have that kind of option (i.e. OpenOffice, KDE, Firefox and many others); as

Re: [gentoo-user] /etc/portage/package.use for LINGUAS?

2010-08-19 Thread Andrea Conti
On 19/08/2010 17:49, Florian Philipp wrote: Hi list! I'd like to change the LINGUAS setting for a single package. Is there a config file for stuff like this? LINGUAS (like VIDEO_CARDS, INPUT_DEVICES and similar stuff) is declared as an USE_EXPAND variable, so that its contents get

Re: [gentoo-user] Regenerate portage cache from scratch following a big toe crash?

2010-08-18 Thread Andrea Conti
Hi, sitting in my chair that swivels, and guess what...my big toe is at __exactly__ the height of the main power button on my APC UPS, and darn if I don't hit it and power is gone! Back in the old days I had a trusty desktop 286 which sat on a piece of furniture at approximately knee level,

Re: [gentoo-user] Kernel questions

2010-08-18 Thread Andrea Conti
Hello, 1.) Is there a Map: modules to configration parameters? I don't think so. The help text for most modules has a reference to the actual module name (something like the module will be called ). If you're looking for something specific you could try grepping for that in the

  1   2   >