hald and clicking floppy drive
I just finished a fresh install of slackware 12.1 on a new system, everything seems to have gone smoothly, except that the floppy drive clicks every few seconds.
syslog says: "kernel: end_request: I/O error, dev fd0, sector 0 last message repeated 16 times" Short-term way to fix this is I go and run `/etc/rc.d/rc.hald stop`, but I don't think this a great long-term solution. I don't know much about HAL configs, and this is the first time I've seen this problem. Any tips? |
Is unpluging/disabling the floppy drive an option?
I can't see the use for such an outdated piece of hardware being of much use these days honestly aside from slowing bootup time. |
Disabling it in the bios is another option.
Or do you still actually use your floppy drive? I think I haven't used mine for years, now that everyone has pendrives and CD/DVD media are so cheap... |
Same thing happened to me on my last Slack install. Couldn't be bothered to figure out what was going on so I unplugged it.... ;) It's been over 3 years since I used it anyway.
|
Powertop had suggested that I do
/usr/bin/hal-disable-polling --device /dev/hda to stop hald from polling my CDROM device. Maybe you can try this with your floppy too (using the appropriate drive letter of course). Putting it in rc.local should to do it at every boot. |
yea, that's a good idea. It should write an /etc/hal/fdi file or something like that so it stays global...
|
I tried
`/usr/bin/hal-disable-polling --device /dev/fd0` And I get back 'Polling is already disabled on the given drive.' I looked at the fdi files in /usr/share/hal/fdi/ and didn't find many references to my floppy drive. Actually, here's the only reference I found: in /usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi Code:
<!-- this is to be able to mount media in drives we cannot poll, e.g. IDE Zip Drives and PC style floppy drives --> The line <match key="storage.media_check_enabled" bool="false"> is consistent with something I saw here: http://fossplanet.com/freedesktop.ha...loppy-support/ ...but when I actually try to query that property, I get no result: #hal-get-property --udi /org/freedesktop/Hal/devices/platform_floppy_0 --key storage.media_check_enabled error: libhal_device_get_property_type: org.freedesktop.Hal.NoSuchProperty: No property storage.media_check_enabled on device with id /org/freedesktop/Hal/devices/platform_floppy_0 |
Sorry I don't know much enough about HAL to say what to do next. The first line in your quote says floppies are not polled, but you say killing hald stops the clicks, right?
|
Ummm so I upgraded udev to the version in -current last night, and now it works fine. Weird. :scratch: ...but at least it works now. :rolleyes:
|
All times are GMT -5. The time now is 07:37 PM. |