Red Hat Bugzilla – Bug 41796
mount -t ufs fails on RH 7.1
Last modified: 2007-04-18 12:33:21 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90)
Description of problem:
Two disks. First with LILO and FreeBSD, second with RH7.0. Both boot ok.
Booting under Linux, I am able to mount -t ufs -o ufstype=44bsd the
partitions (slices) of the first drive.
Upgraded Linux to RH 7.1. LILO still able to boot either one. Now, mount
fails with generic message about wrong filesystem type, or option, or bad
Steps to Reproduce:
1.mount -t ufs -o ufstype=44bsd /dev/hda5 /mnt/freebsd/root
Actual Results: mount failed. (Actual msg will be added later)
mount: wrong fs type, bad option, bad superblock on /dev/hda5,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
It is an IDE drive, just the default file systems mounted:
/dev/hdb6 on / type ext2 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/us type usbdevfs (rw)
/dev/hdb1 on /boot type ext2 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
automount(pid617) on /misc type autofs (rw,fd=5,pgrp=617,minproto=2,maxproto=3)
Could you download and install the 2.4.3-5 or 2.4.3-7 kernel from rawhide?
Those should have BSD partitiontype support at least.
The 2.4.3-5 kernel was found at rawhide, not the 2.4.3-7. I installed it. The
same error appears, but this time dmesg indicated that read-only mode was
compiled in. So when I add option -r, the mount is successful. So, the only
problem now is the incorrect or too ambiguous error message.
The errormessage is generated by "mount" -> reassigning to get the message fixed
Assigning to util-linux, where mount lives these days
I don't know of a way to convince the kernel to provide details of the failure,
which is why the error message is so generic.