Page 1 of 2

new 2.6.39.4 kernel for nwsp2 classic and lite

PostPosted: Wed Nov 16, 2011 8:11 pm
by fvdw
Attached is a archive containing a new kernel for the nwsp2 classic and lite version.
yes one kernel that will run on both systems :mrgreen:

need some volunteers for testing before putting it in the firmware.
I tested it on my systems and also Jocko tested it on his nwsp2 but a second test on anther nwsp2 lite would be nice.

uImage-26394-nwsp2cl-9.zip


To install it
Precondition: you must have fvdw-sl-10-1 running or use the first time install package fvdw-10-1 for nwsp2 and use this kernel instead the one in the package.

I assume you unpacked the zip archive in the fvdw share.
(Make it in the webinterface if you didn't create it already in the past)

The package contains 1 files
the new kernel: uImage-26394-nwsp2cl-9

Install the new kernel
Access the nwsp2 via SSH using Putty
Type on the command line
Code: Select all
dd if=/share/1000/fvdw/uImage-26394-nwsp2cl-9 of=/dev/sda6

double check that you didn't make a error in this command as dd easily can destroy data on your disk when writing to wrong partition !

reboot the nwsp2 it will now boot using the new kernel.

Only try it if you think you have enough Linux experience.

Let us know your results

thks fvdw

Re: new 2.6.39.4 kernel for nwsp2 classic and lite

PostPosted: Tue Nov 22, 2011 1:42 pm
by lapasta
Hi,
Just updated my nwsp2 classic to the new kernel, up to now had no problems. Also, now the "switch power led" option is working =)
Didn't tested the USB port.

Leo

Re: new 2.6.39.4 kernel for nwsp2 classic and lite

PostPosted: Tue Nov 22, 2011 5:57 pm
by firwareslut
Will test it when i get back from holiday!

Re: new 2.6.39.4 kernel for nwsp2 classic and lite

PostPosted: Tue Nov 22, 2011 7:48 pm
by fvdw
lapasta wrote:Hi,
Just updated my nwsp2 classic to the new kernel, up to now had no problems. Also, now the "switch power led" option is working =)
Didn't tested the USB port.

Leo


Thanks for testing Lapasta, :D yes indeed this new kernel supports switching the power led on and off. It also support use of the back side usb port but still have to find time to write some scripts to get that feature working and possible to use via the webinterface

Re: new 2.6.39.4 kernel for nwsp2 classic and lite

PostPosted: Fri Nov 25, 2011 5:30 pm
by mikesmth
Tested on my lite box: Running fine!

Transmission:Ok
Torrent-flux:Ok
external USB disk:NOK


Greetings!

Re: new 2.6.39.4 kernel for nwsp2 classic and lite

PostPosted: Fri Nov 25, 2011 8:06 pm
by fvdw
mikesmth wrote:Tested on my lite box: Running fine!

Transmission:Ok
Torrent-flux:Ok
external USB disk:NOK


Greetings!


Thanks for testing Mikesmith, what do you mean with external USB not ok, did you test the front side usb or back side usb port ?
The front port is supposed to use for connecting external usb disk and should work fine (It does on as well my Lite as classic nwsp2)
Back side usb port support still needs some scripts to be added to the firmware

Re: new 2.6.39.4 kernel for nwsp2 classic and lite

PostPosted: Sat Nov 26, 2011 12:04 pm
by mikesmth
I connected a USB disk to the front connector, but the fvdw firmware does not show the disk on my nwsp2-lite.
I will investigate further as soon as I'm back home sometime tomorrow.
Greetz,

mike_something

Re: new 2.6.39.4 kernel for nwsp2 classic and lite

PostPosted: Sat Nov 26, 2011 4:43 pm
by fvdw
I tested it once more on both my nwsp2 classic and lite but both work ok with front side usb

output dmesg form the lite one:
Code: Select all
Linux version 2.6.39.4 (root@fvdwsl-nwsp2.local) (gcc version 4.2.3) #41 PREEMPT Fri Nov 11 22:38:13 GMT+1 2011
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: LaCie Network Space Lite v2

<snip>
ps you will see some insmod errors but you can ignore those as these are for use of the firmware in combination wit a 2.6.33.1 kernel
For the 2.6.39.4 kernel a didderent method is used for the modules.

The part below of dmesg output shows that the usb port drivers are loaded properly.
<snip>
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: Marvell Orion EHCI
usb usb1: Manufacturer: Linux 2.6.39.4 ehci_hcd
usb usb1: SerialNumber: orion-ehci.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.

<snip


now after connecting a usb hardd disk this is found in dmesg output
Code: Select all
usb 1-1: new high speed USB device number 2 using orion-ehci
usb 1-1: New USB device found, idVendor=067b, idProduct=2507
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: Mass Storage Device
usb 1-1: Manufacturer: Prolific Technology Inc.
usb 1-1: SerialNumber: 0
usb-storage 1-1:1.0: Quirks match for vid 067b pid 2507: 110
scsi2 : usb-storage 1-1:1.0
scsi 2:0:0:0: Direct-Access     HTS42404 0M9AT00          MA2O PQ: 0 ANSI: 0
sd 2:0:0:0: [sdb] Adjusting the sector count from its reported value: 78140160
sd 2:0:0:0: [sdb] 78140159 512-byte logical blocks: (40.0 GB/37.2 GiB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 03 00 00 00
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] Adjusting the sector count from its reported value: 78140160
sd 2:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 2:0:0:0: [sdb] Adjusting the sector count from its reported value: 78140160
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] Attached SCSI disk
NTFS volume version 3.1.
root@nwsp2-lite:/ #


In this case it is a ntfs formatted usb disk and it is mounted properly. I did not test a fat32 one yet
Also the usb disk is visible as a share in the web interface and accessible via samba and ftp

must be something with your usb disk :?:

Re: new 2.6.39.4 kernel for nwsp2 classic and lite

PostPosted: Wed Nov 30, 2011 8:24 pm
by matigev
Tested and working on nwsp2 classic

Re: new 2.6.39.4 kernel for nwsp2 classic and lite

PostPosted: Wed Nov 30, 2011 10:34 pm
by fvdw
thks for the feedback matigev