General :: Modprobe And Lsscsi Commands Are Not Working?
Jun 14, 2010
I have Fedora 2.6.29. When Im trying to laod a kernel module by using modprobe, its throwing an error message 'Module not found'. Also, when I use 'lssci' command to see the list of SCSI devices, this also doesn't work, and throws an error 'Command not found'.
However, I have used insmod to load my module and I am able to see its entry in /proc/scsi/scsi file, but why 'modprobe' and 'lssci' are not working. Is there any way to resolve this problem?
until yesterday night wireless was working fine on openSUSE 11.2 After a reboot, suddenly wireless is not even shown as a possible network medium. In the network manager, the tab with "wireless" is greyed out.After going through many forum posts, here is what all I have tried.Output from various commands:
I guess that driver is not getting loaded since modprobe is giving an error which I mentioned earlier. What could be reason? Did driver crashed? Since this issue cropped up only after I rebooted the machine.
Iam newbi to SUSE, I installed java in my SUSE linux Server edition, So i want to set the path in linux,So i created .bash_profile in in /root path using touch and added the path as "JAVA_PATH". When restart my linux the above command is not working and it show unknown command "JAVA_PATH", I can't able to boot in GUI mode, I can boot only in terminal mode, How to delete the file (.bash_profile in /root) ? And how to add java path in SUSE
I have a problem with the fritz!wlan usb stick. I have installed itth success on another PC by using instructions published here Ndiswrapper - openSUSE.Today I have decided to erase WindowsXP from my wife's computer (that is an identical to the one I use). So I have downloaded the OpenSuse 11.2 DVD and I have performed a completely new installation from DVD.After installation has been executed with success, I have decided to install an internet connection using the istructions above. I told to myself: "it will take 5 minutes, all I must to do is to reply action I have done one month ago... the internet usb-stick is the same, so it will be easy to replicate the process..."I was wrong... When I reach the point where I must "modprobe" the ndiswrapper module I receive what follows:
Code: linux-2n4g:/home/mila/Desktop # modprobe ndiswrapper WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in
My previous experience with Ubuntu desktop (which isn't much) while in the terminal the up key allowed me to see previously entered commands, but I have freshly installed Ubuntu Server Edition and the up key is not allowing me to do so, Is there a way to get this working?
I am trying to get F10 installed on L2 so that I can use the system the same way that I have been using L1 with F8. Specifically, I am using unison (with ssh) to crossload files between the desktop and the laptop. Unison works just fine when executed on the desktop crossloading to the F8 Laptop1. But when trying to do the same on L2, it hangs while trying to contact the server.Attempting to diagnose the problem has led me to ssh.I can use ssh to login to any of my systems from the desktop. E.g.,ssh delta
but attempting to execute a command via ssh simply hangs. E.g.,ssh delta "echo $PATH"
Both ssh login and ssh remote execution work fine when done to the F8 laptop 1.
I have installed tcsh on all systems and my login shell is csh (i.e., tcsh) on all machines.I have spent the better part of the last two days trying to find something but have failed. As far as I can tell, both L1 and L2 are configured identically: firewall disabled selinux disabled and while I have not done a character-by-character comparison of the ssh and sshd configuration files, they appear (visually) to be the same, as shipped with the Fedora distribution.
I need some pointers on where to look for problems, etc.
I've got an annoying problem that 'man' and some other commands do not auto-complete (via TAB). e.g. typing: man rsyn (TAB, TAB, TAB, etc) will not auto-complete to 'man rsync' however, if i 'sudo -s' & then try the above, 'man' auto-completes everytime. (Directories always auto-complete successfully) My ~/.bashrc contains:
Code:
# enable bash completion in interactive shells if [ -f /etc/bash_completion ] && ! shopt -oq posix; then . /etc/bash_completion
I need to run to terminal commands at boot to get my wireless card working, the included drivers with ubuntu dosen't work for my card so I compiled my own broadcom drivers. I am on 9.10 ubuntu. I need these commands ran at boot in order for my wireless to work.
#sudo modprobe lib80211 #sudo insmod wl.ko
I have done these commands as per the readme included with the source files.
# load driver as described above # cp wl.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless # depmod -a
I am working on Ubuntu 9.10.Since last two days there is issue while working with Terminal.Whenever I type a command and press enter it doesnt do anything. command is not executed. I guess its in loop. when I press Ctrl+C then it comes out of loop. this happens with all commands and I am not sure what is the problem.I have reinstalled Terminal but it did not worked.
Now that the xorg.conf file seems to be a thing of the past, where do I put my serverlayout commands etc in order to get the serial touchscreen working? It responds to touchcal but doesn't work in normal use, so I presume it just needs X to be forced into loading it at startup.
I got the following modprobe scripts modprobe -k -q streams what does the -k parameter mean?. is it exist in older modprobe? I don't see -k parameter in recent modprobe.
To enable FDD in F13 I'm using "modprobe floppy" command which is placed inside "/etc/rc.d/rc.local".
Code: [root@dc7100 rc.d]# cat rc.local #!/bin/sh # This script will be executed *after* all the other init scripts. You can put your own initialization stuff in here if you don't want to do the full Sys V style init stuff. touch /var/lock/subsys/local modprobe floppy
In F14 this does not work any more. "modprobe floppy" is effective only when used on the CLI, but nothing happens when inside "/etc/rc.d/rc.local". Where should I place "modprobe floppy" now?
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 !
I've just installed Ubuntu 10.04 on an old PC to make it usable.After some research I was able to get my netgear usb wireless network adapter WG121 to work and connect to the network using ndiswrapper, although at startup I have to open a terminal and type Code: sudo modprobe ndiswrapper before it works. Is there a way to get this to automatically run?
I am running into a problem with a script I have to load the proper ethernet drivers on the script start, but the modprobe command fails.
I don't know exactly what it says but I believe it was something to the effect of "cannot find (x)." Which would be fine if it did it all of the time, but if I ctrl+c out of the script and attempt to do the command manually it works.
Anyone out there know what might be going on? I've been searching google and stackoverload and here and haven't come across anyone else having this issue.
Or better yet, is there a way to have a shell script implement a .rules file for a specific instance?
I've got a problem when I try to use to load modules like when I try : modprobe tun It says : FATAL: Could not load /lib/modules/2.6.32-4-pve/modules.dep: No such file or directory I've checked in my filesystem, the directory 2.6.32-4-pve doesn't exist, instead I have 2.6.39.2.110628 So how could I make modprobe look into the right directory ?
I'm using 10.04 with Gnome and I've just discovered that Kaffeine works with my TV card provided I use the modprobe hack. So I created /bin/dtvfix with the following:
I'm trying to get my RME Digi 96 sound card working and having some trouble, I have been reading through the forums and I'm not sure what I should try. Here is what I have been trying:
I have attached the message.txt, looking at this you can see that the driver is failing:
[ 45.213296] unable to remap memory region 0x0-0x5ffff [ 45.213349] RME Digi96 0000:07:02.0: PCI INT A disabled [ 45.213353] RME Digi96: probe of 0000:07:02.0 failed with error -12
I may be missing a last crucial step while trying to use modprobe to install a module and make it active.The system is Debian (Mint LMDE flavor).The module is for a Realtek wlan driver. Since it appears to be available in the kernel, I chose to try and use it instead of getting into a work-around using ndiswrapper.Here is how I found it..
I am working on research using a USB wireless card (WUSB600N) which works by a driver from Ralink (rt3572). In order to achieve my task, I am trying to modify that driver. One of the ways, I tried to call a function written in different module from that which I am working in. Every thing went fine (make & make install) until the modprobe command when i got (Unknown Symbol) about that function. I tried many ways to solve that problem like; Export_Symbol, and function pointers but, with no results!
I need to access /etc/modprobe.d on an encrypted LVM LUKS partition. I m not sure how to go about it though. Mount usually handles my mounting needs, do I need to decrypt the physical volume first? LIst of commands need would make my day.