Subject: console and RAM misbehavior
To: None <port-mac68k@netbsd.org>
From: Amitai Schlair <ays@eecs.cwru.edu>
List: port-mac68k
Date: 10/15/2000 15:51:00
My IIci with the Oct. 7 1.5_ALPHA2 snapshot exhibits two problems that it
didn't have in 1.4.2:

1) The standard Apple 13" monitor is connected to internal video. However,
   if my "Mac II Portrait Video Card" is inserted, the console
   (wsdisplay0) seems to acquire its sense of size from this card
   (wsdisplay1). `ls' output looks funny, pagers run the first half of
   each page off the top of the screen, and full-screen editing is
   impossible.

2) RAM is sized incorrectly. The machine has 20MB, and Mac OS sees it all,
   but even with "Auto-size RAM" unchecked and the correct amount 
   specified in the Booter, NetBSD only sees 16MB.


_With_ the Portrait card inserted:

NetBSD 1.5_ALPHA2 (GENERIC) #60: Mon Oct  9 17:53:04 PDT 2000
    root2@c610:/usr/src/sys/arch/mac68k/compile/GENERIC
Apple Macintosh IIci  (68030)
cpu: delay factor 266
total memory = 16384 KB
avail memory = 15132 KB
using 230 buffers containing 920 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
intvid0 at obio0 @ 0: RBV video subsystem, Macintosh II display
intvid0: 640 x 480, monochrome
macfb0 at intvid0
wsdisplay0 at macfb0: console (std, vt100 emulation)
iwm0 at obio0: Apple GCR floppy disk controller
fd0 at iwm0 drive 0: (drive empty)
ncrscsi0 at obio0
scsibus0 at ncrscsi0: 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
zsc0 channel 1: d_speed   9600 DCD clk 0 CTS clk 0
zstty1 at zsc0 channel 1
nubus0 at mainbus0
ae0 at nubus0 slot c: MacCon Ethernet, 32KB memory
ae0: Ethernet address 00:00:94:20:ce:ac
ae1 at nubus0 slot d: MacCon Ethernet, 32KB memory
ae1: Ethernet address 00:00:94:04:c4:6b
macvid0 at nubus0 slot e: Mac II Portrait Video Card
macvid0: 1152 x 870, monochrome
macfb1 at macvid0
wsdisplay1 at macfb1
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: console keyboard, using wsdisplay0
ams0 at adb0 addr 3: 1-button, 100 dpi mouse
wsmouse0 at ams0
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <UANTUM, LPS270S, 59> SCSI2 0/direct fixed
sd0: 258 MB, 2740 cyl, 2 head, 96 sec, 512 bytes/sect x 528808 sectors
boot device: sd0
root on sd0a dumps on sd0b
PRAM: 0x39e8c2af, macos_boottime: 0x39e8c29d.
root file system type: ffs
IP Filter: v3.4.9 initialized.  Default = pass all, Logging = disabled


_Without_ the Portrait card:

NetBSD 1.5_ALPHA2 (GENERIC) #60: Mon Oct  9 17:53:04 PDT 2000
    root2@c610:/usr/src/sys/arch/mac68k/compile/GENERIC
Apple Macintosh IIci  (68030)
cpu: delay factor 266
total memory = 16384 KB
avail memory = 15132 KB
using 230 buffers containing 920 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
intvid0 at obio0 @ 0: RBV video subsystem, Macintosh II display
intvid0: 640 x 480, monochrome
macfb0 at intvid0
wsdisplay0 at macfb0: console (std, vt100 emulation)
iwm0 at obio0: Apple GCR floppy disk controller
fd0 at iwm0 drive 0: (drive empty)
ncrscsi0 at obio0
scsibus0 at ncrscsi0: 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
zsc0 channel 1: d_speed   9600 DCD clk 0 CTS clk 0
zstty1 at zsc0 channel 1
nubus0 at mainbus0
ae0 at nubus0 slot c: MacCon Ethernet, 32KB memory
ae0: Ethernet address 00:00:94:20:ce:ac
ae1 at nubus0 slot d: MacCon Ethernet, 32KB memory
ae1: Ethernet address 00:00:94:04:c4:6b
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: console keyboard, using wsdisplay0
ams0 at adb0 addr 3: 1-button, 100 dpi mouse
wsmouse0 at ams0
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <QUANTUM, LPS270S, 590A> SCSI2 0/direct fixed
sd0: 258 MB, 2740 cyl, 2 head, 96 sec, 512 bytes/sect x 528808 sectors
boot device: sd0
root on sd0a dumps on sd0b
PRAM: 0x39e8f228, macos_boottime: 0x39e8f219.
root file system type: ffs
IP Filter: v3.4.9 initialized.  Default = pass all, Logging = disabled