It is currently Fri Jun 24, 2022 10:03 pm

All times are UTC - 7 hours [ DST ]

Recent News:



Post new topic Reply to topic  [ 120 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8  Next
Author Message
PostPosted: Tue Aug 21, 2012 2:00 pm 
Offline
.5TB storage
.5TB storage

Joined: Wed Apr 27, 2011 9:30 am
Posts: 13
Thanks: 2
Thanked: 0 time in 0 post
Here are the 3 outputs. Thanks!


Attachments:
output1.txt [57.63 KiB]
Downloaded 725 times
output2.txt [335 Bytes]
Downloaded 669 times
output3.txt [395 Bytes]
Downloaded 712 times
Top
 Profile  
Thanks  

Attention Guest: Remove this ad by Registering with the MediaSmartServer.net Forums. It's Free!
PostPosted: Wed Aug 22, 2012 3:39 am 
Offline
1TB storage
1TB storage

Joined: Wed Jan 19, 2011 2:19 am
Posts: 25
Thanks: 0
Thanked: 7 times in 5 posts
mugenbb6 wrote:
Here are the 3 outputs. Thanks!


@mugenbb6 Please give me the output of
Code:
ls -1 /sys/devices/pci0000:00/0000:00:1f.2 | grep host | while read d; do echo $d; cat /sys/devices/pci0000:00/0000:00:1f.2/$d/scsi_host/$d/unique_id; done


Cheers!


Top
 Profile  
Thanks  
PostPosted: Wed Aug 22, 2012 5:20 am 
Offline
1TB storage
1TB storage

Joined: Wed Jan 19, 2011 2:19 am
Posts: 25
Thanks: 0
Thanked: 7 times in 5 posts
mugenbb6 wrote:
Here are the 3 outputs. Thanks!


@mugenbb6 Could you please download mediasmartserverd.tar.gz file attached (called "A test version") to say home directory and do the following:

Code:
cd ~/ ; tar xfz mediasmartserverd.tar.gz ; sudo ./mediasmartserverd --activity


Give me the output produced. Please note to run the binary I've attached (!). The last time you seem to have run the binary from the package installed.

Cheers!


Attachments:
File comment: A test version
mediasmartserverd.tar.gz [23.45 KiB]
Downloaded 698 times
Top
 Profile  
Thanks  
PostPosted: Wed Aug 22, 2012 10:08 am 
Offline
.5TB storage
.5TB storage

Joined: Wed Apr 27, 2011 9:30 am
Posts: 13
Thanks: 2
Thanked: 0 time in 0 post
Here's the first output:

ls -1 /sys/devices/pci0000:00/0000:00:1f.2 | grep host | while read d; do echo $d; cat /sys/devices/pci0000:00/0000:00:1f.2/$d/scsi_host/$d/unique_id; done
host1
2
host2
3
host3
4
host4
5
host5
6
host6
7

Sorry about the mediasmartserverd. I ran the one from your tar, and getting the following:
./mediasmartserverd: /lib/i686/cmov/libc.so.6: version `GLIBC_2.15' not found (required by ./mediasmartserverd)

](*,)
Looks like debian squeeze only has 2.11 while ubuntu has 2.15. I can install from source, but not sure if it'll break any other dependencies.


Top
 Profile  
Thanks  
PostPosted: Wed Aug 22, 2012 11:26 am 
Offline
1TB storage
1TB storage

Joined: Wed Jan 19, 2011 2:19 am
Posts: 25
Thanks: 0
Thanked: 7 times in 5 posts
mugenbb6 wrote:
Here's the first output:

ls -1 /sys/devices/pci0000:00/0000:00:1f.2 | grep host | while read d; do echo $d; cat /sys/devices/pci0000:00/0000:00:1f.2/$d/scsi_host/$d/unique_id; done
host1
2
host2
3
host3
4
host4
5
host5
6
host6
7

Sorry about the mediasmartserverd. I ran the one from your tar, and getting the following:
./mediasmartserverd: /lib/i686/cmov/libc.so.6: version `GLIBC_2.15' not found (required by ./mediasmartserverd)

](*,)
Looks like debian squeeze only has 2.11 while ubuntu has 2.15. I can install from source, but not sure if it'll break any other dependencies.


@mugenbb6 Please build it yourself then:

Code:
sudo apt-get install git
git clone https://github.com/merelin/mediasmartserverd.git
cd mediasmartserverd
make


Run and give me the log. Please note you'll have to have libudev-dev installed.


Top
 Profile  
Thanks  
PostPosted: Wed Aug 22, 2012 11:52 am 
Offline
.5TB storage
.5TB storage

Joined: Wed Apr 27, 2011 9:30 am
Posts: 13
Thanks: 2
Thanked: 0 time in 0 post
Thanks for the source. Here's the output:

./mediasmartserverd --activity
Found: HP MediaSmart Server 48X
ADDED: '/sys/devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0/block/sda' (block)
ADDED: '/sys/devices/pci0000:00/0000:00:1f.2/host2/target2:0:0/2:0:0:0/block/sdb' (block)
ADDED: '/sys/devices/pci0000:00/0000:00:1f.2/host3/target3:0:0/3:0:0:0/block/sdc' (block)
ADDED: '/sys/devices/pci0000:00/0000:00:1f.2/host4/target4:0:0/4:0:0:0/block/sdd' (block)


Top
 Profile  
Thanks  
PostPosted: Wed Aug 22, 2012 12:02 pm 
Offline
1TB storage
1TB storage

Joined: Wed Jan 19, 2011 2:19 am
Posts: 25
Thanks: 0
Thanked: 7 times in 5 posts
mugenbb6 wrote:
Thanks for the source. Here's the output:

./mediasmartserverd --activity
Found: HP MediaSmart Server 48X
ADDED: '/sys/devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0/block/sda' (block)
ADDED: '/sys/devices/pci0000:00/0000:00:1f.2/host2/target2:0:0/2:0:0:0/block/sdb' (block)
ADDED: '/sys/devices/pci0000:00/0000:00:1f.2/host3/target3:0:0/3:0:0:0/block/sdc' (block)
ADDED: '/sys/devices/pci0000:00/0000:00:1f.2/host4/target4:0:0/4:0:0:0/block/sdd' (block)


@mugenbb6 Does it fix the leds issue?


Top
 Profile  
Thanks  
PostPosted: Wed Aug 22, 2012 12:30 pm 
Offline
.5TB storage
.5TB storage

Joined: Wed Apr 27, 2011 9:30 am
Posts: 13
Thanks: 2
Thanked: 0 time in 0 post
No, still the same. Only the top 3 are lit.
](*,)


Top
 Profile  
Thanks  
PostPosted: Wed Aug 22, 2012 12:46 pm 
Offline
1TB storage
1TB storage

Joined: Wed Jan 19, 2011 2:19 am
Posts: 25
Thanks: 0
Thanked: 7 times in 5 posts
mugenbb6 wrote:
No, still the same. Only the top 3 are lit.
](*,)


@mugenbb6

Please download mediasmartserver.diff.tar.gz. Then tar xfz mediasmartserver.diff.tar.gz, apply the patch, re-compile, re-run and give me the logs.


Attachments:
File comment: The verbose patch
mediasmartserver.diff.tar.gz [470 Bytes]
Downloaded 687 times
Top
 Profile  
Thanks  
PostPosted: Wed Aug 22, 2012 9:05 pm 
Offline
.5TB storage
.5TB storage

Joined: Wed Apr 27, 2011 9:30 am
Posts: 13
Thanks: 2
Thanked: 0 time in 0 post
I've recompiled and ran it. Still 3 lights though.

./mediasmartserverd --activity
Found: HP MediaSmart Server 48X
index: 1, dev_host_sys_path: /sys/class/scsi_host/host1, hosts_to_host0: 0
index: 0, dev_host_sys_path: /sys/class/scsi_host/host0, hosts_to_host0: 1
hosts_to_host0: 2, unique_id: 2, scsi_host_index: 1
scsi_host_index: 1
ADDED: '/sys/devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0/block/sda' (block)
index: 1, dev_host_sys_path: /sys/class/scsi_host/host1, hosts_to_host0: 0
index: 0, dev_host_sys_path: /sys/class/scsi_host/host0, hosts_to_host0: 1
hosts_to_host0: 2, unique_id: 2, scsi_host_index: 1
scsi_host_index: 1
index: 2, dev_host_sys_path: /sys/class/scsi_host/host2, hosts_to_host0: 0
index: 1, dev_host_sys_path: /sys/class/scsi_host/host1, hosts_to_host0: 1
index: 0, dev_host_sys_path: /sys/class/scsi_host/host0, hosts_to_host0: 2
hosts_to_host0: 3, unique_id: 3, scsi_host_index: 2
scsi_host_index: 2
ADDED: '/sys/devices/pci0000:00/0000:00:1f.2/host2/target2:0:0/2:0:0:0/block/sdb' (block)
index: 2, dev_host_sys_path: /sys/class/scsi_host/host2, hosts_to_host0: 0
index: 1, dev_host_sys_path: /sys/class/scsi_host/host1, hosts_to_host0: 1
index: 0, dev_host_sys_path: /sys/class/scsi_host/host0, hosts_to_host0: 2
hosts_to_host0: 3, unique_id: 3, scsi_host_index: 2
scsi_host_index: 2
index: 3, dev_host_sys_path: /sys/class/scsi_host/host3, hosts_to_host0: 0
index: 2, dev_host_sys_path: /sys/class/scsi_host/host2, hosts_to_host0: 1
index: 1, dev_host_sys_path: /sys/class/scsi_host/host1, hosts_to_host0: 2
index: 0, dev_host_sys_path: /sys/class/scsi_host/host0, hosts_to_host0: 3
hosts_to_host0: 4, unique_id: 4, scsi_host_index: 3
scsi_host_index: 3
ADDED: '/sys/devices/pci0000:00/0000:00:1f.2/host3/target3:0:0/3:0:0:0/block/sdc' (block)
index: 3, dev_host_sys_path: /sys/class/scsi_host/host3, hosts_to_host0: 0
index: 2, dev_host_sys_path: /sys/class/scsi_host/host2, hosts_to_host0: 1
index: 1, dev_host_sys_path: /sys/class/scsi_host/host1, hosts_to_host0: 2
index: 0, dev_host_sys_path: /sys/class/scsi_host/host0, hosts_to_host0: 3
hosts_to_host0: 4, unique_id: 4, scsi_host_index: 3
scsi_host_index: 3
index: 4, dev_host_sys_path: /sys/class/scsi_host/host4, hosts_to_host0: 0
index: 3, dev_host_sys_path: /sys/class/scsi_host/host3, hosts_to_host0: 1
index: 2, dev_host_sys_path: /sys/class/scsi_host/host2, hosts_to_host0: 2
index: 1, dev_host_sys_path: /sys/class/scsi_host/host1, hosts_to_host0: 3
index: 0, dev_host_sys_path: /sys/class/scsi_host/host0, hosts_to_host0: 4
hosts_to_host0: 5, unique_id: 5, scsi_host_index: 4
scsi_host_index: 4
ADDED: '/sys/devices/pci0000:00/0000:00:1f.2/host4/target4:0:0/4:0:0:0/block/sdd' (block)
index: 4, dev_host_sys_path: /sys/class/scsi_host/host4, hosts_to_host0: 0
index: 3, dev_host_sys_path: /sys/class/scsi_host/host3, hosts_to_host0: 1
index: 2, dev_host_sys_path: /sys/class/scsi_host/host2, hosts_to_host0: 2
index: 1, dev_host_sys_path: /sys/class/scsi_host/host1, hosts_to_host0: 3
index: 0, dev_host_sys_path: /sys/class/scsi_host/host0, hosts_to_host0: 4
hosts_to_host0: 5, unique_id: 5, scsi_host_index: 4
scsi_host_index: 4


Top
 Profile  
Thanks  
PostPosted: Wed Aug 22, 2012 11:48 pm 
Offline
1TB storage
1TB storage

Joined: Wed Jan 19, 2011 2:19 am
Posts: 25
Thanks: 0
Thanked: 7 times in 5 posts
@mugenbb6

My mistake, sorry for that.
Could you please do the following:
Code:
rm -rf mediasmartserverd
git clone https://github.com/merelin/mediasmartserverd.git
cd mediasmartserverd
make
sudo ./mediasmartserverd --activity


After that please tell me if it works and if it does I'll make a new package version.

Cheers!


Top
 Profile  
Thanks  
The following user would like to thank merelin for this post
mugenbb6
PostPosted: Thu Aug 23, 2012 12:06 am 
Offline
.5TB storage
.5TB storage

Joined: Wed Apr 27, 2011 9:30 am
Posts: 13
Thanks: 2
Thanked: 0 time in 0 post
@merelin IT WORKS!! :banana:

By the way, you'll need to adjust the makefile. On line 23, where it has "mediasmartserverd: device_monitor.o mediasmartserverd.o /usr/lib/$(shell uname -i)-linux-gnu/libudev.so" to "mediasmartserverd: device_monitor.o mediasmartserverd.o /usr/lib/libudev.so", for the correct location of the libudev.so.


Top
 Profile  
Thanks  
PostPosted: Thu Aug 23, 2012 12:15 am 
Offline
1TB storage
1TB storage

Joined: Wed Jan 19, 2011 2:19 am
Posts: 25
Thanks: 0
Thanked: 7 times in 5 posts
mugenbb6 wrote:
@merelin IT WORKS!! :banana:

By the way, you'll need to adjust the makefile. On line 23, where it has "mediasmartserverd: device_monitor.o mediasmartserverd.o /usr/lib/$(shell uname -i)-linux-gnu/libudev.so" to "mediasmartserverd: device_monitor.o mediasmartserverd.o /usr/lib/libudev.so", for the correct location of the libudev.so.


@mugenbb6

Yes, but it breaks my leds :-) Will go on fixing. On Ubuntu multiarch you'll not find /usr/lib/libudev.so.


Top
 Profile  
Thanks  
PostPosted: Thu Aug 23, 2012 10:04 am 
Offline
.5TB storage
.5TB storage

Joined: Wed Apr 27, 2011 9:30 am
Posts: 13
Thanks: 2
Thanked: 0 time in 0 post
For those running purely debian, you will need to download the source, adjust the makefile as mentioned above, and finally compile it.

Thanks again merelin!! :cheers:


Top
 Profile  
Thanks  
PostPosted: Fri Aug 24, 2012 2:08 am 
Offline
1TB storage
1TB storage

Joined: Wed Jan 19, 2011 2:19 am
Posts: 25
Thanks: 0
Thanked: 7 times in 5 posts
mugenbb6 wrote:
For those running purely debian, you will need to download the source, adjust the makefile as mentioned above, and finally compile it.

Thanks again merelin!! :cheers:


@mugenbb6

Makefile has been corrected. Could you please re-test the repo code and give me the logs? Also please check if leds work OK for you.

Code:
rm -rf mediasmartserverd
git clone https://github.com/merelin/mediasmartserverd.git
cd mediasmartserverd
make
sudo ./mediasmartserverd --activity


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

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 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:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group