| Summary: | Can't start ivman | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | MD <mati_wroc> |
| Component: | [OLD] Core system | Assignee: | Stefan Schweizer (RETIRED) <genstef> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | rohan |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
MD
2005-04-10 09:23:11 UTC
rohan: any idea? Well... this might be a silly question, but... have you tried setting fork=true and just ignoring that message? Your system will _always_ hang on boot if you've told Ivman not to fork (system init scripts are executed sequentially, so if you've told Ivman not to fork, whatever is supposed to come next will never be executed). In any case, that DBUS message is more of a warning than an error; it comes from HAL, but in all cases I've seen it, it was able to recover. This message - "IvmConfigActions.c:42 (ivm_device_is_mountable) (null) can't be mounted because it is not a block device" - confirms that Ivman is receiving DBUS messages from HAL in any case... set fork=true and ignore that message, and then see if Ivman is running by 'ps aux'. If it is running but your CDs/DVDs aren't being mounted, there's probably some configuration error... I set fork to true, but it still doesn't work: # /etc/init.d/hald start * Starting D-BUS system messagebus... [ ok ] * Starting Hardware Abstraction Layer daemon... [ ok ] # ivman Ikke's Volume Manager, http://ivman.sf.net daemonize.c:32 (daemonize) Daemonizing... (now as non-root user:) # ps aux|grep ivman root 6936 0.0 0.3 4148 1852 ? S 12:23 0:00 ivman I inserted cd, but ls /mnt/cdrom gives nothing :-( mount /mnt/cdrom works as usual, but ivman isn't working :-( Is /dev/cdrom a symlink to your device? Have you tried putting /dev/hdc (or whatever the real device name is) in fstab instead? Also, do you see any messages from Ivman in the system log when you insert a disc? I changed /dev/cdrom (which symlinks to /dev/cdroms/cdrom0) to /dev/hdc (hdc: ATAPI 52X DVD-ROM CD-R/RW drive) in my fstab, but it didn't help. From my /var/log/messages: * after starting hald: Apr 12 16:18:57 mati fstab-sync[6398]: removed all generated mount points and about 20 messages like this: Apr 12 16:18:57 mati udevinfo[6425]: tdb_open_ex: could not open file /dev/.udev.tdb: No such file or directory * after starting ivman: Apr 12 16:21:49 mati ivman: IVM started in root mode Apr 12 16:21:49 mati ivman: (null) can't be mounted because it is not a block device Nothing appears in the log after inserting a cd. Sounds like you've got udev troubles. What does 'udevinfo -d' say about /dev/hdc? Does 'udevinfo' fail to run? If so, you should probably try reinstalling udev, and maybe unmerging devfsd if you've still got it installed. I reinstalled udev. udevinfo -d /dev/hdc still gives only: "unable to open udev database". > try reinstalling udev, and maybe unmerging devfsd if you've still got it installed Is it safe and needed to unmerge devfsd? http://www.gentoo.org/doc/en/devfs-guide.xml says "Warning: Currently, Gentoo cannot live without the compatibility symlinks.". I googled for "unable to open udev database" and found that: http://lists.freedesktop.org/archives/hal/2004-June/000480.html I runned udevstart, but it didn't help :-( Should I remove devfsd? Wouldn't it break my system? I unmerged devfsd a long time ago and nothing broke. That being said, doing so won't necessarily fix your udev problem; but if your /dev is still being mounted by devfs, it probably will. Also, I suggest udev-045... Disabling devfs solved the problem :-) Although I didn't unmerge it, I checked how system would behave if I pass 'devfs=nomount' to kernel, then I recompiled kernel without devfs suppeort. That was it. resolved. |