maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N800 (https://talk.maemo.org/forumdisplay.php?f=25)
-   -   High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8 (https://talk.maemo.org/showthread.php?t=8006)

Milhouse 2007-07-22 21:19

High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
Phil Langdale has patched the 4.2007.26-8 kernel with the full set of SDHC patches, some of which Nokia left out from the official release. The kernel is available here.

So far so good (with dual 4GB Transcend Class 2 SDHC cards). A quick "read" test with a 4GB Transcend C2 card in the external slot reveals a speed of 12.1MB/s (234.375MB read in 19.31s).

Mara 2007-07-23 01:12

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
Patched the kernel and so far so good... I copied my MaemoMapper maps to the Patriot 8GB SDHC card and couple long movies. So far everything is working good with no file system corruptions/panics...

The memory card bus speed is reported 48MHz, as expected.

ecohen2 2007-07-25 11:55

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
Ok, here is a stupid, newbie question.... Where do I find information on how to install this? Do I just use the normal FLASH application?

Thanks,
Ed

johsua 2007-07-25 12:17

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
There is a how to in the wiki.
http://www.internettablettalk.com/wi..._to_a_computer

Mara 2007-07-25 12:58

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
Quote:

Originally Posted by Mara (Post 62119)
Patched the kernel and so far so good... I copied my MaemoMapper maps to the Patriot 8GB SDHC card and couple long movies. So far everything is working good with no file system corruptions/panics...

The memory card bus speed is reported 48MHz, as expected.

Just and update that everything is still running good! I have copied some more MP3's to test UKMP smooth scrolling (nice...). I have also used MaemoMapper little bit to try to stimulate stress for the file system. So far so good...

chilko 2007-07-25 13:20

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
how to test speed?

joelong 2007-07-25 18:15

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
So, of all who have installed this kernel patch, has anyone had ANY hiccups with SD or SDHC cards? If not, maybe this is the Holy Grail.

LordFu 2007-07-25 19:17

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
So, can you patch the kernel without reflashing, and if so, how?

Mara 2007-07-25 19:20

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
Quote:

Originally Posted by LordFu (Post 62968)
So, can you patch the kernel without reflashing, and if so, how?

Just look at Joshua's post... 5 posts above. :rolleyes:

re2st 2007-07-25 20:21

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
What does this patch do? How is it different from the one with Nokia (official) update (that enables SDHC up to 8GB)?

Thanks!

brendan 2007-07-25 21:34

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
Does this clear up the issues some of us had with the removable cards going wonky?

iball 2007-07-26 00:34

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
Beats me, but I just updated my kernel on the new OS to this one and so far so good.
Seems to be a little speedier with my 4GB SDHC cards too.

brendan 2007-07-26 14:29

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
i am not sure what the issue is, but when i follow the tutorial cited in a previous post, i have to prepend "sh " to the command, otherwise i get permission denied. i have already chmod'd the file 777, and still get it.

additionally, when the script calls the eraseall and nandwrite scripts, i also get permission denied, even though i chmod'd them 777 as well.

i have run it as user and as root. as i type this i realize my mistake. i have the files on the internal card, and they should be on the internal flash memory, and not on a card. will have to see if that makes a difference.

TA-t3 2007-07-26 15:00

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
That _will_ make a difference, the internal flash is mounted with execute privileges, the internal card is not.

joelong 2007-07-27 05:59

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
I THINK I successfully installed the kernel mod to the latest OS, but I'm a little nervous, because I didn't have to actually run becomeroot. Did I miss something? Is there somewhere I can check to ascertain that the modified kernel is actually installed?

Here's a dumb question: How do I put the N800 into suspend mode without either turning it off completely, or locking the screen and buttons? Or do I have to just wait for it to fall asleep?

gowen 2007-07-27 09:41

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
I have just done the same thing and bricked (wafered?) my SHDC card. I re-ran the kernel update as root, but the card is still not being mounted and there is no entry for it in /dev. I have tried reading it on my XP machine and although a drive letter is assigned you can't actually do anything.

I have updated the wiki page to include the sudo gainroot instruction.

fanoush 2007-07-27 10:13

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
Quote:

Originally Posted by gowen (Post 63467)
I have updated the wiki page to include the sudo gainroot instruction.

Why? It is not needed. Flasher does it automatically for you. I have reverted wiki page back. Why to add extra steps that are not needed? Or did it fail for you without 'sudo gairoot'?

gowen 2007-07-27 10:47

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
Quote:

Originally Posted by fanoush (Post 63473)
Or did it fail for you without 'sudo gairoot'?

A corrupt memory card could be considered a failure, although as the gainroot is included in the script I doubt it was the issue. It just seemed likely at the time and no-one had commented on joelong's posting.

However, I light of my experience, I would recommend people remove their SD cards before updating the kernel.

fanoush 2007-07-27 11:12

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
Quote:

Originally Posted by gowen (Post 63478)
A corrupt memory card could be considered a failure.

This problem is absolutely unrelated to kernel flashing procedure. Anyway, adding 'sudo gainroot' to wiki would not solve that and is similar to adding 'Now you should sacrifice black chicken.' step :-)

Quote:

Originally Posted by gowen (Post 63478)
However, I light of my experience, I would recommend people remove their SD cards before updating the kernel.

This looks like 'sacrifice white chicken', but it definitely won't hurt :-)

It may be related to the kernel you are actually running but not to the flashing procedure. Nokia kernel is known to kill some cards sometimes. Search this forum or maemo bugzilla for details. Also Philip's kernel is not that much different and just adds features so same problem can happen with his kernel too, there is no real reason why to think it would be any better. See also http://intr.overt.org/blog/?p=53

fanoush 2007-07-27 11:27

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
BTW sorry if my comment felt offensive in any way, it was not meant to be.

brendan 2007-07-27 12:37

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
so i got the kernel patch to finally go, and with a reboot and reformat of the removable card, i was able to write to it to my hearts content. i shut it off and put it on the charger for the night. now the card is not even recognized, not mounted and not available.

any ideas if this is a card issue or a kernel issue? i would guess the latter, since i have repeatedly gotten the functionality of the card back.

gowen 2007-07-27 15:28

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
Quote:

Originally Posted by fanoush (Post 63483)
BTW sorry if my comment felt offensive in any way, it was not meant to be.

They did a bit, but then I'm sensitive to and try to avoid confrontation ;). Even if my comments were misguided, I was just trying to be helpful and prevent other users from suffering the same fate of a corrupt card.

However, AFAIC, thats the end of the matter and we go forward.

--------Line in Sand --------
:) :) :)

joelong 2007-07-27 17:03

Reality check needed
 
I need some help figuring out whether I've messed up my new N800.

When it arrived yesterday, I immediately installed the latest version of the OS. Then, I set about to install Phil Langdale's modified kernel. I followed the instructions in the wiki article "How to flash the SDHC kernel w/out connecting to a computer," but I stupidly followed them literally and installed the sdhc-kernel-3.2007.10.bin kernel. Surprisingly, the N800 seemed to work fine.

Within minutes, I realized that I should have installed mcc-kernel-4.2007.26.bin. I did so. The N800 still seems to work fine. I have two questions:

1. Does mcc-kernel-4.2007.26.bin completely replace the pre-existing kernel, so that I can be confident that I have an intact, non-botched kernel now in place?

2. How, exactly, does one "reboot" the N800? I've assumed that this is done by holding down the on/off key long enough to shut down the machine, then starting it up again. Is this right?

Thanks to all for the wonderful help and guidance you provide in these forums.

Milhouse 2007-07-27 17:23

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
1. Yes, it's a complete replacement for the kernel

2. Holding down the power button (with the AC adapter disconnected) is one option, however the ultimate reboot is achieved by removing the battery for a few (5-10) seconds then re-inserting and powering up (again with the AC adapter disconnected).

jweinel 2007-07-27 18:35

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
I'm confused on how to reboot! I thought I read somewhere in this forum that reboot results when you power up with the "home" button held down. Did I dream this up??

Mara 2007-07-27 18:37

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
Quote:

Originally Posted by jweinel (Post 63592)
I'm confused on how to reboot! I thought I read somewhere in this forum that reboot results when you power up with the "home" button held down. Did I dream this up??

That's how you enable the firmware update mode of the N800...

fanoush 2007-07-27 18:38

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
Quote:

Originally Posted by Milhouse (Post 63576)
however the ultimate reboot is achieved by removing the battery for a few (5-10) seconds then re-inserting and powering up (again with the AC adapter disconnected).

Removing battery when the device is on may cause data loss if done in wrong moment (i.e. relatively often), it is not good to do it unless device hangs and is unresponsive for few minutes.

The long power key press calls system shutdown and powers off most of the device. Same can be done by pressing power key shortly and selecting power off. When device seems to be off you can remove battery to power off the rest but this is not needed in normal situations.

To do reboot quickly without powering off, you can run 'reboot' command as root. This can be done even if charger is connected. You can also enable reboot item in power key menu by editing /etc/systemui/systemui.xml.

fanoush 2007-07-27 19:39

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
Quote:

Originally Posted by gowen (Post 63545)
However, AFAIC, thats the end of the matter and we go forward.

Thanks. When things are complex people often treat it as magic. I was trying to prevent people to learn rituals that (in my opinion) do not help at all but make things yet more confusing.

As for completely dead cards the real reason why it happens is currently unknown so we can have only bold (and most probably wrong) theories. From user reports it looks to me like it may (or may not) be related to

- using card in external slot; bold theory is that the slot is capable of more fine grained voltage control so card in that slot runs at different/lower voltage than in internal one so maybe some cards don't like it sometimes, but maybe the simpler explanation is that people remove cards from external slot more often so the chance of corruption is higher

- copying/downloading data from network directly to the card (using maemo mapper to download maps, downloading big files via wget or scp), bold theory is that (especially long lasting) wi-fi transfer may produce high power drain and (with the combination of lower voltage in external slot) may cause the card to be momentarily 'underpowered' when doing the write operation and fail

So because I don't understand it too, my rituals would be
- avoid using external slot and prefer the internal one
- avoid doing long lasting data transfers from wi-fi to card

But I admit I may be completely wrong so in fact you may learn rituals that do not help at all but make things yet more confusing :-)

Greyghost 2007-08-29 18:52

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
Well I had high hopes that this might solve my missing internal memory issue (cf. many other threads), but alas not. The good news is that I was able, using the instructions on the wiki, to reflash my N800 with the new kernel in a matter of ten minutes and it worked without a problem. Except...of course, it didn't 'restore' my internal memory (and I'd happily sacrifice any color chicken to get it back:). Now, it may have sped up the transfer rate from the external memory (1G ScanDisk) card, but I really can't tell...yet...more tests later.

Forgive the dumb question, (especially after I've already done, yes:), but is that what the point of this patch is? Or is it stability? Or a bit of both?

In any case, thanks to all who posted the patch and the thread and instructions for installing. This sort of support makes the forums clearly superior to the (dreaded) official Nokia support system. I am ever hopeful that the solution will emerge here before I have to send my baby back;)

ps I've not had any trouble with damaged cards...just the internal memory slot.

Milhouse 2007-08-29 23:46

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
This patch offers improved performance (Nokia throttled performance in the official firmware) and possibly improved stability (Nokia made other changes in the official firmware which may have induced some unwanted side effects with certain cards). I think most of the reasons for creating this unnoficial patch are explained in the authors blog that is linked in the first post...

DeekDeek 2007-08-30 00:11

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
hey i was reading on the link, that doing this would disable VPN support? is this true? i'm using vpnc and cannot afford to loose that functionality.

Greyghost 2007-08-30 16:30

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
Quote:

Originally Posted by Milhouse (Post 71987)
This patch offers improved performance (Nokia throttled performance in the official firmware) and possibly improved stability (Nokia made other changes in the official firmware which may have induced some unwanted side effects with certain cards). I think most of the reasons for creating this unnoficial patch are explained in the authors blog that is linked in the first post...

Thanks Milhouse...I've done some more testing and the info is strictly apocryphal but it does seem that mplayer runs smoother!

ascherjim 2007-09-07 17:49

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
Am confused. In executing the referenced wiki instructions for flashing this kernel, should I be using the sdhc kernel (which I've done) or substituted the mmc kernel? What's the difference?

Milhouse 2007-09-07 18:00

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
The latests/greatest/fastest kernel for the N800 as of this date is the kernel referenced in the first post of this thread... the patch author chose to name the new kernel mmc-* whereas before he used the sdhc-* prefix... no big deal, as this patch fixes up both SD and MMC support.

Follow the wiki instructions but use the new filename (mmc-kernel-4.2007.26.bin) wherever it mentions the old filename (sdhc-kernel-3.2007.10.bin).

What's the difference? mmc-kernel-4.2007.26.bin supports the latest Nokia kernel, while sdhc-kernel-3.2007.10.bin supports the kernel from the previous Nokia 3.2007 firmware release - the SD/MMC support is the same in both files, but if you installed sdhc-kernel-3.2007.10.bin you will be missing all the recent kernel bug fixes and improvements introduced with the 4.2007.26-8 Nokia firmware release.

ascherjim 2007-09-07 20:11

Re: High Speed (48Mhz) SDHC Kernel available for 4.2007.26-8
 
Milhouse: Thanks for the clarification (and advice). I've re-flashed with the mmc kernel.


All times are GMT. The time now is 14:54.

vBulletin® Version 3.8.8