Re: CLANG 3.2 breaks security/pam_ssh_agent_auth on stable/9

2013-02-02 Thread Kimmo Paasiala
On Sun, Feb 3, 2013 at 4:06 AM, Mark Linimon  wrote:
> On Fri, Feb 01, 2013 at 11:53:03AM -0600, Brooks Davis wrote:
>> I'm not sure why I'm being jumped on in this weeks old report of a
>> now-fixed problem.
>
> I'm sorry, I'm that far behind in email.  I did not realize the problem
> had already been solved.
>
> More often than not the problem is simply "thrown over the fence" for
> the ports team to deal with.
>
> mcl

There is no PR yet with my fix and therefor no commit to ports tree
that would fix the problem. I'll file a PR soon (TM).

-Kimmo
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: CLANG 3.2 breaks security/pam_ssh_agent_auth on stable/9

2013-02-02 Thread Mark Linimon
On Fri, Feb 01, 2013 at 11:53:03AM -0600, Brooks Davis wrote:
> I'm not sure why I'm being jumped on in this weeks old report of a
> now-fixed problem.

I'm sorry, I'm that far behind in email.  I did not realize the problem
had already been solved.

More often than not the problem is simply "thrown over the fence" for
the ports team to deal with.

mcl
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: CLANG 3.2 breaks security/pam_ssh_agent_auth on stable/9

2013-02-02 Thread Stefan Bethke
Am 30.01.2013 um 07:21 schrieb Kimmo Paasiala :

> On Wed, Jan 30, 2013 at 7:27 AM, James  wrote:
>> I was able to correct the problem as well by prefixing strnvis, avoiding the
>> symbol collision. I also found PR: ports/172941 which also has a fix.
>> 
>> Using my patch or the patch in ports/172941 fixes the segfault for me in
>> stable/9. However, I quickly ran into another problem. I can't remember the
>> error message exactly, it was something like "Unable to initialize PAM:
>> Unknown file descriptor". A ktrace didn't reveal anything obvious. I'll try
>> to test it out tomorrow.
>> 
>> --
>> James.
> 
> Try the attached patch. Just drop it into
> /usr/ports/security/pam_ssh_agent_auth/files directory and recompile.
> 
> This will make the port use the system strnvis() with correctly
> ordered arguments if one is available (HAVE_STRNVIS defined) and an
> _openbsd suffixed version if not.
> 
> 
> -Kimmo
> 

Working great for me!

Is this on any committers radar?  I don't see a PR for it.



Stefan

-- 
Stefan BethkeFon +49 151 14070811



___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: acpi resume related patch

2013-02-02 Thread Andre Goree
On 01/25/13 03:44, Andriy Gapon wrote:
> 
> If you have ACPI suspend/resume working, if it used to work but stopped 
> working
> at some time, if it never worked, but you are still hoping, could you please
> test the following patch and report back?
> 
> http://svn.freebsd.by/files/acpi-apic-wakeup-final.patch
> 
> 
> 
> ___
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
> 

Can I attempt this on an 8-stable machine? Or does it not matter?

-- 
Andre Goree
an...@drenet.info



signature.asc
Description: OpenPGP digital signature


Re: acpi resume related patch

2013-02-02 Thread Jakub Lach
Does not apply cleanly for me on 9-STABLE.

I've tried svn patch acp(...) and patch http://freebsd.1045724.n5.nabble.com/acpi-resume-related-patch-tp5780721p5783166.html
Sent from the freebsd-stable mailing list archive at Nabble.com.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Failsafe on kernel panic

2013-02-02 Thread Andrey Zonov
On 1/20/13 6:07 PM, Willem Jan Withagen wrote:
> On 17-1-2013 4:18, Ian Lepore wrote:
>> On Wed, 2013-01-16 at 23:27 +0200, Sami Halabi wrote:
>>> Thank you for your response, very helpful.
>>> one question - how do i configure auto-reboot once kernel panic occurs?
>>>
>>> Sami
>>>
>>
>> From src/sys/conf/NOTES, this may be what you're looking for...
>>
>> #
>> # Don't enter the debugger for a panic. Intended for unattended operation
>> # where you may want to enter the debugger from the console, but still want
>> # the machine to recover from a panic.
>> #
>> options  KDB_UNATTENDED
>>
>> But I think it only has meaning if you have option KDB in effect,
>> otherwise it should just reboot itself after a 15 second pause.
> 
> Well it is not the  magical fix-all solution.
> 
> Last night I had to drive to the colo (lucky for me a 5 min drive.)
> because I could not get a system to reboot/recover from a crash.
> 
> Upon arrival the system was crashed and halted on the message:
>   rebooting in 15 sec.
> 

I've seen the same thing many and many times.  Now I'm using ddb to save
crash dump and reboot machine on panic.  It's much more reliable.

-- 
Andrey Zonov



signature.asc
Description: OpenPGP digital signature