Port-mac68k archive

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

Serial console unusable in -current?



All,

current kernels booted to serial console invariably drop into the kernel
debugger after having probed nubus:

Bootstrapping NetBSD/mac68k.
Getting mapping from MMU.
Loaded at 0x0
System RAM: 71303168 bytes in 17408 pages.
     Low = 0x0, high = 0x4400000
On-board video at addr 0x0xf9001000 (phys 0x0xf9001000), len 0xff000.
Done.
Bootstrapping the pmap system.
Pmap bootstrapped.
Moving ROMBase from 0x40800000 to 0x4ee000.
Video address 0x0xf9001000 -> 0x0x6ee000.
Loaded initial symtab at 0x355878, strtab at 0x3ac738, # entries 21436
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.40 (DEBUG) #0: Wed Nov 24 18:21:20 CET 2010

hf@Hochstuhl:/var/obj/netbsd-builds/developer/mac68k/sys/arch/mac68k/compile/DEB
UG
Apple Macintosh Quadra 700  (68040)
cpu: delay factor 800
fpu: mc68040
total memory = 69632 KB
avail memory  = 63048 KB
mrg: 'Mac IIci/Q700 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
esp0 at obio0 addr 0 (quick): address 0x3fd000: NCR53C96, 25MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
adb0 at obio0
asc0 at obio0: Apple Sound Chip
intvid0 at obio0 @ f9001000: DAFB video subsystem, monitor sense 1
intvid0: 640 x 480, monochrome
macfb0 at intvid0
wsdisplay0 at macfb0 (kbdmux ignored)
sn0 at obio0: integrated SONIC Ethernet adapter
sn0: Ethernet address 08:00:07:34:08:9c
iwm0 at obio0: Apple GCR floppy disk controller
fd0 at iwm0 drive 0: (drive empty)
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
Stopped in pid 0.1 (system) at  netbsd:cpu_Debugger+0x6:        unlk    a6
cpu_Debugger(18,0,1157b4,656b600,656b6a0) + 6
zstty_stint(656b600,0) + 152
zsc_intr_hard(656b5f4,13610,11448ea,3e5f50,ce150) + 120
zshard(656b5f4,3e5f78,3554,70,2714) + 12
intr_dispatch(70) + 4e
intrhand(?)
cpu_configure(13610,13cb0,8006025a,ffffcffc,400) + a
main(3e5ff4,154f04,769000,1000,331620) + 21a
low() + 2
db>

(the debugger prompt is dead), where DEBUG is

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

# This is a copy of GENERIC with the ncr5380 sbc driver enabled, for
# those "other" SCSI devices that the default ncrscsi will not even
# boot from.
#
# Note that the ncr53c9x esp driver is not concerned.

# 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>


-- any ideas where to start?

        hauke

--
"It's never straight up and down"     (DEVO)




Home | Main Index | Thread Index | Old Index