Re: shutdown -r / shutdown -h / reboot all hang and don't cleanly dismount

2013-06-22 Thread Jeremy Chadwick
On Sun, Jun 23, 2013 at 02:41:27AM +0200, Willem Jan Withagen wrote:
> On 19-6-2013 17:04, Jeremy Chadwick wrote:
> >- Adam runs 9.1-RELEASE because of business needs pertaining to
> >   freebsd-update and binary updates.  (I ask more about this for
> >   benefits of readers below, however -- because this situation comes
> >   up a lot and I want to know what real-world admins do)
> 
> The bug is very specifically available in 9.1-RELEASE because I got
> bit by it before the release of 9.1. But discussed it with avg@ and
> it did not make it into the release, but was submitted only like 2
> weeks later.
> 
> So in that case you can probably stop looking.
> 
> For just about any 9.1-STABLE after that should the fix be in the code.

I'm not sure why so many people (so far) seem to think that this problem
is always the same issue -- it isn't.  There are multiple things that
have historically (and/or presently) have caused this issue.

Here's the list I composed only a few days ago, and it is far from
thorough:

http://lists.freebsd.org/pipermail/freebsd-stable/2013-June/073863.html

My point is that the "shutdown -r issue" issue might manifest itself in
the same fashion for everyone, but the **root cause** often differs.
I.e.  what fixed it for you may not fix it for Adam.  We must wait and
see (he's in the process of getting a system to try stable/9 on).

-- 
| Jeremy Chadwick   j...@koitsu.org |
| UNIX Systems Administratorhttp://jdc.koitsu.org/ |
| Making life hard for others since 1977. PGP 4BD6C0CB |

___
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: shutdown -r / shutdown -h / reboot all hang and don't cleanly dismount

2013-06-22 Thread Willem Jan Withagen

On 19-6-2013 17:04, Jeremy Chadwick wrote:

- Adam runs 9.1-RELEASE because of business needs pertaining to
   freebsd-update and binary updates.  (I ask more about this for
   benefits of readers below, however -- because this situation comes
   up a lot and I want to know what real-world admins do)


The bug is very specifically available in 9.1-RELEASE because I got bit 
by it before the release of 9.1. But discussed it with avg@ and it did 
not make it into the release, but was submitted only like 2 weeks later.


So in that case you can probably stop looking.

For just about any 9.1-STABLE after that should the fix be in the code.

--WjW

___
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: slow bootloader on Dell R320

2013-06-22 Thread Loïc BLOT
Hello,
it's only a 8GB memory server, i haven't this problem with KVM/VWMare VM
with this amount of memory

For possible next questions, i haven't any loader.conf customizations
-- 
Best regards,
Loïc BLOT, 
UNIX systems, security and network expert
http://www.unix-experience.fr


Le samedi 22 juin 2013 à 22:44 +0100, Steven Hartland a écrit :
> - Original Message - 
> From: "Loïc BLOT" 
> > Hi all !
> > Thanks for the very good support of Dell R320 hardware, perc H310 is
> > well supported, BCM5720 seems to work correctly and performances are
> > great.
> > The only problem i have found is very strange. The FreeBSD bootloader
> > take many times to load, 30sec-2minutes to boot the kernel and show the
> > bootloader menu. After that, the system boots properly, at a normal
> > speed.
> > Is there any issue or optimization i can do ?
> > The OpenBSD bootloader doesn't have this problem.
> 
> Do you have a large amount of memory in the machine, if so try adding
> this to /boot/loader.conf
> 
> hw.memtest.tests="0"
> 
> Regards
> Steve 
> 
> 
> 
> This e.mail is private and confidential between Multiplay (UK) Ltd. and the 
> person or entity to whom it is addressed. In the event of misdirection, the 
> recipient is prohibited from using, copying, printing or otherwise 
> disseminating it or any information contained in it. 
> 
> In the event of misdirection, illegible or incomplete transmission please 
> telephone +44 845 868 1337
> or return the E.mail to postmas...@multiplay.co.uk.
> 
> ___
> 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"


signature.asc
Description: This is a digitally signed message part


Re: slow bootloader on Dell R320

2013-06-22 Thread Steven Hartland


- Original Message - 
From: "Loïc BLOT" 

Hi all !
Thanks for the very good support of Dell R320 hardware, perc H310 is
well supported, BCM5720 seems to work correctly and performances are
great.
The only problem i have found is very strange. The FreeBSD bootloader
take many times to load, 30sec-2minutes to boot the kernel and show the
bootloader menu. After that, the system boots properly, at a normal
speed.
Is there any issue or optimization i can do ?
The OpenBSD bootloader doesn't have this problem.


Do you have a large amount of memory in the machine, if so try adding
this to /boot/loader.conf

hw.memtest.tests="0"

   Regards
   Steve 




This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 


In the event of misdirection, illegible or incomplete transmission please 
telephone +44 845 868 1337
or return the E.mail to postmas...@multiplay.co.uk.

___
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: shutdown -r / shutdown -h / reboot all hang and don't cleanly dismount

2013-06-22 Thread Willem Jan Withagen

On 19-6-2013 15:41, Steven Hartland wrote:

- Original Message - From: "Ronald Klop"




On Wed, 19 Jun 2013 14:53:19 +0200, Adam Strohl
 wrote:


On 6/19/2013 19:21, Jeremy Chadwick wrote:

On Wed, Jun 19, 2013 at 06:35:57PM +0700, Adam Strohl wrote:

Hello -STABLE@,

So I've seen this situation seemingly randomly on a number of both
physical 9.1 boxes as well as VMs for I would say 6-9 months at
least.  I finally have a physical box here that reproduces it
consistently that I can reboot easily (ie; not a production/client
server).


Hi,

My home computer had the same symptom (not rebooting after 'all
buffers flushed' message) a couple of months ago. But I follow
9-STABLE and the problem is gone for a while now.


avg@ did a lot of work on the ZFS vfs locking which fixed at least one
hang on reboot for ZFS. I don't believe this is in 9.1-RELEASE, so you
should test a stable/9 or 8.4-RELEASE (which is newer than 9.1-RELEASE)
kernel.


I was one of the victims of this bug, a while back.
Patched and ran a lot of diffs from avg@, even tried some stuff he wrote 
for -Current, but we got things working.
And in the end it was integrated into -STABLE. So I'm running an 
unpatched -STABLE, and I did not have the problem since.


Currently running:
9.1-STABLE FreeBSD 9.1-STABLE #172 r250288: Mon May 6 06:49:36 CEST 2013

And the system got rebooted only just this week for some maintenance.

So either you take a look at the -Current code to see if more changes 
have been made, or perhaps ask avg@ for suggestions.


--WjW

___
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: slow bootloader on Dell R320

2013-06-22 Thread Loïc BLOT
Hello Jeremy,
1. it's a FreeBSD-9.1-p3 (RELEASE) (sorry i haven't the exact output
because i'm not at work, but i'm sure of the release and version).
2. I have only 2 300GB disks in a RAID-1 on a perc H310
3. No ZFS was there, it's UFS2 without tuning options.

-- 
Best regards,
Loïc BLOT, 
UNIX systems, security and network expert
http://www.unix-experience.fr


Le samedi 22 juin 2013 à 13:49 -0700, Jeremy Chadwick a écrit :
> On Sat, Jun 22, 2013 at 09:37:37PM +0200, Loc BLOT wrote:
> > Hi all !
> > Thanks for the very good support of Dell R320 hardware, perc H310 is
> > well supported, BCM5720 seems to work correctly and performances are
> > great.
> > The only problem i have found is very strange. The FreeBSD bootloader
> > take many times to load, 30sec-2minutes to boot the kernel and show the
> > bootloader menu. After that, the system boots properly, at a normal
> > speed.
> > Is there any issue or optimization i can do ?
> > The OpenBSD bootloader doesn't have this problem.
> 
> 1. What FreeBSD version exactly?  (Please don't say "9.1", we need to
> know the full version, e.g. 9.1-RELEASE, or if you built your own we
> need uname -a output (you can hide the machine name))
> 
> 2. How many disks are in the machine?
> 
> 3. Are any of the disks used for ZFS?
> 
> There have been **many** improvements to the FreeBSD bootloader with
> regards to things taking a long time on boot-up in semi-recent days, but
> answers to the above questions will determine that.
> 


signature.asc
Description: This is a digitally signed message part


Re: slow bootloader on Dell R320

2013-06-22 Thread Jeremy Chadwick
On Sat, Jun 22, 2013 at 09:37:37PM +0200, Loc BLOT wrote:
> Hi all !
> Thanks for the very good support of Dell R320 hardware, perc H310 is
> well supported, BCM5720 seems to work correctly and performances are
> great.
> The only problem i have found is very strange. The FreeBSD bootloader
> take many times to load, 30sec-2minutes to boot the kernel and show the
> bootloader menu. After that, the system boots properly, at a normal
> speed.
> Is there any issue or optimization i can do ?
> The OpenBSD bootloader doesn't have this problem.

1. What FreeBSD version exactly?  (Please don't say "9.1", we need to
know the full version, e.g. 9.1-RELEASE, or if you built your own we
need uname -a output (you can hide the machine name))

2. How many disks are in the machine?

3. Are any of the disks used for ZFS?

There have been **many** improvements to the FreeBSD bootloader with
regards to things taking a long time on boot-up in semi-recent days, but
answers to the above questions will determine that.

-- 
| Jeremy Chadwick   j...@koitsu.org |
| UNIX Systems Administratorhttp://jdc.koitsu.org/ |
| Making life hard for others since 1977. PGP 4BD6C0CB |

___
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"


slow bootloader on Dell R320

2013-06-22 Thread Loïc BLOT
Hi all !
Thanks for the very good support of Dell R320 hardware, perc H310 is
well supported, BCM5720 seems to work correctly and performances are
great.
The only problem i have found is very strange. The FreeBSD bootloader
take many times to load, 30sec-2minutes to boot the kernel and show the
bootloader menu. After that, the system boots properly, at a normal
speed.
Is there any issue or optimization i can do ?
The OpenBSD bootloader doesn't have this problem.

Thanks you in advance
-- 
Best regards,
Loïc BLOT, 
UNIX systems, security and network expert
http://www.unix-experience.fr




signature.asc
Description: This is a digitally signed message part


Re: Fwd: Issue with svn updates both source and ports.

2013-06-22 Thread Edwin L. Culp W.
On Sat, Jun 22, 2013 at 12:44 PM, David Wolfskill wrote:

> On Sat, Jun 22, 2013 at 12:36:44PM -0500, Edwin L. Culp W. wrote:
> > Thanks, David.
> >
> > I'm still not able to update my ports.  I was able to build a new world
> > with no problem.
> >
> > # uname -a
> > FreeBSD home.encontacto.net 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #505
> > r252094: Sat Jun 22 06:48:06 CDT 2013
> > r...@home.encontacto.net:/usr/obj/usr/src/sys/ENCONTACTO
> > amd64
>
> Some progress; good
>
> > but when I try to update my ports I get:
> >
> > # /usr/local/bin/svn up /usr/ports
> > Updating '/usr/ports':
> > svn: E17: Unrecognized URL scheme for '
> > https://svn0.us-west.freebsd.org/ports/head'
> >
> > And I though I was finally using svn without problems.
> > The only thing interesting about this error was it's needing neon that I
> > rebuilt and reinstalled just in case but no prize.
> >
> > Thanks for suggestions.
>
> Per the ports/UPDATING entry:
>
> ...
>   If you want to upgrade, and use http/https access to repositories,
>   please check, that the SERF option is enabled, as NEON support
>   is gone.
> ...
>
> I suspect that you need to rebuild svn, and that you need to change the
> configuration for it first.  If you use portmaster:
>
> portmaster --force-config devel/subversion
>
> should do that.
>
>
Reconfiguring and running  portmaster --force-config devel/subversion has
the problem solved.

Thanks again,

ed

Peace,
> david
> --
> David H. Wolfskill  da...@catwhisker.org
> Taliban: Evil men with guns afraid of truth from a 14-year old girl.
>
> See http://www.catwhisker.org/~david/publickey.gpg for my public key.
>



-- 
Bienes Raíces in Coatepec, Veracruz, Mexico

http://www.facebook.com/pages/Inmobiliaria-Bienes-Raices-httpEcoManiainfo/102249989850215?sk=photos_albums
___
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: Fwd: Issue with svn updates both source and ports.

2013-06-22 Thread David Wolfskill
On Sat, Jun 22, 2013 at 12:36:44PM -0500, Edwin L. Culp W. wrote:
> Thanks, David.
> 
> I'm still not able to update my ports.  I was able to build a new world
> with no problem.
> 
> # uname -a
> FreeBSD home.encontacto.net 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #505
> r252094: Sat Jun 22 06:48:06 CDT 2013
> r...@home.encontacto.net:/usr/obj/usr/src/sys/ENCONTACTO
> amd64

Some progress; good

> but when I try to update my ports I get:
> 
> # /usr/local/bin/svn up /usr/ports
> Updating '/usr/ports':
> svn: E17: Unrecognized URL scheme for '
> https://svn0.us-west.freebsd.org/ports/head'
> 
> And I though I was finally using svn without problems.
> The only thing interesting about this error was it's needing neon that I
> rebuilt and reinstalled just in case but no prize.
> 
> Thanks for suggestions.

Per the ports/UPDATING entry:

...
  If you want to upgrade, and use http/https access to repositories,
  please check, that the SERF option is enabled, as NEON support
  is gone.
...

I suspect that you need to rebuild svn, and that you need to change the
configuration for it first.  If you use portmaster:

portmaster --force-config devel/subversion

should do that.

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
Taliban: Evil men with guns afraid of truth from a 14-year old girl.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.


pgpc364aYhBl5.pgp
Description: PGP signature


Fwd: Issue with svn updates both source and ports.

2013-06-22 Thread Edwin L. Culp W.
Thanks, David.

I'm still not able to update my ports.  I was able to build a new world
with no problem.

# uname -a
FreeBSD home.encontacto.net 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #505
r252094: Sat Jun 22 06:48:06 CDT 2013
r...@home.encontacto.net:/usr/obj/usr/src/sys/ENCONTACTO
amd64

but when I try to update my ports I get:

# /usr/local/bin/svn up /usr/ports
Updating '/usr/ports':
svn: E17: Unrecognized URL scheme for '
https://svn0.us-west.freebsd.org/ports/head'

And I though I was finally using svn without problems.
The only thing interesting about this error was it's needing neon that I
rebuilt and reinstalled just in case but no prize.

Thanks for suggestions.

ed


pgpr7dsMrnDCL.pgp
Description: PGP signature
___
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: sshd didn't run after upgrade to FreeBSD 8.4

2013-06-22 Thread Dimitry Andric
On Jun 20, 2013, at 02:24, Kimmo Paasiala  wrote:
...
> Ok, this is crazy. If you put one space after the VersionAddendum
> keyword you get exactly what you want, an empty VersionAddendum
> string. If there's no space but a newline right after the
> VersionAddendum keyword, sshd(8) complains about the line and refuses
> to start. So this is ok (without the single quotes, they are just to
> show the endings of the lines):
> 
> 'VersionAddendum '
> 
> But this is not:
> 
> 'VersionAddendum'
> 
> What are the OpenSSH devs thinking?


I assume they did not take this scenario into account at all.  The
VersionAddendum setting had been a custom FreeBSD addition for some
time, and was not available at all in upstream OpenSSH.  When upstream
decided to add it, they did not specifically care about backwards
compatibility with (until that time) non-standard configuration files...

-Dimitry

___
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"