Date: Wed, 20 May 2009 08:21:52 +0200 From: Magnus Kling <klingfon@gmail.com> To: Alexander Motin <mav@freebsd.org> Cc: freebsd-current@freebsd.org Subject: Re: Kernel panic when reboot on server with a Promise SX4000 and two ATA disks RAID1. Message-ID: <43b1bb350905192321h4e43e178vc9a00b646d0e2340@mail.gmail.com> In-Reply-To: <4A130C5C.6090104@FreeBSD.org> References: <43b1bb350905150939s5d503f00x27116e7ffe79a37@mail.gmail.com> <4A10F3E3.40306@FreeBSD.org> <43b1bb350905180025g682d3764qba5a450d85d8f961@mail.gmail.com> <43b1bb350905181331r44b35b13i22aa1ba6a18103ed@mail.gmail.com> <4A121C40.7040201@FreeBSD.org> <43b1bb350905182353v3812c523pa52cdf41ce886907@mail.gmail.com> <4A1264E8.2080707@FreeBSD.org> <43b1bb350905190554i511c1b32sa9320b10a86e2af2@mail.gmail.com> <4A130C5C.6090104@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
2009/5/19 Alexander Motin <mav@freebsd.org> > Magnus Kling wrote: > >> 2009/5/19 Alexander Motin <mav@freebsd.org <mailto:mav@freebsd.org>> >> >> Magnus Kling wrote: >> > I applied the patch and rebuilt the kernel. But when should this b= e >> > printed? At shutdown or boot? I can=B4t see it at all. >> >> On shutdown before panic. >> >> > When panic occurs I got the attached text as output on my serial >> console. >> > > Hmm. I don't see our debug messages there. Or it didn't shot due to some > stupid reason or problem is in different line. Could you try addr2line > utility to identify source line of 0xc0567110 address? > > Also try to change our > if (ctlr =3D=3D NULL) { > with > if (request->u.ata.command =3D=3D ATA_FLUSHCACHE || request->u.ata.comman= d =3D=3D > ATA_FLUSHCACHE48) { > > May be you could give me access to your server and it's serial console? I > would make debugging faster. > > -- > Alexander Motin > Addr2line gives me /usr/src/sys/dev/ata/chipsets/ata-promise.c:1066 struct ata_dma_prdentry *prd =3D request->dma->sg; Can we do an if statement with pointer prd? Or check what "sg" is at the moment? What is "sg"? /Magnus
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43b1bb350905192321h4e43e178vc9a00b646d0e2340>