Hello

On a single-pentium3 machine with kernels 2.4.20 and 2.4.21-pre6 and 
a NEC USB2.0 controller, the usb-storage module does not unload clean
under certain circumstances. 

When I do everything by hand, it works fine. When I do it inside a 
backup skript, the usb-storage module does not unload cleanly:

        Module                  Size  Used by    Not tainted
        sd_mod                 10812   0  (autoclean)
    ->  usb-storage                0   0  (deleted)
        usb-uhci               21188   0  (unused)
        usb-ohci               16192   0  (unused)
        ehci-hcd               14880   0  (unused)
        usbcore                54560   1  [usb-storage usb-uhci usb-ohci ehci-hcd]
        scsi_mod               91736   2  [sd_mod]

The relevant part of the (really simple) shell skript that is run by
root per cron is:
          ...
          sync; sync; sync
          sleep 2
          umount $BACKUPDIR
          sleep 2
          rmmod usb-storage
          sleep 2
          /etc/init.d/hotplug stop
          sleep 2

Can anybody help me?

bye,

-christian-

---------------------------further tech details------------------------

The last dmesg lines are:
   scsi0 : SCSI emulation for USB Mass Storage devices
     Vendor: Maxtor    Model: 3000LE v01.00.00  Rev: 0100
     Type:   Direct-Access                      ANSI SCSI revision: 02
   WARNING: USB Mass Storage data integrity not assured
   USB Mass Storage device found at 2
   USB Mass Storage support registered.
   Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
   SCSI device sda: 240119808 512-byte hdwr sectors (122941 MB)
    sda: sda1
   kjournald starting.  Commit interval 5 seconds
   EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,1), internal journal
   EXT3-fs: mounted filesystem with ordered data mode.
   usb.c: deregistering driver usb-storage

The lspci output:
  00:00.0 Host bridge: VIA Technologies, Inc. VT8605 [ProSavage PM133] (rev 81)
  00:01.0 PCI bridge: VIA Technologies, Inc. VT8605 [PM133 AGP]
  00:04.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 22)
  00:04.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 10)
  00:04.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 10)
  00:04.3 USB Controller: VIA Technologies, Inc. UHCI USB (rev 10)
  00:04.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 30)
  00:10.0 USB Controller: NEC Corporation USB (rev 41)
  00:10.1 USB Controller: NEC Corporation USB (rev 41)
  00:10.2 USB Controller: NEC Corporation: Unknown device 00e0 (rev 02)
  00:11.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 30)
  01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200 AGP (rev 03)


-- 
Christian Hammers             WESTEND GmbH  |  Internet-Business-Provider
Technik                       CISCO Systems Partner - Authorized Reseller
                              L�tticher Stra�e 10      Tel 0241/701333-11
[EMAIL PROTECTED]                D-52064 Aachen              Fax 0241/911879



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to