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

Bug#58266: bf-2.2.7: PCMCIA network install is broken



Hi!

In article <[🔎] 20000217234757.C1502@tausq.org>,
  at Thu, 17 Feb 2000 23:47:57 -0700,
    on Bug#58266: bf-2.2.7: PCMCIA network install is broken,
 Randolph Chung <tausq@debian.org> writes:

> this is the right diagnosis, i think. A few of us are looking at this now
> and committing fixes. Hopefully we'll get this resolved soon.
> > Adding to this, I wish to move the lines in scripts/drivers/install.sh

Thanks for your work, Randolph. I got the fixed version with my
recent cvs update. I think this version should work and solve 
this problem.

> > But the lack of the required symlinks causes the troubles,
> > while this can be avoided if these symlinking is done in _activate_pcmcia()
> > in pcmcia.c. So I think it is better to move these symlinking into there.
> 
> well.... maybe. but then this is not really a standard/supported installation.

Ah, you are right. It is only my wishlist.

I think that it is better to add the note that pcmcia can not be used
for  "Install Operating System Kernel and Modules". It is clear for
skilled users, but not so clear for beginners.

The patch to insert the notice is:

--- choose_medium.c.0	Sat Feb 19 01:08:15 2000
+++ choose_medium.c	Sat Feb 19 01:11:46 2000
@@ -791,7 +791,7 @@
     ilist[items] = MED_netfetch;
     items++;
 
-    status = menuBox(_("Please select the medium you will use to install the system."),
+    status = menuBox(_("Please select the medium you will use to install the system (You can not use pcmcia to install the kernel and modules, while you can use it to install the base system after configuring the pcmcia modules)."),
 		     _("Select Installation Medium"), choices, items, 1);
     if (status == -1) {
 	return -1;

I thought about to insert the separate message box before choose_medium() 
in extract_kernel_and_modules() of extract_kernel.c, but to increase 
the number of prompt is not prefered here, I think.

The documentation (dbootstrap.sgml for install.sgml) should have
this notice also, I think.

I found also some problembox in baseconfig.c is not gettextized yet.
Here is the patch for it:

--- baseconfig.c.0	Sat Feb 19 01:05:34 2000
+++ baseconfig.c	Sat Feb 19 01:08:00 2000
@@ -155,7 +155,7 @@
     if (execlog(prtbuf, LOG_INFO) ||
 	rename("/target/etc/inittab.tmp", "/target/etc/inittab"))
     {
-      problemBox("Error writing /target/etc/inittab", "Write error");
+      problemBox(_("Error writing /target/etc/inittab"),_("Write error"));
       return 1;
     }
     /* 2b */
@@ -169,7 +169,7 @@
     if (execlog(prtbuf, LOG_INFO) ||
 	rename("/target/etc/inittab.real.tmp","/target/etc/inittab.real"))
     {
-      problemBox("Error writing /target/etc/inittab.real", "Write error");
+      problemBox(_("Error writing /target/etc/inittab.real"),_("Write error"));
       return 1;
     }
     /* 3 */
@@ -181,7 +181,7 @@
     else
       err = 1;
     if (err) {
-      problemBox("Error writing /target/etc/securetty", "Write error");
+      problemBox(_("Error writing /target/etc/securetty"),_("Write error"));
       return 1;
     }
   }
@@ -193,7 +193,7 @@
   FILE *etcenv;
 
   if (NULL == (etcenv = fopen("/target/etc/environment", "w"))){
-    problemBox(_("Can't open /target/etc/environment "), _("Write error"));
+    problemBox(_("Can't open /target/etc/environment "),_("Write error"));
     return 1;
   }
   fprintf(etcenv, "LANG=%s\n", _("C"));
@@ -208,7 +208,7 @@
   char* fsopts;
 
   if (NULL == (fstab = fopen("/target/etc/fstab", "w"))) {
-    problemBox(_("Can't open /target/etc/fstab "), _("Write error"));
+    problemBox(_("Can't open /target/etc/fstab "),_("Write error"));
     return 1;
   }
 
@@ -267,7 +267,7 @@
 static int write_etc_kbd (void) {
   FILE *etc_kbd;
   if (NULL == (etc_kbd = fopen("/target/etc/kbd/config", "a"))) {
-    problemBox(_("Can't open /target/etc/kbd/config "), _("Write error"));
+    problemBox(_("Can't open /target/etc/kbd/config "),_("Write error"));
     return 1;
   }
   fprintf(etc_kbd, "CONSOLE_FONT=%s\n", FONT);


Regards.

-- 
  Taketoshi Sano: <sano@debian.org>,<sano@debian.or.jp>,<kgh12351@nifty.ne.jp>


Reply to: