Re: [storage-discuss] crash dump after comstar install

2010-11-10 Thread James C. McPherson

On 11/11/10 12:20 AM, Greg Terkanian wrote:

David,
Can you please explain to me how you can tell it's the snv_134 version of the 
driver?  Here are the steps I performed to test COMSTAR:

- Built system
- Removed SUN provided aac driver
- Installed the adaptec provided driver
- Rebooted
- Ran system for months as-is.when I attempted iSCSI, system became 
unresponsive on regular basis
- Installed COMSTAR (on active BE)
- Reboot, panic
- Rebuilt entire system (and installed adaptec provided drivers)
- Upgraded fw/bios on adaptec card and upgraded driver on system
- Rebooted and ran for a few days
- Created a new BE and installed COMSTAR on it via "pkg install storage-server 
SUNWiscsit
- Boot to new BE and kernel panic
- Reverted to prior BE

My current output of modinfo shows:

189 f8026000  128d0  94   1  aac (AAC Driver 2.3.6)

Thanks,
Greg



$ what /kernel/drv/amd64/aac
/kernel/drv/amd64/aac:
SunOS 5.11 snv_150 October 2010

$ strings /kernel/drv/amd64/aac |grep AAC.Driver
AAC Driver 2.2.11



James C. McPherson
--
Oracle
http://www.jmcp.homeunix.com/blog
___
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss


Re: [storage-discuss] crash dump after comstar install

2010-11-10 Thread Greg Terkanian
David,
Can you please explain to me how you can tell it's the snv_134 version of the 
driver?  Here are the steps I performed to test COMSTAR:

- Built system
- Removed SUN provided aac driver
- Installed the adaptec provided driver
- Rebooted
- Ran system for months as-is.when I attempted iSCSI, system became 
unresponsive on regular basis
- Installed COMSTAR (on active BE)
- Reboot, panic
- Rebuilt entire system (and installed adaptec provided drivers)
- Upgraded fw/bios on adaptec card and upgraded driver on system
- Rebooted and ran for a few days
- Created a new BE and installed COMSTAR on it via "pkg install storage-server 
SUNWiscsit
- Boot to new BE and kernel panic
- Reverted to prior BE

My current output of modinfo shows:

189 f8026000  128d0  94   1  aac (AAC Driver 2.3.6)

Thanks,
Greg
-- 
This message posted from opensolaris.org
___
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss


Re: [storage-discuss] crash dump after comstar install

2010-11-10 Thread Greg Terkanian
David,
Thanks for your response.  I don't understand.  I removed the driver from the 
BE and installed the Adaptec provided package.  Perhaps they are one in the 
same?

-Greg
-- 
This message posted from opensolaris.org
___
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss


Re: [storage-discuss] crash dump after comstar install

2010-11-04 Thread David Hollister
It would appear that your COMSTAR BE is still running the snv_134 
version of the aac driver:


> NOTICE: aac driver 2.02.09-1, found card: Adaptec RAID 
5445(pci0x9005.285.9005.2b5) at 0xb1a0


So, I would assume it's some incompatibility between the way the two 
drivers behave.  You'll likely want to make sure both BEs are running 
the same aac driver (assuming they are running the same OS version).


David

On 11/ 4/10 11:53 AM, Greg Terkanian wrote:

I have an snv_134 system on an Intel SR2612UR with an adaptec 5445 card.  In 
order to get OS to see the disks attached to the card, I needed to install the 
Adaptec provided driver.  I'm using the latest version 17911 of driver and fw.  
I've installed COMSTAR to an alternate BE.  When I boot to that BE, I get a 
kernel panic.  Below is some crash dump analysis using mdb:

z...@sb_zfs:/var/crash/sb_zfs# mdb -k unix.0 vmcore.0
Loading modules: [ unix genunix specfs dtrace mac cpu.generic uppc pcplusmp 
scsi_vhci zfs sockfs ip hook neti sctp arp usba uhci crypto random md sd fcp 
fctl cpc fcip smbsrv nfs qlc s1394 lofs ufs logindmux ptm nsmb sppp ]

::status

debugging crash dump vmcore.0 (64-bit) from sb_zfs
operating system: 5.11 snv_134 (i86pc)
panic message:
BAD TRAP: type=e (#pf Page fault) rp=ff00214b22f0 addr=0 occurred in module 
"aac" due to a NULL pointer dereference
dump content: kernel pages only

::stack

aac_devcfg+0x8d(ff04e897a000, 27e, 1)
aac_tran_bus_config+0xc2(ff04e28f3048, 4000, 1, ff00214b27f0, 
ff00214b25d8)
scsi_hba_bus_config+0xdc(ff04e28f3048, 4000, 1, ff00214b27f0, 
ff00214b25d8)
ndi_devi_config_one+0x9c(ff04e28f3048, ff00214b27f0, ff00214b25d8, 
4000)
dv_find+0x1b7(ff0500739d28, ff00214b27f0, ff00214b27c0, 
ff00214b2a40, ff04e2e2c740, ff04fe39eb10
)
devfs_lookup+0x39(ff0502305d80, ff00214b27f0, ff00214b27c0, 
ff00214b2a40, 0, ff04e2e2c740)
fop_lookup+0xed(ff0502305d80, ff00214b27f0, ff00214b27c0, 
ff00214b2a40, 0, ff04e2e2c740)
lookuppnvp+0x281(ff00214b2a40, 0, 1, 0, ff00214b2c00, ff04e2e2c740)
lookuppnatcred+0x11b(ff00214b2a40, 0, 1, 0, ff00214b2c00, 0)
lookupnameatcred+0xe4(8046da0, 0, 1, 0, ff00214b2c00, 0)
lookupnameat+0x69(8046da0, 0, 1, 0, ff00214b2c00, 0)
vn_openat+0x232(8046da0, 0, 1, 0, ff00214b2d78, 0)
copen+0x435(ffd19553, 8046da0, 1, 0)
open32+0x2f(8046da0, 0, 0)
_sys_sysenter_post_swapgs+0x149()

::msgbuf

MESSAGE
pcplusmp: pciex8086,10a7 (igb) instance 0 irq 0x35 vector 0x60 ioapic 0xff 
intin 0xff is bound to cpu 15
pcplusmp: pciex8086,10a7 (igb) instance 0 irq 0x36 vector 0x61 ioapic 0xff 
intin 0xff is bound to cpu 0
pcplusmp: pciex9005,285 (aac) instance 0 irq 0x37 vector 0x41 ioapic 0xff intin 
0xff is bound to cpu 1
cmdk0 at ata1 target 0 lun 0
cmdk0 is /p...@0,0/pci-...@1f,2/i...@1/c...@0,0
sd0 at ata0: target 1 lun 0
sd0 is /p...@0,0/pci-...@1f,2/i...@0/s...@1,0
pseudo-device: nvidia255
nvidia255 is /pseudo/nvi...@255
NOTICE: igb0 registered
NOTICE: igb0: igb 1.1.13
pcplusmp: pciex8086,10a7 (igb) instance 1 irq 0x38 vector 0x62 ioapic 0xff 
intin 0xff is bound to cpu 2
pcplusmp: pciex8086,10a7 (igb) instance 1 irq 0x39 vector 0x63 ioapic 0xff 
intin 0xff is bound to cpu 3
pseudo-device: fcp0
fcp0 is /pseudo/f...@0
pseudo-device: fcsm0
fcsm0 is /pseudo/f...@0
pseudo-device: srn0
srn0 is /pseudo/s...@0
NOTICE: aac driver 2.02.09-1, found card: Adaptec RAID 
5445(pci0x9005.285.9005.2b5) at 0xb1a0
PCIE-device: pci9005,2...@0, aac0
PCI Express-device: pci9005,2...@0, aac0
aac0 is /p...@0,0/pci8086,3...@5/pci9005,2...@0
pseudo-device: dcpc0
dcpc0 is /pseudo/d...@0
pseudo-device: dtrace0
dtrace0 is /pseudo/dtr...@0
pseudo-device: fasttrap0
fasttrap0 is /pseudo/fastt...@0
pseudo-device: fbt0
fbt0 is /pseudo/f...@0
pseudo-device: lockstat0
lockstat0 is /pseudo/locks...@0
pseudo-device: profile0
profile0 is /pseudo/prof...@0
pseudo-device: sdt0
sdt0 is /pseudo/s...@0
pseudo-device: systrace0
systrace0 is /pseudo/systr...@0
pseudo-device: audio0
audio0 is /pseudo/au...@0
pseudo-device: stmf0
stmf0 is /pseudo/s...@0
pseudo-device: fct0
fct0 is /pseudo/f...@0
NOTICE: igb1 registered
NOTICE: igb1: igb 1.1.13
pseudo-device: stmf_sbd0
stmf_sbd0 is /pseudo/stmf_...@0
NOTICE: igb0 link up, 1000 Mbps, full duplex
NOTICE: igb1 link up, 1000 Mbps, full duplex
dump on /dev/zvol/dsk/rpool/dump size 8160 MB
pcplusmp: pci-ide (pci-ide) instance 1 irq 0x15 vector 0x42 ioapic 0x8 intin 
0x15 is bound to cpu 4
pcplusmp: pci-ide (pci-ide) instance 1 irq 0x15 vector 0x42 ioapic 0x8 intin 
0x15 is bound to cpu 5
pseudo-device: fssnap0
fssnap0 is /pseudo/fss...@0
pseudo-device: pool0
pool0 is /pseudo/p...@0
pseudo-device: bpf0
bpf0 is /pseudo/b...@0
pseudo-device: lx_systrace0
lx_systrace0 is /pseudo/lx_systr...@0
pseudo-device: winlock0
winlock0 is /pseudo/winl...@0
pseudo-device: nsmb0
nsmb0 is /pseudo/n...@0
IP Filter: v4.1.9, running.
pseudo-device: pm0
pm0 is /pseudo/p...@0
pseudo-device: