does inotify kernel work in a virtual vmware linux guest?
- From: Wolfgang Nejdl <nejdl kbs uni-hannover de>
- To: dashboard-hackers gnome org
- Subject: does inotify kernel work in a virtual vmware linux guest?
- Date: Wed, 05 Jan 2005 14:32:06 +0100
Does anybody have any experience with running an inotify-enabled kernel
in a VMware virtual machine?
I have installed the latest inotify-enabled kernel in a Suse 9.2 virtual
machine / guest (vmware itself is running under Windows XP), and have
(after some difficulties with compiling / installing / upgrading the
right beagle related packages) managed to compile and run beagle.
However, when beagled starts up and tries to start indexing on my home
directory /home/nejdl, it stops with an error message in inotify.cs,
saying that the IOCTL is the wrong one for the device.
Wolfgang
nejdl pc131:~> dbus-launch --auto-syntax
DBUS_SESSION_BUS_ADDRESS='unix:abstract=/tmp/dbus-n081ZCBGgw'
export DBUS_SESSION_BUS_ADDRESS
DBUS_SESSION_BUS_PID=4491
nejdl pc131:~> DBUS_SESSION_BUS_ADDRESS='unix:abstract=/tmp/dbus-n081ZCBGgw'
nejdl pc131:~> export DBUS_SESSION_BUS_ADDRESS
nejdl pc131:~> DBUS_SESSION_BUS_PID=4491
nejdl pc131:~> export DBUS_SESSION_BUS_PID=4491
nejdl pc131:~> beagled --fg --debug
INFO: Starting Beagle Daemon (version 0.0.4)
DEBUG: Command Line: /usr/local/lib/beagle/BeagleDaemon.exe --fg --debug
DEBUG: Initializing D-BUS
DEBUG: Acquiring com.novell.Beagle D-BUS service
DEBUG: Initializing RemoteControl
DEBUG: D-BUS registered obj=Beagle.Daemon.RemoteControlImpl path=/com/novell/Beagle/RemoteControl owner=(none)
DEBUG: D-BUS registered obj=Beagle.Daemon.FactoryImpl path=/com/novell/Beagle/Factory owner=(none)
DEBUG: Starting QueryDriver
INFO: Loaded 0 records from /home/nejdl/.beagle/FileSystemIndex/FileAttributesStore.db in 0,002s
DEBUG: Found 7 types in BeagleDaemonLib, Version=1.3.2.2, Culture=neutral, PublicKeyToken=null
INFO: Scanning /home/nejdl
DEBUG: D-BUS registered obj=Beagle.Daemon.WebHistoryQueryable.WebHistoryQueryable+WebHistoryIndexerImpl path=/com/novell/Beagle/WebHistoryIndexer owner=(none)
DEBUG: Starting Scheduler thread
DEBUG: Starting Inotify threads
WARN: FileAdvise disabled: Erfolg
DEBUG: Ready to accept requests after 2,67s
DEBUG: Starting main loop
ioctl(31, INOTIFY_WATCH, {/home/nejdl, 50984}) failedioctl: Unpassender IOCTL (I/O-Control) für das Gerät
Unhandled Exception: System.Exception: Attempt to watch /home/nejdl failed!
in [0x000a5] (at /home/nejdl/source/beagle-0.0.4/Util/Inotify.cs:215) Beagle.Util.Inotify:Watch (string,Beagle.Util.Inotify/EventType,Beagle.Util.Inotify/EventType)
in [0x00003] (at /home/nejdl/source/beagle-0.0.4/Util/Inotify.cs:234) Beagle.Util.Inotify:Watch (string,Beagle.Util.Inotify/EventType)
in [0x0002d] (at /home/nejdl/source/beagle-0.0.4/beagled/FileSystemQueryable/WatchedDirectory.cs:70) Beagle.Daemon.FileSystemQueryable.WatchedDirectory:.ctor (Beagle.Daemon.LuceneDriver,string)
in [0x0007f] (at /home/nejdl/source/beagle-0.0.4/beagled/FileSystemQueryable/FileSystemQueryable.cs:341) Beagle.Daemon.FileSystemQueryable.FileSystemQueryable:Scan (string)
in [0x0001e] (at /home/nejdl/source/beagle-0.0.4/beagled/FileSystemQueryable/FileSystemQueryable.cs:496) Beagle.Daemon.FileSystemQueryable.FileSystemQueryable:StartWorker ()
in <0x00053> (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
ioctl(31, INOTIFY_WATCH, {/home/nejdl/.evolution/mail/local, 34176}) failedioctl: Unpassender IOCTL (I/O-Control) für das Gerät
Unhandled Exception: System.Exception: Attempt to watch /home/nejdl/.evolution/mail/local failed!
in [0x000a5] (at /home/nejdl/source/beagle-0.0.4/Util/Inotify.cs:215) Beagle.Util.Inotify:Watch (string,Beagle.Util.Inotify/EventType,Beagle.Util.Inotify/EventType)
in [0x00003] (at /home/nejdl/source/beagle-0.0.4/Util/Inotify.cs:234) Beagle.Util.Inotify:Watch (string,Beagle.Util.Inotify/EventType)
in [0x0003c] (at /home/nejdl/source/beagle-0.0.4/beagled/EvolutionMailDriver/EvolutionMailDriver.cs:142) Beagle.Daemon.EvolutionMailQueryable:Watch (string)
in [0x00042] (at /home/nejdl/source/beagle-0.0.4/beagled/EvolutionMailDriver/EvolutionMailDriver.cs:99) Beagle.Daemon.EvolutionMailQueryable:StartWorker ()
in <0x00053> (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
Beendet
nejdl pc131:~> uname -r
2.6.8-727.inotify.0-default
This is the beagle log file:
nejdl pc131:~/.beagle/Log> cat Beagle
4511 05-01-05 11.50.02.17 INFO: Starting Beagle Daemon (version 0.0.4)
4511 05-01-05 11.50.02.21 DEBUG: Command Line: /usr/local/lib/beagle/BeagleDaemon.exe --fg --debug
4511 05-01-05 11.50.02.25 DEBUG: Initializing D-BUS
4511 05-01-05 11.50.02.52 DEBUG: Acquiring com.novell.Beagle D-BUS service
4511 05-01-05 11.50.02.53 DEBUG: Initializing RemoteControl
4511 05-01-05 11.50.02.53 DEBUG: D-BUS registered obj=Beagle.Daemon.RemoteControlImpl path=/com/novell/Beagle/RemoteControl owner=(none)
4511 05-01-05 11.50.02.55 DEBUG: D-BUS registered obj=Beagle.Daemon.FactoryImpl path=/com/novell/Beagle/Factory owner=(none)
4511 05-01-05 11.50.02.55 DEBUG: Starting QueryDriver
4511 05-01-05 11.50.04.65 INFO: Loaded 0 records from /home/nejdl/.beagle/FileSystemIndex/FileAttributesStore.db in 0,002s
4511 05-01-05 11.50.05.07 DEBUG: Found 7 types in BeagleDaemonLib, Version=1.3.2.2, Culture=neutral, PublicKeyToken=null
4511 05-01-05 11.50.05.10 INFO: Scanning /home/nejdl
4511 05-01-05 11.50.05.13 DEBUG: D-BUS registered obj=Beagle.Daemon.WebHistoryQueryable.WebHistoryQueryable+WebHistoryIndexerImpl path=/com/novell/Beagle/WebHistoryIndexer owner=(none)
4511 05-01-05 11.50.05.13 DEBUG: Starting Scheduler thread
4511 05-01-05 11.50.05.17 DEBUG: Starting Inotify threads
4511 05-01-05 11.50.05.20 WARN: FileAdvise disabled: Erfolg
4511 05-01-05 11.50.05.20 DEBUG: Ready to accept requests after 2,67s
4511 05-01-05 11.50.05.21 DEBUG: Starting main loop
nejdl pc131:~/.beagle/Log>
--
Prof. Dr. Wolfgang Nejdl tel. +49 511 762-19710
Information Systems Institute fax. +49 511 762-19712
Knowledge Based Systems (KBS) http://www.kbs.uni-hannover.de/
L3S Research Center http://www.l3s.de/
University of Hannover, Appelstr. 4, 30167 Hannover, Germany
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]