NetBSD-Bugs archive

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

port-mac68k/42973: Booting Macintosh IIsi to serial console panics



>Number:         42973
>Category:       port-mac68k
>Synopsis:       Booting Macintosh IIsi to serial console panics
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-mac68k-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 14 20:35:00 +0000 2010
>Originator:     Hauke Fath
>Release:        NetBSD 5.99.24
>Organization:
Falling Raindrops
>Environment:
        
        
System: NetBSD/mac68k 5.99.24 DEBUG
Architecture: m68k
Machine: mac68k
>Description:

        Booting a -current kernel on a Macintosh IIsi with serial
        console enabled panics:

Bootstrapping NetBSD/mac68k.
Getting mapping from MMU.
Loaded at 0x4000000
System RAM: 17498112 bytes in 4272 pages.
     Low = 0x50000, high = 0x100000
     Low = 0x4000000, high = 0x5000000
On-board video at addr 0x0xfee08000 (phys 0x0x0), len 0x50000.
Done.
Bootstrapping the pmap system.
Pmap bootstrapped.
Moving ROMBase from 0x40800000 to 0x502000.
Video address 0x0xfee08000 -> 0x0x702000.
Loaded initial symtab at 0x36d248, strtab at 0x3c3858, # entries 21301
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.99.24 (DEBUG) #0: Sun Mar 14 21:02:06 CET 2010
        
hf@Hochstuhl:/var/obj/netbsd-builds/developer/mac68k/sys/arch/mac68k/compile/DEBUG
Apple Macintosh IIsi  (68030)
cpu: delay factor 266
fpu: mc68882
total memory = 16384 KB
avail memory = 11592 KB
mrg: 'Mac IIsi class ROMs' ROM glue, tracing off, debug off, silent traps
mrg: I/O map kludge for ROMs that use hardware addresses directly.
mainbus0 (root)
obio0 at mainbus0
adb0 at obio0
asc0 at obio0: Apple Sound Chip
intvid0 at obio0 @ 0: RBV video subsystem, Macintosh II display
intvid0: 640 x 480,  monochrome
macfb0 at intvid0
wsdisplay0 at macfb0 (kbdmux ignored)
iwm0 at obio0: Apple GCR floppy disk controller
fd0 at iwm0 drive 0: (drive empty)
sbc0 at obio0 addr 0: options=01<PDMA>
scsibus0 at sbc0: 8 targets, 8 luns per target
zsc0 at obio0 chip type 0 
zsc0 channel 0: d_speed   9600 DCD clk 0 CTS clk 0
zstty0 at zsc0 channel 0 (console i/o)
zsc0 channel 1: d_speed   9600 DCD clk 0 CTS clk 0
zstty1 at zsc0 channel 1
nubus0 at mainbus0
ae0 at nubus0 slot 9: Ethernet A-Series, 64KB memory
ae0: Ethernet address 00:40:10:02:0e:59
Stopped in pid 0.1 (system) at  netbsd:cpu_Debugger+0x6: unlk a6
cpu_Debugger(18,0,112904,2f0ca10,2f0cab0) + 6
zstty_stint(2f0ca10,0) + 152
zsc_intr_hard(2f0ca04,1109c,111c5c,3fcf50,cd9c0) + 120
zshard(2f0ca04,3fcf78,3554,70,2714) + 12
intr_dispatch(70) + 4e
intrhand(?)
cpu_configure(1109c,d048,800608c9,ffffcffc,50) + a
main(3fcff4,151d18,70f000,1000,348a28) + 20e
low() + 6
db>

        The serial console is unresponsive at the debugger prompt; the
        stack trace was produced by the DDB_COMMANDONENTER setting
        below.

        Same thing happens with 2009-04 and 2010-03 netbsd-5 kernels.

        DEBUG is the following kernel config, essentially a GENERICSBC
        with all debug switches on:


<snip>
include         "arch/mac68k/conf/GENERIC"

# commands which will be executed on each entry to ddb
options         DDB_COMMANDONENTER="trace"

options         DIAGNOSTIC
options         DEBUG
options         LOCKDEBUG

no ncrscsi0                             # SCSI NCR 5380

# SBC_PDMA      0x01    Use PDMA for polled transfers
# SBC_INTR      0x02    Allow SCSI IRQ/DRQ interrupts
# SBC_RESELECT  0x04    Allow disconnect/reselect
sbc0    at obio? addr 0 flags 0x1       # MI SCSI NCR 5380
</snip>


>How-To-Repeat:

        Boot a -current kernel on a IIsi with serial console.

>Fix:
        None. Hard to see what's going on with a dead debugger prompt.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index