https://bugs.dragonflybsd.org/https://bugs.dragonflybsd.org/favicon.ico?16293952082012-11-15T15:05:53ZDragonFlyBSD bugtrackerDragonFlyBSD - Bug #2454: Kernel Panic accessing ext2fshttps://bugs.dragonflybsd.org/issues/2454?journal_id=110952012-11-15T15:05:53Ztuxillo
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li></ul><p>Grab</p> DragonFlyBSD - Bug #2454: Kernel Panic accessing ext2fshttps://bugs.dragonflybsd.org/issues/2454?journal_id=111112012-11-19T23:16:15Ztuxillo
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Feedback</i></li><li><strong>Assignee</strong> set to <i>tuxillo</i></li></ul><p>Fix pushed, commit 5f4f1383e0706850f4d42e49fc37813cf7943539</p> DragonFlyBSD - Bug #2454: Kernel Panic accessing ext2fshttps://bugs.dragonflybsd.org/issues/2454?journal_id=111122012-11-20T01:53:58Zskylarhawk
<ul></ul><p>mount_ext2fs now lets me mount the filesystem ro, and everything seems to work fine.</p>
<p>However, I am now unable to mount the filesystem r/w, however the output I receive seems to indicate that this is the intended behavior.</p>
<p>copying relevant chat messages</p>
<p>16:39 <@tuxillo> try a r/w mount and see what it says<br />16:42 <@tuxillo> skylrhawk: write anything you need in privmsg<br />16:46 < skylrhawk> tuxillo: uploading dmsg to pastebin<br />16:47 < robg> how did you mount the filesystem skylrhawk?<br />16:48 < skylrhawk> ---> mount_ext2fs /dev/da0s7 /mnt<br />16:48 < skylrhawk> dmesg --> <a class="external" href="http://pastebin.com/R8W5VLDc">http://pastebin.com/R8W5VLDc</a><br />16:48 < skylrhawk> last line is generated from me trying to mount it<br />17:02 <@swildner> skylrhawk: so yeah, what it says<br />17:03 <@swildner> #define EXT2_FEATURE_RO_COMPAT_SUPP EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER<br />17:03 <@swildner> i think with this, we only support r/o mounting</p>
<p>17:11 < skylrhawk> but the bug I submitted was that it was giving me kernel panic on mount, and previously it let me mount r/w, but now I am unable to mount r/w and for r/o, everything goes smoothly<br />17:11 < skylrhawk> so I think that's a fair solution<br />17:12 <@swildner> hmm?<br />17:12 < skylrhawk> well, to correct myself, it would let me mount, but not do file ops<br />17:12 < skylrhawk> <a class="external" href="http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5f4f1383e0706850f4d42e49fc37813cf7943539">http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5f4f1383e0706850f4d42e49fc37813cf7943539</a><br />17:12 <@swildner> it let you mount r/w before?<br />17:12 < skylrhawk> didn't seem to care<br />17:12 < skylrhawk> but then again, I couldn't touch it<br />17:12 < skylrhawk> so...<br />17:13 <@swildner> was the fs created with the sparse superblock feature?<br />17:14 < skylrhawk> I don't actually know<br />17:14 <@swildner> (note i have no clue about ext2, so my questions about it might sound dumb)<br />17:14 <@swildner> ok<br />17:14 < skylrhawk> created in obsd using newfs.ext2 /dev/sdaj<br />17:14 < skylrhawk> so default as far as I know<br />17:15 <@swildner> does "file - </dev/da0s7" show it?<br />17:17 < skylrhawk> "/dev/stdin: Linux rev 1.0 ext2 filesystem data, UUID=blahblahbla (large files)" <br />17:20 <@swildner> hm large files.. maybe i'm reading the code wrong and large files is what it doesn't like for r/w<br />17:20 <@swildner> not sure<br />17:21 <@swildner> weird though it would survive the mount before tuxillo's change<br />17:21 < skylrhawk> I don't really know either<br />17:37 <@vsrinivas> our ext2 works okay if no fancy features are used.<br />17:37 <@vsrinivas> (no dir_index, sparse super, etc...)<br />17:38 <@swildner> he has "large files" and it will mount r/o only<br />17:38 <@vsrinivas> :(<br />17:38 <@vsrinivas> ok, largefiles should've worked.<br />17:38 <@swildner> really<br />17:38 <@vsrinivas> think so....<br />17:38 < skylrhawk> ┐( ̄ー ̄)┌<br />17:39 <@vsrinivas> but no other new feature bits must have been on.<br />17:40 <@vsrinivas> dumpe2fs /dev/whatever | grep 'Filesystem features'<br />17:43 < skylrhawk> I only get one line: "Filesystem features: large_file" <br />17:43 <@swildner> ok<br />17:45 <@vsrinivas> hmm. weird, i think that should work, gonna try something w/ it. (thanks!)</p> DragonFlyBSD - Bug #2454: Kernel Panic accessing ext2fshttps://bugs.dragonflybsd.org/issues/2454?journal_id=118522014-02-24T22:46:52Ztuxillo
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/11852/diff?detail_id=1552">diff</a>)</li><li><strong>Category</strong> set to <i>VFS subsystem</i></li><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li><li><strong>Target version</strong> set to <i>3.8</i></li></ul><p>Hi,</p>
<p>Panic reported was fixed. To know more on how to use ext2fs on DragonFly BSD, check this:</p>
<p><a class="external" href="http://lists.dragonflybsd.org/pipermail/users/2014-February/090536.html">http://lists.dragonflybsd.org/pipermail/users/2014-February/090536.html</a></p>
<p>Closing this one.</p>
<p>Cheers,<br />Antonio Huete</p>