Re: [gentoo-user] -march CHOST settings for new laptop
Grant wrote: What -march and CHOST settings would you guys use for a CPU that shows up like this in cpuinfo: Intel Pentium Dual CPU T2310 @ 1.46Ghz I'm going ahead with i686 and i686-pc-linux-gnu for now because I want to get this thing set up, but I'm planning on doing an emerge -e world when I'm done. Does this CPU have 64-bit extensions? It looks like it does. http://processorfinder.intel.com/details.aspx?sspec=slaec Does it support sse3? If /proc/cpuinfo flags has pni Then I'd go with march=prescott --Joshua Doll -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] -march CHOST settings for new laptop
Grant wrote: What -march and CHOST settings would you guys use for a CPU that shows up like this in cpuinfo: Intel Pentium Dual CPU T2310 @ 1.46Ghz I'd use prescott for this one, as you're using x86 CHOST anyway. Does this CPU have 64-bit extensions? I believe it does, check the flags at /proc/cpuinfo to be sure. nocona would be my choice if possible to create a 64 bits system. Alright, I'll give nocona a try. Should I be using CHOST=x86_64-pc-linux-gnu? And the processor family in the kernel should be Pentium-4/Celeron(P4-based)/Pentium-4 M/older Xeon? I wouldn't use x86_64-pc-linux-gnu unless you want to break your system. Unless you are starting from scratch 64 bit. --Joshua Doll -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] -march CHOST settings for new laptop
What -march and CHOST settings would you guys use for a CPU that shows up like this in cpuinfo: Intel Pentium Dual CPU T2310 @ 1.46Ghz I'd use prescott for this one, as you're using x86 CHOST anyway. Does this CPU have 64-bit extensions? I believe it does, check the flags at /proc/cpuinfo to be sure. nocona would be my choice if possible to create a 64 bits system. Alright, I'll give nocona a try. Should I be using CHOST=x86_64-pc-linux-gnu? And the processor family in the kernel should be Pentium-4/Celeron(P4-based)/Pentium-4 M/older Xeon? I wouldn't use x86_64-pc-linux-gnu unless you want to break your system. Unless you are starting from scratch 64 bit. Is there any way to switch to that CHOST after I've already installed a stage3? If I do get this working with 64 bits, will I be using amd64 packages even though it's not an AMD system, or would I still be x86? - Grant Have you already installed a 32bit stage3? If so there is no way to switch except for a reinstall. AMD64 is for both AMD and Intel 64 bit. If you click View processor number details here: http://www.intel.com/cd/products/services/emea/eng/processors/pentium_dual-core/340988.htm it is clearly a 64 bit CPU. Do-over. - Grant -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] -march CHOST settings for new laptop
What -march and CHOST settings would you guys use for a CPU that shows up like this in cpuinfo: Intel Pentium Dual CPU T2310 @ 1.46Ghz I'd use prescott for this one, as you're using x86 CHOST anyway. Does this CPU have 64-bit extensions? I believe it does, check the flags at /proc/cpuinfo to be sure. nocona would be my choice if possible to create a 64 bits system. Alright, I'll give nocona a try. Should I be using CHOST=x86_64-pc-linux-gnu? And the processor family in the kernel should be Pentium-4/Celeron(P4-based)/Pentium-4 M/older Xeon? I wouldn't use x86_64-pc-linux-gnu unless you want to break your system. Unless you are starting from scratch 64 bit. Is there any way to switch to that CHOST after I've already installed a stage3? If I do get this working with 64 bits, will I be using amd64 packages even though it's not an AMD system, or would I still be x86? - Grant -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] -march CHOST settings for new laptop
Grant wrote: What -march and CHOST settings would you guys use for a CPU that shows up like this in cpuinfo: Intel Pentium Dual CPU T2310 @ 1.46Ghz I'd use prescott for this one, as you're using x86 CHOST anyway. Does this CPU have 64-bit extensions? I believe it does, check the flags at /proc/cpuinfo to be sure. nocona would be my choice if possible to create a 64 bits system. Alright, I'll give nocona a try. Should I be using CHOST=x86_64-pc-linux-gnu? And the processor family in the kernel should be Pentium-4/Celeron(P4-based)/Pentium-4 M/older Xeon? I wouldn't use x86_64-pc-linux-gnu unless you want to break your system. Unless you are starting from scratch 64 bit. Is there any way to switch to that CHOST after I've already installed a stage3? If I do get this working with 64 bits, will I be using amd64 packages even though it's not an AMD system, or would I still be x86? - Grant Have you already installed a 32bit stage3? If so there is no way to switch except for a reinstall. AMD64 is for both AMD and Intel 64 bit. --Joshua Doll -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] -march CHOST settings for new laptop
What -march and CHOST settings would you guys use for a CPU that shows up like this in cpuinfo: Intel Pentium Dual CPU T2310 @ 1.46Ghz I'd use prescott for this one, as you're using x86 CHOST anyway. Does this CPU have 64-bit extensions? I believe it does, check the flags at /proc/cpuinfo to be sure. nocona would be my choice if possible to create a 64 bits system. Alright, I'll give nocona a try. Should I be using CHOST=x86_64-pc-linux-gnu? And the processor family in the kernel should be Pentium-4/Celeron(P4-based)/Pentium-4 M/older Xeon? - Grant -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] -march CHOST settings for new laptop
What -march and CHOST settings would you guys use for a CPU that shows up like this in cpuinfo: Intel Pentium Dual CPU T2310 @ 1.46Ghz I'd use prescott for this one, as you're using x86 CHOST anyway. Does this CPU have 64-bit extensions? I believe it does, check the flags at /proc/cpuinfo to be sure. nocona would be my choice if possible to create a 64 bits system. Alright, I'll give nocona a try. Should I be using CHOST=x86_64-pc-linux-gnu? And the processor family in the kernel should be Pentium-4/Celeron(P4-based)/Pentium-4 M/older Xeon? I wouldn't use x86_64-pc-linux-gnu unless you want to break your system. Unless you are starting from scratch 64 bit. Is there any way to switch to that CHOST after I've already installed a stage3? If I do get this working with 64 bits, will I be using amd64 packages even though it's not an AMD system, or would I still be x86? - Grant Have you already installed a 32bit stage3? If so there is no way to switch except for a reinstall. AMD64 is for both AMD and Intel 64 bit. Do you think Generic-x86_64 in the kernel? - Grant -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: Amanda problems creating backup to external usb disk
Hi again The proble was my error , i forget the file: before the vtape path /usr/sbin/ammt -f file:/backup/vtapes/ydra/slots status file:/backup/vtapes/ydra/slots status: ONLINE On Nov 30, 2007 9:48 PM, pepone. onrez [EMAIL PROTECTED] wrote: I get this error when check the status of my virtual tape. [EMAIL PROTECTED] ~ $ /usr/sbin/ammt -f /backup/vtapes/ydra/slots status /backup/vtapes/ydra/slots status failed: Inappropriate ioctl for device My vtape partition is in is own partition as rerpoted by mount /dev/sdc1 on /backup/vtapes/ydra type jfs (rw) And here is dmesg relative ouput for the usb diks and usb-storage Initializing USB Mass Storage driver... scsi4 : SCSI emulation for USB Mass Storage devices usbcore: registered new interface driver usb-storage USB Mass Storage support registered. usb-storage: device found at 2 usb-storage: waiting for device to settle before scanning scsi 4:0:0:0: Direct-Access ST350063 0A 3.AA PQ: 0 ANSI: 0 sd 4:0:0:0: [sdc] 976773168 512-byte hardware sectors (500108 MB) sd 4:0:0:0: [sdc] Write Protect is off sd 4:0:0:0: [sdc] Mode Sense: 03 00 00 00 sd 4:0:0:0: [sdc] Assuming drive cache: write through sd 4:0:0:0: [sdc] 976773168 512-byte hardware sectors (500108 MB) sd 4:0:0:0: [sdc] Write Protect is off sd 4:0:0:0: [sdc] Mode Sense: 03 00 00 00 sd 4:0:0:0: [sdc] Assuming drive cache: write through sdc: sdc1 sdc2 sdc3 sd 4:0:0:0: [sdc] Attached SCSI disk sd 4:0:0:0: Attached scsi generic sg2 type 0 usb-storage: device scan complete I read about a similar error in this post http://forums.zmanda.com/showthread.php?t=462highlight=ioctl A guy solve a similar problem on debian passing this option to configure --with-maxtapeblocksize=64 I go to test this on gentoo an report if this works on gentoo .
Re: [gentoo-user] equery depends ---- Invalid db entry:
On Fri, 30 Nov 2007 22:49:18 +, Stroller wrote: Am I correct in assuming that portage-utils does not work stuff out on the fly but needs to rebuild its database after each `emerge -- sync`? No, it works without that. I think it's simply rebuilding its cache to save time the next time you run it. -- Neil Bothwick All right, set phasers to deep fat fry! signature.asc Description: PGP signature
Re: [gentoo-user] -march CHOST settings for new laptop
On Nov 30, 2007 7:16 PM, Grant [EMAIL PROTECTED] wrote: What -march and CHOST settings would you guys use for a CPU that shows up like this in cpuinfo: Intel Pentium Dual CPU T2310 @ 1.46Ghz I'd use prescott for this one, as you're using x86 CHOST anyway. Does this CPU have 64-bit extensions? I believe it does, check the flags at /proc/cpuinfo to be sure. nocona would be my choice if possible to create a 64 bits system. -- Daniel da Veiga Filosofia de TI: Programadores de verdade consideram o conceito o que você vê é o que você tem tão ruim em editores de texto quanto em mulheres. Não, o programador de verdade quer um editor de texto do estilo você pediu, você levou - complicado, indecifrável, poderoso, impiedoso, perigoso. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] equery depends ---- Invalid db entry:
On Fri, 30 Nov 2007 21:50:55 + Neil Bothwick wrote: On Fri, 30 Nov 2007 06:40:17 -0600, Dale wrote: equery belongs file name Or, if you want the result quickly, qfile file name qfile is part of portage-utils. -- Neil Bothwick Indeed it is faster! Thanks. David -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] equery depends ---- Invalid db entry:
On 30 Nov 2007, at 21:50, Neil Bothwick wrote: On Fri, 30 Nov 2007 06:40:17 -0600, Dale wrote: equery belongs file name Or, if you want the result quickly, qfile file name qfile is part of portage-utils. Installing this I find that: * //etc/portage/postsync.d/q-reinitialize has been installed for convenience * If you wish for it to be automatically run at the end of every -- sync simply chmod +x //etc/portage/postsync.d/q-reinitialize * Normally this should only take a few seconds to run but file systems such as ext3 can take a lot longer. * If ever you find this to be an inconvenience simply chmod -x //etc/ portage/postsync.d/q-reinitialize I see that this /etc/portage/postsync.d/q-reinitialize simply calls the core portage-utils binary with the --quiet --reinitialize parameters. Am I correct in assuming that portage-utils does not work stuff out on the fly but needs to rebuild its database after each `emerge -- sync`? Stroller. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] equery depends ---- Invalid db entry:
On Fri, 30 Nov 2007 06:40:17 -0600, Dale wrote: equery belongs file name Or, if you want the result quickly, qfile file name qfile is part of portage-utils. -- Neil Bothwick Illiterate? Write today for free help. signature.asc Description: PGP signature
[gentoo-user] Amanda problems creating backup to external usb disk
I get this error when check the status of my virtual tape. [EMAIL PROTECTED] ~ $ /usr/sbin/ammt -f /backup/vtapes/ydra/slots status /backup/vtapes/ydra/slots status failed: Inappropriate ioctl for device My vtape partition is in is own partition as rerpoted by mount /dev/sdc1 on /backup/vtapes/ydra type jfs (rw) And here is dmesg relative ouput for the usb diks and usb-storage Initializing USB Mass Storage driver... scsi4 : SCSI emulation for USB Mass Storage devices usbcore: registered new interface driver usb-storage USB Mass Storage support registered. usb-storage: device found at 2 usb-storage: waiting for device to settle before scanning scsi 4:0:0:0: Direct-Access ST350063 0A 3.AA PQ: 0 ANSI: 0 sd 4:0:0:0: [sdc] 976773168 512-byte hardware sectors (500108 MB) sd 4:0:0:0: [sdc] Write Protect is off sd 4:0:0:0: [sdc] Mode Sense: 03 00 00 00 sd 4:0:0:0: [sdc] Assuming drive cache: write through sd 4:0:0:0: [sdc] 976773168 512-byte hardware sectors (500108 MB) sd 4:0:0:0: [sdc] Write Protect is off sd 4:0:0:0: [sdc] Mode Sense: 03 00 00 00 sd 4:0:0:0: [sdc] Assuming drive cache: write through sdc: sdc1 sdc2 sdc3 sd 4:0:0:0: [sdc] Attached SCSI disk sd 4:0:0:0: Attached scsi generic sg2 type 0 usb-storage: device scan complete I read about a similar error in this post http://forums.zmanda.com/showthread.php?t=462highlight=ioctl A guy solve a similar problem on debian passing this option to configure --with-maxtapeblocksize=64 I go to test this on gentoo an report if this works on gentoo .
Re: [gentoo-user] ebuild for a rails application
quoth the Thufir: I'm working on a rails application and am considering the install process for the rails application itself. I don't mean installing rails nor the database, but the rails application. Would an ebuild be able to install/uninstall the rails application itself? An ebuild is little more than a shell script with some helper/hook functions built in. So: if the install of your rails app is scriptable, then yes, you should be able to write an ebuild for it. As for whether there is an eclass or whatever for rails apps, I don't know... thanks, Thufir -d -- darren kirby :: Part of the problem since 1976 :: http://badcomputer.org ...the number of UNIX installations has grown to 10, with more expected... - Dennis Ritchie and Ken Thompson, June 1972 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] equery depends ---- Invalid db entry:
On Fri, 30 Nov 2007 06:40:17 -0600 Dale wrote: David Relson wrote: On Fri, 30 Nov 2007 07:52:03 +0100 Marc Joliet wrote: ..[snip].. Relevant snip from the manpage: depends local-opts pkgspec This command displays all dependencies matching pkgspec. local-opts is either or both of: -a, --all-packages search in all available packages (slow) -d, --direct search direct dependencies only (default) -D, --indirect search indirect dependencies (very slow) --depth=n Limit depth of indirect dependency tree to n levels. Setting --depth=0 is the same as not specifing --indirect. So equery depends expects a package name, not a file name. What exactly are you trying to do? -- Marc Joliet Hello Marc, Right you are, I was using the wrong command. If I recall, last night I wanted to find which package _provides_ a given file. Obviously the file in my sample, i.e. /etc/init.d/samba, is from net-fs/samba but the general question remains: How does one find the package from which a file came? Regards, David equery belongs file name That help? Dale Indeed it does! Thanks, Dale. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] equery depends ---- Invalid db entry:
On Fri, 30 Nov 2007 07:52:03 +0100 Marc Joliet wrote: ..[snip].. Relevant snip from the manpage: depends local-opts pkgspec This command displays all dependencies matching pkgspec. local-opts is either or both of: -a, --all-packages search in all available packages (slow) -d, --direct search direct dependencies only (default) -D, --indirect search indirect dependencies (very slow) --depth=n Limit depth of indirect dependency tree to n levels. Setting --depth=0 is the same as not specifing --indirect. So equery depends expects a package name, not a file name. What exactly are you trying to do? -- Marc Joliet Hello Marc, Right you are, I was using the wrong command. If I recall, last night I wanted to find which package _provides_ a given file. Obviously the file in my sample, i.e. /etc/init.d/samba, is from net-fs/samba but the general question remains: How does one find the package from which a file came? Regards, David -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] equery depends ---- Invalid db entry:
David Relson wrote: On Fri, 30 Nov 2007 07:52:03 +0100 Marc Joliet wrote: ..[snip].. Relevant snip from the manpage: depends local-opts pkgspec This command displays all dependencies matching pkgspec. local-opts is either or both of: -a, --all-packages search in all available packages (slow) -d, --direct search direct dependencies only (default) -D, --indirect search indirect dependencies (very slow) --depth=n Limit depth of indirect dependency tree to n levels. Setting --depth=0 is the same as not specifing --indirect. So equery depends expects a package name, not a file name. What exactly are you trying to do? -- Marc Joliet Hello Marc, Right you are, I was using the wrong command. If I recall, last night I wanted to find which package _provides_ a given file. Obviously the file in my sample, i.e. /etc/init.d/samba, is from net-fs/samba but the general question remains: How does one find the package from which a file came? Regards, David equery belongs file name That help? Dale :-) :-) :-)
[gentoo-user] -march CHOST settings for new laptop
What -march and CHOST settings would you guys use for a CPU that shows up like this in cpuinfo: Intel Pentium Dual CPU T2310 @ 1.46Ghz I'm going ahead with i686 and i686-pc-linux-gnu for now because I want to get this thing set up, but I'm planning on doing an emerge -e world when I'm done. Does this CPU have 64-bit extensions? - Grant -- [EMAIL PROTECTED] mailing list
[gentoo-user] Use of gethostname() and getdomainname()
I've got my own domain and domain server. I've just run into a problem about the appropriate settings for hosts and domains, and it's messing up a few things in my postfix setup. The gentoo instructions say to set /etc/conf.d/hostname to the host name only. It gets passed to sethostname(2) unchanged by /etc/init.d/hostname. I did it. The gentoo instructions say to put a domain name, if needed, into /etc/conf.d/net. It seems to get used in network setup. I did it. Nothing seems to be set into whatever it is that setdomainname(2) is used for. My mailx mailer seems to put localdomain on the sender address when my crontab entries call it. Maybe because it sees that getdomainname(2) comes up empty. What's the right way to set this up? Should I just cobble my proper domain into setdomainname(2)? Is there a right way? Is there a better way? -- Kevin O'Gorman, PhD
[gentoo-user] Wireless help?
I'm trying to set up a new laptop's wireless interface. lspci says it has an Atheros AR5006EG which should mean the madwifi drivers. I emerged madwifi-ng and madwifi-ng-tools, created net.ath0 as a link to net.lo, and set the ath_pci module to autoload (which it does without errors) but I get: network interface ath0 does not exist Please verify hardware or kernel module (driver) when trying to start net.ath0. Does this sound like a driver support problem or did I miss something? ifconfig only shows eth0 and lo. iwconfig shows, eth0, lo, and sit0. I don't know what sit0 is. - Grant -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Gentoo on the server side
I wasn't going to chime in until some real deployments have been mentioned. Ditto. I run a home network that's pretty much gentoo-only. The server provides DNS, DHCP, LAMP, Posfix SMTP, IMAPS (courier), TFTP (bsd), SAMBA, NFS. I am currently pursuing a career in IT and expect to bring up some public servers towards the end of the year. needless to say, they'll be running gentoo too. I don't forsee any problems. I want to echo Ricardo's warning -- update conservatively! He's right -- after a while, you know which packages you can update safely and which are potential problems. Staging environment is crucial for gentoo becasue you'll be running binaries that have never really been tested ... or run ... ever. I run a home server under gentoo as well, which serves me fine as a personal box, and I also run a public server which runs on a fairly beefy server and hosts a few websites, including a TDI (the VW car) forum which is insanely popular and we push about 250G/month on it alone. This used to be a debian system and was moved over to gentoo about 4 years ago when I had been spending lots of time with gentoo on my desktop at home. I like gentoo, however I would exercise caution if you're deploying on real systems. The issue is the updating conservatively part mentioned above. As anyone who has run a server that other people are depending on knows, you REALLY want to update as little as possible. The less updates, the less surprises and the less chance you'll somehow accidently break someone's site doing a simple update late some night. Gentoo is still a fairly moving target in this respect. I upgrade packages maybe once a week and since I have fallen behind in some, I'm scared as hell to upgrade. I still have apache 1.3 running, and because it'd deprecated I can't update any of the packages that go along with it, meaning that to upgrade to the latest apache files, I have to upgrade EVERYTHING associated with apache with no really good rollback plan. Apache, php, modules, mod_perl, etc. No biggie at all if it's your home server, but that's potentially a lot of downtime (ie: a couple of hours) as I compile, test, re-jig the config files, test more, etc. I'm in the same boat with postfix, running a 2.0.x when 2.2 or 2.3 is available, glib, mysql (I did an upgrade where some new utf8 flags were enabled and suddenly a bunch of databases were invalid because the encoding was different), postgres, sqlite (more that I'm not sure what they link to that might be affected) and some other system packages. Now most likely nothing will happen on upgrade, but with some users who do business and lots of mail of the server, I'd rather not take the chance if the current setup is working fine. Maybe I'm being overly paranoid and sensitive, but I've worked as a sysadmin long enough to have seen (and caused) way more oh oh moments when an upgrade of something did something it really wasn't supposed to. The source nature of gentoo doesn't help here either. IE: I'm unable to upgrade curl or net-snmp on my server as both of those link to php, and because my php is old and non-upgradeable due to the deprecated apache I still have installed, upgrading curl or net-snmp would (and has) broken php and therefor apache and therefor I got a call late at night wondering why things were suddenly broken. Now here gentoo also made it (fairly) easy to rollback, as I just copied curl-$newversion.ebuild to curl-$previousversion.ebuild (the old version was long gone IIRC), recompiled and it all worked. This would have been impossible with say, debian if a binary package had broken something as there's no real way to backout to a package you don't have anymore (and that exact thing bit me when my server was running debian and partially why I switched *to* gentoo!). So while you want to upgrade conservatively, you can't be too conservative or else your current package versions will disappear from out from under you. That having been said, gentoo has a nice habit of providing a really comfortable environment for the deployment of just about anything. And unlike Fedora / Redhat, Debian, and some others I've used, there aren't any surprises when you go to configure anything. Another yes and no from me. The no part comes from package re-organization by maintainers which bit users a while back with the apache config re-org and before that something similar done to X. Not a problem exclusive to gentoo, but still an issue if the distro is doing major shifts here and there. I hope no one thinks I'm slamming gentoo here. I really do like it and have been running it and being a faithful user for years. I've just also been a sysadmin long enough to be a bit paranoid about production servers which have too many things being upgraded too often. I think the secret is that if you run with gentoo you have to be prepared to upgrade EVERYTHING fairly often, and not bit by bit if you're uncomfortable
Re: [gentoo-user] WIn2003 interfering Samba ?
On Tue, 27 Nov 2007 16:24:01 +0100 (CET) [EMAIL PROTECTED] wrote: Hello, I have an Samba server as a PDC running in a local network. Everything works fine. Now we installed a Windows 2003 Small Business Server with MS SQL in the network, because one application needs the MS SQL Server.. Honestly I have no great knowledge of MS Server and Networks, so I left it pretty much untouched. Now two clients are not able anymore to access the shares on the samba server which an strange error message (in German in fact) meaning something like cannot retrieve informations from domain controller. I never saw that before and now i am concerned that the windows server is interfering somehow with the Samba PDC. Any ideas ? Hints ? Thanks Stonki Hi, If my memory serves well, I've read/heard somewhere that the SBS edition of MS Win2003 is pre-set to be The PDC. Assuming this is the case, my guess is that your Win2003 and the existing Gentoo SAMBA server are both declaring them selves as The PDC. Depending on different conditions in your network some clients see the SAMBA server as the PDC, and others see the MS SBS as the PDC. Again, I'm not sure about all this, so use it just as a hint in your investigation. -- Best regards, Daniel -- [EMAIL PROTECTED] mailing list