LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 05-29-2008, 10:22 AM   #1
Douwe
Member
 
Registered: Jun 2002
Location: the Netherlands
Distribution: Slackware, Zenwalk
Posts: 38

Rep: Reputation: 15
Squashfs kernelpatch does not work for kernel 2.6.25.X


I want to be able to run the Squash fs. You can get a patch for squashfs 3.3, which you install into your kernel source, at http://squashfs.sourceforge.net/ .
Then set the option filesystems/miscellaneous-filesystems/squashfs in menuconfig.
Alas into the newest version 2.6.25.1 (and higher) the patch can be installed, but at compile-time kernel .8.25.4 quits with an errormsg:
Code:
  CC      fs/romfs/inode.o
  LD      fs/romfs/romfs.o
  LD      fs/romfs/built-in.o
  LD      fs/smbfs/built-in.o
  CC [M]  fs/smbfs/proc.o
  CC [M]  fs/smbfs/dir.o
  CC [M]  fs/smbfs/cache.o
fs/smbfs/cache.c: In function 'smb_fill_cache':
fs/smbfs/cache.c:149: warning: passing argument 1 of '__constant_memcpy' discards qualifiers from pointer target type
fs/smbfs/cache.c:149: warning: passing argument 1 of '__memcpy' discards qualifiers from pointer target type
  CC [M]  fs/smbfs/sock.o
  CC [M]  fs/smbfs/inode.o
  CC [M]  fs/smbfs/file.o
  CC [M]  fs/smbfs/ioctl.o
  CC [M]  fs/smbfs/getopt.o
  CC [M]  fs/smbfs/symlink.o
  CC [M]  fs/smbfs/smbiod.o
  CC [M]  fs/smbfs/request.o
  LD [M]  fs/smbfs/smbfs.o
  LD      fs/squashfs/built-in.o
  CC [M]  fs/squashfs/inode.o
fs/squashfs/inode.c:86: error: unknown field 'read_inode' specified in initializer
fs/squashfs/inode.c:87: warning: initialization from incompatible pointer type
fs/squashfs/inode.c: In function 'squashfs_get_parent':
fs/squashfs/inode.c:650: error: implicit declaration of function 'iget'
fs/squashfs/inode.c:650: warning: initialization makes pointer from integer without a cast
make[2]: *** [fs/squashfs/inode.o] Error 1
make[1]: *** [fs/squashfs] Error 2
make: *** [fs] Error 2
and the compilation halts....
Questions:
Did others suffer from this? Is it a bug or did I something wrong?
Where to complain? at the squash-fs site or at the Kernel guis?
A solution here is welcome of course.

Kernel 2.6.25.4 without the squash-patch runs flawless for me.
My computer: Shuttle SS51G with Intel P4, 1Gb mem, NVidia Geforce 7300 GT, 120 GB WD harddisk
 
Old 05-31-2008, 05:51 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Suffer? Yes. Bug? No, kernel structures are improved upon constantly so they'll remain volatile. Complain? Squashfs developers, since you patched your kernel with it. Solution? See Squashfs bug tracker patch at http://sourceforge.net/tracker/downl...55&aid=1912192.
 
Old 06-07-2008, 11:43 AM   #3
Douwe
Member
 
Registered: Jun 2002
Location: the Netherlands
Distribution: Slackware, Zenwalk
Posts: 38

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by unSpawn View Post
Suffer? Yes. Bug? No, kernel structures are improved upon constantly so they'll remain volatile. Complain? Squashfs developers, since you patched your kernel with it. Solution? See Squashfs bug tracker patch at http://sourceforge.net/tracker/downl...55&aid=1912192.
Thanks for the answer. Applying the Squash3.3 patch and this extra patch did the trick.
Sqashfs fs happily running now (with -o loop,ro).
Thanks, Douwe
 
  


Reply

Tags
build, kernel, squashfs



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SQUASHFS error... theherkman Linux - Newbie 4 12-08-2010 08:47 AM
SquashFS Problems zcrxsir88 Linux - General 10 02-27-2008 08:36 PM
Unionfs and Squashfs support pengu Linux - Kernel 4 01-07-2007 04:06 PM
Making an initrd for a squashfs steveo_mcg Linux - General 1 09-12-2006 10:06 AM
squashfs Vookimedlo Linux - Software 0 07-21-2004 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 04:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration