Modify

Opened 10 years ago

Closed 10 years ago

Last modified 2 years ago

#402 closed defect (fixed)

linux 2.6.16 breaks fuse and kmod_mini_fo (trunk r3472)

Reported by: tristan@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: 2.0
Keywords: Cc:

Description

The new linux kernel has some inode changes that breaks some packages. The fuse kernel module doesn't build:

make[8]: Entering directory `/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/fuse-2.4.1/kernel'
make -C /data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/linux-2.6.16 SUBDIRS=/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/fuse-2.4.1/kernel  modules
make[9]: Entering directory `/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/linux-2.6.16'
  CC [M]  /data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/fuse-2.4.1/kernel/dev.o
  CC [M]  /data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/fuse-2.4.1/kernel/dir.o
  CC [M]  /data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/fuse-2.4.1/kernel/file.o
/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/fuse-2.4.1/kernel/file.c: In function 'fuse_direct_write':
/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/fuse-2.4.1/kernel/file.c:608: error: 'struct inode' has no member named 'i_sem'
/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/fuse-2.4.1/kernel/file.c:610: error: 'struct inode' has no member named 'i_sem'
make[10]: *** [/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/fuse-2.4.1/kernel/file.o] Error 1
make[9]: *** [_module_/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/fuse-2.4.1/kernel] Error 2
make[9]: Leaving directory `/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/linux-2.6.16'
make[8]: *** [all-spec] Error 2

Upgrading to fuse 2.5.2 fixes this for me. I don't know how to attach a file to this post, but it's pretty easy to upgrade - just update the Makefiles, although I had to create a new 101-kmod_build.patch

kmod_mini_fo also breaks:

make[8]: Entering directory `/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/mini_fo-0-6-2-pre1'
make -C /data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/linux-2.6.16 SUBDIRS=/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/mini_fo-0-6-2-pre1 modules
make[9]: Entering directory `/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/linux-2.6.16'
  CC [M]  /data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/mini_fo-0-6-2-pre1/meta.o
In file included from /data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/mini_fo-0-6-2-pre1/meta.c:14:
/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/mini_fo-0-6-2-pre1/mini_fo.h: In function 'double_lock':
/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/mini_fo-0-6-2-pre1/mini_fo.h:457: error: 'struct inode' has no member named 'i_sem'
/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/mini_fo-0-6-2-pre1/mini_fo.h:457: error: 'struct inode' has no member named 'i_sem'
/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/mini_fo-0-6-2-pre1/mini_fo.h: In function 'double_unlock':
/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/mini_fo-0-6-2-pre1/mini_fo.h:462: error: 'struct inode' has no member named 'i_sem'
/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/mini_fo-0-6-2-pre1/mini_fo.h:462: error: 'struct inode' has no member named 'i_sem'
/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/mini_fo-0-6-2-pre1/meta.c: In function 'meta_sync_d_list':
/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/mini_fo-0-6-2-pre1/meta.c:653: error: 'struct inode' has no member named 'i_sem'
/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/mini_fo-0-6-2-pre1/meta.c:655: error: 'struct inode' has no member named 'i_sem'
/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/mini_fo-0-6-2-pre1/meta.c: In function 'meta_sync_r_list':
/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/mini_fo-0-6-2-pre1/meta.c:783: error: 'struct inode' has no member named 'i_sem'
/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/mini_fo-0-6-2-pre1/meta.c:785: error: 'struct inode' has no member named 'i_sem'
make[10]: *** [/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/mini_fo-0-6-2-pre1/meta.o] Error 1
make[9]: *** [_module_/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/mini_fo-0-6-2-pre1] Error 2
make[9]: Leaving directory `/data2/openwrt/tristan/trunk/openwrt/build_mips/linux-2.6-aruba/linux-2.6.16'
make[8]: *** [mini_fo2.6] Error 2

I couldn't find a newer version of mini_fo.

Attachments (1)

101-kmod_build.patch (1.5 KB) - added by tristan@… 10 years ago.
fuse build patch

Download all attachments as: .zip

Change History (6)

comment:1 Changed 10 years ago by olli

  • Milestone set to 2.0
  • Version set to 2.0

Changed 10 years ago by tristan@…

fuse build patch

comment:2 Changed 10 years ago by tristan@…

When I first submitted this ticket I couldn't attach files. Seems to work now, so I've attached the patch for building fuse 2.5.2.

comment:3 Changed 10 years ago by anonymous

fuse fixed in [3527].

comment:4 Changed 10 years ago by wbx

  • Resolution set to fixed
  • Status changed from new to closed

fixed completely in [3533]. Patch from mini_fo git repository.

comment:5 Changed 2 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.