Port-powerpc archive

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

sysinst problem for evbppc?



Hi! WALNUT/OPENBLOCKS266 maintainers and evbppc developpers!


Can you install it with our sysinst?  I received the report that was not
able to be installed with netbsd-4.0.  (And, even perhaps -current)

The sysinst have problem to find file named kern-GENERIC.

  sysinst says:

     The following is the list of distribution sets that will be used.

        Distribution set         Selected
        ------------------------ --------
     a: Kernel (GENERIC)            Yes                 <<<<<<<<<<<<<<
     b: Base                        Yes
     c: System (/etc)               Yes
     d: Compiler Tools               No
     e: Games                        No
     f: Online Manual Pages          No
     g: Miscellaneous                No
     h: Test programs                No
     i: Text Processing Tools        No
     j: X11 sets                    None
    >x: Install selected sets


Moreover, I can't understand this problem though the problem that there
is no /tmp/.hdprofile was reported.  May I copy it from evbarm?

I made a attached patch.


However, I cannot test yet.  It is because the problem that sysinst does
panic was seen.  (My source code at 9/23, and this file.)

  
ftp://ftp.netbsd.org/pub/NetBSD-daily/HEAD/200809290002Z/evbppc/binary/kernel/netbsd-INSTALL_OPENBLOCKS266.img.gz


  sysinst says:

     Status: Running
    Command: disklabel -w -r -f /tmp/disktab wd0 'TOSHIBA THNID12'

--------------------------------------panic: kernel diagnostic assertion "!ISSET
(bp->b_oflags, BO_DONE)" failed: file 
"/home/builds/ab/HEAD/src/sys/kern/vfs_bio.c", line 1542
Stopped in pid 0.2 (system) at  netbsd:cpu_Debugger+0x10:       lwz     r0, r1,
0
x14
db> bt
0x0062fe20: at panic+0x21c
0x0062fe70: at __kernassert+0x4c
0x0062fe80: at biodone+0xd0
0x0062fea0: at wddone+0x84
0x0062fec0: at wdc_ata_bio_done+0xa8
0x0062fee0: at wdc_ata_bio_intr+0x33c
0x0062ff10: at wdcintr+0xc4
0x0062ff30: at hpt_pci_intr+0x84
0x0062ff60: at ext_intr+0xfc
0x0062ffa0: at emptyidlespin+0x4d8
0x8959fed0: at sched_curcpu_runnable_p+0x60
0x8959fef0: at idle_loop+0x1b4
0x8959ff40: at emptyidlespin+0x10
saved LR(0xfffffffb) is invalid.
bd>


hmm...  Can anyone solve these problems?
And how do you fix kern-GENERIC problem?

Thanks,
--
kiyohara
  next, once more I try to support xserver...  ;-)
? distrib/evbppc/ramdisk/dot.hdprofile
Index: distrib/evbppc/ramdisk/Makefile
===================================================================
RCS file: /cvsroot/src/distrib/evbppc/ramdisk/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- distrib/evbppc/ramdisk/Makefile     10 May 2007 23:22:29 -0000      1.3
+++ distrib/evbppc/ramdisk/Makefile     1 Oct 2008 17:08:35 -0000
@@ -16,7 +16,7 @@
 MTREECONF=     ${DISTRIBDIR}/common/mtree.common
 IMAGEENDIAN=   be
 IMAGEDEPENDS=  ${CRUNCHBIN} \
-               dot.profile termcap.src \
+               disktab.preinstall dot.hdprofile dot.profile termcap.src \
                ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
                ${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/etc/protocols \
                ${NETBSDSRCDIR}/distrib/common/services
Index: distrib/evbppc/ramdisk/list
===================================================================
RCS file: /cvsroot/src/distrib/evbppc/ramdisk/list,v
retrieving revision 1.5
diff -u -r1.5 list
--- distrib/evbppc/ramdisk/list 6 May 2008 15:32:06 -0000       1.5
+++ distrib/evbppc/ramdisk/list 1 Oct 2008 17:08:35 -0000
@@ -81,3 +81,5 @@
 # and the boot script
 COPY   ${CURDIR}/dot.profile           .profile
 MTREE  ./.profile      type=file uname=root gname=wheel mode=0644
+COPY   ${CURDIR}/dot.hdprofile         tmp/.hdprofile
+
Index: distrib/utils/sysinst/arch/evbppc/md.h
===================================================================
RCS file: /cvsroot/src/distrib/utils/sysinst/arch/evbppc/md.h,v
retrieving revision 1.11
diff -u -r1.11 md.h
--- distrib/utils/sysinst/arch/evbppc/md.h      12 Nov 2007 15:07:35 -0000      
1.11
+++ distrib/utils/sysinst/arch/evbppc/md.h      1 Oct 2008 17:08:49 -0000
@@ -54,7 +54,8 @@
  *  or upgrade. The standard sets are:
  *      base etc comp games man misc tests text xbase xcomp xetc xfont xserver
  */
-#define SET_KERNEL_1_NAME      "kern-GENERIC"
+#define SET_KERNEL_1_NAME      "kern-WALNUT"
+#define SET_KERNEL_2_NAME      "kern-OPENBLOCKS266"
 
 /*
  * Machine-specific command to write a new label to a disk.
Index: distrib/utils/sysinst/arch/evbppc/msg.md.de
===================================================================
RCS file: /cvsroot/src/distrib/utils/sysinst/arch/evbppc/msg.md.de,v
retrieving revision 1.5
diff -u -r1.5 msg.md.de
--- distrib/utils/sysinst/arch/evbppc/msg.md.de 2 Feb 2008 05:33:58 -0000       
1.5
+++ distrib/utils/sysinst/arch/evbppc/msg.md.de 1 Oct 2008 17:08:50 -0000
@@ -53,4 +53,6 @@
 }
 
 message set_kernel_1
-{Kernel (GENERIC)}
+{Kernel (WALNUT)}
+message set_kernel_2
+{Kernel (OPENBLOCKS266)}
Index: distrib/utils/sysinst/arch/evbppc/msg.md.en
===================================================================
RCS file: /cvsroot/src/distrib/utils/sysinst/arch/evbppc/msg.md.en,v
retrieving revision 1.9
diff -u -r1.9 msg.md.en
--- distrib/utils/sysinst/arch/evbppc/msg.md.en 2 Feb 2008 05:33:58 -0000       
1.9
+++ distrib/utils/sysinst/arch/evbppc/msg.md.en 1 Oct 2008 17:08:50 -0000
@@ -52,4 +52,6 @@
 }
 
 message set_kernel_1
-{Kernel (GENERIC)}
+{Kernel (WALNUT)}
+message set_kernel_2
+{Kernel (OPENBLOCKS266)}
Index: distrib/utils/sysinst/arch/evbppc/msg.md.es
===================================================================
RCS file: /cvsroot/src/distrib/utils/sysinst/arch/evbppc/msg.md.es,v
retrieving revision 1.4
diff -u -r1.4 msg.md.es
--- distrib/utils/sysinst/arch/evbppc/msg.md.es 2 Feb 2008 05:33:58 -0000       
1.4
+++ distrib/utils/sysinst/arch/evbppc/msg.md.es 1 Oct 2008 17:08:50 -0000
@@ -52,4 +52,6 @@
 }
 
 message set_kernel_1
-{Núcleo (GENERIC)}
+{Núcleo (WALNUT)}
+message set_kernel_2
+{Núcleo (OPENBLOCKS266)}
Index: distrib/utils/sysinst/arch/evbppc/msg.md.fr
===================================================================
RCS file: /cvsroot/src/distrib/utils/sysinst/arch/evbppc/msg.md.fr,v
retrieving revision 1.9
diff -u -r1.9 msg.md.fr
--- distrib/utils/sysinst/arch/evbppc/msg.md.fr 2 Feb 2008 05:33:59 -0000       
1.9
+++ distrib/utils/sysinst/arch/evbppc/msg.md.fr 1 Oct 2008 17:08:50 -0000
@@ -52,4 +52,6 @@
 }
 
 message set_kernel_1
-{Kernel (GENERIC)}
+{Kernel (WALNUT)}
+message set_kernel_2
+{Kernel (OPENBLOCKS266)}
Index: distrib/utils/sysinst/arch/evbppc/msg.md.pl
===================================================================
RCS file: /cvsroot/src/distrib/utils/sysinst/arch/evbppc/msg.md.pl,v
retrieving revision 1.9
diff -u -r1.9 msg.md.pl
--- distrib/utils/sysinst/arch/evbppc/msg.md.pl 2 Feb 2008 05:33:59 -0000       
1.9
+++ distrib/utils/sysinst/arch/evbppc/msg.md.pl 1 Oct 2008 17:08:50 -0000
@@ -54,4 +54,6 @@
 }
 
 message set_kernel_1
-{Kernel (GENERIC)}
+{Kernel (WALNUT)}
+message set_kernel_2
+{Kernel (OPENBLOCKS266)}
--- distrib/evbppc/ramdisk/dot.hdprofile.orig   1970-01-01 09:00:00.000000000 
+0900
+++ distrib/evbppc/ramdisk/dot.hdprofile        2008-09-25 03:40:40.000000000 
+0900
@@ -0,0 +1,62 @@
+# $NetBSD: dot.hdprofile,v 1.2 2003/07/26 17:06:40 salo Exp $
+#
+# Copyright (c) 1994 Christopher G. Demetriou
+# All rights reserved.
+# 
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+#    notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+#    notice, this list of conditions and the following disclaimer in the
+#    documentation and/or other materials provided with the distribution.
+# 3. All advertising materials mentioning features or use of this software
+#    must display the following acknowledgement:
+#          This product includes software developed for the
+#          NetBSD Project.  See http://www.NetBSD.org/ for
+#          information about NetBSD.
+# 4. The name of the author may not be used to endorse or promote products
+#    derived from this software without specific prior written permission.
+# 
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 
+# <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
+
+PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export PATH
+TERM=vt100
+export TERM
+HOME=/
+export HOME
+
+umask 022
+
+if [ "X${DONEPROFILE}" = "X" ]; then
+       DONEPROFILE=YES
+       export DONEPROFILE
+
+       echo "Checking filesystems..."
+       fsck -y
+
+       echo "Mounting root..."
+       mount -u /
+
+       # set up some sane defaults
+       echo 'erase ^?, werase ^W, kill ^U, intr ^C'
+       stty newcrt werase ^W intr ^C kill ^U erase ^?
+       echo ''
+
+       TERMCAP=/.termcap ; export TERMCAP
+
+       [ -x /sysinst ] && /sysinst
+fi


Home | Main Index | Thread Index | Old Index