Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231671 - sys-apps/hal error in syslog for removable media addon
Summary: sys-apps/hal error in syslog for removable media addon
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-13 10:31 UTC by BedOS_Gui
Modified: 2009-02-04 19:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BedOS_Gui 2008-07-13 10:31:56 UTC
I saw this error in my syslog when hal-probe-storage is running about my removable medias :

Jul 12 09:08:54 localhost hald-probe-storage: [8935]: 09:08:54.413 [D] probe-storage.c:155: Doing probe-storage for /dev/sdd (bus usb) (drive_type disk) (udi=/org/freedesktop/Hal/devices/temp/240) (--only-check-for-fs==0)
Jul 12 09:08:54 localhost hald-probe-storage: [8935]: 09:08:54.413 [D] probe-storage.c:407: Checking for file system on /dev/sdd
Jul 12 09:08:54 localhost hald-probe-storage: [8935]: 09:08:54.413 [D] probe-storage.c:413: Doing open ("/dev/sdd", O_RDONLY)
Jul 12 09:08:54 localhost hald-probe-storage: [8935]: 09:08:54.415 [D] probe-storage.c:416: Cannot open /dev/sdd: No medium found
Jul 12 09:08:54 localhost hald[2276]: 09:08:54.422 [I] hald_dbus.c:1366: storage.removable.media_available -> False
Jul 12 09:08:54 localhost hald[2276]: 09:08:54.425 [I] blockdev.c:387: entering; exit_type=0, return_code=0
Jul 12 09:08:54 localhost hald[2276]: 09:08:54.431 [I] blockdev.c:141: Add callouts completed udi=/org/freedesktop/Hal/devices/storage_serial_Generic_USB_SM_Reader_058F312D81B_0_2
Jul 12 09:08:54 localhost hald[2276]: 09:08:54.431 [D] device_store.c:516: adding 0xfd2020 to (linux.sysfs_path,/sys/devices/pci0000:00/0000:00:13.5/usb1/1-9/1-9:1.0/host13/target13:0:0/13:0:0:2/block/sdd)
Jul 12 09:08:54 localhost hald[2276]: 09:08:54.431 [I] hald.c:108: Added device to GDL; udi=/org/freedesktop/Hal/devices/storage_serial_Generic_USB_SM_Reader_058F312D81B_0_2
Jul 12 09:08:54 localhost hald[2276]: 09:08:54.438 [I] hald_runner.c:659: running_processes 0xfffe90, num = 7
Jul 12 09:08:54 localhost hald[2276]: 09:08:54.438 [I] hald.c:120: Started addon hald-addon-storage for udi /org/freedesktop/Hal/devices/storage_serial_Generic_USB_SM_Reader_058F312D81B_0_2
Jul 12 09:08:54 localhost hald[2276]: 09:08:54.464 [D] hald_dbus.c:3294: udi=/org/freedesktop/Hal/devices/storage_serial_Generic_USB_SM_Reader_058F312D81B_0_2
Jul 12 09:08:54 localhost hald[2276]: 09:08:54.464 [I] hald_dbus.c:3320: AddonIsReady on udi '/org/freedesktop/Hal/devices/storage_serial_Generic_USB_SM_Reader_058F312D81B_0_2'
Jul 12 09:08:54 localhost hald[2276]: 09:08:54.466 [D] hald_dbus.c:3294: udi=/org/freedesktop/Hal/devices/storage_serial_Generic_USB_SM_Reader_058F312D81B_0_2
---
Jul 12 09:08:54 localhost hald[2276]: 09:08:54.466 [E] device.c:1705: In hal_device_inc_num_ready_addons for udi=/org/freedesktop/Hal/devices/storage_serial_Generic_USB_SM_Reader_058F312D81B_0_2 but all addons are already ready!
---
Jul 12 09:08:54 localhost hald[2276]: 09:08:54.466 [I] hald_dbus.c:3320: AddonIsReady on udi '/org/freedesktop/Hal/devices/storage_serial_Generic_USB_SM_Reader_058F312D81B_0_2'
Jul 12 09:08:54 localhost hald-addon-storage: [8936]: 09:08:54.467 [D] addon-storage.c:748: **************************************************
Jul 12 09:08:54 localhost hald-addon-storage: [8936]: 09:08:54.468 [D] addon-storage.c:749: Doing addon-storage for /dev/sdd (bus usb) (drive_type smart_media) (udi /org/freedesktop/Hal/devices/storage_serial_Generic_USB_SM_Reader_058F312D81B_0_2)
Jul 12 09:08:54 localhost hald-addon-storage: [8936]: 09:08:54.468 [D] addon-storage.c:750: **************************************************

Reproducible: Always
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2008-07-14 13:29:04 UTC
I don't really see an error. I see the addon trying to open the device to see if there's media. There's no media so it continues on..
Comment 2 BedOS_Gui 2008-07-14 13:55:25 UTC
(In reply to comment #1)
> I don't really see an error. I see the addon trying to open the device to see
> if there's media. There's no media so it continues on..
> 
Isn't it an error ?

---
Jul 12 09:08:54 localhost hald[2276]: 09:08:54.466 [E] device.c:1705: In
hal_device_inc_num_ready_addons for
udi=/org/freedesktop/Hal/devices/storage_serial_Generic_USB_SM_Reader_058F312D81B_0_2
but all addons are already ready!
---
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2008-07-14 14:07:40 UTC
No. Your device caused a system call to block for a while. And HAL didn't get a response from an addon so it assumed after a bit that the addon had gone away and tried to start up another addon. Then the blocked addon came back to life and so it realized that there were 2 addons for a device so it got rid of one.
Comment 4 BedOS_Gui 2008-07-14 14:12:30 UTC
(In reply to comment #3)
> No. Your device caused a system call to block for a while. And HAL didn't get a
> response from an addon so it assumed after a bit that the addon had gone away
> and tried to start up another addon. Then the blocked addon came back to life
> and so it realized that there were 2 addons for a device so it got rid of one.
> 
Ok thanks for your explanation Doug, sorry for the uneeded noise.
You can close the report as invalid.
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2008-07-14 14:21:13 UTC
No problem. I had to look into it myself. Does this constantly flood syslog or does it only happen once in your logs?
Comment 6 BedOS_Gui 2008-07-14 14:32:05 UTC
(In reply to comment #5)
> No problem. I had to look into it myself. Does this constantly flood syslog or
> does it only happen once in your logs?
> 
The log appears once (at boot) for each usb mass storage I have on my box (flash card reader, MMC/SD card reader, smart-media reader, stick-memroy reader).
Comment 7 BedOS_Gui 2008-07-14 14:45:10 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > No problem. I had to look into it myself. Does this constantly flood syslog or
> > does it only happen once in your logs?
> > 
> The log appears once (at boot) for each usb mass storage I have on my box
> (flash card reader, MMC/SD card reader, smart-media reader, stick-memroy
> reader).
> 
It happens about my CD/DVD RW too.
Comment 8 Tony Vroon (RETIRED) gentoo-dev 2009-02-04 19:39:07 UTC
This is not a bug. HAL probes storage devices to see if there is media (be it cards or CDs/DVDs) in there that it could (or should, depending on policy) mount.