PDA

View Full Version : [kubuntu] boot (X) problem on mac g3



F4l3
June 3rd, 2008, 06:18 PM
I have installed kubuntu hardly on a mac g3. all worked fine. I have read somewhere in this forum that I had to reboot and press Ctrl+Alt+F1 to arrive to a shell. I pressed that three keys a lot of times... but nothing happened...whatI'm doing wrong?

Thank you

cyberdork33
June 3rd, 2008, 06:24 PM
why do you need to get to a console. Can you not just use a terminal in Gnome?

F4l3
June 3rd, 2008, 06:30 PM
I have to change the resolution of xorg.conf... and until I'll not do this, I will not be able to start X.

hpp3
June 3rd, 2008, 06:49 PM
I don't know why that key combo doesn't work (ctrl-alt-F2,3,4 or up to 6 should work as well...) but you should be able to open a terminal and edit your X config with 'sudo nano /etc/X11/xorg.conf'
Logout and log in and your changes should be made.

If that doesn't work, something more is wrong...

F4l3
June 3rd, 2008, 06:54 PM
My only problem is tha Ctrl+Alt+Fx doesn't work...

F4l3
June 3rd, 2008, 07:18 PM
Ok, I found the problem.
When I boot, it starts the bootspash and than it crush completle the comupter that will not be able to start load linux. I have tried: Linux nosplash and Linux append="nosplash". But the problem is the same. How can I boot linux without bootspash?

hpp3
June 3rd, 2008, 08:39 PM
Try one of these at the yaboot prompt:

linux 1
linux single

That will put you into single-user mode, which is a terminal screen with a root prompt.

stream303
June 3rd, 2008, 08:41 PM
Which G3 mac do you have? Is it an iMac or PowerMac and which model? How much ram is on board?

http://www.everymac.com/

Have you also tried this at the second stage of the yaboot boot: prompt


Linux video=ofonly
or
Linux nosplash video=ofonly

F4l3
June 3rd, 2008, 11:18 PM
tomorrow morning I'll try all the previous suggestions.

the pc is this one: http://www.everymac.com/systems/apple/imac/stats/imac_350_indigo.html

F4l3
June 4th, 2008, 05:14 PM
thank you, both work fine :)

stream303
June 4th, 2008, 08:10 PM
The toughest part with Hardy (or any of the newer Linux distros) is that with the new "bulletproof" xorg.conf, there's not much of an example in it. :) Our cards just don't feed back the right info during configuration...

By far the biggest challenge is to get your monitor frequencies right, so you'll have to edit in something like this for the G3's:


Section "Monitor"
Identifier "Configured Monitor"
HorizSync 58-62
VertRefresh 75-117
EndSection

as per:
https://wiki.ubuntu.com/PowerPCKnownIssues#head-cae29299476585f042f0185bea1d51b9372722c8

You may also have to add a custom Modules section at the end similar to this as well:


Section "Module"
Disable "glx"
Disable "dri"
EndSection

Then to tweak it depending if you have an ATI or a Radeon, check:
https://wiki.ubuntu.com/PowerPCFAQ#head-ffefeb40b6b03a892fdebfa6e6f633929024f1ec

Frustrating, but when that G3 comes alive, it is a marvelous thing...

F4l3
June 5th, 2008, 01:36 AM
The toughest part with Hardy (or any of the newer Linux distros) is that with the new "bulletproof" xorg.conf, there's not much of an example in it. :) Our cards just don't feed back the right info during configuration...

By far the biggest challenge is to get your monitor frequencies right, so you'll have to edit in something like this for the G3's:


Section "Monitor"
Identifier "Configured Monitor"
HorizSync 58-62
VertRefresh 75-117
EndSection

as per:
https://wiki.ubuntu.com/PowerPCKnownIssues#head-cae29299476585f042f0185bea1d51b9372722c8

You may also have to add a custom Modules section at the end similar to this as well:


Section "Module"
Disable "glx"
Disable "dri"
EndSection

Then to tweak it depending if you have an ATI or a Radeon, check:
https://wiki.ubuntu.com/PowerPCFAQ#head-ffefeb40b6b03a892fdebfa6e6f633929024f1ec

Frustrating, but when that G3 comes alive, it is a marvelous thing...
I was able to make this changing and in fact if I type 'sudo startx' it works. The problem, actually, is: how can I start the computer in a way in which X start automatically? I tried 'Linux' and 'Linux nosplash' but both gave me back the same problem of the first post (monitor shuted down and simil stand-by of the machine).
Thank you to all of view that are using your time to help me

F4l3
June 5th, 2008, 01:37 AM
The toughest part with Hardy (or any of the newer Linux distros) is that with the new "bulletproof" xorg.conf, there's not much of an example in it. :) Our cards just don't feed back the right info during configuration...

By far the biggest challenge is to get your monitor frequencies right, so you'll have to edit in something like this for the G3's:


Section "Monitor"
Identifier "Configured Monitor"
HorizSync 58-62
VertRefresh 75-117
EndSection

as per:
https://wiki.ubuntu.com/PowerPCKnownIssues#head-cae29299476585f042f0185bea1d51b9372722c8

You may also have to add a custom Modules section at the end similar to this as well:


Section "Module"
Disable "glx"
Disable "dri"
EndSection

Then to tweak it depending if you have an ATI or a Radeon, check:
https://wiki.ubuntu.com/PowerPCFAQ#head-ffefeb40b6b03a892fdebfa6e6f633929024f1ec

Frustrating, but when that G3 comes alive, it is a marvelous thing...
I was able to make this changing and in fact if I type 'sudo startx' it works. The problem, actually, is: how can I start the computer in a way in which X start automatically? I tried 'Linux' and 'Linux nosplash' but both gave me back the same problem of the first post (monitor shuted down and simil stand-by of the machine).
Thank you to all of view that are using your time to help me

stream303
June 5th, 2008, 12:04 PM
Wow - sounds like you are missing the GDM login, or it is misconfigured somehow.

You can try loading it again:

sudo apt-get install gdm

and if that still doesn't work, perhaps try reconfiguring it:

sudo dpkg-reconfigure gdm

F4l3
June 5th, 2008, 07:30 PM
nope
it crush way before the start of kdm. It crush as soon as it have ended to load the kernel (I think it try to load X)

F4l3
June 5th, 2008, 07:54 PM
nope
it crush way before the start of kdm. It crush as soon as it have ended to load the kernel (I think it try to load X)
fixed, now there is the bug you described. I'll have to reconfigure kdm :)

stream303
June 5th, 2008, 07:54 PM
Now this is interesting - Scientia reports that doing


sudo dpkg-reconfigure xserver-xorg

actually helped him get over much the same issue. With Hardy's new x server, this doesn't work like it did in the past allowing you to manually specify your card info, but it seemed to help.

It does write a new xorg.conf, so be sure to backup your existing custom-modified one first.


sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak

Maybe try that xorg reconfiguration, and apply your mods again.

If your /etc/apt/sources.list file looks like it points to ports.ubuntu.com, perhaps update your software


sudo apt-get update
then
sudo apt-get upgrade

I can't be sure that Kubuntu for PPC doesn't have issues, so perhaps try Ubuntu as a reference installation, then if that works and you want Kubuntu, you can later install it by installing kubuntu-desktop, and switching to it at the next login.

I know I'm throwing out a lot of "perhaps" scenarios. :)

F4l3
June 5th, 2008, 09:19 PM
I'm trying ;)

In every case the only difference between kubuntu and ubuntu is only the DE, than everything up to Xorg are the same, than I don't see how this can influence my problems :)

stream303
June 6th, 2008, 08:31 AM
You are quite right. I guess I'm thinking along the lines of edge-cases, where the Kubuntu build may be differing every so slightly from Ubuntu, or like the case of Xubuntu only releasing a beta for Hardy.. It is a reach, I admit. :)

On a side note, did you have to force the r128 driver in the device section, or does your /var/log/Xorg.0.log show that it is picking up the ATI Rage 128 by itself?