Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Mon Apr 24, 2017 10:20 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Sat Jan 09, 2016 10:19 am 
Offline
Newbie

Joined: Wed Jan 06, 2016 10:09 am
Posts: 21
LS-QVL:

1) USB WORKING // without tricks or switches
Code:
usb 1-1.1: new high-speed USB device number 3 using orion-ehci
usb 1-1.1: New USB device found, idVendor=abcd, idProduct=1234
usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.1: Product: UDisk           
usb 1-1.1: Manufacturer: General
usb 1-1.1: SerialNumber: 14xxxxx
usb-storage 1-1.1:1.0: USB Mass Storage device detected
scsi host2: usb-storage 1-1.1:1.0
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver uas
scsi 2:0:0:0: Direct-Access     General  UDisk            5.00 PQ: 0 ANSI: 2
sd 2:0:0:0: Attached scsi generic sg3 type 0

2) SATA0 & SATA1 WORKING
Code:
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:1:0:0: [sdb] Attached SCSI disk
sd 0:2:0:0: [sdc] Attached SCSI disk

3) ALL LEDS WORKING AND RENAMED
Code:
lsqvl:amber:power
lsqvl:blue:func
lsqvl:blue:power
lsqvl:red:func
lsqvl:red:power

Update: 22.01.2016
Code:
lsqvl:red:hdd0
lsqvl:red:hdd1
lsqvl:red:hdd2
lsqvl:red:hdd3

If the boot is finished only the blue power led is up, and not the other red or amber leds!

4) 256MB REGION ADDED

5) FAN REGULATION WORKING!
Code:
gpio-fan gpio_fan: GPIO fan initialized

Update: 22.01.2016
Code:
fan_alarm is working now! If fan1 fails, fan1_alarm = 1, otherwise fan1_alarm = 0



KERNEL 4.3

echo 0 > /sys/devices/platform/gpio_fan/hwmon/hwmon[0-9]/fan1_target
OFF
echo 1500 > /sys/devices/platform/gpio_fan/hwmon/hwmon[0-9]/fan1_target
LOW
echo 3250 > /sys/devices/platform/gpio_fan/hwmon/hwmon[0-9]/fan1_target
MIDDLE
echo 5000 > /sys/devices/platform/gpio_fan/hwmon/hwmon[0-9]/fan1_target
HIGH


KERNEL 3.16

echo 0 > /sys/devices/gpio_fan/hwmon/hwmon[0-9]/fan1_target
OFF
echo 1500 > /sys/devices/gpio_fan/hwmon/hwmon[0-9]/fan1_target
LOW
echo 3250 > /sys/devices/gpio_fan/hwmon/hwmon[0-9]/fan1_target
MIDDLE
echo 5000 > /sys/devices/gpio_fan/hwmon/hwmon[0-9]/fan1_target
HIGH

6) KEYS WORKING!
Code:
type 1 (EV_KEY), code 357 (KEY_OPTION),value 1
-------------- EV_SYN ------------
type 1 (EV_KEY), code 357 (KEY_OPTION),value 0
-------------- EV_SYN ------------
type 1 (EV_KEY), code 1 (KEY_ESC), value 1
-------------- EV_SYN ------------
type 1 (EV_KEY), code 1 (KEY_ESC), value 0
-------------- EV_SYN ------------
type 1 (EV_KEY), code 116 (KEY_POWER),value 1
-------------- EV_SYN ------------
type 1 (EV_KEY), code 116 (KEY_POWER),value 0
-------------- EV_SYN ------------


Updated: 22.01.2016
http://pastebin.com/wQZmiuLt


Top
   
PostPosted: Sun Jan 31, 2016 2:16 am 
Offline
Total Newbie

Joined: Thu Nov 13, 2014 2:27 pm
Posts: 2
Great job!
But I have a little concern. Why are there only 2 power control for hdd instead of 4?


Top
   
PostPosted: Mon Feb 01, 2016 3:33 pm 
Offline
Newbie

Joined: Wed Jan 06, 2016 10:09 am
Posts: 21
slump wrote:
Great job!
But I have a little concern. Why are there only 2 power control for hdd instead of 4?


My file is based on the ls-wvl dts. It seems that HDD0 power and HDD1 power should be "correct spoken" SATA-PORT-0 and SATA-PORT-1. Because the kirkwood 6282 has 2 dual/quad sata ports. And so you can enable with 1 pin 1 port with at least 2 hdds. SATA-PORT-0 = HDD0 / HDD1....

rg


Top
   
PostPosted: Wed Mar 09, 2016 3:24 am 
Offline
Newbie

Joined: Fri Feb 26, 2016 8:41 am
Posts: 5
Thanks much for your help. I really appreciate it. I hope I'll get good result with your clues.






hulle6 handyhülle lg v10

_________________
Passt perfekt. Mehrere Aufstellwinkel möglich, alle Schalter und Schnittstellen bleiben zugänglich. Macht das Tablet nicht unnütz schwerer, schützt es aber trotzdem gut. www.hulle6.com


Top
   
PostPosted: Thu Apr 07, 2016 11:54 pm 
Offline
Total Newbie

Joined: Wed Nov 06, 2013 9:42 am
Posts: 3
Hello Mario,

thanks for your astonishing work.
I switched from 1.65 Stock to Debian Stretch via debian installer daily.

At first erverything works fine, but then the LS-QVL does not boot, whether full boot or emergency mode. it just stalls with all HDD leds ON, Power LED blue and Function LED off. The Box is ping-able, but all ports are closed. Any idea how to debug this ?

I tried to enable netconsole with setting in /etc/initramfs-tools/modules including network driver and updating the initrd, but somehow there is a problem with the ethernet port:

Code:
[    5.393590] netpoll: netconsole: local port 6665
[    5.398267] netpoll: netconsole: local IPv4 address 192.168.NAS
[    5.404400] netpoll: netconsole: interface 'eth0'
[    5.409133] netpoll: netconsole: remote port 6666
[    5.413867] netpoll: netconsole: remote IPv4 address 192.168.6.RECEIVER
[    5.419990] netpoll: netconsole: remote ethernet address XX:YY:CC:DD:AA:EE
[    5.431503] netpoll: netconsole: eth0 doesn't exist, aborting
[    5.437306] netconsole: cleaning up
[    5.442275] modprobe: can't load module netconsole (kernel/drivers/net/netconsole.ko): No such device


Partition Layout:
4x 2 TB HDD with GPT partitions

/dev/md0, 1GB, RAID 1 with 0.9 metadata, /boot, ext3
/dev/md1, 16GB, RAID 1 with 1.2 metadata, /, ext4
/dev/md2, 1GB, RAID 0, swap
/dev/md3, 1,8TB, RAID 5 with 1.2 metadata, /srv, ext4


Top
   
PostPosted: Fri Apr 08, 2016 6:18 am 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2624
Quote:
eth0 doesn't exist, aborting


only one port is soldered
try eth1


Top
   
PostPosted: Mon Apr 11, 2016 12:27 pm 
Offline
Total Newbie

Joined: Wed Nov 06, 2013 9:42 am
Posts: 3
Hello oxygen8,

thanks for your advice, i tried that now but it fails with the same error, too. it should be eth0, but it looks like the ethernet device is brought up much later after netconsole, which is the reason of failing.

dmesg snippet (everything network related and strange things):

Code:
[    0.079055] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
...
[    0.376557] Initramfs unpacking failed: junk in compressed archive
...
[    1.405453] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    5.224679] Begin: Loading essential drivers ...
[    5.271123] netpoll: netconsole: local port 6665
[    5.275796] netpoll: netconsole: local IPv4 address 192.168.X.YYY
[    5.281923] netpoll: netconsole: interface 'eth1'
[    5.286650] netpoll: netconsole: remote port 6666
[    5.291384] netpoll: netconsole: remote IPv4 address 192.168.X.ZZZ
[    5.297506] netpoll: netconsole: remote ethernet address b8:27:eb:XX:YY:ZZ
[    5.309064] netpoll: netconsole: eth1 doesn't exist, aborting
[    5.314874] netconsole: cleaning up
[    5.319777] modprobe: can't load module netconsole (kernel/drivers/net/netconsole.ko): No such device
[    5.341520] done.
...
[   12.391860] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 4c:e6:76:e7:6c:7f
...
[   21.963744] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled


/etc/initramfs-tools/modules
Code:
# List of modules that you want to include in your initramfs.
# They will be loaded at boot time in the order below.
#
# Syntax:  module_name [args ...]
#
# You must run update-initramfs(8) to effect this change.
#
# Examples:
#
# raid1
# sd_mod
mv643xx_eth
netconsole netconsole=@192.168.X.YYY/eth1,@192.168.X.ZZZ/b8:27:eb:XX:YY:ZZ


initramfs is built with update-initramfs -u, but the "[ 0.376557] Initramfs unpacking failed: junk in compressed archive" seems a bit odd.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 7 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


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