This page is READ-ONLY. It is generated from the old site.
All timestamps are relative to 2013 (when this page is generated).
If you are looking for TeX support, please go to VietTUG.org

ec2.m1.small: debian lenny: fuse not found

can't compile kernel module from source
Added by over 2 years ago  »  Votes: 1/1

Problem: fuse module not found
Environment: Amazon EC2, ap-southeast-1
AMI source: ami-b1f38ce3 (m1.small, 32 bit), from http://alestic.com/
Hint:

 1 #
 2 # Detect your kernel version. You can use 'uname -r' instead.
 3 #
 4 $ ls -lad /usr/src/linux
 5     lrwxrwxrwx 1 root 40 2010-08-29 06:14 /usr/src/linux -> linux-headers-2.6.21.7-2.fc8xen-ec2-v1.0
 6 #                                                                         ^ your kernel version 
 7 $ export K_VERSION="$(uname -r)" 
 8 $ export K_MACHINE="$(uname -m)" 
 9 #
10 # Fetch the list of files from amazon support
11 # Test if this version of kernel is supported by Amazon
12 #
13 $ curl http://s3.amazonaws.com/ec2-downloads/ > /tmp/index.xml
14 $ cat /tmp/index.xml |gsed -e 's#</#\n#g'  |grep Key |grep -i module |grep $K_VERSION
15 #
16 # Download the tarball of kernel modules
17 #
18 $ wget http://s3.amazonaws.com/ec2-downloads/ec2-modules-$K_VERSION-$K_MACHINE.tgz
19 #
20 # Extract fuse module, cf. blog#359
21 #
22 $ tar --wildcards -xvz -C /\
23       -f ec2-modules-$K_VERSION-$K_MACHINE.tgz \
24       */kernel/fs/fuse/fuse.ko
25 #
26 # Update module list and load it
27 #
28 $ depmode -a && modprobe fuse
29 $ grep -q fuse /etc/modules || (echo fuse >> /etc/modules)

Comments