NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/58452 (NCR5380 SCSI fixes for aborting transfers. BlueSCSI(v2))



The following reply was made to PR kern/58452; it has been noted by GNATS.

From: Nathanial Sloss <nathanialsloss%yahoo.com.au@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/58452 (NCR5380 SCSI fixes for aborting transfers. BlueSCSI(v2))
Date: Sat, 10 Aug 2024 18:24:49 +1000

 --Boundary-00=_SPytmxOh7zWCIRS
 Content-Type: Text/Plain;
   charset="iso-8859-15"
 Content-Transfer-Encoding: 7bit
 
 Sorry I was confused about the code being re-entrant and the crash point :(
 
 Attached is the dmesg and backtrace.
 
 Best regards,
 
 Nat
 
 --Boundary-00=_SPytmxOh7zWCIRS
 Content-Type: text/plain;
   charset="ISO-8859-1";
   name="macscsiabort.dmesg.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename="macscsiabort.dmesg.txt"
 
 [   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
 [   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
 [   1.0000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
 [   1.0000000]     2024
 [   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
 [   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
 [   1.0000000]     The Regents of the University of California.  All rights reserved.
 
 [   1.0000000] NetBSD 10.99.11 (WSFBPWR) #258: Sat Aug 10 10:32:34 AEST 2024
 [   1.0000000] 	build@microrusty:/home/build/nbsd10/sys/arch/mac68k/compile/WSFBPWR
 [   1.0000000] Apple Macintosh PowerBook 160  (68030)
 [   1.0000000] cpu: delay factor 265
 [   1.0000000] fpu: emulator
 [   1.0000000] total memory = 14336 KB
 [   1.0000000] avail memory = 11040 KB
 [   1.0000000] mrg: '2nd Powerbook class ROMs' ROM glue, tracing off, debug off, silent traps
 [   1.0000000] mainbus0 (root)
 [   1.0000000] obio0 at mainbus0
 [   1.0000000] adb0 at obio0
 [   1.0000000] ascaudio0 at obio0: Enhanced Apple Sound Chip
 [   1.0000000] audio0 at ascaudio0: playback, capture, half duplex, independent
 [   1.0000000] audio0: slinear_be:16 1ch 11127Hz, blk 8192 bytes (736.2ms) for playback
 [   1.0000000] audio0: slinear_be:16 1ch 11025Hz, blk 8192 bytes (743ms) for recording
 [   1.0000000] spkr0 at audio0: PC Speaker (synthesized)
 [   1.0000000] wsbell0 at spkr0 mux 1
 [   1.0000000] intvid0 at obio0 @ 60000000: On-board video
 [   1.0000000] intvid0: 640 x 400, 4-bpp color
 [   1.0000000] genfb0 at intvid0: colormap callback not provided
 [   1.0000000] wsdisplay0 at genfb0 kbdmux 1
 [   1.0000000] sbc0 at obio0 addr 0: options=06<RESELECT,INTR>
 [   1.0000000] scsibus0 at sbc0: 8 targets, 8 luns per target
 [   1.0000000] zsc0 at obio0 chip type 0 
 [   1.0000000] zsc0 channel 0: d_speed   9600 DCD clk 0 CTS clk 0
 [   1.0000000] zstty0 at zsc0 channel 0 (console i/o)
 [   1.0000000] zsc0 channel 1: d_speed   9600 DCD clk 0 CTS clk 0
 [   1.0000000] zstty1 at zsc0 channel 1
 [   1.0000000] nubus0 at mainbus0
 [   1.0256579] scsibus0: waiting 2 seconds for devices to settle...
 [   1.1041735] adb0 (direct, PowerBook): 2 targets
 [   2.2808011] aed0 at adb0 addr 0: ADB Event device
 [   2.3429283] akbd0 at adb0 addr 2: PowerBook keyboard
 [   2.4105792] wskbd0 at akbd0 mux 1
 [   2.4613209] ams0 at adb0 addr 3: 1-button, 200 dpi mouse
 [   2.5769255] wsmouse0 at ams0 mux 0
 [   2.6736805] WARNING: system needs entropy for security; see entropy(7)
 [   4.3922339] sd0 at scsibus0 target 0 lun 0: <QUANTUM, BlueSCSI Pico, 1.0> disk fixed
 [   4.4922186] sd0: 20000 MB, 6400 cyl, 200 head, 32 sec, 512 bytes/sect x 40960000 sectors
 [   4.5994720] sd0: async, 8-bit transfers
 [   4.7391242] sd1 at scsibus0 target 2 lun 0: <RaSCSI, SCSI HD 41 MB, 2208> disk fixed
 [   4.8391268] sd1: 40960 KB, 409 cyl, 8 head, 25 sec, 512 bytes/sect x 81920 sectors
 [   4.9393323] sd1: async, 8-bit transfers
 [   5.0693696] dse0 at scsibus0 target 4 lun 0: <Dayna, SCSI/Link, 2.0f> processor fixed
 [   5.6694385] dse0: ethernet address 00:80:19:04:03:5e
 [   5.7542590] dse0: async, 8-bit transfers
 [   5.8027782] cd0 at scsibus0 target 5 lun 0: <RaSCSI, SCSI CD-ROM, 2208> cdrom removable
 [   5.9201572] cd0: async, 8-bit transfers
 [   5.9695304] sd2 at scsibus0 target 6 lun 0: <QUANTUM, FIREBALL, 2208> disk fixed
 [   6.0705912] sd2: 40960 KB, 409 cyl, 8 head, 25 sec, 512 bytes/sect x 81920 sectors
 [   6.1695342] sd2: async, 8-bit transfers
 [   6.2204700] WARNING: 1 error while detecting hardware; check system log.
 
 --Boundary-00=_SPytmxOh7zWCIRS
 Content-Type: text/plain;
   charset="ISO-8859-1";
   name="macscsiabort.bt.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename="macscsiabort.bt.txt"
 
 [ 1334.3407620] sbc0: polled request aborting 0/0
 [ 1450.7333887] sbc0: polled request aborting 0/0
 
 [ 1540.8555152] panic: ncr5380_scsipi_request: polled request, abort failed
 [ 1540.8555152] cpu0: Begin traceback...
 [ 1540.8555152] ?(?)
 [ 1540.8555152] db_panic(0,62f800,3d27d74,13000c,1b7c04) at 0
 [ 1540.8555152] vpanic(1b7c04,3d27d80,3d27da8,3991e,1b7c04) + 18c
 [ 1540.8555152] panic(1b7c04,1b7cb8,12fe10,1,23b16) + c
 [ 1540.8555152] ncr5380_scsipi_request(62f83c,0,6b5e3c,62f834) + c6
 [ 1540.8555152] scsipi_run_queue(?)
 [ 1540.8555152] scsipi_done(62f83c,6b5ef0,0,38800,62f800) + 226
 [ 1540.8555152] ncr5380_done(?)
 [ 1540.8555152] compat_14_sys_msgctl(62f800) + b8
 [ 1540.8555152] ncr5380_machine(?)
 [ 1540.8555152] compat_50_sys___msgctl13(62f800,62f800,12fe10,3d27e78,dcda) + 8dc
 [ 1540.8555152] ncr5380_intr(62f800) + 36
 [ 1540.8555152] sbc_irq_intr(62f800) + 20
 [ 1540.8555152] via2_intr(3d27eb0,2,3d27f00,33ce,2214) + 44
 [ 1540.8555152] intr_dispatch(2214,2004,62f834,6b5e3c,20000000) + 5c
 [ 1540.8555152] intrhand(?)
 [ 1540.8555152] scsipi_execute_xs(6b5e3c,62f834,6b5ed0,3d27f62,6) + 4
 [ 1540.8555152] scsipi_command(655644,3d27f62,6,668000,4000,4,186a0,0,1003) + 78
 [ 1540.8555152] dse_recv_worker(629ad4,629840) + 50
 [ 1540.8555152] workqueue_worker(708100) + c4
 [ 1540.8555152] lwp_trampoline() + e
 [ 1540.8555152] cpu0: End traceback...
 
 --Boundary-00=_SPytmxOh7zWCIRS--
 


Home | Main Index | Thread Index | Old Index