On Tue, 20 Nov 2001 [EMAIL PROTECTED] wrote: > Walter: I'have the same problem than you. That's bad!
> I posted several times the following report, > but nobody answered to me. Even worse! :-( > My device is an external (obvious) hard disc (20 Gb) > connected throug USB (also obvious). > > I would like to keep in touch with you to > know any progress on the matter. You're welcome! > ------------------------------------------------- > 1. When formating it (mke2fs), the inode > count, starts very fast (say until 20/40) > and then get very slow. Well, usb (v1) isn't _that_ fast, just max. of 12 Mbit/s, just a bit faster than a regular LAN. Bit I've no idea why mke2fs slows down, not even if that's the case with regular (ide/scsi) drives. > 2. When working with it, the same thing happens. > Usually it works very well (comparable > to a IDE plugged disk), but suddenly > every access to the disk becomes very slow. Can you enable some debug output of your usb driver? Usually set by a module parameter. > And a real problem: > > When I halt or reboot linux, with > the disk mounted, the halt processes > stops at "umounting local filesystems" > until (I guess) a timeout is fired. For me, there is no timeout. Solid frozen. You're lucky. > And then, the following message > > scsi: device set offline - not ready or > command retry failed after bus reset > host 0 channel 0 id 0 lun 0 > > appears, or even this one > > I/O error: dev 08:01, sector 8912952 > EXT2-fs error (device sd(8,1)): ext2_write_inode: ^^^^ I've upgraded to ext3 recently. _That_ really helps if you cannot shutdown cleanly... Do you have a SuSE distribution? 7.3 is available by ftp now, so there is no need to build util-linux and e2fsprogs by yourself anymore. Just get both menitoned rpms from your suse mirror, patch your kernel and convert your ext2 partitions. Anyways, I'd recommend to use journaling filesystem. Having no e2fsck's anymore _is_ a real benefit. > Any idea? Thanks in advance. Well, I do not know if that helps (only if you have SuSE like me), but I've investigated a bit further. I'm running SuSE 7.2 which lacks the /sbin/hotplug the kernel wants to run. Now, SuSE 7.3 provies a hotplug.rpm (ap1) which provides that. An rpm -U hotplug.rpm runs fine, although you need to install the new 7.3 usbutils.rpm (ap1) package as well (the /etc/init.d/hotplug script requires a new version of usbmodules). Please note that installing the hotplug.rpm will _replace_ the current usbmgr package. After installing (rpm -U) both 7.3 hotplug.rpm and usbutils.rpm I decided to reboot to see if the system will come up ok. To my surprise I was able to shutdown, i.e. no freeze this time. I haven't had time to reboot again (as I need a _running_ machine sometimes ;-) to check if the freeze upon shutdown is solved by migrating from usbmgr to hotplug. The migration itself was painless (just had a look at /etc/rc.config.d/hotplug.config) and works fine, no problems. I'll post if my next shutdown freezes again or not. Regards, Walter _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
