Rick Macklem | 1 Jul 02:11 2010
Picon

Re: Why is NFSv4 so slow? (root/toor)


On Wed, 30 Jun 2010, Ian Smith wrote:

>
> I wondered whether this might be a Linux thing.  On my 7.2 system,
>
> % find /usr/src -name "*.[ch]" -exec grep -Hw getpwuid {} \; > file
>
> returns 195 lines, many in the form getpwuid(getuid()), in many base and
> contrib components - including id(1), bind, sendmail etc - that could be
> nondeterministic if getpwuid(0) ever returned other than root.
>
> Just one mention of 'toor' in /usr/src/usr.sbin/makefs/compat/pwcache.c
>
> Not claiming to know how the lookups in /usr/src/lib/libc/gen/getpwent.c
> work under the hood, but this does seem likely a non-issue on FreeBSD.
>
I remember it causing some confusion while testing, but I can't remember
when or where. It might have been Linux or I might have been logged in as
"toor" or ????

I think I will hardcode the "root" case in nfsuserd, just to be safe.
(I also migt have editted /etc/passwd and reordered entries without
paying attention to it.)

rick

_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
(Continue reading)

Mickaël Maillot | 1 Jul 08:23 2010
Picon

Re: Panic on 8-STABLE at boot

thx pluknet.

my second panic appear today on 3 recent 8-stable amd64 machine after
doing 8 ~ 10h of zfs receive.

2010/6/30 pluknet <pluknet <at> gmail.com>:
> On 29 June 2010 19:58, Mickaël Maillot <mickael.maillot <at> gmail.com> wrote:
>> i've got a panic with zfs only machine so i decided to build a witness kernel
>> and just after the first reboot:
>> http://img190.imageshack.us/img190/3314/panicflowtable2.jpg
>>
>> the second boot: no prob
>>
>> uname -a
>> FreeBSD cg196.security-mail.net 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE
>> #8: Tue Jun 29 14:30:12 CEST 2010
>> root <at> cg196.security-mail.net:/usr/obj/usr/src/sys/SECUMAIL  amd64
>>
>> dmesg: http://freelooser.fr/freebsd/dmesg.cg196.2010-06-29.log
>> conf:http://freelooser.fr/freebsd/SECUMAIL.txt
>
> This afaik was fixed a while ago in CURRENT:
> http://svn.freebsd.org/viewvc/base?view=revision&revision=207303
>
> I wonder it's not MFC'ed yet.
>
> --
> wbr,
> pluknet
>
(Continue reading)

Mickaël Maillot | 1 Jul 11:26 2010
Picon

Re: Panic on 8-STABLE at boot

a little more info about thread 100090
http://freelooser.fr/freebsd/deadlock3.jpg

2010/7/1 Mickaël Maillot <mickael.maillot <at> gmail.com>:
> thx pluknet.
>
> my second panic appear today on 3 recent 8-stable amd64 machine after
> doing 8 ~ 10h of zfs receive.
>
> 2010/6/30 pluknet <pluknet <at> gmail.com>:
>> On 29 June 2010 19:58, Mickaël Maillot <mickael.maillot <at> gmail.com> wrote:
>>> i've got a panic with zfs only machine so i decided to build a witness kernel
>>> and just after the first reboot:
>>> http://img190.imageshack.us/img190/3314/panicflowtable2.jpg
>>>
>>> the second boot: no prob
>>>
>>> uname -a
>>> FreeBSD cg196.security-mail.net 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE
>>> #8: Tue Jun 29 14:30:12 CEST 2010
>>> root <at> cg196.security-mail.net:/usr/obj/usr/src/sys/SECUMAIL  amd64
>>>
>>> dmesg: http://freelooser.fr/freebsd/dmesg.cg196.2010-06-29.log
>>> conf:http://freelooser.fr/freebsd/SECUMAIL.txt
>>
>> This afaik was fixed a while ago in CURRENT:
>> http://svn.freebsd.org/viewvc/base?view=revision&revision=207303
>>
>> I wonder it's not MFC'ed yet.
>>
(Continue reading)

Paul Mather | 1 Jul 14:39 2010
Picon

Re: Problems with ATA_CAM support in RELENG_8

On Jun 30, 2010, at 5:18 PM, Alexander Motin wrote:

> Paul Mather wrote:
>>> PS: ATA_STATIC_ID is useless when ATA_CAM option enabled.
>> 
>> Thank you (and Jeremy Chadwick) for the help and information.  The kernel configuration options I used
above were taken from a VirtualBox FreeBSD/amd64 install I have that I converted over to ATA_CAM when the
code first went into RELENG_8 and it wasn't exactly clear at the time what options were absolutely
required.  (I'm not even sure that "options ATA_CAM" is needed any more, given "device ahci" implies it.)
> 
> `options ATA_CAM` enables CAM wrapper for legacy drivers, which gave you
> adaX devices instead of adX. It doesn't give major benefits, just
> unifies behavior.

So, does that mean if you omit "options ATA_CAM" and have "device ahci" you will get adX devices, not adaX
devices?  In other words, if you have "device ahci" (or "device siis" or "device mvs") will you will always
get adaX devices, whether or not you have "options ATA_CAM" in your kernel config file?

Does "options ATA_CAM" work with "device ata" or the modular ATA subsystem?  Is that the intended use of
"options ATA_CAM": to provide adaX devices and a CAM interface for accessing ATA devices?

Cheers,

Paul._______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"

Jeremy Chadwick | 1 Jul 14:46 2010

Re: Problems with ATA_CAM support in RELENG_8

On Thu, Jul 01, 2010 at 08:26:31AM -0400, Paul Mather wrote:
> On Jun 30, 2010, at 5:21 PM, Jeremy Chadwick wrote:
> >> I'm assuming that "subclass = ATA" means the controller can't operate
> >> in AHCI mode.  The BIOS setting is also confusing.  It has two
> >> options, "Normal" and "Legacy."  "Normal" mode says, "The hard drive
> >> controller is configured for native mode.  This mode provides the
> >> highest drive performance and most flexibility."  I guess I
> >> misinterpreted "native mode" to be AHCI mode.
> > 
> > "Native", "Normal", and "Enhanced" are all terms used to describe the
> > controller operating in standard SATA (non-AHCI) fashion.  Dell's
> > in-BIOS description is nothing but schmooze; it's not the same as AHCI.
> > "Legacy" just means the controller appears and operates purely in
> > PATA-esque mode, so that you can use SATA drives on systems which don't
> > have SATA chipset drivers (ex. MS-DOS).
> 
> Thank you for helping clear that up.  I have a Supermicro
> X8ST3-F-based server here, and it offers three choices for drive mode:
> IDE, RAID, and AHCI.  I think it's much clearer, there, what you're
> getting.  Dell could learn a thing or two from them. :-)

It's a matter of demographic -- Dell often caters to home/residential
users, while Supermicro caters to engineers, SAs, and other highly
technical folk.  The latter excludes "gamers" or "tech forum freaks";
these two rarely, if ever, actually program or interface with the
devices or chips they're talking about.  Speculation on my part, but I'm
sure if you Google for "ICH8 ACHI" you'll find hundreds of posts on
random forums, and most of these posts will do nothing but confuse.  :-)

Dell started adding more technically-savvy options to their later
(Continue reading)

Tom Evans | 1 Jul 16:04 2010

Re: kernel issues with 8 STABLE

On Wed, Jun 30, 2010 at 1:16 PM, Free BSD <freebsd <at> vfemail.net> wrote:
> Dear List Members
> Also, even though I have custom keyboard in my kernel configuration,
> whenever I boot into single user mode I get US layout (it works fine when in
> multi-user mode).

Does it work correctly if you run kbdmap and choose the correct
layout? If so, set keymap in /etc/rc.conf so it is always configured
correctly.

Cheers

Tom
_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"

GNUbie | 1 Jul 16:47 2010
Picon

Re: Unable to boot FreeBSD 8.0-p3

Hello Andrew,

On Mon, Jun 28, 2010 at 10:08 AM, Andrew J. Caines
<A.J.Caines <at> halplant.com> wrote:
> GNUbie,
>
>> Kindly check the screenshot at http://imagebin.org/102605 for the
>> screen output during bootup. I don't know how to recover this system
>> and hopefully someone could help me on how to do it.
>
> Can you boot the old kernel[1]?
>
> [1] See
> http://www.freebsd.org/doc/en/books/handbook/kernelconfig-trouble.html

I'm sorry for the late reply as I've been busy for the past 5 days.

No, I can't boot from my old kernel. Also, I didn't customized the kernel.

How can I proceed from here?

Thank you in advance.

Regards,

GNUbie
_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"
(Continue reading)

Rick Macklem | 1 Jul 17:06 2010
Picon

Re: Why is NFSv4 so slow?


On Mon, 28 Jun 2010, Rick C. Petty wrote:

> On Mon, Jun 28, 2010 at 12:35:14AM -0400, Rick Macklem wrote:
>>
>> Being stuck in "newnfsreq" means that it is trying to establish a TCP
>> connection with the server (again smells like some networking issue).
>> <snip>
>> Disabling delegations is the next step. (They aren't
>> required for correct behaviour and are disabled by default because
>> they are the "greenest" part of the implementation.)
>
> After disabling delegations, I was able to build world and kernel on two
> different clients, and my port build problems went away as well.
>
I was able to reproduce a problem when delegations are enabled and the
"rdirplus" option was used on a mount. Since I haven't done non-trivial
testing with "rdirplus" set, but have done quite a bit with delegations
enabled for mounts without "rdirplus", I suspect the problem is related
to using "rdirplus" on NFSv4 mounts.

So, I'd recommend against using "rdirplus" on NFSv4 mounts until the
problem gets resolved.

You could try re-enabling delegations and the try mounts without 
"rdirplus" and see if the problems during builds still show up?

Thanks for your help with testing, rick

_______________________________________________
(Continue reading)

M. Vale | 1 Jul 16:52 2010
Picon

Re: Unable to boot FreeBSD 8.0-p3

2010/7/1 GNUbie <gnubie <at> gmail.com>

> Hello Andrew,
>
> On Mon, Jun 28, 2010 at 10:08 AM, Andrew J. Caines
> <A.J.Caines <at> halplant.com> wrote:
> > GNUbie,
> >
> >> Kindly check the screenshot at http://imagebin.org/102605 for the
> >> screen output during bootup. I don't know how to recover this system
> >> and hopefully someone could help me on how to do it.
> >
> > Can you boot the old kernel[1]?
> >
> > [1] See
> > http://www.freebsd.org/doc/en/books/handbook/kernelconfig-trouble.html
>
> I'm sorry for the late reply as I've been busy for the past 5 days.
>
> No, I can't boot from my old kernel. Also, I didn't customized the kernel.
>
> How can I proceed from here?
>
> Thank you in advance.
>
> Regards,
>
> GNUbie
> _______________________________________________
> freebsd-stable <at> freebsd.org mailing list
(Continue reading)

Jeremy Chadwick | 1 Jul 16:58 2010

Re: kernel issues with 8 STABLE

On Thu, Jul 01, 2010 at 03:04:56PM +0100, Tom Evans wrote:
> On Wed, Jun 30, 2010 at 1:16 PM, Free BSD <freebsd <at> vfemail.net> wrote:
> > Dear List Members
> > Also, even though I have custom keyboard in my kernel configuration,
> > whenever I boot into single user mode I get US layout (it works fine when in
> > multi-user mode).
> 
> Does it work correctly if you run kbdmap and choose the correct
> layout? If so, set keymap in /etc/rc.conf so it is always configured
> correctly.

AFAIK this only applies to multi-user mode.  rc scripts (thus use of
rc.conf), to my knowledge, aren't run in single-user.

--

-- 
| Jeremy Chadwick                                   jdc <at> parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |

_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"


Gmane