Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Thu May 24, 2018 6:41 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 743 posts ]  Go to page Previous 144 45 46 47 4850 Next
Author Message
PostPosted: Tue Dec 08, 2009 1:02 am 
Offline
Newbie

Joined: Mon Apr 16, 2007 11:32 pm
Posts: 19
Location: United Kingdom (Great Britain)
deb wrote:
2.6.32 should be up soon.(compiling http://xkcd.com/303/ )

The crypto engine i think is now in mainline proper. Ext4 will be compiled built in, ppp as a module.


Thank you very much for doing these and sharing them :up:


Top
   
PostPosted: Fri Dec 11, 2009 2:55 pm 
Offline
Newbie

Joined: Wed Dec 09, 2009 2:15 pm
Posts: 6
will this work in the new ARM 9 Kirkwood procs in the TS III?


Top
   
PostPosted: Mon Dec 14, 2009 6:16 am 
Offline
Newbie

Joined: Mon May 25, 2009 4:11 pm
Posts: 30
s4mb4 wrote:
will this work in the new ARM 9 Kirkwood procs in the TS III?


No. It will not.


I will upload a 2.6.32.1 kernel soon.


Top
   
PostPosted: Wed Dec 16, 2009 4:16 pm 
Offline
Newbie

Joined: Sat Jul 07, 2007 3:33 pm
Posts: 15
.


Top
   
PostPosted: Sun Jan 03, 2010 6:43 pm 
Offline
Newbie

Joined: Tue Jan 29, 2008 11:43 am
Posts: 6
Hello

I have a KuroBox Pro with kernel 2.6.25.6 and now I need to compile a module for my webcam but I can not download linux-headers of this kernel version. I tried with apt-get but I can not.

Where can I get the linux-headers for kernel 2.6.25.6?

Another question:

As I can see the latest kernel (2.6.29.1) has only been built for the Linkstation Pro. From what I have seen the development of the KuroBox Pro version has stopped in 2.6.25.6. Can I install the 2.6.29.1 version on my KuroBox Pro?


(el Ingles no es lo mio perdon)


Top
   
PostPosted: Mon Jan 04, 2010 11:10 pm 
Offline
Newbie

Joined: Mon Jan 04, 2010 11:03 pm
Posts: 6
Hello,
i have a problem with the update from the new kernel
On my LS Pro 2 there is the Freelink Version with the kernel 2.6.12.6

I downloaded the new kernel from [url]http://github.com/deb/Current-stable-kernel-for-the-linkstation-pro
[/url]

there is a Shell Script script-build-kernel.sh

When I execute this script, I get a lot of errors

please ensure that you have a good .config / kernel config ready
step 1 make clean
make: *** Keine Regel, um »clean« zu erstellen. Schluss.
step 2 make menuconfig (edit this if you don't this step)
make: *** Keine Regel, um »menuconfig« zu erstellen. Schluss.
step 3 make zImage .. this will take a while (you may want to use screen or another method to background this part)
make: *** Keine Regel, um »zImage« zu erstellen. Schluss.
step 4 producing the required uImage for actual use from the zImage
./script-build-kernel.sh: line 17: devio: command not found
cat: arch/arm/boot/zImage: Datei oder Verzeichnis nicht gefunden
mkimage: Can't read zImage.new: Invalid argument
your kernel is ready (it is called uImage.new) HOWEVER YOU NOW NEED TO WAIT FOR THE MODULES TO BE BUILT AND INSTALLED
step 5 building modules
make: *** Keine Regel, um »modules« zu erstellen. Schluss.
step 6 installing modules
make: *** Keine Regel, um »modules_install« zu erstellen. Schluss.
step 7 you now need to copy the uImage.new to /boot and symlink the uImage.buffalo to point at the uImage.new file
after rebooting, the kernel built should be active

What I had to do ?

Thanks


Top
   
PostPosted: Wed Jan 06, 2010 12:59 pm 
Offline
Newbie

Joined: Mon May 25, 2009 4:11 pm
Posts: 30
dval wrote:
Hello,
i have a problem with the update from the new kernel
On my LS Pro 2 there is the Freelink Version with the kernel 2.6.12.6

I downloaded the new kernel from [url]http://github.com/deb/Current-stable-kernel-for-the-linkstation-pro
[/url]

there is a Shell Script script-build-kernel.sh

When I execute this script, I get a lot of errors

please ensure that you have a good .config / kernel config ready
step 1 make clean
make: *** Keine Regel, um »clean« zu erstellen. Schluss.
step 2 make menuconfig (edit this if you don't this step)
make: *** Keine Regel, um »menuconfig« zu erstellen. Schluss.
step 3 make zImage .. this will take a while (you may want to use screen or another method to background this part)
make: *** Keine Regel, um »zImage« zu erstellen. Schluss.
step 4 producing the required uImage for actual use from the zImage
./script-build-kernel.sh: line 17: devio: command not found
cat: arch/arm/boot/zImage: Datei oder Verzeichnis nicht gefunden
mkimage: Can't read zImage.new: Invalid argument
your kernel is ready (it is called uImage.new) HOWEVER YOU NOW NEED TO WAIT FOR THE MODULES TO BE BUILT AND INSTALLED
step 5 building modules
make: *** Keine Regel, um »modules« zu erstellen. Schluss.
step 6 installing modules
make: *** Keine Regel, um »modules_install« zu erstellen. Schluss.
step 7 you now need to copy the uImage.new to /boot and symlink the uImage.buffalo to point at the uImage.new file
after rebooting, the kernel built should be active

What I had to do ?

Thanks



The shell script is used to compile a kernel. Not install one exactly.....
You are not doing that (compiling). I have not tested the kernel on the distribution you are running. A lot of people in this thread / forum /site are running debian lenny armel. iirc freelink is a hacked up debian arm etch release.


http://buffalo.nas-central.org/wiki/LS_ ... trap_Howto
While dated can help you get to where you want to be without modifying u-boot.
You essentially debootstrap debian armel, chroot into it and apt-get install what you need.


Top
   
PostPosted: Sun Jan 10, 2010 7:19 pm 
Offline
Newbie

Joined: Wed Feb 27, 2008 12:42 am
Posts: 66
Deb, I would like to try out and install the new kernel you compiled for LS-PRO. What is the instruction for the "inpatient" on applying/installing -the precompiled Kernel "2.6.32.2". I have downloaded it as a zip and got three files (uImage-2.6.32.2., modules-2.6.32.2.tar.gz, and config) I know there is a script that goes with it but my impression with that script is to compile a kernel and not install on LS-GL.

So in newbie's approach,
What is step one? two, three etc...

A link would be OK too. I hope you don't mind .

Thanks,
Tek
MCSE WinNT4 Certified.


BTW -My LS is a V2
Linux Version 2.6.29.1
Compiled #1 PREEMPT Mon Apr 6 22:33:31 CDT 2009
One ARM Feroceon rev 0 (v5l) Processor, 128M RAM


Top
   
PostPosted: Mon Jan 11, 2010 8:54 am 
Offline
Newbie

Joined: Wed Feb 27, 2008 12:42 am
Posts: 66
Are these the right steps to install the new Kernel and modules?


Quote:
Code:

cd /boot
cp /home/tek/fromweb/uImage-2.6.32.2 /boot
mv uImage-2.6.29.1 uImage-2.6.29.1.backup
ln -s uImage uImage-2.6.32.2



And install the tar gz modules;
Quote:
Code:

cp /home/tek/fromweb/modules-2.6.32.2.tar.gz /tmp
cd /tmp
tar -C / -xzvf modules-2.6.32.2.tar.gz
depmod -a

shutdown -r now


I am just learning Debian and starting on this embedded OS. Thanks


Top
   
PostPosted: Wed Jan 13, 2010 3:02 am 
Offline
Newbie

Joined: Mon May 25, 2009 4:11 pm
Posts: 30
TekBLang:
Close but not exact.

step 1:
extract the .zip / .tar
cp uImage-2.6.32.2 /boot
cd /boot
rm uImage.buffalo
ln -s uImage-2.6.32.2 uImage.buffalo

------
Ok that's the kernel now you need to extract the modules and copy them to
/lib/modules
e.g.
/lib/modules/2.6.32.2

--> yes now depmod -a and then reboot


Top
   
PostPosted: Thu Jan 14, 2010 7:22 am 
Offline
Newbie

Joined: Wed Feb 27, 2008 12:42 am
Posts: 66
I'll probably do the kernel upgrade tomorrow or this weekend. Just an FYI, My LS's has a kernel based on Davy_Gravy's installation procedure (page 5) . So I am a little confused with the ff. statement-
Quote:
"ln -s uImage-2.6.32.2 uImage.buffalo"


My current stuff on my /boot is "lrwxrwxrwx 1 root root 15 2010-01-06 14:19 ..........uImage -> uImage-2.6.29.1"
.

I am newbie in Debian especially with embedded/U-boot

I have a feeling my bootloader is configured to look for a "uImage". Or it can and will fall back to what you suggested (uImage.buffalo), if it (u-boot) doesn't see the "uImage". Am I right?

Thanks,
Tek


Debian GNU/Linux 5.0
ls-gl.nubee.com login: tek
Password:
Last login: Wed Jan 13 13:55:32 PST 2010 from 198.133.219.227 on pts/0




........._sudZUZ#Z#XZo=_........DDDD..EEEEEE.BBBB...IIIIII...AA....NN NN
......_jmZZ2!!~---~!!X##wa...... DD DD EE BB BB II AA AA NNN NN
....<wdP~~.....````...-!YZL,.....DD DD EEEEE BBBBB II AAAAAA NNNN NN
...mX2' _%aaa__ XZ[...............DD DD EE BB BB II AA AA NN NNNN
..oZ[ _jdXY!~?S#wa ]Xb;...........DDDD EEEEEE BBBBB IIIIII AA AA NN NN
._#e' .]X2( ~Xw| )XXc
.2Z`......]X[....... xY|..]oZ(...Linux Version 2.6.29.1
.2#; )3k; _s!~ jXf` Compiled #1 PREEMPT Mon Apr 6 22:33:31 CDT 2009
.1Z> -]Xb/ ~ __#2( One ARM Feroceon rev 0 (v5l) Processor, 128M RAM
.-Zo; +!4ZwaaaauZZXY' 266.24 Bogomips Total
..*#[, ~-?!!!!!!-~ ls-gl.nubee.com
...XUb;.
....)YXL,,
......+3#bc,
........-)SSL,,
~~~~~

Debian GNU/Linux 5.0 Lenny
tek@ls-gl:~$
tek@ls-gl:~$
tek@ls-gl:~$ cd /boot
tek@ls-gl:/boot$ ls -l
total 17276
-rw-r--r-- 1 root root 60034 2009-04-06 20:42 ......config-2.6.29.1
-rw-r--r-- 1 root root 2322728 2008-06-21 02:40 ...initrd.buffalo
-rw-r--r-- 1 root root 29 2010-01-12 00:22 ...........rootfs_ok
-rw-r--r-- 1 root root 1011256 2009-04-06 20:42 ....System.map-2.6.29.1
lrwxrwxrwx 1 root root 15 2010-01-06 14:19 ........uImage -> uImage-2.6.29.1
-rw-r--r-- 1 root root 2331216 2009-04-06 20:42 ....uImage-2.6.29.1
-rw-r--r-- 1 root root 5407280 2008-08-01 14:44 ....uImage_em
-rw-r--r-- 1 root root 6496566 2009-04-06 20:42 ....vmlinux-2.6.29.1
tek@ls-gl:/boot$


Top
   
PostPosted: Thu Jan 14, 2010 8:34 am 
Offline
Newbie

Joined: Tue Jul 17, 2007 2:47 pm
Posts: 64
Hey TekBLang,

you are right. The link must refer to uImage.
Yesterday I upgraded my kernel to 2.6.32 without any problems.
But I think there is one more thing to mention:

It was not enough to link uImage to the new kernel in /boot.
I also had to mount sda1 manually and put the new uImage there too.
Without this second step the LS always booted the old kernel.

Regards ares

_________________
LSProV2::Debian Lenny by davy_gravy::Kernel 2.6.32 with CESA by balou1974::Webmin::Fuppes UPNP Server::SFTP with MySecureShell


Top
   
PostPosted: Thu Jan 14, 2010 9:05 am 
Offline
Newbie

Joined: Wed Feb 27, 2008 12:42 am
Posts: 66
So what am I missing here? (step 3)

step 1:
extract the .zip / .tar
cp uImage-2.6.32.2 /boot
cd /boot
mv uImage-2.6.29.1 uImage-2.6.29.1.backup
ln -s uImage uImage-2.6.32.2

step 2:

extract the modules and copy them to
/lib/modules
e.g.
/lib/modules/2.6.32.2


step 3: ---



step 4: depmod -a and then reboot




I have this on my /dev

brw-rw---- 1 root disk 8, 0 2010-01-12 00:22 sda
brw-rw---- 1 root disk 8, 1 2010-01-12 00:22 sda1
brw-rw---- 1 root disk 8, 2 2010-01-12 00:22 sda2
brw-rw---- 1 root disk 8, 3 2010-01-12 00:22 sda3
brw-rw---- 1 root disk 8, 5 2010-01-12 00:22 sda5

and my fdisk -l
:/dev# fdisk -l

Disk /dev/sda: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sda1 1 109 875511 83 Linux
/dev/sda2 110 1312 9663097+ 83 Linux
/dev/sda3 1313 1379 538177+ 5 Extended
/dev/sda5 1313 1379 538146 82 Linux swap / Solaris




Thank you
Tek


Top
   
PostPosted: Thu Jan 14, 2010 9:31 am 
Offline
Newbie

Joined: Tue Jul 17, 2007 2:47 pm
Posts: 64
This is how it worked for me:

TekBLang wrote:
So what am I missing here? (step 3)

step 1:
extract the .zip / .tar
cp uImage-2.6.32.2 /boot
cd /boot
mv uImage-2.6.29.1 uImage-2.6.29.1.backup
ln -s uImage-2.6.32.2 uImage

step 2:

extract the modules and copy them to
/lib/modules
e.g.
/lib/modules/2.6.32.2


step 3:

mkdir /mnt/sda1
mount -t ext2 /dev/sda1 /mnt/sda1
cp /boot/uImage-2.6.32.2 /mnt/sda1
cd /mnt/sda1
rm uImage
ln -s uImage-2.6.32.2 uImage

step 4: depmod -a and then reboot

_________________
LSProV2::Debian Lenny by davy_gravy::Kernel 2.6.32 with CESA by balou1974::Webmin::Fuppes UPNP Server::SFTP with MySecureShell


Top
   
PostPosted: Fri Jan 15, 2010 4:22 am 
Offline
Newbie

Joined: Wed Feb 27, 2008 12:42 am
Posts: 66
Ares,

Here is what I did on my hardrive during the installation.

Code:
-----------------------------
Once you are done w/ making partitions, create the filesystems on them. We will assume you created exactly the partition above. Do the following:

Code:
mkfs.ext2 /dev/sda1
mkfs.ext3 /dev/sda2
mkswap /dev/sda5
mkfs.ext3 /dev/sda6
mkfs.jfs /dev/sda7

-----------------------------

5. Now mount the 1st two partitions, download & untar the image on sda2, and copy the kernels to sda1:

Code:
cd /
mkdir sda1
mkdir sda2
mount -t ext2 /dev/sda1 /sda1
mount -t ext3 /dev/sda2 /sda2
cd /sda2
wget http://buffalo.nas-central.org/download/Users/davy_gravy/armel_images/armel-lenny-for-lspro-dgv0.3.2.tgz
tar zxvf armel-lenny-for-lspro-dgv0.3.2.tgz
cp /sda2/boot/* /sda1/

If you do just what has been shown, you will get this in /sda1 and /sda2 (sizes approximate) :

Code:
foonas-em$ ls -ln /sda1
-rw-r--r--    1 0        0           54874 Aug  2 05:43 config-2.6.29.1
-rw-r--r--    1 0        0         2322728 Aug  2 05:43 initrd.buffalo
-rw-r--r--    1 0        0              29 Aug  2 05:43 rootfs_ok
-rw-r--r--    1 0        0         2288708 Aug  2 05:43 uImage
-rw-r--r--    1 0        0         2288708 Aug  2 05:43 uImage-2.6.29.1
-rw-r--r--    1 0        0         5407280 Aug  2 05:43 uImage_em




I will follow your "ln" and below instruction (part 3) since it worked for you. I am starting to like Debian on my Little NAS since I can add an important feature like iSCSI target and it (iSCSI target) is important to me since "LCR" on exchange won't work on a network share, only locally attached storage like DAS and internal Drive.

Part 3:
Quote:
mkdir /mnt/sda1
mount -t ext2 /dev/sda1 /mnt/sda1
cp /boot/uImage-2.6.32.2 /mnt/sda1
cd /mnt/sda1
rm uImage
ln -s uImage-2.6.32.2 uImage


Thanks again.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 743 posts ]  Go to page Previous 144 45 46 47 4850 Next

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 3 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