Port-mac68k archive

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

Re: NetBSD 10.0 on a Mac IIci



Hello Hauke,

On 4/17/24 2:58 AM, Hauke Fath wrote:
> On Mon, 15 Apr 2024 10:30:58 -0600, Stan Johnson wrote:
>> NetBSD 10.0 doesn't seem to boot on the IIci with any Nubus video card
>> installed, including the Macintosh II Video Card (Toby Frame Buffer).
> 
> Have you tried older releases, for comparison?
> 

NetBSD 9.3 appears to be ok.

In both NetBSD 10.0 and 9.3, the installation kernel works (using a Toby
Frame Buffer Nubus video card).

The problem is with the GENERICSBC kernel that gets installed using
NetBSD 10.0.

NetBSD 10.0:
  netbsd-INSTALLSBC.gz (2165610 bytes) : works
  netbsd-GENERICSBC.gz (1954111 bytes) : crashes

The corresponding kernels from NetBSD 9.3 both work without any
problems. I've deleted my 9.3 installation, but the 9.3 GENERICSBC
kernel booted in 10.0 far enough to see that it's not crashing.

> Do you have displays attached to both video connectors, or just to the 
> nubus card's? 

I've only connected one display at a time. After installation, NetBSD
10.0 crashes regardless of which connection is used. Removing the Nubus
video card and using the built-in video is a workaround.

> ISTR problems with multi-head setups on mac68k, which is 
> kind of ironic since the Macintosh was the first platform to broadly 
> support multiple displays...
> 
>> This may be a bug, since the installation documentation says that most
>> basic unaccelerated Nubus video cards are supported, and an earlier
>> document specifically says that the Toby card is supported: [...]
>>
>> Please let me know whether I should report this issue as a bug.
> 
> Yes, please do.
> ...

ok, I'll do that.

Here's a sample crash (the first boot is the GENERICSBC kernel that is
installed during NetBSD 10.0 installation; it crashes. The second boot
is the 9.3 GENERICSBC kernel, which works.

-----

[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012,
2013,
[   1.0000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022,
2023,
[   1.0000000]     2024
[   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All
rights reserved.

[   1.0000000] NetBSD 10.0 (GENERICSBC) #0: Thu Mar 28 08:33:33 UTC 2024
[   1.0000000]
mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/mac68k/compile/GENERICSBC
[   1.0000000] Apple Macintosh IIci  (68030)
[   1.0000000] cpu: delay factor 266
[   1.0000000] fpu: mc68882
[   1.0000000] total memory = 81920 KB
[   1.0000000] avail memory = 76008 KB
[   1.0000000] mrg: 'Mac IIci/Q700 ROMs' ROM glue, tracing off, debug
off, silent traps
[   1.0000000] mainbus0 (root)
[   1.0000000] obio0 at mainbus0
[   1.0000000] adb0 at obio0
[   1.0000000] asc0 at obio0: Apple Sound Chip
[   1.0000000] iwm0 at obio0: Apple GCR floppy disk controller
[   1.0000000] fd0 at iwm0 drive 0: (drive empty)
[   1.0000000] sbc0 at obio0 addr 0: options=01<PDMA>
[   1.0000000] scsibus0 at sbc0: 8 targets, 8 luns per target
[   1.0000000] zsc0 at obio0 chip type 0
[   1.0000000] zsc0 channel 0: d_speed   9600 DCD clk 0 CTS clk 0
[   1.0000000] zstty0 at zsc0 channel 0 (console i/o)
[   1.0000000] zsc0 channel 1: d_speed   9600 DCD clk 0 CTS clk 0
[   1.0000000] zstty1 at zsc0 channel 1
[   1.0000000] nubus0 at mainbus0
[   1.0000000] macvid0 at nubus0 slot d: Toby frame buffer card
[   1.0000000] macvid0: 640 x 480, monochrome
[   1.0000000] macfb0 at macvid0
[   1.0000000] wsdisplay0 at macfb0 (kbdmux ignored)
[   1.0000000] ae0 at nubus0 slot e: MacCon Ethernet, 64KB memory
[   1.0000000] ae0: Ethernet address 00:00:94:21:84:9a
[   1.0000000] ae0: NIC memory corrupt - invalid packet length 65280
[   1.0141022] scsibus0: waiting 2 seconds for devices to settle...
[   1.0159775] adb0 (direct, II series): 2 targets
[   1.1169834] aed0 at adb0 addr 0: ADB Event device
[   1.1780090] akbd0 at adb0 addr 2: keyboard II
[   1.2353058] wskbd0 at akbd0 (mux ignored)
[   1.2945774] ams0 at adb0 addr 3: 1-button, 100 dpi mouse
[   1.3886657] wsmouse0 at ams0 (mux ignored)
[   1.4454786] WARNING: system needs entropy for security; see entropy(7)
[   3.2108687] sd0 at scsibus0 target 0 lun 0: <codesrc, SCSI2SD, 4.2>
disk fixed
[   3.3117202] sd0: 59265 MB, 7555 cyl, 255 head, 63 sec, 512 bytes/sect
x 121374720 sectors
[   3.4167970] sd0: async, 8-bit transfers
[   3.4780703] sd1 at scsibus0 target 1 lun 0: <QUANTUM, FIREBALL
ST4.3S, 0F0C> disk fixed
[   3.5977637] sd1: 4159 MB, 7068 cyl, 6 head, 200 sec, 512 bytes/sect x
8519216 sectors
[   3.6942889] sd1: async, 8-bit transfers
[   4.4318872] swwdog0: software watchdog initialized
[   4.5024460] boot device: sd1
[   4.5856121] Kernel Illegal Instruction trap.
[   4.6359887] trap type 2, code = 0x0, v = 0x0
[   4.6874785] kernel program counter = 0x1d422
[   4.7385150] kernel: Illegal instruction trap
[   4.7897035] pid = 0, lid = 0, pc = 0001D422, ps = 2004, sfc = 1, dfc = 1
[   4.7897035] Registers:
[   4.7897035]              0        1        2        3        4
 5        6        7
[   4.7897035] dreg: 00000000 00000000 002C19AA 0000040A 0000040A
00000000 0000040A 0000040A
[   4.7897035] areg: 0037A680 008CD924 00913F08 00000000 00871A80
00871A80 0043FBC0 FFFF9FFC

[   4.7897035] Kernel stack (0043FA6C):
[   4.7897035] 43FA6C: 00022752 0043FB4C 00000080 002C19AA 0000040A
0000040A 00000000 0000040A
[   4.7897035] 43FA8C: 0000040A 00913F08 00000000 00871A80 00871A80
008C9F74 00000000 00004200
[   4.7897035] 43FAAC: 008C9EE0 008D6940 0083303C 00000001 00000000
00000000 00000000 00000000
[   4.7897035] 43FACC: 00000000 00000000 00000000 00000000 00000002
00000000 00000000 00000000
[   4.7897035] 43FAEC: 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000
[   4.7897035] 43FB0C: 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000
[   4.7897035] 43FB2C: 00000000 0043FB68 0043FBC0 0000306C 0043FB4C
00000002 00000000 00000000
[   4.7897035] 43FB4C: 00000000 00000000 002C19AA 0000040A 0000040A
00000000 0000040A 0000040A
[   4.7897035] 43FB6C: 0037A680 008CD924 00913F08 00000000 00871A80
00871A80 0043FBC0 FFFF9FFC
[   4.7897035] 43FB8C: 00000000 20040001 D4220010 0000000A 0000000C
0000040A 00000000 008D6940
[   4.7897035] 43FBAC: 00871A80 002CE090 00871A80 00000000 0000040A
0043FC30 0024CEFC 00000000
[   4.7897035] 43FBCC: 0000040A 0003BA9E 00871A80 00830150 008D6940
00871A80 00000002 00000000
[   4.7897035] 43FBEC: 0000040A 00000000 003719C0 00000067 008D6940
008D69BC 002CE090 00871A80
[   4.7897035] 43FC0C: 008D6A88 00000000 00000002 0000040A 0000040A
008D6940 008D69BC 00000000
[   4.7897035] 43FC2C: 0000040A 0043FC6C 0024D1A0 008D6940 00000000
0000040A 0000000A 0000040A
[   4.7897035] 43FC4C: 00000000 FFFF2000 008D6940 00000000 00000004
008D8C00 00000000 0000040A
[   4.8370623] panic: Illegal instruction
[   4.8817544] cpu0: Begin traceback...
[   4.9245904] ?(?)
[   5.0578573] db_panic(2,1ed690,43fa6c,1ed88c,2c2dfd) at 0
[   5.2411703] vpanic(2c2dfd,43fa78,43fb34,22770,2c2dfd) + 18c
[   5.5579263] panic(2c2dfd,2c19aa,40a,40a,0) + c
[   5.8412609] trap(43fb4c,2,0,0) + 28e
[   6.1246338] fault(?)
[   6.2580373] readdisklabel(0,40a,3ba9e,871a80,830150) + 10
[   6.4580220] dk_getdisklabel(8d6940,0,40a) + 7e
[   6.7580629] dk_open(8d6940,0,40a,40000001,6000,3719c0) + a2
[   7.1081190] sdopen(0,40a,40000001,6000,3719c0) + 80
[   7.2914792] bdev_open(0,40a,40000001,6000,3719c0) + ea
[   7.5915290] spec_open(43fd98) + 23c
[   7.7582161] VOP_OPEN(8d41e0,40000001,ffffffff,8d41e0,202) + 30
[   8.0749963] opendisk(8d6b00,2000,8,43ff98,2ef52) + cc
[   8.4250283] rootconf_handle_wedges(?)
[   8.5750091] check_exec(43ffac,2bedf6,0,372200,1) + 3e
[   8.7750397] rootconf(?)
[   8.9084446] cpu_rootconf(0,372200,1,372200,14147) + c
[   8.9822497] uvm_fault(0x391b50, 0x76a000, 0x1) -> 0xe
[   9.0428693]   type 8, code [mmu,,ssw]: 402074d
[   9.0964514] trap type 8, code = 0x402074d, v = 0x76bffa
[   9.1589743] kernel program counter = 0x23f86
[   9.2101820] kernel: MMU fault trap
[   9.2510189] trap during panic!
[   9.2875972] pid = 0, lid = 0, pc = 00023F86, ps = 2004, sfc = 1, dfc = 1
[   9.2875972] Registers:
[   9.2875972]              0        1        2        3        4
 5        6        7
[   9.2875972] dreg: 00000004 00000004 0043F940 0076BFFA 0000FFF1
492B3B70 00000004 002BED00
[   9.2875972] areg: 0043F940 0076BFFA 0076C000 0043F9C8 000C25C0
0001B664 0043F914 FFFF9FFC

[   9.2875972] Kernel stack (0043F794):
[   9.2875972] 43F794: 00022752 0043F874 00000080 0043F940 0076BFFA
0000FFF1 492B3B70 00000004
[   9.2875972] 43F7B4: 002BED00 0076C000 0043F9C8 000C25C0 0001B664
00393778 00000000 00000001
[   9.2875972] 43F7D4: 00002700 0043F7F0 00027A10 00000001 00000000
00000000 00000000 00000000
[   9.2875972] 43F7F4: 00000000 00000000 00000000 00000000 00000008
00000000 00000000 00000000
[   9.2875972] 43F814: 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000
[   9.2875972] 43F834: 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000
[   9.2875972] 43F854: 00000000 001A8F0A 0043F914 0000308C 0043F874
00000008 0402074D 0076BFFA
[   9.2875972] 43F874: 00000004 00000004 0043F940 0076BFFA 0000FFF1
492B3B70 00000004 002BED00
[   9.2875972] 43F894: 0043F940 0076BFFA 0076C000 0043F9C8 000C25C0
0001B664 0043F914 FFFF9FFC
[   9.2875972] 43F8B4: 00000000 20040002 3F86B008 0EEA074D 60247202
0076BFFA 0076BFFA 00000004
[   9.2875972] 43F8D4: 20912091 00023F8C 00023F8A 00023F88 00000000
6024FF07 000FF482 00000000
[   9.2875972] 43F8F4: 00000040 00003F00 00000000 80200000 0043F91C
00000000 000076C0 0043F954
[   9.2875972] 43F914: 0043F944 000C25E2 0076BFFA 00000004 0043F940
00440000 0076BFFA 0000FFF1
[   9.2875972] 43F934: 492B3B70 00000001 002BEDF0 0076C000 0043F970
0002E85C 0076BFFA 00000004
[   9.2875972] 43F954: 00000000 00440000 0043FF40 0000FFF1 001ED690
000C25C0 003719C0 0043FA20
[   9.2875972] 43F974: 0002EF12 0043F9C8 00000104 00002000 00000000
FFFFFF7F 00000001 00000000
[   9.3348896] Skipping crash dump on recursive panic
[   9.3921494] panic: MMU fault
[   9.4266929] Faulted in mid-traceback; aborting...
Stopped in pid 0.0 (system) at  netbsd:cpu_Debugger+0x6:        unlk    a6
db> continue
rebooting...
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2003, 2004, 2005,
[   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
2015, 2016, 2017,
[   1.0000000]     2018, 2019, 2020, 2021, 2022
[   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All
rights reserved.

[   1.0000000] NetBSD 9.3 (GENERICSBC) #0: Thu Aug  4 15:30:37 UTC 2022
[   1.0000000]
mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/mac68k/compile/GENERICSBC
[   1.0000000] Apple Macintosh IIci  (68030)
[   1.0000000] cpu: delay factor 266
[   1.0000000] fpu: mc68882
[   1.0000000] total memory = 81920 KB
[   1.0000000] avail memory = 76240 KB
[   1.0000000] mrg: 'Mac IIci/Q700 ROMs' ROM glue, tracing off, debug
off, silent traps
[   1.0000000] mainbus0 (root)
[   1.0000000] obio0 at mainbus0
[   1.0000000] adb0 at obio0
[   1.0000000] asc0 at obio0: Apple Sound Chip
[   1.0000000] iwm0 at obio0: Apple GCR floppy disk controller
[   1.0000000] fd0 at iwm0 drive 0: (drive empty)
[   1.0000000] sbc0 at obio0 addr 0: options=01<PDMA>
[   1.0000000] scsibus0 at sbc0: 8 targets, 8 luns per target
[   1.0000000] zsc0 at obio0 chip type 0
[   1.0000000] zsc0 channel 0: d_speed   9600 DCD clk 0 CTS clk 0
[   1.0000000] zstty0 at zsc0 channel 0 (console i/o)
[   1.0000000] zsc0 channel 1: d_speed   9600 DCD clk 0 CTS clk 0
[   1.0000000] zstty1 at zsc0 channel 1
[   1.0000000] nubus0 at mainbus0
[   1.0000000] macvid0 at nubus0 slot d: Toby frame buffer card
[   1.0000000] macvid0: 640 x 480, monochrome
[   1.0000000] macfb0 at macvid0
[   1.0000000] wsdisplay0 at macfb0 (kbdmux ignored)
[   1.0000000] ae0 at nubus0 slot e: MacCon Ethernet, 64KB memory
[   1.0000000] ae0: Ethernet address 00:00:94:21:84:9a
[   1.0000000] ae0: NIC memory corrupt - invalid packet length 65280
[   1.0197792] scsibus0: waiting 2 seconds for devices to settle...
[   1.0934133] adb0 (direct, II series): 2 targets
[   1.1923436] aed0 at adb0 addr 0: ADB Event device
[   1.2510956] akbd0 at adb0 addr 2: keyboard II
[   1.3074580] wskbd0 at akbd0 (mux ignored)
[   1.3546393] ams0 at adb0 addr 3: 1-button, 100 dpi mouse
[   1.4553516] wsmouse0 at ams0 (mux ignored)
[   3.2924304] sd0 at scsibus0 target 0 lun 0: <codesrc, SCSI2SD, 4.2>
disk fixed
[   3.3924802] sd0: 59265 MB, 7555 cyl, 255 head, 63 sec, 512 bytes/sect
x 121374720 sectors
[   3.4934325] sd0: async, 8-bit transfers
[   3.5425951] sd1 at scsibus0 target 1 lun 0: <QUANTUM, FIREBALL
ST4.3S, 0F0C> disk fixed
[   3.6611829] sd1: 4159 MB, 7068 cyl, 6 head, 200 sec, 512 bytes/sect x
8519216 sectors
[   3.7600711] sd1: async, 8-bit transfers
[   4.1863719] swwdog0: software watchdog initialized
[   4.2567188] boot device: sd1
[   4.3417066] root on sd1a dumps on sd1b
[   4.4697001] root file system type: ffs
[   4.5530322] kern.module.path=/stand/mac68k/9.3/modules
Wed Apr 17 02:49:32 MDT 2024
[2]   Bad system call         for rcd in ${rc_directories:-/etc/rc.d};
do te...
Wed Apr 17 02:49:36 MDT 2024
inininini
NetBSD/mac68k (Amnesiac) (constty)

login:


Home | Main Index | Thread Index | Old Index