Librem Mini v2 Qubes OS pre install came PASSWORD protected

Tried a brand new USB flash drive and got the same error.
CHS: Error 0c00 reading sector 3427421 (213/88/33)
EDD: Error 0c00 reading sector 3427421

1 Like

How large is the USB drive’s capacity?

It is a Sandisk Cruzer Blade 8GB

1 Like

What happens when you try a different USB port?

Have tried 2 different ports. Have my keyboard and mouse plugged into the other two

1 Like

What happens when you attempt to boot the USB drive from a different machine? Does it still throw an error, or does it successfully boot?

So I tried with another pc and the grub menu comes up and the options to boot pureos live come up and either option gives me this message. Does not seem to go beyond this point.
error: no suitable video mode found.
Booting in blind mode

1 Like

That’s expected if the other machine requires proprietary device firmware for the graphics card (AMD/Nvidia or latest generations of Intel), since PureOS doesn’t include that firmware.

Unfortunately that doesn’t really tell us whether the flash drive worked or not in the other system, it may have choked after that but been unable to display the error.

Could you try one of the Debian 12 live ISOs in both the Mini v2 and the other system? (Index of /debian-cd/current-live/amd64/iso-hybrid) The goal here is to get to a point where an image boots correctly on at least one system, so we can tell if there is a problem with the other system (or, preferably, it boots on both and we go back to trying PureOS or Qubes if you prefer).

It could still be a problem with the way the ISOs were written to the media, a problem with the downloaded ISO, or something else. I don’t think you intentionally unplugged them early, but sometimes flushing disk caches can take much longer than you might think. I would assume balenaEtcher would flush caches before telling you it’s done but I’ve never actually tried it, I always dd them myself out of habit.

While you’re trying that, I can give balenaEtcher a try just to see what might go wrong.

1 Like

There can be some merit in checking the SHA sum (for some hash algorithm). Ideally Purism would publish the SHA sum (not so much for cryptographic integrity purposes but just to detect dodgy downloads) - so there would be 3 SHA sums that must all be equal:

  • what the distro published
  • what you get on the downloaded file
  • what you get on the flash drive after using dd (or whatever) to copy to flash drive - but this may require care to get to match
1 Like

@jonathon.hall tried out the Debian 12 live iso and it failed on the Librem Mini but it did work on my pc. On the mini the intial menu came up but when I selected to install Debian 12 it just hung for a while and I got the same CHS/EDD error messages as above

1 Like

Thanks for testing that @zstocs , glad we have a confirmed working medium now and it’s clear we need to find out why the Mini is having trouble reading it.

Is your device a Mini v1 or v2?

Could you try running a memory test? Get the memtest86+ ISO and boot it, let it run until “PASS” or “FAIL” appears. Direct link: https://memtest.org/download/v7.00/mt86plus_7.00_64.grub.iso.zip

While you’re on the SeaBIOS boot menu, could you let me know what version it is? (Something like version rel-1.16.1-3-g001fea6c.) I can use that to figure out what firmware version you have, since we’re not able to boot anything to check it directly.

1 Like

Says above that it’s a v2.

1 Like

Mini is v2 and my SeaBios version is rel-1.16.2-3-g001fea6c

1 Like

Thanks @zstocs that means you have a recent release, one of 4.21-Purism-1 to 4.21-Purism-4. Please let me know what the memory test reports and we’ll go from there.

2 Likes

@jonathon.hall ran memtest on my mini over the weekend and it passed. Ran three passes and all of them looked good.

1 Like

@jonathon.hall @FranklyFlawless are the any developments on what could be wrong with my mini? I currently have $1000 door stop. Tried all the usb ports and I get the same error. Wondering if I need to update the bios? That is probably the last option as far as I can see.

1 Like

You will not be able to update Coreboot unless you perform a hardware reflash or successfully boot into an operating system using the Librem Mini. You may want to disassemble it and ensure that the hardware components within them are securely mounted, otherwise I suggest contacting Purism Support (support@puri.sm) for an RMA.

1 Like

@zstocs Sorry for the radio silence, I’ve been working on this issue most of this week, 4 days went by faster than I expected.

I do have an idea of what may be going wrong and some suggestions. While you are welcome to disassemble if you want, I don’t think there is much you will find on USB 2.0 signaling from inspection.

I have another report of issues with USB 2.0 devices and I think this is similar - it appears that the transmitter configuration in coreboot may not be optimized enough for all Minis. (This is a very “analog” problem, even if the transmitters tuning is a bit off many devices will work, some may be more marginal than others, it may depend on the USB device as well.) This prompted the preview builds I posted (Librem Mini v1/v2: Feedback request for USB tuning preview build but those changes were not enough based on the feedback I got.

I’ve been working on getting more optimized tunings, and I aim to have a build soon to try. But in your case, we need to get a booting OS since you are unable to flash firmware otherwise.

  • Do you have a USB 3.0 flash drive you can try? I believe the Cruzer Blade you mentioned is USB 2.0. If this allows you to boot, go ahead and reinstall the OS while we get the USB tunings sorted out.
  • Otherwise, you can get a working OS by swapping the SSD. Either move the Mini’s SSD to another PC and install an OS, or borrow an SSD with an installed OS from another PC. The OS must be installed in BIOS mode to work with SeaBIOS on the Mini. This will allow us to flash new firmware to test USB tunings. If the “other PC” requires proprietary device firmware, I’d recommend using Debian 12 for this process, and you can go back to PureOS on the mini once USB is sorted out.

If you prefer, you can also contact support (support@puri.sm) to discuss all available options to solve this. You can let them know that you’ve been working with me on this issue via the forum and I will sync up the ticket with where we are so far. (Please mention the thread, it’s not always obvious to match up forum handles with emails.)

2 Likes

I got the new build together and posted it to that same thread: Librem Mini v1/v2: Feedback request for USB tuning preview build - #2 by jonathon.hall

@zstocs If you are able to get a booting OS on your Mini v2, I would appreciate it if you can try that build and let me know if the USB 2.0 connectivity is improved on the blue ports. If you are not able to get a booting OS or would like to discuss any other ways to solve the problem, please contact support.

2 Likes

@jonathon.hall @FranklyFlawless I will see if I can find a USB 3.0 drive and try that first. If not, I will have another machine by the end of next week that I can use for installing an OS on the SSD. Will keep you posted. Appreciate the help. I really like the device and I would rather not have to send the it back if I can avoid it.

1 Like