Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

freebsd-stable Digest, Vol 348, Issue 7

2 views
Skip to first unread message

freebsd-sta...@freebsd.org

unread,
Mar 21, 2010, 8:00:27 AM3/21/10
to freebsd...@freebsd.org
Send freebsd-stable mailing list submissions to
freebsd...@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
or, via email, send a message with subject or body 'help' to
freebsd-sta...@freebsd.org

You can reach the person managing the list at
freebsd-st...@freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-stable digest..."


Today's Topics:

1. Re: Does zfs have it's own nfs server? (Willem Jan Withagen)
2. Re: Strange problem: if_xe only works in GENERIC kernel
(M. Warner Losh)
3. Re: Strange problem: if_xe only works in GENERIC kernel
(Joerg Wunsch)
4. Re: Strange problem: if_xe only works in GENERIC kernel
(M. Warner Losh)
5. Re: Strange problem: if_xe only works in GENERIC kernel
(Joerg Wunsch)
6. Re: Strange problem: if_xe only works in GENERIC kernel
(Joerg Wunsch)
7. Update: Dearest, Miss Hice Justin Yac (Hice Justin)
8. Update: Dearest, Miss Hice Justin Yac (Hice Justin)
9. Update: Dearest, Miss Hice Justin Yac (Hice Justin)
10. Update: Dearest, Miss Hice Justin Yac (Hice Justin)
11. Re: hardware for home use large storage (Andriy Gapon)
12. Re: Does zfs have it's own nfs server? (jhell)
13. Re: Fatal trap 12: page fault while in kernel mode/current
process: 12 (swi2: cambio) (jhell)


----------------------------------------------------------------------

Message: 1
Date: Sat, 20 Mar 2010 13:16:02 +0100
From: Willem Jan Withagen <w...@digiware.nl>
Subject: Re: Does zfs have it's own nfs server?
To: Charles Sprickman <sp...@bway.net>
Cc: Matthias Gamsjager <mgams...@gmail.com>, FreeBSD Stable Users
<freebsd...@freebsd.org>
Message-ID: <4BA4BC82...@digiware.nl>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 20-3-2010 0:50, Charles Sprickman wrote:
> Just wondering, is this using the base nfsd/mountd, or is there some
> in-kernel nfs code strictly for zfs? I haven't found much info on the
> share* options in the manpage or wiki.

There's also the complete ZFS manual you should read:
http://dlc.sun.com/pdf/819-5461/819-5461.pdf

It's for Solaris, so perhaps not everything works on FreeBSD. But most
of it will.

> Could you give an example of passing options that would say, limit to a
> subnet and map root to root using the zfs sharenfs command?

Something like this: (Email might wrap the line)
zfs set sharenfs='-alldirs -maproot=0 -network 192.168.10.0 -mask
255.255.255.0' zfsdata/home/wjw

to export /home/wjw which is available as /zfsdata/home/wjw in ZFS.

All the zfs does is add this to the /etc/zfs/exports file.
And then the regular mountd/nfsd combo does the NDS-service.

--WjW

------------------------------

Message: 2
Date: Sat, 20 Mar 2010 07:41:56 -0600 (MDT)
From: "M. Warner Losh" <i...@bsdimp.com>
Subject: Re: Strange problem: if_xe only works in GENERIC kernel
To: joerg_...@uriah.heep.sax.de, j...@uriah.heep.sax.de
Cc: freebsd...@FreeBSD.org
Message-ID: <20100320.074156.47...@bsdimp.com>
Content-Type: Text/Plain; charset=us-ascii

In message: <20100320115...@uriah.heep.sax.de>
Joerg Wunsch <j...@uriah.heep.sax.de> writes:
: As Joerg Wunsch wrote:
:
: > OK, at kernel #11 :), I can now say it's the USB subsystem. Just
: > leaving "device usb" (and also "device uhci") in makes it work.
: >
: > So the question appears to be why keeping the USB driver in makes the
: > interrupt storm detection work...
:
: Maybe that's the relationship?
:
: camel# dmesg | fgrep 'irq 11'
: vgapci0: <VGA-compatible display> mem 0xe0000000-0xe0ffffff,0x70000000-0x703fffff,0x70400000-0x704fffff irq 11 at device 0.0 on pci1
: cbb0: <TI1251 PCI-CardBus Bridge> mem 0x50102000-0x50102fff irq 11 at device 2.0 on pci0
: cbb1: <TI1251 PCI-CardBus Bridge> mem 0x50101000-0x50101fff irq 11 at device 2.1 on pci0
: uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x8400-0x841f irq 11 at device 7.2 on pci0
: xe0: <Intel EtherExpress(TM) PRO/100 PC Card Mobile Adapter16> at port 0x100-0x10f iomem 0x20000000-0x20000fff irq 11 function 0 config 1 on pccard1
:
: I guess vgapci0 doesn't really use interrupts, so this leaves cbb0/1
: and uhci0 sharing an interrupt. Apparently, the interrupt storm at
: cbb gets detected correctly as long as at least another device
: installs an interrupt handler on irq 11.
:
: Does that make any sense as an explanation?
:
: I can live with the current situation (and proceed in setting up that
: machine as a firewall, which was my original intention), although I
: could also spend another day into debugging that symptom if someone
: can get me some directions.

Does this happen on a cold boot or a warm boot?

Warner


------------------------------

Message: 3
Date: Sat, 20 Mar 2010 14:45:17 +0100
From: Joerg Wunsch <j...@uriah.heep.sax.de>
Subject: Re: Strange problem: if_xe only works in GENERIC kernel
To: "M. Warner Losh" <i...@bsdimp.com>
Cc: freebsd...@FreeBSD.org
Message-ID: <20100320134...@uriah.heep.sax.de>
Content-Type: text/plain; charset=us-ascii

As M. Warner Losh wrote:

> : I guess vgapci0 doesn't really use interrupts, so this leaves cbb0/1
> : and uhci0 sharing an interrupt. Apparently, the interrupt storm at
> : cbb gets detected correctly as long as at least another device
> : installs an interrupt handler on irq 11.

> Does this happen on a cold boot or a warm boot?

That doesn't matter.

--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL

http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


------------------------------

Message: 4
Date: Sat, 20 Mar 2010 08:03:13 -0600 (MDT)
From: "M. Warner Losh" <i...@bsdimp.com>
Subject: Re: Strange problem: if_xe only works in GENERIC kernel
To: joerg_...@uriah.heep.sax.de, j...@uriah.heep.sax.de
Cc: freebsd...@FreeBSD.org
Message-ID: <20100320.080313.176...@bsdimp.com>
Content-Type: Text/Plain; charset=us-ascii

In message: <20100320134...@uriah.heep.sax.de>
Joerg Wunsch <j...@uriah.heep.sax.de> writes:
: As M. Warner Losh wrote:
:
: > : I guess vgapci0 doesn't really use interrupts, so this leaves cbb0/1
: > : and uhci0 sharing an interrupt. Apparently, the interrupt storm at
: > : cbb gets detected correctly as long as at least another device
: > : installs an interrupt handler on irq 11.
:
: > Does this happen on a cold boot or a warm boot?
:
: That doesn't matter.

Bummer. I'll have to look at the original data a little more
closely. I'd like to know what causes this, if possible.

Warner


------------------------------

Message: 5
Date: Sat, 20 Mar 2010 15:22:36 +0100
From: Joerg Wunsch <j...@uriah.heep.sax.de>
Subject: Re: Strange problem: if_xe only works in GENERIC kernel
To: "M. Warner Losh" <i...@bsdimp.com>
Cc: freebsd...@FreeBSD.org
Message-ID: <20100320142...@uriah.heep.sax.de>
Content-Type: text/plain; charset=us-ascii

As M. Warner Losh wrote:

> : > Does this happen on a cold boot or a warm boot?
> :
> : That doesn't matter.

> Bummer. I'll have to look at the original data a little more
> closely. I'd like to know what causes this, if possible.

OK, I could insert any printf you'd like me to. I could perhaps even
use remote KGDB on it, the machine does have a serial port that can be
used.

--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL

http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


------------------------------

Message: 6
Date: Sat, 20 Mar 2010 15:26:00 +0100
From: Joerg Wunsch <j...@uriah.heep.sax.de>
Subject: Re: Strange problem: if_xe only works in GENERIC kernel
To: "M. Warner Losh" <i...@bsdimp.com>
Cc: freebsd...@FreeBSD.org
Message-ID: <20100320142...@uriah.heep.sax.de>
Content-Type: text/plain; charset=us-ascii

As M. Warner Losh wrote:

> I'd like to know what causes this, if possible.

One more datapoint, don't know whether it's related or not.

I've got a cardbus ethernet card around (a Xircom one), which it is
normally used in a different machine. When I insert it into the
TP600, I get:

cardbus1: Unable to allocate resource to read CIS.
cardbus1: Unable to allocate resources for CIS
cardbus1: Unable to allocate resource to read CIS.
cardbus1: Unable to allocate resources for CIS
cardbus1: <network, ethernet> at device 0.0 (no driver attached)

(Loading if_dc now)

dc0: <Xircom X3201 10/100BaseTX> port 0x1000-0x107f mem 0x20000000-0x200007ff,0x20001000-0x200017ff irq 11 at device 0.0 on cardbus1
dc0: No station address in CIS!
device_attach: dc0 attach returned 6

--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL

http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


------------------------------

Message: 7
Date: 20 Mar 2010 09:36:06 -0700
From: Hice Justin <hice_j...@yahoo.co.nz>
Subject: Update: Dearest, Miss Hice Justin Yac
To: freebsd...@freebsd.org
Message-ID: <2010032016360...@hub.freebsd.org>
Content-Type: text/plain; charset=windows-1252;

The event "Dearest, Miss Hice Justin Yac" has changed.
New! = items changed by your host.


By your host Hice Justin:


Date: Saturday 20 March 2010

Time: 16:00 - 17:00 (GMT +00:00)
Street: Hi, my name is Miss Hice Justin Yac, 24years old originated from Sudan . I am fair in complexion, lovely, romantic and caring. I decided to contact you because I really wantthave a good relationship with you. My father Dr. Justin Yac Arop was the former Minister for SPLA Affairs and Special Adviser to President Salva Kiir of South Sudan for Decentralization. My father Dr
City County Postcode: Justin Yac and my mother including other top Military officers and top government officials had been on board when the plane crashed on Friday May 02, 2008.after the burial of my father, my uncle conspired and sold my father's properties to one Chinese Expatriate and lives nothing for me. One faithful morning, I opened my fathbriefcase and found out the documents which he have deposited huge amount of money inone bank in Burkina Faso with my name as the next of kin. I travelled to Burkina Faso to withdraw the money so that I can start a better life and take care of myself. On my arrivathe Branch manager of the Bank whom I met in person told me that my father's instruction to the bank was the money should be released to me only when I am married or present a trustee who will help me and invest the money overseas I have chosen to contact you after my prayers and I believe that you will not betray my trust. But rather take me as your own sister. Though
you may wonder why I am so soon revealing myself to you without knowing you, well, I will say that my mind convinced me that you are the true person to help me. More so, I will like to disclose much to you if youcan help me to relocate to your country because my uncles have threatened to assassinate me. The amount is $8.5 Million and I have confirmed from the bank in Burkina Faso
Phone: You will also help me to place the money in a more profitable businessventure in your Country.However, you will help by recommending a nice University in your country so that I can complete my studies. It is my intention to compensate you with 20% of the total money for your services and the balance shall be my capital in your establishment. As soon as I receive your interest in helping me, I will put things into action immediately. In the light of the above, I shall appreciate an urgent message indicating your ability and willingness to handle this transaction sincerely. Please do keep this only to your self. I beg you not to disclose it till I come over because I am afraid of my weaked uncles who have threatened to kill me. Sincerely yours,Hice Justin Yac

Will you attend? RSVP to this invitation at:

http://calendar.yahoo.com/hice_justin7?v=126&a1=0&iid=OhEhh%40t%40L2t0Aa82DhJ7hR%40%40vEtoameX&igid=wha5dtx%40nKlY%40ebNTx%40nQRd%40HF%40jaPn4cpGe6t7cYwv%40

Copyright © 2010 All Rights Reserved
www.yahoo.co.nz

Privacy Policy:
http://info.yahoo.com/privacy/nz/yahoo/details/

Terms of Service:
http://nz.docs.yahoo.com/info/terms


------------------------------

Message: 8
Date: 20 Mar 2010 09:39:39 -0700
From: Hice Justin <hice_j...@yahoo.co.nz>
Subject: Update: Dearest, Miss Hice Justin Yac
To: freebsd...@freebsd.org
Message-ID: <2010032016394...@hub.freebsd.org>
Content-Type: text/plain; charset=windows-1252;

The event "Dearest, Miss Hice Justin Yac" has changed.
New! = items changed by your host.


By your host Hice Justin:


Date: Saturday 20 March 2010

Time: 16:00 - 17:00 (GMT +00:00)
Street: Hi, my name is Miss Hice Justin Yac, 24years old originated from Sudan . I am fair in complexion, lovely, romantic and caring. I decided to contact you because I really wantthave a good relationship with you. My father Dr. Justin Yac Arop was the former Minister for SPLA Affairs and Special Adviser to President Salva Kiir of South Sudan for Decentralization. My father Dr
City County Postcode: Justin Yac and my mother including other top Military officers and top government officials had been on board when the plane crashed on Friday May 02, 2008.after the burial of my father, my uncle conspired and sold my father's properties to one Chinese Expatriate and lives nothing for me. One faithful morning, I opened my fathbriefcase and found out the documents which he have deposited huge amount of money inone bank in Burkina Faso with my name as the next of kin. I travelled to Burkina Faso to withdraw the money so that I can start a better life and take care of myself. On my arrivathe Branch manager of the Bank whom I met in person told me that my father's instruction to the bank was the money should be released to me only when I am married or present a trustee who will help me and invest the money overseas I have chosen to contact you after my prayers and I believe that you will not betray my trust. But rather take me as your own sister. Though
you may wonder why I am so soon revealing myself to you without knowing you, well, I will say that my mind convinced me that you are the true person to help me. More so, I will like to disclose much to you if youcan help me to relocate to your country because my uncles have threatened to assassinate me. The amount is $8.5 Million and I have confirmed from the bank in Burkina Faso
Phone: You will also help me to place the money in a more profitable businessventure in your Country.However, you will help by recommending a nice University in your country so that I can complete my studies. It is my intention to compensate you with 20% of the total money for your services and the balance shall be my capital in your establishment. As soon as I receive your interest in helping me, I will put things into action immediately. In the light of the above, I shall appreciate an urgent message indicating your ability and willingness to handle this transaction sincerely. Please do keep this only to your self. I beg you not to disclose it till I come over because I am afraid of my weaked uncles who have threatened to kill me. Sincerely yours,Hice Justin Yac

Will you attend? RSVP to this invitation at:

http://calendar.yahoo.com/hice_justin7?v=126&a1=0&iid=OhEhh%40t%40L2t0Aa82DhJ7hR%40%40vEtoameX&igid=wha5dtx%40nKlY%40ebNTx%40nQRd%40HF%40jaPn4cpGe6t7cYwv%40

Copyright © 2010 All Rights Reserved
www.yahoo.co.nz

Privacy Policy:
http://info.yahoo.com/privacy/nz/yahoo/details/

Terms of Service:
http://nz.docs.yahoo.com/info/terms


------------------------------

Message: 9
Date: 20 Mar 2010 09:43:23 -0700
From: Hice Justin <hice_j...@yahoo.co.nz>
Subject: Update: Dearest, Miss Hice Justin Yac
To: freebsd...@freebsd.org
Message-ID: <2010032016432...@hub.freebsd.org>
Content-Type: text/plain; charset=windows-1252;

The event "Dearest, Miss Hice Justin Yac" has changed.
New! = items changed by your host.


By your host Hice Justin:


Date: Saturday 20 March 2010

Time: 16:00 - 17:00 (GMT +00:00)
Street: Hi, my name is Miss Hice Justin Yac, 24years old originated from Sudan . I am fair in complexion, lovely, romantic and caring. I decided to contact you because I really wantthave a good relationship with you. My father Dr. Justin Yac Arop was the former Minister for SPLA Affairs and Special Adviser to President Salva Kiir of South Sudan for Decentralization. My father Dr
City County Postcode: Justin Yac and my mother including other top Military officers and top government officials had been on board when the plane crashed on Friday May 02, 2008.after the burial of my father, my uncle conspired and sold my father's properties to one Chinese Expatriate and lives nothing for me. One faithful morning, I opened my fathbriefcase and found out the documents which he have deposited huge amount of money inone bank in Burkina Faso with my name as the next of kin. I travelled to Burkina Faso to withdraw the money so that I can start a better life and take care of myself. On my arrivathe Branch manager of the Bank whom I met in person told me that my father's instruction to the bank was the money should be released to me only when I am married or present a trustee who will help me and invest the money overseas I have chosen to contact you after my prayers and I believe that you will not betray my trust. But rather take me as your own sister. Though
you may wonder why I am so soon revealing myself to you without knowing you, well, I will say that my mind convinced me that you are the true person to help me. More so, I will like to disclose much to you if youcan help me to relocate to your country because my uncles have threatened to assassinate me. The amount is $8.5 Million and I have confirmed from the bank in Burkina Faso
Phone: You will also help me to place the money in a more profitable businessventure in your Country.However, you will help by recommending a nice University in your country so that I can complete my studies. It is my intention to compensate you with 20% of the total money for your services and the balance shall be my capital in your establishment. As soon as I receive your interest in helping me, I will put things into action immediately. In the light of the above, I shall appreciate an urgent message indicating your ability and willingness to handle this transaction sincerely. Please do keep this only to your self. I beg you not to disclose it till I come over because I am afraid of my weaked uncles who have threatened to kill me. Sincerely yours,Hice Justin Yac

Will you attend? RSVP to this invitation at:

http://calendar.yahoo.com/hice_justin7?v=126&a1=0&iid=OhEhh%40t%40L2t0Aa82DhJ7hR%40%40vEtoameX&igid=wha5dtx%40nKlY%40ebNTx%40nQRd%40HF%40jaPn4cpGe6t7cYwv%40

Copyright © 2010 All Rights Reserved
www.yahoo.co.nz

Privacy Policy:
http://info.yahoo.com/privacy/nz/yahoo/details/

Terms of Service:
http://nz.docs.yahoo.com/info/terms


------------------------------

Message: 10
Date: 20 Mar 2010 09:46:22 -0700
From: Hice Justin <hice_j...@yahoo.co.nz>
Subject: Update: Dearest, Miss Hice Justin Yac
To: freebsd...@freebsd.org
Message-ID: <2010032016462...@hub.freebsd.org>
Content-Type: text/plain; charset=windows-1252;

The event "Dearest, Miss Hice Justin Yac" has changed.
New! = items changed by your host.


By your host Hice Justin:


Date: Saturday 20 March 2010

Time: 16:00 - 17:00 (GMT +00:00)
Street: Hi, my name is Miss Hice Justin Yac, 24years old originated from Sudan . I am fair in complexion, lovely, romantic and caring. I decided to contact you because I really wantthave a good relationship with you. My father Dr. Justin Yac Arop was the former Minister for SPLA Affairs and Special Adviser to President Salva Kiir of South Sudan for Decentralization. My father Dr
City County Postcode: Justin Yac and my mother including other top Military officers and top government officials had been on board when the plane crashed on Friday May 02, 2008.after the burial of my father, my uncle conspired and sold my father's properties to one Chinese Expatriate and lives nothing for me. One faithful morning, I opened my fathbriefcase and found out the documents which he have deposited huge amount of money inone bank in Burkina Faso with my name as the next of kin. I travelled to Burkina Faso to withdraw the money so that I can start a better life and take care of myself. On my arrivathe Branch manager of the Bank whom I met in person told me that my father's instruction to the bank was the money should be released to me only when I am married or present a trustee who will help me and invest the money overseas I have chosen to contact you after my prayers and I believe that you will not betray my trust. But rather take me as your own sister. Though
you may wonder why I am so soon revealing myself to you without knowing you, well, I will say that my mind convinced me that you are the true person to help me. More so, I will like to disclose much to you if youcan help me to relocate to your country because my uncles have threatened to assassinate me. The amount is $8.5 Million and I have confirmed from the bank in Burkina Faso
Phone: You will also help me to place the money in a more profitable businessventure in your Country.However, you will help by recommending a nice University in your country so that I can complete my studies. It is my intention to compensate you with 20% of the total money for your services and the balance shall be my capital in your establishment. As soon as I receive your interest in helping me, I will put things into action immediately. In the light of the above, I shall appreciate an urgent message indicating your ability and willingness to handle this transaction sincerely. Please do keep this only to your self. I beg you not to disclose it till I come over because I am afraid of my weaked uncles who have threatened to kill me. Sincerely yours,Hice Justin Yac

Will you attend? RSVP to this invitation at:

http://calendar.yahoo.com/hice_justin7?v=126&a1=0&iid=OhEhh%40t%40L2t0Aa82DhJ7hR%40%40vEtoameX&igid=wha5dtx%40nKlY%40ebNTx%40nQRd%40HF%40jaPn4cpGe6t7cYwv%40

Copyright © 2010 All Rights Reserved
www.yahoo.co.nz

Privacy Policy:
http://info.yahoo.com/privacy/nz/yahoo/details/

Terms of Service:
http://nz.docs.yahoo.com/info/terms


------------------------------

Message: 11
Date: Sun, 21 Mar 2010 05:03:15 +0200
From: Andriy Gapon <a...@icyb.net.ua>
Subject: Re: hardware for home use large storage
To: "Matthew D. Fuller" <full...@over-yonder.net>
Cc: freebsd...@freebsd.org
Message-ID: <4BA58C7...@icyb.net.ua>
Content-Type: text/plain; charset=ISO-8859-1

on 09/02/2010 14:53 Andriy Gapon said the following:
> on 09/02/2010 12:32 Matthew D. Fuller said the following:
>> On Tue, Feb 09, 2010 at 04:37:50PM +1030 I heard the voice of
>> Daniel O'Connor, and lo! it spake thus:
>>> Probably the result of idiotic penny pinching though :-/
>> Irritating. One of my favorite parts of AMD's amd64 chips is that I
>> no longer have to spend through the nose or be a detective (or, often,
>> both) to get ECC. So far, it seems like there are relatively few
>> hidden holes on that path, and I haven't stepped in one, but every new
>> one I hear about increases my terror of the day when there are more
>> holes than solid ground :(
>
> Yep.
> For sure, Gigabyte BIOS on this board is completely missing ECC initialization
> code. I mean not only the menus in setup, but the code that does memory
> controller programming.
> Not sure about the physical lanes though.

BTW, not 100% sure if I my test method was correct, but it seems that ECC pins
of DIMM sockets (CB0, CB1, etc) of my motherboard (GA-MA780G-UD3H) are not
connected to anywhere.
So looks like Gigabyte is saving some cents on this.


--
Andriy Gapon


------------------------------

Message: 12
Date: Sun, 21 Mar 2010 00:15:48 -0400
From: jhell <jh...@DataIX.net>
Subject: Re: Does zfs have it's own nfs server?
To: Jeremy Chadwick <fre...@jdc.parodius.com>
Cc: freebsd...@freebsd.org
Message-ID: <alpine.BSF.2.00.1...@pragry.qngnvk.ybpny>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed


On Fri, 19 Mar 2010 20:18, Jeremy Chadwick wrote:
In Message-Id: <20100320001...@icarus.home.lan>

> On Fri, Mar 19, 2010 at 07:50:24PM -0400, Charles Sprickman wrote:
>> On Fri, 19 Mar 2010, Willem Jan Withagen wrote:
>>
>>> On 17-3-2010 9:27, Matthias Gamsjager wrote:
>>>> sharenfs does work in freebsd but iscsi does not. I'm not sure about smb.
>>>>
>>>> about nfs: you should take a look at /etc/zfs/exports
>>>>
>>>>
>>>>
>>>> On Wed, Mar 17, 2010 at 9:15 AM, Harald Schmalzbauer
>>>> <h.schma...@omnilan.de> wrote:
>>>>> Hello,
>>>>>
>>>>> I observed some very strange filesystem security problems.
>>>>> Now I found that if I set sharenfs=yes data/pub I can mount_nfs but it
>>>>> does't respect any settings in /etc/exports. Also I get very strange uid
>>>>> numbers when writing.
>>>>> If I turn sharenfs off, limitations in /etc/exports work as expected.
>>>>> I thought sharenfs and sharesmb are only working on
>>>>> OpenSolaris. What about
>>>>> shareiscsi?
>>>
>>> I do not use /etc/exports for zfs shares....
>>> But instead of yes as value, you can use the NFS-options as string
>>> and that gets it into /etc/zfs/exports.
>>
>> Just wondering, is this using the base nfsd/mountd, or is there some
>> in-kernel nfs code strictly for zfs? I haven't found much info on
>> the share* options in the manpage or wiki.
>
> ZFS on FreeBSD's "sharenfs" option does nothing more than manage data in
> a flat file (/etc/zfs/exports) and automatically send a SIGHUP to
> mountd's pid (based on reading the contents of the file
> _PATH_MOUNTDPID). If you grep through /usr/src/cddl you can see what
> I'm referring to.
>
> "So how does mountd know about /etc/zfs/exports?"
>
> $ ps -auxw | grep mount
> root 861 0.0 0.0 6836 1716 ?? Is 10Mar10 0:00.00 /usr/sbin/mountd -r -l /etc/exports /etc/zfs/exports
>
> This is defined/referenced in /etc/rc.d/mountd.
>
> All that said:
>
> I avoid use of the "sharenfs" option in ZFS on RELENG_7 and RELENG_8, as
> I found certain quirks/behavioural oddities (such as mountd not picking
> up changes, or claims of not exporting something which visually
> confirmed should have been exported -- and in one case, mounting of a
> ZFS-exported NFS filesystem worked but then any I/O would block on the
> client indefinitely. Don't ask me how/why that happened). Possibly
> these were bugs that existed during ZFS's transitional phase between 7.x
> and 8.x, but the unreliable nature of the situation left a bad taste in
> my mouth. The workaround:
>
> Using /etc/exports to reference the local ZFS filesystems I want
> exported, HUP mountd, done. Above oddities/quirks no longer happened.
> And there's an added bonus: all your exports are therefore kept in one
> single place: a text file that's existed since what, 1989 or so?
>
> Of course, the advantage is that with ZFS properties you can inherit
> options -- that might be useful to some, but not to me.
>
> There's also known quirks/issues with the parsing logic with "sharenfs".
> This was discussed in December 2009.
>
>> Could you give an example of passing options that would say, limit
>> to a subnet and map root to root using the zfs sharenfs command?
>
> zfs create pool/fs
> zfs set sharenfs="-maproot=blah -network x.x.x.x -mask y.y.y.y" pool/fs
>
> Right now I'm more or less "avoiding" NFS as much as possible, as the
> number of severe/major bug reports on RELENG_8 keep coming in, and that
> scares me greatly.
>
>


There is also this:

http://www.freebsd.org/cgi/query-pr.cgi?pr=144447

Which I filed a while back that shows a bug in at least stable/7 that does
not unshare/remove shared filesystems from /etc/zfs/exports.

PJD has taken this PR and asked for a followup if this can be confirmed on
a 8.X system as he believes it is fixed there.

If someone of this thread is running a 8.X system would you please
followup to this PR with YES/NO it exists or not, and it would be greatly
appreciated.

I believe this also has a part of sending HUP to mountd but I could not
test that either on stable/7 or stable/8.

--

jhell

------------------------------

Message: 13
Date: Sun, 21 Mar 2010 00:39:01 -0400
From: jhell <jh...@DataIX.net>
Subject: Re: Fatal trap 12: page fault while in kernel mode/current
process: 12 (swi2: cambio)
To: "O. Hartmann" <ohar...@mail.zedat.fu-berlin.de>
Cc: freebsd...@freebsd.org, Matthew Fleming
<matthew...@isilon.com>
Message-ID: <alpine.BSF.2.00.1...@pragry.qngnvk.ybpny>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed


On Thu, 18 Mar 2010 17:02, O. Hartmann wrote:
In Message-Id: <4BA294F7...@mail.zedat.fu-berlin.de>

> On 03/16/10 00:04, O. Hartmann wrote:
>> On 03/15/10 18:30, Matthew Fleming wrote:
>>>> Since the last update and make world on Friday, 12th March I get a
>>> crash
>>>> on one of my FreeBSD SMP boxes (it is always the same core message),
>>>> saying something about
>>>>
>>>> Fatal trap 12: page fault while in kernel mode [...] current process:
>>> 12
>>>> (swi2: cambio)
>>>
>>> Can you show the stack traceback from the kernel core?
>>>
>>> We had a problem a while ago at Isilon that I can't tell if it's
>>> related. In our case, the camisr() routine was called after panic(9)
>>> started and before the halt of other processors. This did Bad
>>> Things(TM) since the mtx_lock is a no-op after panicstr is set.
>>>
>>> We solved it locally by wrapping camisr() in a local cambio_swi()
>>> routine that only called camisr(NULL) when panicstr == NULL.
>>>
>>> Thanks,
>>> matthew
>>
>> Hello.
>>
>> I will do as soon as possible. The box is in production at the moment
>> and I've less time to put everything into debugging to provide more
>> details.
>>
>> Just in case: does the kernel automatically save the screen with the
>> dump information? If not, I have no other terminal facility to get a
>> dump via the classical way.
>>
>> Regards,
>> Oliver
>
> Since yesterday, this problem went away! This is mystical. After deactivating
> radeon.ko and the virtual box stuff I tried again with a new build of world
> and - voila! - everything worked again. This is strange ...
>
> Oliver
>

If possible set a dump device and use the following in your rc.conf:

crashinfo_enable="YES"
dumpdev="ADD-DEVICE-HERE"

After the crash happens look for core.txt.N files in /var/crash.

You will probably want to look over the crash info and scrub it of
vital information to comply with your companies policies. It is very
verbose.

DDB as I have heard can be configured AFAIR to textdump but I have no
knowledge of that.

Good Luck,

--

jhell

------------------------------


End of freebsd-stable Digest, Vol 348, Issue 7
**********************************************

0 new messages