Re: mac68k on Classic II panic (crossing guard)

Joel Rees <[email protected]> Wed, 19 Mar 2003 11:02:49 +0900
Newsgroups gmane.os.openbsd.misc,gmane.os.openbsd.mac68k
Message-ID <[email protected]>
(I was waiting for someone who really knows to pick this up, but they
are all busy, of course. Follow-ups to the mac68k@ list, please.)

> Hi.  I've been trying to make OpenBSD boot on a Mac Classic II.  The mac68k
> page says it's fully supported, however, I am having trouble getting the
> kernel to boot without a panic.  I'm hoping someone can give me a hint or
> two.

If you check the archives of the mac68k@ list, you'll see that the
subject of problems with multiple drives on the scsi chain has come up 
(in response to a question I asked). I don't have enough experience to
say whether your troubles could be related, but you might want to check
the archives. Nick's response to my question:

    http://marc.theaimsgroup.com/?l=openbsd-mac68k&m=104500501012609&w=2

HTH

-- 
Joel Rees <[email protected]>


> Below are boot messages, trace, and ps output from the GENERIC kernel from
> 3.3-beta.  GENERICSBC dies pretty much identically, as do both kernels from
> 3.2.
> 
> It is trying to boot from the BSD partition... sd0a, SCSI ID 5, there is
> another disk at ID6.
> 
> I have tried with and without disabling VBL interrupts, and both single and
> multi-user to no effect.
> 
> TIA for any help.
> 
> -Dan
> 
> OpenBSD/mac68k console
> [ using 380222 bytes of bsd a.out symbol table ]
> System RAM: 10452992 bytes in 2552 pages.
>      Low = 0x0, high = 0x9f8000
> On-board video at addr 0xfee09a80 (phys 0xfee09a80), len 0x5580.
> Copyright (c) 1982, 1986, 1989, 1991, 1993
> 	The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2003 OpenBSD. All rights reserved.  http://www.OpenBSD.org
> 
> OpenBSD 3.3 (GENERIC) #9: Sat Mar 15 16:23:00 PST 2003
>     [email protected]:/usr/src/sys/arch/mac68k/compile/GENERIC
> Apple Macintosh Classic II, 68030 CPU+MMU
> real mem = 10452992 (10208K)
> avail mem = 6148096 (6004K)
> using 153 buffers containing 626688 bytes (612K) of memory
> mrg: kernel has no ROM vectors for this machine!
> adb: bus subsystem
> mrg: skipping egret setup
> adb: calling ADBReInit
> adb: using IIsi series hardware support
> adb: cleanup: (length=0x2):  0xff  0x03
> adb: ADBReInit complete
> adb: mapped device (8) at 2
> adb: 100 dpi mouse at 3
> mainbus0 (root)
> obio0 at mainbus0
> adb0 at obio0 (ADB event device)
> asc0 at obio0: Apple Sound Chip
> intvid0 at obio0: Internal Video
> intvid0: 512 x 342, monochrome
> grf0 at intvid0
> ite0 at grf0 (minimal console)
> trap type 0, code = 0x755, v = 0xbfaa80
> kernel program counter = 0x15875e
> kernel: Bus error trap
> pid = 0, pc = 0015875E, ps = 2008, sfc = 0001, dfc = 0001
> Registers:
>              0        1        2        3        4        5        6        7
> dreg: FFFFFFFF 00000000 00000000 00000009 00000080 FEE09A80 00000005 00000002
> areg: 00BFAA80 00BFAA80 00000000 00000000 00000000 001943D0 0023CBE0 FFEFFFFC
> 
> Kernel stack (0023CAE4):
> 23CAE4: 001813B6 0023CB34 00000080 00000000 00000009 00000080 FEE09A80 00000005
> 23CB04: 00000002 00000000 00000000 00000000 001943D0 00000000 00000000 0023CBE0
> 23CB24: 00002CAE 00000000 00000755 00BFAA80 FFFFFFFF 00000000 00000000 00000009
> 23CB44: 00000080 FEE09A80 00000005 00000002 00BFAA80 00BFAA80 00000000 00000000
> 23CB64: 00000000 001943D0 0023CBE0 FFEFFFFC 00000000 20080015 875EB008 0EEE0755
> 23CB84: D1F9001C 00BFAA80 00BFAA80 00000040 B910B910 00158764 00158762 00158760
> 23CBA4: 00000092 D1F9FF0D 000FF79C FFFFFFF6 001943D0 00000000 00001800 21A00C5D
> 23CBC4: 0015875E 00000000 00000000 00000000 00000000 001943B8 0023CD14 0023CC00
> 23CBE4: 00158A42 00000000 00000000 0000000A 00485F00 0018C9B0 00484EC0 0023CC08
> 23CC04: 00159E1A 0023CC18 00159E0A 00000000 00000000 0023CC24 0015959C 00159576
> 23CC24: 0023CC54 0004A62E 00485F00 00484EC0 0023CD14 0023CD14 00193CD8 0023CD14
> 23CC44: 00155ADE 00485F00 00000000 00193CC4 0023CC78 0004A412 00485F00 0018C78C
> 23CC64: 0023CD14 00155ADE 0047E900 0023CD14 00485F00 0023CC9C 001567CE 00485F00
> 23CC84: 0023CD14 00155ADE 00000000 00156778 0018C9B0 00485F00 0023CCCC 0004A62E
> 23CCA4: 0047E900 00485F00 0023CD14 0023CD14 00193C80 0023CD9C 00155ADE 0047E900
> 23CCC4: 0047E900 00193C6C 0023CCF0 0004A412 0047E900 0018C748 0023CD14 00155ADE
> panic: Bus error
> Stopped at      _Debugger+0x6:  unlk    a6
> RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
> DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
> ddb> trace
> _Debugger(2004,0,0,4f77e,23cb20) + 6
> _panic(180f14,0,9,80,fee09a80) + 74
> _trap(0,755,bfaa80) + 246
> _reversepixel1(0,0,a) + 150
> _erasecursor(23cc18,159e0a,0,0,23cc24) + 38
> _iteon(0,0,23cc24,15959c,159576) + 4
> _ite_init(159576,23cc54,4a62e,485f00,484ec0) + 1c
> _iteattach(485f00,484ec0,23cd14,23cd14,193cd8) + e
> _config_attach(485f00,18c78c,23cd14,155ade,47e900) + 126
> _config_found_sm(485f00,23cd14,155ade,0,156778) + 30
> _grfattach(47e900,485f00,23cd14,23cd14,193c80) + 4a
> _config_attach(47e900,18c748,23cd14,155ade,484f40) + 126
> _config_found_sm(47e900,23cd14,155ade,0,18c9b0) + 30
> _grf_establish(47e900,0,155d5a,155d7a,18c9b0) + 88
> _grfiv_attach(484f40,47e900,23cd9c,23cd9c,484f40) + f6
> _config_attach(484f40,18c704,23cd9c,1502fc,18c726) + 126
> _obio_search(484f40,18c704,0) + 4c
> _mapply(23cdf8,18c704) + a0
> _config_search(15031e,484f40,0,1502ba,484f80) + 82
> _obio_attach(484f80,484f40,0,484f80,18c67c) + 24
> _config_attach(484f80,18c67c,0,0,18c69e) + 126
> _mainbus_search(484f80,18c67c,0) + 2e
> _mapply(23cecc,18c67c) + a0
> _config_search(17d8da,484f80,0,17d8ac,0) + 82
> _mainbus_attach(0,484f80,177c5c,177c5c,177c5c) + 1e
> _config_attach(0,18c65a,177c5c,0,c) + 126
> _config_rootfound(177c5c,177c5c) + 3a
> _cpu_configure(0,1,1c5664,1b6d44,0) + 1e
> _main(?)
> _add_nubus_intr(0,18236e,0,23cff4,179b46) + 300
> _via_init() + 190
> ddb> ps
>    PID   PPID   PGRP    UID  S       FLAGS  WAIT       COMMAND
> *    0     -1      0      0  2     0x80204             swapper
> ddb>