On Sat, Jan 22, 2005 at 08:28:33PM +0000, Jean-Luc Coulon (f5ibh) wrote: > Le 22.01.2005 19:06:12, Sjoerd Simons a écrit : > >On Sat, Jan 22, 2005 at 05:22:55PM +0000, Jean-Luc Coulon (f5ibh) > >wrote: > > [ ... ] > > >Can you run: strace -eopen,ioctl,close hald --daemon=no > > > >After hal startup this should show you someting like every few > >seconds: > > > >open("/dev/hdc", O_RDONLY|O_NONBLOCK|O_EXCL|O_LARGEFILE) = 0 > >ioctl(0, 0x5326, 0x7fffffff) = 1 > >close(0) = 0 > > > >Which is hal polling my /dev/hdc for volumes.. > > This is what I get (a volume is inserted in each drive) > > open("/dev/hda", O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 0 > ioctl(0, CDROM_DRIVE_STATUS, 0x7fffffff) = 1 > close(0) = 0 > open("/dev/hdc", O_RDONLY|O_NONBLOCK|O_EXCL|O_LARGEFILE) = 0 > ioctl(0, CDROM_DRIVE_STATUS, 0x7fffffff) = 1 > close(0) = 0 > open("/dev/sdc", O_RDONLY|O_LARGEFILE) = -1 ENOMEDIUM (No medium found) > > /dev/hdc is an USB compact flash reader witohut a card inside.
Okay, so hal is actually polling your drives... The odd thing is that nothing changed to that code between the versions.. Could you stop your hald... run hald --daemon=no --verbose=yes, and then after the startup sequence is done put in a cd. And mail the output, if none then i'll need to create a special debug package for you.. Sjoerd -- The only difference between a rut and a grave is their dimensions.