Subject: Still problems w/630 (IDE & CS Ethernet)
To: None <port-mac68k@netbsd.org>
From: William O Ferry <wferry@meer.net>
List: port-mac68k
Date: 09/06/1998 21:04:46
    I finally got the time to download and try the IDETEST kernel on my
machine.  It's a Performa 636CD, with the LC040 swapped out for a true
040, 20MB RAM, a WD 1GB IDE drive, Bernoulli 44 SCSI drive, and the
Apple CommSlot Ethernet card.

    Everything identifies correctly.  I see the drive with what I'd
expect for the geometry/disklabel for wd0.  I see my machine's hardware address
on the sn0 line.  However, attempts to use either IDE or Ethernet
cause my machine to lock up hard or panic.

    With IDE, I was consistantly getting the same panic after doing a
"disklabel wd0".  A transcript of the entire session is at the end of this
email.  I am not sure how useful this information is (other than the boot
output), as there seemed to be another problem at work here.  I believe my
system was overheating.  I was getting random illegal instruction errors in
MacOS as well.  After running a fan on the machine for several minutes, the
machine stopped panicking after the disklabel, and instead started locking
up hard.  I am positive temperature is not an issue now.  But it may mean
that the illegal instruction panic is not the real problem.  Unfortunately,
since the system locks up hard after the disklabel or ifconfig, I am not
sure how much useful information I will be able to provide.  I also tried
the GENERIC-83 kernel on my machine and verified that any attempts to
ifconfig sn0 lock up under this kernel as well.  Any suggestions would be
greatly appreciated.  Thanks in advance!

(Any typo's below are because I typed this in to a second machine using the
first one as the display)

System RAM: 20971520 bytes in 5120 pages.
     Low = 0x0, high = 0x1400000
  no internal video at address 0 -- videoaddr is 0xf9001000.
[ preserving 350999 bytes of netbsd symbol table ]
Copyright (c) 1996, 1997, 1998
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.3G (IDETEST) #11: Tue Aug 25 20:19:56 JST 1998
    hacker@quark.nakata.com:/s/priv/work/wdc/arch/mac68k/compile/IDETEST
Apple Macintosh Quadra 630  (68040)
cpu: delay factor 302
real mem = 20971520
avail mem = 16195584
using 281 buffers containing 1150976 bytes of memory
mrg: 'Quadra630 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 (ADB event device)
adb: using Cuda series hardware support
adb: ADBReInit complete
adb: extended keyboard at 2
adb: extended mouse <LT01> 3-button 400 dpi mouse at 3
asc0 at obio0: Apple Sound Chip
intvid0 at ibio0 @ f9001000: Valkyrie video subsystem
intvid0: 832 x 624, monochrome
grf0 at intvid0
ite0 at grf0 (minimal console)
sn0 at obio0 address 08:00:07:e6:54:f7
esp0 at obio0 (quick): address 0x900000: NCR53C96, 16MHz SCSI ID 7
scsibus0 at esp0: 8 targets
cd0 at scsibus0 targ 1 lun 0: (MATSHITA, CD-ROM CR-8004, 1.1f> SCSI2
5/cdrom removable
sd0 at scsibus0 targ 4 lun 0: <IOMEGA, BETA44, 1.6> SCSI1 0/direct removable
sd0: cound not mode sense (4/5); using fictitous geometry
sd0: 42MB, 42 cyl, 64 head, 32 sec, 512 bytes/sect x 87040 sectors
wdc0 at obio0 (Quadra/Performa series IDE interface)
wd0 at wdc0 drive 0: <WDC AC31000H>
wd0: using 16-sector 16-bit pio transfers, lba mode
wd0 1033MB, 2100 cyl, 16 head, 63 sec, 512 bytes/sect x 2116800 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: <unknown>
root device: sd0
dump device (default sd0b):
file system (default generic):
root on sd0a dumps on sd0b
sd0: counld not mode sense (4/5); using fictitious geometry
sd0: could not mode sense (4/5); using fictitious geometry
sd0: could not mode sense (4/5); using fictitious geometry
PRAM: 0x35f297e5, macos_boottime: 0x35f295a2.
root file system type: ffs
Enter pathname of shell or RETURN for sh:
Terminal type? vt220
Don't login as root, use the su command.
# disklabel wd0
# /dev/rwd0c:
type: unknown
disk:
label: WDC AC31000H
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 2100
total sectors: 2116800
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

7 partitions:
#        size   offset     fstype   [fsize bsize   cpg]
  a:      512      192    unknown                        # (Cyl.    0*- 0*)
  b:   614400      704        HFS                        # (Cyl.    0*- 610*)
  c:  2116800        0     unused        0     0         # (Cyl.    0 - 2099)
  d:   614400   615104        HFS                        # (Cyl.  610*- 1219*)
  e:   819200  1229504        HFS                        # (Cyl. 1219*- 2032*)
  f:    67584  2048704        HFS                        # (Cyl. 2032*- 2099*)
  g:      512  2116288    unknown                        # (Cyl. 2099*- 2099)
disklabel: boot block size 0
disklabel: super block size 0
Kernel Illegal Instruction trap.
trap type 2, code = 0x0, v = 0x0
kernel program counter = 0x194
kernel: Illegal instruction trap
pid = 3, pc = 00000194, ps = 2708, sfc = 1, dfc = 1
Registers:
             0        1        2        3        4        5        6        7
dreg: 000000FF 0000000C 00000000 00002004 00000100 00000120 00000000 00000040
areg: 00875040 00875000 0017D15C 004BC208 00877F80 004BC208 00877EEC FFFFCBAC

Kernel stack (00877E30):
877E30: 00137C92 00877E7C 00000080 00000000 00002004 00000100 00000120 00000000
877E50: 00000040 0017D15C 004BC208 00877F80 004BC208 00000000 00877EEC 0000308A
877E70: 00000002 00000000 00000000 000000FF 0000000C 00000000 00002004 00000100
877E90: 00000120 00000000 00000040 00875040 00875000 0017D15C 004BC208 00877F80
877EB0: 004BC208 00877EEC FFFFCBAC 00000000 27080000 01940010 00000000 00000000
877ED0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
877EF0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
877F10: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
877F30: 00000010 00000000 001494BC 00000001 00000029 00877FA8 001387B8 004BC208
877F50: 00877F88 00877F80 00000001 00000001 0004A000 00000002 00000000 00000000
877F70: 0004A000 00000000 00000000 00045948 00000000 00000000 FFFFFFFF FFFFCC04
877F90: 00000002 00000000 00008E52 00000000 0004E00D 0004E00D FFFFCBC0 00003366
877FB0: 00000007 00000007 00000000 00000001 00000001 0004A000 00000002 00000000
877FD0: 00000000 0004E00D 0004E00D 0004A000 00000000 00000000 00045948 FFFFCBC0
877FF0: FFFFCBAC 00000000 00000002 85BE0080
panic: Illegal instruction
Stopped in sh at        _Debugger+0x6:  unlk    a6
db>


                                                          Will