Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2003 05:20:10 -0800
From:      Alfred Perlstein <alfred@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern kern_intr.c src/sys/dev/ata ata-all.c
Message-ID:  <20030214132010.GL93252@elvis.mu.org>
In-Reply-To: <200302141310.h1EDAega068830@repoman.freebsd.org>
References:  <200302141310.h1EDAega068830@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Alfred Perlstein <alfred@FreeBSD.org> [030214 05:10] wrote:
> alfred      2003/02/14 05:10:40 PST
> 
>   Modified files:
>     sys/kern             kern_intr.c 
>     sys/dev/ata          ata-all.c 
>   Log:
>   Fix crash dumps on ata and scsi.
>   
>   To fix scsi, don't wait for ithreads if we're dumping, it makes the
>   debugger sad.
>   
>   To fix ata, use what appears to be a polling method if we're dumping,
>   I stole this from tmm but added code to ensure that this change is
>   only in effect while dumping.
>   
>   Tested by: des
>   
>   Revision  Changes    Path
>   1.165     +2 -1      src/sys/dev/ata/ata-all.c
>   1.88      +2 -1      src/sys/kern/kern_intr.c

Someone already has said "but scsi dumps worked!" .. not true for all.

db> call doadump
Dumping 511 MB
mi_switch(1,1,c401d0e0,c14fc400,e) at mi_switch+0x21d
ithread_schedule(c14ffa80,1,d7bd48dc,c01367ef,c14f7a40) at ithread_schedule+0xf9
swi_sched(c14f7a40,0,d7bd48f8,c016afae,d7bd4948) at swi_sched+0x38
xpt_done(d7bd4948,c401d0e0,c14fc400,d000,2) at xpt_done+0x4f
ahc_run_qoutfifo(c14fc400,d7bd4948,ea4c,c4001c40,d7bd492c) at ahc_run_qoutfifo+0
x6e
ahc_intr(c14fc400,c4001c80,c4159800,d7bd4948,200) at ahc_intr+0xbd
xpt_polled_action(d7bd4948,206af400,0,a,d7bd4a10) at xpt_polled_action+0x9c
dadump(c416ab00,c03af920,0,206af400,0,200) at dadump+0x19b
dumpsys(c0387cc0,c0387ce0,b,d7bd4aa8,c01e50e0) at dumpsys+0x28b
doadump(0,0,0,0,0,0,0,0,0,0) at doadump+0x20
db_fncall(0,0,c038e000,d7bd4b10,0) at db_fncall+0x7c
db_command(c034ae00,c034ac20,c0343ad0,c0343ad4,c031c612) at db_command+0xfb
db_command_loop(0,0,d7bd4c80,c036ee08,d7bd4bfc) at db_command_loop+0x5c
db_trap(3,0,1,3,c3fd50e0) at db_trap+0x5e
kdb_trap(3,0,d7bd4c38) at kdb_trap+0xe6
trap(18,10,10,c14fb800,c403a400) at trap+0x39f
calltrap() at calltrap+0x5


-- 
-Alfred Perlstein [alfred@freebsd.org]
'Instead of asking why a piece of software is using "1970s technology,"
 start asking why software is ignoring 30 years of accumulated wisdom.'

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030214132010.GL93252>