Re: [gentoo-ppc-user] yaboot has kicked my butt - 5 times?!
Okay, so we fixed the first thing. That's good. :) Can you attach your whole kernel config? I'm wondering if maybe udev isn't running properly due to a misconfiguration. -Joe Attached unless GMail does something to it. Thanks, Mark Another busy week, but I think we might have your answer. Disable these options in your kernel config, recompile and give it a try: CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y I think these options interfere with udev. -Joe
Re: [gentoo-ppc-user] yaboot has kicked my butt - 5 times?!
On 10/07/10 14:29, Mark Knecht wrote: On Thu, Oct 7, 2010 at 10:34 AM, Joseph Jezak jos...@gentoo.org wrote: Okay, so we fixed the first thing. That's good. :) Can you attach your whole kernel config? I'm wondering if maybe udev isn't running properly due to a misconfiguration. -Joe Attached unless GMail does something to it. Thanks, Mark Another busy week, but I think we might have your answer. Disable these options in your kernel config, recompile and give it a try: CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y I think these options interfere with udev. -Joe Thank you Joe. For the first time in a couple of months the machine just booted. Note that I didn't easily find CONFIG_SYSFS_DEPRECATED in make menuconfig so I only disabled CONFIG_SYSFS_DEPRECATED_V2 which was enough to allow it to boot. I took a quick look at the PPC install guide and frankly I don't see instructions there to disable this option, although I have done this on other machines. Is it just me or are the instructions actually not in the kernel config section. If they are truly missing then it would be great if someone could update that. Anyway, it seems completely unreasonable for me, after all this, to just say thanks for the help. It doesn't begin to represent how appreciative I am of the time you spent looking into this with me. I really am indebted. Cheers, Mark No problem! I'm glad it's working. The documentation has not been updated recently, and it's on my list of things to do. Unfortunately, so are a lot of other things. :) I've added it to my documentation fix it list, I'll make sure to get this added to the documentation as soon as I find some free time. Most people aren't hit by the bug because when udev is installed, it warns that these options will cause problems. You got lucky I guess! :) Glad you stuck with it! -Joe
Re: [gentoo-ppc-user] yaboot has kicked my butt - 5 times?!
Sorry, I've had a busy week and didn't have time to respond! OK - to me this doesn't look good: # mount -t procfs none /proc mount:none has wrong device number or fs type procfs not supported Sorry, that was my mistake, I was running from memory. :) You have the right invocation below. on the off chance you menat proc instead of procfs I tried it that way and got a slightly more reasonable message: # mount -t proc none /proc can't create lock file /etc/mtab~1038: Read-only file system (use -n flag to override) Now, try fsck.ext3 again. Does it work? Worked fine. fsck.ext3 said it was clean Cool, so now we know that fsck is fine. Next, let's remount the root file system read/write so we can modify files: # mount -o remount,rw / Seemed to work. Got this message: EXT3-fs: (hda4):using internal journal We'll copy the current mount information from proc to /etc/mtab and see if that helps: # cp /proc/self/mounts /etc/mtab # mount -o remount,ro / Now, try fsck.ext3 again. Does it work? If so, try rebooting the system again. Does it boot now? Didn't boot but got a little farther. Doesn't complain about mtab anymore but still complains: * Checking root filesystem... fsck.ext3: No such file or directory while trying to open /dev/hda4 /dev/hda4: The superblock could not be read.. Okay, so we fixed the first thing. That's good. :) Can you attach your whole kernel config? I'm wondering if maybe udev isn't running properly due to a misconfiguration. -Joe
Re: [gentoo-ppc-user] yaboot has kicked my butt - 5 times?!
On 09/22/10 23:33, Mark Knecht wrote: On Wed, Sep 22, 2010 at 6:33 PM, Joseph Jezak jos...@gentoo.org wrote: On 09/22/10 18:59, Mark Knecht wrote: Hi, OK, I'm dead tired. I admit it - yaboot has kicked my butt this time around. Can anyone help? I did post this problem here 2-3 weeks ago but still haven't been able to solve the problem so I'm back to the well for another drink. The machine is the original 80GB PPC Mac Mini. I used to run Gentoo on it and it ran great for years so I know at one time yaboot worked just fine. For various reasons I hadn't updated it in a long, long time (2 years) and instead of trying to go through the Gentoo update process which is difficult after that much time I decided to just do a new install. I saved copies of my kernel config and etc/make.conf but unfortunately, being primarily an x86 guy didn't think to save yaboot.conf and fstab. I've now done 5 complete Gentoo installs, starting over from scratch in case something I was doing was messing things up but so far I cannot get the machine to boot. Every time, no matter what I do at install time, I get a message Can't check if filesystem is mounted due to a missing mtab file A somewhat out of focus screen shot is shown here: http://www.flickr.com/photos/29328...@n03/5014227831 Generally speaking I'm following the Gentoo PPC install guide located here: http://www.gentoo.org/doc/en/handbook/handbook-ppc.xml?part=1chap=10 SNIP After looking at the screen shot, I think I have a different idea as to why it might be failing and I don't think it's Yaboot. If you've gotten to init, yaboot's job is already done. Can you boot the install CD and chroot into the install again? When you get it up and running, check to see if fsck.ext3 exists. Even if it does, re-emerge e2fsprogs and see if that helps. -Joe Very interesting. OK - I'm in the chroot now and reinstalling e2fsprogs as you suggest. I'll reboot in a minute and check if it helped. (OK - I rebooted and it didn't fix anything unfortunately. Too bad. Thanks for the idea though.) I was wondering if this was one of those things where device names were changing. They were hda all through the install, which is different from the Install Guide. I've tried to adjust my yaboot.conf file accordingly but maybe it cannot find the disk at that point because the name changed or something. I cannot see anything in the boot screen to indicate that but I suppose it's possible. While I'm here in the chroot I decided to poke around a bit. Note that section 9d of the install guide says that e2fsprogs is already installed as part of the system and indeed it appears to be as shown below. However I note that I cannot run updatedb for slocate without also getting a message about /etc/mtab not existing. Should mtab exist withing the chroot? (chroot) livecd / # emerge -pv e2fsprogs These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-fs/e2fsprogs-1.41.11 USE=nls 4,368 kB Total: 1 package (1 reinstall), Size of downloads: 4,368 kB (chroot) livecd / # slocate fsck.* slocate: fatal error: Could not find user database '/var/lib/slocate/slocate.db': No such file or directory (chroot) livecd / # updatedb updatedb: fatal error: load_file: Could not open file: /etc/mtab: No such file or directory updatedb: fatal error: parse_fs_exclude: Could not load file data: /etc/mtab ^C (chroot) livecd / # Indeed, on a different system /etc/mtab exists: gandalf ~ # cat /etc/mtab /dev/sda3 / ext3 rw,noatime,commit=0 0 0 proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0 sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 udev /dev tmpfs rw,nosuid,relatime,size=10240k,mode=755 0 0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0 /dev/sda5 /home/herb ext3 rw,noatime,commit=0 0 0 shm /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 none /proc/fs/vmblock/mountPoint vmblock rw 0 0 gandalf ~ # However on my MacMini it simply doesn't exist: (chroot) livecd / # ls -la /etc/mtab ls: cannot access /etc/mtab: No such file or directory (chroot) livecd / # So the question is what provides mtab? Have I missed some step in the install process 5 times? Man, that would be embarrassing but I'd gladly suffer the shame if I got the machine working! ;-) Thanks for your help. Still looking. Cheers, Mark mtab is generated on boot as you mount devices. It's not the problem here. Can you try adding this line to your yaboot config? It will make the system boot directly into a shell instead of starting init: ### Put this in the kernel section append=init=/bin/bash Once this boots, does hda* exist in /dev? How about /dev/null and /dev/zero? -Joe
Re: [gentoo-ppc-user] yaboot has kicked my butt - 5 times?!
On 09/23/10 12:17, Mark Knecht wrote: On Thu, Sep 23, 2010 at 7:10 AM, Joseph Jezak jos...@gentoo.org wrote: SNIP mtab is generated on boot as you mount devices. It's not the problem here. Can you try adding this line to your yaboot config? It will make the system boot directly into a shell instead of starting init: ### Put this in the kernel section append=init=/bin/bash Once this boots, does hda* exist in /dev? How about /dev/null and /dev/zero? -Joe OK, so I did it like this: boot=/dev/hda2 #device=/p...@f400/at...@d/d...@0: device=hd: timeout=30 install=/usr/lib/yaboot/yaboot magicboot=/usr/lib/yaboot/ofboot image=/boot/kernel-2.6.34-gentoo-r1 label=Gentoo-2.6.34-r1 append=init=/bin/bash partition=4 root=/dev/hda4 read-only and ran ybin -v When I reboot I have no keyboard and cannot probe around. The screen is showing (none) / # The kernel boots with printk timing info on each line, and then finishes with two messages: bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell and at that point the machine is hung. So this seems like it's just not finding the hardware at this point? No disk? No keyboard? If you want to see the whole screen I can post another screen shot on Flickr. Thanks for the interest and help. I'm sure we'll figure it out. - Mark Okay, that all looks fine. Are you sure that you built USB keyboard support into your kernel? This might be why it wouldn't let you type. I wouldn't mind seeing another screen shot either. Once you get keyboard support working, check to see if those device nodes exist. -Joe
Re: [gentoo-ppc-user] yaboot has kicked my butt - 5 times?!
On 09/22/10 18:59, Mark Knecht wrote: Hi, OK, I'm dead tired. I admit it - yaboot has kicked my butt this time around. Can anyone help? I did post this problem here 2-3 weeks ago but still haven't been able to solve the problem so I'm back to the well for another drink. The machine is the original 80GB PPC Mac Mini. I used to run Gentoo on it and it ran great for years so I know at one time yaboot worked just fine. For various reasons I hadn't updated it in a long, long time (2 years) and instead of trying to go through the Gentoo update process which is difficult after that much time I decided to just do a new install. I saved copies of my kernel config and etc/make.conf but unfortunately, being primarily an x86 guy didn't think to save yaboot.conf and fstab. I've now done 5 complete Gentoo installs, starting over from scratch in case something I was doing was messing things up but so far I cannot get the machine to boot. Every time, no matter what I do at install time, I get a message Can't check if filesystem is mounted due to a missing mtab file A somewhat out of focus screen shot is shown here: http://www.flickr.com/photos/29328...@n03/5014227831 Generally speaking I'm following the Gentoo PPC install guide located here: http://www.gentoo.org/doc/en/handbook/handbook-ppc.xml?part=1chap=10 I've tried both the yabootconfig method as well as manual route. Nothing works for me so far. THey both fail the same way. It's not in the photo but all the way through the boot the kernel calls the hard drives /dev/hda so I'm assuming that's correct in fstab. The kernel is 2.6.34-gentoo-r2 and the kernel config file is attached. ext3 is built into the kernel so that shouldn't be a problem. I built the kernel using the older 2.6.31 kernel config I saved. As a _hardware_ test I reinstalled the old OS X that came with the machine and it boots fine. I blew it away and installed Ubuntu 10.04 for the PPC and it boots fine, but Ubuntu uses and initrc which I've never used before with Gentoo. (And why on this machine as the hardware is fixed has kernel drivers.) I'm a long time Gentoo user. The main Gentoo install seems to work fine on this machine. As best I can tell it's only the yaboot stuff not booting that's holding me up from using this little machine again. Can anyone see what I've done wrong? Thanks, Mark livecd ~ # mount /dev/hda4 /mnt/gentoo livecd ~ # mount -t proc none /mnt/gentoo/proc livecd ~ # mount -o bind /dev /mnt/gentoo/dev livecd ~ # mount -o bind /sys /mnt/gentoo/sys livecd ~ # chroot /mnt/gentoo /bin/bash livecd / # env-update Regenerating /etc/ld.so.cache... livecd / # source /etc/profile livecd / # export PS1=(chroot) $PS1 (chroot) livecd / # cat /etc/yaboot.conf boot=/dev/hda2 #device=/p...@f400/at...@d/d...@0: device=hd: timeout=30 install=/usr/lib/yaboot/yaboot magicboot=/usr/lib/yaboot/ofboot image=/boot/kernel-2.6.34-gentoo-r1 label=Gentoo-2.6.34-r1 partition=4 root=/dev/hda4 read-only (chroot) livecd / # mac-fdisk -l /dev/hda /dev/hda #type name length base ( size ) system /dev/hda1 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map /dev/hda2 Apple_Bootstrap bootstrap 1600 @ 64 (800.0k) NewWorld bootblock /dev/hda3 Apple_UNIX_SVR2 swap 2097152 @ 1664 ( 1.0G) Linux swap /dev/hda4 Apple_UNIX_SVR2 root 154202672 @ 2098816 ( 73.5G) Linux native Block size=512, Number of Blocks=156301488 DeviceType=0x0, DeviceId=0x0 (chroot) livecd / # cat /etc/fstab /dev/hda4 /ext3noatime 0 1 /dev/hda3 none swapsw 0 0 /dev/cdrom /mnt/cdrom autonoauto,user 0 0 proc/procprocdefaults 0 0 shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 (chroot) livecd / # ybin -v ybin: Finding OpenFirmware device path to `/dev/hda2'... ybin: Installing first stage bootstrap /usr/lib/yaboot/ofboot onto /dev/hda2... ybin: Installing primary bootstrap /usr/lib/yaboot/yaboot onto /dev/hda2... ybin: Installing /etc/yaboot.conf onto /dev/hda2... ybin: Setting attributes on ofboot... ybin: Setting attributes on yaboot... ybin: Setting attributes on yaboot.conf... ybin: Blessing /dev/hda2 with Holy Penguin Pee... ybin: Updating OpenFirmware boot-device variable in nvram... (chroot) livecd / # ls -al /boot/kernel* -rwxr-xr-x 1 root root 5547992 Sep 22 11:06 /boot/kernel-2.6.34-gentoo-r1 (chroot) livecd / # exit exit livecd ~ # umount /mnt/gentoo/proc /mnt/gentoo/dev /mnt/gentoo/sys /mnt/gentoo livecd ~ # livecd ~ # After looking at the screen shot, I think I have a different idea as to why it might be failing and I don't think it's Yaboot. If you've gotten to init, yaboot's job is already done. Can you boot
Re: [gentoo-ppc-user] xorg.conf for Mac G4 mini
SubSection Display Depth8 Virtual640 400 Modes640x400 720x400 640x480 640x480 EndSubSection These modes are picked by xac (and probably the X server as well) because if you look at the EDID reported by your monitor, these are the modes it supports: ET: [[720, 400, 70], [640, 480, 75], [640, 480, 67]] (the last 640x480 comes from the DT section which is the detailed timing) How is your monitor attached? Does it produce a correct EDID elsewhere? I looked up the model # (from the EDID) and it appears that you are correct in using a 1024x768 default (although the manual suggests a 75Hz refresh). In light of this, I would completely remove the Modes section and UseModes, HorizSync and VertRefresh lines from your xorg.conf and keep the screen size at 1024x768. I would also add the the line: Option IgnoreEDID True to the Device section to force the driver to ignore this incorrect edid information. Now, in the second email, it appears that X is starting properly, perhaps there is an issue with your wm/desktop. Can you install a minimal wm (like fluxbox or twm) and put that in your .xinitrc, then run startx again? Does this bring you to a working desktop? -Joe
Re: [gentoo-ppc-user] xorg.conf for Mac G4 mini
David Friedlander wrote: Hello, all! I'm having the damnedest time getting X to run on my Mac Mini 1.25Ghz (Radeon 9200 processor). I've wasted a lot of time following various web instructions, but to no avail. One issue, of course, is the right xorg.conf file. Another one may be (in some people's opinion is) arguments to the Linux kernel/yaboot. I see on this list that there has been some discussion on this subject. However, the configuration files that apparently were once posted on web sites are no longer available. I wonder if anyone who has done this would be willing to part with the sacred mysteries. David To begin with, as directed in the Gentoo PPC FAQ, make sure that you've set the correct framebuffer device. You can check which one you have set by running Xorgautoconfig --dump. If you could paste that info into a message, that would be helpful too. What exactly is the problem that you're having? Most machines actually configure themselves automatically now without an xorg.conf file. -Joe
Re: [gentoo-ppc-user] xorg.conf for Mac G4 mini
Joseph Jezak wrote: David Friedlander wrote: Hello, all! I'm having the damnedest time getting X to run on my Mac Mini 1.25Ghz (Radeon 9200 processor). I've wasted a lot of time following various web instructions, but to no avail. One issue, of course, is the right xorg.conf file. Another one may be (in some people's opinion is) arguments to the Linux kernel/yaboot. I see on this list that there has been some discussion on this subject. However, the configuration files that apparently were once posted on web sites are no longer available. I wonder if anyone who has done this would be willing to part with the sacred mysteries. David To begin with, as directed in the Gentoo PPC FAQ, make sure that you've set the correct framebuffer device. You can check which one you have set by running Xorgautoconfig --dump. If you could paste that info into a message, that would be helpful too. What exactly is the problem that you're having? Most machines actually configure themselves automatically now without an xorg.conf file. -Joe Haha, I can tell it's been a while since I've helped people with X issues. :) The application you should be using for X issues is xac now, which replaced Xorgautoconfig. I wrote both of them, you'd think I'd be able to keep it straight... -Joe
Re: [gentoo-ppc-user] what happened to mkfs.hfsplus
mattmat...@mac.com wrote: i have hfsplusutils and hfsutils installed and can not find any util to make an hfs+ filesystem. i recall formatting several times before in the past. could anyone tell me how to format hfs+ or where mkfs.hfsplus went? matt It's part of diskdev_cmds, Apple's tools for working with HFS+ filesystems. -Joe
Re: [gentoo-ppc-user] yabootconfig: /dev/ROOT: No such file or directory why?
mv.1001 wrote: Hi, I have a problem here. I follow everything step by step from handbook. but it always stopped here. I tried many time and searched it in google. but Can't find answers. the problem is: After I install yaboot in chroot environment. then I exit it, and try yabootconfig --chroot /mnt/gentoo. but I got yabootconfig: /dev/ROOT: No such file or directory. I guess it's fstab problem, but how to mount Apple_Bootstrap in fstab? Anyone can help me? Thanks in Adv. James You're close with suspecting that it's an fstab issue, but the issue is actually that you haven't defined your root partition in the fstab. This is set to a nonsense value of /dev/ROOT by default and it must be changed before running yabootconfig. With the default partition layout shown in the handbook, the root partition line would be changed to say /dev/hda3. Hope that helps, -Joe
Re: [gentoo-ppc-user] KDE completely broken
darren kirby wrote: 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 Well, that doesn't sound good. :) Can you try using gdb to get a backtrace? Maybe they're all segfaulting when using the same library/function call. A backtrace from gdb would help us see that. -Joe -- [EMAIL PROTECTED] mailing list
Re: [gentoo-ppc-user] xorg not working.
darren kirby wrote: 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 Well, two suggestions here: 1. From the radeon man page: Option ReverseDDC boolean When BIOS connector informations aren't available, use this option to reverse the mapping of the 2 main DDC ports. Use this if the X serve obviously detects the wrong display for each connector. This is typically needed on the Radeon 9600 cards bundled with Apple G5s. The default is off. 2. Try adding Option MergedFB false It looks like it's detecting both heads, not monitors attached to both heads. If that doesn't work, please let us know. :) -Joe -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] xorg not working.
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 Well, as the author of Xorgautoconfig, what was the problem? :) Can you post the config generated from each so I can fix it? -Joe -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] New install fails to boot.
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 -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] Installing Gentoo on a Powermac G5
darren kirby wrote: Hello all, Hardware: PowerPC G5, dual 2GHz CPUs, 1.5GB RAM I am no stranger to installing Gentoo, but I have questions that don't appear to be answered in the PPC64 handbook. I am waiting for a new SATA drive here, and when it arrives I intend to install Gentoo on it. A few Qs: 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. 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. 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. :) Apropos, if any one has the same, or a similar setup I would love if you could send me your xorg.conf. Not really required, just use Xorgautoconfig and it should work fine. With that display you will probably also need to set the reduced blanking setting. Again, I am very familiar with Gentoo, but have little knowledge of PPC hardware and 64 bit issues...pointers to docs that explain differences and ramification on this topic would be great. Thanks for consideration. -d Hope that helped, -Joe -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] Mac on Linux?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OK, fine, in the kernel. I did a genconfig --menuconfig and couldn't find these options in the menus. So, do I need to specify them on the genconfig command line? And if so, what is the proper way? I did a genconfig --help but got little support from that. There is no man entry for genconfig. Thank you SO MUCH for all the help you are giving me, I REALLY appreciate it. No worries. :) Okay, so a trick to find things in the menuconfig is to use the / key. This lets you search for an option to enable. You should be able to find the options previously mentioned in your config using this trick. - -Joe -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEX3miwGq7BLLARfoRAmNMAJ4/2OzYrBWm9rQAkoLklJ7wbcJbWQCg00Ol 82cZExQHXqms3nA9PqJKDdc= =vuPd -END PGP SIGNATURE- -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] Mac on Linux?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark M. Hart wrote: Mac-on-Linux 0.9.71-pre8 [May 6 2006 11:12] Copyright (C) 1997-2004 Samuel Rydh Starting MOL session 0 The kernel module '/usr/lib/mol/0.9.71/modules/2.6.15-gentoo-r1/sheep.o' appears to be missing. Running in PowerPC 750 mode, 96 MB RAM Timebase: 16.70 MHz, Bus: 66.82 MHz, Clock: 233 MHz Using USB mouse on /dev/input/mice OHCI USB controller registered Could not open '/var/lib/mol/x11.kbd' Fullscreen video on VT 9. Could not open '/var/lib/mol/console.kbd' Cache enabled for console-video Video driver(s): [xvideo] [console_video] 640* 480, depth 8,15,32 { 59.9, 72.1, 74.9, 89.9, 99.7 } Hz 640* 480, depth 8 { 116.6 } Hz 800* 600, depth 8,15,32 { 56.2, 60.3, 70.0, 72.1, 89.9 } Hz 800* 600, depth 8 { 94.8 } Hz 800* 600, depth 8,15,32 { 99.9 } Hz 1024* 768, depth 8,15,32 { 60.0, 70.0 } Hz 1024* 768, depth 8 { 74.8 } Hz 1024* 768, depth 8,15,32 { 75.0 } Hz 1152* 768, depth 8,15,32 { 54.7 } Hz 1280* 854, depth 8,15,32 { 60.0 } Hz 1152* 864, depth 8,15,32 { 59.9 } Hz 1280*1024, depth 8,15,32 { 0.0, 60.0, 60.0 } Hz 1440* 960, depth 8,15 { 0.0 } Hz 1600*1024, depth 8,15 { 0.0 } Hz 1600*1200, depth 8,15 { 0.0 } Hz 1680*1050, depth 8,15 { 0.0 } Hz - Can't open /dev/sheep_net, please check module is present ! Failed to initialize the sheep-eth0 device FATAL: Module ip_tables not found. iptables v1.3.4: can't initialize iptables table `nat': iptables who? (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. Ethernet Interface (port 1) 'tun-tun0' @ 00:00:0D:EA:DB:EE ip/mask: 192.168.40.2/255.255.255.0 gw: 192.168.40.1 broadcast: 192.168.40.255 nameserver: 192.168.40.1 Signal INT One more to kill emulator Signal INT One more to kill emulator Thanks! Mark M. Hart You'll need to take a look at what the ebuild says when you emerge it, there's a list of kernel components you need to add. It looks like you're missing IP Masquerading and the sheep module I mentioned that you would need. - -Joe -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEXjzswGq7BLLARfoRAkozAJ9tDjARzv4UTOhRJXHntLkVB3YjoQCfV7C3 N/nWFE6yBy2Hq4Fv3yVFsgk= =0q3X -END PGP SIGNATURE- -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] Mac on Linux?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark M. Hart wrote: Here's after re-emerging with USE=sheep I actually got a window for a split-second with the mac-on-linux penguin symbol. Please let me know how to re-emerge with the network masquerading enabled; do I do a USE=nat or USE=tun or something like that? Anyway, here goes: startmol Mac-on-Linux 0.9.71-pre8 [May 7 2006 11:11] Copyright (C) 1997-2004 Samuel Rydh Starting MOL session 0 The kernel module '/usr/lib/mol/0.9.71/modules/2.6.15-gentoo-r1/tun.o' appears to be missing. Running in PowerPC 750 mode, 96 MB RAM Timebase: 16.70 MHz, Bus: 66.82 MHz, Clock: 233 MHz Using USB mouse on /dev/input/mice OHCI USB controller registered Could not open '/var/lib/mol/x11.kbd' Fullscreen video on VT 9. Could not open '/var/lib/mol/console.kbd' Cache enabled for console-video Video driver(s): [xvideo] [console_video] 640* 480, depth 8,15,32 { 59.9, 72.1, 74.9, 89.9, 99.7 } Hz 640* 480, depth 8 { 116.6 } Hz 800* 600, depth 8,15,32 { 56.2, 60.3, 70.0, 72.1, 89.9 } Hz 800* 600, depth 8 { 94.8 } Hz 800* 600, depth 8,15,32 { 99.9 } Hz 1024* 768, depth 8,15,32 { 60.0, 70.0 } Hz 1024* 768, depth 8 { 74.8 } Hz 1024* 768, depth 8,15,32 { 75.0 } Hz 1152* 768, depth 8,15,32 { 54.7 } Hz 1280* 854, depth 8,15,32 { 60.0 } Hz 1152* 864, depth 8,15,32 { 59.9 } Hz 1280*1024, depth 8,15,32 { 0.0, 60.0, 60.0 } Hz 1440* 960, depth 8,15 { 0.0 } Hz 1600*1024, depth 8,15 { 0.0 } Hz 1600*1200, depth 8,15 { 0.0 } Hz 1680*1050, depth 8,15 { 0.0 } Hz Ethernet Interface (port 1) 'sheep-eth0' @ FE:FD:DE:AD:BE:EF [nodhcp] FATAL: Module ip_tables not found. iptables v1.3.4: can't initialize iptables table `nat': iptables who? (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. Ethernet Interface (port 2) 'tun-tun0' @ 00:00:0D:EA:DB:EE ip/mask: 192.168.40.2/255.255.255.0 gw: 192.168.40.1 broadcast: 192.168.40.255 nameserver: 192.168.40.1 ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0' ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3962:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default CD/dev/cdrom CD/DVD read-only -- -- /dev/hda6 is linux-mounted with write privileges. HFS+ /dev/hda6os 9.0 system read-only 1024 MB SCSI devices: SCSI /dev/cdrom [CDROM/DVD driver] = Mac-on-Linux OpenFirmware 0.9.70 --- No bootable disk was found! - If this is an oldworld machine, try booting from the MacOS install CD and install MacOS from within MOL. - cleaning up... FATAL: Module ip_tables not found. iptables v1.3.4: can't initialize iptables table `nat': iptables who? (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. Terminating threads... DONE [EMAIL PROTECTED] ~ $ Thanks! Mark M. Hart They're *kernel* options. You need to enable these options in your *kernel* and recompile with support for the things below. - From the ebuild: If errors with networking occur, make sure you have the following kernel functions enabled: For connecting to Linux: Universal TUN/TAP device driver support (CONFIG_TUN) For the dhcp server: Packet Socket (CONFIG_PACKET) For NAT: Network packet filtering (CONFIG_NETFILTER) Connection tracking (CONFIG_IP_NF_CONNTRACK) IP tables support (CONFIG_IP_NF_IPTABLES) Packet filtering (CONFIG_IP_NF_FILTER) Full NAT (CONFIG_IP_NF_NAT) MASQUERADE target support (CONFIG_IP_NF_TARGET_MASQUERADE) - -Joe -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEXlzZwGq7BLLARfoRAsaNAJ0TqxTB++KGQ04xK+jKXNU6fDXeBACg1KQD MPAUcLCVhC8qapflFCdhTYI= =eGzl -END PGP SIGNATURE- -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] Mac on Linux?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark M. Hart wrote: I enabled fbcon use flag and re-emerged mol. I ran molvconfig and set up a ton of video modes. When I try to do startmol (from within X/Kde and without) I get a black screen with a blinking cursor in the upper left. Anything I type gets echoed to the screen but that's it. Thanks! Mark M. Hart You didn't say what you were trying to run (OS9/OSX) but if you're running OSX, you need to use startmol -X. It defaults to OS9 if you just type startmol (as it says in the startmol man page). - -Joe -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEXSczwGq7BLLARfoRAjSYAJ97v+ZzbN9NL7CoCp/GB541jGkqSwCghU6w +xec4msWl417KYLTP/+BL+U= =qxVV -END PGP SIGNATURE- -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] Mac on Linux?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark M. Hart wrote: I'm trying to run OS 9. Thanks! Mark M. Hart If the OS9 install is on the same partition as OSX, that won't work. Barring that, you've probably neglected to configure something in /etc/mol. What do the debugging messages say when you run startmol? If you're doing it from a console, it should print some info. When it switches to the blinking cursor, it's switched to another console, but MOL hasn't started. You should be able to switch back with the normal console switch keys. Just for when you get that fixed, you'll also need to make sure that the sheep module is built (USE=sheep) when using OS9, it won't run otherwise. Which kernel are you using? - -Joe -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEXTCLwGq7BLLARfoRAtoPAJ4rpzXKzIWcfwVDuCpZkCT36SRx8QCdFjlH b0uUpetcMiyMTGpQkm/cyu4= =ZLNa -END PGP SIGNATURE- -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] Mac on Linux?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark M. Hart wrote: I'm using 2.6.15-gentoo-r1. I am sure that something is printing out before the screen goes blank, but the only key combo I can use to get out of the blank screen is ctrl-alt-del, which switches me to runlevel 6 and reboots the system. I'll try starting mol and redirecting the output to a file, maybe it'll capture something useful. Thanks! Mark M. Hart Try alt + fn + f1 - f6, those should switch virtual terminals, if that doesn't work try without the fn as well. If you still can't get it, try ssh'ing in and starting mol from that console. - -Joe -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEXUx3wGq7BLLARfoRAgKLAJ4zkEr6DH/RTNQyXXosWIppjPxQawCgwEHi A0h7oLuNc6yB/7LBtNUvZqE= =ilPl -END PGP SIGNATURE- -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] ATI configuration?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark M. Hart wrote: I'm new at this, and I don't know about ebuild yet. Can you give me a hint about what I should do to get the Xorgautoconfig built? Thanks! Mark M. Hart [EMAIL PROTECTED] You should probably take a look at the PPC FAQ[1]. I'm not exactly sure which chipset your Mac has, but if you provide the output of Xorgautoconfig --dump, I'll take a look at it. - -Joe [1] http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEWhPiwGq7BLLARfoRAnaAAKCmmTQlLpok11q5DjZR36qYsqaIhgCg1sko c9IpB/9r6c7YFsSHEDNSDhI= =ply5 -END PGP SIGNATURE- -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] ATI configuration?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark M. Hart wrote: I got the fbdev version of the config file working by setting the default depth to 16 instead of 24. This is an old 233 mhz box, and slow video isn't going to make that much difference, I think. I would like to know at some point how to get ATI video going with real drivers for my faster machine when I move it from OS X to gentoo - maybe I have to compile it into the kernel when I do my genkernel -menuconfig all command? Thanks! Mark M. Hart [EMAIL PROTECTED] It's probably a Mach64, but I can't say without the output from Xorgautoconfig --dump and lspci -v. Sorry, - -Joe -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEWiLKwGq7BLLARfoRAtJRAKDRGdooh5oR05l0GcRlKB36FPTVPQCeJ50G lsZW5RvbuWJhnZsZOUTtS1k= =S/Qg -END PGP SIGNATURE- -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] USB mouse; IN from bad port
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark M. Hart wrote: Hi folks, I have two problems. Hi Mark, 1) I have a beige desktop Power Macintosh G3 (old-world) with first-edition roms. Gentoo installs great, Only thing is, I have an ADB mouse and a USB mouse. The ADB mouse works great, but I can?t figure out how to use the USB mouse. It is recognized during boot-up, and it shows a driver, but I can?t find anything in /dev that corresponds. I have udev enabled in the kernel, and listed as a module; udev shows up at boot-time in the kernel but fails as a module. Could that be part of my problem? Make sure that you have HID Input support in your kernel, otherwise, there won't be a driver for the mouse. If you intend on hotplugging the mouse, make sure you have hotplug installed as well. Once you have HID Input support and hotplug, plugging in the mouse should result in an extra /dev/input/mouseX device. If you don't want to have to select between the two, you can specify /dev/input/mice as your input device which should take input from all mouse devices. 2) Dmesg gives me a lot of IN from bad port 61 at c01b6488, and also IN from bad port 1058 at c0214430. Any idea what this is? Take a look at this for the IN from bad port message: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml#infrombadport Good luck, - -Joe -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEVWcowGq7BLLARfoRApGdAJsHa7Ta6lzEYjzYezg0zS3IzfsDswCgsUue hYXPvzdqPD8jhHZbBq3s6tg= =piyR -END PGP SIGNATURE- -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] USB mouse; IN from bad port
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark M. Hart wrote: Thanks, Joe! I'll check genkernel and get devices set and unset as you recommend. Any idea what device the port 1058 problem is connected with? Thanks! Mark M. Hart [EMAIL PROTECTED] I'm not sure about port 1058, but make sure all of those mentioned in the FAQ are turned off and see if it goes away. :) - -Joe -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEVX/KwGq7BLLARfoRAv8IAKC/rVDhbdFZqTmrCnwfZusXgag0NACff/cG /atRzDWACj9VuPnB+bit+rA= =Vgwh -END PGP SIGNATURE- -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] Hwclock error
Flisk . wrote: Hi folks, Here where I work we received a G4 computer and I started to install a Gentoo 2006.0. The computer is a G4 2 CPU's 512MB of memory 2 HD, I started to install Gentoo 2006.0 from stage 1 and everything gone well. I installed with cpu flag as G4 and O2. But when the computer restarted a problem appeared with hwclock, when I execute the hwclock an error appear. The error is something like: select() to /dev/rtc to wait for clock tick timed out and the date in Linux stay 1970, the bios time is correctly because when I boot the Gento CD the hwclock work perfectly. I already recompiled the kernel with many options but nothing solve the problem. I believe that the problem is with some kernel option that I forgot or some patch, because in the Gentoo CD the hwclock works perfectly. What kernel option or patch can be solve the problem? Hints? Best regards. Fernando Simon Brazil Make sure that you have enabled the RTC Emulation options in your kernel as described in this forum post: http://forums.gentoo.org/viewtopic-t-374360-highlight-hwclock.html -Joe -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] date and time set to April 1976
Try hwclock -systohc after you've set your system time. That should set the hardware clock for you. -Joe -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] liboil-0.3.7 compile problems
Please file a bug in bugzilla and we'll fix it there, this looks like a new issue. -Joe -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] 3D-acceleration not working on old iMac
(--) ATI(0): ATI 3D Rage Pro graphics controller detected. (--) ATI(0): Chip type 4750 GP, version 4, foundry UMC, class 0, revision 0x01. (--) ATI(0): PCI bus interface detected. (--) ATI(0): ATI Mach64 adapter detected. You have a Mach64, not a Rage128. It's possible to use drm with that card, but it's a real pain. The patches for it should be merged into Modular X, you should probably look into upgrading to modular: http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml -Joe -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] Problems booting...still
[EMAIL PROTECTED] wrote: OK, I didn't have the devfs loaded into the kernel, so the new version boots past that point. However, the boot stops when it tries to load the root filesystem. You shouldn't use devfs. It's obsolete. Which liveCD / stage are you installing from? Which profile are you using? warning, no fsck.ext3 found. Error: mounting an ext2 partition failed on /dev/hda7 (a little different wording), Bad superblock, etc type cntrl-D to cancel, or enter root passwd to fix: and it is frozen (no keyboard recognised) There is a copy of fsck.ext3 on /sbin/, so I think that it is not in the initrd. Any ideas on how to fix this? Is /dev/hda7 an ext2 partition? Are you sure you have your partition numbering right and that your fstab reflects your partition layout? -Joe -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] Linux installed from 2005.1 disk does not start
Charles Trois wrote: Joseph Jezak a écrit : You need a framebuffer device in your kernel, Linux doesn't work on PPC without an FB. You should use the OpenFirmwareFB with an nVidia chipset. Thanks. I followed your advice, but it did not help: the problem remains. I take the liberty to attach a copy of my .config file, in the hope that you will be able to detect what's wrong. If Mackael's suggestion doesn't help, let's try with nvidiafb and a newer kernel: Give 2.6.14 a try (there are some release canidates for vanilla sources), apply this patch: http://ozlabs.org/pipermail/linuxppc-dev/2005-October/019957.html and then try nvidiafb. Good luck, -Joe -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] initializing gentoo on ibook 12
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 i8042.c: i8042 controller self test timeout. Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled Try turning off both of these driverss: Device Drivers - Character Devices - Serial Drivers 8250/16550 and compatible serial support Device Drivers - Input Device Support - Hardware I/O ports i8042 PC Keyboard Controller Hope this helps, - -Joe -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCy1uQwGq7BLLARfoRApGQAJ4pAyZuRPckzPWOIWspEBLvGYentACfV9Jf ETV9S33tJdJJXvgfD6Zwww8= =XzZA -END PGP SIGNATURE- -- gentoo-ppc-user@gentoo.org mailing list