It is currently Thu Jul 20, 2017 10:51 pm

All times are UTC - 7 hours [ DST ]

Recent News:



Post new topic Reply to topic  [ 118 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8
Author Message
PostPosted: Thu Apr 11, 2013 5:23 pm 
Offline
Newbie
Newbie

Joined: Wed Mar 27, 2013 12:55 pm
Posts: 3
Thanks: 0
Thanked: 0 time in 0 post
merelin wrote:
MetalGeek wrote:
First off thanks for all the work peeps have done on this program. I have mediasmartserver installed using merelin's ppa on ubuntu 12.04. My server has all 4 drive bays occupied with 1 boot drive and 3 drives in a raid 5. When my system boots, I have no individual drive lights, All I have are the single HD activity light. mediasmartserver is running with the --activity and --update-monitor.
The only way I can get my individual lights to turn on is to use --xmas which gives me purple drive lights but the stay on all the time.
Code:
scott@megalon:~$ sudo mediasmartserverd -v -v  --xmas
--- SystemVendor: "Acer" - ProductName: "Aspire easyStore H340" ---
Recognized SystemVendor: "Acer"
Recognized ProductName: "Aspire easyStore H340"
Found: Acer Aspire easyStore H340
scott@megalon:~$

If I run without the --xmas the lights go out and it just sits there waiting for something, I have to ctrl+c to kill the command. I've tried --activity and --update-monitor. Neither does anything besides --xmas. ](*,)


Please try mediasmartserver 0.5.5-1ubuntu1~quantal from my PPA and give me your feedback.


Sweet. :cheers: Loaded the quantal package and now it is working. Upon bootup, I have all 4 drive lights working and they flash with activity. The i light is dark which I'm assuming is correct.


Top
 Profile  
Thanks  

Attention Guest: Remove this ad by Registering with the MediaSmartServer.net Forums. It's Free!
PostPosted: Sun Apr 14, 2013 7:17 am 
Offline
.5TB storage
.5TB storage

Joined: Thu Apr 01, 2010 5:52 am
Posts: 11
Thanks: 3
Thanked: 6 times in 2 posts
ABATAPA wrote:
alexandergeorg wrote:
created a small replacement PCB which is driven by a coldfire V1.

You will share the PCB schemes? Sure, many people (and myself) thought about it.


I asked my coallegue to do so; I think he'll follow up shortly. In the meantime, I got my daemon 90% finished.

The features are:
- [HW] all leds can be switched to blue, red or purple
- [HW] the brightness can be configured individually per led (to be developed)
- [HW] The chassis fan will be put on a duty cycle of 50% if no fan control command is issued for 15 sec (keeps my HDD's below 50 deg. Celsius)
- [SW] communication pipe to switch on the warning leds per drive
- [SW] temperature control of the HDD's which can control the fan
- [SW] user configurable command when the usb button is pressed; short-press/long-press tbd
- [SW] drive bay -> HDD mapping done on runtime, shamelessly stolen from mediasmartserverd ;-)


Top
 Profile  
Thanks  
PostPosted: Mon Apr 15, 2013 9:58 pm 
Offline
Newbie
Newbie

Joined: Sun Mar 31, 2013 11:43 am
Posts: 5
Thanks: 1
Thanked: 0 time in 0 post
alexandergeorg wrote:
I asked my coallegue to do so; I think he'll follow up shortly. In the meantime, I got my daemon 90% finished.


Thank you! We'll wait.

alexandergeorg wrote:
The features are:


Is it possible to turn off the HDD power by software, power up the drives with delay after system power up?
It may be necessary to reduce the starting current, or if the disk password is set by ATA Security, and the BIOS does not have an ATA Security extension and does not understand these discs, stopping with an error (as original H340 board).


Top
 Profile  
Thanks  
PostPosted: Fri Apr 19, 2013 12:54 pm 
Offline
Newbie
Newbie

Joined: Fri Apr 19, 2013 12:20 pm
Posts: 2
Thanks: 0
Thanked: 1 time in 1 post
Hi there,

Quote:
We'll wait.

Well, here I am :-)

So you are interested in the schematics, here they are.
Attachment:
File comment: Schematics
NAS-Front_schematics.pdf [158.86 KiB]
Downloaded 622 times

Don't blame me because of the messy schematics - I was rather ill while I created this :-)

Quote:
Is it possible to turn off the HDD power by software

Actually not, but it's really easy to include that.
My point is: It's a little risky. If you switch off the drives while the system needs them you'll have to do a resync off your raid. And maybe you loose all of your data ...

Quote:
power up the drives with delay after system power up?

That's foreseen. It's configurable in the front software.

An issue is that it must not happen that the drive are switched off when the front got an update or an unexpected reset (nobody is perfect :-)
That's handled - so if the front gets powered there is a delay, if the front got a reset there is no delay and the several microseconds of interruption are short enough to keep the drives on.

Quote:
if the disk password is set by ATA Security, and the BIOS does not have an ATA Security extension and does not understand these discs, stopping with an error (as original H340 board).

Does that mean that if the password is set you actually have to use hot plugging?

Well - the H340 backplane divides the power supply of the drives in 2 portions: Drive 1+2 and drive 3+4.
They are seperatly switchable by the controller.
So one could even think about starting only drive 1+2 for booting and switch on the other two drives lateron by a command from the linux system.

BTW - a nice thing with this replacement is the much exacter drive fan controlling.
The H340 has a temperature sensor on the backplane. This is used for controlling the fan. I think you can imagine how exact this temperature value matches the real HDD temperatures :-)
With Alex' system the HDD temperatures are read out and these values are used for defining the PWM for the fan.

To be honest - the used controller is real overkill for this project, but I use it in some other projects, too.
So why choose another one because of maybe 2 or 4 Euro?

Kind regards, the hardware guy.


Last edited by hardwareguy on Tue Feb 11, 2014 2:13 pm, edited 1 time in total.

Top
 Profile  
Thanks  
PostPosted: Sun May 05, 2013 1:35 pm 
Offline
Newbie
Newbie

Joined: Sun Mar 31, 2013 11:43 am
Posts: 5
Thanks: 1
Thanked: 0 time in 0 post
Can anybody tell about the CN3 connector on the backplane?
What are there more signals than power on drives?

What levels?


Top
 Profile  
Thanks  
PostPosted: Sun May 05, 2013 7:00 pm 
Offline
Moderator
Moderator
User avatar

Joined: Sat Oct 17, 2009 7:10 pm
Posts: 5147
Location: Georgia, USA
Thanks: 86
Thanked: 702 times in 681 posts
I can't answer your question but maybe the service manual for the H340 may offer some info on this:http://www.slideshare.net/diTii/aspire-easystore-h340-service-book

_________________
Exploring the possibilities!

Migrated from WHS2011 to WS2012E: HIGHLANDER

~ Norco 4220 Enclosure
~ Gigabyte GA-990FXA-UD5
~ AMD Phenom II X4 995 3.2 GHz
~ 8 GB Corsair Vengeance DDR3 1600 (PC3 12800)
~ 3 Supermicro AOC-SASLP-MV8


Top
 Profile  
Thanks  
PostPosted: Sun May 05, 2013 9:43 pm 
Offline
Newbie
Newbie

Joined: Sun Mar 31, 2013 11:43 am
Posts: 5
Thanks: 1
Thanked: 0 time in 0 post
Comp1962 wrote:
I can't answer your question but maybe the service manual for the H340 may offer some info on this:http://www.slideshare.net/diTii/aspire-easystore-h340-service-book


Thanks, but there is only information for the end user, and no information about backplabe. We'll have to look at the live system.


Top
 Profile  
Thanks  
PostPosted: Mon May 06, 2013 12:21 pm 
Offline
Newbie
Newbie

Joined: Fri Apr 19, 2013 12:20 pm
Posts: 2
Thanks: 0
Thanked: 1 time in 1 post
Hi there,

ABATAPA wrote:
Can anybody tell about the CN3 connector on the backplane?
What are there more signals than power on drives?

What levels?


That's rather easy:
there are 10 pins
- 3 times ground
- 1 not connected
- 2 times HDD switch
- 1 PWM for the FAN speed
- 1 rectangle coming from the FAN speed sensing
- 2 pins of a diode which is used for temperature measurement
All levels (not the diode, of corse) 5V.
0 = HDD off, 1 = HDD on.
The two FAN signals are from the 4-pin FAN, the sense includes a serial resistor.

Take a look into the schematic and you'll finde the pinning.

Kind regards
The hardwareguy.


Top
 Profile  
Thanks  
The following user would like to thank hardwareguy for this post
ABATAPA
PostPosted: Fri May 31, 2013 1:22 am 
Offline
Newbie
Newbie

Joined: Fri May 31, 2013 1:14 am
Posts: 3
Thanks: 0
Thanked: 0 time in 0 post
Hi! I have the same problem as MetalGeek. After sudo apt-get update && apt-get upgrade on Ubuntu Server 12.04 Mediasmartserver start, but doesn`t init HDD Led.

In the log there is no information like:
Code:
ADDED: '/sys/devices/pci0000:00/0000:00:1f.2 ...


With --xmas option all HDD LEDs turns on. Merelin advised to install package for quantal. It didn't help me.Can somebody help me to diagnose this problem?


Top
 Profile  
Thanks  
PostPosted: Fri May 31, 2013 3:03 am 
Offline
Newbie
Newbie

Joined: Fri May 31, 2013 1:14 am
Posts: 3
Thanks: 0
Thanked: 0 time in 0 post
Now my HDD block devices has that path in the system:
Code:
/sys/devices/pci0000:00/0000:00:1f.2/ata1/host2/target2:0:0/2:0:0:0/block/sda
/sys/devices/pci0000:00/0000:00:1f.2/ata3/host4/target4:0:0/4:0:0:0/block/sdb
/sys/devices/pci0000:00/0000:00:1f.2/ata4/host5/target5:0:0/5:0:0:0/block/sdc

Maybe this can help?


Top
 Profile  
Thanks  
PostPosted: Fri May 31, 2013 11:38 am 
Offline
Newbie
Newbie

Joined: Fri May 31, 2013 1:14 am
Posts: 3
Thanks: 0
Thanked: 0 time in 0 post
Or excuse me for my questions. I found the solution. In the package on the ppa merlon there is no last patch from git. There is patch only in package for raring (maybe not, i based only on the date of release). I build mediasmartserverd from git source and all work perfect now.


Top
 Profile  
Thanks  
PostPosted: Tue Jun 11, 2013 1:12 pm 
Offline
Newbie
Newbie

Joined: Tue Jun 11, 2013 9:31 am
Posts: 1
Thanks: 0
Thanked: 0 time in 0 post
[Post edited after having tried again]

First of all excuse my ignorance. I am new to Linux and I know nothing about programming.

I recently installed Ubuntu 12.10 desktop on my HP EX490 following the instructions on http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/. I have since been looking all over the internet trying to find a driver for the LED lights. I realize this thread is about the H340, but the mediasmartserverd driver supports the EX 485 as well, and this is the closest thing to a Linux driver for the EX 490 that I've been able to find.

Using Remote Desktop I started out by installing mediasmartserver_0.3-2ubuntu1_i386.deb by double clicking on it, and the software center gave me a warning (I don't remember exactly which one, but something about an unsound installation). I clicked proceed anyway, and it installed. Then using ssh to the terminal I started the service with smartserverd -D

This had the effect of stopping the activity light (the third light from the left) from blinking (blue) on and off all the time and it was now turned on all the time (again blue, and as it is supposed to be when the server is running). However I still did not have any drive lights. Using ssh to the terminal I then tried sudo mediasmartserverd -a to get the drive lights going. The terminal responded with Found: HP MediaSmart Server 48X and then immediately got back to the prompt again. However the drive lights didn't turn on.

After Googling around I discovered that a newer version of mediasmartserverd existed, and with Remote Desktop I removed the old one in the software center. I might have gotten another error message doing that, but I don't remember. I then tried to installed mediasmartserver_0.5.6-1ubuntu1~raring_i386.deb, by double clicking it, and it wouldn't install because of missing dependencies. I later realized that this file might only be for Ubuntu 13.04. So I tried to install mediasmartserver_0.5.5-1ubuntu1~quantal_i386.deb but again got an error message. In the end I reinstalled mediasmartserver_0.3-2ubuntu1_i386.deb by double clicking it, and then upgraded to mediasmartserver_0.5.5-1ubuntu1~quantal_i386.deb by double clicking it.

Using ssh I could start the service with smartserverd -D. The activity light now turns off. However using the command smartserverd -a causes the terminal to hang and I have to quit it using CTRL+C.

Will the mediasmartserverd work with an EX 490? Have I messed up my Ubuntu installation? Or am I missing something obvious?

Any help will be appreciated.


Top
 Profile  
Thanks  
PostPosted: Thu Apr 16, 2015 7:42 am 
Offline
Newbie
Newbie

Joined: Thu Apr 16, 2015 7:33 am
Posts: 1
Thanks: 0
Thanked: 0 time in 0 post
Hello folks,

I've got a little problem with compiling the LED-modules for my Arch Linux running H340 home server.

It seems that I need to install a lib, but I don't know which one. Here's what I get when I try to compile the module.

Code:
[xxx@homeserver leds-h340-0.2]$ make
make -C /lib/modules/3.19.3-3-ARCH/build SUBDIRS=/srv/share/xxx/downloads/Acer_EasyStore_H340/leds-h340-0.2 modules
make[1]: Verzeichnis „/usr/lib/modules/3.19.3-3-ARCH/build“ wird betreten
  CC [M]  /srv/share/xxx/downloads/Acer_EasyStore_H340/leds-h340-0.2/leds-h340.o
/srv/share/xxx/downloads/Acer_EasyStore_H340/leds-h340-0.2/leds-h340.c: In Funktion »nas_led_blink_store«:
/srv/share/xxx/downloads/Acer_EasyStore_H340/leds-h340-0.2/leds-h340.c:475:2: Fehler: Implizite Deklaration der Funktion »strict_strtoul« [-Werror=implicit-function-declaration]
  ret = strict_strtoul(buf, 10, &blink_state);
  ^
/srv/share/xxx/downloads/Acer_EasyStore_H340/leds-h340-0.2/leds-h340.c: Auf höchster Ebene:
/srv/share/xxx/downloads/Acer_EasyStore_H340/leds-h340-0.2/leds-h340.c:559:1: schwerwiegender Fehler: Abhängigkeitsdatei »/srv/share/xxx/downloads/Acer_EasyStore_H340/leds-h340-0.2/.leds-h340.o.d« wird geöffnet: Keine Berechtigung
 module_exit(nas_gpio_exit);
 ^
cc1: Einige Warnungen werden als Fehler behandelt
Kompilierung beendet.
scripts/Makefile.build:263: die Regel für Ziel „/srv/share/xxx/downloads/Acer_EasyStore_H340/leds-h340-0.2/leds-h340.o“ scheiterte
make[2]: *** [/srv/share/xxx/downloads/Acer_EasyStore_H340/leds-h340-0.2/leds-h340.o] Fehler 1
Makefile:1382: die Regel für Ziel „_module_/srv/share/xxx/downloads/Acer_EasyStore_H340/leds-h340-0.2“ scheiterte
make[1]: *** [_module_/srv/share/xxx/downloads/Acer_EasyStore_H340/leds-h340-0.2] Fehler 2
make[1]: Verzeichnis „/usr/lib/modules/3.19.3-3-ARCH/build“ wird verlassen
Makefile:5: die Regel für Ziel „default“ scheiterte
make: *** [default] Fehler 2


Sorry my output is German. Hopefully you'll understand the lines.

I'd be very happy for any help resolving my problem.

Anyway: Does anybody have a solution for the faulty ACPI problem when sending the H340 to sleep (suspend to RAM)? My Server goes to suspend but then immediately wake up.

Greetings

Schmitti


Top
 Profile  
Thanks  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 118 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8

All times are UTC - 7 hours [ DST ]


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:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group