Subject: IIci netbsd update, mostly working...
To: port-mac68k <port-mac68k@netbsd.org>
From: Martin Espinoza <mespinoza41@mchsi.com>
List: port-mac68k
Date: 03/20/2002 09:05:51
NetBSD dinghy 1.5ZA NetBSD 1.5ZA (GENERIC) #89: Mon Jan 14 21:58:20 PST 
2002     root2@c610:/usr/cvs/src/sys/arch/mac68k/compile/GENERIC mac68k

I still have two issues with my IIci. One of them is the cnopen issue 
during boot using the system console rather than serial.

The other is that the kernel detects my video card, but it detects it as 
640x480. It's a mac two-page mono and AFAIK it only does 1152x864. The X 
server loads and you can tell it's trying to do the right thing, but it 
just doesn't go.

I'm running the latest netbsd/mac68k snapshot and I have an Apple 8*24 
GC hooked up to my mac two-page mono display. It actually does display 
console text all right, but of course if I boot with the graphics 
console I get the following error which I've pasted from my other mail 
so that, if you care, you don't have to go back and check.

 > As for where things break down when I try to boot without serial
 > console: Either it hangs at ADB initialization/detection (while
 > initializing adb0, it stops at "adb"), or it hangs right after it says
 > "root file system: ffs" with the following error:
 >
 > panic: cnopen: cn_tab->cn_dev == NODEV
 >
 > Stopped in pid 7 (init) at      _cpu_Debugger+0x6:      unlk    a6

And for those of you who will be wanting the rest of my information:

[ netbsd ELF symbol table not valid ]
[ using 438667 bytes of netbsd a.out symbol table ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
     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 1.5ZA (GENERIC) #89: Mon Jan 14 21:58:20 PST 2002
     root2@c610:/usr/cvs/src/sys/arch/mac68k/compile/GENERIC
Apple Macintosh IIci  (68030)
cpu: delay factor 266
total memory = 32768 KB
avail memory = 26520 KB
using 435 buffers containing 1740 KB of memory
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
adb0 at obio0
asc0 at obio0: Apple Sound Chip
iwm0 at obio0: Apple GCR floppy disk controller
fd0 at iwm0 drive 0: (drive empty)
ncrscsi0 at obio0
scsibus0 at ncrscsi0 channel 0: 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
macvid0 at nubus0 slot c: Macintosh Display Card
macvid0: 640 x 480, monochrome
macfb0 at macvid0
wsdisplay0 at macfb0 kbdmux 1
ae0 at nubus0 slot d: EtherNet card, 16KB memory
ae0: Ethernet address 02:60:8c:02:a4:ec
fpu0 at mainbus0 (mc68882)
adb0 (direct, II series): 2 targets
aed0 at adb0 addr 0: ADB Event device
akbd0 at adb0 addr 2: extended keyboard
wskbd0 at akbd0 mux 1
wskbd0: connecting to wsdisplay0
ams0 at adb0 addr 3: 1-button, 100 dpi mouse
wsmouse0 at ams0 mux 0
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <IB, WD\134000-32\1340000  \134000 
\134000J, S5\1340000> SCSI0 0/direct fixed
sd0: 206 MB, 1792 cyl, 4 head, 59 sec, 512 bytes/sect x 422912 sectors
sd1 at scsibus0 target 2 lun 0: <QUANTUM, FIREBALL_TM2110S, 300X> SCSI2 
0/direct fixed
sd1: 2014 MB, 6810 cyl, 4 head, 151 sec, 512 bytes/sect x 4124736 sectors
sd2 at scsibus0 target 5 lun 0: <IOMEGA, ZIP 100, D.09> SCSI2 0/direct 
removable
sd2: drive offline
boot device: sd1
root on sd1a dumps on sd1b
PRAM: 0x3c983ee8, macos_boottime: 0x3c983ed2.
root file system type: ffs

Please notice the:
macvid0 at nubus0 slot c: Macintosh Display Card
macvid0: 640 x 480, monochrome

It's not 640x480 before I boot netbsd, for sure. I even tried telling 
the booter to set my resolution to 1152x864 (which is where it is 
already) but that didn't change anything - I didn't really think it 
would, but it was worth a shot. How do I convince the system that my 
display is much higher res than 640x480?