marcint43
Re: NSA 325 V2 Debian Is Possible! March 27, 2014 04:00PM |
Re: NSA 325 V2 Debian Is Possible! March 27, 2014 05:03PM |
Admin Registered: 14 years ago Posts: 19,427 |
Re: NSA 325 V2 Debian Is Possible! April 02, 2014 05:21AM |
Registered: 10 years ago Posts: 6 |
root@Sheeva:~# dmesg | grep 'eth0' [ 3.915009] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:00:02:02
Re: NSA 325 V2 Debian Is Possible! April 02, 2014 12:25PM |
Admin Registered: 14 years ago Posts: 19,427 |
Re: NSA 325 V2 Debian Is Possible! April 02, 2014 06:10PM |
Registered: 10 years ago Posts: 6 |
[ 39.568368] NET: Registered protocol family 10 [ 39.787229] mv643xx_eth_port mv643xx_eth_port.0 eth0: link down [ 39.793289] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 42.399547] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled [ 42.409463] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 58.934049] tun: Universal TUN/TAP device driver, 1.6 [ 58.939609] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 18.377890] loop: module loaded [ 21.576454] NET: Registered protocol family 10Nothing more from mv643xx_eth or eth0 apart from the single line I quoted above.
Re: NSA 325 V2 Debian Is Possible! April 03, 2014 01:39AM |
Admin Registered: 14 years ago Posts: 19,427 |
Re: NSA 325 V2 Debian Is Possible! April 03, 2014 08:04PM |
Registered: 10 years ago Posts: 6 |
Re: NSA 325 V2 Debian Is Possible! April 04, 2014 12:08AM |
Admin Registered: 14 years ago Posts: 19,427 |
Re: NSA 325 V2 Debian Is Possible! April 04, 2014 12:29PM |
Registered: 10 years ago Posts: 6 |
Re: NSA 325 V2 Debian Is Possible! April 04, 2014 05:51PM |
Registered: 10 years ago Posts: 6 |
Re: NSA 325 V2 Debian Is Possible! April 04, 2014 08:17PM |
Admin Registered: 14 years ago Posts: 19,427 |
[none] nand-disk timer oneshot ide-disk1 ide-disk2 heartbeat gpio default-onSo do this:
echo ide-disk1 > /sys/class/leds/status\:xxxxxx/triggerand then to see if disk is in slot 0: ls some directory to trigger the LED.
Re: NSA 325 V2 Debian Is Possible! April 08, 2014 08:03AM |
Registered: 11 years ago Posts: 6 |
Re: NSA 325 V2 Debian Is Possible! April 08, 2014 04:07PM |
Registered: 11 years ago Posts: 44 |
Re: NSA 325 V2 Debian Is Possible! April 08, 2014 08:13PM |
Registered: 10 years ago Posts: 4 |
Re: NSA 325 V2 Debian Is Possible! April 08, 2014 10:53PM |
Admin Registered: 14 years ago Posts: 19,427 |
Quote
So Debian would be the logical choice. Any arguments for and against?
Quote
I dislike the idea of a USB drive sticking out from the back of the NAS 24/7
Quote
Is the hardware well supported and configurable?
Quote
So, does power management work as expected and is it configurable on at least the same level as in default firmware? What about Wake on LAN?
Quote
I assume that "run to_stock" mentioned by marcint43 works in the serial console, right?
Re: NSA 325 V2 Debian Is Possible! April 08, 2014 10:56PM |
Registered: 11 years ago Posts: 44 |
Re: NSA 325 V2 Debian Is Possible! April 09, 2014 05:20PM |
Registered: 12 years ago Posts: 232 |
This can be simply executed, as is, from serial, yes. From Linux, you must us fw_setenv.Quote
run to_stock
It's the separate MCU that controls the fan, and its programming. A higher quality fan in the same power envelope should be feasible if you so choose.Quote
*fan*
Do not attempt. I have had several engineering samples that have cooked themselves after sustained high load at these levels. Literally cooked to the point of they are unstable after idling for a few minutes after boot.Quote
overclock ... 2Ghz
Yup. I did a fair amount of work to ensure everything was supported on the board, to the best of my ability. I do however, hate the bootup watchdog.Quote
supported
Re: NSA 325 V2 Debian Is Possible! April 09, 2014 06:53PM |
Registered: 10 years ago Posts: 6 |
> [none] nand-disk timer oneshot ide-disk1 ide-disk2 > heartbeat gpio default-on >> So do this:
> echo ide-disk1 > > /sys/class/leds/status\:xxxxxx/trigger >> and then to see if disk is in slot 0: ls some
if [ -d /sys/class/leds/nsa325\:green\:sys ]; then echo default-on > /sys/class/leds/nsa325\:green\:sys/trigger echo none > /sys/class/leds/nsa325\:orange\:sys/trigger echo ide-disk1 > /sys/class/leds/nsa325\:red\:hdd1/trigger echo ide-disk2 > /sys/class/leds/nsa325\:red\:hdd2/trigger # This works as intended: if [ -e /dev/disk/by-path/platform-sata_mv.0-scsi-0\:0\:0\:0 ]; then echo default-on > /sys/class/leds/nsa325\:green\:hdd1/trigger fi # This doesn't: path does not exist, although 2 sata disks installed if [ -e /dev/disk/by-path/platform-sata_mv.1-scsi-0\:0\:0\:0 ]; then echo default-on > /sys/class/leds/nsa325\:green\:hdd2/trigger fi fi
Re: NSA 325 V2 Debian Is Possible! April 09, 2014 10:04PM |
Admin Registered: 14 years ago Posts: 19,427 |
if [ -d /sys/class/leds/nsa325\:green\:sys ]; then echo default-on > /sys/class/leds/nsa325\:green\:hdd1/trigger echo default-on > /sys/class/leds/nsa325\:green\:hdd2/trigger fi
Re: NSA 325 V2 Debian Is Possible! May 01, 2014 08:38AM |
Registered: 10 years ago Posts: 4 |
#!/bin/sh -e # Indicator LEDs if [ -d /sys/class/leds/nsa325\:orange\:sys ]; then echo none > /sys/class/leds/nsa325\:orange\:sys/trigger if [ -d /sys/class/leds/nsa325\:green\:sys ]; then echo default-on > /sys/class/leds/nsa325\:green\:sys/trigger fi if [ -d /sys/class/leds/nsa325\:green\:hdd1 ]; then echo ide-disk1 > /sys/class/leds/nsa325\:green\:hdd1/trigger fi if [ -d /sys/class/leds/nsa325\:green\:hdd2 ]; then echo ide-disk2 > /sys/class/leds/nsa325\:green\:hdd2/trigger fi exit 0
$ sudo echo none > /sys/class/leds/nsa325\:orange\:sys/triggersignals "Permission denied" - why? The only way to execute such commands and get the LEDs working is to su root manually after every reboot. Is there something wrong with my sudo/sudoers configuration?
karolp1993
Re: NSA 325 V2 Debian Is Possible! May 01, 2014 10:29AM |
Re: NSA 325 V2 Debian Is Possible! May 01, 2014 04:01PM |
Registered: 12 years ago Posts: 232 |
Re: NSA 325 V2 Debian Is Possible! May 01, 2014 04:15PM |
Admin Registered: 14 years ago Posts: 19,427 |
echo none > /sys/class/leds/nsa325\:orange\:sys/trigger
echo ide-disk1 > /sys/class/leds/nsa325\:green\:hdd1/trigger echo ide-disk2 > /sys/class/leds/nsa325\:green\:hdd2/trigger
Could this have something to do with the fact that for some reason (why?) my SATA-disks are recognized as /dev/sda and /dev/sdc while the USB stick being /dev/sdb?
Re: NSA 325 V2 Debian Is Possible! May 02, 2014 04:01AM |
Registered: 10 years ago Posts: 4 |
Re: NSA 325 V2 Debian Is Possible! May 11, 2014 03:59PM |
Registered: 11 years ago Posts: 80 |
root@debian:~# cat /sys/class/hwmon/hwmon0/device/temp1_input [ 396.131910] nsa3xx-hwmon nsa3xx-hwmon: Failed to read MCU data 0 root@debian:~# cat /sys/class/hwmon/hwmon0/device/fan1_input [ 401.391909] nsa3xx-hwmon nsa3xx-hwmon: Failed to read MCU data 0
Re: NSA 325 V2 Debian Is Possible! May 12, 2014 01:14AM |
Admin Registered: 14 years ago Posts: 19,427 |
CONFIG_SENSORS_LM63=m CONFIG_SENSORS_LM70=m CONFIG_SENSORS_LM73=m CONFIG_SENSORS_LM75=m CONFIG_SENSORS_LM77=m CONFIG_SENSORS_LM78=m CONFIG_SENSORS_LM80=m CONFIG_SENSORS_LM83=m CONFIG_SENSORS_LM85=m CONFIG_SENSORS_LM87=m CONFIG_SENSORS_LM90=m CONFIG_SENSORS_LM92=m CONFIG_SENSORS_LM93=m CONFIG_SENSORS_LM95234=m CONFIG_SENSORS_LM95241=m CONFIG_SENSORS_LM95245=m CONFIG_SENSORS_NSA3XX=m
Re: NSA 325 V2 Debian Is Possible! May 12, 2014 11:41AM |
Registered: 12 years ago Posts: 232 |
Re: NSA 325 V2 Debian Is Possible! May 12, 2014 05:32PM |
Registered: 11 years ago Posts: 80 |
Re: NSA 325 V2 Debian Is Possible! May 12, 2014 08:51PM |
Registered: 12 years ago Posts: 232 |
Re: NSA 325 V2 Debian Is Possible! May 19, 2014 05:18PM |
Registered: 11 years ago Posts: 80 |