[Bug 274854] Re: spufs filesystem not mounted on boot
** Changed in: ubuntu-ps3-port Status: Fix Committed => Fix Released -- spufs filesystem not mounted on boot https://bugs.launchpad.net/bugs/274854 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 274854] Re: spufs filesystem not mounted on boot
This bug was fixed in the package sysvinit - 2.86.ds1-59ubuntu10 --- sysvinit (2.86.ds1-59ubuntu10) intrepid; urgency=low [ Dan Munckton ] * Try to modprobe spufs if it isn't already available (LP: #274854). * Update mountkernfs.sh to use five-parameter version of domount when mounting spufs (LP: #274858). -- Colin Watson <[EMAIL PROTECTED]> Tue, 07 Oct 2008 12:13:08 +0100 ** Changed in: sysvinit (Ubuntu) Status: Fix Committed => Fix Released -- spufs filesystem not mounted on boot https://bugs.launchpad.net/bugs/274854 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 274854] Re: spufs filesystem not mounted on boot
After discussion with Colin Watson and others on #ubuntu-devel the decision was made that spufs could be handled as a special case in domount(). My proposed patch is attached. NOTE this must be applied in conjunction with the patch on LP: #274858 [0] It isn't a good idea to let any or all calls to domount run through to the mount command without validation as it returns the same error code (32) for almost any type of mount failure so we couldn't provide a neat and specific boot log message. Also domount is only used to mount special filesystems like procfs/tmpfs/sysfs etc which will be built into the kernel. spufs is the only filesystem type compiled as a kernel module which domount is likely to be called for. Therefore no need to generalise domount to handle any filesystem type specified as a possible kernel module. [0] https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/274858 ** Attachment added: "domount_try_to_modprobe_spufs_if_not_loaded.diff" http://launchpadlibrarian.net/18194435/domount_try_to_modprobe_spufs_if_not_loaded.diff ** Changed in: sysvinit (Ubuntu) Status: In Progress => Fix Committed ** Changed in: ubuntu-ps3-port Status: In Progress => Fix Committed -- spufs filesystem not mounted on boot https://bugs.launchpad.net/bugs/274854 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 274854] Re: spufs filesystem not mounted on boot
Ok I think I know what the problem is here: domount() in /lib/init/mount-functions.sh checks in /proc/filesystems to see if it can match the requested filesystem type if it doesn't find one it reports "Filesystem type '$1' is not supported. Skipping mount". However because spufs is a module it won't have been loaded at this point so it won't be listed in /proc/filesystems. Running the actual mount command would cause the kernel itself to search for and auto load the spufs module. Is domount being too careful? I'll try to cook up a fix. -- spufs filesystem not mounted on boot https://bugs.launchpad.net/bugs/274854 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 274854] Re: spufs filesystem not mounted on boot
The mount is done outside the initramfs (in the mountkernfs script), so it doesn't make sense to load the module in the initramfs. Reassigning to sysvinit. ** Changed in: sysvinit (Ubuntu) Sourcepackagename: initramfs-tools => sysvinit -- spufs filesystem not mounted on boot https://bugs.launchpad.net/bugs/274854 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs