danny <tornadory@...> writes:
>
>
> Hi,It(the 252) should be used, you could `cat /proc/devices` to check.And one
way to do is change the major number in the source code to a unused number(not
in the /proc/devices list).
> -- Best Regards,
>
>
> At 2010-10-08 21:40:44,"Sami Riahi" <samiriahi <at> ymail.com> wrote:
>
> I'm trying to install fusion IPC for directfb.:
> <!--
> _page { margin: 2cm }
> P { margin-bottom: 0.21cm }
> -->
> tar -xvf
> DirectFB-1.2.8.tar.gztar -xvf linux-fusion-8.1.1.tar.gztar
> -xvf DirectFB-Examples-1.2.0.tar.gzcd linux-fusion-8.1.1 make
> && sudo make installsudo su -echo fusion >>
> /etc/initramfs-tools/modules exitsudo update-initramfs -u
>
> sudo
> modprobe fusion cd DirectFB-1.2.8 <=
> /prob!!!!!!!!!!!!!!!
> msg d'erreur: FATAL: Error inserting fusion
(/lib/modules/2.6.28-17-generic/drivers/char/fusion/fusion.ko): Input/output
errorin dmesg:fusion: unable to get major 252fusion: unable to get major 252
>
>
>
> 全国最低价,天天在家冲照片,24小时发货上门!
>
>
>
> _______________________________________________
> directfb-dev mailing list
> directfb-dev@...
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
>
Hi I had a similar problem while inserting the fusion module on my target device
I got the following message:
# modprobe fusion
modprobe fusion fusion: unable to get major 250 modprobe: 'fusion.ko':
Input/output error
I did
# dmesg | grep fusion
fusion: unable to get major 250
fusion: unable to get major 250
fusion: unable to get major 250
fusion: unable to get major 250
fusion: unable to get major 250
# cat /proc/devices | grep 250
250 volbtn
This means my major number is being used by another driver volbtn
and thats the reason its not loading the driver.
So while compiling the linux-fusion-8.1.1 I change the major no in sourse code
itself to 255 which is not used in my /proc/devices/
# gedit linux-fusion-8.1.1/linux/drivers/char/fusion/fusiondev.c
#define DEBUG(x...) do {} while (0)
#endif
#ifndef FUSION_MAJOR
#define FUSION_MAJOR 255 ///this was 250 earlier
#endif
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Denis Oliver Kropp <[email protected]>");
and with that change I compiled the module.
Loaded that on target device now it works fine.
# cat /proc/devices | grep 255
255 fusion
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev