Syntax error in lrm-manager: /sbin/lrm-manager: line 51: syntax error near unexpected token `)'

Bug #246411 reported by Javier Noval
4
Affects Status Importance Assigned to Milestone
linux-restricted-modules (Ubuntu)
Fix Released
Undecided
Ben Collins

Bug Description

Binary package hint: linux-restricted-modules-common

I found that the modules for my Atheros card were not available when I upgrade my linux-image-generic to 2.6.26-3 (and its corresponding restricted-modules package). The modules where in the latter, but they where not being made available. I was able to trace the bug to lrm-manager, which produces the following error:

$ sudo lrm-manager --kver=2.6.26-3-generic
/sbin/lrm-manager: 51: Syntax error: ")" unexpected (expecting ";;")

The offending lines are:

49 case "$1" in
50 ath_hal)
51 madwifi)
52 set -- $@ ath_hal ath_pci ath_rate_amrr ath_rate_minstrel \

I changed it to the following, after reading dash's manual page, and is now working:

49 case "$1" in
50 ath_hal|madwifi)
51 set -- $@ ath_hal ath_pci ath_rate_amrr ath_rate_minstrel \

-----

About my system:

$ lsb_release -rd
Description: Ubuntu intrepid (development branch)
Release: 8.10

$ apt-cache policy linux-restricted-modules-common
linux-restricted-modules-common:
  Installed: 2.6.26-3.6
  Candidate: 2.6.26-3.6
  Version table:
 *** 2.6.26-3.6 0
        500 http://be.archive.ubuntu.com intrepid/restricted Packages
        100 /var/lib/dpkg/status

Revision history for this message
i3dmaster (i3dmaster-gmail) wrote :

I got it too.

Revision history for this message
Eric Butler (codebutler) wrote :

Confirmed. Javier thanks very much for the workaround.

Changed in linux-restricted-modules:
status: New → Confirmed
Revision history for this message
Ben Collins (ben-collins) wrote :

Was fixed quite some time ago.

Changed in linux-restricted-modules:
assignee: nobody → ben-collins
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.