Subject: Colour Classic boot success, minor scsi & dos
To: None <port-mac68k@NetBSD.ORG>
From: Marc Coevoet <marc.coevoet@skynet.be>
List: port-mac68k
Date: 01/15/1998 23:40:16
I received a kernel from jpw@netbsd.com, here is the dmesg.
The kernel is at ftp.macbsd.com/..../contrib(?utions)/jpw/kernels/testing
or close to it.  Since Jan, 1st, I run X on this Colour Classic etc.


NetBSD 1.3_BETA (HWDIRECT) #360: Tue Dec 30 18:42:20 PST 1997

root@bigjohn.noip.org:/usr/src/sys/arch/mac68k/compile/HWDIRECT
Apple
Macintosh Color Classic  (68030)
cpu: delay factor 37
real mem =
10485760
avail mem = 6897664
using 153 buffers containing 626688 bytes of
memory
mrg: 'Mac Classic II ROMs' ROM glue, tracing off, debug off, silent
traps
mrg: I/O map kludge for ROMs that use hardware addresses
directly.
adb: using Cuda series hardware support
adb: ADBReInit
complete
adb: keyboard II (ISO layout) 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
384, monochrome
grf0 at intvid0
ite0 at grf0 (minimal console)
ncrscsi0 at
obio0
scsibus0 at ncrscsi0: 8 targets
sd0 at scsibus0 targ 0 lun 0:
<QUANTUM, CTS80S, 4.07> SCSI2 0/direct fixed
sd0: 81MB, 1536 cyl, 2 head,
54 sec, 512 bytes/sect x 166200 sectors
sd1 at scsibus0 targ 1 lun 0:
<QUANTUM, TRB850S, 0403> SCSI2 0/direct fixed
sd1: 810MB, 3653 cyl, 4 head,
113 sec, 512 bytes/sect x 1660299 sectors
sd2 at scsibus0 targ 2 lun 0:
<iomega, jaz 1GB, J.83> SCSI2 0/direct removable
sd2: 1021MB, 1021 cyl, 64
head, 32 sec, 512 bytes/sect x 2091050 sectors
zsc0 at obio0 chip type 0

zsc0 channel 0: d_speed  19200 DCD clk 0 CTS clk 0
zstty0 at zsc0 channel
0
zsc0 channel 1: d_speed  19200 DCD clk 0 CTS clk 0
zstty1 at zsc0 channel
1
nubus0 at mainbus0
fpu0 at mainbus0 (mc68882)
boot device: sd1
root on
sd1a dumps on sd1b
PRAM: 0x34bedc3a, macos_boottime: 0x34bedc22.
root file
system type: ffs




I get scsi bug reporting like this: (in fact, the bug doesn't harm,
it seems to be self repairing).  REMARK: it is not connected to the
fact I use a jaz.


scsi_show: scsi_main is running
REQ-ISSUED: 1 0x73cf000[8192] cmd[0]=8 S=0
M=ff R=0 resid=8192 dr_flag=0 
REQ-CONNECTED: 1 0x73ef000[8192] cmd[0]=8
S=0 M=4 R=0 resid=8192 dr_flag=0 
Bus signals (6d/00):
PAR|I/O|C/D|REQ|BSY
Dma status (00): 
phase = 1, busy:2, spl:2204
	0
	scsi_main4
	1	scsi_main5
	2	pdma_cleanup2
	3
	irq
	4	pdma_ready0
	5	pdma_ready4
	6
	reselect1
	7	tpio1
	8	tpio2
	9	reselect2

	10	scsi_main1
	11	info_transf1
	12
	info_transf3
	13	transfer_pdma0
	14	waiting for
interrupt.
	15	scsi_main3
	16	scsi_main4
	17
	scsi_main5
	18	drq (in)
	19	end drq
	20
	scsi_main1
	21	scsi_main3
	22	scsi_main4
	23
	pdma_ready0
	24	pdma_ready1.
Unexpected phase change.

At 24, it seems to repair itself.  But, what's wrong?


And something different:  I have a jaz I can use at my work, to
transfer large files etc., unfortunately on a windows system.
(at home I have a poor 14400).  When I try to mount the
dos-formatted jaz on macbsd, I get:

sd2: no disk label--NetBSD or Macintosh

Even mount -t msdos doesn't solve things.  I used
`disklabel -r sd2`  and saw very strange things,
such as overlapping partitions (a to g/h, don't remember) ;-)
`disklabel sd2`, being what the kernel remembers,
doesn't see an msdos, but `unused` sd2c-all-cyls partition..

And under Macos, AccessPc showed a 4Gb disk, with
corrupted files.... And initialises the jaz as
a 1.4Mb floppy...

So, I hope for some (ppp?) serial line setup,
pc-to-netbsd, or at least pc-to-macos.  Anybody knows
what is needed?  I'm new for the pc-side.  Do there exist
Kermit style of things, or better, making ftp possible?
(So, I could make another jaz pure netbsd-ffs).

Marc