• Debian 11 on Sheevaplug?

    From Gilles@21:1/5 to All on Thu Jun 2 14:20:02 2022
    Hello,

    A search in the archives returned no hits.

    Martin Michlmayr's page* shows how to install Debian 10 on a USB
    keydrive to run on a Sheevaplug.

    Does it mean Debian 11 still isn't available for that device?

    Thank you.

    * https://www.cyrius.com/debian/kirkwood/sheevaplug/install/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rick Thomas@21:1/5 to Gilles on Fri Jun 3 03:00:01 2022
    On Thu, Jun 2, 2022, at 5:15 AM, Gilles wrote:
    Hello,

    A search in the archives returned no hits.

    Martin Michlmayr's page* shows how to install Debian 10 on a USB
    keydrive to run on a Sheevaplug.

    Does it mean Debian 11 still isn't available for that device?

    Thank you.

    * https://www.cyrius.com/debian/kirkwood/sheevaplug/install/

    Have you tried just following Martin's instructions for 10 using the corresponding components for 11?

    I'd like to do the same thing (upgrade to 11) on my SheevaPlug. Maybe I'll try that.

    Enjoy!
    Rick

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Paul Wise@21:1/5 to Gilles on Fri Jun 3 03:40:01 2022
    On Thu, 2022-06-02 at 14:15 +0200, Gilles wrote:

    A search in the archives returned no hits.

    This mail says Sheevaplug support will be dropped *after* bullseye:

    https://lists.debian.org/msgid-search/5393e08f-0224-4f83-a1d6-3c2780401781@www.fastmail.com

    That doesn't seem to have happened yet though, see below.

    Martin Michlmayr's page* shows how to install Debian 10 on a USB
    keydrive to run on a Sheevaplug.

    Does it mean Debian 11 still isn't available for that device?

    I found that there are Sheevaplug installer images for bullseye,
    so I suspect that Debian 11 still supports the Sheevaplug,
    so Martin probably just hasn't updated the page yet and
    probably using the bullseye images will work fine.

    https://deb.debian.org/debian/dists/bullseye/main/installer-armel/current/images/kirkwood/device-tree/kirkwood-sheevaplug.dtb
    https://deb.debian.org/debian/dists/bullseye/main/installer-armel/current/images/kirkwood/device-tree/kirkwood-sheevaplug-esata.dtb
    https://deb.debian.org/debian/dists/bullseye/main/installer-armel/current/images/kirkwood/u-boot/sheevaplug/
    https://deb.debian.org/debian/dists/bullseye/main/installer-armel/current/images/kirkwood/netboot/marvell/sheevaplug/

    Here are the same images for Debian 12 bookworm:

    https://deb.debian.org/debian/dists/bookworm/main/installer-armel/current/images/kirkwood/device-tree/kirkwood-sheevaplug.dtb
    https://deb.debian.org/debian/dists/bookworm/main/installer-armel/current/images/kirkwood/device-tree/kirkwood-sheevaplug-esata.dtb
    https://deb.debian.org/debian/dists/bookworm/main/installer-armel/current/images/kirkwood/u-boot/sheevaplug/
    https://deb.debian.org/debian/dists/bookworm/main/installer-armel/current/images/kirkwood/netboot/marvell/sheevaplug/

    --
    bye,
    pabs

    https://wiki.debian.org/PaulWise

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEYQsotVz8/kXqG1Y7MRa6Xp/6aaMFAmKZZaAACgkQMRa6Xp/6 aaN21g/8DDMBG5mO8pQtnmRidYoDE86hITwuALxFW2LlGGU4ef9Kcpg5k3W01rWD jxDSj+gbSaMoGQPFUDZZr96swrJ9g6Q6M5fMQ+FKcr1XRMCHIeBj1h1kHXh5d3Qm Qf+TfIhzuwERpLVvKccVTZq0/yei4XjENFcER4VMKFS+PGEr8CuL3rVN5xcpGA/X euZrPre60zYrZC0aPNm/o9B7YsURUFQEHfvcLsHuTcuznPr1Col+dUP0IarqaE/U RIGPXd99VfEugS/eoERFgtFHvr6fIbM5Bxf6o8nM4+wVKjnaGXvUGpUDkBcGEd0m vc+D+62LwVdoAYwRHMAQI5TJXvJ6MiFYc1Yefrfo9zYBb7+lz8YNyPmQ8W0HNiLH wbMvLCC5mKcl3I/PwRuEsctsTX7LFYiKM6IEFj+s3nYzOENHqAiaNrBdNmjwwN43 wVuKz9X/2bjGGHm/b/p2j/5tfxr6MdYaeHtJtMani4bhvA44/7sqsOOYD4ZrMU3N 2QPNcaEEB7a6WmaJma5W0Nu5/a5CENn0QOEGcc/EeBeQzD8iy0/JqWAXc2TObGOg AYE6oGMGJiuqwvvYKI9jyb3VeUkWFERSougk7xYHsx68mr4nPkzGb5N2bO2Mye6+ vVQBtd6Ny3nxTZnTQ89pbtZZ+d0aVNcWpYH1OXp7ZGTpvjVa0F4=
    =4ffh
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Gandalf@21:1/5 to All on Fri Jun 3 06:20:01 2022
    This is a multi-part message in MIME format.
    Thanks, good to know !
    May be I'll try to give a test...
    Good example of long time support !!!

    Le 03/06/2022 à 03:36, Paul Wise a écrit :
    On Thu, 2022-06-02 at 14:15 +0200, Gilles wrote:

    A search in the archives returned no hits.
    This mail says Sheevaplug support will be dropped *after* bullseye:

    https://lists.debian.org/msgid-search/5393e08f-0224-4f83-a1d6-3c2780401781@www.fastmail.com

    That doesn't seem to have happened yet though, see below.

    Martin Michlmayr's page* shows how to install Debian 10 on a USB
    keydrive to run on a Sheevaplug.

    Does it mean Debian 11 still isn't available for that device?
    I found that there are Sheevaplug installer images for bullseye,
    so I suspect that Debian 11 still supports the Sheevaplug,
    so Martin probably just hasn't updated the page yet and
    probably using the bullseye images will work fine.

    https://deb.debian.org/debian/dists/bullseye/main/installer-armel/current/images/kirkwood/device-tree/kirkwood-sheevaplug.dtb
    https://deb.debian.org/debian/dists/bullseye/main/installer-armel/current/images/kirkwood/device-tree/kirkwood-sheevaplug-esata.dtb
    https://deb.debian.org/debian/dists/bullseye/main/installer-armel/current/images/kirkwood/u-boot/sheevaplug/
    https://deb.debian.org/debian/dists/bullseye/main/installer-armel/current/images/kirkwood/netboot/marvell/sheevaplug/

    Here are the same images for Debian 12 bookworm:

    https://deb.debian.org/debian/dists/bookworm/main/installer-armel/current/images/kirkwood/device-tree/kirkwood-sheevaplug.dtb
    https://deb.debian.org/debian/dists/bookworm/main/installer-armel/current/images/kirkwood/device-tree/kirkwood-sheevaplug-esata.dtb
    https://deb.debian.org/debian/dists/bookworm/main/installer-armel/current/images/kirkwood/u-boot/sheevaplug/
    https://deb.debian.org/debian/dists/bookworm/main/installer-armel/current/images/kirkwood/netboot/marvell/sheevaplug/


    --

    🧙 – Gandalf (from “The Conjurers”) <mailto:Gandalf@Gk2.NET?subject=The%20Conjurers%20%3F> ©️ 1982-2022

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
    Thanks, good to know !<br>
    May be I'll try to give a test...<br>
    Good example of long time support !!!<br>
    <br>
    <div class="moz-cite-prefix">Le 03/06/2022 à 03:36, Paul Wise a
    écrit :<br>
    </div>
    <blockquote type="cite"
    cite="mid:73b1b7f53ee78ce5e6df9b410346976d5b8ea76b.camel@debian.org">
    <pre class="moz-quote-pre" wrap="">On Thu, 2022-06-02 at 14:15 +0200, Gilles wrote:

    </pre>
    <blockquote type="cite">
    <pre class="moz-quote-pre" wrap="">A search in the archives returned no hits.
    </pre>
    </blockquote>
    <pre class="moz-quote-pre" wrap="">
    This mail says Sheevaplug support will be dropped *after* bullseye:

    <a class="moz-txt-link-freetext" href="https://lists.debian.org/msgid-search/5393e08f-0224-4f83-a1d6-3c2780401781@www.fastmail.com">https://lists.debian.org/msgid-search/5393e08f-0224-4f83-a1d6-3c2780401781@www.fastmail.com</a>

    That doesn't seem to have happened yet though, see below.

    </pre>
    <blockquote type="cite">
    <pre class="moz-quote-pre" wrap="">Martin Michlmayr's page* shows how to install Debian 10 on a USB
    keydrive to run on a Sheevaplug.

    Does it mean Debian 11 still isn't available for that device?
    </pre>
    </blockquote>
    <pre class="moz-quote-pre" wrap="">
    I found that there are Sheevaplug installer images for bullseye,
    so I suspect that Debian 11 still supports the Sheevaplug,
    so Martin probably just hasn't updated the page yet and
    probably using the bullseye images will work fine.

    <a class="moz-txt-link-freetext" href="https://deb.debian.org/debian/dists/bullseye/main/installer-armel/current/images/kirkwood/device-tree/kirkwood-sheevaplug.dtb">https://deb.debian.org/debian/dists/bullseye/main/installer-armel/current/images/
    kirkwood/device-tree/kirkwood-sheevaplug.dtb</a>
    <a class="moz-txt-link-freetext" href="https://deb.debian.org/debian/dists/bullseye/main/installer-armel/current/images/kirkwood/device-tree/kirkwood-sheevaplug-esata.dtb">https://deb.debian.org/debian/dists/bullseye/main/installer-armel/current/images/
    kirkwood/device-tree/kirkwood-sheevaplug-esata.dtb</a>
    <a class="moz-txt-link-freetext" href="https://deb.debian.org/debian/dists/bullseye/main/installer-armel/current/images/kirkwood/u-boot/sheevaplug/">https://deb.debian.org/debian/dists/bullseye/main/installer-armel/current/images/kirkwood/u-boot/
    sheevaplug/</a>
    <a class="moz-txt-link-freetext" href="https://deb.debian.org/debian/dists/bullseye/main/installer-armel/current/images/kirkwood/netboot/marvell/sheevaplug/">https://deb.debian.org/debian/dists/bullseye/main/installer-armel/current/images/kirkwood/
    netboot/marvell/sheevaplug/</a>

    Here are the same images for Debian 12 bookworm:

    <a class="moz-txt-link-freetext" href="https://deb.debian.org/debian/dists/bookworm/main/installer-armel/current/images/kirkwood/device-tree/kirkwood-sheevaplug.dtb">https://deb.debian.org/debian/dists/bookworm/main/installer-armel/current/images/
    kirkwood/device-tree/kirkwood-sheevaplug.dtb</a>
    <a class="moz-txt-link-freetext" href="https://deb.debian.org/debian/dists/bookworm/main/installer-armel/current/images/kirkwood/device-tree/kirkwood-sheevaplug-esata.dtb">https://deb.debian.org/debian/dists/bookworm/main/installer-armel/current/images/
    kirkwood/device-tree/kirkwood-sheevaplug-esata.dtb</a>
    <a class="moz-txt-link-freetext" href="https://deb.debian.org/debian/dists/bookworm/main/installer-armel/current/images/kirkwood/u-boot/sheevaplug/">https://deb.debian.org/debian/dists/bookworm/main/installer-armel/current/images/kirkwood/u-boot/
    sheevaplug/</a>
    <a class="moz-txt-link-freetext" href="https://deb.debian.org/debian/dists/bookworm/main/installer-armel/current/images/kirkwood/netboot/marvell/sheevaplug/">https://deb.debian.org/debian/dists/bookworm/main/installer-armel/current/images/kirkwood/
    netboot/marvell/sheevaplug/</a>

    </pre>
    </blockquote>
    <div id="grammalecte_menu_main_button_shadow_host" style="width:
    0px; height: 0px;"></div>
    <br>
    <div class="moz-signature">-- <br>
    <p>🧙 – <a
    href="mailto:Gandalf@Gk2.NET?subject=The%20Conjurers%20%3F">Gandalf
    (from “The Conjurers”)</a> ©️ 1982-2022</p>
    </div>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jim MacKenzie@21:1/5 to All on Fri Jun 3 15:20:01 2022
    Perhaps it will break at some point, but I have one of my Sheevaplugs on bookworm, and there is a 5.17.0-1-marvell kernel for it.

    Jim

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Martin Michlmayr@21:1/5 to All on Mon Jun 6 09:00:01 2022
    * Paul Wise <pabs@debian.org> [2022-06-03 09:36]:
    Does it mean Debian 11 still isn't available for that device?

    I found that there are Sheevaplug installer images for bullseye,
    so I suspect that Debian 11 still supports the Sheevaplug,
    so Martin probably just hasn't updated the page yet and
    probably using the bullseye images will work fine.

    Unfortunately, I can't remember why I didn't update the page.
    Normally I update my pages or add a note that newer releases are no
    longer supported, but I've done neither with the Sheevaplug pages and
    I can't remember why.

    Gilles, if you could test Debian 11 and report back, I'll go ahead and
    update the pages.

    I remember that u-boot in Debian buster was broken (see <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934974>; I'm not
    sure if that was fixed in a later point release or not); it would be
    good to know if the bullseye version works.

    (CCing Rick Thomas who might also be able to help with testing,
    especially with u-boot)

    --
    Martin Michlmayr
    https://www.cyrius.com/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Gilles@21:1/5 to Martin Michlmayr on Mon Jun 6 18:10:01 2022
    Hello

    Thanks all for the help.

    Using a fresh 64GB USB keydrive, I sucessfully launched the D11
    installer with default options… which fails creating the swap partition:

    https://gofile.io/d/MO7pb1

    Any idea what it could be?

    On 06/06/2022 08:50, Martin Michlmayr wrote:
    * Paul Wise <pabs@debian.org> [2022-06-03 09:36]:
    Does it mean Debian 11 still isn't available for that device?
    I found that there are Sheevaplug installer images for bullseye,
    so I suspect that Debian 11 still supports the Sheevaplug,
    so Martin probably just hasn't updated the page yet and
    probably using the bullseye images will work fine.
    Unfortunately, I can't remember why I didn't update the page.
    Normally I update my pages or add a note that newer releases are no
    longer supported, but I've done neither with the Sheevaplug pages and
    I can't remember why.

    Gilles, if you could test Debian 11 and report back, I'll go ahead and
    update the pages.

    I remember that u-boot in Debian buster was broken (see <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934974>; I'm not
    sure if that was fixed in a later point release or not); it would be
    good to know if the bullseye version works.

    (CCing Rick Thomas who might also be able to help with testing,
    especially with u-boot)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Martin Michlmayr@21:1/5 to All on Tue Jun 7 06:00:01 2022
    * Gilles <codecomplete@free.fr> [2022-06-06 18:02]:
    Using a fresh 64GB USB keydrive, I sucessfully launched the D11 installer with default options… which fails creating the swap partition:

    https://gofile.io/d/MO7pb1

    Can you go back to the main menu when this happens and open a shell
    (it's at the bottom of the list) and then look at /var/log/syslog to
    see what the exact error is.

    --
    Martin Michlmayr
    https://www.cyrius.com/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Gilles@21:1/5 to Martin Michlmayr on Tue Jun 7 15:40:02 2022
    On 07/06/2022 05:57, Martin Michlmayr wrote:
    * Gilles <codecomplete@free.fr> [2022-06-06 18:02]:
    Using a fresh 64GB USB keydrive, I sucessfully launched the D11 installer
    with default options… which fails creating the swap partition:

    https://gofile.io/d/MO7pb1
    Can you go back to the main menu when this happens and open a shell
    (it's at the bottom of the list) and then look at /var/log/syslog to
    see what the exact error is.


    It ends with a single error : "partman: mkswap: can't open '/dev/sda5':
    No such file or directory":

    https://pastebin.com/raw/h0beZWnP

    I then ran the D11 installer on another, 4GB USB keydrive. The installer worked, but the keydrive fails booting:

    sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_ERROR
    driverbyte=DRIVER_OK cmd_age=0s
    sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 77 2d 20 00 00 08 00 blk_update_request: I/O error, dev sda, sector 7810336 op 0x0:(READ)
    flags 0x80700 phys_seg 1 prio class 0

    https://pastebin.com/raw/9HnhZDkT

    Next, to check if the original problematic 64GB keydrive had a hardware problem, I used Rufus on Windows to burn Ubuntu on it, and then used it
    boot a laptop: Success.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rick Thomas@21:1/5 to Gilles on Wed Jun 8 01:20:01 2022
    On Tue, Jun 7, 2022, at 6:32 AM, Gilles wrote:
    It ends with a single error : "partman: mkswap: can't open '/dev/sda5':
    No such file or directory":

    https://pastebin.com/raw/h0beZWnP

    It looks like /dev/sd5 doesn't actually exist. This is probably because the USB stick has an MBR partition table which by default only provides partitions 1-4. You may need to pre-partition it with a GUID partition table.

    Rick

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Gilles@21:1/5 to Rick Thomas on Wed Jun 8 13:30:01 2022
    On 08/06/2022 00:54, Rick Thomas wrote:
    On Tue, Jun 7, 2022, at 6:32 AM, Gilles wrote:
    It ends with a single error : "partman: mkswap: can't open '/dev/sda5':
    No such file or directory":

    https://pastebin.com/raw/h0beZWnP
    It looks like /dev/sd5 doesn't actually exist. This is probably because the USB stick has an MBR partition table which by default only provides partitions 1-4. You may need to pre-partition it with a GUID partition table.

    Rick

    Good call. After using Windows' diskpart*, I removed the MBR and
    converted to GPT. The installer went one step further… and failed:

    https://postimg.cc/ns5XMQL7

    Here's the log:

    https://pastebin.com/raw/htYCmhS3

    * https://www.diskpart.com/articles/remove-mbr-partition-3889i.html

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Philip Hands@21:1/5 to Gilles on Wed Jun 8 15:40:01 2022
    Gilles <codecomplete@free.fr> writes:

    On 08/06/2022 00:54, Rick Thomas wrote:
    On Tue, Jun 7, 2022, at 6:32 AM, Gilles wrote:
    It ends with a single error : "partman: mkswap: can't open '/dev/sda5':
    No such file or directory":

    https://pastebin.com/raw/h0beZWnP
    It looks like /dev/sd5 doesn't actually exist. This is probably because the USB stick has an MBR partition table which by default only provides partitions 1-4. You may need to pre-partition it with a GUID partition table.

    Rick

    Good call. After using Windows' diskpart*, I removed the MBR and
    converted to GPT. The installer went one step further… and failed:

    https://postimg.cc/ns5XMQL7

    Here's the log:

    https://pastebin.com/raw/htYCmhS3

    The ``bad block bitmap checksum'' relating to /dev/sda2, followed by ``Remounting filesystem read-only'' seems to be the source of your
    problem.

    After that point nothing's going to work because your new root
    filesystem (/target/) is faulty, and is now read-only, so there's no way
    to create the /target/boot directory, so the mount of the boot partition
    fails.

    My guess would be an underlying hardware fault on whatever /dev/sda2 is.

    I don't suppose there's any chance it's a fake USB stick - see:

    http://oss.digirati.com.br/f3/ (packaged for Debian as ``f3'')

    Cheers, Phil.
    --
    |)| Philip Hands [+44 (0)20 8530 9560] HANDS.COM Ltd.
    |-| http://www.hands.com/ http://ftp.uk.debian.org/
    |(| Hugo-Klemm-Strasse 34, 21075 Hamburg, GERMANY

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCgAdFiEE3/FBWs4yJ/zyBwfW0EujoAEl1cAFAmKgpfQACgkQ0EujoAEl 1cB+Uw//SjzvhFNrZECJANJ4u7cJA180NqUZ+5lUp/Qcq5Fb/+O+TiPbcoNZwdHi U4eLmTbo4478zAIzGXsUp9xaASpXW9hfypXLBlvCSZ3LekYtG8vlQi4/koesWSeW ykczPtyosSyNR/g9JmNeQ0ZLIh31UdjWVIf20zJXlEtR8lb37lRf9wk4LlyRkEG0 46YRLuei/t9XpL22eVYKlJJej8v9QkDW9+Yk5znPSmKjDiJc9nfFtY1ZDB3hXPeU 23ClOF7xc49SNMv7TsLX4z7H03PUTUnB29wha+3JDgGPpMaq3gd8UCFxfqgR1b+5 FLZ7IDhDUNy0EOqB2qw62V0jeFumvZYkhRvWCw53FevUOHcLQp2R817tk1Yas4/p zLAu3+0Fk7miYQ77x5W1GJEqMq9fDG5jasNQsPIjqcyJWCgq6LGKnQIJWUbN7bhx UkRnGGMpfsGa5zH0DZCcc6qw4RiqusuRi++iFVVpr9UQKdYgz4eFG59WtROYTV5g rY3PzjeTEWIECp0I3KHT4rM6bk+pUrhwCwAU8+vYMWxMMXxSIsZJUE56nyAhrPEr /FRPx6BHEAkI9s9Dv2nrHNtXIq/Ue/YJuM8ZX6UyuSjQdLT8o34TuympRJVdaHa/ g66+oWf97/Mu/Bx
  • From Martin Michlmayr@21:1/5 to All on Thu Jun 9 15:50:01 2022
    * Gilles <codecomplete@free.fr> [2022-06-09 15:14]:
    U-Boot 2011.12 (Mar 11 2012 - 18:59:46)

    Does Uboot support ext4, or just ext2? Or is the 2011.12 release too old,
    and I should either upgrade or go back to ext2 instead?

    It might be worth upgrading u-boot just in case. These instructions
    are still correct: https://www.cyrius.com/debian/kirkwood/sheevaplug/uboot-upgrade/

    (It's not the latest version of u-boot, but it is one that worked for
    a long of people. Rick Thomas agreed to test the latest and report
    back. I will update my web site accordingly.)

    I'm not sure about ext4, but we generally recommend a separate /boot
    partition with ext2 and that's IIRC what the guided partitioner
    creates.

    --
    Martin Michlmayr
    https://www.cyrius.com/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Gilles@21:1/5 to Philip Hands on Thu Jun 9 15:20:01 2022
    I used another USB stick, with the root+boot formated in ext4, the
    install completed, but… Uboot fails loading:

    =========
    U-Boot 2011.12 (Mar 11 2012 - 18:59:46)
    Marvell-Sheevaplug - eSATA - SD/MMC

    SoC:   Kirkwood 88F6281_A0
    DRAM:  512 MiB
    WARNING: Caches not enabled
    NAND:  512 MiB
    In:    serial
    Out:   serial
    Err:   serial
    Net:   egiga0
    88E1116 Initialized on egiga0
    Hit any key to stop autoboot:  0
    (Re)start USB...
    USB:   Register 10011 NbrPorts 1
    USB EHCI 1.00
    scanning bus for devices... 2 USB Device(s) found
           scanning bus for storage devices... 1 Storage Device(s) found Loading file "/uImage" from usb device 0:1 (usbda1)
    Failed to mount ext2 filesystem...
    ** Bad ext2 partition or disk - usb 0:1 **
    Loading file "/uInitrd" from usb device 0:1 (usbda1)
    Failed to mount ext2 filesystem...
    ** Bad ext2 partition or disk - usb 0:1 **
    ## Booting kernel from Legacy Image at 00800000 ...
       Image Name:   kernel 4.9.0-18-marvell
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2080634 Bytes = 2 MiB
       Load Address: 00008000
       Entry Point:  00008000
       Verifying Checksum ... Bad Data CRC
    ERROR: can't get kernel image!
    Marvell>>
    =========

    That was with the original settings:
    setenv bootargs_console console=ttyS0,115200
    setenv bootcmd_usb 'usb start; ext2load usb 0:1 0x00800000 /uImage;
    ext2load usb 0:1 0x01100000 /uInitrd'
    setenv bootcmd 'setenv bootargs $(bootargs_console); run bootcmd_usb;
    bootm 0x00800000 0x01100000'

    Does Uboot support ext4, or just ext2? Or is the 2011.12 release too
    old, and I should either upgrade or go back to ext2 instead?

    On 08/06/2022 15:36, Philip Hands wrote:
    Gilles <codecomplete@free.fr> writes:

    On 08/06/2022 00:54, Rick Thomas wrote:
    On Tue, Jun 7, 2022, at 6:32 AM, Gilles wrote:
    It ends with a single error : "partman: mkswap: can't open '/dev/sda5': >>>> No such file or directory":

    https://pastebin.com/raw/h0beZWnP
    It looks like /dev/sd5 doesn't actually exist. This is probably because the USB stick has an MBR partition table which by default only provides partitions 1-4. You may need to pre-partition it with a GUID partition table.

    Rick
    Good call. After using Windows' diskpart*, I removed the MBR and
    converted to GPT. The installer went one step further… and failed:

    https://postimg.cc/ns5XMQL7

    Here's the log:

    https://pastebin.com/raw/htYCmhS3
    The ``bad block bitmap checksum'' relating to /dev/sda2, followed by ``Remounting filesystem read-only'' seems to be the source of your
    problem.

    After that point nothing's going to work because your new root
    filesystem (/target/) is faulty, and is now read-only, so there's no way
    to create the /target/boot directory, so the mount of the boot partition fails.

    My guess would be an underlying hardware fault on whatever /dev/sda2 is.

    I don't suppose there's any chance it's a fake USB stick - see:

    http://oss.digirati.com.br/f3/ (packaged for Debian as ``f3'')

    Cheers, Phil.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Gilles@21:1/5 to Gilles on Thu Jun 9 15:30:01 2022
    Forgot to write that I tried this line manually:

    Marvell>> setenv bootcmd_usb 'usb start; ext4load usb 0:1 0x00800000
    /uImage; ext4load usb 0:1 0x01100000 /uInitrd'


    Marvell>> print
    baudrate=115200
    bootargs=console=ttyS0,115200
    bootargs_console=console=ttyS0,115200
    bootcmd=setenv bootargs $(bootargs_console); run bootcmd_usb; bootm
    0x00800000 0x01100000
    bootcmd_usb=usb start; ext4load usb 0:1 0x00800000 /uImage; ext4load usb
    0:1 0x01100000 /uInitrd
    bootdelay=3
    ethact=egiga0
    ethaddr=02:50:43:e7:5c:e1
    ipaddr=192.168.0.10
    serverip=192.168.0.12
    stderr=serial
    stdin=serial
    stdout=serial
    x_bootargs=console=ttyS0,115200 mtdparts=orion_nand:512k(uboot),4m@1m(kernel),507m@5m(rootfs) rw x_bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs x_bootcmd_kernel=nand read 0x6400000 0x100000 0x400000
    x_bootcmd_sata=ide reset;
    x_bootcmd_usb=usb start;
    Environment size: 706/131068 bytes

    Marvell>> run bootcmd

    (Re)start USB...
    USB:   Register 10011 NbrPorts 1
    USB EHCI 1.00
    scanning bus for devices... 2 USB Device(s) found
           scanning bus for storage devices... 1 Storage Device(s) found Unknown command 'ext4load' - try 'help'
    Unknown command 'ext4load' - try 'help'
    ## Booting kernel from Legacy Image at 00800000 ...
       Image Name:   kernel 4.9.0-18-marvell
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2080634 Bytes = 2 MiB
       Load Address: 00008000
       Entry Point:  00008000
       Verifying Checksum ... Bad Data CRC
    ERROR: can't get kernel image!
    Marvell>>

    On 09/06/2022 15:14, Gilles wrote:
    I used another USB stick, with the root+boot formated in ext4, the
    install completed, but… Uboot fails loading:

    =========
    U-Boot 2011.12 (Mar 11 2012 - 18:59:46)
    Marvell-Sheevaplug - eSATA - SD/MMC

    SoC:   Kirkwood 88F6281_A0
    DRAM:  512 MiB
    WARNING: Caches not enabled
    NAND:  512 MiB
    In:    serial
    Out:   serial
    Err:   serial
    Net:   egiga0
    88E1116 Initialized on egiga0
    Hit any key to stop autoboot:  0
    (Re)start USB...
    USB:   Register 10011 NbrPorts 1
    USB EHCI 1.00
    scanning bus for devices... 2 USB Device(s) found
           scanning bus for storage devices... 1 Storage Device(s) found Loading file "/uImage" from usb device 0:1 (usbda1)
    Failed to mount ext2 filesystem...
    ** Bad ext2 partition or disk - usb 0:1 **
    Loading file "/uInitrd" from usb device 0:1 (usbda1)
    Failed to mount ext2 filesystem...
    ** Bad ext2 partition or disk - usb 0:1 **
    ## Booting kernel from Legacy Image at 00800000 ...
       Image Name:   kernel 4.9.0-18-marvell
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2080634 Bytes = 2 MiB
       Load Address: 00008000
       Entry Point:  00008000
       Verifying Checksum ... Bad Data CRC
    ERROR: can't get kernel image!
    Marvell>>
    =========

    That was with the original settings:
    setenv bootargs_console console=ttyS0,115200
    setenv bootcmd_usb 'usb start; ext2load usb 0:1 0x00800000 /uImage;
    ext2load usb 0:1 0x01100000 /uInitrd'
    setenv bootcmd 'setenv bootargs $(bootargs_console); run bootcmd_usb;
    bootm 0x00800000 0x01100000'

    Does Uboot support ext4, or just ext2? Or is the 2011.12 release
    too old, and I should either upgrade or go back to ext2 instead?

    On 08/06/2022 15:36, Philip Hands wrote:
    Gilles <codecomplete@free.fr> writes:

    On 08/06/2022 00:54, Rick Thomas wrote:
    On Tue, Jun 7, 2022, at 6:32 AM, Gilles wrote:
    It ends with a single error : "partman: mkswap: can't open
    '/dev/sda5':
    No such file or directory":

    https://pastebin.com/raw/h0beZWnP
    It looks like /dev/sd5 doesn't actually exist.  This is probably
    because the USB stick has an MBR partition table which by default
    only provides partitions 1-4.  You may need to pre-partition it
    with a GUID partition table.

    Rick
    Good call. After using Windows' diskpart*, I removed the MBR and
    converted to GPT. The installer went one step further… and failed:

    https://postimg.cc/ns5XMQL7

    Here's the log:

    https://pastebin.com/raw/htYCmhS3
    The ``bad block bitmap checksum'' relating to /dev/sda2, followed by
    ``Remounting filesystem read-only'' seems to be the source of your
    problem.

    After that point nothing's going to work because your new root
    filesystem (/target/) is faulty, and is now read-only, so there's no way
    to create the /target/boot directory, so the mount of the boot partition
    fails.

    My guess would be an underlying hardware fault on whatever /dev/sda2 is.

    I don't suppose there's any chance it's a fake USB stick - see:

       http://oss.digirati.com.br/f3/  (packaged for Debian as ``f3'')

    Cheers, Phil.



    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rick Thomas@21:1/5 to Gilles on Fri Jun 10 01:00:01 2022
    Hi Giles,
    It really looks like the version of uboot you're using only understands ext2 (and fat, most likely, but I'm not sure that helps you in this situation)

    Try dropping back to ext2 for anything that needs to be accessed by uboot. Enjoy!
    Rick

    On Thu, Jun 9, 2022, at 6:26 AM, Gilles wrote:
    Forgot to write that I tried this line manually:

    Marvell>> setenv bootcmd_usb 'usb start; ext4load usb 0:1 0x00800000 /uImage; ext4load usb 0:1 0x01100000 /uInitrd'


    Marvell>> print
    baudrate=115200
    bootargs=console=ttyS0,115200
    bootargs_console=console=ttyS0,115200
    bootcmd=setenv bootargs $(bootargs_console); run bootcmd_usb; bootm 0x00800000 0x01100000
    bootcmd_usb=usb start; ext4load usb 0:1 0x00800000 /uImage; ext4load usb
    0:1 0x01100000 /uInitrd
    bootdelay=3
    ethact=egiga0
    ethaddr=02:50:43:e7:5c:e1
    ipaddr=192.168.0.10
    serverip=192.168.0.12
    stderr=serial
    stdin=serial
    stdout=serial
    x_bootargs=console=ttyS0,115200 mtdparts=orion_nand:512k(uboot),4m@1m(kernel),507m@5m(rootfs) rw x_bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs x_bootcmd_kernel=nand read 0x6400000 0x100000 0x400000
    x_bootcmd_sata=ide reset;
    x_bootcmd_usb=usb start;
    Environment size: 706/131068 bytes

    Marvell>> run bootcmd

    (Re)start USB...
    USB:   Register 10011 NbrPorts 1
    USB EHCI 1.00
    scanning bus for devices... 2 USB Device(s) found
           scanning bus for storage devices... 1 Storage Device(s) found Unknown command 'ext4load' - try 'help'
    Unknown command 'ext4load' - try 'help'
    ## Booting kernel from Legacy Image at 00800000 ...
       Image Name:   kernel 4.9.0-18-marvell
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2080634 Bytes = 2 MiB
       Load Address: 00008000
       Entry Point:  00008000
       Verifying Checksum ... Bad Data CRC
    ERROR: can't get kernel image!
    Marvell>>

    On 09/06/2022 15:14, Gilles wrote:
    I used another USB stick, with the root+boot formated in ext4, the
    install completed, but… Uboot fails loading:

    =========
    U-Boot 2011.12 (Mar 11 2012 - 18:59:46)
    Marvell-Sheevaplug - eSATA - SD/MMC

    SoC:   Kirkwood 88F6281_A0
    DRAM:  512 MiB
    WARNING: Caches not enabled
    NAND:  512 MiB
    In:    serial
    Out:   serial
    Err:   serial
    Net:   egiga0
    88E1116 Initialized on egiga0
    Hit any key to stop autoboot:  0
    (Re)start USB...
    USB:   Register 10011 NbrPorts 1
    USB EHCI 1.00
    scanning bus for devices... 2 USB Device(s) found
           scanning bus for storage devices... 1 Storage Device(s) found >> Loading file "/uImage" from usb device 0:1 (usbda1)
    Failed to mount ext2 filesystem...
    ** Bad ext2 partition or disk - usb 0:1 **
    Loading file "/uInitrd" from usb device 0:1 (usbda1)
    Failed to mount ext2 filesystem...
    ** Bad ext2 partition or disk - usb 0:1 **
    ## Booting kernel from Legacy Image at 00800000 ...
       Image Name:   kernel 4.9.0-18-marvell
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2080634 Bytes = 2 MiB
       Load Address: 00008000
       Entry Point:  00008000
       Verifying Checksum ... Bad Data CRC
    ERROR: can't get kernel image!
    Marvell>>
    =========

    That was with the original settings:
    setenv bootargs_console console=ttyS0,115200
    setenv bootcmd_usb 'usb start; ext2load usb 0:1 0x00800000 /uImage;
    ext2load usb 0:1 0x01100000 /uInitrd'
    setenv bootcmd 'setenv bootargs $(bootargs_console); run bootcmd_usb;
    bootm 0x00800000 0x01100000'

    Does Uboot support ext4, or just ext2? Or is the 2011.12 release
    too old, and I should either upgrade or go back to ext2 instead?

    On 08/06/2022 15:36, Philip Hands wrote:
    Gilles <codecomplete@free.fr> writes:

    On 08/06/2022 00:54, Rick Thomas wrote:
    On Tue, Jun 7, 2022, at 6:32 AM, Gilles wrote:
    It ends with a single error : "partman: mkswap: can't open
    '/dev/sda5':
    No such file or directory":

    https://pastebin.com/raw/h0beZWnP
    It looks like /dev/sd5 doesn't actually exist.  This is probably
    because the USB stick has an MBR partition table which by default
    only provides partitions 1-4.  You may need to pre-partition it
    with a GUID partition table.

    Rick
    Good call. After using Windows' diskpart*, I removed the MBR and
    converted to GPT. The installer went one step further… and failed:

    https://postimg.cc/ns5XMQL7

    Here's the log:

    https://pastebin.com/raw/htYCmhS3
    The ``bad block bitmap checksum'' relating to /dev/sda2, followed by
    ``Remounting filesystem read-only'' seems to be the source of your
    problem.

    After that point nothing's going to work because your new root
    filesystem (/target/) is faulty, and is now read-only, so there's no way >>> to create the /target/boot directory, so the mount of the boot partition >>> fails.

    My guess would be an underlying hardware fault on whatever /dev/sda2 is. >>>
    I don't suppose there's any chance it's a fake USB stick - see:

       http://oss.digirati.com.br/f3/  (packaged for Debian as ``f3'')

    Cheers, Phil.



    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Gilles@21:1/5 to Martin Michlmayr on Fri Jun 10 23:30:01 2022
    On 09/06/2022 15:48, Martin Michlmayr wrote:
    * Gilles <codecomplete@free.fr> [2022-06-09 15:14]:
    U-Boot 2011.12 (Mar 11 2012 - 18:59:46)
    Does Uboot support ext4, or just ext2? Or is the 2011.12 release too old, >> and I should either upgrade or go back to ext2 instead?
    It might be worth upgrading u-boot just in case. These instructions
    are still correct: https://www.cyrius.com/debian/kirkwood/sheevaplug/uboot-upgrade/

    (It's not the latest version of u-boot, but it is one that worked for
    a long of people. Rick Thomas agreed to test the latest and report
    back. I will update my web site accordingly.)

    I'm not sure about ext4, but we generally recommend a separate /boot partition with ext2 and that's IIRC what the guided partitioner
    creates.

    I let the installer reformat and repartition the pendrive, with /boot as
    ext2 and / as ext4, and D11 installed successuflly.

    Lessons learned:

    1. If the pendrive has an MBR, convert it to GPT

    2. On a computer, perform a full test to check for backblocks

    3. Uboot might not support ext4, so either upgrade or use ext2 for /boot

    Thanks all!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)