NetBSD-Bugs archive

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

port-hpcmips/39426: serial console hangs shortly after boot on a LROUTER



>Number:         39426
>Category:       port-hpcmips
>Synopsis:       serial console hangs shortly after boot on a LROUTER
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-hpcmips-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 29 00:40:00 +0000 2008
>Originator:     Nozomu Ando
>Release:        NetBSD-current 4.99.72
>Organization:
>Environment:
NetBSD hpcmips1 4.99.72 NetBSD 4.99.72 (LR) #0: Thu Aug 28 21:28:58 JST 2008  
nand@mika:/w/netbsd/hpcmips/080828/obj/sys/arch/hpcmips/compile/LR hpcmips


>Description:
The system always hangs at the first "date" command of /etc/rc script on 
booting sequence.
This machine (L-Router) have a serial console.



>How-To-Repeat:
boot with a recent current-kernel
>Fix:
The problem is fixed here with the following patch:

RCS file: /cvsroot/src/sys/arch/hpcmips/vr/com_vrip.c,v
retrieving revision 1.20
diff -u -r1.20 com_vrip.c
--- sys/arch/hpcmips/vr/com_vrip.c      14 Mar 2008 15:09:10 -0000      1.20
+++ sys/arch/hpcmips/vr/com_vrip.c      29 Aug 2008 00:26:22 -0000
@@ -197,7 +197,7 @@
 
        DPRINTF(("Establish intr"));
        if (!vrip_intr_establish(va->va_vc, va->va_unit, 0, IPL_TTY,
-           comintr, self)) {
+           comintr, sc)) {
                aprint_error_dev(self, "can't map interrupt line.\n");
        }





Home | Main Index | Thread Index | Old Index