Jump to content

-- How to Upgrade the Kernel -NEW VERSION/UPDATED


Prasys
 Share

160 posts in this topic

Recommended Posts

i see you're working on a french version. i can help you with the Spanish version! just let me know so i send you the spanish texts.

 

btw, after aplying this kernel, my gma950 shows only 64mb, and xbench now gets me lower values than using 10.4.6... why?

 

ok, anyway thanks for sharing your work....

Link to comment
Share on other sites

matemago , this is something got to with the kernel. Semthex fixed it , the new score is the real score , the older ones are fake , not really fake . This new kernel is getting closer to the real kernel + many improvements !

Link to comment
Share on other sites

_Prasys_,

Your script is fantastic, and is actually as easy as A B C!

I did not have a working 10.4.8 machine but upgraded to it from 10.4.7 using your script.

This was what I did:

1. Install the 10.4.8 intel combo update from Apple

2. Replace AppleSMBIOS.kext

3. Repair permissions

4. Run your script

5. Reboot and voila!!!

Thank you for the great work. Keep it up.

Link to comment
Share on other sites

After running the script I´ve got the correct CPU speed reported by "About This Mac" and the clock is now reported correct time, even after Screen saver activated ( before the clock lose 15 mins if the screen saver activated and then de-activated after TEN MINS - WEIRD)....

 

Only thing is after first update, Aperture asks for SN...Also iTunes came up with "Not Enough Memory"...solved both of the problems though..

Link to comment
Share on other sites

A few questions ....

 

Is this for SSE2 or SSE3 processors?

 

How do you determine the kernel version? I tried the instructions in post # 1 and it (well me) hosed the system.

 

How do you go about "fixing" an installation that has gone bad? I just reinstalled and didn't attempt the update again.

Link to comment
Share on other sites

Its for SSE3 processors , again semthex's kernel does not work under SSE2 processors [at this time of writing]. I am going to port it to Cocoa !

 

 

To restore back , simply fit F8 before the Staring Darwin screen. There you will be prompted with a boot prompt , simply type mach_kernel.old and you would have your old kernel back. Its that simple

Link to comment
Share on other sites

wow! The new kernel fixed a ton of my errors. Thanks so much!

 

 

edit* I will elaborate of what now works.

 

 

Rebooting now works.

No sound stuttering when first loading.

My boot time went from 20 seconds to 5.

When booting, I boot every time now.

Oh god I am going to try titan now.

Link to comment
Share on other sites

Absolutely smart and wonderful script, made my mac almost a real mac :-)

 

Almost because DDR2 RAM is not recognised as such, and no memory speed either.

 

CPU type and speed is recognised beautifully though.

 

Ah, also sleep doesnt work. Will that be fixed in future kernel updates?

Link to comment
Share on other sites

Thanks for the info, good stuff!

 

Now, how do I tell which version of kernel I'm using? You mentioned something about 8.8.1 under 10.4.8 or something like it ...

 

Which kernels support SSE2?

 

 

In Terminal Type: uname -a

 

Compare the results to these: (I don't have any older ones)

 

K19 Thu Nov 16 21:19:02

Beta5 Fri Nov 17 23:52:26

Beta7 Wed Nov 22 22:03:00

Beta8 Mon Nov 27 18:58:11

Link to comment
Share on other sites

In Terminal Type: uname -a

 

Compare the results to these: (I don't have any older ones)

 

K19 Thu Nov 16 21:19:02

Beta5 Fri Nov 17 23:52:26

Beta7 Wed Nov 22 22:03:00

 

I believe that Prasys's script is currently pointing to K19. Note that Beta7 is a .rar file not .zip.

 

It is indeed pointing to K19

 

Is it any good to install Beta7 right now?

Link to comment
Share on other sites

OK, I've run this thing, and as it progressed, I saw this... looks like it enountered a LOT of errors.

 

I hope this hasn't trashed my install....

 

 

 

Do you want to install the semthex's latest kernel ? [y/n]

yes

Backing Up the Old Kernel

cp: mach_kernel: No such file or directory

Backing Up The Old Kernel - ======DONE=====

Creating /kernel

We're going to get Semthex's Latest Kernel from his site. This could take a couple of seconds/minutes. Please have a cup of coffee !

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

100 223 100 223 0 0 318 0 --:--:-- --:--:-- --:--:-- 0

Voila - DONE

Archive: latest.zip

End-of-central-directory signature not found. Either this file is not

a zipfile, or it constitutes one disk of a multi-part archive. In the

latter case the central directory and zipfile comment will be found on

the last disk(s) of this archive.

unzip: cannot find zipfile directory in one of latest.zip or

latest.zip.zip, and cannot find latest.zip.ZIP, period.

We're going to unzip it - DONE

We're going to remove the old Kernel and replace it with a new one

Replaced and now we're going to move the new kernel to root /

mv: rename /kernel/mach_kernel to /mach_kernel: No such file or directory

chmod: /mach_kernel: No such file or directory

Setting up the right permissions for the Kernel

chown: /mach_kernel: No such file or directory

Setting up the right owners for the Kernel

Everything is done. A Small Message from Semthex - PLEASE READ

cat: /kernel/semthex.txt: No such file or directory

 

© 2006 Prasys. All Rights Reserved. Thanks for using the script

 

We're going to reboot - Please keep your fingers crossed. TO REBOOT TYPE Y NOW !

Do you want to reboot now? [y/n]

 

 

 

Ok, I'm on my Powerbook now.

 

As I suspected, this damned thing has trashed my install.

 

On reboot, I get:

 

Loading Darwin/x86

Can't find mach_kernel

 

Now what?

Link to comment
Share on other sites

Boot into single-user mode (F8 then -s)

 

At the prompt, type:

mount -uw /
cd /
ls -al 

See if there is a "mach_kernel.old" or anything called "mach_kernel"
Whatever you find, put it as the first parameter in the following command:

cp -f mach_kernel.old mach_kernel
chown root:wheel mach_kernel*
chmod 644 mach_kernel*
reboot

Link to comment
Share on other sites

Boot into single-user mode (F8 then -s)

 

At the prompt, type:

mount -uw /
cd /
ls -al 

See if there is a "mach_kernel.old" or anything called "mach_kernel"
Whatever you find, put it as the first parameter in the following command:

cp -f mach_kernel.old mach_kernel
chown root:wheel mach_kernel*
chmod 644 mach_kernel*
reboot

 

 

As soon as I type -s, I get the "Can't find mach_kernel" error.

Link to comment
Share on other sites

As soon as I type -s, I get the "Can't find mach_kernel" error.

Boot your install DVD. Go to Terminal. Type:

cd /Volumes/(name-of-OSX-partition)
ls -al 

See if there is a "mach_kernel.old" or anything called "mach_kernel.(something)"
Whatever you find, put it as the first parameter in the following command:

cp -f mach_kernel.(something) mach_kernel   <-- replace (something) with real suffix
chown root:wheel mach_kernel*
chmod 644 mach_kernel*

Quit Terminal

Quit Installer and reboot.

Link to comment
Share on other sites

Funny thing is, that i have the same problem on the unzip step, since i do it myself and use this file as a reference, i still have working system. :P

 

computer:/kernel root# unzip -o latest.zip
Archive:  latest.zip
 End-of-central-directory signature not found.  Either this file is not
 a zipfile, or it constitutes one disk of a multi-part archive.  In the
 latter case the central directory and zipfile comment will be found on
 the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of latest.zip or
	latest.zip.zip, and cannot find latest.zip.ZIP, period.

 

i did that:

computer:/kernel root# cp latest.zip /Volumes/%DriveName%/latest.zip

and tried to uzip it manually.

Got this:

Unable to unarchive "latest.zip" into "%DriveName%"

(Error 1 - Operation not permitted.)

what the hell?

 

Edit

Since this file has only 4kb (command+i) on a copy, i'd assume that there is nothig to download right now.

Hope its because of the update being made.

Offline. :)

Link to comment
Share on other sites

The only items with mach or kernel in them are:

 

 

kernel

mach -> /mach.sym

mach (Mac OS 9) -> mach_kernel

mach (Mac OS 9) 1 -> /mach.sym

mach.sym

mach.sym (Mac OS 9)

mach.sym (Mac OS 9) 1

mach_kernel (Mac OS 9)

mach_kernel (Mac OS 9) 1

 

PS, thanks for your help on this!

Link to comment
Share on other sites

 Share

×
×
  • Create New...