maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   overclock kernels and version info loss (https://talk.maemo.org/showthread.php?t=49923)

mirakels 2010-04-13 15:36

overclock kernels and version info loss
 
As the overclock thread is so big that certain issues tend to be lost I created a seperate thread for this specific problen:

After having some problems with the overclock kernel I reverted back to the stock kernel.

But now the version info in the settings about screen shows "unknown". I tried to resolve this by reinstalling mp-fremantle-generic-pr but this fails because of an hildon-initscripts dependency failure:

The following packages have unmet dependencies:
mp-fremantle-generic-pr: Depends: hildon-initscripts (= 1.26-1+0m5) but 1.26-1+dp1 is to be installed
E: Broken packages

Is there another way to fix this? I tried to force just download of the mp-fremantle* package, but this gives the same problem. Adding the -f switch to apt-get does not help.

I also tried to download the package manually using wget but this fails. I probably do not use/know the proper URL for the package.

Is someone willing to show the output of:

dpkg -L mp-fremantle-generic-pr

Oreven better, download the package using "apt-get install -d mp-fremantle-generic-pr" and make the package available to us?

I hope that can help to get the version info back

Thanks

Rob1n 2010-04-13 15:38

Re: overclock kernels and version info loss
 
I think you should be able to just run (as root) /var/lib/dpkg/info/mp-fremantle-generic-pr.postinst and reboot.

MohammadAG 2010-04-13 15:49

Re: overclock kernels and version info loss
 
Disable all repos except the official ones (extras, -testing and -devel are fine)
Quote:

Nokia-N900-02-8:~# apt-get --reinstall install mp-fremantle-generic-pr
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 15 not upgraded.
Need to get 0B/14.6kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]?

mirakels 2010-04-13 17:21

Re: overclock kernels and version info loss
 
Rob1n, that is just what I want to do. But the mp-fremantle-generic-pr package is not on my n900 anymore. I think it was removed because apt-get told me a 'long' time ago that it was not needed anymore... so it was removed. Therefor I want to reinstall it but thn get the mentioned error message concerning the hildon-initscripts version mismatch (probably caused by some other strange update I may have done in the past...)

So I want to know the contents of the mp-fremantle-generic-pr (e.g. dpkg -L mp-fremantle-generic-pr) or like download the package manually somewhere.

Rob1n 2010-04-13 18:03

Re: overclock kernels and version info loss
 
Quote:

Originally Posted by mirakels (Post 608961)
Rob1n, that is just what I want to do. But the mp-fremantle-generic-pr package is not on my n900 anymore. I think it was removed because apt-get told me a 'long' time ago that it was not needed anymore... so it was removed. Therefor I want to reinstall it but thn get the mentioned error message concerning the hildon-initscripts version mismatch (probably caused by some other strange update I may have done in the past...)

So I want to know the contents of the mp-fremantle-generic-pr (e.g. dpkg -L mp-fremantle-generic-pr) or like download the package manually somewhere.

The mp-fremantle-generic-pr package that apt-get is offering is the correct one. The version of hildon-initscripts you have installed is not, which is why you get the conflict. Presumably you've installed a replacement for one or another of the core packages, which has forced the removal of mp-fremantle-generic-pr. You could try forcing the installation of the correct hildon-initscripts package:

Code:

apt-get install hildon-initscripts=1.26-1+0m5

mirakels 2010-04-13 18:34

Re: overclock kernels and version info loss
 
YES! this allowed me to reinstall mp-fremantle again/
It actually just runs an osso-product-info command to set version info.

Before rebooting it seems nothing has happened, but after the reboot all is fine again!

Many Thanks to Rob1n

cpitchford 2010-04-13 18:40

Re: overclock kernels and version info loss
 
These instructions seem to ignore regional versions..

dpkg -l |grep "^ii *mp-fremantle[^ ]*-pr" |awk '{print $2}'

Should tell you which package you need to reinstall

mirakels 2010-04-13 19:42

Re: overclock kernels and version info loss
 
this does not help much when mp-fremantle-* is not installed.

You might figure which one you need by

grep "Package: mp-fremantle" /var/lib/apt/lists/*

gordonshowers 2010-04-13 19:54

Re: overclock kernels and version info loss
 
Quote:

Originally Posted by cpitchford (Post 609106)
These instructions seem to ignore regional versions..

dpkg -l |grep "^ii *mp-fremantle[^ ]*-pr" |awk '{print $2}'

Should tell you which package you need to reinstall

Thanks cpitchford, this fixed it for me.

cpitchford 2010-04-13 21:26

Re: overclock kernels and version info loss
 
Quote:

Originally Posted by mirakels (Post 609205)
this does not help much when mp-fremantle-* is not installed.

You might figure which one you need by

grep "Package: mp-fremantle" /var/lib/apt/lists/*

I hope you DO have an mp-fremantle package installed.. isn't it the Maemo 5 meta package??

I've noticed the name of the package changes between Maemo variations.. On the UK 203 variation it is:
mp-fremantle-203-pr

whereas on the global version it seems to be:
mp-fremantle-generic-pr

but either way, there should be a mp-fremantle-something-pr package, I believe

Gordonshowers: Glad to help out!

Rob1n 2010-04-13 22:00

Re: overclock kernels and version info loss
 
Quote:

Originally Posted by cpitchford (Post 609356)
I hope you DO have an mp-fremantle package installed.. isn't it the Maemo 5 meta package??

I've noticed the name of the package changes between Maemo variations.. On the UK 203 variation it is:
mp-fremantle-203-pr

whereas on the global version it seems to be:
mp-fremantle-generic-pr

but either way, there should be a mp-fremantle-something-pr package, I believe

Gordonshowers: Glad to help out!

Yes, but some people have installed updated/modified versions of some of the core packages. This will force a removal of the mp-fremantle-??-pr package, as it's dependencies are no longer met. There is a warning, but without knowing what the package is, a lot of people have carried on. When the next firmware update is released, you'll see them all asking why they don't see the OTA update.

cpitchford 2010-04-13 22:09

Re: overclock kernels and version info loss
 
If they've scrubbed the main meta package, accurately replacing the version info would seem impossible?!
But for those who haven't.. and those using the non-generic variant, it would be good to use the right version..

apt-get install --reinstall mp-fremantle-generic-pr on a non-generic variant won't be healthy..

that being said:

osso-product-info -s OSSO_VERSION="RX-51_2009SE_3.2010.02-8.203.1_PR_203"

appears to be the command to sort it on my device

psrkn 2010-04-13 22:51

Re: overclock kernels and version info loss
 
Quote:

Originally Posted by cpitchford (Post 609427)
If they've scrubbed the main meta package, accurately replacing the version info would seem impossible?!
But for those who haven't.. and those using the non-generic variant, it would be good to use the right version..

apt-get install --reinstall mp-fremantle-generic-pr on a non-generic variant won't be healthy..

that being said:

osso-product-info -s OSSO_VERSION="RX-51_2009SE_3.2010.02-8.203.1_PR_203"

appears to be the command to sort it on my device

I did a uname -a command, and got:
Nokia-N900-42-11:~# uname -a
Linux Nokia-N900-42-11 2.6.28.10maemo-omap1 #1 PREEMPT Tue Apr 13 10:48:47 EEST 2010 armv7l unknown
****
What is supposed to be for the unknown value displayed above. I ran
apt-get --reinstall install mp-fremantle-002-pr
successfully, but I still don't know why I still have an unknow value.
Here is the output from osso-product-info
OSSO_PRODUCT_HARDWARE='RX-51'
OSSO_PRODUCT_NAME='N900'
OSSO_PRODUCT_FULL_NAME='Nokia N900'
OSSO_PRODUCT_RELEASE_NAME='Maemo 5'
OSSO_PRODUCT_RELEASE_FULL_NAME='Maemo 5'
OSSO_PRODUCT_RELEASE_VERSION='3.2010.02-8.002'
OSSO_PRODUCT_WLAN_CHANNEL='fcc/us'
OSSO_PRODUCT_KEYBOARD='English, Dutch'
OSSO_PRODUCT_REGION='English America'
OSSO_PRODUCT_SHORT_NAME='Nokia N900'
OSSO_VERSION='RX-51_2009SE_3.2010.02-8.002_PR_002'

******
Any help would be appreciated.
Thanks

cpitchford 2010-04-13 23:25

Re: overclock kernels and version info loss
 
I believe, but could be wrong:

osso-product-info is included in the phone's environment variables.. running that command, and indeed reinstalling the package can't change them.. since they were set at boot time..

reboot and you should be fine..

... I think..

psrkn 2010-04-14 00:57

Re: overclock kernels and version info loss
 
Quote:

Originally Posted by cpitchford (Post 609516)
I believe, but could be wrong:

osso-product-info is included in the phone's environment variables.. running that command, and indeed reinstalling the package can't change them.. since they were set at boot time..

reboot and you should be fine..

... I think..

I did reboot the device after running the install mp-fremantle-002-pr and ran osso-product-info, but I still get the unknown as displayed below:
Linux Nokia-N900-42-11 2.6.28.10maemo-omap1 #1 PREEMPT Tue Apr 13 10:48:47 EEST 2010 armv7l unknown
****

Here is the output from osso-product-info
OSSO_PRODUCT_HARDWARE='RX-51'
OSSO_PRODUCT_NAME='N900'
OSSO_PRODUCT_FULL_NAME='Nokia N900'
OSSO_PRODUCT_RELEASE_NAME='Maemo 5'
OSSO_PRODUCT_RELEASE_FULL_NAME='Maemo 5'
OSSO_PRODUCT_RELEASE_VERSION='3.2010.02-8.002'
OSSO_PRODUCT_WLAN_CHANNEL='fcc/us'
OSSO_PRODUCT_KEYBOARD='English, Dutch'
OSSO_PRODUCT_REGION='English America'
OSSO_PRODUCT_SHORT_NAME='Nokia N900'
OSSO_VERSION='RX-51_2009SE_3.2010.02-8.002_PR_002'

Any help please.

psrkn 2010-04-14 01:15

Re: overclock kernels and version info loss
 
Quote:

Originally Posted by psrkn (Post 609566)
I did reboot the device after running the install mp-fremantle-002-pr and ran osso-product-info, but I still get the unknown as displayed below:
Linux Nokia-N900-42-11 2.6.28.10maemo-omap1 #1 PREEMPT Tue Apr 13 10:48:47 EEST 2010 armv7l unknown
****

Here is the output from osso-product-info
OSSO_PRODUCT_HARDWARE='RX-51'
OSSO_PRODUCT_NAME='N900'
OSSO_PRODUCT_FULL_NAME='Nokia N900'
OSSO_PRODUCT_RELEASE_NAME='Maemo 5'
OSSO_PRODUCT_RELEASE_FULL_NAME='Maemo 5'
OSSO_PRODUCT_RELEASE_VERSION='3.2010.02-8.002'
OSSO_PRODUCT_WLAN_CHANNEL='fcc/us'
OSSO_PRODUCT_KEYBOARD='English, Dutch'
OSSO_PRODUCT_REGION='English America'
OSSO_PRODUCT_SHORT_NAME='Nokia N900'
OSSO_VERSION='RX-51_2009SE_3.2010.02-8.002_PR_002'

Any help please.

The unknown variable is the device's processor. How do I install the processor value?
Thanks.

geneven 2010-04-14 01:31

Re: overclock kernels and version info loss
 
What does uname -a return on an unmodified N900?

psrkn 2010-04-14 03:35

Re: overclock kernels and version info loss
 
Quote:

Originally Posted by geneven (Post 609589)
What does uname -a return on an unmodified N900?

Can someone with the stock version installed or unmodified N900, do "uname -a" command on xterm for me please?

My is shown as:
Linux Nokia-N900-42-11 2.6.28.10maemo-omap1 #1 PREEMPT Tue Apr 13 10:48:47 EEST 2010 armv7l unknown

Thanks

lma 2010-04-14 05:23

Re: overclock kernels and version info loss
 
Quote:

Originally Posted by mirakels (Post 608800)
But now the version info in the settings about screen shows "unknown".

This may be unrelated, see bug 8148 for another instance of it. If you figure out what caused it in your case, a comment in bug 8700 would be very welcome.

Quote:

I tried to resolve this by reinstalling mp-fremantle-generic-pr but this fails because of an hildon-initscripts dependency failure:

The following packages have unmet dependencies:
mp-fremantle-generic-pr: Depends: hildon-initscripts (= 1.26-1+0m5) but 1.26-1+dp1 is to be installed
Try

Code:

apt-get install mp-fremantle-generic-pr hildon-initscripts=1.26-1+0m5

Quote:

dpkg -L mp-fremantle-generic-pr
It's empty, this is a meta-package consisting just of a long list of dependencies.

lma 2010-04-14 05:32

Re: overclock kernels and version info loss
 
Quote:

Originally Posted by psrkn (Post 609647)
Can someone with the stock version installed or unmodified N900, do "uname -a" command on xterm for me please?

My is shown as:
Linux Nokia-N900-42-11 2.6.28.10maemo-omap1 #1 PREEMPT Tue Apr 13 10:48:47 EEST 2010 armv7l unknown

Code:

Linux Nokia-N900-51-1 2.6.28-omap1 #1 PREEMPT Thu Dec 17 09:40:52 EET 2009 armv7l unknown
Ignore the gray part, that's just the current hostname of the device.

Yours is obviously newer. If you have the original kernel in /boot/zImage-2.6.28-20094803.3+0m5.fiasco you can just run /var/lib/dpkg/info/kernel-flasher.postinst to install it, and reboot. Otherwise install package kernel=2.6.28-20094803.3+0m5 first.

mnaveed 2010-04-14 05:47

Re: overclock kernels and version info loss
 
i used litho's kernel (low voltage)
my version info didnt lost. my n900 shows it

Rob1n 2010-04-14 08:02

Re: overclock kernels and version info loss
 
Quote:

Originally Posted by cpitchford (Post 609427)
If they've scrubbed the main meta package, accurately replacing the version info would seem impossible?!
But for those who haven't.. and those using the non-generic variant, it would be good to use the right version..

apt-get install --reinstall mp-fremantle-generic-pr on a non-generic variant won't be healthy..

You shouldn't be able to install the wrong version. The different firmware variants use different URLs for the System Software repository, so each should only be able to access the appropriate localised packages.

geneven 2010-04-14 08:27

Re: overclock kernels and version info loss
 
"apt-get install --reinstall mp-fremantle-generic-pr on a non-generic variant won't be healthy."

But.apt-get install --reinstall mp-fremantle-*

would work for generic and non-generic, it seems.

smolomiami 2010-04-14 22:17

Re: overclock kernels and version info loss
 
2 Attachment(s)
Any help with my problem thanx

qosmio 2010-04-14 22:37

Re: overclock kernels and version info loss
 
try this...."apt-get install--reinstall mp-fremantle-002-pr" It worked for me

smolomiami 2010-04-14 23:28

Re: overclock kernels and version info loss
 
Quote:

Originally Posted by qosmio (Post 610981)
try this...."apt-get install--reinstall mp-fremantle-002-pr" It worked for me

E:invalid operation install-reinstall i try that many times

psrkn 2010-04-14 23:47

Re: overclock kernels and version info loss
 
You need a space between "install" and "--reinstall" in the command "apt-get install --reinstall mp-fremantle-002-pr". What you did was "apt-get install--reinstall mp-fremantle-002-pr".

Try again & good luck.

qosmio 2010-04-14 23:53

Re: overclock kernels and version info loss
 
psrkn... You are soooooo right. Sorry Smolomiami my mistake.

smolomiami 2010-04-14 23:54

Re: overclock kernels and version info loss
 
thanx man it work

Ariyan 2010-05-20 11:13

Re: overclock kernels and version info loss
 
Guys Dont mind i am new into this i am not pro on comand linux. When o overcloked my n900 to 800mhz instead of saying maemo5 it is saying unknown and version unknown. i tried stock didnt work. somebody mention to do this
- launch X Terminal
- type sudo gainroot (you need the rootsh package installed)
- type apt-get install --reinstall mp-fremantle-generic-pr
- if asked for confirmation press Y and Enter
- when done reboot the N900
WHAT IS ROOTSH PACKAGE HOW CAN I DOWNLOAD? i am totally newbie please help me step by step. I will really appriciate it. Thanks
ps:(Also when i typed in xterminal in mydevice sudo gainroot it is asking for password? am totally lost please help me.)

cpitchford 2010-05-20 11:17

Re: overclock kernels and version info loss
 
Have a look at this post
http://discussions.europe.nokia.com/...ght/true#M8504

It has details of how to install rootsh and how "To fix the "unknown" version info"

matts76 2010-05-20 11:36

Re: overclock kernels and version info loss
 
Quote:

Originally Posted by Ariyan (Post 667437)
Guys Dont mind i am new into this i am not pro on comand linux. When o overcloked my n900 to 800mhz instead of saying maemo5 it is saying unknown and version unknown. i tried stock didnt work. somebody mention to do this
- launch X Terminal
- type sudo gainroot (you need the rootsh package installed)
- type apt-get install --reinstall mp-fremantle-generic-pr
- if asked for confirmation press Y and Enter
- when done reboot the N900
WHAT IS ROOTSH PACKAGE HOW CAN I DOWNLOAD? i am totally newbie please help me step by step. I will really appriciate it. Thanks
ps:(Also when i typed in xterminal in mydevice sudo gainroot it is asking for password? am totally lost please help me.)

Rootsh is in the repositories, i forget which one (power search rootsh and look in downloads), the command "sudo gainroot" won't work without rootsh installed as without it you do not have root access.

Little tip: Once you have downloaded rootsh instead of writing "sudo gainroot" just writing "root" will do the same thing, its just a quicker way of doing it:D

ps, thanks are in the bottom right of posts.

c4Lvin 2010-05-20 18:01

Re: overclock kernels and version info loss
 
Darn i'm still stuck at these stupid "UNKNOWN" things from overclocking to 900MHz the first day I got my N900 on May1st :(

Tried everything but the nokia forum link which I will attempt after this msg. :mad:

PISSED at this now!
when I do apt-get install --reinstall mp-fremantle-generic-pr

I will get some text saying"DONE" and seems like there's a problem at "Reinstallation of mp-fremantle-generic-pr is not possible, it cannot be downloaded.

blah blah blah 0 , 0 , 0 , 0 upgraded crap which goes in circles....dreadful

cpitchford 2010-05-20 19:14

Re: overclock kernels and version info loss
 
Did you try my script from the Nokia forum?

evilJazz 2010-05-20 19:19

Re: overclock kernels and version info loss
 
http://wiki.maemo.org/Root_access#rootsh

cpitchford 2010-05-20 19:31

Re: overclock kernels and version info loss
 
If you try downloading the script from Nokia forums *again* (remember to delete the first one) I've added a bit that tries to fix the info without using apt-get install --reinstall

c4Lvin 2010-05-21 02:42

Re: overclock kernels and version info loss
 
Quote:

Originally Posted by cpitchford (Post 668239)
Did you try my script from the Nokia forum?

yeap i tried your script and also tried it manually. i have almost given up on this as i dont think it affect performance...but if theres another way to do it...would love to give it another shot.

i have rootsh and all that installed. it has to do with those repositories i think. which ones should be there or disabled while doing this entire process..

thanks guys...

cpitchford 2010-05-21 07:14

Re: overclock kernels and version info loss
 
try downloading the script again.. it's improved..

delete the old copy first, download again, run again.. it *should* fix your problem..

c4Lvin 2010-05-25 18:46

Re: overclock kernels and version info loss
 
still stuck my friend after upgrading to the official PR1.2 global firmware update and OC' to 900MHz...stuck at the forever UNKNOWN thing again. IT WAS OK at 600MHz!!!! HAHA!

Here's where it's at and I absolutely hate it after doing many cut n paste...

Reinstallation of mp-fremantle-generic-pr is not possible, it cannot be downloaded.

I ABSOLUTELY HATE THAT above line as I've seen it millions of times due to failure :(

Tried the script as well and no luck. I did it manually and no go.


All times are GMT. The time now is 02:23.

vBulletin® Version 3.8.8