laptop-mode-tools returns SG_IO: bad/missing sense data, sb[] upon restart

Bug #1101772 reported by Greg Pitta on 2013-01-19
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Laptop Mode Tools
Undecided
Unassigned

Bug Description

with 1.61-1ubuntu1

wood@wood-Laptop:~$ sudo /etc/init.d/laptop-mode restart
 * Disabling laptop mode... SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
                                                                                                                                                [ OK ]
 * Enabling laptop mode... SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
                                                                                                                                                [ OK ]

updating to 1.62
from https://launchpad.net/laptop-mode-tools/+announcement/10793
gives:

wood@wood-Laptop:~$ sudo /etc/init.d/laptop-mode restart
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 * Warning: Configuration file /etc/laptop-mode/conf.d/board-specific/* is not readable, skipping.
Laptop mode
disabled, not active
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 * Warning: Configuration file /etc/laptop-mode/conf.d/board-specific/* is not readable, skipping.
Laptop mode
enabled, not active

downgrading to 1.60-1ubuntu1 solves de issue.

Are those erros a thing to be concerned?

Download full text (5.3 KiB)

Are you on an SSD device?

On Sat, Jan 19, 2013 at 5:16 PM, Greg Pitta <email address hidden> wrote:
> Public bug reported:
>
> with 1.61-1ubuntu1
>
> wood@wood-Laptop:~$ sudo /etc/init.d/laptop-mode restart
> * Disabling laptop mode... SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> [ OK ]
> * Enabling laptop mode... SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> [ OK ]
>
> updating to 1.62
> from https://launchpad.net/laptop-mode-tools/+announcement/10793
> gives:
>
> wood@wood-Laptop:~$ sudo /etc/init.d/laptop-mode restart
> SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> * Warning: Configuration file /etc/laptop-mode/conf.d/board-specific/* is not readable, skipping.
> Laptop mode
> disabled, not active
> SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> * Warning: Configuration file /etc/laptop-mode/conf.d/board-specific/* is not readable, skipping.
> Laptop mode
> enabled, not active
>
> downgrading to 1.60-1ubuntu1 solves de issue.
>
> Are those erros a thing to be concerned?
>
> ** Affects: laptop-mode-tools
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to Laptop
> Mode Tools.
> https://bugs.launchpad.net/bugs/1101772
>
> Title:
> laptop-mode-tools returns SG_IO: bad/missing sense data, sb[] upon
> restart
>
> Status in Laptop Mode Tools:
> New
>
> Bug description:
> with 1.61-1ubuntu1
>
> wood@wood-Laptop:~$ sudo /etc/init.d/laptop-mode restart
> * Disabling laptop mode... SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> SG_I...

Read more...

Greg Pitta (gregpitta19) wrote :

I'm using a hybrid drive. A Seagate Momentus XT 500GB.

If it is of any help..

What is a hybrid drive
On Jan 21, 2013 10:00 PM, "Greg Pitta" <email address hidden> wrote:

> I'm using a hybrid drive. A Seagate Momentus XT 500GB.
>
> If it is of any help..
>
> --
> You received this bug notification because you are subscribed to Laptop
> Mode Tools.
> https://bugs.launchpad.net/bugs/1101772
>
> Title:
> laptop-mode-tools returns SG_IO: bad/missing sense data, sb[] upon
> restart
>
> Status in Laptop Mode Tools:
> New
>
> Bug description:
> with 1.61-1ubuntu1
>
> wood@wood-Laptop:~$ sudo /etc/init.d/laptop-mode restart
> * Disabling laptop mode...
>
> SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00
> 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00
> 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>
> [
> OK ]
> * Enabling laptop mode...
>
> SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00
> 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00
> 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>
> [
> OK ]
>
> updating to 1.62
> from https://launchpad.net/laptop-mode-tools/+announcement/10793
> gives:
>
> wood@wood-Laptop:~$ sudo /etc/init.d/laptop-mode restart
> SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00
> 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00
> 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> * Warning: Configuration file /etc/laptop-mode/conf.d/board-specific/*
> is not readable, skipping.
> Laptop mode
> disabled, not active
> SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00
> 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00
> 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> * Warning: Configuration file /etc/laptop-mode/conf.d/board-specific/*
> is not readable, skipping.
> Laptop mode
> enabled, not active
>
> downgrading to 1.60-1ubuntu1 solves de issue.
>
> Are those erros a thing to be concerned?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/laptop-mode-tools/+bug/1101772/+subscriptions
>

Greg Pitta (gregpitta19) wrote :

It's a HDD that caches data on a slmaller SSD. So it's almost as fast as an SDD but can be of the size (and price) of a conventional HDD.

http://en.wikipedia.org/wiki/Hybrid_drive

Ritesh Raj Sarraf (rrs) wrote :
Download full text (3.4 KiB)

To me it looks the same issue I am seeing on my SSD device. Given that
it is an SSD device, I disable the following in my
/etc/laptop-mode/laptop-mode.conf file.

CONTROL_HD_WRITECACHE=0
CONTROL_HD_POWERMGMT=0
CONTROL_HD_IDLE_TIMEOUT=0
CONTROL_READAHEAD=0

Please reply back to this bug report if these settings fix your problem.

On Mon, Jan 21, 2013 at 10:34 PM, Greg Pitta <email address hidden> wrote:
> It's a HDD that caches data on a slmaller SSD. So it's almost as fast as
> an SDD but can be of the size (and price) of a conventional HDD.
>
> http://en.wikipedia.org/wiki/Hybrid_drive
>
> --
> You received this bug notification because you are subscribed to Laptop
> Mode Tools.
> https://bugs.launchpad.net/bugs/1101772
>
> Title:
> laptop-mode-tools returns SG_IO: bad/missing sense data, sb[] upon
> restart
>
> Status in Laptop Mode Tools:
> New
>
> Bug description:
> with 1.61-1ubuntu1
>
> wood@wood-Laptop:~$ sudo /etc/init.d/laptop-mode restart
> * Disabling laptop mode... SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> [ OK ]
> * Enabling laptop mode... SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> [ OK ]
>
> updating to 1.62
> from https://launchpad.net/laptop-mode-tools/+announcement/10793
> gives:
>
> wood@wood-Laptop:~$ sudo /etc/init.d/laptop-mode restart
> SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> * Warning: Configuration file /etc/laptop-mode/conf.d/board-specific/* is not readable, skipping.
> Laptop mode
> disabled, not active
> SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> * Warning: Configuration file /etc/laptop-mode/conf.d/board-specific/* is not readable, skipping.
> Laptop mode
> enabled, not active
>
> downgrading to 1.60-1ubuntu1 solves de issue.
...

Read more...

Greg Pitta (gregpitta19) wrote :

I set the following:
CONTROL_HD_POWERMGMT=0 (it was "auto")
CONTROL_HD_IDLE_TIMEOUT=0 (it was 1)

and the errors stopped.

CONTROL_HD_WRITECACHE was already 0
CONTROL_READAHEAD is set to 1

Thanks!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers