[osol-discuss] C programming, invalid argc value

2010-09-30 Thread Saadia Fatima
Hi, Invalid argc value is passed to main, when I run the program with no cmmand line arguments main(argc = 134551360, argv=0x8047b2a) // from gdb How to fix this?? -Thanks SF -- This message posted from opensolaris.org ___ opensolaris-discuss maili

[osol-discuss] Debugging a system freeze: Booting with -k

2010-10-11 Thread Saadia Fatima
How can I catch a system panic/freeze. I tried booting up with a kernel debugger, with -k option in the GRUB menu. When the system freezes how can I switch to the debugger? I tried f1+shift+a but it did not work. Thanks SF -- This message posted from opensolaris.org ___

Re: [osol-discuss] [osol-code] Debugging a system freeze: Booting with -k

2010-10-12 Thread Saadia Fatima
The system specs are: x86, snv111b 32-bit USB keyboard and mouse. -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org

[osol-discuss] copymsg and MBLK

2010-10-21 Thread Saadia Fatima
Hi When I copy a message block (mblk_t, with a non-zero length) using copymsg, the value returned by MBLKL for the copy is zero. len = MBLKL(m); //say 80 mc = copymsg(m); len = MBLKL(mc);// returns 0 ??? -sf -- This message posted from opensolaris.org

Re: [osol-discuss] copymsg and MBLK

2010-11-03 Thread Saadia Fatima
Resolved -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org