Subject: Re: port-mac68k/9679 -- Using scsi/libscsi lets mac68k sbc driver
To: None <port-mac68k-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: netbsd-bugs
Date: 01/11/2006 21:35:02
The following reply was made to PR port-mac68k/9679; it has been noted by GNATS.

From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
To: Chuck Silvers <chuq@chuq.com>
Cc: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>,
	gnats-bugs@netbsd.org
Subject: Re: port-mac68k/9679 -- Using scsi/libscsi lets mac68k sbc driver
 dump core
Date: Wed, 11 Jan 2006 22:07:55 +0100

 [cc'ed to gnats-bugs and subject adapted for inclusion into the PR]
 
 At 15:08 Uhr -0800 27.12.2005, Chuck Silvers wrote:
 >one more... do you still see this one?
 
 Still going strong. Mac IIsi, recent netbsd-2 snapshot:
 
 # ./scsi -f /dev/rsd0c -m8 -P3 -v
 No mode data bastrap type 0, code = 0x74d, v = 0x8fc000
 kernel program counter = 0x1c9274
 kernel: Bus error trap
 pid = 15, lid = 1, pc = 001C9274, ps = 2210, sfc = 1, dfc = 1
 Registers:
              0        1        2        3        4        5        6        7
 dreg: 00000048 00000048 00000000 00000049 00000000 01012210 000000FF 00908000
 areg: 00906070 00906050 02800AA0 008FC000 01018000 000000FF 00688AEC FFFFCA08
 
 Kernel stack (006889A4):
 6889A4: 001DD5D0 00688A24 00000080 00000000 00000049 00000000 01012210 000000FF
 6889C4: 00908000 02800AA0 008FC000 01018000 000000FF 01028000 006889FC 00000001
 6889E4: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 688A04: 00000000 00000000 00002200 00688AEC 00003090 00000000 0000074D 008FC000
 688A24: 00000048 00000048 00000000 00000049 00000000 01012210 000000FF 00908000
 688A44: 00906070 00906050 02800AA0 008FC000 01018000 000000FF 00688AEC FFFFCA08
 688A64: 00000000 2210001C 9274B008 1EEE074D 24D324D3 008FC000 02800A9C 0020003F
 688A84: 24D324D3 001C927A 001C9278 001C9276 FFFFFFFF 24D30070 000FF481 0020003F
 688AA4: 001D13AC 00000002 00000002 80120018 001C9268 00000000 00000065 0007E2FA
 688AC4: 00000001 00000000 00000000 01018064 00000008 00000008 01018000 0101816C
 688AE4: 01028000 01028000 00688B0C 0007DED8 01018000 00000001 000000FF 02800A84
 688B04: 00000001 01018000 00688B30 0007E304 01018000 00000001 00000000 00000000
 688B24: 01018000 0101816C 00000000 00688B54 0007D1F4 01018000 00000000 00002000
 688B44: 01018000 01028000 01048B00 001B9C82 00688B74 0007CF9C 01018000 00002000
 688B64: 00002200 01028000 01048B00 01018064 00688BA0 001BB17C 01018064 00000000
 688B84: 01028000 00000000 00000000 001BB06C 01028000 01048B00 001BAF56 00688BD4
 panic: Bus error
 Stopped in pid 15.1 (scsi) at   netbsd:cpu_Debugger+0x6:        unlk    a6
 db> t
 cpu_Debugger(2200,0,688a24,688a10,1dd5f0) + 6
 panic(21cc0b,0,49,0,1012210) + f8
 trap(0,74d,8fc000) + 24e
 sbc_pdma_in(1018000,1,ff,2800a84) + 12a
 ncr5380_data_xfer(1018000,1) + 5e
 ncr5380_machine(1018000) + 2dc
 ncr5380_sched(1018000) + 166
 ncr5380_scsipi_request(1018064,0,1028000) + 174
 scsipi_run_queue(1018064) + 10e
 scsipi_execute_xs(1028000) + 17a
 scsi_scsipi_cmd(1048b00,0,10498b8,6,2800a84) + 30
 scsipi_command(1048b00,0,10498b8,6,2800a84,ff,0,7d0,1049808,1018) + 60
 scsistrategy(1049808,1049808,ff) + 96
 physio(1bc1d4,1049808,d02,100000,11d396,1049888) + 27c
 scsipi_do_ioctl(1048b00,d02,c0605101,688e8c,3) + 168
 sdioctl(d02,c0605101,688e8c,3,58f990) + e6
 spec_ioctl(688d7c,208d5c,5e07ec,c0605101,688e8c) + 4e
 VOP_IOCTL(5e07ec,c0605101,688e8c,3,1006e00,58f990) + 44
 vn_ioctl(6a60e0,c0605101,688e8c,58f990) + 80
 sys_ioctl(660300,688f44,688f3c) + b4
 syscall_plain(36,660300,688fb4,b000,ffffca84) + 82
 syscall(36) + 4e
 trap0() + e
 db>
 
 I'll upgrade the Mac to netbsd-3 next and report how the bug is doing there.
 
 	hauke
 
 
 --
 "It's never straight up and down"     (DEVO)