Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Fri Dec 15, 2017 4:57 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 168 posts ]  Go to page Previous 16 7 8 9 1012 Next
Author Message
PostPosted: Sun May 05, 2013 1:18 am 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2692
No


Top
   
PostPosted: Sun May 05, 2013 9:37 am 
Offline
Regular Member
User avatar

Joined: Mon Jun 18, 2012 2:12 pm
Posts: 116
if you rely on jumbo frames, use an older kernel or wait for 3.9.x

_________________
## Linkstation LS-CHLv2 and LS-XHL stuff:
Debian 7 Wheezy - Rootfs
Kernel 3.13


Top
   
PostPosted: Sun May 05, 2013 12:34 pm 
Offline
Newbie

Joined: Sat Oct 20, 2012 8:04 pm
Posts: 12
Location: Brazil
fjen wrote:
if you rely on jumbo frames, use an older kernel or wait for 3.9.x


I was testing if jumbro frames can improve samba performance with LS-XHL. Sometimes, I get 12-20MBytes/s, but the current speed is 30-35MBytes/s. If jumbo frames are enable, the speed is more stabilized. By the way, using proftpd, I can get up 60MBytes/s.

Anyway, I am back to 3.8.5 .

Thank you ! :up:


Top
   
PostPosted: Fri Aug 02, 2013 1:35 pm 
Offline
Total Newbie

Joined: Fri Aug 02, 2013 1:17 pm
Posts: 1
Hi everyone,

Using this thread as guidance, I've finally managed to compile a vanilla 3.6.0 kernel in my LS-VL with tun device support which was my very first objective.

Then I have some concerns, USB is not working at all, it's off and not giving any power to anything I connect. Do you guys have some idea how can I turn USB to work? After compiled, I've check the differences of the .config files published here and I don't see any difference regarding USB support.

Thank you in advance :up:


Top
   
PostPosted: Sat Aug 03, 2013 9:58 am 
Offline
Moderator

Joined: Fri Jun 29, 2007 10:39 am
Posts: 2604
Someone somewhere in this forum mentioned, that for
USB to start to work, one needs to set a value of a specific
device entry at boot time.
Sorry, but I can't remember who and where this was.

_________________
Please do not use private mail (PN/M) to ask questions. Use the proper forum instead. (me)

If there is no verified backup of a dataset, the dataset, by definition, is unimportant. (c't 2012)

RAID (no matter which level) never ever substitutes a backup. (me)


Top
   
PostPosted: Fri Sep 13, 2013 4:13 am 
Offline
Total Newbie

Joined: Sun Nov 29, 2009 1:30 am
Posts: 4
Hello,

I have just upgraded debian from squeeze to wheezy on LS-VL. Now udev can't be started:
Code:
[root@nas boot]# /etc/init.d/udev start
[FAIL] udev requires a kernel >= 2.6.32, not started ... failed!
 failed!

[root@nas boot]# uname -a
Linux nas 2.6.31.8 #10 Wed Jun 1 14:44:07 JST 2011 armv5tel GNU/Linux

[root@nas boot]# cat /etc/fstab
# UNCONFIGURED FSTAB FOR BASE SYSTEM
# /etc/fstab: static file system information.
#
# file system    mount point   type    options                  dump pass
/dev/sda2        /             xfs     defaults,noatime         0    1
/dev/sda5        none          swap    sw                       0    0
proc             /proc         proc    defaults                 0    0
devpts           /dev/pts      devpts  gid=4,mode=620      0    0
tmpfs            /tmp          tmpfs   defaults                 0    0
sysfs            /sys          sysfs   defaults                 0    0

[root@nas boot]# mount | grep -v sdb1 | grep -v usbfs
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=4,mode=620,gid=5,mode=620,gid=4,mode=620)
rootfs on / type rootfs (rw)
/var/run on /run type none (rw,noexec,nosuid,bind,size=10%,mode=755,size=10%,mode=755,size=10%,mode=755,size=10%,mode=755)
/var/lock on /run/lock type none (rw,noexec,nosuid,nodev,bind,size=5242880,mode=1777,size=5242880,mode=1777,size=5242880,mode=1777,size=5242880,mode=1777)
/dev/shm on /run/shm type none (rw,noexec,nosuid,nodev,bind,size=49680k,mode=1777,size=49680k,mode=1777,size=49680k,mode=1777,size=49680k,mode=1777)
tmpfs on /tmp type tmpfs (rw)

[root@nas boot]# ls /dev
console  full      log=   loop2  loop5  md/   port  ram@  ram10  ram13  ram16  ram4  ram7  random   stdin@   tty0       zero
core@    initctl|  loop0  loop3  loop6  mem   ptmx  ram0  ram11  ram14  ram2   ram5  ram8  shm@     stdout@  urandom
fd@      kmem      loop1  loop4  loop7  null  pts/  ram1  ram12  ram15  ram3   ram6  ram9  stderr@  tty      xconsole|


[root@nas boot]# ls /boot/
(clean)

How can I install custom kernel from kernel.org?

I have tried install the kernel from debian repo, but after rebooting, the system is still: Linux nas 2.6.31.8 #10 Wed Jun 1 14:44:07 JST 2011 armv5tel GNU/Linux
:
Code:
[root@nas ~]# apt-get install linux-image-3.2.0-4-kirkwood


The same way when using:
Code:
##### COMPILE Linkstation LS-CHLv2 Kernel

### >= 3.6:
make menuconfig
make zImage modules
make kirkwood-lschlv2.dtb
cat arch/arm/boot/zImage arch/arm/boot/kirkwood-lschlv2.dtb > arch/arm/boot/zImage_w_dtb
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n 'Linux-3.0' -d arch/arm/boot/zImage_w_dtb arch/arm/boot/uImage

### < 3.6:
patch -Np1 -i lschlv2.patch
make menuconfig
make uImage modules

### CROSS on debian
# replace make commands with:
ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make -j3 ...

##### INSTALL
kernel: arch/arm/boot/uImage
make modules_install
#or for an other path:
make modules_install INSTALL_MOD_PATH=blah


Could anyone please help me?


Top
   
PostPosted: Sat Sep 14, 2013 8:23 am 
Offline
Total Newbie

Joined: Sun Nov 29, 2009 1:30 am
Posts: 4
Diamond wrote:
Hello,

I have just upgraded debian from squeeze to wheezy on LS-VL. Now udev can't be started:
Code:
[root@nas boot]# /etc/init.d/udev start
[FAIL] udev requires a kernel >= 2.6.32, not started ... failed!
 failed!
...



Solved by reinstall firmware, need to open the box anyway...


Edit: OK, got the LS-VL boot with this new kernel (linux-image-3.9.2-fjen-1-lsxhl.deb) and used rootfs from this http://forum.buffalo.nas-central.org/viewtopic.php?f=71&t=26291 but it seems usb hdd box can't be mounted on wheezy

Code:
[root@nas ~]# uname -a; lsmod
Linux nas 3.9.2-fjen-1 #1 Wed May 15 14:36:42 CEST 2013 armv5tel GNU/Linux
Module                  Size  Used by
xfs                   431156  1
exportfs                2845  1 xfs
ipv6                  257471  28


[root@nas ~]# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.9.2-fjen-1 (fjen@qoop) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 Wed May 15 14:36:42 CEST 2013
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Marvell Kirkwood (Flattened Device Tree), model: Buffalo Linkstation LS-CHLv2
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 65536
[    0.000000] free_area_init_node: node 0, pgdat c03db948, node_mem_map c03fc000
[    0.000000]   Normal zone: 512 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65536 pages, LIFO batch:15
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda2 rw initrd=0x00800040,12M panic=5 BOOTVER=0.25
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] __ex_table already sorted, skipping sort
[    0.000000] Memory: 256MB = 256MB total
[    0.000000] Memory: 255748k/255748k available, 6396k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc038a1b0   (3593 kB)
[    0.000000]       .init : 0xc038b000 - 0xc03aa518   ( 126 kB)
[    0.000000]       .data : 0xc03ac000 - 0xc03dca88   ( 195 kB)
[    0.000000]        .bss : 0xc03dca88 - 0xc03fb05c   ( 122 kB)
[    0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:114
[    0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[    0.000000] Console: colour dummy device 80x30
[    8.042994] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
[    8.082877] pid_max: default: 32768 minimum: 301
[    8.083002] Mount-cache hash table entries: 512
[    8.084454] CPU: Testing write buffer coherency: ok
[    8.084707] Setting up static identity map for 0xc029ad98 - 0xc029add4
[    8.086017] pinctrl core: initialized pinctrl subsystem
[    8.086811] regulator-dummy: no parameters
[    8.087191] NET: Registered protocol family 16
[    8.087961] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    8.090395] Kirkwood: MV88F6282-Rev-A0, TCLK=200000000.
[    8.090412] Feroceon L2: Enabling L2
[    8.090442] Feroceon L2: Cache support initialised.
[    8.094130] No ATAGs?
[    8.101978] bio: create slab <bio-0> at 0
[    8.102370] USB Power: Failed to request enable GPIO11: -517
[    8.102483] reg-fixed-voltage 1.regulator: Failed to register regulator: -517
[    8.102497] platform 1.regulator: Driver reg-fixed-voltage requests probe deferral
[    8.102636] HDD Power: Failed to request enable GPIO10: -517
[    8.102739] reg-fixed-voltage 2.regulator: Failed to register regulator: -517
[    8.102752] platform 2.regulator: Driver reg-fixed-voltage requests probe deferral
[    8.103034] vgaarb: loaded
[    8.103424] SCSI subsystem initialized
[    8.103706] libata version 3.00 loaded.
[    8.104142] usbcore: registered new interface driver usbfs
[    8.104250] usbcore: registered new interface driver hub
[    8.104380] usbcore: registered new device driver usb
[    8.105368] Switching to clocksource orion_clocksource
[    8.113197] NET: Registered protocol family 2
[    8.113539] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    8.113593] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    8.113622] TCP: Hash tables configured (established 2048 bind 2048)
[    8.113662] TCP: reno registered
[    8.113672] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    8.113690] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    8.113812] NET: Registered protocol family 1
[    8.113836] PCI: CLS 0 bytes, default 32
[    8.123757] msgmni has been set to 499
[    8.124047] io scheduler noop registered
[    8.124055] io scheduler deadline registered (default)
[    8.124623] kirkwood-pinctrl f1010000.pinctrl: registered pinctrl driver
[    8.124833] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.155421] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[    8.195418] mv_xor f1060800.xor: Marvell XOR: ( xor fill cpy )
[    8.195581] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.235417] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[    8.275418] mv_xor f1060900.xor: Marvell XOR: ( xor fill cpy )
[    8.275771] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.277815] loop: module loaded
[    8.278272] sata_mv f1080000.sata: version 1.28
[    8.278361] sata_mv f1080000.sata: slots 32 ports 1
[    8.279362] scsi0 : sata_mv
[    8.279636] ata1: SATA max UDMA/133 irq 21
[    8.281100] m25p80 spi0.0: found mr25h256, expected m25p40
[    8.281114] m25p80 spi0.0: mr25h256 (32 Kbytes)
[    8.282729] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.282848] libphy: mv643xx_eth smi: probed
[    8.285782] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 4c:e6:76:1e:32:c0
[    8.286394] mv643xx_eth_port mv643xx_eth_port.1 eth1: port 0 with MAC address 00:00:00:00:00:00
[    8.286504] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.286579] orion-ehci f1050000.ehci: Marvell Orion EHCI
[    8.286600] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.286688] orion-ehci f1050000.ehci: irq 19, io mem 0xf1050000
[    8.305394] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.305450] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    8.305460] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.305467] usb usb1: Product: Marvell Orion EHCI
[    8.305474] usb usb1: Manufacturer: Linux 3.9.2-fjen-1 ehci_hcd
[    8.305481] usb usb1: SerialNumber: f1050000.ehci
[    8.305893] hub 1-0:1.0: USB hub found
[    8.305911] hub 1-0:1.0: 1 port detected
[    8.306132] ehci-pci: EHCI PCI platform driver
[    8.306243] Initializing USB Mass Storage driver...
[    8.306389] usbcore: registered new interface driver usb-storage
[    8.306396] USB Mass Storage support registered.
[    8.306528] mousedev: PS/2 mouse device common for all mice
[    8.306607] rtc-mv f1010300.rtc: retrieved alarm date/time is not valid.
[    8.306771] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    8.306886] i2c /dev entries driver
[    8.307412] gpio-fan gpio_fan.3: GPIO fan initialized
[    8.307559] cpuidle: using governor ladder
[    8.307566] cpuidle: using governor menu
[    8.307620] leds-gpio gpio_leds.2: pins are not configured from the driver
[    8.309031] TCP: cubic registered
[    8.309041] NET: Registered protocol family 17
[    8.309092] Key type dns_resolver registered
[    8.309518] registered taskstats version 1
[    8.309869] USB Power: 5000 mV
[    8.310065] HDD Power: 5000 mV
[    8.310107] console [netcon0] enabled
[    8.310112] netconsole: network logging started
[    8.310479] input: gpio_keys.1 as /devices/gpio_keys.1/input/input0
[    8.310809] Warning: unable to open an initial console.
[    8.785407] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    8.825433] ata1.00: ATA-8: ST3000DM001-9YN166, CC4C, max UDMA/133
[    8.825443] ata1.00: 5860533168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    8.885433] ata1.00: configured for UDMA/133
[    8.885662] scsi 0:0:0:0: Direct-Access     ATA      ST3000DM001-9YN1 CC4C PQ: 0 ANSI: 5
[    8.886297] sd 0:0:0:0: [sda] 5860533168 512-byte logical blocks: (3.00 TB/2.72 TiB)
[    8.886306] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    8.886466] sd 0:0:0:0: [sda] Write Protect is off
[    8.886477] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    8.886547] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    8.933551]  sda: sda1 sda2 sda3 sda4 sda5 sda6
[    8.934912] sd 0:0:0:0: [sda] Attached SCSI disk
[    8.961312] EXT4-fs (sda2): couldn't mount as ext3 due to feature incompatibilities
[    8.969632] EXT4-fs (sda2): couldn't mount as ext2 due to feature incompatibilities
[    9.000033] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[    9.000058] VFS: Mounted root (ext4 filesystem) on device 8:2.
[    9.000433] Freeing init memory: 124K
[   11.835685] EXT4-fs (sda2): re-mounted. Opts: (null)
[   14.360159] SGI XFS with security attributes, large block/inode numbers, no debug enabled
[   14.386635] XFS (sda6): Mounting Filesystem
[   14.624959] XFS (sda6): Ending clean mount
[   15.607545] NET: Registered protocol family 10
[   15.720519] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   18.692828] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   18.692879] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready


[root@nas log]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


OK, it seems that there's no power on USB port. Need to patch GPIO?

Any help, please?


Last edited by Diamond on Sun Sep 15, 2013 2:39 pm, edited 2 times in total.

Top
   
PostPosted: Sat Sep 14, 2013 11:30 am 
Offline
Total Newbie

Joined: Sun Nov 29, 2009 1:30 am
Posts: 4
@fjen: Thanks for your work. It would be great for Windows users if we don't need to open the box and plug it to linux machine (we can package it to LSUpdater). This instruction shows that :P http://buffalo.nas-central.org/wiki/Category:LS-WXL

Edited: should be on viewtopic.php?f=71&t=26291 thread :P


Top
   
PostPosted: Sun Oct 13, 2013 9:13 am 
Offline
Newbie

Joined: Thu Mar 28, 2013 4:12 am
Posts: 5
Hello again.

Received an issue with trying to apply latest updates.


Package "udev" wants to be upgraded to version 204.

However it requires CONFIG_DEVTMPFS=y in the kernel.

In current file: config.3.9.2-fjen-1

there is:

# CONFIG_DEVTMPFS is not set

Is it possible to fix?


Top
   
PostPosted: Wed Nov 06, 2013 11:26 pm 
Offline
Regular Member
User avatar

Joined: Mon Jun 18, 2012 2:12 pm
Posts: 116
Diamond wrote:
I have tried install the kernel from debian repo

this kirkwood kernel is for other devices.
Diamond wrote:
Edit: OK, got the LS-VL boot with this new kernel (linux-image-3.9.2-fjen-1-lsxhl.deb)
OK, it seems that there's no power on USB port. Need to patch GPIO?

The LS-VL has slightly different hardware and may need other ports to power up for usb.
Diamond wrote:
@fjen: Thanks for your work. It would be great for Windows users if we don't need to open the box and plug it to linux machine (we can package it to LSUpdater).

I do not own this device anymore and will just maintain my existing work.
kixx wrote:
Received an issue with trying to apply latest updates.

Package "udev" wants to be upgraded to version 204.

However it requires CONFIG_DEVTMPFS=y in the kernel.

# CONFIG_DEVTMPFS is not set

Is it possible to fix?

wheezy will not update to udev 204, but i will enable this kernel option in the next release (maybe 3.12.1).

_________________
## Linkstation LS-CHLv2 and LS-XHL stuff:
Debian 7 Wheezy - Rootfs
Kernel 3.13


Top
   
PostPosted: Thu Nov 21, 2013 10:52 pm 
Offline
Regular Member
User avatar

Joined: Mon Jun 18, 2012 2:12 pm
Posts: 116
3.12.1 is ready. Nothing really interesting, i only added some wishlist items and f2fs.

_________________
## Linkstation LS-CHLv2 and LS-XHL stuff:
Debian 7 Wheezy - Rootfs
Kernel 3.13


Top
   
PostPosted: Sun Feb 16, 2014 1:13 pm 
Offline
Regular Member
User avatar

Joined: Mon Jun 18, 2012 2:12 pm
Posts: 116
3.12.11 and 3.13.3 for you, the latter has nftables support.
i did not test them this time, but normally everything should work.

//edit: tested 3.13.3, all fine

_________________
## Linkstation LS-CHLv2 and LS-XHL stuff:
Debian 7 Wheezy - Rootfs
Kernel 3.13


Top
   
PostPosted: Sun Feb 16, 2014 2:55 pm 
Offline
Newbie

Joined: Tue May 15, 2012 4:50 pm
Posts: 33
THanks!!!! :biglol: :biglol:


Top
   
PostPosted: Wed Mar 05, 2014 2:32 pm 
Offline
Newbie

Joined: Tue May 31, 2011 5:56 pm
Posts: 6
Does this fw support 3TB hdd ?


Top
   
PostPosted: Wed Mar 05, 2014 3:06 pm 
Offline
Regular Member
User avatar

Joined: Mon Jun 18, 2012 2:12 pm
Posts: 116
This is not a firmware, this is a kernel. And yes, >2TB should be no problem as we use GPT partitioning and do not have this magical limit.

_________________
## Linkstation LS-CHLv2 and LS-XHL stuff:
Debian 7 Wheezy - Rootfs
Kernel 3.13


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 168 posts ]  Go to page Previous 16 7 8 9 1012 Next

All times are UTC+01:00


Who is online

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