xfs
[Top] [All Lists]

Re: patch anaconda XFS error

To: Eric Sandeen <sandeen@xxxxxxx>
Subject: Re: patch anaconda XFS error
From: "Jérôme Tournier" <jtournier@xxxxxxxxxx>
Date: Thu, 6 Dec 2001 18:49:43 +0100
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <1007658278.13482.5.camel@xxxxxxxxxxxxxxxxxxxxxx>
References: <20011204161225.A8486@xxxxxxxxxxxxxxxxxxxxxxxxxx> <1007658278.13482.5.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.3.23i
Le Thu, Dec 06, 2001 at 11:04:37AM -0600, Eric Sandeen à écrit:
# Hi Jérôme -
# 
# Sorry for the late reply!
# 
# Can you tell me the exact steps you took that ended in this error?  I
# have not been able to reproduce it.

Here is the histrorical problem. I used first the SGI CDROM modified 
distribution.
I install the system in text mode and i have the error message i give the mail 
before.
Then i do another installation in graphical mode: everything was fine !

I then tried to rebuild the distribution using the anaconda-7.2-11XFS.src.rpm 
package.
To generate the distribution, i use the following command:
       cd /usr/lib/anaconda-runtime
       ./genhdlist /home/ftp/pub/redhat/
       ./buildinstall /home/ftp/pub/redhat/ > /tmp/buildinstall.log 2>&1
One time over 3 or 5, when installing the distribution, i have error messages
because of dependencies problem so that the xfs module can't be loaded.
Here is the error: xfs_support: pagdepmod: *** Unresolved symbols in fdomain_cs
But as i said, sometimes it's ok!!

After, i added the reiserfs support to anaconda. In the file fsset.py, i 
defined this like:
def fileSystemTypeGetDefault():
if fileSystemTypeGet('xfs').isSupported():
        return fileSystemTypeGet('xfs')
    elif fileSystemTypeGet('ext3').isSupported():
        return fileSystemTypeGet('ext3')
    elif fileSystemTypeGet('reiserfs').isSupported():
        return fileSystemTypeGet('reiserfs')
    elif fileSystemTypeGet('ext2').isSupported():
        return fileSystemTypeGet('ext2')
    else:
        raise ValueError, "You have neither xfs, ext3, nor ext2 support in your 
kernel!"

and i changed the section reative to reiserfs

class reiserfsFileSystem(FileSystemType):
    def __init__(self):
        FileSystemType.__init__(self)
        self.partedFileSystemType = parted.file_system_type_get("reiserfs")
        self.formattable = 1
        self.checked = 1
        self.linuxnativefs = 1
        self.supported = 1
        self.name = "reiserfs"
        self.maxSize = 2 * 1024 * 1024


I then have again the same error messages as above.
When i invert the first line of fileSystemTypeGetDefault to have

def fileSystemTypeGetDefault():
    if fileSystemTypeGet('ext3').isSupported():
        return fileSystemTypeGet('ext3')
    elif fileSystemTypeGet('xfs').isSupported():
        return fileSystemTypeGet('xfs')
    elif fileSystemTypeGet('reiserfs').isSupported():
        return fileSystemTypeGet('reiserfs')
    elif fileSystemTypeGet('ext2').isSupported():
        return fileSystemTypeGet('ext2')
    else:
        raise ValueError, "You have neither xfs, ext3, nor ext2 support in your 
kernel!"

i don't have anymore the error message, but i still have the dependencie 
problem.
Strange, isn't it ?
Am i enought clear ? Do you want a patch of the fsset.py modified file ?

I have another question: i want to incorporate the LVM support to anaconda.
Did you have already work on this ? Do you know if there's something available 
(patch) ?
Thanks
--
Jérôme




# On Tue, 2001-12-04 at 09:12, Jérôme Tournier wrote:
# > Hello,
# > i use the anaconda package with XFS patch.
# > I have already wrote here because when generating a new distribution, the 
installation proccess stopped because it can't load the xfs modules 
(depedencies problem).
# > I still not resolved this problem (altought i add xfs_support and pagebuf 
in mk-images.i386 script).
# > When i don't have this problem, i can continue but what we know found 
strange is that when installing the system in graphical mode, 
# > everything ok, but when installing with a boot disk, i  have this error 
message:
# > Traceback (innermost last):
# >   File "/usr/bin/anaconda", line 620, in ?
# >     intf.run(id, dispatch, configFileData)
# >   File "/var/tmp/anaconda-7.2//usr/lib/anaconda/text.py", line 386, in run
# >   File "/var/tmp/anaconda-7.2//usr/lib/anaconda/textw/partition_text.py", 
line 1004, in __call__
# >   File "/var/tmp/anaconda-7.2//usr/lib/anaconda/textw/partition_text.py", 
line 948, in editCb
# >   File "/var/tmp/anaconda-7.2//usr/lib/anaconda/textw/partition_text.py", 
line 657, in editPartitionRequest 
# >   File "/var/tmp/anaconda-7.2//usr/lib/anaconda/textw/partition_text.py", 
line 486, in fsOptionsDialog
# >   File "/var/tmp/anaconda-7.2//usr/lib/anaconda/textw/partition_text.py", 
line 251, in makeFsList
# >   File "/usr/lib/python1.5/snack.py", line 100, in setCurrent
# > KeyError: <fsset.xfsFileSystem instance at 81b2w320>
# > 
# > Local variables in innermost frame:
# > self: <snack.Listbox instance at 82eb590>
# > item: <fsset.xfsFileSystem instance at 81b2320>
# > 
# > 
# > Any idea ?
# > Thanks
# > -- 
# > Jérôme
# -- 
# Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
# sandeen@xxxxxxx   SGI, Inc.

-- 
Jérôme


<Prev in Thread] Current Thread [Next in Thread>