BPI-R2-Kernel 4.18

i have only included stable-tree, but this should work

git fetch torvalds/master #maybe torvalds:master
git merge v4.18-rc3 #merge the tag not the branch

my repo also contains a master-branch at rc1 so merging “master” will not lead to expected results

have you tried sata with my last changes?

msze@dvig0472:~/BPI-R2-4.14$ git fetch torvalds/master

fatal: ‘torvalds/master’ does not appear to be a git repository

fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

same for torvalds:master

msze@dvig0472:~/BPI-R2-4.14$ git remote -v

linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git (fetch)

linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git (push)

origin https://github.com/frank-w/BPI-R2-4.14.git (fetch)

origin https://github.com/frank-w/BPI-R2-4.14.git (push)

SATA I will try this afternoon

Okay then try

git fetch linux

msze@dvig0472:~/BPI-R2-4.14$ git fetch linux

fatal: ‘linux’ does not appear to be a git repository

fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

git fetch linus

First value in git remote -v should be name of remote repo.this depends on how you’ve added the remote repo.

for comparision here my git remote-config

$ git remote -v
origin	https://[email protected]/frank-w/BPI-R2-4.14.git (fetch)
origin	https://[email protected]/frank-w/BPI-R2-4.14.git (push)
stable	https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git (fetch)
stable	https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git (push)

here i use git fetch stable

Working. I have produced RC3 kernel. Will try it at home

    root@serwer:~# fdisk -l

Disk /dev/mmcblk1: 7.3 GiB, 7818182656 bytes, 15269888 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x000ed6cd

Device Boot Start End Sectors Size Id Type /dev/mmcblk1p1 204800 729087 524288 256M c W95 FAT32 (LBA) /dev/mmcblk1p2 729088 15269887 14540800 7G 83 Linux

Disk /dev/sda: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/sdb: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: gpt Disk identifier: BAE76D75-CFD0-467C-8E4E-332BC1AAD618

Device Start End Sectors Size Type /dev/sdb1 2048 5860532223 5860530176 2.7T Linux filesystem

Both drives are mounted. Frank, I’m you big FAN !!!

Have you tried without the above patch?

Yes. Only your kernel + Linux 4.18 RC3 patch

1 Like

Unfortunately, there are a lot of I/O errors. I will check another kernel tomorrow

Then try the patch above :slight_smile:

So far so good. With this patch is much better. None errors so far.

sorry, still errors.

This is my dmesg included

IO_errors.txt (10,1 KB)

If it’s important I’m using ATX power supply to power 2 HDD WD Red 3TB drives

Ok then we need vendor-support for this issue. @Ryder.Lee @garywang any ideas?

maybe you can try this patchset (4 patches): https://patchwork.kernel.org/patch/10500639/

Have you tried another drive/cable?

The patch does not work:

msze@dvig0472:~/BPI-R2-4.14$ patch -p1 < ./v3-1-4-PCI-mediatek-fixup-mtk_pcie_find_port-logical.patch

patching file drivers/pci/controller/pcie-mediatek.c

Hunk #1 FAILED at 337. 1 out of 1 hunk FAILED – saving rejects to file drivers/pci/controller/pcie-mediatek.c.rej

I will try another cable and couple of 2,5 inch drives this evening

I exchanged drive and cable and so far (copied only 6GB) so good. No errors. I will try this evening to copy something about 30-40GB.

If it success I will try to mkfs,ext4 on one 3TB drive and then check it again.

Sounds good…then change 1 back…maybe only the drive to figure out a cable problem. please tell me if it is working without the pcie-patch…

and please check if your sata-socket is soldered correctly like jofri wrote here: Searching testing people for hdmi + wifi in Kernel 4.16

You’re right my sata sockets (both) need resoldering. When I touch them the’re moving …

Have you resoldered sata sockets with success?

not yet. I’m waiting for Sinovoip decision … (my banana is still under warranty)