Date: Wed, 15 Oct 2003 10:12:49 -0700 (PDT) From: Nate Lawson <nate@root.org> To: David Sze <dsze@alumni.uwaterloo.ca> Cc: freebsd-scsi@freebsd.org Subject: Re: Dell PowerEdge 1750 and mpt Message-ID: <20031015100215.U34498@root.org> In-Reply-To: <6.0.0.22.2.20031015080310.03ac9b88@mail.distrust.net> References: <6.0.0.22.2.20031014232154.03a0b990@mail.distrust.net> <6.0.0.22.2.20031015080310.03ac9b88@mail.distrust.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 15 Oct 2003, David Sze wrote: > At 11:30 PM 14/10/2003 -0700, Nate Lawson wrote this to All: > >This shows that an invalid CCB is being passed through the pass(4) driver. > > The application talks to pass(4) to periodically retrieve the serial > numbers of all devices on the bus (the code is basically copied from > "camcontrol inquiry -S", plus some code to enumerate the bus). So that is > consistent with how often we are seeing the crashes. I'll go over the code > to make sure there are no blatant errors on my part. The only puzzling > thing is that the same code runs flawlessly on a variety of similar > hardware, some machines also with mpt(4), but mostly ahc(4) and ahd(4) > controllers. Try running camcontrol inquiry -S on the same device in a loop and see if it gets the same panic. > > > pass3 at mpt0 bus 0 target 6 lun 0 > > > pass3: <PE/PV 1x3 SCSI BP 1.1> Fixed Processor SCSI-2 device > > > pass3: 3.300MB/s transfers > > > >This is the device you're trying to talk to. I'm really suspicious your > >program is sending a garbage pointer in the CCB to the pass(4) driver. On > >the above core, please send the output of "fr 7" and then "print *ccb". > > (kgdb) fr 7 > #7 0x80174507 in mpt_action (sim=0x923867c0, ccb=0x961a0000) at > ../../dev/mpt/mpt_freebsd.c:1311 > 1311 if (mpt_read_cfg_page(mpt, tgt, &tmp.Header)) { > (kgdb) print *ccb > stqe_next = 0x0}}, retry_count = 4, cbfcnp = 0x80129a94 > <passdone>, func_code = XPT_GET_TRAN_SETTINGS, status = 0, Why are you sending a XPT_GET_TRAN_SETTINGS CCB? That's not even needed to get the serial number. In any case, I need the output of print ccb->cts. -Nate
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031015100215.U34498>