Alan Stern said the following on 11/13/2007 07:19 AM: > On Tue, 13 Nov 2007, Steve Kelem wrote: > >> I have a USB hard drive that I'm trying to use with Linux. >> It does mount, but it takes 30 seconds! >> When I type: >> % ls /media/usbdrive >> /var/log/messages says: >> Nov 13 00:05:34 laptop kernel: ReiserFS: sda1: found reiserfs format >> "3.6" with standard journal >> Nov 13 00:06:05 laptop kernel: ReiserFS: sda1: using ordered data mode >> Nov 13 00:06:05 laptop kernel: ReiserFS: sda1: journal params: device >> sda1, size 8192, journal first block 18, max trans len 1024, max batch >> 900, max commit age 30, max trans age 30 >> Nov 13 00:06:05 laptop kernel: ReiserFS: sda1: checking transaction log >> (sda1) >> Nov 13 00:06:05 laptop kernel: ReiserFS: sda1: Using r5 hash to sort >> names >> Nov 13 00:06:05 laptop udevd[2311]: get_netlink_msg: no ACTION in >> payload found, skip event 'mount' >> Nov 13 00:06:08 laptop udevd[2311]: get_netlink_msg: no ACTION in >> payload found, skip event 'umount' >> >> and then the drive is unmounted! >> I don't always have this drive plugged in, so I don't want a permanent >> automount in /etc/fstab, but having to wait 30 seconds for an "ls" is >> horrible. >> >> Any idea of what's wrong? > > Possibly some error occurs, the system waits during a 30-second > timeout, and then the disk is reset. > > What shows up in the output from dmesg after you mount the filesystem? > > Alan Stern dmesg has less info than /var/log/messages: SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC= SRC=192.168.111.153 DST=192.168.1.255 LEN=139 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=631 DPT=631 LEN=119 ReiserFS: sda1: found reiserfs format "3.6" with standard journal SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC= SRC=192.168.111.153 DST=192.168.1.255 LEN=124 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=1054 DPT=111 LEN=104 SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC= SRC=192.168.111.153 DST=192.168.1.255 LEN=135 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=631 DPT=631 LEN=115 ReiserFS: sda1: using ordered data mode ReiserFS: sda1: journal params: device sda1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 ReiserFS: sda1: checking transaction log (sda1) ReiserFS: sda1: Using r5 hash to sort names
% tail /var/log/messages Nov 13 08:57:00 kelem-laptop kernel: ReiserFS: sda1: found reiserfs format "3.6" with standard journal Nov 13 08:57:29 kelem-laptop kernel: ReiserFS: sda1: using ordered data mode Nov 13 08:57:29 kelem-laptop kernel: ReiserFS: sda1: journal params: device sda1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 Nov 13 08:57:29 kelem-laptop kernel: ReiserFS: sda1: checking transaction log (sda1) Nov 13 08:57:30 kelem-laptop kernel: ReiserFS: sda1: Using r5 hash to sort names Nov 13 08:57:30 kelem-laptop udevd[2322]: get_netlink_msg: no ACTION in payload found, skip event 'mount' ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users