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 > [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 > > > 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? > > 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. > > > > > >在2004年08月06日的10:17,Brad Beveridge写道: > > > > > >>Hi all, does yaffs work with 2.6? I've managed to compile > against a 2.6 > >>kernel using CONFIG_KERNEL_2_5, but when I go to insmod the resulting > >>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 > >>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 > >> > >> > > > > > >_______________________________________________ > >yaffs mailing list > >yaffs@stoneboat.aleph1.co.uk > >http://stoneboat.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs > > > > > > > > > _______________________________________________ > yaffs mailing list > yaffs@stoneboat.aleph1.co.uk > http://stoneboat.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs >