Subject: [Fwd: Re: a new snapshot]
To: port-mac68k@NetBSD.ORG <port-mac68k@NetBSD.ORG>
From: =?iso-8859-1?Q?Mat=EDas?= Giovannini <matias@k-bell.com>
List: port-mac68k
Date: 06/11/1999 09:30:32
I tried the current snapshot kernel with my Q800. Below is my report on
it to Mr. Steve Allen.
In summary:

GENERIC-3 hangs on ADB probe
GENERICSBC-3 (w/debug) doesn't respond to key presses
GENERICMGR-3 works fine, better even that GENERIC 1.4 release.

I'd be glad to try anything short of recompiling a kernel (I don't have
enough disk space to do it, sadly).

-------- Original Message --------
Subject: Re: a new snapshot
Date: Thu, 10 Jun 1999 10:48:21 -0300
From: Mat’as Giovannini <matias@k-bell.com>
Reply-To: matias@k-bell.com
Organization: Script S.A.
To: Space Case <wormey@eskimo.com>
References: <199906100707.AAA16960@eskimo.com>



Space Case wrote:
> 
> On Jun 9,  9:45am, Matias Giovannini wrote:
> >Space Case wrote:
> >> I have uploaded a new snapshot to:
> >
> >Hmm, my Q800 hangs on the ADB probe. "adb0 at obio0", and that's it.
> 
> Try the GENERICSBC kernel.  Other than using SBC SCSI instead of NCR SCSI
> (which matters not to the Q800 because it uses a different SCSI chip), it
> has ADB_DEBUG defined.  And if that doesn't work, try the MRG kernel.

Did that. GENERICSBC kernel worked like this:

The ADB probe took quite some time (around 7 seconds) to find two
targets: keyboard and mouse. The boot process was considerably slower
than with the stock 1.4 kernel, and savecore failed saying that it
couldn't find some device. All services started normally, but at the
login prompt nothing that I typed appeared. I telnetted and tried to do
a dmesg to get the messages but dmesg says: "magic number incorrect". I
attribute it to some out-of-synchronization between kernel and base packages.

A "cat /kern/msgbuf" gives:


[ preserving 360747 bytes of netbsd a.out symbol table ]
Copyright (c) 1996, 1997, 1998, 1999
    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.4C (GENERICSBC) #3: Mon Jun  7 07:46:25 PDT 1999
    root2@c610:/usr/src/sys/arch/mac68k/compile/GENERICSBC
Apple Macintosh Quadra 800  (68040)
cpu: delay factor 388
total memory = 16384 KB
avail memory = 12004 KB
using 230 buffers containing 920 KB of memory
mrg: 'Quadra/Centris 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 (direct, II series): 2 targets
aed0 at adb0 addr 0: ADB Event device
kbd0 at adb0 addr 2: extended keyboard (ISO layout)
ms0 at adb0 addr 3: 1-button, 100 dpi mouse
asc0 at obio0: Apple Sound Chip
intvid0 at obio0 @ f9001000: DAFB video subsystem, monitor sense 1
intvid0: 640 x 480, monochrome
grf0 at intvid0
ite0 at grf0 (minimal console)
sn0 at obio0 address 08:00:07:8c:bb:b7
iwm0 at obio0: Apple GCR floppy disk controller
iwm: Chip revision not supported (-77)
esp0 at obio0 (quick): address 0x898000: NCR53C96, 16MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
sd0 at scsibus0 targ 1 lun 0: <CONNER, CP3200-200mb-3.5, 4040> SCSI1
0/direct fixed
sd0: 203 MB, 1368 cyl, 8 head, 38 sec, 512 bytes/sect x 415872 sectors
sd1 at scsibus0 targ 5 lun 0: <QUANTUM, CTS160S, 4.3> SCSI2 0/direct fixed
sd1: 163 MB, 1536 cyl, 4 head, 54 sec, 512 bytes/sect x 333936 sectors
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
fpu0 at mainbus0 (mc68040)
boot device: sd0
root on sd0a dumps on sd0b
PRAM: 0x375f94a5, macos_boottime: 0x375f948b.
root file system type: ffs


MRG works. dmesg and savecore complain again, but I can use the keyboard
just fine (I don't know about the mouse, as I don't have X installed).
What's more, using the stock kernel, it boots with the keyboard set to
caps lock ON initially (so when I first type a login, I get ALL CAPS),
but the MRG kernel sets the keyboard to downcase. The "adb0 at obio0"
line backspaces a little and overwrites the "(mrg)" identifier.

Here's the kernel messages:


[ preserving 360276 bytes of netbsd a.out symbol table ]
Copyright (c) 1996, 1997, 1998, 1999
    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.4C (MRG) #3: Mon Jun  7 08:34:20 PDT 1999
    root2@c610:/usr/src/sys/arch/mac68k/compile/MRG
Apple Macintosh Quadra 800  (68040)
cpu: delay factor 388
total memory = 16384 KB
avail memory = 11992 KB
using 230 buffers containing 920 KB of memory
mrg: 'Quadra/Centris 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 (: 2 targets
aed0 at adb0 addr 0: ADB Event device
kbd0 at adb0 addr 2: extended keyboard (ISO layout)
ms0 at adb0 addr 3: 1-button, 100 dpi mouse
asc0 at obio0: Apple Sound Chip
intvid0 at obio0 @ f9001000: DAFB video subsystem, monitor sense 1
intvid0: 640 x 480, monochrome
grf0 at intvid0
ite0 at grf0 (minimal console)
sn0 at obio0 address 08:00:07:8c:bb:b7
iwm0 at obio0: Apple GCR floppy disk controller
iwm: Chip revision not supported (-77)
esp0 at obio0 (quick): address 0x898000: NCR53C96, 16MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
sd0 at scsibus0 targ 1 lun 0: <CONNER, CP3200-200mb-3.5, 4040> SCSI1
0/direct fi
xed
sd0: 203 MB, 1368 cyl, 8 head, 38 sec, 512 bytes/sect x 415872 sectors
sd1 at scsibus0 targ 5 lun 0: <QUANTUM, CTS160S, 4.3> SCSI2 0/direct fixed
sd1: 163 MB, 1536 cyl, 4 head, 54 sec, 512 bytes/sect x 333936 sectors
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
fpu0 at mainbus0 (mc68040)
boot device: sd0
root on sd0a dumps on sd0b
PRAM: 0x375f9670, macos_boottime: 0x375f9666.
root file system type: ffs


Anything else I can try, I'd be glad to. Best regards,
Matías.

-- 
Do I contradict myself? Very well then, I contradict myself.
I am large, I contain multitudes.