rpms/anaconda/F-9 anaconda-11.4.0.83-DEBUG.patch, NONE, 1.1 anaconda.spec, 1.693, 1.694
Tom Callaway
spot at fedoraproject.org
Wed Oct 15 21:08:30 UTC 2008
Author: spot
Update of /cvs/pkgs/rpms/anaconda/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25587
Modified Files:
anaconda.spec
Added Files:
anaconda-11.4.0.83-DEBUG.patch
Log Message:
debugging loader
anaconda-11.4.0.83-DEBUG.patch:
--- NEW FILE anaconda-11.4.0.83-DEBUG.patch ---
diff -up anaconda-11.4.0.83/loader2/loader.c.DEBUG anaconda-11.4.0.83/loader2/loader.c
--- anaconda-11.4.0.83/loader2/loader.c.DEBUG 2008-10-15 16:58:47.000000000 -0400
+++ anaconda-11.4.0.83/loader2/loader.c 2008-10-15 17:04:22.000000000 -0400
@@ -1578,15 +1578,24 @@ int main(int argc, char ** argv) {
{ 0, 0, 0, 0, 0, 0, 0 }
};
+ /* DEBUG */
+ fprintf(stderr, "DEBUG: The loader is now running.");
+
/* Make sure sort order is right. */
setenv ("LC_COLLATE", "C", 1);
/* Very first thing, set up tracebacks and debug features. */
rc = anaconda_trace_init();
+ /* DEBUG */
+ fprintf(stderr, "DEBUG: The loader has run anaconda_trace_init()");
+
/* now we parse command line options */
optCon = poptGetContext(NULL, argc, (const char **) argv, optionTable, 0);
+ /* DEBUG */
+ fprintf(stderr, "DEBUG: The loader has parsed command line options.");
+
if ((rc = poptGetNextOpt(optCon)) < -1) {
fprintf(stderr, "bad option %s: %s\n",
poptBadOption(optCon, POPT_BADOPTION_NOALIAS),
@@ -1645,6 +1654,9 @@ int main(int argc, char ** argv) {
extraArgs[0] = NULL;
parseCmdLineFlags(&loaderData, cmdLine);
+ /* DEBUG */
+ fprintf(stderr, "DEBUG: anaconda version %s on %s starting", VERSION, getProductArch());
+
logMessage(INFO, "anaconda version %s on %s starting", VERSION, getProductArch());
if ((FL_SERIAL(flags) || FL_VIRTPCONSOLE(flags)) &&
@@ -1663,8 +1675,14 @@ int main(int argc, char ** argv) {
stop_fw_loader(&loaderData);
exit(1);
}
+ /* DEBUG */
+ fprintf(stderr, "DEBUG: About to initializeConsole()");
+
initializeConsole();
+ /* DEBUG */
+ fprintf(stderr, "DEBUG: About to checkForRam()");
+
checkForRam();
/* iSeries vio console users will be ssh'ing in to the primary
@@ -1672,6 +1690,9 @@ int main(int argc, char ** argv) {
if (isVioConsole())
setenv("TERM", "vt100", 1);
+ /* DEBUG */
+ fprintf(stderr, "DEBUG: About to load Default Modules");
+
mlLoadModuleSet("cramfs:vfat:nfs:loop:floppy:edd:pcspkr:squashfs:ext4dev:ext3:ext2:iscsi_tcp");
if (!FL_NOIPV6(flags))
Index: anaconda.spec
===================================================================
RCS file: /cvs/pkgs/rpms/anaconda/F-9/anaconda.spec,v
retrieving revision 1.693
retrieving revision 1.694
diff -u -r1.693 -r1.694
--- anaconda.spec 5 Oct 2008 16:17:10 -0000 1.693
+++ anaconda.spec 15 Oct 2008 21:07:59 -0000 1.694
@@ -3,13 +3,14 @@
Summary: Graphical system installer
Name: anaconda
Version: 11.4.0.83
-Release: 8
+Release: 8.1
License: GPLv2+
Group: Applications/System
URL: http://fedoraproject.org/wiki/Anaconda
Source0: anaconda-%{version}.tar.bz2
Patch0: anaconda-11.4.0.83-more-sparc-fixes.patch
+Patch1: anaconda-11.4.0.83-DEBUG.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ExcludeArch: sparc64
@@ -152,6 +153,8 @@
%prep
%setup -q
%patch0 -p1
+# We're debugging the loader on SPARC, as it appears to be dying very early.
+%patch1 -p1
%build
%{__make} depend
@@ -214,6 +217,9 @@
/sbin/chkconfig --del reconfig >/dev/null 2>&1 || :
%changelog
+* Wed Oct 15 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 11.4.0.83-8.1
+- debugging the loader to troubleshoot sparc problems, temporary patch
+
* Sun Oct 05 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 11.4.0.83-8
- fix silo.conf
More information about the fedora-extras-commits
mailing list