Bug 217416

Summary: /proc and /sys are not mounted during the system install
Product: [Fedora] Fedora Reporter: Prarit Bhargava <prarit>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dchapman
Target Milestone: ---   
Target Release: ---   
Hardware: ia64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-12-05 17:06:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 163350    
Attachments:
Description Flags
anaconda.log from rawhide-20061129 install
none
anaconda.syslog from rawhide-20061129 install
none
install.log from rawhide-20061129 install
none
install.log.syslog from rawhide-20061129 install none

Description Prarit Bhargava 2006-11-27 20:29:25 UTC
Description of problem:

/proc and /sys are not mounted during the system install.

Version-Release number of selected component (if applicable): rawhide-20061127


How reproducible: 100%


Steps to Reproduce:
1. Attempt to install rawhide-20061127 on hp rx2600
  
Actual results:

Install is very screwed up, and install log shows

GC Warning: GC_get_nprocs() returned -1
dirname: missing operand
Try `dirname --help' for more information.
mkdir: missing operand
Try `mkdir --help' for more information.
GC Warning: Couldn't read /proc/stat
GC Warning: GC_get_nprocs() returned -1
/usr/bin/rebuild-gcj-db: line 5:  3665 Segmentation fault      /usr/bin/gcj-dbt4
GC Warning: Couldn't read /proc/stat
GC Warning: GC_get_nprocs() returned -1
xargs: /usr/bin/gcj-dbtool: terminated by signal 11
GC Warning: Couldn't read /proc/stat
GC Warning: GC_get_nprocs() returned -1
Installing ccid - 1.1.0-2.ia64
Installing xorg-x11-drv-evdev - 1.1.2-2.1.ia64
Installing rpm-libs - 4.4.2-36.fc7.ia64
Installing rpm-python - 4.4.2-36.fc7.ia64
Installing yum - 3.0.1-2.fc7.noarch
Installing system-config-network-tui - 1.3.96-1.fc6.noarch
Installing firstboot-tui - 1.4.25-1.fc7.noarch
Installing system-config-network - 1.3.96-1.fc6.noarch
Installing system-config-users - 1.2.48-1.fc7.noarch
Installing coolkey - 1.0.1-13.fc7.ia64
Installing antlr - 2.7.6-4jpp.2.ia64
GC Warning: Couldn't read /proc/stat
GC Warning: GC_get_nprocs() returned -1
dirname: missing operand
Try `dirname --help' for more information.
mkdir: missing operand
Try `mkdir --help' for more information.
GC Warning: Couldn't read /proc/stat
GC Warning: GC_get_nprocs() returned -1
/usr/bin/rebuild-gcj-db: line 5:  3768 Segmentation fault      /usr/bin/gcj-dbt4
GC Warning: Couldn't read /proc/stat
GC Warning: GC_get_nprocs() returned -1
xargs: /usr/bin/gcj-dbtool: terminated by signal 11
GC Warning: Couldn't read /proc/stat
GC Warning: GC_get_nprocs() returned -1
Installing gjdoc - 0.7.7-14.fc7.ia64
GC Warning: Couldn't read /proc/stat
GC Warning: GC_get_nprocs() returned -1
dirname: missing operand
Try `dirname --help' for more information.
mkdir: missing operand
Try `mkdir --help' for more information.
GC Warning: Couldn't read /proc/stat
GC Warning: GC_get_nprocs() returned -1
/usr/bin/rebuild-gcj-db: line 5:  3779 Segmentation fault      /usr/bin/gcj-dbt4
GC Warning: Couldn't read /proc/stat
GC Warning: GC_get_nprocs() returned -1
xargs: /usr/bin/gcj-dbtool: terminated by signal 11
GC Warning: Couldn't read /proc/stat
GC Warning: GC_get_nprocs() returned -1
Installing gnome-bluetooth - 0.8.0-1.fc7.ia64
/proc is empty (not mounted ?)

Expected results: Install should suceed.


Additional info: Seen only on rx2600 series

Comment 1 Prarit Bhargava 2006-11-28 15:12:26 UTC
I've verified that this works on the Altix boxes.  It seems like it is something
restricted to the rx2600 series.

P.

Comment 2 Doug Chapman 2006-11-28 16:03:51 UTC
Prarit,

I think this might be some sort of a timing issue.  I have been experiementing
and have had successful and unsuccessful installs on the same box.  I am doing
some installs with remote syslog debugging set up to gather more data.


Comment 3 Jeremy Katz 2006-11-28 18:43:38 UTC
/proc definitely should be being mounted...  this might just be a kernel issue.

Comment 4 Prarit Bhargava 2006-11-28 18:45:48 UTC
(In reply to comment #3)
> /proc definitely should be being mounted...  this might just be a kernel issue.

It doesn't seem like it :/.  I don't see any strangeness when I boot the kernel
rpm on top of a stable FC ...

I'm still investigating though....

P.

Comment 5 Prarit Bhargava 2006-11-28 20:24:50 UTC
It seems that at some point during the rpm installs, /tmp/proc and /tmp/sys get
mounted to /mnt/sysimage/proc and /mnt/sysimage/sys.



Comment 6 Prarit Bhargava 2006-11-28 23:56:15 UTC
Yeah -- it definately looks like during the RPM installs one of the RPMs is
setting the /proc and /sys mount points to /tmp/proc and /tmp/sys .

I'm still investigating...

P.

Comment 7 Doug Chapman 2006-11-29 17:43:41 UTC
One important item Prarit didn't mention is the end result of all this is the
/boot/efi partition does not get set up correctly so that the system is not
bootable.

I sometimes hit this and other times it installs OK.  I have not yet determined
what conditions cause it to fail (may be a timing issue?).  Prarit says he hits
it all the time.

I just hit this again on todays rawhide build: rawhide-20061129
I will attach all the log files.  I don't see any smoking gun there but perhaps
someone else will find something of note.



Comment 8 Doug Chapman 2006-11-29 17:46:39 UTC
Created attachment 142392 [details]
anaconda.log from rawhide-20061129 install

Comment 9 Doug Chapman 2006-11-29 17:47:13 UTC
Created attachment 142393 [details]
anaconda.syslog from rawhide-20061129 install

Comment 10 Doug Chapman 2006-11-29 17:48:20 UTC
Created attachment 142394 [details]
install.log from rawhide-20061129 install

Comment 11 Doug Chapman 2006-11-29 17:48:52 UTC
Created attachment 142395 [details]
install.log.syslog from rawhide-20061129 install

Comment 12 Prarit Bhargava 2006-12-05 17:06:41 UTC

*** This bug has been marked as a duplicate of 217292 ***