[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problems with module-assistant and squashfs

Hey guys,
I'm looking to take advantage of a number of mac80211 fixes provided
by newer kernels. I'm using BackTrack4 (live distro using debian), and
would like to upgrade the kernel but still leverage the live cd
functionality. I took the BackTrack 4 iso, extracted it, mounted it,
chrooted into the environment, provided through a script here
The compilation process finished fine, and i installed everything
without a problem, however whenever i try to boot the resulting ISO, I
drop into busy box on the initramfs. The last error in casper.log is
aufs. After spending some time researching the problem, I came across
this post: http://lists.debian.org/debian-live/2008/04/msg00002.html .
The only thing i really didnt do was use module-assistant to generate
squashfs and aufs modules.

LZMA module compiles fine but i get an error (squashfs_fs.h: no such
file or directory) with squashfs ( m-a build -t -k
/usr/src/linux- -l squashfs). Looking at the error it
appeared that it couldnt find the kernel headers. sure enough
/usr/include/linux/squashfs_fs.h didnt exist. BackTrack 4 doesnt have
a linux-headers- package, so i manually copied the
/usr/src/linux-source-*.h to the
directory. (keep in mind the new kernel has been installed,
but not booted -- i've also had the same results with that
gave me a new error:

CONFIG_SQUASHFS=m /usr/bin/make -C /usr/src/linux-
M=/usr/src/modules/squashfs modules
make[2]: Entering directory `/usr/src/linux-'
  CC [M]  /usr/src/modules/squashfs/inode.o
In file included from /usr/src/modules/squashfs/inode.c:24:
/usr/include/linux/squashfs_fs.h:194: error: expected
specifier-qualifier-list before âu64â
/usr/include/linux/squashfs_fs.h:217: error: expected
specifier-qualifier-list before â__le32â
/usr/include/linux/squashfs_fs.h:239: error: expected
specifier-qualifier-list before â__le32â


various errors similar to this scroll the window quite a bit. i've
tried swapping the squashfs headers from the newer kernels but the
same errors happen..

Additionally, i get another error (unrelated?) when building aufs
modules (m-a build -t -k /usr/src/linux- -l aufs) :

make[2]: Entering directory `/usr/src/linux-'
  CC [M]  /usr/src/modules/aufs/module.o
In file included from /usr/src/modules/aufs/dentry.h:35,
                 from /usr/src/modules/aufs/aufs.h:40,
                 from /usr/src/modules/aufs/module.c:26:
/usr/src/modules/aufs/vfsub.h: In function âdo_vfsub_permissionâ:
/usr/src/modules/aufs/vfsub.h:215: error: implicit declaration of
function âpermissionâ
make[3]: *** [/usr/src/modules/aufs/module.o] Error 1
make[2]: *** [_module_/usr/src/modules/aufs] Error 2

can anyone help?

Reply to: