Why tuned produces "usb_autosuspend: command not found" error while changing profile with "tunedadm" tool in RHEL6?

Solution Verified - Updated -

Issue

  • While attempting to change tuned-adm profile to spindown-disk I see an error message enable_usb_autosuspend: command not found.

  • There are two subsequent error messages as well. I would expect these scripts to be quiet about things that are not important (and log them to syslog or some such):

[root@locakhost]# tuned-adm profile spindown-disk
Reverting to saved sysctl settings:                        [  OK  ]
Calling '/etc/ktune.d/tunedadm.sh stop':                   [  OK  ]
Reverting to cfq elevator: dm-0 dm-1 dm-2 dm-3 dm-4 dm-5 sd[  OK  ]c sdd sde sdf sdg sdh sdi sdj sdk sdl sdm sdn sdo sdp sdq sdr sds sdt sdu sdv sdw sdx sdy sdz 
Stopping tuned:                                            [  OK  ]
Switching to profile 'spindown-disk'
Applying ktune sysctl settings:
/etc/ktune.d/tunedadm.conf:                                [  OK  ]
Calling '/etc/ktune.d/tunedadm.sh start': /etc/ktune.d/tunedadm.sh: line 12: enable_usb_autosuspend: command not found
Can't get device info: No such device
ERROR: Module hci_usb does not exist in /proc/modules
                                                           [  OK  ]
Applying sysctl settings from /etc/sysctl.conf

Starting tuned:                                            [  OK  ]
[root@localhost]#
  • Why are these errors seen while changing profiles?

Environment

  • Red Hat Enterprise Linux (RHEL) 6.4

  • Tunedadm profile.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content