vzhilov / WDMC-Ex2-Ultra

Enhanced Ram Disk and Linux Kernel for WD My Cloud Ex2 Ultra
32 stars 9 forks source link

Safe Mode #7

Open Fjodor42 opened 3 years ago

Fjodor42 commented 3 years ago

So, I did the following:

  1. wget --no-check-certificate https://raw.githubusercontent.com/vzhilov/WDMC-Ex2-Ultra/master/uImage && dd if=/dev/zero of=/dev/mtdblock1 && dd if=uImage of=/dev/mtdblock1
  2. wget --no-check-certificate https://raw.githubusercontent.com/vzhilov/WDMC-Ex2-Ultra/master/uInitrd && dd if=/dev/zero of=/dev/mtdblock2 && dd if=uInitrd of=/dev/mtdblock2
  3. reboot -f

...and ended up not being able to log in to complete the steps via SSH, and meeting this screen when going to the IP address in the browser.

Please advise.

Fjodor42 commented 3 years ago

&& was actually <enter>, though, just can't seem to get numbered lists and code blocks to work together...

nlienard commented 2 years ago

How did you fix your issue ? According to the main page, the commands your run were good, so it is strange that you get stuck ! I was going to run them too but now i prefer to wait as i don't have any USB console.

Fjodor42 commented 2 years ago

Hi @nlienard,

My apologies for the lateness of my reply, but I must have missed the notification, so thank you for asking via direct email as well!

I did not solve it, went back to official firmware, as I didn't hear back from @vzhilov, couldn't easily find a solution via Google, and ran out of time and energy.

Sorry for not being able to actually help directly, but one of my problems that I wanted to solve with non-official firmware, apart from the joy of tinkering, was woeful NFS performance that seems related to the official kernel version, and what I did instead, was to create an iSCSI target instead, which seems to work vastly better, at least for my use case.

nlienard commented 2 years ago

thanks for this feedback. i'll try to solder an UART/USB cable for having a console.

I guess it is needed for these step but i'm not sure

usb start
fatload usb 0:1 0xa00000 uImage
fatload usb 0:1 0xf00000 uInitrd
bootm 0xa00000 0xf00000

I'm in 4.14.4 kernel and would like to update to 5.11.5 and i thought that the step was only:

wget https://raw.githubusercontent.com/vzhilov/WDMC-Ex2-Ultra/master/uImage
wget https://raw.githubusercontent.com/vzhilov/WDMC-Ex2-Ultra/master/uInitrd

dd if=/dev/zero of=/dev/mtdblock1
dd if=uImage of=/dev/mtdblock1

dd if=/dev/zero of=/dev/mtdblock2
dd if=uInitrd of=/dev/mtdblock2

but reading your issue made me stop :)