Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
hald eject my cdroms (FIXED "mea culpa" xD)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
pacho2
Developer
Developer


Joined: 04 Mar 2005
Posts: 2599
Location: Oviedo, Spain

PostPosted: Tue Oct 24, 2006 8:39 am    Post subject: hald eject my cdroms (FIXED "mea culpa" xD) Reply with quote

I don't know why, when hald daemon is started, it ejects my cdroms. If I close them, they are ejected again and I have to stop hald. :'(

Thanks a lot


Last edited by pacho2 on Tue Oct 24, 2006 11:33 am; edited 1 time in total
Back to top
View user's profile Send private message
pacho2
Developer
Developer


Joined: 04 Mar 2005
Posts: 2599
Location: Oviedo, Spain

PostPosted: Tue Oct 24, 2006 9:13 am    Post subject: Reply with quote

If I don't let hald eject my cdroms (blocking them), I get the following errors:
Code:

hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x44 { AbortedCommand LastFailedSense=0x04
}
ide: failed opcode was: unknown
ATAPI device hdc:
  Error: Hardware error -- (Sense key=0x04)
  (reserved error code) -- (asc=0x53, ascq=0x00)
  The failed "Start/Stop Unit" packet command was:
  "1b 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 "


If I run hald with --verbose option I get the following:
Code:

Oct 24 10:18:21 localhost hald[323]: 10:18:21.483 [I] blockdev.c:324: entering; exit_type=1, return_code=0
Oct 24 10:18:21 localhost hald[323]: 10:18:21.484 [I] blockdev.c:584: block_add: sysfs_path=/sys/block/hdc dev=/dev/hdc is_part=0, parent=0x00624e10
Oct 24 10:18:21 localhost hald[323]: 10:18:21.484 [I] blockdev.c:808: parent_bus is ide
Oct 24 10:18:21 localhost hald[323]: 10:18:21.485 [I] blockdev.c:439: Probing storage device /dev/hdc
Oct 24 10:18:21 localhost hald[323]: 10:18:21.488 [I] hald_dbus.c:3195: 323: Got a connection
Oct 24 10:18:21 localhost hald[323]: 10:18:21.488 [I] hald_dbus.c:3196: dbus_connection_get_is_connected = 1
Oct 24 10:18:26 localhost hald[323]: 10:18:26.115 [I] hald_dbus.c:3173: Client to local_server was disconnected
Oct 24 10:18:26 localhost hald[323]: 10:18:26.115 [I] hald_dbus.c:3183: unregistered
Oct 24 10:18:26 localhost hald[323]: 10:18:26.129 [D] hald_dbus.c:1192: udi=/org/freedesktop/Hal/devices/temp/102, key=storage.cdrom.cdr
Oct 24 10:18:26 localhost hald[323]: 10:18:26.129 [D] hald_dbus.c:1192: udi=/org/freedesktop/Hal/devices/temp/102, key=storage.cdrom.cdrw
Oct 24 10:18:26 localhost hald[323]: 10:18:26.129 [D] hald_dbus.c:1192: udi=/org/freedesktop/Hal/devices/temp/102, key=storage.cdrom.dvd
Oct 24 10:18:26 localhost hald[323]: 10:18:26.130 [D] hald_dbus.c:1192: udi=/org/freedesktop/Hal/devices/temp/102, key=storage.cdrom.dvdr
Oct 24 10:18:26 localhost hald[323]: 10:18:26.130 [D] hald_dbus.c:1192: udi=/org/freedesktop/Hal/devices/temp/102, key=storage.cdrom.dvdrw
Oct 24 10:18:26 localhost hald[323]: 10:18:26.130 [D] hald_dbus.c:1192: udi=/org/freedesktop/Hal/devices/temp/102, key=storage.cdrom.dvdram
Oct 24 10:18:26 localhost hald[323]: 10:18:26.130 [D] hald_dbus.c:1192: udi=/org/freedesktop/Hal/devices/temp/102, key=storage.cdrom.dvdplusr
Oct 24 10:18:26 localhost hald[323]: 10:18:26.131 [D] hald_dbus.c:1192: udi=/org/freedesktop/Hal/devices/temp/102, key=storage.cdrom.dvdplusrw
Oct 24 10:18:26 localhost hald[323]: 10:18:26.131 [D] hald_dbus.c:1192: udi=/org/freedesktop/Hal/devices/temp/102, key=storage.cdrom.dvdplusrdl
Oct 24 10:18:26 localhost hald[323]: 10:18:26.131 [D] hald_dbus.c:1192: udi=/org/freedesktop/Hal/devices/temp/102, key=storage.cdrom.bd
Oct 24 10:18:26 localhost hald[323]: 10:18:26.134 [D] hald_dbus.c:1192: udi=/org/freedesktop/Hal/devices/temp/102, key=storage.cdrom.bdr
Oct 24 10:18:26 localhost hald[323]: 10:18:26.134 [D] hald_dbus.c:1192: udi=/org/freedesktop/Hal/devices/temp/102, key=storage.cdrom.bdre
Oct 24 10:18:26 localhost hald[323]: 10:18:26.135 [D] hald_dbus.c:1192: udi=/org/freedesktop/Hal/devices/temp/102, key=storage.cdrom.hddvd
Oct 24 10:18:26 localhost hald[323]: 10:18:26.135 [D] hald_dbus.c:1192: udi=/org/freedesktop/Hal/devices/temp/102, key=storage.cdrom.hddvdr
Oct 24 10:18:26 localhost hald[323]: 10:18:26.135 [D] hald_dbus.c:1192: udi=/org/freedesktop/Hal/devices/temp/102, key=storage.cdrom.hddvdrw
Oct 24 10:18:26 localhost hald[323]: 10:18:26.136 [D] hald_dbus.c:1192: udi=/org/freedesktop/Hal/devices/temp/102, key=storage.cdrom.cdr
Oct 24 10:18:26 localhost hald[323]: 10:18:26.136 [D] hald_dbus.c:1192: udi=/org/freedesktop/Hal/devices/temp/102, key=storage.cdrom.cdrw
Oct 24 10:18:26 localhost hald[323]: 10:18:26.136 [D] hald_dbus.c:1192: udi=/org/freedesktop/Hal/devices/temp/102, key=storage.cdrom.dvd
Oct 24 10:18:26 localhost hald[323]: 10:18:26.140 [D] hald_dbus.c:1192: udi=/org/freedesktop/Hal/devices/temp/102, key=storage.cdrom.dvdplusr
Oct 24 10:18:26 localhost hald[323]: 10:18:26.141 [D] hald_dbus.c:1192: udi=/org/freedesktop/Hal/devices/temp/102, key=storage.cdrom.dvdplusrw
Oct 24 10:18:26 localhost hald[323]: 10:18:26.141 [D] hald_dbus.c:1192: udi=/org/freedesktop/Hal/devices/temp/102, key=storage.cdrom.dvdplusrdl
Oct 24 10:18:26 localhost hald[323]: 10:18:26.141 [D] hald_dbus.c:1192: udi=/org/freedesktop/Hal/devices/temp/102, key=storage.cdrom.dvdr
Oct 24 10:18:26 localhost hald[323]: 10:18:26.141 [D] hald_dbus.c:1192: udi=/org/freedesktop/Hal/devices/temp/102, key=storage.cdrom.dvdram
Oct 24 10:18:26 localhost hald[323]: 10:18:26.142 [D] hald_dbus.c:1192: udi=/org/freedesktop/Hal/devices/temp/102, key=storage.cdrom.support_media_changed
Oct 24 10:18:26 localhost hald[323]: 10:18:26.147 [D] hald_dbus.c:1192: udi=/org/freedesktop/Hal/devices/temp/102, key=storage.cdrom.read_speed
Oct 24 10:18:26 localhost hald[323]: 10:18:26.147 [D] hald_dbus.c:1192: udi=/org/freedesktop/Hal/devices/temp/102, key=storage.cdrom.write_speed
Oct 24 10:18:28 localhost hald[323]: 10:18:28.777 [I] hald_dbus.c:3173: Client to local_server was disconnected
Oct 24 10:18:28 localhost hald[323]: 10:18:28.778 [I] hald_dbus.c:3183: unregistered
Oct 24 10:18:28 localhost hald[323]: 10:18:28.778 [I] blockdev.c:324: entering; exit_type=0, return_code=0
Oct 24 10:18:28 localhost hald[323]: 10:18:28.782 [I] device_info.c:1427: *** Matched file /usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi
Oct 24 10:18:28 localhost hald[323]: 10:18:28.782 [I] blockdev.c:141: Add callouts completed udi=/org/freedesktop/Hal/devices/storage_serial_K0C54R44948
Oct 24 10:18:28 localhost hald[323]: 10:18:28.782 [I] hald.c:82: Added device to GDL; udi=/org/freedesktop/Hal/devices/storage_serial_K0C54R44948
Oct 24 10:18:28 localhost hald[323]: 10:18:28.784 [I] hald.c:95: Started addon hald-addon-storage for udi /org/freedesktop/Hal/devices/storage_serial_K0C54R44948


Thanks
Back to top
View user's profile Send private message
unarana
Tux's lil' helper
Tux's lil' helper


Joined: 05 Mar 2004
Posts: 120
Location: Erice (TP) Italy

PostPosted: Sat Mar 31, 2007 12:22 pm    Post subject: Reply with quote

Could you explain how to resolve? I'm having the same problem with my notebook :(

Thanks

Ciao :mrgreen:
_________________
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
Linus Torvalds
Back to top
View user's profile Send private message
pacho2
Developer
Developer


Joined: 04 Mar 2005
Posts: 2599
Location: Oviedo, Spain

PostPosted: Tue Apr 10, 2007 8:45 am    Post subject: Reply with quote

My brother put a stupid line in /etc/sysctl.conf that made hald eject the CDs
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum