Ubuntu :: Bug: Ndiswrapper Prevents Mounting Of New USB Device Types?
Aug 24, 2010
I recently noticed a bug with ndiswrapper in Ubuntu 10.4 which would prevent the mounting of new USB device classes. This bug has been noticed somewhere else, in particular in at least one older Ubuntu version, but has been carried over. This doesn't seem to be widely discussed, or the solution worked anecdotally, but the problem is actually more general in nature. At the moment I found a workaround that always works, but I don't have a permanent fix.
The problem kicks in only after ndiswrapper module is loaded into the kernel. Devices of the same USB *types* that were recognized *before* ndiswrapper is loaded will continue to work. For example, an USB memory stick will be mounted fine if an USB hard disk had already been used at some point before ndiswrapper was loaded. However, if one plugs in any other new type of device, for example, an USB mouse, after ndiswrapper is loaded, the new USB device will not be mounted. The workaround solution is to disable ndiswrapper before introducing a new type of USB device by doing:sudo modprobe -r ndiswrapper
Then, plug in the USB device. After it is successfully mounted, do: sudo modprobe ndiswrapper
The corollary is that if ndiswrapper is loaded into the kernel upon boot-up, only USB devices which were present at the boot stage will be recognized. But performing the above kludge will allow new devices to be recognized.It'd be nice if someone can come up with a more elegant fix.
View 3 Replies
ADVERTISEMENT
May 4, 2011
I've recently started using Linux Mint (version 10) on a Dell Mini 1012 netbook. I'm using a loop device to mount a file on a NAS but whenever this loop device is mounted and has been accessed, my machine fails to shutdown.
Firstly I mount a share on the NAS using cifs (the NAS is aimed at Windows machines so doesn't support NFS). I have a sparse file on the share (which I created using Cygwin in Windows, using the dd command).
I used losetup to create a loop device and formatted it as reiserfs.This works and I can successfully use the mount point. I'm using it with Backintime.If I try to shutdown my machine without unmounting the loop device, shutdown hangs.
These messages just keep repeating and the system never shuts down.So I assume the problem is something to do with unmounting the CIFS/loop device.If I unmount the loop device all is fine. I don't need to unmount the cifs share.Any ideas on how to resolve? Should I add a script to run during shutdown (i.e linked from /etc/rc0.d and /etc/rc6.d) to sync and unmount the loop device? Or is there a better solution?
View 1 Replies
View Related
Jul 28, 2010
I have installed live cd on usb pendrive. Everything works great. How can I find out which device driver it is using? Where are the device driver files stored? How do you specify the device driver when mounting a device?
View 3 Replies
View Related
Apr 9, 2011
I would like port 80 to have a small daemon running on it that detects HTTP traffic and sends a small redirect response, and any other traffic begins streaming data from my VPN daemon. I was wondering if this has already been made, or any kind of technology for detecting types of traffic and allowing you to run multiple types of servers on the same port.
View 4 Replies
View Related
Sep 12, 2010
I'm trying to use "netlink" to get ip address of a Linux box. But the linux/types.h included from "linux/rtnetlink.h" introduced many conflicting type declarations with "sys/types.h".
#include <rtnetlink.h>
#include <sys/types.h>
#include <sys/socket.h>
int main (int argc, char *argv[])
{
return 0;
}
The program will demonstrate such type conflicts.
View 3 Replies
View Related
Dec 18, 2010
I have a problem installing mi dlink dlw-g122 wireless usb adapter.I installed the drivers, in fact when executing
ndiswrapper -l
the output is
dr71wu driver present, hardware present
but when I try to execute
modprobe ndiswrapper
I have this error:
FATAL : Error inserting ndiswrapper (/lib/modules/2.6.12.9-386/kernel/drivers/net/ndiswrapper/ndiswrapper.ko): Operation not permetted
View 4 Replies
View Related
Jan 28, 2011
i've patched the source files to be installed on f14 and finally got a succesfull install, ndiswrapper -l comes back with driver installed and presentwhen i run modprobe ndiswrapper i get "FATAL: Module ndiswrapper not found" after many hours of google searching and reading various threads i cannont seem to find a solution to this apart from manualy coping the ndiswrapper.ko file but when i use that solution modprobe starts ndiswrapper but there is no wlan0 present in iwconfig.now for some reason even wheni move the ndiswrapper.ko file manually it still is giving me that error. this worked earlier as i mentioned but then i reinstalled ndiswrapper hoping something went wrong but still got the same error so i tried that same fix and i'm still getting that error. i can't figure out what i migt've done differently earlier but i'm not having any luck.
View 1 Replies
View Related
Sep 1, 2011
I'm using Grsync and I want to be able to plug in any drive into my laptop and run rsync on it to back up all the user documents on there to another external hdd and to exclude everything else. Working on the principle that user documents don't always appear where we'd expect I want rsync to look through the whole drive and filter what it backs up by file type. I am only having partial success, however.
I am using the 'filter' option in the 'additional options' box. I am using the command
Code:
filter='merge /home/tim/Desktop/filter'
and I am attaching the filter file I have written. (I have added the .txt extention to upload it).
I have tested this script on my home folder and here's what's going wrong. Rsync will copy the entire directory structure regardless of whether there are any files to be copied over in those directories. I am also getting only some file types getting included and not others. .odt and .ods files are copied, for instance, but not .doc or .rtf.
View 3 Replies
View Related
Jan 31, 2011
I'm running Lucid with the 2.6.32-28-generic and 2.6.31-11-rt(abogani's ppa) kernels, on a fairly new laptop.When I boot the rt-kernel, right after grub I get a message:Code:mount: mounting none on /dev failed: no such deviceW: devtmpfs not available, falling back to tmpfs for /devThen after a few seconds, I see a lot of fast moving text and then Ubuntu starts just fine.when booting the generic kernel, I don't see any text at all, but it uses just as long time as the rt-kernel, so I guess the problem affects both.
View 5 Replies
View Related
Feb 9, 2010
I use Ubuntu 9.04 I have a problem. I have a file, containing ext2 file system ( mke2fs -F ~/fs.ext2 )Is it possible to mount this file by user (not root) without editing fstab and from terminal?
P.S. Using /dev/loopN is not what I need. Maybe, it's possible to use FUSE, is it?
View 1 Replies
View Related
Nov 14, 2010
Having some troubles mounting my DVD-RW after a reinstall of ubuntu. Now using 10.10.
Code:
root@Johnsky:/# wodim --devices
wodim: Overview of accessible drives (1 found) :
-------------------------------------------------------------------------
0 dev='/dev/scd0'rwrw-- : 'HL-DT-ST' 'DVDRAM GH20NS10'
-------------------------------------------------------------------------
So there's my scd0 sitting pretty.
Trying to mount it.
Code:
root@Johnsky:/# mount -a /dev/scd0 /media/cdrom0
mount: /dev/sr0: unknown device
root@Johnsky:/#
sr0?
Code:
root@Johnsky:/# ls -l /dev/
total 0 .....
Lets try mounting sr0 directly instead.
Code:
root@Johnsky:/# mount -a /dev/sr0 /media/cdrom0
mount: /dev/sr0: unknown device
sr0 is still an unknown device.
I'm thinking when I reinstalled Ubuntu, it made some screwy links between devices. But I have no idea how to resolve this... and there's no point in my mind to adding the DVD-RW to /etc/fstab until I can actually mount it manually to know it mounts successfully. Back when I installed Ubuntu 9.x on this machine, I never had any of these issues. It picked up the DVD-RW automatically, appended it to fstab during installation, and done. But 10.10 seems to be having some troubles my 9.x installation didn't.
View 1 Replies
View Related
Mar 8, 2010
I'm trying to install ubuntu 9.10, downloaded the iso from the site and burned it on a CD, but when I boot from my cdroom drive and choose install ubuntu option I get an ubuntu grey logo for a couple seconds and the I get this error:
I tried downloading a new copy and burning a new CD but still have the same error, no matter what option I choose when booting the CD.
Does anyone now whats the problem? What I'd like to do is install linux as the only OS (formating everything else) not dual boot or anything, I'm new to linux so it'd help if you guys could give me details on how to fix it
I have installed previous versions of ubuntu on this same computer but using the wizard inside windows.
View 2 Replies
View Related
Dec 27, 2010
let's say this system has 3 hard drives. Drive #1 and #2 are RAID 0 and Windows7 lives there. It is a hardware RAID, not software.
On Drive #3 Ubuntu has been installed using WUBI - it boots up and works okay - but it does not see the RAID array.
Do I just need a linux driver to be able to see & mount my "Windows" RAID0 array? Or is this even possible? Can anyone point me in the right direction?
View 1 Replies
View Related
Jun 1, 2010
So I am using a debian 5.0.4 version of Linux with a command-line interface (the bash shell).I have been trying to get my usb device to be readable, which I suppose means I need to run a mount command like mount -t usbfs /dev/usb /media/usb But I have not had any luck getting to access my usb drive...I run lsusb and find that it is attached, I can find it in the /proc directory, but I cannot access my usb drive
View 2 Replies
View Related
Mar 30, 2010
when I login as a user and went to KDE environment, I wasn't able to mount a device because access was denied. What is the best way to achieve this?
View 2 Replies
View Related
Jun 17, 2010
I posted a similar problem sometime last week...but a little has changed(mainly I can access my files now): I recently performed the auto upgrade to Ubuntu 10.04 and upon restart of my machine I am presented with 3 screens. The first is a simple "GRUB loading". The second is "mount: mounting none on /dev failed: no such device". The third screen is a series of initializations, i.e. /dev/sda1:
clean, (number of files), (number of blocks)
*setting preliminary keymap...
and so on until it hits the line:
*checking battery status
at which point it will cease loading until i press the power button. The next thing that occurs is it kills all the processes it just initialized and shuts down the computer. I read that this is likely a problem from loading the wrong kernel and I can get into my files (using a boot 9.10 boot key). The problem is I don't know what files to change in order to get my system booting the right kernel.
View 9 Replies
View Related
Feb 13, 2011
I recently had one of my computers motherboard die and so I moved the hard drive to another linux machine so I could access the data. The hard drive is installed correctly and I've mounted several logical volumes on the drive ok, but I'm having trouble with the two volumes which were encrypted. The LVM Gui in Fedora is ignorant to any encrypted LVMs so I looked around to see if others have solved this problem and found the following command:
# cryptsetup luksOpen /dev/vg_delldesk/lv_home luks-fedora
My Logical volume container is vg_delldesk and the encrypted volume is lv_home - when I execute this command I get the following error:
Device /dev/vg_delldesk/lv_home is not a valid LUKS device.
I have access to the root partition from the old box so the config files are there to reference the old setup if needed. My current box is Fedora 14 x_64, I have dm_crypt mod installed in the kernel as well.
View 3 Replies
View Related
Mar 24, 2009
configure my raid devices so it can be started and mounted at start-up.
View 1 Replies
View Related
Jun 20, 2011
I have written a script to take backup of my database in remote server which is a windows machine.i have mounted that machine to my server using the script and daily script will run automatically, i have scheduled it using crontab like that and backup will be taken. but if my remote server is down means it gets unmounted and my backup falls on my local linux server itself. i want a script to check whether the remote server is mounted or not if mounted take the backup or else stop the backup.
View 2 Replies
View Related
Jan 18, 2010
actually we are using samba and that it was mounted in usb device which is read/write mode for sharing a file to all the system,it was properly working in half an hour,then after that it was automatically changed in read mode .if this problem occurs we are going to reboot the system then the problem will be resolved.
View 1 Replies
View Related
Oct 15, 2010
I have a 1TB external HDD which I use to store my music library of roughly 40 gigs. Therefore I would normally import music directly from it to my Rhythmbox library while keeping everything stored on the removable drive. In recent versions of Rhythmbox this is no longer needed as the application integrates my external HDD into the side pane and lists the music automatically. This is great although when closing Rhythmbox and reopening it, the drive has to be scanned all over again. This is a huge pain when it has to scan through 40+ gigs of music.
Therefore I would like this feature disabled and removed from my side pane. It is not needed and causes quite a large annoyance. Either I want it removed or the ability to keep the index of music from the drive in Rhyrhmbox at all times. Achieving this would be fantastic and would switch me back to Rhythmbox. recently I have been using Exaile which I love but rhythmbox not working bugs me.
View 1 Replies
View Related
Jan 14, 2011
How do I go about mounting a device if I don't know the file system type (e.g ext3, NTFS)?
View 4 Replies
View Related
Nov 22, 2009
I am currently using opensuse 11.2 with kde 4.3.1. I am having a problem when I connect my samsung R450. It will not mount or show up as a usable device in either Dolphin, Amarok, or on the device notifier. I have tried manually mounting but I get an error saying it cannot find such device. I did not have any issues using it in 11.1 with KDE 4.2. It is being recognized by my system, but not allowing it to show up as a storage device or being mounted.
output of dmesg:
PHP Code:
output of lsusb:
PHP Code:
When I shut of the usb mass storage on the samsung R450 it switches to modem and is properly detected and usable as modem by my system.I don't have any other problems with other usb devices, such as a digital camera or flash drives, so I don't know if I just missing a system setting or configuring something wrong.
View 9 Replies
View Related
Apr 11, 2011
I'm trying to use the most-base install of opensuse 11.4 and so i'm using the text-only interface. I looked up some guides on using the 'mount' command but I'm encountering problems. I tried doing.
mkdir /tmp/flash
su
mount /dev/sdb /tmp/flash
but first off, I don't even know if sdb is my flash device, there's ~60 things in my /dev/ directory, and ~10 things that look like 'sdb' but I try anyway, and I generally get an error telling me that either /dev/sdb is busy, or /tmp/flash is busy but I wanted to check here and clarify first, how do I even know which /dev/ item is my flash drive? When I plug in my flash drive, no less than 3 new entries appear in /dev/ so, I'm a little confused. What do I do?
View 6 Replies
View Related
Jun 18, 2010
my friend using XP and it was closed because he didnt activate it . he want to try Linux , i adviced him to use UBUNTU 10.10, but after we order the boot we got a loading screen for ubuntu then this error appeared
Quote: busybox v1.15.3 ( ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash) enter 'help' for a list of built-in commands. (initramfs) stdin :I/O error mount: mounting /dev/loop0 on //filesystem.squashfs faild: no such device can not mount /dev/loop0 (/cdrom/casper filesystem.squashfs) on //filesystem.squashfs udevd[75]: worker [171] unexpectedly returned with status 0x0100 udevd[75]: worker [171] failed while handling ' /devices/virtual/block/loop0'
i change the cd to another one but an error was changed to :.............
View 7 Replies
View Related
May 2, 2010
I have created a logical partition (/dev/sda5) and have formatted it with an ext3 filesystem and given it the label PHOTOS.
# mkfs.ext3 -L PHOTOS /dev/sda5
If I mount it to my /PHOTOS directory manually, it does so correctly. However, when I try to automount, it gives me this message:
# mount -a
mount: special device PHOTOS does not exist
I've entered this line in my fstab file:
PHOTOS/dev/sda5ext3defaults0 0
I'm just not sure what's happening; I've never had trouble mounting a filesystem before. Oh and it's a RHEL 5 installation.
View 2 Replies
View Related
Oct 26, 2009
I was looking at the root filesystem folder for mounting a device when I noticed extra folders. I'm using an encrypted filesystem so I'm not sure if it's that, a break in or the default Red Hat layout. I searched these forums and Google to no avail on extra folders. The root system contains the following:
bin {fda00e13-8c62-4f63-9d19-d168115b11ca} media opt selinux usr
boot home misc proc srv var
dev lib mnt root sys
etc lost+found net sbin tmp
View 3 Replies
View Related
Nov 7, 2010
my friend using XP and it was closed because he didnt activate it . he want to try Linux , i adviced him to use UBUNTU 10.10 ,but after we order the boot we got a loading screen for ubuntu then this error appeared
[code]...
also , the labtop cannot boot from usb coz no option for that in BIOS. what can i do to solve each problems?
View 2 Replies
View Related
Apr 13, 2011
Recently I installed a Linux distro (Pardus) which boots using initramfs. I am completely novice here. In the former configuration I used lilo to boot OpenBSD, Debian and W2k (it is easy for me to configure lilo to boot OpenBSD). But initramfs is a something completely new for me. As I understand it is a virtual file system with a standard directory tree and the information stored on that system is used (to boot the kernel?) to mount the true (physical) root device. The first question is how to properly describe a system (kernel image) booted with initramfs in the lilo.conf.
View 7 Replies
View Related
Dec 5, 2010
The error message I keep getting during mounting is:-
device-mapper: remove ioctl failed: Device or resource busy
This is from ane external USB HDD I use as a backup device. I've tried formatting it as ext4 ane encrypting it from the command line
# mkfs.ext4 /dev/sdc1
# cryptestup luksFormat /dev/sdc1
which run without errors but an attempt to mount throws up the above error as well as saying - you must specify the file type (tried that) - and fails to mount. I've tried using YaST to format and encrypt it which throws up the same error when I run mount but actually does actually mount the filesystem Googling around has brought up info saying that it's probably a race condition brought on by invalid udev rules. I've got a (mostly) working system and the udev rules documentation leaves more confused than when I started.
View 8 Replies
View Related