General :: No /dev/i2c-0 Entry After Insmod I2c-dev?
Aug 9, 2011
I am using a windriver Linux. I have built the I2c-core, i2c-i801 and i2c-dev drivers and they are getting inserted while booting. After boot up, there are sysfs entries in /sys/class/i2c-dev/i2c-0 and /sys/bus/i2c/i2c-0. But there is no entry in /dev. In dmesg, it shows a line:
Quote:
i2c /dev entries driver. But it does not creates any entry in /dev.
View 1 Replies
ADVERTISEMENT
Dec 20, 2010
I got "Invalid Module format" error while using insmod command. Later i understand that the file is compiled in previous version of Linux. But, currently i don't have the source files to recompile in new version of Linux. I have tried with -f option. Still, It is not working. Is there any other way to solve this problem.
View 3 Replies
View Related
Jan 19, 2010
I'm trying to install an open source driver BADDRV on Suse 11, x64 system.What I have done:installed kernel source. make. insmod ./BADDRV.ko.On Redhat 5, this just works and I can run the user program that calls open(/dev/BADDRV) and its ioctls.On Suse 11 there is no entry in /dev so I add mknod /dev/BADDRV c 0 0.The user open(/dev/BADDRV) fails with errno 6.(I also tried mknod /dev/BADDRV c 244 0, per suggestion of dmesg. No difference.)There is an rpm provided with the driver. Installing the rpm on Suse 11 works and then the user program works. The only problem with the rpm is that it requires kernel source to be installed, which I can't ask of my customer base.
View 3 Replies
View Related
Jul 28, 2011
I am still new to porting wifi drivers. I am currently porting Ralink RT5370 driver, no problem with the compilation but when I execute insmod operation I got a lot of errors regarding RTMP. This is a part of the error I got:
rt5370sta: Unknown symbol rausb_buffer_free
rt5370sta: Unknown symbol RtmpOsFreeSpinLock
rt5370sta: Unknown symbol RtmpOsPktHeadBufExtend
rt5370sta: Unknown symbol RtmpOSTaskNotifyToExit
rt5370sta: Unknown symbol RtmpOsGetNetDevName
rt5370sta: Unknown symbol RtmpOsHtonl
rt5370sta: Unknown symbol RtmpOsAtomicInterlockedExchange
rt5370sta: Unknown symbol RtmpUtilInit
rt5370sta: Unknown symbol RtmpOSTaskInit
rt5370sta: Unknown symbol RtmpOsAtomicInit
insmod: can't insert '/home/rt5370sta.ko': unknown symbol in module or invalid parameter
Based on the some forum that I've read, adding the MODULE_LICENSE("GPL") is one of the solution. I did add it inside usb_main_dev.c and recompile but I still get the same errors.
View 2 Replies
View Related
May 18, 2010
i created a sample module and while trying to insert it i am getting the message "Killed". But when I did lsmod my module was listed out there and was 'Used by' 1. Maybe because it is in use I cannot do a rmmod on my module. How to overcome this, that is do a rmmod while it is still in use?
View 3 Replies
View Related
Mar 20, 2011
I was trying to compile and insert a module. The module compiles fine and creates tool.ko file(am compiling it from Desktop). Next when I try to use "insmod tool.ko" , it gives em this error: insmod: error inserting 'tool.ko': -1 Operation not permitted.I tried to use modprobe instead , thinking it might install the dependencies(if any) by itself: "modprobe -v tool.ko" but it gives me this error
FATAL: Module tool.ko not found
I went over some linux forum posts and tried to resolve it but no use.I copied all the files from Desktop to the /lib/modules/2.6.34.7-0.7-Desktop/build folder and then ran the commands but still face the same problem. Used this "/sbin/depmod -a " thinking it might update the modeprob.conf file, but no use !
View 9 Replies
View Related
Jun 22, 2011
With hello kernel module, i use two types of Makefile, one is using kernel build system:
obj-m += hello.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
module loads successfully; another is using (CC) and then creating the module by "make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules", this module gives the error message when it is inserted, .........
View 5 Replies
View Related
Jul 8, 2011
where the printk messages are stored when we call a insmod? I'm using Slackware, and I think my distro can store these messages on others place.
View 3 Replies
View Related
Sep 7, 2010
After a reboot, my PC just hang. It says "insmod : error inserting '/lib/raid456.ko : -1 File exists ..." then followed by a kernel panic. I have tried to boot using rescue mode but it couldn't find any Linux partition, thus no /mnt/sysimage was mounted. It left me at a shell and I'm stuck there.
View 3 Replies
View Related
Mar 4, 2011
I successfully built the sources for 64 bit linux drivers from [URL].... on the 64 bit F14 machine: Linux localhost.localdomain 2.6.35.6-45.fc14.x86_64 #1 SMP Mon Oct 18 23:57:44 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux and got wl.ko:
[Code]...
View 2 Replies
View Related
Feb 4, 2010
i am using Education openSUSE11.1. the binaries like ifconfig,rmmod,insmod are not found... how do i install these binaries?
View 2 Replies
View Related
Jun 5, 2011
1)NOT USING MMCONFIG
2)insmod Error inserting `/lib/raid456.ko` -1 File Exist
Dell PowerEdge T110 with 4sata Controllers with Centos2.6.18-238.9.1.el5xen installed .
Code:
/boot on /dev/md0
/ on /dev/md1 Regards
View 7 Replies
View Related
Jan 16, 2010
insmod: error inserting 'kernel.ko': -1 Invalid parametersI am getting this error when i am try to insert kernel.ko into kernelMy systemfedora 12 with gcc 4.4.2insmod kernel.koinsmod: error inserting 'kernel.ko': -1 Invalid parametersmy program
__________________kernel.c________________________ ___________
#include <linux/module.h> /* Needed by all modules */
#include <linux/kernel.h> /* Needed for KERN_INFO */
[code].....
View 4 Replies
View Related
Mar 11, 2010
I have some problems with CentOS 5.4 and standard kernel 2.6.32.7, which I need for realtime extensions.With the solution in this thread: [URL] I could boot the new standard kernel , There are still two error messages during the boot process:
"insmod: error inserting /lib/dm-region-hash.ko -1 fikle exists"
and a problem with ip-tables "could not restore ip-tables line 20" or so
View 6 Replies
View Related
Sep 13, 2011
I mount a device mount /dev/xvdf /mnt/mongo and verify the mount using df-h:
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 7.9G 955M 6.9G 12% /
tmpfs 299M 44K 299M 1% /dev/shm
/dev/xvdf 20G 589M 19G 4% /mnt/mongo
But now I'm trying to figure out how to make it auto mount on boot. I understand I need to add a new entry to /etc/fstab, so I perform: $ sed -i '$ a/dev/xvdf /mnt/mongo xfs defaults 1 1' /etc/fstab But, after reboot, it seems that the auto mount didn't work. The device didn't appear in the df -h list.
View 2 Replies
View Related
Apr 19, 2010
i think i have found a bug in the unix ACL permissions. I tested this problem in the Ubuntu 9.10 and in SLES 10 and 11, all of them with setfacl 2.2.47.
Well, I have done the following test:
1) Create a folder and set some named user, and set the same ACL entry for the Default ACL, like the following example:
Code:
mkdir dir1
setfacl -m u:rodrigo:rwx dir1/
setfacl -d -m u:rodrigo:rwx dir1/
getfacl dir1/
# file: dir1/
[Code].....
Note that some permissions are different from the ones in the Default ACL in the dir1/
why the file1's permissions are diferrent from the dir1's default ACL entries? Is this a bug?
View 1 Replies
View Related
Feb 11, 2010
I already have LD_LIBRARY_PATH setup in my /etc/profile as:
Code:
export LD_LIBRARY_PATH=/usr/local/lib
Now there is a request to add a new entry for LD_LIBRARY_PATH.
[code].....
View 2 Replies
View Related
Oct 14, 2010
I have a requirement that a job run at a particular time every other Friday. I was wondering if I can configure cron to do this - perhaps using the /step feature? For example, can I do the following?
0 21 * * 5/2 /my/command
If this works, how does it decide when to begin skipping? In other words, where is the first Friday? Is it the first Friday of the Year? of the Month? I would just try it, but it would be an awful long time to wait to see whether or not it is working.
View 1 Replies
View Related
Jun 8, 2010
I have two ide hard disks. One with windows and other with ubuntu 10.04. i want both windows and ubuntu in grub menu so what should i do ?
View 3 Replies
View Related
Jul 20, 2011
I have Recently downloaded Fedora 15.|64bit| & I Think its a very good distro. However I Realised Once My Pc Restarted My Windows 7 Was Removed from my boot entry. I am Not At All familar with Linux, Ive Read millions of forums trying to fix my problem but all has failed.Could someone show me how to add The OS Back or How To Burn A Bootable OS (Win7) Using This Distro Of Linux.
View 10 Replies
View Related
Jun 15, 2010
For some time I have been using Clonezilla to backup/restore linux installations. I would like - instead to USB-key that is always not to be found, to somehow "move" the clonezilla (on a USB stick). What I have tried to is to make a separate partition to install this on, copied all the files on the USB -key to that partition, and then make a new entry in GRUB via yast. Then I point to the new wmlinus and initramfs. I would have been much surprised if something link this was working after first shot. But it was also not working after the 80. shot.
View 3 Replies
View Related
Apr 24, 2010
I have a file of the formcol1, col2, $330,000, col4 ...col1, col2, col3, col4 ..col1, col2, $230,000, col4 ...The comma within the currency value causes the column to display unevenly when I open it so I want to remove it. I think I should be able to use the sed command but I am not sure extactly how. All the values have 3 digits after the $ and before the , so have triedsed -e 's/$[0-9]*,/ but I am not sure how to 'replaced with the string found just without the comma'So two guestions:1. Is this a good way to do it?2. How do I do it
View 8 Replies
View Related
May 24, 2009
I'm new to openSUSE and as a matter of fact, to linux too. I've got a Linksys WUSB600N wireless adapter which used to work fine with some live versions of linux that I was testing out before moving onto suse... Each time, upon booting using live CDs, I used to copy the driver I had downloaded from:
SpeedShare - Download rt2870-kernel-2.6.24-nemesis.tar.bz2
Then 'make' and get into the driver's os/linux directory to load the driver using 'insmod rt2870sta.ko' Now, upon doing a 'make' and 'make install', followed by the 'insmod rt2870sta.ko', I get the error saying:
insmod: error inserting 'rt2870sta.ko': -1 Invalid module format
I tried doing 'modprobe -rv rt2870sta' and didn't get any error messages. But while doing 'modprobe -v', this error shows up: insmod /lib/modules/2.6.27.7-9-default/kernel/drivers/net/wireless/rt2870sta.ko
FATAL: Error inserting rt2870sta (/lib/modules/2.6.27.7-9-default/kernel/drivers/net/wireless/rt2870sta.ko): Invalid module format
View 7 Replies
View Related
Apr 1, 2011
I have the following error on one of my servers. Is there a way to tell which directory is exactly having the problem? if there is, if i delete that directory, will that resolve the problem or no?kernel: EXT2-fs error (device md(9,0)): ext2_check_page: bad entry in directory #10158084: unaligned directory entry - offset=0, inode=605471640, rec_len=7606, name_len=177
View 4 Replies
View Related
Jun 17, 2011
I have looked at the GNU GRUB Manual 1.99 at [URL] but I cannot find an explanation of what the kernel entry / command in the grub.conf file means. I get what's the meaning of that entry but where is described what it actually is and what are proper.
I suppose this entry / command was actual in GRUB Legacy, but I cannot find where it is described...
View 1 Replies
View Related
Apr 20, 2010
I wish to allow a user to use sudo to run a single command (service app status) to determine if my application app is running, in my sudoers file i have: user ALL= /sbin/service app status I understand that there is a parameter called timestamp_timeout that will set the timeout for the 'user', but requires at least 1 entry of the root password.
I wish to allow the user to do "sudo service app status" and not have to enter the root password ever(maybe once is ok), but still make the user enter the root password for all other root activities. Is there a way to prevent the password entry for this command only and no others?
View 3 Replies
View Related
Mar 2, 2011
i installed opensuse 11.3 on sda6 and linux mint 10 on sda8
currently the grub2 appears at start of system and there is no entry for opensuse 11.3
i didn't installed the grub bootloader at time of opensuse installation as then i would be having grub and grub2 both
please tell how to insert the entry of opensuse in grub 2 ?
i want to know which files are to be edited and what has to be inserted to accomplish this task ?
View 2 Replies
View Related
Jun 30, 2010
Is there any software I can use in the Gnome desktop environment on Ubuntu Linux 10.04 that alerts me of a new entry in one of my subscribed feeds, via something visual like a popup, glowing, etc.
View 1 Replies
View Related
May 5, 2010
The *.dbf files (DBase III Plus files) have a header (metadata) and follow with n fixed records. I'd like to make a directory entry (like a symbolic link) that point to the fixed record area into a .dbf file. Is it possible in linux? The request is motivated by access a .dbf file from a Firebird SQL Database using CREATE TABLE EXTERNAL FILE '/tmp/mydbf.dbf' ( ... ); but this command only works on fixed records.
View 1 Replies
View Related
Jan 22, 2011
3.What /etc/exports entry would export a directory named /nfs to all clients on the subnet 192.168.10.0 and give them read-only access?
View 3 Replies
View Related