Skip to main content

Why doesn't the Linux operating system on my PC boot after installing the TRACE32 USB driver file 10-lauterbach.rules? - Knowledgebase / Setup / update - Lauterbach Support

Why doesn't the Linux operating system on my PC boot after installing the TRACE32 USB driver file 10-lauterbach.rules?

If your host PC's Linux system fails to boot after installing the TRACE32 USB driver file 10-lauterbach.rules, the issue is most likely caused by incorrect file formatting—specifically, the presence of carriage return (CR) characters (^M) in the rules file. These characters can interfere with the udev system during early boot, leading to problems with device node creation and system startup.

How to check for CR characters

Run the following command in a terminal:

cat -et /etc/udev/rules.d/10-lauterbach.rule

Look for any ^M characters at the end of lines.

In some cases, the directory /dev/lauterbach/trace32/ may contain symbolic links to unrelated system devices (e.g., audio, disk, DVD). This also points to a misinterpretation of the 10-lauterbach.rules file due to incorrect formatting.

How to fix the issue

  1. Install the tofrodos package (if it’s not already installed):

    sudo apt-get install tofrodos
  2. Navigate to the directory containing the rules file:

    cd /etc/udev/rules.d/
  3. Convert the file to proper Unix (LF-only) line endings:

    sudo fromdos -d 10-lauterbach.rules

This command removes the problematic CR characters, ensuring compatibility with the Linux udev system.

After performing these steps, reboot your PC. The Linux system should now boot correctly.


Helpful Unhelpful

Add a comment

ID-0
To prove you are a human, please tell us the text you see in the CAPTCHA image