[Yaffs] Yaffs on 2.6

Nick Bane nick@cecomputing.co.uk
Fri, 6 Aug 2004 10:10:24 +0100


I have just made a start to porting yaffs to 2.6.7 and had the same =
problem (plus the lack of cdevname - I commented out those printks =
temporarily).

The fix (10:00pm last night) was to  change to_kdev_t to old_decode_dev. =
It does the same thing.

Nick Bane

> -----Original Message-----
> From: yaffs-admin@stoneboat.aleph1.co.uk=20
> [mailto:yaffs-admin@stoneboat.aleph1.co.uk]On Behalf Of Brad Beveridge
> Sent: 06 August 2004 04:36
> To: Zhonglin Zhang
> Cc: yaffs@lists.aleph1.co.uk
> Subject: Re: [Yaffs] Yaffs on 2.6
>=20
>=20
> I have now managed to use the 2.6 build system to build yaffs. The =
only
> problem I currently have is that to_kdev_t is no longer in 2.6, and
> yaffs uses it in FillInodeFromObject. What is the correct fix for =
this?
>=20
> Cheers
> Brad
>=20
> Zhonglin Zhang wrote:
>=20
> >2.6 kernel module format is different with 2.4 kernel module format.
> >
> >so in 2.6, you yaffs module name should be yaffs.ko not yaffs.o
> >
> >insmod yaffs.ko
> >
> >I have used the yaffs successfully in linux kernel 2.6.5. With just
> >minor repairs.
> >
> >
> >=D4=DA2004=C4=EA08=D4=C206=C8=D5=B5=C410:17=A3=ACBrad =
Beveridge=D0=B4=B5=C0=A3=BA
> > =20
> >
> >>Hi all, does yaffs work with 2.6?  I've managed to compile=20
> against a 2.6=20
> >>kernel using CONFIG_KERNEL_2_5, but when I go to insmod the =
resulting=20
> >>yaffs.o file I get
> >>insmod: error inserting '/lib/modules/yaffs.o': -1 Invalid module =
format
> >>I am up todate with CVS.  I'll take a look at getting this going =
under=20
> >>2.6 & if I do, I'll post the results.
> >>
> >>Cheers
> >>Brad
> >>
> >>_______________________________________________
> >>yaffs mailing list
> >>yaffs@stoneboat.aleph1.co.uk
> >>http://stoneboat.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs
> >>   =20
> >>
> >
> >
> >_______________________________________________
> >yaffs mailing list
> >yaffs@stoneboat.aleph1.co.uk
> >http://stoneboat.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs
> >
> > =20
> >
>=20
>=20
> _______________________________________________
> yaffs mailing list
> yaffs@stoneboat.aleph1.co.uk
> http://stoneboat.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs
>=20