Brian,

Brian Ruthven - Sun UK wrote:

Marcus Heine wrote:

Hi,

I am currently playing around with diskless Solaris (iscsi, network booted ramdisk, etc) and found that dumpadm allows me to configure a USB stick or an iscsi device as a dump
device no problem, like
    dumpadm -c kernel -d /dev/dsk/...
but testing this with "reboot -d" did not result in any crashdump activity.
The x86 system just hung for about 5 seconds and then reset.
How are you concluding there was no "crashdump activity"?
To me, that sounds like it was dumping to the USB stick - 5 seconds could be about right for a fast x86 system. Did you check for a corresponding panic message in the /var/adm/messages file when the system came back up?

My USB stick has a little LED that flashes when it is written to. In the 5 seconds it did not flash at all. Also savecore when enabled (thanks for pointing that out) does not find any crashdump when it reboots.
I just tried once more.

When I run "savecore -v -L" to snapshot and dump the live system to the USB stick it works though. Dumping all the pages takes about 40 seconds then and the USB drive LED flashes as it should, but I think this is keeping the current live kernel fully multithread and with interrupts enabled, so is not comparable
to a real panic.

Also, should I not see a panic string on the console and even a kernel stack trace for a couple of seconds
on the screen, before resetting?

Thanks,
 --Marcus



OpenSolaris 2009.06 shipped with savecore disabled by default (see http://defect.opensolaris.org/bz/show_bug.cgi?id=5003 - it seems it should have been fixed for 0906 but wasn't). Check the output of dumpadm (example below), and check that savecore is enabled. If not, then run "dumpadm -y" to enable it.

# dumpadm
     Dump content: kernel pages
      Dump device: /dev/zvol/dsk/rpool/dump (dedicated)
Savecore directory: /var/crash/opensol
 Savecore enabled: yes


Regards,
Brian


_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to