[xen-discuss] xen on opensolaris?
Mark Johnson
Mark.Johnson at Sun.COM
Fri Feb 6 06:52:54 PST 2009
Fajar A. Nugraha wrote:
> On Thu, Feb 5, 2009 at 7:11 PM, Mark Johnson <Mark.Johnson at sun.com> wrote:
>> Fajar A. Nugraha wrote:
>>> I'm testing it on opensolaris snv_98 since all versions after that
>>> (including snv_106) refused to boot xen kernel on HP box with smart
>>> array and qlogic card (normal kernel works fine with
>>> disable-qlc=true). Filed a bug on
>>> http://defect.opensolaris.org/bz/show_bug.cgi?id=5905 but no takers so
>>> far (guess it might be HW-specific issue).
>> You have a driver for the HP smart array (since it
>> boots in metal)?
>
> Yes.
>
>> If so, where is it installed to?
>
> I added CPQary3 driver to x86.microroot from the install CD, and
> rebuild the install CD afterwards. Opensolaris is installed on
> internal disk.
>
> On a side note, I just acquired another similar HP system but WITHOUT
> qlogic card. And guess what, xen kernel works perfectly!
>
> Somehow qlogic driver is causing problems on my system. On non-xen
> kernel using disable-qlc=true allows it to boot (I'm not using any
> external drive on this server). On xen kernel this workaround is not
> enough.
Hmm. It's either a NMI problem or a run away interrupt.
Unfortunately, it's seems to be specific to your H/W
so it would be hard for us to debug it.
You can boot into the kernel debugger and see for sure..
Add a -kd to the unix line in the grub menu.
module$ /platform/i86xpv/kernel/$ISADIR/unix /platform/i86xpv/kernel/$ISADIR/unix -kd
set a breakpoint on deadman
[0]> ::bp deadman
continue
[0]> :c
run through a bunch of breakpoints and then see
where we are.. Do that a few times.
[0]> ,10:c
[0]> $c
[0]> ,10:c
[0]> $c
[0]> ,10:c
[0]> $c
[0]> ,10:c
[0]> ::threadlist -v
If you get this far, see if you can put the threadlist
on a pastebin..
delete all breakpoints
[0]> :z
[0]> :c
MRJ
> Here's lspci output from Linux of the problematic qlogic card.
> 10:00.0 Fibre Channel: QLogic Corp. ISP2432-based 4Gb Fibre Channel to
> PCI Express HBA (rev 02)
> 10:00.1 Fibre Channel: QLogic Corp. ISP2432-based 4Gb Fibre Channel to
> PCI Express HBA (rev 02)
>
> Regards,
>
> Fajar
More information about the xen-discuss
mailing list