amouiche / qnap_mtd_resize_for_bullseye

Script for resizing MTD partitions on a QNAP device in order to be able to upgrade from buster to bullseye
GNU General Public License v2.0
54 stars 11 forks source link

TS-119P+: Failed: no information found with dmesg #25

Closed zoof closed 2 years ago

zoof commented 2 years ago

Hi,

I did the dry run and got the following:

$ sudo ./qnap_mtd_resize.py --dry-run

[Check of the QNAP model and see if supported]
kirkwood-qnap: machine: QNAP TS219 family
DTB file: kirkwood-ts219-6282.dtb
Checking: flashcp -V
Checking: flash_erase --version
Using 'u-boot-tools' package

[find on which MTD device partitions are currently mounted]
Failed: no information found with dmesg

I am currently running Buster. neofetch shows:

       _,met$$$$$gg.          user@localhost 
    ,g$$$$$$$$$$$$$$$P.       ------------- 
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux 10 (buster) armv5tel 
 ,$$P'              `$$$.     Host: QNAP TS219 family 
',$$P       ,ggs.     `$$b:   Kernel: 4.19.0-20-marvell 
`d$$'     ,$P"'   .    $$$    Uptime: 53 days, 21 hours, 56 mins 
 $$P      d$'     ,    $$P    Packages: 664 (dpkg) 
 $$:      $$.   -    ,d$$'    Shell: bash 5.0.3 
 $$;      Y$b._   _,d$P'      Terminal: /dev/pts/1 
 Y$$.    `.`"Y$$$$P"'         CPU: Feroceon 88FR131 rev 1 (v5l) (1) @ 2.000GHz 
 `$$b      "-.__              Memory: 114MiB / 501MiB 
  `Y$$
   `Y$$.                                              
     `$$b.
       `Y$$b.
          `"Y$b._
              `"""
amouiche commented 2 years ago

Hello.

May be your "relative" high uptime (53 days) was enough to truncate was we are looking from the 'dmesg' output.

Can you:

Regards, Arnaud

On Thu, 2022-05-19 at 14:02 -0700, zoof wrote:

Hi, I did the dry run and got the following: $ sudo ./qnap_mtd_resize.py --dry-run

[Check of the QNAP model and see if supported] kirkwood-qnap: machine: QNAP TS219 family DTB file: kirkwood-ts219-6282.dtb Checking: flashcp -V Checking: flash_erase --version Using 'u-boot-tools' package

[find on which MTD device partitions are currently mounted] Failed: no information found with dmesg I am currently running Buster. neofetch shows: ,met$$$$$gg. @.*** ,g$$$$$$$$$$$$$$$P. ------------- ,g$$P" """Y$$.". OS: Debian GNU/Linux 10 (buster) armv5tel ,$$P' $$$. Host: QNAP TS219 family ',$$P ,ggs.$$b: Kernel: 4.19.0-20-marvell `d$$' ,$P"' . $$$ Uptime: 53 days, 21 hours, 56 mins $$P d$' , $$P Packages: 664 (dpkg) $$: $$. - ,d$$' Shell: bash 5.0.3 $$; Y$b. _,d$P' Terminal: /dev/pts/1 Y$$. ."Y$$$$P"' CPU: Feroceon 88FR131 rev 1 (v5l) (1) @ 2.000GHz $$b "-.__ Memory: 114MiB / 501MiB Y$$ Y$$. $$b. Y$$b. "Y$b._ `""" — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

zoof commented 2 years ago

Ah, that was the problem. The dry run now works fine.

Has anyone done this with a 119+ yet?

amouiche commented 2 years ago

On Fri, 2022-05-20 at 05:13 -0700, zoof wrote:

Ah, that was the problem. The dry run now works fine. Has anyone done this with a 119+ yet?

It was not reported Yet. there was a 119P+ which as the same hardware description than your (kirkwood-ts219-6282.dtb) Finally, there are not so many differences between the QNAP ARM models...

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.*** m>

zoof commented 2 years ago

Thank you for the response. My concern is if there is an unanticipated failure. While I have some basic skills with hardware, I wouldn't look forward to modding it with a serial cable for recovery purposes -- this is our home NAS.

hartkopp commented 2 years ago

Hi @zoof , I have a TS-119P+ which converted from Debian Buster like charm. Is there really a TS-119+ - or did you just miss the ''P" ? ;-)

amouiche commented 2 years ago

On Fri, 2022-05-20 at 06:33 -0700, zoof wrote:

Thank you for the response. My concern is if there is an unanticipated failure. While I have some basic skills with hardware, I wouldn't look forward to modding it with a serial cable for recovery purposes -- this is our home NAS.

I understand your position. So far, those who had problemes:

None of the issues was due to a hardware variant.

Arnaud

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.*** m>

zoof commented 2 years ago

Hi @zoof , I have a TS-119P+ which converted from Debian Buster like charm. Is there really a TS-119+ - or did you just miss the ''P" ? ;-)

Ah, I think you are right -- I have the same model...

None of the issues was due to a hardware variant.

Ok, that makes me feel much better. Now I just have to get my courage up!

zoof commented 2 years ago

I finally took the plunge and it worked beautifully!

hartkopp commented 2 years ago

Excellent! The scripts from @amouiche really help to keep that old hardware up to date with features and security. That's a real step for sustainability and reduces e-waste <3