Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message

[SOLVED] "hdaps" fails to load on Linux, Help needed!

Edge / E-Series
Post Reply
Message
Author
letian
Posts: 8
Joined: Wed Sep 29, 2010 4:39 am
Location: Belarus, Minsk

[SOLVED] "hdaps" fails to load on Linux, Help needed!

#1 Post by letian » Tue Jun 21, 2011 6:34 am

After installing and configuring hdaps I was able to run it once, after rebooting and trying to run it, hdapsd failed to load.

added to rc.conf:

Code: Select all

MODULES=(thinkpad_acpi thinkpad_ec acpi-cpufreq)
DAEMONS=(hal hdapsd @network @alsa)
the messages I get:

Code: Select all

Tue Jun 21 10:53:13 2011: Starting hdapsd
Tue Jun 21 10:53:13 2011: WARNING: You did not supply any devices to protect, trying autodetection.
Tue Jun 21 10:53:13 2011: Adding autodetected device: sda
Tue Jun 21 10:53:13 2011: Could not find a suitable interface
or

Code: Select all

sudo /etc/rc.d/hdapsd start
:: Starting hdapsd        [FAIL] 
kernel dmesg tail:

Code: Select all

[  226.531600] thinkpad_ec: thinkpad_ec_read_row: failed requesting row: (0x01:0x00)->0xfffffff0
[  226.531605] thinkpad_ec: initial ec test failed
Any ideas?
distribution: Linux archbang 2.6.39-ARCH
Last edited by letian on Fri Jul 29, 2011 3:43 am, edited 1 time in total.

ozzymud
Senior Member
Senior Member
Posts: 590
Joined: Sun Apr 03, 2011 3:38 pm
Location: Klamath Falls, OR

Re: "hdaps" fails to load on Linux, Help needed!

#2 Post by ozzymud » Tue Jun 21, 2011 1:58 pm

is tp_smapi loaded?

Code: Select all

# lsmod|grep tp_smapi
if not...

Code: Select all

# rmmod hdaps
# modprobe tp_smapi
# modprobe hdaps
(2)701C,(1)760EL,(6)760XL,(1)760XD
(4)CD Drives (5)int floppies (3)ext floppy (4)2.1GB
(10)CF/IDE w/2 or 4GB 133x CF (1)760XL restore CD
(1)Belkin USB 2.0 32bit Cardbus (2)WPC54G(S) Wifi Cardbus
(1)Belkin F5D5020 NIC (1)Giga-Byte GN-WLM01 Wifi
(1)Backpack CD (1) Xircom REM56G-10 + misc

letian
Posts: 8
Joined: Wed Sep 29, 2010 4:39 am
Location: Belarus, Minsk

Re: "hdaps" fails to load on Linux, Help needed!

#3 Post by letian » Tue Jun 21, 2011 2:06 pm

ozzymud wrote:is tp_smapi loaded?

Code: Select all

# lsmod|grep tp_smapi
if not...

Code: Select all

# rmmod hdaps
# modprobe tp_smapi
# modprobe hdaps
rmmod hdaps

Code: Select all

ERROR: Module hdaps does not exist in /proc/modules
modprobe tp_smapi

Code: Select all

FATAL: Error inserting tp_smapi (/lib/modules/2.6.39-ARCH/extra/tp_smapi.ko.gz): No such device or address
modprobe hdaps

Code: Select all

FATAL: Error inserting hdaps (/lib/modules/2.6.39-ARCH/updates/hdaps.ko.gz): No such device or address
heh, wtf?

cat /etc/rc.conf

Code: Select all

MODULES=(snd-usb-audio tp_smapi thinkpad_acpi thinkpad_ec !snd_pcsp !pcspkr loop powernow-k8 cpufreq_ondemand cpufreq_performance cpufreq_conservative cpufreq_powersave)
DAEMONS=(dbus !hal syslog-ng hdapsd tlp !network !dhcdbd !networkmanager @alsa @wicd)

letian
Posts: 8
Joined: Wed Sep 29, 2010 4:39 am
Location: Belarus, Minsk

Re: "hdaps" fails to load on Linux, Help needed!

#4 Post by letian » Tue Jun 21, 2011 2:09 pm

Very strange indeed, the very first time I installed hdaps, I managed to run it via "/etc/rc.d/hdapsd start" successfully. But later it just do not start at all. So as tp_smapi module.

ozzymud
Senior Member
Senior Member
Posts: 590
Joined: Sun Apr 03, 2011 3:38 pm
Location: Klamath Falls, OR

Re: "hdaps" fails to load on Linux, Help needed!

#5 Post by ozzymud » Tue Jun 21, 2011 8:53 pm

Question: I see you have kernel 2.6.39... did you originally get hdaps working with THIS kernel, or did you update after (like in the last 18 days)?

looking at history, the kernel has quite often broke hdaps/tp_smapi... most often in ARCH btw
(2)701C,(1)760EL,(6)760XL,(1)760XD
(4)CD Drives (5)int floppies (3)ext floppy (4)2.1GB
(10)CF/IDE w/2 or 4GB 133x CF (1)760XL restore CD
(1)Belkin USB 2.0 32bit Cardbus (2)WPC54G(S) Wifi Cardbus
(1)Belkin F5D5020 NIC (1)Giga-Byte GN-WLM01 Wifi
(1)Backpack CD (1) Xircom REM56G-10 + misc

letian
Posts: 8
Joined: Wed Sep 29, 2010 4:39 am
Location: Belarus, Minsk

Re: "hdaps" fails to load on Linux, Help needed!

#6 Post by letian » Tue Jun 21, 2011 11:49 pm

ozzymud wrote:Question: I see you have kernel 2.6.39... did you originally get hdaps working with THIS kernel, or did you update after (like in the last 18 days)?

looking at history, the kernel has quite often broke hdaps/tp_smapi... most often in ARCH btw
Well, I also was thinking about that. Yes I updated the system twice, last time there were no kernel updates, just some deps and apps. Very probably it got broken after the first update, but I am not so sure about that too.
I remember this kind of posts recently on ubuntu forums, where ppl just could not make hdaps work, and didn't get any decent workaround of this issue. And there is a fresh post on thinkwiki about hdaps failure(the very same as I'm experiencing) on thinkpad EDGE.

ozzymud
Senior Member
Senior Member
Posts: 590
Joined: Sun Apr 03, 2011 3:38 pm
Location: Klamath Falls, OR

Re: "hdaps" fails to load on Linux, Help needed!

#7 Post by ozzymud » Wed Jun 22, 2011 12:55 pm

Yea, I would 1st definately try downgrading the kernel if you had no good reason to update it in the 1st place... try to get back to the one you were at before when hdaps worked the one time.
(2)701C,(1)760EL,(6)760XL,(1)760XD
(4)CD Drives (5)int floppies (3)ext floppy (4)2.1GB
(10)CF/IDE w/2 or 4GB 133x CF (1)760XL restore CD
(1)Belkin USB 2.0 32bit Cardbus (2)WPC54G(S) Wifi Cardbus
(1)Belkin F5D5020 NIC (1)Giga-Byte GN-WLM01 Wifi
(1)Backpack CD (1) Xircom REM56G-10 + misc

letian
Posts: 8
Joined: Wed Sep 29, 2010 4:39 am
Location: Belarus, Minsk

Re: "hdaps" fails to load on Linux, Help needed!

#8 Post by letian » Wed Jun 22, 2011 1:00 pm

ozzymud wrote:Yea, I would 1st definately try downgrading the kernel if you had no good reason to update it in the 1st place... try to get back to the one you were at before when hdaps worked the one time.
downgrading the kernel on arch really is not a good way-out, but it seems to me that, we just have to wait for an update. Anyway thanks to everyone, who tried to help

ozzymud
Senior Member
Senior Member
Posts: 590
Joined: Sun Apr 03, 2011 3:38 pm
Location: Klamath Falls, OR

Re: "hdaps" fails to load on Linux, Help needed!

#9 Post by ozzymud » Wed Jun 22, 2011 1:14 pm

Hrm.. Don't ARCH keep older kernels in the Grub list for a while? I don't have a clue as I mainly use Debian/Ubuntu and it's quite easy normally to boot into an older kernel.

Anyhoo, good luck on hoping it will bee soon sorted by the devs :)
(be sure to update this when/if it does get sorted to help the Google'ers out :) )
(2)701C,(1)760EL,(6)760XL,(1)760XD
(4)CD Drives (5)int floppies (3)ext floppy (4)2.1GB
(10)CF/IDE w/2 or 4GB 133x CF (1)760XL restore CD
(1)Belkin USB 2.0 32bit Cardbus (2)WPC54G(S) Wifi Cardbus
(1)Belkin F5D5020 NIC (1)Giga-Byte GN-WLM01 Wifi
(1)Backpack CD (1) Xircom REM56G-10 + misc

letian
Posts: 8
Joined: Wed Sep 29, 2010 4:39 am
Location: Belarus, Minsk

Re: "hdaps" fails to load on Linux, Help needed!

#10 Post by letian » Fri Jul 29, 2011 3:43 am

ozzymud wrote:Hrm.. Don't ARCH keep older kernels in the Grub list for a while? I don't have a clue as I mainly use Debian/Ubuntu and it's quite easy normally to boot into an older kernel.

Anyhoo, good luck on hoping it will bee soon sorted by the devs :)
(be sure to update this when/if it does get sorted to help the Google'ers out :) )
the issue was fixed after hdaps update in AUR. Thank you for your attention

ozzymud
Senior Member
Senior Member
Posts: 590
Joined: Sun Apr 03, 2011 3:38 pm
Location: Klamath Falls, OR

Re: [SOLVED] "hdaps" fails to load on Linux, Help needed!

#11 Post by ozzymud » Fri Jul 29, 2011 9:48 am

Gotta love how quickly Linux devs seem to sort stuff out... better then other OS's where you just have to live with quirks forever :P
(2)701C,(1)760EL,(6)760XL,(1)760XD
(4)CD Drives (5)int floppies (3)ext floppy (4)2.1GB
(10)CF/IDE w/2 or 4GB 133x CF (1)760XL restore CD
(1)Belkin USB 2.0 32bit Cardbus (2)WPC54G(S) Wifi Cardbus
(1)Belkin F5D5020 NIC (1)Giga-Byte GN-WLM01 Wifi
(1)Backpack CD (1) Xircom REM56G-10 + misc

Harryc
Moderator Emeritus
Moderator Emeritus
Posts: 13228
Joined: Thu Apr 12, 2007 8:23 am
Location: Upstate New York

Re: [SOLVED] "hdaps" fails to load on Linux, Help needed!

#12 Post by Harryc » Fri Jul 29, 2011 9:52 am

ozzymud wrote:Gotta love how quickly Linux devs seem to sort stuff out... better then other OS's where you just have to live with quirks forever :P
Seems they are often as good at breaking stuff as they are quick at fixing it though ;).

ozzymud
Senior Member
Senior Member
Posts: 590
Joined: Sun Apr 03, 2011 3:38 pm
Location: Klamath Falls, OR

Re: [SOLVED] "hdaps" fails to load on Linux, Help needed!

#13 Post by ozzymud » Fri Jul 29, 2011 9:58 am

The worst part I hate about upgrading Linux is when you wait a LONG time to do it. Just went from Mythbuntu 9.04 to 11.04 on my television... I had been customizing it for 2 years now... there were SOOOO many config files changed and SEVERAL of the newer drivers/daemons had new syntax... took like 4 hours to sort through all the changes.

One notable one was the LCDd for my USB CrystalFontz... there was a single setting that is yes/no on rebooting the LCD on init... has been NO for years... now it needs YES... all links on the net still point to NO... what a pain that was :P

I generally only upgrade when I have GOOD reason to do so. And it is prefixed/followed by LOTS of reading.
(2)701C,(1)760EL,(6)760XL,(1)760XD
(4)CD Drives (5)int floppies (3)ext floppy (4)2.1GB
(10)CF/IDE w/2 or 4GB 133x CF (1)760XL restore CD
(1)Belkin USB 2.0 32bit Cardbus (2)WPC54G(S) Wifi Cardbus
(1)Belkin F5D5020 NIC (1)Giga-Byte GN-WLM01 Wifi
(1)Backpack CD (1) Xircom REM56G-10 + misc

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “ThinkPad Edge / E-series”

Who is online

Users browsing this forum: No registered users and 21 guests