Bug 127487

Summary: EXT3 - repeated mounts and unmounts on usb-storage device
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Parag Warudkar <paragw>
Component: BasesystemAssignee: Danny Kukawka <dkukawka>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: dkukawka
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: HALD Log as asked
/proc/mounts

Description Parag Warudkar 2005-10-11 03:40:33 UTC
Attached scsi disk sdb at scsi2, channel 0, id 0, lun 0  
Attached scsi generic sg1 at scsi2, channel 0, id 0, lun 0,  type 0  
usb-storage: device scan complete  
kjournald starting.  Commit interval 5 seconds  
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended  
EXT3 FS on sdb2, internal journal  
EXT3-fs: mounted filesystem with ordered data mode.  
NTFS volume version 3.1.  
kjournald starting.  Commit interval 5 seconds  
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended  
EXT3 FS on sdb2, internal journal  
EXT3-fs: mounted filesystem with ordered data mode.  
NTFS volume version 3.1.  
kjournald starting.  Commit interval 5 seconds  
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended  
EXT3 FS on sdb2, internal journal  
EXT3-fs: mounted filesystem with ordered data mode.  
kjournald starting.  Commit interval 5 seconds  
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended  
EXT3 FS on sdb2, internal journal  
EXT3-fs: mounted filesystem with ordered data mode.  
kjournald starting.  Commit interval 5 seconds  
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended  
EXT3 FS on sdb2, internal journal  
EXT3-fs: mounted filesystem with ordered data mode.  
ISO 9660 Extensions: Microsoft Joliet Level 3  
ISO 9660 Extensions: RRIP_1991A  
kjournald starting.  Commit interval 5 seconds  
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended  
EXT3 FS on sdb2, internal journal  
EXT3-fs: mounted filesystem with ordered data mode.  
kjournald starting.  Commit interval 5 seconds  
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended  
EXT3 FS on sdb2, internal journal  
EXT3-fs: mounted filesystem with ordered data mode.  
  
I have ext3 filesystem on a USB Storage device. The filesystem continously  
gets unmounted and mounted for no reason.  
 
SusE 10.0 Kernel 2.6.13-15-default all updates applied.
Comment 1 Parag Warudkar 2005-10-11 03:55:48 UTC
(In reply to comment #0) 
If  I kill both udevd and hald the madness stops. No more remounts. Something 
in udev is busted or may be hald. 
Comment 2 Hubert Mantel 2005-10-11 11:24:42 UTC
Not a kernel problem.
Comment 3 Danny Al-Gaaf 2005-10-15 20:54:57 UTC
What say 'cat /proc/mounts'. Did you tried to run e2fsck? Please do this:

- rchal stop and remove the usb-storage
- hald --retain-privileges --verbose=yes --daemon=no > /tmp/hald_log 2>&1
- wait 10 seconds
- insert the usb-storage
- wait 1 minute
- exit/stop with Ctrl+C
- attach the file /tmp/hald_log to this bug
Comment 4 Parag Warudkar 2005-10-16 02:09:25 UTC
Created attachment 54207 [details]
HALD Log as asked
Comment 5 Parag Warudkar 2005-10-16 02:12:23 UTC
Created attachment 54208 [details]
/proc/mounts
Comment 6 Parag Warudkar 2005-10-16 02:14:42 UTC
I hadn't run e2fsck yet - do you think it has something to do with the problem? If  so I will run fsck and recheck. Thanks.
Comment 7 Danny Al-Gaaf 2005-10-17 09:38:22 UTC
1. are there messages from hald-subfs-mount in /var/log/messages ? If so, please attach them to the bug.

2. stop hal, umount the device and run e2fsck
3. stop hal and try to mount manually the device. Works that way?
Comment 8 Hannes Reinecke 2005-10-17 10:17:32 UTC
Looks more like a HAL issue -> reassigning.
Comment 9 Danny Al-Gaaf 2005-10-23 22:25:27 UTC
Any news or the needed infos? Or can I close the bug? 
Comment 10 Parag Warudkar 2005-10-24 02:48:11 UTC
In reply to #7 -

No it doesn't seem to work after performing the mentioned steps. I still get unnecessary remounts. Also, there are boat load of log messages in /var/log/messages - what are you looking for, what should I search for?

And I didn't understand why you wanted to close it - Even if it would have worked after doing e2fsck - the rapid remounts are clearly a bug worth fixing.

Thanks
Comment 11 Danny Al-Gaaf 2005-10-24 09:11:41 UTC
I wouldn't close the bug, but this was the way to get respones as I see. 

As I wrote: attach the part of /var/log/messages since you plugin the device if there a messages from 'hald-subfs-mount'.
Comment 12 Danny Al-Gaaf 2005-11-02 13:35:43 UTC
Close the bug now, because I don't get the requested and needed information from comment #7 (point 1.) and #11