Bug 41796

Summary: mount -t ufs fails on RH 7.1
Product: [Retired] Red Hat Linux Reporter: Daryl Spartz <dspartz>
Component: util-linuxAssignee: Elliot Lee <sopwith>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-06-28 16:50:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daryl Spartz 2001-05-22 06:30:45 UTC
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 
superblock

How reproducible:
Always

Steps to Reproduce:
1.mount -t ufs -o ufstype=44bsd /dev/hda5 /mnt/freebsd/root
2.
3.
	

Actual Results:  mount failed. (Actual msg will be added later)

Additional info:

Comment 1 Daryl Spartz 2001-05-22 16:44:56 UTC
failing msg:

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)

Comment 2 Arjan van de Ven 2001-05-23 08:56:26 UTC
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.

Comment 3 Daryl Spartz 2001-05-24 22:03:46 UTC
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.

Comment 4 Arjan van de Ven 2001-05-25 08:20:09 UTC
The errormessage is generated by "mount" -> reassigning to get the message fixed

Comment 5 Bernhard Rosenkraenzer 2002-01-17 19:17:39 UTC
Assigning to util-linux, where mount lives these days

Comment 6 Elliot Lee 2002-01-29 22:00:47 UTC
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.