Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Sun Nov 19, 2017 6:11 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 81 posts ]  Go to page Previous 1 2 3 4 5 6 Next
Author Message
PostPosted: Wed Oct 31, 2007 1:51 am 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
this vmlinuz-file is the original 2.4.20 extracted from the flash of the LS2. iuboot should be able to boot it.
hm. it searches for the system.map file?

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!


Top
   
PostPosted: Wed Oct 31, 2007 2:34 am 
Offline
Newbie

Joined: Wed Aug 30, 2006 11:43 pm
Posts: 38
I don't use das uboot since I don't wanna risk the flash of the LSII.
And I have no idea what system.map is. Sorry.


Top
   
PostPosted: Fri Nov 02, 2007 9:38 pm 
Offline
Newbie

Joined: Wed Aug 30, 2006 11:43 pm
Posts: 38
mouloud wrote:
I just noticed that I have a difference between my kern.log and Eiji's:
Mine shows:
Code:
Oct 29 15:05:00 linkserver kernel: Cannot find map file.
Oct 29 15:05:00 linkserver kernel: No module symbols loaded - kernel modules not enabled.
Oct 29 15:05:00 linkserver kernel: Linux version 2.6.22.ls2 (mihai@meme.inline.com) (gcc version 4.0.0 (DENX ELDK 4.0 4.0.0)) #1 Thu Aug 16 23:30:01 BST 2007

What is that map file and what are these module symbols?


Anyone who knows something about my problem, please?

Thanks


Top
   
PostPosted: Tue Nov 06, 2007 3:38 am 
Offline
Newbie

Joined: Wed Aug 30, 2006 11:43 pm
Posts: 38
Hey guys! I have some news.

I finally decided to try the eiji bootloader on a very fresh freelink install. And it worked. I could load the 2.6 kernel.
Maybe it wasn't working because of debian 4.0...

anyway it works for now, but can I upgrade to debian 4.0 now without risks?
I'm currently working at installing mods and modutils. I'll bring feedback later.


Top
   
PostPosted: Tue Nov 06, 2007 5:30 am 
Offline
Newbie
User avatar

Joined: Sun Nov 04, 2007 2:08 am
Posts: 6
mouloud wrote:
mouloud wrote:
I just noticed that I have a difference between my kern.log and Eiji's:
Mine shows:
Code:
Oct 29 15:05:00 linkserver kernel: Cannot find map file.
Oct 29 15:05:00 linkserver kernel: No module symbols loaded - kernel modules not enabled.
Oct 29 15:05:00 linkserver kernel: Linux version 2.6.22.ls2 (mihai@meme.inline.com) (gcc version 4.0.0 (DENX ELDK 4.0 4.0.0)) #1 Thu Aug 16 23:30:01 BST 2007

What is that map file and what are these module symbols?


Anyone who knows something about my problem, please?

Thanks


mouloud

A couple of suggestions...

Do you have module-init-tools installed? These are needed in Debian to deal with loading of modules in version 2.6 kernels. It appears as though your kernel isnt loading modules, though I wouldnt have thought that would cause a big problem - the only kernel module thats loaded by default on my LS2 after boot time is IPV6, which isn't really required for basic operation. Maybe fixing the module issue will help though?

A particular version of the tool is required (over 3.3 I think). If you have Debian 4.0 a workable version will be installed from the stable branch if you run:

Code:
apt-get install module-init-tools


This wont break module loading for 2.4 kernels if you want to revert for any reason.

Next thing - try running depmod, which may give you some more information if you're having module problems

Third thing - make sure you have the correct kernel modules stored in the correct place.

FYI, Im running Debian 4.0 with LinuxNotIncludeds 2.6.22 kernel so it should be possible for you to do so as well. Im booting via u-boot though - use of eijis bootloader always triggers the watchdog 5 minute restart issue on my LS2.


Top
   
PostPosted: Tue Nov 06, 2007 9:24 am 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
hmm...you can login for a few seconds....what about executing

Code:
depmod -a

?

this should create all the file in /lib/modules. try it.

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!


Top
   
PostPosted: Tue Nov 06, 2007 3:21 pm 
Offline
Newbie

Joined: Wed Aug 30, 2006 11:43 pm
Posts: 38
Too late guys ;) I already made a fresh freelink install and that worked just fine!
The 2.6 kernel is running and stable (~10h running)

I think the "depmod -a" was the right solution but I have no way to check that now that I reinstalled freelink.

I already setup NFS which works fine. And since debian 4.0 seems to work great I'm gonna install it tomorrow I think.

If anyone thinks that debian 4.0 is not a good idea, please tell me before tomorrow. Thanks.


Top
   
PostPosted: Tue Nov 06, 2007 3:35 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
try it, why not.

the only thing you need to do is to change the /etc/apt/sources.list

change every occurence from sarge to etch and run
Code:
apt-get update
apt-get upgrade
apt-get dist-upgrade


with the 2.6.22 kernel it should work. i just know that the glibc shipped with etch (or lenny? i do not remember) needs a 2.6 kernel....this was not mandatory before.

tell us if it worked.

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!


Top
   
PostPosted: Wed Nov 07, 2007 12:23 pm 
Offline
Newbie
User avatar

Joined: Sun May 21, 2006 11:04 am
Posts: 29
Location: Japan
mouloud wrote:
mouloud wrote:
I just noticed that I have a difference between my kern.log and Eiji's:
Mine shows:
Code:
Oct 29 15:05:00 linkserver kernel: Cannot find map file.
Oct 29 15:05:00 linkserver kernel: No module symbols loaded - kernel modules not enabled.
Oct 29 15:05:00 linkserver kernel: Linux version 2.6.22.ls2 (mihai@meme.inline.com) (gcc version 4.0.0 (DENX ELDK 4.0 4.0.0)) #1 Thu Aug 16 23:30:01 BST 2007


What is that map file and what are these module symbols?



Anyone who knows something about my problem, please?

Thanks


Look bottom lines of /etc/init.d/checkroot.sh.

If you find the line:
Code:
insmod /lib/modules/idtinfo.o > /dev/null

Then you should change it to:
Code:
if [ "`/bin/uname -r`" = "2.4.20_mipsel_linkstation" ]; then
        insmod /lib/modules/idtinfo.o > /dev/null
fi

_________________
NetBSD/LinkStation works well :-)


Top
   
PostPosted: Fri Nov 09, 2007 1:40 am 
Offline
Newbie

Joined: Wed Aug 30, 2006 11:43 pm
Posts: 38
There is no such line in /etc/init.d/checkroot.sh.

I installed debian 4.0 (regular apt-get upgrade) but haven't rebooted since then.
I will report back when I reboot (I don't want to try it right now, I need my LS to be functionnal right now).


Top
   
PostPosted: Fri Nov 09, 2007 2:08 am 
Offline
Newbie

Joined: Wed Apr 19, 2006 6:48 am
Posts: 54
Just to make you feel better:

I also had no chance to boot with kernel 2.4.20 after I upgraded to Debian Lenny.
Some extended tests today showed me that the filesystems did not get mounted properly when trying a 2.4.20 boot.

This might be because of Lenny´s glibc, but probably there is something else.
As far as I´ve been told, the file system drivers are built into the kernel statically. I did not see any log files or even mount timestamps as an evidence for the 2.4 boot approach. So it seems to me that kernel 2.4 boots do fails very early!


Top
   
PostPosted: Fri Nov 09, 2007 7:39 am 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
I've included an old insmod into my bootloader for that reason, but haven't received any feedback yet.


Top
   
PostPosted: Fri Nov 09, 2007 8:33 am 
Offline
Newbie

Joined: Wed Apr 19, 2006 6:48 am
Posts: 54
andre wrote:
I've included an old insmod into my bootloader for that reason

Should I be able to replace my default insmod with your old one and try a boot?
I didn´t use loader.o up till now and I just want to check, if I may stay with my u-boot setup to do another 2.4 boot test.


Top
   
PostPosted: Fri Nov 09, 2007 10:36 am 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
Do not replace your insmod! My solution: Look for the, included, /boot/insmod.$(uname -m), if not found, use the system's insmod.


Top
   
PostPosted: Fri Nov 09, 2007 1:57 pm 
Offline
Newbie

Joined: Wed Apr 19, 2006 6:48 am
Posts: 54
So how does the kernel search for insmod?
Will it prefer /boot/insmod.mips over /sbin/insmod?

Edit:
Did some testing. Event if I replace the "regular" insmod with your statically linked version, I do not get my system up with kernel 2.4 anymore.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 81 posts ]  Go to page Previous 1 2 3 4 5 6 Next

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited