DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-09-11 19:42:47

dns_user
New member
Registered: 2009-09-11
Posts: 2

simple loader.o howto ( whats the simplest way to try a kernel)

Hi,

I am trying to load a different kernel in my dns-323 . Anything higher than 2.6.15 should do.

I am reluctant to flash the firmware, I am hoping to find something less intrusive.

I saw pages about using loader.o to achieve loadlin ( aaaa the good old days) like functionality.

The loader.o thing seamed related to DSM-G600, does it work in a DNS-323?

I am fluent enough to cross compile myself, but I am lazy and if someone has a dns-323 loader.o lying around please post it!

What I am tring to achieve is to run linux md-raid "check" and "repair" actions. This feature makes the mirror check itself and correct read-errors should they happen. It is good practice to "scrub" raid arrays periodically. This feature appeared in 2.6.15.

Another approach would be to script it using dd and diff, but that much less clean...

Thanks for reading!

Offline

 

#2 2009-09-12 12:07:35

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: simple loader.o howto ( whats the simplest way to try a kernel)

The DNS-323 version of loader.o is this: http://www.inreto.de/dns323/reloaded/
For file system tools, you might want to try http://www.inreto.de/dns323/reloaded/ or look at  the many approach here http://dns323.kood.org/forum/viewtopic. … 08&p=1 (not using reloaded). Finally,  reloaded is used to replace the firmware like this: http://dns323.kood.org/howto:ffp-reloaded

Offline

 

#3 2009-09-14 19:42:53

dns_user
New member
Registered: 2009-09-11
Posts: 2

Re: simple loader.o howto ( whats the simplest way to try a kernel)

Thanks Fonz,

I will try the reloaded thing. Can I use the kernel at http://www.inreto.de/dns323/ffp-reloade … 25.1-2.tgz ?

Can I use the original initrd? is it at /image.cfs?

I am still not sure if ffp-reloaded will flash the firmware or not... I can edit the wiki page if you give me a definitive answer.

Just to be clear, my ideal situation would be to run the exact same thing as dlink 1.07 + ffp 0.5 BUT with a newer kernel: I do not mind the dlink stuff, however, 2.6.12 is antiquated, I would rather run a newer kernel.

Again, if ffp-reloaded does not flash the rom, I will use that, otherwise I will modify by ffp/fun_plug to reload the new kernel at boot.

thanks for your time!

Offline

 

#4 2009-09-14 22:00:06

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: simple loader.o howto ( whats the simplest way to try a kernel)

you can't use other kernels than 2.6.12.6 with the firmware, the firmware relies on a few nonstandard functions. to reboot into the firmware, there's http://www.inreto.de/dns323/misc/
reloaded will not touch your firmware, not overwrite anything, but only boot the kernel you like and a root file system from disk or an initrd.
i don't recommend to autoboot from the fun_plug script. might make things unnecessarily difficult when it's not working as it should.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB