2009-06-03 21:23:10

by Kok, Auke

[permalink] [raw]
Subject: BUG: writing '0' to queue/rotational causes system hang


I stumbled into the following bug on an Acer Aspire 1 running moblin2-beta: The
drive misidentifies itself as being 'rotational' even though it's an SSD drive.
drive/model = "SSDPAMM0008G1EA" - the standard 8gb SSD provided with Acer Aspire
one models.

Tuning 'rotational' to '0' at boot time causes the system to hard lock up. We're
attempting to do this tuning early in the boot phase in order to get the right
queueing and possibly improve startup time, so there is a lot of IO going on at
the moment.

Not sure what the real cause it so far. Test case is a simple "echo 0 >
/sys/block/sda/queue/rotational". Doing this at idle time has no effect, so I
suspect a race with the IO scheduler.


Cheers,

Auke


2009-06-03 22:52:25

by Kok, Auke

[permalink] [raw]
Subject: Re: BUG: writing '0' to queue/rotational causes system hang

Kok, Auke wrote:
> I stumbled into the following bug on an Acer Aspire 1 running moblin2-beta: The
> drive misidentifies itself as being 'rotational' even though it's an SSD drive.
> drive/model = "SSDPAMM0008G1EA" - the standard 8gb SSD provided with Acer Aspire
> one models.
>
> Tuning 'rotational' to '0' at boot time causes the system to hard lock up. We're
> attempting to do this tuning early in the boot phase in order to get the right
> queueing and possibly improve startup time, so there is a lot of IO going on at
> the moment.
>
> Not sure what the real cause it so far. Test case is a simple "echo 0 >
> /sys/block/sda/queue/rotational". Doing this at idle time has no effect, so I
> suspect a race with the IO scheduler.

PEBKAC, pls ignore :)

Auke