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

Magnus Kling klingfon at
Wed May 20 06:21:54 UTC 2009

2009/5/19 Alexander Motin <mav at>

> Magnus Kling wrote:
>> 2009/5/19 Alexander Motin <mav at <mailto:mav at>>
>>    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 ==
> 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"?


More information about the freebsd-current mailing list