/sys/block/sda/queue/protect does not exist

Bug #156474 reported by Sandra Dismar
22
Affects Status Importance Assigned to Milestone
Ubuntu
New
Undecided
Unassigned
Nominated for Intrepid by zdenek.zikan

Bug Description

Hi,
after installing hdapsd and hdapsd-utils (and of course loading the hdapsd-module via `modprobe hdaps'), it's not possible to start the hdaps-Daemon.

The following error-msg ist given:
 * Not starting hdapsd: /sys/block/sda/queue/protect does not exist

dmesg-output:
[ 7711.712000] hdaps: IBM ThinkPad R52 detected.
[ 7711.712000] hdaps: initial latch check good (0x01).
[ 7712.532000] hdaps: device successfully initialized.
[ 7712.532000] input: hdaps as /class/input/input12
[ 7712.532000] hdaps: driver successfully loaded.

/etc/default/hdapsd -DISK is set correctly, I'm using SATA on my system. So, there should be a bug somewhere within the kernel-module or with the hdapsd, I guess.

Regards, owl

Revision history for this message
cofeineSunshine (cofeinesunshine) wrote :

same problem here.

[18412.980000] hdaps: IBM ThinkPad T41 detected.
[18412.980000] hdaps: initial latch check good (0x01).
[18415.056000] hdaps: device successfully initialized.
[18415.076000] input: hdaps as /class/input/input8
[18415.080000] hdaps: driver successfully loaded.

kernel version: 2.6.22-14-generic

#cat /sys/block/sda/queue/protect
cat: /sys/block/sda/queue/protect: No such file or directory

Revision history for this message
Mike Dalessio (mike-csa) wrote :

same problem.

[11610.139875] hdaps: IBM ThinkPad Z60m detected.
[11610.139964] hdaps: initial latch check good (0x01).
[11611.755687] hdaps: device successfully initialized.
[11611.756180] input: hdaps as /devices/platform/hdaps/input/input26
[11611.783323] hdaps: driver successfully loaded.

note that the hdaps-utils work correctly. only hdapsd appears to suffer from this issue.

Revision history for this message
Dawid Szymański (dawszy) wrote :

Exactly the same here.

[ 277.988178] hdaps: inverting axis readings.
[ 277.988181] hdaps: LENOVO ThinkPad T61 detected.
[ 277.988798] input: hdaps as /devices/platform/hdaps/input/input12
[ 278.023079] hdaps: driver successfully loaded.

# /etc/init.d/hdapsd start
 * Not starting hdapsd: /sys/block/sda/queue/protect does not exist

# uname -a
Linux sq6emm-laptop 2.6.24-19-generic #1 SMP Wed Jun 18 14:43:41 UTC 2008 i686 GNU/Linux

# egrep -v '^#|^$' /etc/default/hdapsd
START="yes"
DISK="sda"
SENSITIVITY=15
OPTIONS=""

# dpkg -l hdapsd | grep ^ii
ii hdapsd 1:0.0.20070803-1 HDAPS daemon for IBM/Lenovo ThinkPads

And also hdaps-utils work correctly. Help please;)

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.