Re: [gentoo-ppc-user] KDE completely broken
quoth the Michael Hanselmann: Hi On Wed, Aug 29, 2007 at 09:12:43PM -0600, darren kirby wrote: It certainly doesn't like the fact my binaries are stripped. Here's what I could come up with: You need to recompile it with FEATURES=nostrip and possibly USE=debug. Don't forget to remove -fomit-frame-pointer from C{,XX}FLAGS, in case you have it. Depending on where the crash happens, you may have to recompile not only KDE, but also other packages from KDE's dependencies. Yes, I was afraid of that. I will rebuild kdelibs and kdebase to start, and see where that leads me. Greets, Michael -- http://hansmi.ch/ -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
[gentoo-ppc-user] KDE completely broken
Hello all, I am having troubles with all KDE apps since a recent upgrade to 3.5.7 from 3.5.5. At first I thought it was related to all the upgrade troubles with expat (which was upgraded to version 2 at the same time) however I am not so sure anymore. 'emerge -puD' reports nothing to update, and 'revdep-rebuild' says everything is kosher. Everything seems to work fine on this box now except for kde apps, and I have not found a single kde app that does work. I typically use kde as my default WM/Desktop. After the upgrade, when I 'startx' I get nothing but a black screen, except for the mouse cursor, which tracks across the desktop normally. Nothing else has an effect. So I changed to Fluxbox, and the desktop starts fine. When I attempt to start kde apps from an eterm I get (as example): $ konsole kbuildsycoca running... DCOP Cleaning up dead connections. Kcrash: Application 'konsole' crashing... $ Depending on the app, the output is similar, but not always identical. When I use strace when starting I can see that all the apps are segfaulting. I would post output here but the segfaults happen in different places depending on the app. Sometimes it is triggered by a read/write call, sometimes by a mprotect call and so on... Does anyone have an idea what might be wrong here? I realize I have not posted much useful information to diagnose this, but I am unsure how to troubleshoot further. I will certainly post output of any commands that may help... System is a Powermac G5, Kernel 2.6.20-gentoo-r5, 64 bit userland. Thanks for consideration, -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-ppc-user] Missing modules after kernel upgrade
quoth the Wernfried Haas: Hi, On Sun, May 20, 2007 at 09:23:36PM -0600, darren kirby wrote: So I have my answer. It raises another question though: Am I the only one who has modules go AWOL when doing make vmlinux make modules_install. If so, why? If not, should I be filing a bug against the docs? Which document are you refering to? The current docs seem to be in favour of # make make modules_install [1] already, just saw make vmlinux in some really old handbooks. Perhaps you are still using an outdated version? I thought I was going crazy (I searched through all the handbooks), but it has 'make vmlinux' in the PPC64 2007.0 guide [1] Code Listing 9. I'll check for a relevant doc bug. HTH cheers, Wernfried Thanks! -d [1] http://www.gentoo.org/doc/en/handbook/2007.0/handbook-ppc64.xml?part=1chap=7 -- 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
[gentoo-ppc-user] Soundcard disable nic?
Well, I had hoped to start using the G5 as my main desktop. Towards those ends I purchased an M-audio Revolution 5.1 soundcard, as it is listed as supported under both OS X and Linux, and the onboard sound cannot handle my 5.1 speaker system. I physically installed the card, fired up OS X, installed the drivers, rebooted and tested. It works fine (as does networking). I then boot up Gentoo to test it there. My initscripts start throwing errors along the lines of device eth0 does not exist. Networking fails. Indeed, when I try ifconfig eth0 up it gives the same error: eth0 does not exist, confirm hardware and/or drivers. Well, here's my dmesg: # dmesg | grep eth0 eth0: Sun GEM (PCI) 10/100/1000BaseT Ethernet 00:0a:95:8f:4c:50 eth0: Found BCM5421-K2 PHY eth0: Link is up at 1000 Mbps, full duplex # grep /usr/src/linux/.config SUNGEM CONFIG_SUNGEM=y # lspci | grep Ethernet nothing So where did the nic go? Could this be a conflict with the new soundcard? The nic is just the regular onboard that comes with the G5. Here is the lspci output for the soundcard: 0001:06:03.0 Multimedia audio controller: VIA Technologies Inc. VT1720/24 [Envy24 PT/HT] PCI Multichannel Audio Controller. Of course, the bloody soundcard doesn't seem to work either, but that's an issue for after I get networking back. Any ideas here? I can post output of other commands if you think it will help (though I have to copy by hand because of the no-networking deal). Thanks for consideration, -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 -- gentoo-ppc-user@gentoo.org mailing list
[gentoo-ppc-user] Soundcard disable nic? [solved]
Sorry to reply to self so soon. I figured I'd swap PCI slots. What do you know, ethernet works. Not very happy though, as the sound card is about 2mm away from the heatsink of my AGP card now... Try to see what's up with sound now. Don't be surprised if I'm back in an hour about that issue ;) Sorry for the noise, -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 -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] xorg not working.
quoth the Joseph Jezak: Good morning Joseph, Alright, one more thing to test, can you try adding: Option UseFBDev boolean With either false or true? Stick with it, we'll get it working ;) -Joe Yeah!!! That's the one. Added UseFBDev true and it fired right up. Thank you so much for the help. Interestingly, I accidentally deleted the xorg.conf that I had modified (I just woke up, no coffee yet), so the one that ended up working was another stock Xorgautoconfig generated one with only the above line added. Again, thanks so much, I really appreciate it. ;) -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 -- gentoo-ppc-user@gentoo.org mailing list
[gentoo-ppc-user] xorg not working.
Yeah well, me again. Seems I'm the only one having trouble with PPC these days. I got Xorg 7.1, fluxbox, and KDE installed. After creating an xorg.conf with Xorgautoconfig I quickly realized I indeed had the problem hinted at re: VGA BIOS. So I ~ppc64 keyworded xf86-video-ati and emerged version 6.6.3 which applies the patch that was also hinted at. The results are identical however. X starts and is running, as is fluxbox, but there is nothing on my screen. The only difference is that this time the power LED on my montor goes out when I start X, whereas before it stayed on. Also, there is a difference in Xorg.0.log: X now seems to think that I have a second CRT monitor attached!? (II) RADEON(0): Primary: Monitor -- TMDS Connector -- DVI-D DAC Type -- TVDAC/ExtDAC TMDS Type -- Internal DDC Type -- DVI_DDC (II) RADEON(0): Secondary: Monitor -- CRT Connector -- VGA DAC Type -- Primary TMDS Type -- External DDC Type -- VGA_DDC I have tried with the default xorg.conf that was generated, and I tried all manner of tweaks that I gleamed from gentoo-wiki, man xorg.conf, and man radeon. I have tried commenting and uncommenting individual Options from xorg.conf but the result is always the same. I have tried dropping down to 16 bit color depth and down to 1600x1024 resolution, with no joy. Can anyone even confirm that they have gotten an 23 cinema display and a radeon 9600 to work with Xorg? I would _really_ love to see your xorg.conf if you have. I don't know what else to say. There are no errors in my log (though there are some warnings). If you want/need further information just let me know... I have posted the log and my current conf file in my webspace: http://badcomputer.org/xorg.conf.txt http://badcomputer.org/xorg.log.txt xorg-x11-7.1 mesa-6.5-r3 xf86-video-ati-6.6.3 PowerMac G5 2x 2.0GHz Ati Radeon 9600 23 Apple Cinema Display I would appreciate any ideas. -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 -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] xorg not working.
quoth the Louis Hey: Try Xorgconfig auto will not work for my mac I have Dual 1.8 17 Studio also check the video ram amount That has helped to get X running fine every time Good Luck I gave it a shot, but it didn't work. The xorg.conf that Xorgautoconfig came up with was much superior... -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 -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] New install fails to boot.
quoth the Joseph Jezak: Again I rebooted, and all seems fine. It boots from a CD, it boots OS X just fine, but the one constant throughout all my attempts is that when trying to boot Linux, it prints this cryptic message and hangs: found display :/[EMAIL PROTECTED],f000/ATY,[EMAIL PROTECTED]/ATX, [EMAIL PROTECTED], opening... This issue is almost always a result of not including the proper Framebuffer drivers. -Joe Hi. I did make sure I included support for 'radeon framebuffer'. I noticed I did not include support for USB monitor, so that may have been the culprit. In any event, I am up and running now (thanks to the config I found at the wiki) so all is good! Just building kde now, and will attempt Xorg configuration tomorrow... -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 -- gentoo-ppc-user@gentoo.org mailing list
[gentoo-ppc-user] RE: Installing Gentoo on a Powermac G5
Note: Sorry if this shows up twice, but both my responses (to David and Joseph) seem to have been lost in a black hole... quoth the David Gurvich: The video should not be a big problem. If you are going to use xorg-7.1, make sure to apply the patch to the ati driver. I could not get xorg.conf set up correctly, until Xorgautoconfig gave me a starting point. I imagine I will use 7.0. Is putting: VIDEO_CARDS=radeon in make.conf enough to get the drivers I need? Sorry for the stupid questions, but all my x86 boxes have nVidia cards, and I have never used an ATI card with Linux... I haven't used ppc64, but many of the developers are doing so. In fact, I've had to add ppc to ebuilds that had ppc64 in the KEYWORDS, but not ppc. I don't know about mixing ppc32 and ppc64 apps, but perhaps a chroot environment such as that used in amd64 might be possible. After going through the package database pretty much all the software I absolutely require is stable for PPC64, so I guess I'm all good. -d -- http://badcomputer.org -- gentoo-ppc-user@gentoo.org mailing list
[gentoo-ppc-user] RE: Installing Gentoo on a Powermac G5
Note: Sorry if this shows up twice, but both my responses (to David and Joseph) seem to have been lost in a black hole...(Resending from gmail). quoth the Joseph Jezak: 1. OS X is on the first sata drive, Gentoo will be on the second. Is it still necessary to create the 'apple_bootstrap' partition if Gentoo will be on its own complete disk? Yes. Open Firmware looks for a HFS blessed partition to boot from, which is all the apple_bootstrap partition actually is. It contains a copy of yaboot as well. When ybin runs, it will tell OpenFirmware to boot from this device (well, that what the nvram write is for. If your kernel doesn't have nvram support, you'll have to set this manually). Note that it doesn't really matter which disk this partition is on, but it's preferred to have it before the OSX partition so that if OSX resets the nvram, it will be the first blessed HFS partition found and still boot as normal. Ok. I suppose I should have explained better. OS X is already installed, so I imagine the bootstrap partition is already on the OS X disk right? Sorry to be thick, but you say 'it doesn't matter which disk' it is on, so as long as it is on one of them that's OK? I should say here, my SATA drive just arrived an hour ago, and I installed it and booted OS X, and it seems the drives were reversed, that is, the old disk is disk 1, and the new one is disk 0. Does this make a difference... I guess I'll just make the partition anyway, as I don't believe it takes a whole lot of space. 2. If I follow the PPC64 guide does this give me the 64bit userland? If so, is there enough (hard) unmasked software to use this as a general desktop machine? Is all software in the package database marked stable under PPC64 64bit userland software? Can I mix and match PPC32 and PPC64 software? Any and all information on this issue would be most helpful, as I don't think I completely understand it (I don't have an x86-64 machine so I am mostly ignorant of 64bit issues). I can't speak too much for ppc64 (I only have ppc32 machines), but you have a few options. A pure ppc64 machine won't work with everything. For instance, there are issues with Mozilla based applications and ppc64, but KDE (and konqueror) should work great. You can also run a 32bit UL very easily and for desktop usage this is the recommended configuration afaik. I'm not sure about a mixed environment. Ok, I see on the mirrors there are PPC64 32 bit UL and 64 bit UL tarballs. To tell the truth I am planning on using KDE anyway (and I can live without firefox) , so I think I will give the 64bit a shot. If it doesn't work out for me I will just do a reinstall. No big whoop. Just playing around for now anyway. Just to confirm, the packages in the database that are under PPC64 arch are the 64 bit userland apps right? I have already checked and everything I want/need is stable for PPC64... 3. I have the 23 inch Cinema display and a ATI Radeon 9600 Pro vidcard. Are there drivers that can make this setup work? I ask because I booted the machine with a Kubuntu PPC livecd to play around and while the cli worked, when it came time for X to start the screen went black and I was forced to do a hard reset. I am not sure if this was just a problem with Kubuntu, or some other reason. I am not too concerned with hardware acceleration or anything, at most I just want to be able to watch DVDs. This should work just fine with DRI as well. I have a Radeon 9600 in my PB and it works very nicely with OpenGL acceleration, etc. :) Sounds good! I responded to David's post but it seems to not have made it to the list. In that post I asked if all I needed to do was add: VIDEO_CARDS=radeon to make.conf to get the drivers I need (assuming xorg 7.0). Is this right? Hope that helped, -Joe Sure did, thanks a lot, -d -- http://badcomputer.org -- gentoo-ppc-user@gentoo.org mailing list
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