[Yaffs] Yaffs on 2.6

Brad Beveridge bbeveridge@bluewatersys.com
Fri, 06 Aug 2004 15:36:03 +1200


I have now managed to use the 2.6 build system to build yaffs. The on=
ly
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 thi=
s?

Cheers
Brad

Zhonglin Zhang wrote:

>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 against =
a 2.6=20
>>kernel using CONFIG_KERNEL_2_5, but when I go to insmod the resulti=
ng=20
>>yaffs.o file I get
>>insmod: error inserting '/lib/modules/yaffs.o': -1 Invalid module f=
ormat
>>I am up todate with CVS.  I'll take a look at getting this going un=
der=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
>