Dear jfs developers.
I used lastest jfs(1.1.4) with linux-2.4.18 to Arm based machine.

Deleting files, JFS is corrupted with below Oops message.


Program received signal SIGSEGV, Segmentation fault.

txLog (log=0xc3c15380, tblk=0xc4000150, cd=0xc3c5be9c) at
jfs_txnmgr.c:1338

lrd->log.redopage.fileset = cpu_to_le32(JFS_IP(ip)->fileset);


and 

 

Program received signal SIGSEGV, Segmentation fault.

0xc00c5380 in remove_from_hash (mp=0xc03f0108, hash_ptr=0xc03f8000)

    at jfs_metapage.c:258

258                     assert(*hash_ptr == mp);


I guess something wrong on the log structure. I have tried to make it
but failed.

So, I have no idea.

May I ask what is the problem and how can I fix that?

Or there are anybody using jfs with ARM machine?

Thank you for your kind reading and Have a nice day.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:jfs-discussion-
[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
124.ibm.com
Sent: Wednesday, March 10, 2004 2:02 AM
To: [EMAIL PROTECTED]
Subject: Jfs-discussion digest, Vol 1 #495 - 9 msgs

Send Jfs-discussion mailing list submissions to
        [EMAIL PROTECTED]

To subscribe or unsubscribe via the World Wide Web, visit
        http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-
discussion

or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Jfs-discussion digest..."


Today's Topics:

   1. Re: jfs does not mount (Zeno R.R. Davatz)
   2. Re: jfs does not mount (Zeno R.R. Davatz)
   3. Phase 7 Errors detected in Fileset File/Directory Allocation Map
       control information (Zeno R.R. Davatz)
   4. Re: Phase 7 Errors detected in Fileset File/Directory Allocation
Map control information (Per Jessen)
   5. Re: Phase 7 Errors detected in Fileset
       File/Directory Allocation Map control information (Dave Kleikamp)
   6. Re: Phase 7 Errors detected in Fileset
       File/Directory Allocation Map control information (Zeno R.R.
Davatz)

--__--__--

Message: 1
Date: Tue, 9 Mar 2004 10:07:32 +0100
From: "Zeno R.R. Davatz" <[EMAIL PROTECTED]>
To: "[EMAIL PROTECTED]"
 <[EMAIL PROTECTED]>
Subject: Re: [Jfs-discussion] jfs does not mount
Organization: ywesee - intellectual capital connected

Hi 

Thanks for all the kind replys.

I downloaded the latest gentoo-Universal CD. 

When I do mount /dev/hda3 /mnt/gentoo I get:
jfs_mount: Mount Failure: File System Dirty.
Mount JFS Failure: -22
jfs_mount failed w/return code = -22

What shall I do now?

Thanks for your Feedback.

Zeno

On Mon, 08 Mar 2004 19:59:56 -0800
"Sumit Narayan" <[EMAIL PROTECTED]> wrote:

> I guess you can download the latest kernel, enable JFS in it, and
then 
> mount. It should mount easily then.
> 
> --Sumit
> 
> ----------------------------------------------------------------------
--------
> Math Problem? Call : 1- 800 - (sin^2*e/ln x) - log(x+y/e^5)
> 
> 
> >From: "Zeno R.R. Davatz" <[EMAIL PROTECTED]>
> >To: "[EMAIL PROTECTED]" 
> ><[EMAIL PROTECTED]>
> >Subject: Re: [Jfs-discussion] jfs does not mount
> >Date: Mon, 8 Mar 2004 14:35:50 +0100
> >
> >On Mon, 08 Mar 2004 14:24:59 +0100
> >"Per Jessen" <[EMAIL PROTECTED]> wrote:
> >
> > > On Mon, 8 Mar 2004 08:57:15 +0100, Zeno R.R. Davatz wrote:
> > >
> > > >mount /dev/hda3 /mnt/gentoo
> > > >
> > > >But then mount tells me it could not mount the jfs on
/mnt/gentoo.
> > > >It say bad superblock, wrong fs or to many mounted file systems.
> > > >Any hints why I can not mount jfs when I boot from a Gentoo CD?
> > >
> > > 1) Either specify '-t jfs' when you mount or
> > > 2) add 'jfs' to /etc/filesystems
> >Ok, thanks. I believe JFS is not on the Gentoo CD in Kernel (And
somehow 
> >the newest Gentoo CD's won't boot).
> >
> >Thanks
> >Zeno
> >_______________________________________________
> >Jfs-discussion mailing list
> >[EMAIL PROTECTED]
> >http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-
discussion
> 
> _________________________________________________________________
> Find things fast with the new MSN Toolbar ? includes FREE pop-up
blocking! 
> http://clk.atdmt.com/AVE/go/onm00200414ave/direct/01/
> 
> 


-- 
Mit freundlichen Gr?sen / best regards

Zeno Davatz
Verkauf & Akquisition

+41 1 350 85 86

www.ywesee.com > intellectual capital connected > www.oddb.org

--__--__--

Message: 2
Date: Tue, 9 Mar 2004 10:11:20 +0100
From: "Zeno R.R. Davatz" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: [Jfs-discussion] jfs does not mount
Organization: ywesee - intellectual capital connected

On Tue, 9 Mar 2004 10:07:32 +0100
"Zeno R.R. Davatz" <[EMAIL PROTECTED]> wrote:

> Hi 
> 
> Thanks for all the kind replys.
> 
> I downloaded the latest gentoo-Universal CD. 
> 
> When I do mount /dev/hda3 /mnt/gentoo I get:
> jfs_mount: Mount Failure: File System Dirty.
> Mount JFS Failure: -22
> jfs_mount failed w/return code = -22
ok, fsck.jfs done the rest.

Thanks again.

Zeno
PS: Great weather today in Zurich. ;-)

> 
> What shall I do now?
> 
> Thanks for your Feedback.
> 
> Zeno
> 
> On Mon, 08 Mar 2004 19:59:56 -0800
> "Sumit Narayan" <[EMAIL PROTECTED]> wrote:
> 
> > I guess you can download the latest kernel, enable JFS in it, and
then 
> > mount. It should mount easily then.
> > 
> > --Sumit
> > 
> > --------------------------------------------------------------------
----------
> > Math Problem? Call : 1- 800 - (sin^2*e/ln x) - log(x+y/e^5)
> > 
> > 
> > >From: "Zeno R.R. Davatz" <[EMAIL PROTECTED]>
> > >To: "[EMAIL PROTECTED]" 
> > ><[EMAIL PROTECTED]>
> > >Subject: Re: [Jfs-discussion] jfs does not mount
> > >Date: Mon, 8 Mar 2004 14:35:50 +0100
> > >
> > >On Mon, 08 Mar 2004 14:24:59 +0100
> > >"Per Jessen" <[EMAIL PROTECTED]> wrote:
> > >
> > > > On Mon, 8 Mar 2004 08:57:15 +0100, Zeno R.R. Davatz wrote:
> > > >
> > > > >mount /dev/hda3 /mnt/gentoo
> > > > >
> > > > >But then mount tells me it could not mount the jfs on
/mnt/gentoo.
> > > > >It say bad superblock, wrong fs or to many mounted file
systems.
> > > > >Any hints why I can not mount jfs when I boot from a Gentoo CD?
> > > >
> > > > 1) Either specify '-t jfs' when you mount or
> > > > 2) add 'jfs' to /etc/filesystems
> > >Ok, thanks. I believe JFS is not on the Gentoo CD in Kernel (And
somehow 
> > >the newest Gentoo CD's won't boot).
> > >
> > >Thanks
> > >Zeno
> > >_______________________________________________
> > >Jfs-discussion mailing list
> > >[EMAIL PROTECTED]
> > >http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-
discussion
> > 
> > _________________________________________________________________
> > Find things fast with the new MSN Toolbar _ includes FREE pop-up
blocking! 
> > http://clk.atdmt.com/AVE/go/onm00200414ave/direct/01/
> > 
> > 
> 
> 
> -- 
> Mit freundlichen Gr?sen / best regards
> 
> Zeno Davatz
> Verkauf & Akquisition
> 
> +41 1 350 85 86
> 
> www.ywesee.com > intellectual capital connected > www.oddb.org
> _______________________________________________
> Jfs-discussion mailing list
> [EMAIL PROTECTED]
> http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-
discussion
> 


-- 
Mit freundlichen Gr?sen / best regards

Zeno Davatz
Verkauf & Akquisition

+41 1 350 85 86

www.ywesee.com > intellectual capital connected > www.oddb.org

--__--__--

Message: 3
Date: Tue, 9 Mar 2004 11:15:17 +0100
From: "Zeno R.R. Davatz" <[EMAIL PROTECTED]>
To: "[EMAIL PROTECTED]"
 <[EMAIL PROTECTED]>
Organization: ywesee - intellectual capital connected
Subject: [Jfs-discussion] Phase 7 Errors detected in Fileset
File/Directory Allocation Map
 control information

Hi

My HDD with jfs does not want to get mounted.

I do fsck.jfs -f and I get:
Phase 1-6 ok
Phase 7: Errors detected in the Fileset File/Directory Allocation Map
control information
Phase 8: Incorrect data detected in disk allocation structures and
control structures
File System  checked READ ONLY.
File System is dirty.
File System ist dirty but is marked clean. In its present state, the
results of acccessing /dev/hda3 (except by this utility) are undefined.

Any hints?

Thanks for your Feedback.
Zeno

-- 
Mit freundlichen Gr?sen / best regards

Zeno Davatz
Verkauf & Akquisition

+41 1 350 85 86

www.ywesee.com > intellectual capital connected > www.oddb.org

--__--__--

Message: 4
From: "Per Jessen" <[EMAIL PROTECTED]>
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]
126.southbury.usf.ibm.com>
Date: Tue, 09 Mar 2004 12:49:44 +0100
Subject: Re: [Jfs-discussion] Phase 7 Errors detected in Fileset
File/Directory Allocation Map control information

On Tue, 9 Mar 2004 11:15:17 +0100, Zeno R.R. Davatz wrote:

>
>Any hints?
>

To start with, make sure you have the latest version of jfsutils -
1.1.5 I believe it is. 
Second, I did have a situation that looked similar to what you've
reported, but
I no longer have the log available, so I can't say it really was the
same. 

However, I ended up fscking the filesystem without replaying the log,
which did the trick.  
I'm fairly certain this was caused by a hardware problem, probably
related to the log. 
See 'man fsck.jfs' for how to fsck without replaying the log - and note
the warnings!


/Per Jessen, Zurich
and it is indeed a beautiful spring weather in Zurich today!



--__--__--

Message: 5
Subject: Re: [Jfs-discussion] Phase 7 Errors detected in Fileset
        File/Directory Allocation Map control information
From: Dave Kleikamp <[EMAIL PROTECTED]>
To: "Zeno R.R. Davatz" <[EMAIL PROTECTED]>
Cc: JFS Discussion <[EMAIL PROTECTED]>
Date: Tue, 09 Mar 2004 07:40:08 -0600

On Tue, 2004-03-09 at 04:15, Zeno R.R. Davatz wrote:
> Hi
> 
> My HDD with jfs does not want to get mounted.
> 
> I do fsck.jfs -f and I get:
> Phase 1-6 ok
> Phase 7: Errors detected in the Fileset File/Directory Allocation Map
control information
> Phase 8: Incorrect data detected in disk allocation structures and
control structures
> File System  checked READ ONLY.

I'm not sure why fsck.jfs is checking the file system READ ONLY. 
Normally it runs in read-write mode unless the -n flag is specified. 
Other reasons for checking READ ONLY are if the file system is mounted
or if you do not have write access to the device.

Did fsck.jfs print any messages indicating why it was running read-only
before the phase 1 message?

> File System is dirty.
> File System is dirty but is marked clean. In its present state, the
results of accessing /dev/hda3 (except by this utility) are undefined.

This is odd.  fsck.jfs is reporting that the file system is marked clean
(even though it decided it should be dirty), but the mount failure
indicates that it is not marked clean.

> Any hints?

I'm a bit confused.

> 
> Thanks for your Feedback.
> Zeno

Thanks,
Shaggy
-- 
David Kleikamp
IBM Linux Technology Center


--__--__--

Message: 6
Date: Tue, 9 Mar 2004 15:22:35 +0100
From: "Zeno R.R. Davatz" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: [Jfs-discussion] Phase 7 Errors detected in Fileset
 File/Directory Allocation Map control information
Organization: ywesee - intellectual capital connected

Ok, thanks for the replies.

I installed jfsutils 1.1.5 and now jfs on /dev/hda3 works great.

Now ext2 gives me problems on /dev/hda1.

Is it possible to put a jfs for a boot partition? Then I will exchange
the ext2 with jfs.

Thanks
Zeno

On Tue, 09 Mar 2004 12:49:44 +0100
"Per Jessen" <[EMAIL PROTECTED]> wrote:

> On Tue, 9 Mar 2004 11:15:17 +0100, Zeno R.R. Davatz wrote:
> 
> >
> >Any hints?
> >
> 
> To start with, make sure you have the latest version of jfsutils -
1.1.5 I believe it is. 
> Second, I did have a situation that looked similar to what you've
reported, but
> I no longer have the log available, so I can't say it really was the
same. 
> 
> However, I ended up fscking the filesystem without replaying the log,
which did the trick.  
> I'm fairly certain this was caused by a hardware problem, probably
related to the log. 
> See 'man fsck.jfs' for how to fsck without replaying the log - and
note the warnings!
> 
> 
> /Per Jessen, Zurich
> and it is indeed a beautiful spring weather in Zurich today!
> 
> 
> _______________________________________________
> Jfs-discussion mailing list
> [EMAIL PROTECTED]
> http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-
discussion
> 


-- 
Mit freundlichen Gr?sen / best regards

Zeno Davatz
Verkauf & Akquisition

+41 1 350 85 86

www.ywesee.com > intellectual capital connected > www.oddb.org


--__--__--

_______________________________________________
Jfs-discussion mailing list
[EMAIL PROTECTED]
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-
discussion


End of Jfs-discussion Digest

_______________________________________________
Jfs-discussion mailing list
[EMAIL PROTECTED]
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-discussion

Reply via email to