Date: Thu, 11 Dec 2003 12:32:38 +0100 From: Jan.Stary@ff.cuni.cz To: freebsd-questions@freebsd.org, debian-laptop@lists.debian.org Cc: Heiko Stamer <stamer@gaos.org> Subject: Re: ufs problem (mounting ufs under linux-2.6.0-test11) Message-ID: <20031211123238.A16478@praha1.ff.cuni.cz> In-Reply-To: <20031208160402.GB6845@lej05.wurbo.net>; from stamer@gaos.org on Mon, Dec 08, 2003 at 05:04:02PM %2B0100 References: <20031126123936.A19484@praha1.ff.cuni.cz> <20031126170733.GA23795@lej05.wurbo.net> <20031126181624.A5492@praha1.ff.cuni.cz> <20031208160402.GB6845@lej05.wurbo.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, I don't seem to be able to mount the FreeBSD-5.1-RELEASE's ufs partition in linux-2.6.0-test11, which occupies another partition on the same machine (which is Acer Aspire 1304XC). Has the ufs format changed in 5.1? I specify ufstype=44bsd in the mount command. Thank you Jan :> Disk /dev/hda: 20.0 GB, 20003880960 bytes :> 16 heads, 63 sectors/track, 38760 cylinders :> Units = cylinders of 1008 * 512 = 516096 bytes :> :> Device Boot Start End Blocks Id System :> /dev/hda1 1 29064 14648224+ 83 Linux :> /dev/hda2 29065 30056 499968 82 Linux swap :> /dev/hda3 * 30057 38760 4386816 a5 FreeBSD :My partition is not beyond 2 GB, but your configuration should currently :not be a problem. The linux IDE driver has LBA support. : :> root@jorgen:root# mount -t ufs -o ro,ufstype=44bsd /dev/hda3 /mnt/bsd :> ufs_read_super: bad_magic_number :> mount: wrong fs type, bad option, bad superblock on /dev/hda3, :> or too many mounted file systems : :Enabling UFS_SUPER_DEBUG_MORE in /usr/src/linux/fs/ufs/super.c :and compiling a new kernel could give us maybe some detailed information. Here it goes (/var/log/syslog): Dec 11 12:28:53 localhost kernel: (fs/ufs/super.c, 493), ufs_fill_super: ENTER Dec 11 12:28:53 localhost kernel: (fs/ufs/super.c, 501), ufs_fill_super: flag 1 Dec 11 12:28:53 localhost kernel: (fs/ufs/super.c, 282), ufs_parse_options: ENTER Dec 11 12:28:53 localhost kernel: (fs/ufs/super.c, 540), ufs_fill_super: ufstype=44bsd Dec 11 12:28:53 localhost kernel: ufs_read_super: bad magic number Dec 11 12:28:53 localhost kernel: (fs/ufs/super.c, 886), ufs_fill_super: EXIT (FAILED) :"ufs_read_super: bad_magic_number" is a very odd behaviour :-( Yes. I am using the partition for my BSD boots happily, though - maybe the ufs has changed in freebsd 5.1 ? I will ask on the BSD list. Thanks for your time, Heiko. Jan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031211123238.A16478>