hald-addon-storage locks up system

Bug #85695 reported by miaviator278
12
Affects Status Importance Assigned to Milestone
hal (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: libhal-storage0

This is a hald bug not an ubuntu bug, but i didn't know where to go for it.

Generally whenever my system goes idle for a period of time i see my cpu graph go 100% to normal it locks up at 100% for about 5 seconds then releases for one second. I narrowed the problem down to hald-addon-storage, i can spend some time opening a terminal and sudo killall hald-addon-storage and my system resumes normal operation.

I tried making a cron minutely command to do this but it does not seem to execute when my system is locked up, only when it's not :(

My system log contains

Feb 16 21:06:03 mobile kernel: hda: drive not ready for command
Feb 16 21:06:03 mobile kernel: hda: status timeout: status=0xd0 { Busy }
Feb 16 21:06:03 mobile kernel: ide: failed opcode was: unknown
Feb 16 21:06:03 mobile kernel: hda: drive not ready for command
Feb 16 21:06:03 mobile kernel: hda: status timeout: status=0xd0 { Busy }
Feb 16 21:06:03 mobile kernel: ide: failed opcode was: unknown
Feb 16 21:06:03 mobile kernel: hda: drive not ready for command

there is a kernel option with a very similar bug listed however it doesn't matter wether that option is enabled or disabled i get the same result.

since the program never crashes and has to be killed to restore system operation i am not sure how to get any further with this problem, and removing hald completely doesn't seem like a good idea.

sudo apt-get remove hald*
0 upgraded, 0 newly installed, 127 to remove and 0 not upgraded.

thats not going to work out so well.

I also could not find a debugging package for hal.

ProblemType: Bug
Date: Fri Feb 16 21:06:29 2007
DistroRelease: Ubuntu 7.04
Uname: Linux mobile 2.6.20-g86a71dbd-dirty #5 Thu Feb 15 14:49:13 EST 2007 i686 GNU/Linux

Revision history for this message
pawelsto (pawelsto) wrote :

Hi

I've got the same problem with device hdc (dvd drive).
Going to terminal ( input can be done about every 5 second .. ) and killing hald-addon-storage restore system.

Revision history for this message
miaviator278 (stormesi) wrote : Re: [Bug 85695] Re: hald-addon-storage locks up system

yes the command
sudo killall hald-addon-storage at a terminal restores the system if you
have time to open a terminal and type the command. It does not work as
a cron script. I set that command to run every minute to no avail. And
it also does not solve the problem.

On Mon, 2007-03-19 at 20:42 +0000, pawelsto wrote:
> Hi
>
> I've got the same problem with device hdc (dvd drive).
> Going to terminal ( input can be done about every 5 second .. ) and killing hald-addon-storage restore system.
>

Revision history for this message
Martin Smith (martin-maniacmartin) wrote :

I also get this problem on a HP nx6325 laptop with:
hda (DVD-RW drive)
kubuntu edgy and kubuntu feisty beta

Revision history for this message
miaviator278 (stormesi) wrote :

appearently no one really cares about this, what is the brand and model
of your dvd drive?

TSSTcorpCD/DVDW TS-L632D

On Sun, 2007-04-15 at 19:49 +0000, Martin Smith wrote:
> I also get this problem on a HP nx6325 laptop with:
> hda (DVD-RW drive)
> kubuntu edgy and kubuntu feisty beta
>

Revision history for this message
Nino Chavez (abelino-chavez) wrote :

I'm also seeing this error on an HP dv9000 with a TSSTcorpCD/DVDW TS-L632D, ATAPI CD/DVD-ROM drive

Revision history for this message
miaviator278 (stormesi) wrote :

So we have a confirmed bug in hald-addon-storage with the TSS CORP DVD
RW drives generally shipped in HP laptops. Who wrote hal? maybee they
would be interested.

On Mon, 2007-04-23 at 20:32 +0000, Nino Chavez wrote:
> TSSTcorpCD/DVDW

Revision history for this message
Laurent (laurent-goujon) wrote :

It is probably a duplicate for bug #75925. hal might not be the cause of the problem, only a way to exhibit it

Revision history for this message
miaviator278 (stormesi) wrote :

bug 75925 is completely unrelated to this. did you mean a different bug # ???

Revision history for this message
miaviator278 (stormesi) wrote :

Why does this site exist??

Revision history for this message
miaviator278 (stormesi) wrote :

 Laurent Meant (I think)
 Bug #72953, first reported on 2006-11-23 by suckea
TSSTcorpCD/DVDW TS-L532M issues on Ubuntu 6.10

which is a bug for this DVD with hal in edgy. This is not duplicate bug since it is in fiesty.

Also links to ubuntu forum http://ubuntuforums.org/showthread.php?p=942785

Bug description [edit]

I have a TSSTcorpCD/DVDW TS-L532M drive and I I see this message repeated over and over again in the kernel logs:

Nov 22 16:24:11 localhost kernel: [17182283.008000] hdb: error code: 0x70 sense_key: 0x02 asc: 0x30 ascq: 0x00
Nov 22 16:24:11 localhost kernel: [17182283.020000] hdb: error code: 0x70 sense_key: 0x02 asc: 0x30 ascq: 0x00
Nov 22 16:24:12 localhost kernel: [17182283.728000] hdb: error code: 0x70 sense_key: 0x02 asc: 0x30 ascq: 0x00

I also have found a workaround but repeating the fix everytime hal updates its annoying..

http://www.ubuntuforums.org/showthread.php?p=942785

$ uname -a
Linux 2.6.15-27-386 #1 PREEMPT Sat Sep 16 01:51:59 UTC 2006 i686 GNU/Linux
 Carthik Sharma said on 2006-12-12: (permalink)

Seems to be a hal bug. Please correct me if it is not.

Thank you.
 Stefano Giunchi said on 2007-04-23: (permalink)

I have the same problem on 6.06, and it was present on 5.10 too.

Applied the same patch, and have to for every hal update.

$ uname -a
Linux nbstefano 2.6.15-28-686 #1 SMP PREEMPT Tue Mar 13 20:55:53 UTC 2007 i686 GNU/Linux

As 6.06 is LTS, I wouldn't like to update to Feisty or newer.

Thank you.

Revision history for this message
miaviator278 (stormesi) wrote :

The aformentioned fix does not work in my hal on fiesty.

And why does this site exist.

Revision history for this message
Laurent (laurent-goujon) wrote :

Sorry, I meant bug #75295 (and I checked the bug twice) which is kernel bug. The aformentioned fix is only a quick workaround to prevent hald-addon-storage eating up all CPU but IMHO it doesn't solve the problem.

Revision history for this message
beniwtv (beniwtv-deactivatedaccount) wrote :

I also can confirm this bug.

I have an HP Pavilion dv6106eu with a TSSTcorpCD/DVDW TS-L632D.

Killing hald-addon-storage: polling /dev/hda brings the system back to normal working speed.

This is really annoying.

From what I've seen on the internet, these drives do incorrectly report "Incompatible medium installed" instead of "No medium installed".

But in any cases, please find a fix. Windows can deal just fine with the drive.

Also, doing a hdparm -w /dev/hda seems to work for some people...

Revision history for this message
l7or (l7or) wrote :

I've got exactly the same problem with a TSSTcorpCD/DVDW SN-S082D using Gentoo (hal-version 0.5.7.1-r3, linux-2.6.20.4 and linux-2.6.21.1)...
Although there don't seem to be too many users with such a Samsung-drive, the bug is really extremely annoying for those who are concerned and I think that someone who knows the problem's exact cause should try to report it to the responsible project which doesn't seem to be ubuntu as I have the same problem using Gentoo.

Revision history for this message
l7or (l7or) wrote :

Isn't this a duplicate bug of Bug #75295 (which also hasn't been solved yet)?
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/75295

Revision history for this message
JB (ubuntu-j-bg) wrote :

Same problem here. Acer 9300 laptop, loads of errors about hdc ( TSSTcorpCD/DVDW TS-L632D, ATAPI CD/DVD-ROM drive )

May 22 21:54:50 john-laptop kernel: [13264.884000] ide: failed opcode was: unknown
May 22 21:54:50 john-laptop kernel: [13264.884000] hdc: drive not ready for command
May 22 21:54:55 john-laptop kernel: [13269.908000] hdc: status timeout: status=0xd0 { Busy }
May 22 21:54:55 john-laptop kernel: [13269.908000] ide: failed opcode was: unknown
May 22 21:54:55 john-laptop kernel: [13269.908000] hdc: drive not ready for command
May 22 21:55:00 john-laptop kernel: [13274.952000] hdc: status timeout: status=0xd0 { Busy }
May 22 21:55:00 john-laptop kernel: [13274.952000] ide: failed opcode was: unknown
May 22 21:55:00 john-laptop kernel: [13274.952000] hdc: drive not ready for command

Revision history for this message
franz_70 (franz-70) wrote :

Same thing on my hp pavilion dv6146eu, feisty AMD-64 and TSSTcorpCD/DVDW TS-L632D. I'm quite new to linux so nothing more to say, as usual killing hald-add-storage or the whole hald using /etc/dbus-1/event.d/20hal stop resumes the system. I goggled a lot but still haven't found solution for this, please help !!!

Revision history for this message
digitalbenji (go-digitalbenji) wrote :

I can confirm this bug as well for my system76 darter.

Revision history for this message
franz_70 (franz-70) wrote :

I think I worked out the problem, upgrading the firmware of my DVD. For my hp I used this link: http://www.toshibaer.com/firmware/index.php?path=TS-L632D/ then selected TS-L632D_HH15_HP_OEM.zip. Hope this will help you, too.

Revision history for this message
williamts99 (williamts99) wrote :

Same problem as https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/75295

Compaq Evo-N1020v with TSSTcorpCD/DVDW SN-S082D

Had firmware SS02, which always froze with:
laptop kernel: [16427.604000] hdc: status timeout: status=0xd0 { Busy }
laptop kernel: [16427.604000] ide: failed opcode was: unknown

Over and over again. sudo killall hald-addon-stor fixed it temporarily

Upgraded firmware(had to use windows) to SS03 and I haven't had the problem again(so far).

Revision history for this message
Андрей Калинин (prize2step) wrote :

I have the same problem with my laptop Asus F3T and drive TSSTcorpCD/DVDW TS-L632D.

Revision history for this message
Stepan Martiyanov (symsym) wrote :

I have th same problem on my laptop ASUS A8Jc.

Revision history for this message
maxim.b.k (maxim-b-k) wrote :

Comfirm the bug with TSSTcorp CD/DVDW TS-L632D, firmware AS05 (by lshw). The problem is sure not with hal - I do not use it at all, but with the drive itself.

Does anyone know, is there a way to update the firmware without installing Window$?

Revision history for this message
Gareth Fitzworthington (mapping-gp-deactivatedaccount) wrote :

The bug you are commenting on is a duplicate of Bug #75295

The solution you seek is here:
https://bugs.launchpad.net/linux/+bug/75295/comments/97

Note that it directs you to a firmware upgrade method using two USB sticks & FreeDOS here:
https://bugs.launchpad.net/system76/+bug/117441/comments/25
This was designed for System76 PCs but appears to work for many other systems. If not, a similar approach could be followed for any system by using bootable images direct from FreeDOS. I intend to produce a generic HOWTO for this over the coming weeks so any comments on your success or otherwise would be appreciated.
Regards,
GF.

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.