umount /proc/bus/usb/ && modprobe -r usbcore??



Hi

I run a mostly-ubuntu system on my dell latitude d820, but pull a few
packages from Sid & compile my kernels from debian sources which I
patch with the suspend2 patches, because suspending to ram and to disk
are both unreliable with the ubuntu kernels.

In recent weeks something has happened that makes suspending
unreliable even with my custom kernels. fortunately suspend2 at least
provides debugging info (unlike the in-kernel swsusp) and the problem
seems to stem from the usb subsystem somehow. THis is wierd, because
I have no usb devices plugged in and I can't detect ANY differences
between the stretches of time when suspending works reliably, and the
increasingly frequent periods when it doesn't work at all. But anyway
for now I'm just trying to confirm that the problem really is related
to usb.

so, I'm trying to modprobe -r all the usb-related modules, but I'm
not able to do this with usbcore;
modprobe -r usbcore
returns "FATAL: Module usbcore is in use."

However, I can unload all the other usb modules and "lsmod" doesn't
show usb being used by anything else. I thought the problem might
have to do with the /proc/bus/usb/ filesystem, and indeed I had
trouble umounting that, but after "umount -l /proc/bus/usb" I still
get the same "FATAL" error.

so I'm just wondering if anyone can tell me what I need to do to
diable the whole usb subsystem before a suspend. obviously
re-enabling itwill be its own issue down the road...

thanks,

matt


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • PROBLEM: no USB functionality with 2.6 kernels on Dell Dimension 4500
    ... There is no USB functionality with 2.6.3 or 2.6.5 kernels on Dell ... Sony and on a new Dell Precision, so I am confident the problem is ... Different ACPI or APIC settings may help. ...
    (Linux-Kernel)
  • Bug report on UHCI driver.
    ... USB works perfectly, but, suddenly, it stops working and dmesg starts ... It also seems to happen faster in 2.4 kernels. ... ParErr- Stepping- SERR+ FastB2B- ... 01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX ...
    (Linux-Kernel)
  • Re: [Fwd: Re: [Linux-usb-users] Fwd: Re: 2.6.17-rc6-mm2 - USB issues]
    ... [PATCH] ... Please let me know how I can progress testing this as I'm currently prevented from using USB with the latest set of kernels on my test server... ... Johny Ågotnes wrote: ...
    (Linux-Kernel)
  • quickcam on 2.6.11 - driver issue
    ... /required for compiling kernels (kgcc is often used in Red Hat ... The driver should be able to handle my type of webcam ... The source is OK - as it detects the correct USB cam through the script ... goes wrong with compiling the driver / module - based on output above. ...
    (Debian-User)
  • Via VT82C597: Possible to get USB to work reliably?
    ... Attached to the usb port is a usb memory pen drive which serves ... newer kernels ~2.6.7 (messages similar to "refusing I/O to device being ... Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)