Bug 17791 - Red Hat 7.0 Install Problem Creating Swap
Summary: Red Hat 7.0 Install Problem Creating Swap
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: anaconda
Version: 7.0
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Brent Fox
QA Contact:
URL:
Whiteboard:
: 18323 18473 18491 18571 18826 20322 20511 21565 21571 21929 23062 23554 23865 23920 24023 24308 24501 25049 31573 34971 35399 47080 53997 82840 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-09-22 15:08 UTC by fred deady
Modified: 2008-05-01 15:37 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-04-11 20:25:18 UTC
Embargoed:


Attachments (Terms of Use)

Description fred deady 2000-09-22 15:08:57 UTC
Traceback (innermost last):
File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/iw/progress_gui.py", line 
20, in run
rc = self.todo.doInstall ()
File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/todo.py", line 1470, in 
doInstall
self.fstab.turnOnSwap()
File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/fstab.py", line 406, in 
turnOnSwap
isys.swapon (file)
File "/usr/lib/anaconda/isys.py", line 142, in swapon
return _isys.swapon (path)
SystemError: (22, 'Invalid argument')
Local variables in innermost frame:
path: /tmp/swap/hdb5
ToDo object:
(itodo
ToDo
p1
(dp2
S'method'
p3
(iimage
CdromInstallMethod
p4
(dp5
S'progressWindow'
p6
<failed>

Comment 1 Michael Fulbright 2000-09-25 19:37:22 UTC
Are you doing an install or upgrade?

Comment 2 fred deady 2000-09-25 20:07:21 UTC
I tried both, an install, and an upgrade from Red Hat 6.1. With the same results
it looks like it fails when it tries to newfs the swap partition. The hardware 
is a COMPAQ Deskpro with 550MHz PIII and 128MB memory.

Comment 3 Michael Fulbright 2000-10-04 16:45:24 UTC
Is /tmp a symlink on your system?

Comment 4 fred deady 2000-10-04 17:47:00 UTC
No, /tmp is not a symlink. I've tried the whole disk under one partition /
(with a swap partition), and I've tried two partitions / and /usr, again
with a seperate swap partition.

Comment 5 Michael Fulbright 2000-10-05 18:28:51 UTC
What kind of device is hdb?


Comment 6 Michael Fulbright 2000-10-06 18:20:26 UTC
*** Bug 18491 has been marked as a duplicate of this bug. ***

Comment 7 Michael Fulbright 2000-10-06 18:21:31 UTC
*** Bug 18323 has been marked as a duplicate of this bug. ***

Comment 8 Need Real Name 2000-10-09 10:55:28 UTC
A comment on 18323: I'm now able to install RH 7.  I think the problem was that
the laptop's hard drive wasn't properly inserted so that disk accesses worked
only intermittently.  Therefore, the anaconda traceback may be pointing to some
kind of disk problem; although if this is the case, a more explicit message
would be helpful.

Comment 9 fred deady 2000-10-09 15:30:22 UTC
My hdb disk is a Maxtor 51024U2.

Comment 10 Michael Fulbright 2000-10-09 17:56:54 UTC
*** Bug 18571 has been marked as a duplicate of this bug. ***

Comment 11 Michael Fulbright 2000-10-09 18:04:19 UTC
*** Bug 18473 has been marked as a duplicate of this bug. ***

Comment 12 Dave Strickland 2000-10-09 18:19:19 UTC
Here is partitioning scheme I used. When originally setting this up (i.e. when
it
crashed on activating the swap) I chose to format all the linux native
partitions, 
and checked for bad blocks on all of them. I also said yes to the linear option. 
Used fdisk to partition disks, under normal graphical RH7.0 install. 
This didn't happen on any of my other systems that I
upgraded or did raw custom installs on.

Motherboard tyan tiger 133
dual 866Mhz PIII, 1Gb RAM
2 sets of Maxtor 7200rpm 40Gb ATA-66 drives, using ATA-66 80 pin cable, mounted
as master and slave on a single IDE controller.

Disk /dev/hda: 255 heads, 63 sectors, 4982 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1      1023   8217216   83  Linux
/dev/hda2          1024      1056    265072+  82  Linux swap
/dev/hda3          1057      3749  21631522+  83  Linux
/dev/hda4          3750      4982   9904072+   5  Extended
/dev/hda5          3750      3782    265041   82  Linux swap
/dev/hda6          3783      3815    265041   82  Linux swap
/dev/hda7          3816      3848    265041   82  Linux swap
/dev/hda8          3849      4982   9108823+  83  Linux


Disk /dev/hdb: 255 heads, 63 sectors, 4982 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdb1             1      1023   8217216   83  Linux
/dev/hdb2          1024      2043   8193150   83  Linux
/dev/hdb3          2044      4982  23607517+  83  Linux

BTW: I originally installed RH6.1 on this system, using text mode. I also had a
small swap problem with that as well. I'd asked for two 128M swap partitions,
but when the install was over found only one activated. The other had not
been formated, so I had to manually mkswap etc. With RH6.1 the install didn't
crash though...

Good luck working this one out!
Cheers
Dave


Comment 13 Michael Fulbright 2000-10-18 20:32:24 UTC
*** Bug 18826 has been marked as a duplicate of this bug. ***

Comment 14 Michael Fulbright 2000-11-07 15:17:17 UTC
*** Bug 20322 has been marked as a duplicate of this bug. ***

Comment 15 Michael Fulbright 2000-11-09 21:08:13 UTC
*** Bug 20511 has been marked as a duplicate of this bug. ***

Comment 16 Michael Fulbright 2000-11-15 17:01:09 UTC
Thank you for the additional information, passing on to a QA engineer to attempt
to reproduce.

Comment 17 Brock Organ 2000-11-15 17:40:15 UTC
hmmm ... I am unable to reproduce this using generic test lab equipment ... this
may be hardware specific ...

Comment 18 Michael Fulbright 2000-12-01 16:21:52 UTC
*** Bug 21571 has been marked as a duplicate of this bug. ***

Comment 19 Michael Fulbright 2000-12-01 16:23:25 UTC
*** Bug 21565 has been marked as a duplicate of this bug. ***

Comment 20 Need Real Name 2000-12-08 21:13:19 UTC
I'm going to try to give you step by step instructions but they are from the 
top of my head since my business partner managed to get it to install.  One 
difference, though I am not at all sure that this cause it to work) is that he 
picked the packages to install rather than letting the default packages be 
installed.

1) Choose Workstation setup.
2) Choose English
3) Choose three button generic mouse.
4) Choose 101 key style keyboard, ignore invalid keys.
5) Choose Generic 1024 * 768 87HZ refresh rate (toward the bottom of the list)
6) Choose Mountain / Denver time zone.
7) Choose GNOME as the desktop
8) Choose Games when selecting the desktop

I think these are all the options that I chose.  One note is that
I checked the path var. and it was : /tmp/swap/hdb6 I believe.


Hope this helps,

-Art


Comment 21 Michael Fulbright 2001-01-03 23:15:45 UTC
*** Bug 23062 has been marked as a duplicate of this bug. ***

Comment 22 Michael Fulbright 2001-01-09 16:33:34 UTC
*** Bug 23554 has been marked as a duplicate of this bug. ***

Comment 23 Michael Fulbright 2001-01-12 15:22:03 UTC
*** Bug 23865 has been marked as a duplicate of this bug. ***

Comment 24 Michael Fulbright 2001-01-16 00:31:02 UTC
*** Bug 24023 has been marked as a duplicate of this bug. ***

Comment 25 Michael Fulbright 2001-01-16 00:43:45 UTC
*** Bug 23920 has been marked as a duplicate of this bug. ***

Comment 26 Michael Fulbright 2001-01-19 16:29:12 UTC
*** Bug 24308 has been marked as a duplicate of this bug. ***

Comment 27 Michael Fulbright 2001-01-19 21:27:14 UTC
*** Bug 21929 has been marked as a duplicate of this bug. ***

Comment 28 Michael Fulbright 2001-01-26 16:31:57 UTC
*** Bug 24501 has been marked as a duplicate of this bug. ***

Comment 29 Michael Fulbright 2001-01-30 00:45:33 UTC
*** Bug 25049 has been marked as a duplicate of this bug. ***

Comment 30 redhatbugzilla 2001-02-10 00:01:45 UTC
I have exactly the same problem when trying to install RH7 how I want to. 
Curiously the workstation install works if I just let it decide everything - 
unfortunately, I really don't like the setup it produces...

Comment 31 redhatbugzilla 2001-02-10 02:22:19 UTC
I read around the other (duplicate) bugs, and tried installing without telling
it to mount my windows partitions, and it worked fine, so that appears to be the
problem. Will the redhat support people admit to having windows installed on
their test machines? ;-)

Comment 32 Michael Fulbright 2001-02-15 16:48:23 UTC
Does everyone seem to agree the common problem here is mounting a FAT partition?

Comment 33 Brock Organ 2001-02-20 22:16:29 UTC
dks.edu partition list above does not have any vfats listed :(

> I read around the other (duplicate) bugs, and tried installing without telling
> it to mount my windows partitions, and it worked fine, so that appears to be 
> the problem. Will the redhat support people admit to having windows installed 
> on their test machines? ;-)

Innocent as charged; after all you can have vfat filesystems on your systems
without having windows installed! ;-0


Comment 34 Joseph S. 2001-03-07 02:48:47 UTC
So, is there a fix/solution?  Here is my anacdump.txt:

Traceback (innermost last):
  File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/iw/progress_gui.py", line 20,
in run
    rc = self.todo.doInstall ()
  File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/todo.py", line 1480, in
doInstall
    if self.method.systemMounted (self.fstab, self.instPath,
self.hdList.selected()):
  File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/image.py", line 46, in
systemMounted
    self.loopbackFile = mntPoint + fstab.filesystemSpace(mntPoint)[0][0] + \
  File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/fstab.py", line 258, in
filesystemSpace
    space.append((mntpoint, isys.fsSpaceAvailable(topMount + '/' + mntpoint)))
  File "/usr/lib/anaconda/isys.py", line 16, in fsSpaceAvailable
    return _isys.devSpaceFree(fsystem)
SystemError: (2, 'No such file or directory')

Local variables in innermost frame:
fsystem: /mnt/sysimage//win98/c

ToDo object:
(itodo
ToDo
p1
(dp2
S'method'
p3
(iimage
CdromInstallMethod
p4
(dp5
S'progressWindow'
p6

<failed>


Comment 35 Joseph S. 2001-03-08 00:51:10 UTC
I was able to install last night.  The problem was, similar to others, Windows
partitions. However, it wasn't the fact that I had Windows partitions.  The
problem was that I was identifying the mount points of my windows partitions
during the install.  Since I already had created my partitions from a previous
install, they were already listed for me to select/identify during the install. 
I simply had to label each partition (/, /usr, /var, /tmp, /home, ).  The
windows partitions were also presented to me.  Previously, I was labelling the
windows partitions /windows/c, /windows/d, /windows/e.  My fix last night was to
simply ignore the windows partitions.  After the install, I simply added my
mount points to /etc/vfstab, created the mount points on the disk, and
everything was happy.


Comment 36 Need Real Name 2001-03-24 01:43:19 UTC
I have the same problems, when i install RedHat 7.0 and setup is formating 
swap, i have this message:
Traceback (innermost last):
  File "/usr/bin/anaconda", line 438, in ?
    intf.run(todo, test = test)
  File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/text.py", line 1030, in run
    rc = apply (step[1](), step[2])
  File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/text.py", line 507, in 
__call__
    if todo.doInstall ():
  File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/todo.py", line 1480, in 
doInstall
    if self.method.systemMounted (self.fstab, self.instPath, 
self.hdList.selected()):
  File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/image.py", line 46, in 
systemMounted
    self.loopbackFile = mntPoint + fstab.filesystemSpace(mntPoint)[0][0] + \
  File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/fstab.py", line 258, in 
filesystemSpace
    space.append((mntpoint, isys.fsSpaceAvailable(topMount + '/' + mntpoint)))
  File "/usr/lib/anaconda/isys.py", line 16, in fsSpaceAvailable
    return _isys.devSpaceFree(fsystem)
SystemError: (2, 'Datei oder Verzeichnis nicht gefunden')

Local variables in innermost frame:
fsystem: /mnt/sysimage//mnt/windows

ToDo object:
(itodo
ToDo
p1
(dp2
S'method'
p3
(iimage
CdromInstallMethod
p4
(dp5
S'progressWindow'
p6

<failed>
I have M5ATC Mainboard Ati Mach64 Rage II Pentium 233 MMX 8GB and 2GB Harddisks

Comment 37 Brent Fox 2001-04-02 19:30:14 UTC
*** Bug 31573 has been marked as a duplicate of this bug. ***

Comment 38 Matt Smith 2001-04-04 07:51:03 UTC
I experienced the same error when formatting swap, although I was running a 
dual hdd system, i was only installing to one, and not mounting the fat system.
Both hdd's are Maxtor, but i think my problem could be dodgey hardware related, 
as when i tried to re-install, at the disk druid prompt the install couldn't 
access hdb (the one i was trying to install to).
just my $AUD0.02, really not worth much!
Matt
why_not_this


Comment 39 Brent Fox 2001-04-11 15:29:41 UTC
*** Bug 35399 has been marked as a duplicate of this bug. ***

Comment 40 Brent Fox 2001-04-11 15:43:55 UTC
*** Bug 34971 has been marked as a duplicate of this bug. ***

Comment 41 Brent Fox 2001-04-11 20:25:14 UTC
This issue has been fixed in internal testing trees.  I tested this today.

Comment 42 Brent Fox 2001-07-13 15:56:16 UTC
*** Bug 47080 has been marked as a duplicate of this bug. ***

Comment 43 Brent Fox 2001-09-25 15:03:06 UTC
*** Bug 53997 has been marked as a duplicate of this bug. ***

Comment 44 Philip Le Mesurier 2001-10-04 22:01:19 UTC
Resolution to problem detailed in Bug 53997.

1. Booted from a DOS boot disk and used DEBUG.EXE to remove partition table.
2. Used DOS version of FDISK to create a single FAT32 partition (9.4GB)
3. Formated the partition.
4. Started REDHAT installation from within DOS.
5. Ran default Workstation setup.
NOTE: When I got to the disk partitioning point I noticed that Disk Druid 
reported -7MB (yes, negative) of disk space free. This lead me to think that 
maybe Disk Druid was attempting to create a partition past the end of the disk 
in all my previous, failed attempts. For this reason I decided to leave 100MB 
of disk space unallocated.

Previous attempts had been on a new HDD which had only ever seen REDHAT, so I 
guess there is no way to be certain if steps 1-4 fixed the problem or the 100MB 
unallocated space. Curiosity might force me to investigate this some time :o)

Cheers,
Philip


Comment 45 Michael Fulbright 2003-01-27 17:14:39 UTC
*** Bug 82840 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.