Exception in preinstallconfig stage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

I am trying to create my own redhat 9 CD with my own kernel. Currently I
have manged to be able to boot from the CD, it partitions the hardisk
automatically, creates a raid1, formates and then starts to install  
the base image to harddisk. Just when the bar is at 100% I get the 
following exception:                                              

   Traceback (most recent call last):
     File "/usr/bin/anaconda", line 739, in ?
       intf.run(id, dispatch, configFileData)
     File "/usr/lib/anaconda/text.py", line 459, in run
       dispatch.gotoNext()
     File "/usr/lib/anaconda/dispatch.py", line 157, in gotoNext
       self.moveStep()                                          
     File "/usr/lib/anaconda/dispatch.py", line 225, in moveStep
       rc = apply(func, self.bindArgs(args))
     File "/usr/lib/anaconda/packages.py", line 599, in doPreInstall
       if method.systemMounted (id.fsset, instPath, id.hdList.selected()):
     File "/usr/lib/anaconda/image.py", line 121, in systemMounted        
       isys.lochangefd("/tmp/loop", self.loopbackFile)            
     File "/usr/lib/anaconda/isys.py", line 109, in lochangefd
       _isys.lochangefd(loop, targ)                           
   SystemError: (22, 'Invalid argument')

   Local variables in innermost frame:
   device: /tmp/loop                  
   targ: 18         
   file: /mnt/sysimage//rhinstall-stage2.img
   loop: 17                                 

I have checked both /tmp/loop and /mnt/sysimage//rhinstall-stage2.img
do exist:                                                            

  ls -al /mnt/sysimage//rhinstall-stage2.img

  -rwxr-xr-x     1 root        0        48799744 Sep   4 15:34
/mnt/sysimage/rhinstall-stage2.img                            

  ls -al /tmp/loop

  brw-------     1 root        0          7,   0 Sep   4 15:34 /tmp/loop

(The ls part was copied by hand)

I have tried to do a losetup /tmp/loop /mnt/sysimage//rhinstall-stage2.img
by hand but this also failes. It complains that the syntax is wrong.
I am beginning to think that in redhat kernel there is some patch that
I left out in my own kernel. But which one is missing? Looking through
the list of redhat patches I see linux-2.4.18-loopfixes.patch but this
does not apply correctly to the 2.4.22-ac1 kernel that I am using.

What I find strange is that there is another loopback device (called loop0)
with the same major and minor number, but this is also the same case with
the original redhat CD:
  brw-------     1 root        0          7,   0 Sep   4 15:34 /tmp/loop0

It would be very helpful if I could get this to work. But I am clueless
what I am doing wrong and any help or advice would be greatly appreciated!

Please tell me if I need to provide more information.

Thanks,
Holger




[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux