New kernel(Kernel 3.12.6) & Debian wheezy for HMNHDCE...

suppenkasper
Posts: 8
Joined: Sat Nov 10, 2012 5:39 am

Re: New kernel(Kernel 3.12.6) & Debian wheezy for HMNHDCE...

Post by suppenkasper » Sun May 04, 2014 10:30 pm

Hello,

actually I am confused about the actual situation in this project.

What is the benefit of update to kernel 3.12.6? Is there already experience with samba performance? Is it finally faster than 30 MByte/s read and 18 MByte/s write speed and is there a final working NFS-support for this drive?

Thanks and happy developing.

lonixlon
Posts: 13
Joined: Sun Feb 02, 2014 5:37 am

Re: New kernel(Kernel 3.12.6) & Debian wheezy for HMNHDCE...

Post by lonixlon » Sun May 18, 2014 2:08 am

NFS works, samba still slow :(

suppenkasper
Posts: 8
Joined: Sat Nov 10, 2012 5:39 am

Re: New kernel(Kernel 3.12.6) & Debian wheezy for HMNHDCE...

Post by suppenkasper » Mon May 26, 2014 9:36 pm

Hey,

are there any news about the new kernel research? Any performance tests or ext4 support? Especially i stuck also with these problems and need help to store my data before getting a new kernel or further development on this device.

Is there any news about this topic?

ptelleria
Posts: 86
Joined: Wed Jan 29, 2014 6:03 pm

Re: New kernel(Kernel 3.12.6) & Debian wheezy for HMNHDCE...

Post by ptelleria » Fri Sep 26, 2014 11:39 pm

Hi all!

any advantage of upgrading kernel?? want to know before starting to get into possible issues...which will sure arise!! (currently Linux NAS 2.6.31.14-hmnhdce+v5, running OMV 0.5.60 almost, meaning all runs except some issue with IPv6)

hellpoet
Posts: 20
Joined: Wed Sep 24, 2014 10:27 am

Re: New kernel(Kernel 3.12.6) & Debian wheezy for HMNHDCE...

Post by hellpoet » Wed Oct 01, 2014 2:47 pm

Hello I followed the procedure but boot fails, here is my log.. any thoughts?

http://speedy.sh/4gsNm/putty.log

Thanks
Carlo

Mijzelf
Posts: 6226
Joined: Mon Jun 16, 2008 10:45 am

Re: New kernel(Kernel 3.12.6) & Debian wheezy for HMNHDCE...

Post by Mijzelf » Thu Oct 02, 2014 7:41 am

Your partititon sda1 is not mountable, and the firmware expects to find it's root filesystem there.

hellpoet
Posts: 20
Joined: Wed Sep 24, 2014 10:27 am

Re: New kernel(Kernel 3.12.6) & Debian wheezy for HMNHDCE...

Post by hellpoet » Thu Oct 02, 2014 8:02 am

Yes same thought, I don't understand why. I created an 8GB partition with all the files formatted in ext3.
Another thing I noticed in the log is the wrong size of my hdd. It is the 2TB's one.

I am wondering. I attached the hdd with usb-sata adapter to a VM with lubuntu and configured from there. Inside the VM the hdd is recognized as sdb but is expected.

There is one last thing in the how to section of wheezy there is a file hmnhdce-uImage.20140115
It is the only one i didn't find mention into the how to, what is it about, I didn't use it so maybe that's the problem.

Carlo

Mijzelf
Posts: 6226
Joined: Mon Jun 16, 2008 10:45 am

Re: New kernel(Kernel 3.12.6) & Debian wheezy for HMNHDCE...

Post by Mijzelf » Thu Oct 02, 2014 8:19 am

hellpoet wrote:Another thing I noticed in the log is the wrong size of my hdd. It is the 2TB's one.
Wrong size?
sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
I attached the hdd with usb-sata adapter to a VM with lubuntu and configured from there.
That might be the problem. Most (all?) USB-sata convertors expose 4kB logical sector size for disks >2TB. Maybe yours already does so for disks >1TB, or something like that. In that case the partition table is not compatible. You can see that by executing 'fdisk -l' in Ubuntu, when the disk is connected. It will show a physical/logical sector size. Physical sector size if not important here, but logical should be 512.

hellpoet
Posts: 20
Joined: Wed Sep 24, 2014 10:27 am

Re: New kernel(Kernel 3.12.6) & Debian wheezy for HMNHDCE...

Post by hellpoet » Thu Oct 02, 2014 8:42 am

I will check the sector size possible issue.

For the first statement I referred to this part of the log:
Detecting SATA busses:
Bus 0: Found first device OK
Device 0: Model: ST2000DM001-9YN164 Firm: CC4B Ser#: Z1E0TKDS
Type: Hard Disk
Capacity: 131071.9 MB = 127.9 GB (268435455 x 512)

maybe it's not related, I am new booting arm devices

Mijzelf
Posts: 6226
Joined: Mon Jun 16, 2008 10:45 am

Re: New kernel(Kernel 3.12.6) & Debian wheezy for HMNHDCE...

Post by Mijzelf » Thu Oct 02, 2014 9:43 am

hellpoet wrote:For the first statement I referred to this part of the log:
Detecting SATA busses:
Bus 0: Found first device OK
Device 0: Model: ST2000DM001-9YN164 Firm: CC4B Ser#: Z1E0TKDS
Type: Hard Disk
Capacity: 131071.9 MB = 127.9 GB (268435455 x 512)

maybe it's not related, I am new booting arm devices
Ah I see. That is the detection by u-boot, and I missed that one. It's not important. The only task for u-boot is to load the kernel and initrd in memory, and boot that. As it succeeded in doing so, it's not important if it detects the disk right, as long as the Linux kernel does.

BTW, it looks like this u-boot doesn't support LBA48, which limits the addressable diskspace to 128GiB minus 1 sector. That means that if u-boot should ever load uImage from a partition, it should reside fully in the first 128GiB.

hellpoet
Posts: 20
Joined: Wed Sep 24, 2014 10:27 am

Re: New kernel(Kernel 3.12.6) & Debian wheezy for HMNHDCE...

Post by hellpoet » Thu Oct 02, 2014 9:44 am

Unfortunately I can't test now, I am at work. Anyway if fdsik -l does show 4k logical sector size, how can I manage?

Mijzelf
Posts: 6226
Joined: Mon Jun 16, 2008 10:45 am

Re: New kernel(Kernel 3.12.6) & Debian wheezy for HMNHDCE...

Post by Mijzelf » Thu Oct 02, 2014 9:56 am

Another USB-sata convertor, or connect the disk to (e)sata.

hellpoet
Posts: 20
Joined: Wed Sep 24, 2014 10:27 am

Re: New kernel(Kernel 3.12.6) & Debian wheezy for HMNHDCE...

Post by hellpoet » Thu Oct 02, 2014 12:48 pm

I will do this evening, I try to find a sata to esata cable for a quick try, i will let you know, I really appreciate your help.

I was also wondering how is that the 4k logical block error has not impacted the writing of the first 32mb (uboot, etc..)?

Mijzelf
Posts: 6226
Joined: Mon Jun 16, 2008 10:45 am

Re: New kernel(Kernel 3.12.6) & Debian wheezy for HMNHDCE...

Post by Mijzelf » Thu Oct 02, 2014 1:14 pm

You just write a 32 MB file to the raw disk. In that case it doesn't matter what the sectorsize is. 32MB is 32MB. But the partition table contains start- and endsectors of the partition. In that case it does matter.

hellpoet
Posts: 20
Joined: Wed Sep 24, 2014 10:27 am

Re: New kernel(Kernel 3.12.6) & Debian wheezy for HMNHDCE...

Post by hellpoet » Thu Oct 02, 2014 1:46 pm

I see indeed it's an additional proof that the problem could be the 4k logical size. So the raw written data are correct and the device boot instead when it tries to find the partitions it couldn't find them.

Post Reply