Re: Kernel panic when reboot on server with a Promise SX4000 and two ATA disks RAID1.

From: Magnus Kling <klingfon_at_gmail.com>
Date: Wed, 20 May 2009 08:21:52 +0200
2009/5/19 Alexander Motin <mav_at_freebsd.org>

> Magnus Kling wrote:
>
>> 2009/5/19 Alexander Motin <mav_at_freebsd.org <mailto:mav_at_freebsd.org>>
>>
>>    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
>

Addr2line gives me /usr/src/sys/dev/ata/chipsets/ata-promise.c:1066

struct ata_dma_prdentry *prd = request->dma->sg;

Can we do an if statement with pointer prd? Or check what "sg" is at the
moment? What is "sg"?

/Magnus
Received on Wed May 20 2009 - 04:21:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:48 UTC