Basic Troubleshooting¶
Start here for quick checks and common fixes before diving into specialized guides.
Quick Diagnostics¶
Run these basic checks to capture system state:
# Check system info
uname -a
cat /proc/cpuinfo | grep -i "model name"
free -h
# Check disk space
df -h
# Check boot messages
dmesg | less
# Check system logs
journalctl -b
Most Common Issues¶
System Won't Boot¶
Symptoms: No display activity, device appears dead
Possible causes:
- SPI NAND not erased (most common with NAND versions)
- Corrupt SD card image
- SD card not inserted properly
- Insufficient power supply
- Hardware connection issue
Next steps:
- See Common Issues for detailed troubleshooting
- Verify SPI NAND was erased: Erasing SPI NAND
- Try a different power supply (5V/2A minimum)
- Reflash the SD card
- Reseat hardware connections
Display Not Working¶
Symptoms: System boots but display stays blank
Quick checks:
!!! info When the keyboard or display isn't working, you can still run commands and see output through the serial console!
The Picocalc includes a USB to serial converter, and Calculinux runs a login shell on the connected serial port. See [Console Access](hardware/serial/console-access.md) for details on accessing it. You can use this for running commands when your keyboard is not working, seeing output when the display is not working, or troubleshooting early boot issues.
# Check if framebuffer exists
ls -l /dev/fb0
# Test display with color pattern
cat /dev/urandom > /dev/fb0
# Check display driver
dmesg | grep -i display
lsmod | grep fb
See Common Issues for additional fixes.
Keyboard Not Responding¶
Symptoms: Cannot type or keys don't register
Quick checks:
!!! info When the keyboard or display isn't working, you can still run commands and see output through the serial console!
The Picocalc includes a USB to serial converter, and Calculinux runs a login shell on the connected serial port. See [Console Access](hardware/serial/console-access.md) for details on accessing it. You can use this for running commands when your keyboard is not working, seeing output when the display is not working, or troubleshooting early boot issues.
# Check input devices
cat /proc/bus/input/devices
# Test keyboard
evtest /dev/input/event0
# Check driver
dmesg | grep -i keyboard
See Common Issues for additional fixes.
Network Not Working¶
Symptoms: Cannot connect to a network
Quick checks:
See Network Issues for solutions.
Out of Space¶
Symptoms: "No space left on device" errors
Quick checks:
# Check disk usage
df -h
# Find large files
du -h /home | sort -h | tail -20
# Clean package cache
opkg clean
Note: Filesystem expansion is handled automatically by the pre-init script. No manual intervention is required for SD card expansion.
System Running Slow¶
Possible causes:
- Insufficient RAM
- Slow SD card
- Too many services running
- Swap thrashing
Quick checks:
# Check memory
free -h
# Check swap
swapon --show
# Check running processes
htop # or top
# Disable unnecessary services
systemctl list-unit-files --state=enabled
systemctl disable <service-name>
Error Messages¶
Common Error Messages and Solutions¶
| Error Message | Cause | Solution |
|---|---|---|
| "Kernel panic - not syncing" | Corrupt kernel or bad device tree | Reflash SD card, verify image |
| "No space left on device" | Disk full | Clean cache, remove large files |
| "Out of memory" | RAM exhausted | Close apps, disable services, reduce memory use |
| "Cannot allocate memory" | Memory fragmentation | Reboot, reduce memory usage |
| "Unable to mount root fs" | Bad SD card or partition | Check SD card, reflash |
| "Timeout waiting for device" | Hardware not detected | Check connections, verify device tree |
Getting More Help¶
If you can’t find a solution here:
Information to Include¶
When asking for help, provide:
- Hardware: Luckfox Lyra version (RAM, NAND), SD card brand/size
- Software: Calculinux version/image variant
- Error messages: Exact text of errors
- What you tried: Steps you’ve already taken
- Logs: Relevant portions of
dmesgorjournalctl
Where to Ask¶
- Documentation: Check specific troubleshooting pages
- Discord Community: Join our Discord
- Forum: ClockworkPi Forum Thread
- GitHub: Issue Tracker
- Community: Links in Resources
Still Stuck?¶
Debug Mode Boot¶
Boot with more verbose output:
Serial Console¶
Connect via serial for full boot output:
Safe Mode¶
Boot to minimal system:
This boots to single-user mode for recovery.