FreeBSD 4.5 partition mount problem
Άγγελος Οικονομόπουλος
lydwigvernon at yahoo.co.uk
Wed Mar 6 15:02:00 EET 2002
On Wednesday 06 March 2002 03:59, Άγγελος Οικονομόπουλος wrote:
> On Tuesday 26 February 2002 17:25, Fanis Dokianakis wrote:
> > Yparhei provlima me to mount sta partitions pou dimiourgei i egatastasi
> > tou FreeBSD 4.5.
> > Edo kai arketo kairo (apo tote pou vgike to 4.5) prospathousa na kano
> > mount ta partitions tou FreeBSD, xoris epityxia.
> > Enoeite oti exo energopoiisei tis epiloges
> > UFS_FS kai BSD_DISKLABEL ston kernel.
> >
> > uname -r
> > 2.4.18
>
> Kai pou na xrhsimopoiouses -ac...(meta ton 18-rc2-ac2).
> Skata. Fainetai oti o tupos pou esteile to patch gia to "ka8arisma" tou
> kwdika tou ufs den to xrhsimopoiei na dei th malakia pou ekane. 3ana skata.
Kai molis brhka ton enoxo: Zwane Mwaikambo. Exei hdh anaxwrhsei dimoiria ths
untested patches police. Telika, uparxei kai deuteros -ac+ufs user.
From: Zwane Mwaikambo <zwane at linux.realnet.co.sz>
To: Linux Kernel <linux-kernel at vger.kernel.org>
Cc: Andries.Brouwer at cwi.nl
Subject: [PATCH] UFS blocksize fix
Date: Tue, 5 Mar 2002 06:37:23 GMT
Message-ID: <fa.nc0tsjv.d2ia3a at ifi.uio.no>
Looks like i got my test wrong in that last patch, pointed out by Andries
Brouwer (backing it out causes oopses with certain blocksizes).
Thanks,
Zwane
diffed against 2.4.19-pre2
--- linux-2.4.19/fs/ufs/super.c.orig Tue Mar 5 08:17:30 2002
+++ linux-2.4.19/fs/ufs/super.c Tue Mar 5 08:15:40 2002
@@ -597,7 +597,7 @@
}
again:
- if (!set_blocksize (sb->s_dev, block_size)) {
+ if (set_blocksize (sb->s_dev, block_size)) {
printk(KERN_ERR ""UFS: failed to set blocksize\n");
goto failed;
}
> H malakia exei panw apo bdomada, alla twra pou gurisa a8hna ekatsa na psa3w
> ti skata alla3e(kai na to summazepsw). Arxizw na aporw an egw eimai o monos
> -ac user pou kanei mount ufs partitions.
>
> PS. Ta polla skata ofeilontai sto oti molis twra teleiwsa kai den exw parei
> akoma ta hremistika
>
> > sta kernel messages
> > hdb: hdb1 hdb2 hdb3
> > hdb3: <bsd: hdb5 hdb6 hdb7 hdb8 hdb9 >
> >
> > mount -t ufs -o ufstype=44bsd /dev/hdb3 /mnt
> > mount: wrong fs type, bad option, bad superblock on /dev/hdb3,
> > or too many mounted file systems
> >
> > sta kernel messages
> > ufs_read_super: fs_bsize 16384 != {4096, 8192, 32768}
> > ufs_read_super: bad magic number
> >
> > Epsaja sto google gia ayta ta minimata kai den vrika tipota shetiko
> > eytyhos pou mou katevike na psajo kai sto groups.google.com
> > kai vrika ta ejis:
> >
> > fainete oti to block size einai 16384 pou den ypostirizete
> > ston kernel.
> >
> > Omos sto fs/ufs/super.c sti grammi 655 ehei ena if me ta block sizes pou
> > epitrepontai.
> >
> > prosthetoume ena "&& uspi->s_bsize != 16384" mesa sto if kai apo oti
> > fainete douleyei fysiologika. (den dokimasa write)
> >
> > Gia pio logo omos kati san kai ayto den egine eyritera gnosto,
> > kai giati den ehei ginei ayti i allagi ston linux kernel.
> > Athemitos antagonismos apo tin meria kai tou fbsd kai tou linux?
> >
> > Fanis
More information about the Linux-greek-users
mailing list