System issues

Copyright © Quectel Wireless Solutions Co., Ltd. 2026. All rights reserved.


Does the system have default login credentials?

No. The Debian system requires you to create a user account on first boot. Make sure to remember the username and password you configure, as these credentials will be required for subsequent logins.

How to resolve Chinese input method support issues?

Follow these steps to install and configure the Chinese input method:

Install dependencies

sudo apt install ibus ibus-libpinyin fonts-noto-cjk -y

Inspect current input sources

gsettings get org.gnome.desktop.input-sources sources

Configure input sources

gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'us'), ('ibus', 'libpinyin')]"

Reboot

sudo reboot

Switch input methods (Super refers to the Windows key on your keyboard)

Super + Space

How to check current system status?

# Monitor real-time CPU utilization
top

# Inspect running and queued processes filtered by command name
ps aux | grep <comm>

# Check overall memory and swap space utilization
free -h

# Inspect disk partition usage
df -h

How to check the system version?

# View vendor build/ BSP release version
cat /etc/quectel-release

# View OS distribution release details
cat /etc/os-release

# Check kernel version and system architecture
uname -a

How to upgrade the system?

System firmware updates are released periodically on the official portal. For detailed upgrade instructions, refer to Image acquisition and System installation.

Note

  1. If the system fails to boot properly, reflash the OS image.

  2. Visit the Firmware download center to get the latest firmware release.

  3. For instructions on flashing the system image, refer to System installation.

Troubleshoot package download failures

Check network connectivity and proxy settings

  • Network connectivity: First, ensure the device is connected to the internet. Test connectivity by running ping -c 4 8.8.8.8 or ping -c 4 deb.debian.org. If the ping fails, inspect your Ethernet cable, Wi-Fi connection, or IP address configuration.

  • Proxy server: If routing traffic through a proxy, verify that the configuration is correct or temporarily disable it. You can inspect and temporarily rename any proxy configuration files (e.g., proxy.conf) under /etc/apt/apt.conf.d/.

Verify and switch package repositories

Misconfigured package repositories are a common cause of package download failures.

  • Back up the sources list: Before modifying configuration files, run sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak to create a backup.

  • Inspect current repositories: Run cat /etc/apt/sources.list and ls -l /etc/apt/sources.list.d/ to check for invalid, unreachable, or obsolete repository URLs.

  • Switch mirror repositories: If the default upstream repository is slow or unstable, switch to faster local/regional mirrors (such as Tsinghua, Alibaba Cloud, or USTC) to improve download speeds and reliability. After updating the configuration, run sudo apt update to refresh the package index and apply changes. For more details, refer to Software update.

Update package lists and resolve broken dependencies

Outdated package lists or broken dependencies can cause download failures.

  • Update package lists: This is a critical step. Run sudo apt update to ensure the system fetches the latest package metadata.

  • Fix broken dependencies: If issues persist after updating, try running sudo apt --fix-broken install to repair broken dependencies.

  • Use the --fix-missing flag: If you encounter the Unable to fetch some archives error, run sudo apt install --fix-missing <package_name>.

Check disk space and conflicting processes

Insufficient disk space or another process holding the package manager lock can also cause downloads to fail.

  • Check available disk space: Run df -h to verify sufficient space on the root (/) and /var partitions. If space is running low, run sudo apt clean to clear the local APT cache, followed by sudo apt autoremove to remove orphaned/unused packages.

  • Check for conflicting processes: If another APT or dpkg instance is active, locate it by running ps aux | grep -E "apt|dpkg". Wait for the task to finish, or force-terminate it using sudo kill -9 <PID>. If the lock persists, you can remove the lock file manually: sudo rm /var/lib/apt/lists/lock.

Investigate other factors

  • Verify package name: Typos in the package name can cause package resolution/lookup failures. Run apt-cache search <keyword> to locate the exact package name.

  • Import GPG keys: If running an update yields GPG errors, the system is likely missing the repository's signing key. Run the following commands to import it:

# 1. Create a dedicated keyrings directory
sudo mkdir -p /etc/apt/keyrings

# 2. Fetch and import the key from the official Debian keyserver
sudo gpg --no-default-keyring --keyring /etc/apt/keyrings/example.gpg \
    --keyserver hkps://keyring.debian.org \
    --recv-keys <missing_key_ID>

# 3. Reference the key in the repository configuration
echo "deb [signed-by=/etc/apt/keyrings/example.gpg] https://example.com/repo stable main" | sudo tee /etc/apt/sources.list.d/example.list
  • Verify system time: Clock skew or incorrect system time will cause HTTPS/TLS certificate validation failures. Run date to inspect the current timestamp. If the time is incorrect, synchronize it over NTP by running sudo timedatectl set-ntp true.

  • Install standalone Debian packages: If the target package is unavailable in the configured mirrors, download the .deb package file and install it locally via sudo apt install ./xxx.deb.

How to troubleshoot high memory usage?

Confirm that the system is actually low on memory

free -h
cat /proc/meminfo | head -n -30

Verify whether the issue is caused by low memory (memory exhaustion):

[电子表格]

Diagnostic principles:

  • A high used value does not necessarily indicate an issue: Linux routinely allocates idle memory for page caching.

  • The priority is checking whether MemAvailable is critically low.

  • True memory pressure is confirmed only when MemAvailable drops critically low, swap usage continues to climb, and the system experiences performance stalls or sluggishness.

Check for OOM events or memory alerts

dmesg -T | grep -i -E "oom|out of memory|killed process|memory allocation failure"
journalctl -k | grep -i -E "oom|out of memory|killed process"

If the following log messages appear, the system has encountered an out-of-memory (OOM) condition:

Out of memory
Killed process xxx

Identify top memory-consuming processes

ps aux --sort=-rss | head -n -20

Or:

ps -eo pid,ppid,comm,rss,vsz,%mem --sort=-rss | head -n -30

Field descriptions:

Field

Description

RSS

Physical memory actually in use.

VSZ

Virtual address space, not actual memory usage.

%MEM

Percentage of total memory.

Alternatively, you can use:

top

Once the interactive interface opens, press M to sort processes by memory usage.

Inspect granular process memory usage

Assuming the target process PID is 1234:

cat /proc/1234/status | grep -E "VmRSS|VmSize|VmData|VmSwap|Threads"

For a deeper memory breakdown:

cat /proc/1234/smaps_rollup

Key fields to watch:

  • Rss

  • Pss

  • Private_Clean

  • Private_Dirty

  • Swap

A steady, continuous increase in Private_Dirty typically indicates a memory leak.

Troubleshoot system hangs

Assess the severity of the hang: Check whether the keyboard, network, or serial console remains responsive.

On headless edge devices lacking a display or physical keyboard, determine whether the kernel is still alive via the following channels:

  • Network: Check if the device responds to ping, whether SSH sessions can be established, and if active connections have dropped.

  • Serial Console (UART Debug Port): Check for an interactive shell prompt and verify whether commands can be entered and executed.

  • Magic SysRq mechanism:

    • If Magic SysRq is enabled (CONFIG_MAGIC_SYSRQ compiled in and permitted via /proc/sys/kernel/sysrq), send a Break signal over the debug serial console in the absence of a physical keyboard, followed by a command key:
      - t: Dump stack traces for all active tasks
      - c: Trigger a kernel crash dump
      - b: Reboot immediately without syncing or unmounting disks
      - s: Sync all mounted filesystems to disk
      - u: Remount all filesystems as read-only

    • If a shell is still accessible, trigger SysRq directly via /proc:

    # Dump task stack traces
    echo t > /proc/sysrq-trigger
    
    # Trigger a kernel crash dump
    echo c > /proc/sysrq-trigger
    

Responsive (Soft Lockup / Soft Hang): SSH remains reachable, the serial console accepts input, or SysRq responds. This indicates the kernel is still operational and only specific processes or userland threads are hung. Prioritize running diagnostics to capture runtime telemetry and backtraces before triggering a reboot, preventing loss of the forensic failure state.

Unresponsive (Hard Lockup / Hard Freeze): The heartbeat LED stops blinking, network connectivity is completely severed, and the serial console yields no output. This condition is typically caused by a Kernel Panic, hardware lockup, or fatal interrupt storm. First check whether a crash dump was generated, or trigger a warm reset via the reset pin so the kernel can flush and persist crash logs to non-volatile storage. If a warm reset fails, recover the device via a hardware reset or power cycle.