From nobody@FreeBSD.org  Mon Feb 21 03:58:52 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 227D416A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 21 Feb 2005 03:58:52 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 00F4F43D41
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 21 Feb 2005 03:58:52 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j1L3wpTO046061
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 21 Feb 2005 03:58:51 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j1L3wpaE046060;
	Mon, 21 Feb 2005 03:58:51 GMT
	(envelope-from nobody)
Message-Id: <200502210358.j1L3wpaE046060@www.freebsd.org>
Date: Mon, 21 Feb 2005 03:58:51 GMT
From: Tom Oakes <eoakes@comcast.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ext2fs usb filesystem will not mount RW
X-Send-Pr-Version: www-2.3

>Number:         77826
>Category:       kern
>Synopsis:       [ext2fs] ext2fs usb filesystem will not mount RW
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 21 04:00:47 GMT 2005
>Closed-Date:    Sat Dec 12 16:12:17 UTC 2009
>Last-Modified:  Sat Dec 12 16:12:17 UTC 2009
>Originator:     Tom Oakes
>Release:        4.9 and FreeSBIE(5.3)
>Organization:
PromptMD
>Environment:
FreeBSD freesbie.livecd 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #5: Thu Dec  2 19:22:53 CET 2004     root@athlon.casadamico.net:/usr/obj/usr/src/sys/FREESBIE  i386   

FreeBSD 4.9 on the same hardware does the same thing. I can not get the
uname -a for that version as I can only be booted in one or the other.

>Description:
An attached USB Maxor 160 gig drive is divided into 3 partitions. Partition
1 and 2 are ext2fs and partition 3 is msdos.freesbie@freesbie:~# umount
/mnt/usb.0

freesbie@freesbie:~# mount -t ext2fs  /dev/da0s1 /mnt/usb.0
ext2fs: /dev/da0s1: Operation not permitted
 mount -t ext2fs -r  /dev/da0s1 /mnt/usb.0
mount
..
/dev/da0s3 on /mnt/dos.2 (msdosfs, local)
/dev/da0s1 on /mnt/usb.0 (ext2fs, local, read-only)
freesbie@freesbie:~# mount -uw /dev/da0s1
ext2fs: /dev/da0s1: Operation not permitted

In short the msdos partition will mount read/write but the ext2fs will
only mount read only.

I see the same or a very similar problem using freeBSD 4.9

The ext2 partition mount read/write under Redhat Linux 9.0 sucessfully.

>How-To-Repeat:
Any time I connect the drive to a freeBSD system on this hardware I see
the same problem.
>Fix:
I have not located any fix or reference to this problem searching the internet.
>Release-Note:
>Audit-Trail:

From: tom oakes <eoakes@comcast.net>
To: freebsd-gnats-submit@FreeBSD.org, eoakes@comcast.net
Cc:  
Subject: Re: kern/77826: ext2fs usb filesystem will not mount RW
Date: Mon, 21 Feb 2005 21:12:11 -0700

 The uname for the freebsd 4.9 system:
 abbyBSD-~$ uname -a
 FreeBSD abbyBSD.WORKGROUP 4.9-RELEASE FreeBSD 4.9-RELEASE #1: Sun Feb 15 
 17:14:24 MST 2004     
 root@abbyBSD.WORKGROUP:/usr/src/sys/compile/ABBY_EX2  i386
 abbyBSD-~$
 
 The ext2fs partitions on the system hard disk will mount read/write.
 
 abbyBSD-~$ mount
 /dev/ad0s4a on / (ufs, local)
 procfs on /proc (procfs, local)
 /dev/ad0s1 on /suse (ext2fs, local)
 abbyBSD-~$
 
 
 Booting another computer (normally running windowsXP) from the
 
 freesbie.livecd 5.3-RELEASE-p2 cd, the same Maxor usb disk ext2fs 
 partitions would only mount read only.
 
 I do not have a second usb disk with a partition formated with ext2fs
 
 Tom Oakes
 

From: Aditya Sarawgi <sarawgi.aditya@gmail.com>
To: bug-followup@freebsd.org
Cc: eoakes@comcast.net
Subject: Re: kern/77826: [ext2fs] ext2fs usb filesystem will not mount RW
Date: Sun, 10 May 2009 20:22:32 +0530

 This bug seems to be fixed in 8.0-CURRENT. Maybe the file systems on your usb hard disk has some feature that is only RO only compatible. Please test 
 the bug using 8.0-CURRENT or 7.2-RELEASE.
 
 Cheers,
 Aditya Sarawgi
Responsible-Changed-From-To: freebsd-bugs->freebsd-fs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon May 18 04:32:40 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=77826 
State-Changed-From-To: open->feedback 
State-Changed-By: jh 
State-Changed-When: Mon Nov 2 17:22:10 UTC 2009 
State-Changed-Why:  
Note that submitter has been asked for feedback. 


Responsible-Changed-From-To: freebsd-fs->jh 
Responsible-Changed-By: jh 
Responsible-Changed-When: Mon Nov 2 17:22:10 UTC 2009 
Responsible-Changed-Why:  
Track. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=77826 
State-Changed-From-To: feedback->closed 
State-Changed-By: jh 
State-Changed-When: Sat Dec 12 16:07:26 UTC 2009 
State-Changed-Why:  
Feedback timeout. The problem is not believed to exist in recent FreeBSD 
versions. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=77826 
>Unformatted:
