From owner-freebsd-current@FreeBSD.ORG Tue May 19 19:45:35 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85AF81065701 for ; Tue, 19 May 2009 19:45:35 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 011C88FC1C for ; Tue, 19 May 2009 19:45:34 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPSA id 243255296; Tue, 19 May 2009 22:45:33 +0300 Message-ID: <4A130C5C.6090104@FreeBSD.org> Date: Tue, 19 May 2009 22:45:32 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.21 (X11/20090405) MIME-Version: 1.0 To: Magnus Kling 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> In-Reply-To: <43b1bb350905190554i511c1b32sa9320b10a86e2af2@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-current@freebsd.org Subject: Re: Kernel panic when reboot on server with a Promise SX4000 and two ATA disks RAID1. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2009 19:45:35 -0000 Magnus Kling wrote: > 2009/5/19 Alexander Motin > > > Magnus Kling wrote: > > I applied the patch and rebuilt the kernel. But when should this be > > printed? At shutdown or boot? I canīt 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 == NULL) { with if (request->u.ata.command == ATA_FLUSHCACHE || request->u.ata.command == ATA_FLUSHCACHE48) { May be you could give me access to your server and it's serial console? I would make debugging faster. -- Alexander Motin