Re: [gentoo-ppc-user] Glibc pooched. Borked system.
quoth the David Bélanger: On Wed, Dec 07, 2005 at 09:33:14PM -0800, darren kirby wrote: Did you try the glibc on the installation/Live CDs? If there is no packages, simply copy all the glibc files over and try it. I have the universal install disk. The glibc package here will just be source code wont it? I guess I could just re-unpack the stage 3 file, but I am unsure how this will affect the packages I have already installed/updated, such as everything you do after unpacking the stage tarball in the install guide. I am unsure of how to separate the glibc files from the rest in the stage tarball. Basically, if you don't want to reinstall, you need a good glibc and a good toolchain (gcc, binutils). Once you have that, rebuild glibc. 2. Is this problem a sign of things to come? Is gentoo on ppc not stable enough to use as a server? Any advice from experts on this? Gentoo is not really design for production environments because you have no guarranty if all packages have been tested with the exact same settings, lib version, gcc version, etc. as you. Well, I am well aware of the strengths/weaknesses of gentoo. I should say that my current server, ie: the one I am trying to replace with this G4 box, has been running gentoo for a couple years with no problems. It does not really have things to do with the ppc architecture itself. Perhaps not, but I have run into this glibc problem in the first day! So what I am trying to find out is if the packages I will be relying on (apache, exim, mysql, named etc...) are reliable enough to use on this platform. I would recommend using an other operating system than Gentoo for your server if keeping it running 24/24 and smoothly is an issue. Also, for servers, you probably don't want to do updates other than security updates. The server just runs my personal web/mailserver publically, and does pop3 and DNS service for the private network behind it. I don't think you could call this a production server with a strait face. While I do strive for reliability with it, the worst that can happen if it goes down is bounced mail, and Unknown host messages for those trying to view my webpages. My more pressing concern is for security. I am currently running a hardened kernel and toolchain, and would like to do the same with this one. David Thanks for the reply, -d --- David Bélanger Web page: http://www.cs.mcgill.ca/~dbelan2/ Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt -- 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 pgp53MfhFd4PF.pgp Description: PGP signature
[gentoo-ppc-user] mounting USB flash disk
I am running Gentoo linux and have had problems mounting USB flash drives. I was wondering if someone could give me steps on how to mount (the device shows up on /proc/bus/usb/devices as Crucial Gizmo, and says: T: Bus: 02 Lev=01 Port=00 Cnt=-1 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=00(ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 Vendor=0634 ProdID=3400 Rev= 0.01 S: Manufacturer=Crucial S: Product=Gizmo S: SerialNumber=XXX C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=120mA I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage E: Ad=81(i) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms from what I know of USB, I think the e: lines are endpoints, and some of the rest is obvious. However, when I try mac-fdisk /dev/sdX(a,b,c,or d), it doesn't find the device. I am on a powerbook G4 800mhz and it is plugged into the back of the computer (port 2). Does anyone know how to solve this problem? thanks nick -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] Glibc pooched. Borked system.
On Sat, Dec 10, 2005 at 01:12:05PM -0800, darren kirby wrote: quoth the David Bélanger: On Wed, Dec 07, 2005 at 09:33:14PM -0800, darren kirby wrote: Did you try the glibc on the installation/Live CDs? If there is no packages, simply copy all the glibc files over and try it. I have the universal install disk. The glibc package here will just be source code wont it? I guess I could just re-unpack the stage 3 file, but I am unsure how this will affect the packages I have already installed/updated, such as everything you do after unpacking the stage tarball in the install guide. I am unsure of how to separate the glibc files from the rest in the stage tarball. If you can boot a Live/Installation CD, there will be a glibc on the / filesystem mounted by the kernel. To get a list of files, you can use the database on your disk: /var/db/pkg/sys-libs/glibc-*/CONTENTS Basically, you just want to have a valid set of files so that you can rebuild glibc. I erased before coreutils (ls, rm, cp, etc.) and I simply copied all of them from my Debian partition. For some weird version the ones on the Gentoo CD were not working... Once, I had valid binaries, I just re-emerged coreutils and everything was fine. Anyway, you might want to consider adding buildpkg to FEATURES in /etc/make.conf. That way, next time something goes wrong you just re-installed the previous version. buildpkg will do a tarball for everything that gets installed on your system. So, you never get stuck by not have a pre-compiled package. In any case, you can always extract the full base tarball from the installation CD. You will get more than what is needed but you wont have to reinstall. It messes a little the system but you can always remove later any files not owned by any installed ebuilds. David --- David Bélanger Web page: http://www.cs.mcgill.ca/~dbelan2/ Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt -- gentoo-ppc-user@gentoo.org mailing list