I also got problem of dumping core when kernel panic.

I found that when the network/physical service is down (I was debugging 
some nic driver), the dumpadm service got problem to be online. 'svcs 
-xv' shows that dumpadm has something depending on network/physical, 
which I'm not sure what it is.

-Evan

Joachim Worringen wrote:
> Greetings,
>
> I'm developing on a SXCE build 103 machine. Up to now, kernel dumps have 
> worked very reliably (have collected more than 100 already...), but 
> suddenly, kernel panics no longer give me a vmcore on reboot.
>
> While I can see on the console that the kernel is dumped to the indicatd 
> device, I don't have a vmcore/unix pair of files after reboot as I used 
> to have. savecore doesn't log any message, either. Here's my setup:
>
> [EMAIL PROTECTED] # dumpadm
>        Dump content: kernel and current process pages
>         Dump device: /dev/dsk/c1t0d0s4 (dedicated)
> Savecore directory: /export/home/crash
>    Savecore enabled: yes
>
> /dev/dsk/c1t0d0s4 is 15G; I successfully used the swap slice before, but 
> tried this one to see if it fixes the problem.
>
> Dumping a live works fine this way:
> [EMAIL PROTECTED] # savecore -Lv
> dumping to /dev/dsk/c1t0d0s4, offset 65536, content: kernel + curproc
> 100% done: 127094 pages dumped, compression ratio 4.35, dump succeeded
> System dump time: Thu Dec  4 18:44:55 2008
> Constructing namelist /export/home/crash/unix.107
> Constructing corefile /export/home/crash/vmcore.107
> 100% done: 127094 of 127094 pages saved
>
> This dump is valid:
> [EMAIL PROTECTED] # cd /export/home/crash/
> [EMAIL PROTECTED] # mdb 107
> mdb: failed to read panicbuf and panic_reg -- current register set will 
> be unavailable
> Loading modules: [ unix genunix specfs dtrace cpu.generic uppc pcplusmp 
> scsi_vhci ufs sd ip hook neti sctp arp usba uhci fctl stmf nca lofs zfs 
> random sppp ptm logindmux cpc nfs fcip ipc ]
>  > ::status
> debugging crash dump vmcore.107 (64-bit) from d0
> operating system: 5.11 volo-gate-103 (i86pc)
> panic message:
> dump content: kernel pages and pages from PID 100836
>
> But as I said, a real kernel panic says it dumps to /dev/dsk/c1t0d0s4 as 
> well, but savecore doesn't do anything on reboot.
>
> Any idea what's wrong? I tried different kinds of panics already...
>
>   thanks, Joachim
>
>   

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

Reply via email to