Skip to content

Problem: Printer will not use USB flash as swap while running Klipper13 #690

Description

@Zach-Z0

Printer Model

AD5M

Screen / Interface Type

I use GuppyScreen

Klipper Version

I use Klipper 13

Web Interface

Fluidd

Start G-code

START_PRINT EXTRUDER_TEMP=[nozzle_temperature_initial_layer] BED_TEMP=[bed_temperature_initial_layer_single]
M190 S[bed_temperature_initial_layer_single]
M104 S[nozzle_temperature_initial_layer]
SET_PRINT_STATS_INFO TOTAL_LAYER=[total_layer_count]

End G-code

END_PRINT

Detailed Problem Description

  1. Selected a suitable USB drive to format (Used 2.0, 3.1, and 3.2 variants, 2gb, 32gb, 64gb, various manufacturers)
  2. Format USB drive using "Rufus", FAT32 file system, MBR partition format.
  3. Ensure "ZMOD_SAVE_DATA SWAP_ON" value = 2
  4. Power off printer completely, wait 15 seconds.
  5. Insert FAT32 formatted USB flash drive
  6. Power on printer, wait for it to boot fully
  7. SSH into printer
  8. use 'cat /proc/swaps/' command to check location of the swap
  9. Note if the swap is still located in the eMMC (/data/.mod/.zmod/root/swap) or on USB flash drive (/media)
  10. Verify if the linux system is even aware of the USB flash drive existing with "df -T" command
  11. Note if the USB flash drive appears in the file system (It has every time).

Issue has been tested with 2gb (USB 2.0), 32GB (USB 3.1), 64GB (USB 3.2) sticks, all results the same. Have asked other Zmod users to run the same test for me, one running klipper11 had no issues, another person running klipper13 could not get a flash drive to be used as swap either. All USB drives across all tests were 100% confirmed to be formatted "FAT32" or "Large Fat32" (depending on the size of the drive) with MBR partition format. User running klipper11 had success with a 64gb flash drive formatted "Large Fat32".

Attach config-*.tar.gz file

config_1.7.1-30.tar.gz

Attach GCODE file

Not applicable.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions