It’s been sitting here frozen like this for a really long time, hours actually. I’m trying to install Lemmy on my raspberry pi. The terminal hasn’t moved at all in hours, but the mouse will nudge a little after like a minute of lag. Is it frozen in a broken way? Or should I just try and leave it for the night?

  • mo_ztt ✅
    link
    English
    5
    edit-2
    1 year ago

    I think you’re probably swapping like mad, and likely to eventually bomb… I could be wrong but I can’t see compiling a real Rust project on a Pi 3 coming to a successful conclusion. Like one other poster mentioned I think it might actually even damage the hardware from overheating. I think for my system I had to up the hosting to 2GB RAM, and still had to activate swap for some parts of the compilation, before it succeeded. Is it possible for you to cross-compile it or something?

    • @[email protected]
      link
      fedilink
      English
      21 year ago

      I doubt it’ll overheat, Pi’s do thermal throttle when hot and from memory the Pi 3 runs fairly under clocked to begin with. If it’s swapping you’re more likely to burn out the SD card.

    • SoullionessOP
      link
      English
      11 year ago

      I have no idea what cross compiling is but I’m open to trying it.

      • mo_ztt ✅
        link
        English
        11 year ago

        Cross compiling is building software on one platform that’s designed to run on a different platform – e.g. you can build a Rust package on your PC that’s designed to run on your Pi. It’s not very well-supported in general (i.e. I have no idea if it’s even feasible for this scenario) but in cases where it works it can be pretty useful.

        • SoullionessOP
          link
          English
          11 year ago

          Cool. I was just looking it up. Very neat. I don’t have the first clue how to go about it but I’ll let the little raspberry try overnight. We’ll see what happens.

  • The_Pete
    link
    English
    41 year ago

    Can you open another terminal and do a top? My guess is that it’s compiling and you’re on slow hardware but Idk.

    Top will show you what your system is doing.

    • SoullionessOP
      link
      English
      31 year ago

      I wish I could. The whole computer is completely frozen! Just the mouse will nudge a little very very slowly. I don’t think I can get another terminal open. And yes it’s very slow hardware. It’s a raspberry pi 3.

      • The_Pete
        link
        English
        41 year ago

        Well, you can either let it ride or quit. Us old guys used to spend 24 hours compiling every few weeks to keep our systems up to date. I’d just be patient and wait.

        • SoullionessOP
          link
          English
          21 year ago

          I’m thinking that I should probably let it ride. Maybe it’ll work. It’s not like I’ve got better plans for that little computer.

          • The_Pete
            link
            English
            21 year ago

            It’ll work, it’ll just take time.

        • mo_ztt ✅
          link
          English
          11 year ago

          I still remember when Debian had the problem that the mips builders couldn’t build packages fast enough to get through the queue before more packages came in, so there was an ever-growing backlog whatever they did. 😃

  • ShittyKopper [they/them]
    link
    fedilink
    English
    2
    edit-2
    1 year ago

    Ouch. Compiling Rust code on a Raspberry Pi is gonna take some time.

    Get something to drink and relax while that poor CPU tries it’s best. Make sure it’s adequetely cooled though. You may literally melt it clean off the board (jk. it’ll just thermal throttle like hell)

    Which model of Pi are you trying this on?

    • SoullionessOP
      link
      English
      11 year ago

      Raspberry pi 3! I haven’t used it in a while but I’m happy to have it out again. So far this is all I’ve done but it’s been interesting. Lol