Re: 10-STABLE hangups frequently

2016-02-02 Thread Peter Jeremy
On 2016-Feb-02 16:55:46 +0900, Hajimu UMEMOTO  wrote:
>I'm disturbed by a frequent hangup of my 10-STABLE boxes since this
>year.  It seems occur during running the periodic daily scripts.
>I've narrowed which commit causes this problem.  It seems r292895
>causes it.  I see many `Resource temporarily unavailable' message just
>before hangup occurs.
>Any idea?

As others have said, you need to provide lots more detail on your
configuration.

That said, I'm seeing something potentially similar on a Google
Compute Engine f1-micro instance (1 vCPU, 0.6GB RAM) that is running
FreeBSD 10-stable/amd64 with ZFS but basically idle.  (Yes, I realize
that's very little RAM for ZFS but I previously had no problems with
things like buildworld).

There were no problems at r290231 but after I upgraded to r295005, I
started seeing "out of swap" errors and hangs during the periodic
daily runs.  I'm not seeing this on 1GB instances - though they are
all running UFS.

Some experimentation suggested that just "find /" was enough to wedge
my system.  I did some experimenting and found that the following
loader config was enough to prevent it hanging:
vfs.zfs.arc_max="128M"
vfs.zfs.arc_meta_limit="50M"
vfs.zfs.arc_min="25M"
(previously, I had no ZFS tuning at all).

One odditity was that I would semi-regularly see:
 kernel: pid 67431 (ntpd), uid 0, was killed: out of swap space
I haven't worked out why the OOM killer preferred ntpd to anything else -
it didn't seem to be bigger.  And I didn't see any signs that swap space
was being consumed (though I haven't done a scientific examination).
(Note that swap is on a raw partition).

The behaviour is definitely a regression and my initial suspicion is ZFS,
though I haven't identified any smoking gun.

Unfortunately, GCE only offers read access to the console, so I can't
use DDB to poke around after it wedges.

-- 
Peter Jeremy


signature.asc
Description: PGP signature


Re: LSI SAS 3108 RAID Controller

2016-02-02 Thread Mike Tancsa
On 2/2/2016 12:06 PM, Zara Kanaeva wrote:
> Dear list,
> 
> I have one Fujitsu server with LSI SAS 3108 RAID Controller. These LSI
> SAS 3108 RAID Controller is supported by the mpr driver

Try and attach the mrsas driver to the card. I had a similar problem
with an onboard variant.  Either compile the kernel without the mfi
driver, or force the kernel to assign the mrsas driver to it instead of
the mfi driver.
hw.mfi.mrsas_enable=1
in /boot/loader.conf

# pciconf -lv mrsas0
mrsas0@pci0:1:0:0:  class=0x010400 card=0x080915d9 chip=0x005d1000
rev=0x02 hdr=0x00
vendor = 'LSI Logic / Symbios Logic'
device = 'MegaRAID SAS-3 3108 [Invader]'
class  = mass storage
subclass   = RAID


---Mike

-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: 10-STABLE hangups frequently

2016-02-02 Thread Thierry Thomas
Le mar  2 fév 16 à  8:55:46 +0100, Hajimu UMEMOTO 
 écrivait :

> Hi,

Hello,

> I'm disturbed by a frequent hangup of my 10-STABLE boxes since this
> year.  It seems occur during running the periodic daily scripts.
> I've narrowed which commit causes this problem.  It seems r292895
> causes it.  I see many `Resource temporarily unavailable' message just
> before hangup occurs.
> Any idea?

Not exactly the same problem, but it is also occuring during periodic
daily:


and also:


I'm also experiencing problems during daily periodic on a -STABLE box,
but no kernel panics: the machine is frozen, and no login is possible, I
have to hard reboot it.

For the time being, I have commented out almost every entry in
periodic.conf, and I'm trying to find the culprit.

Regards,
-- 
Th. Thomas.


pgpJKEAbsjWn8.pgp
Description: PGP signature


Re: 82576 + NETMAP + VLAN

2016-02-02 Thread Slawa Olhovchenkov
On Thu, Oct 22, 2015 at 11:24:53AM -0700, Luigi Rizzo wrote:

> On Thu, Oct 22, 2015 at 11:12 AM, Adrian Chadd  wrote:
> > On 22 October 2015 at 09:35, Slawa Olhovchenkov  wrote:
> >> On Sun, Oct 18, 2015 at 07:45:52PM -0700, Adrian Chadd wrote:
> >>
> >>> Heh, file a bug with luigi; it should be defined better inside netmap 
> >>> itself.
> >>
> >> I am CC: luigi.
> >>
> >> Next question: do kevent RX/TX sync?
> >> In my setup I am need to manual NIOCTXSYNC/NIOCRXSYNC.
> >
> > Hi,
> >
> > Nope. kqueue() doesn't do the implicit sync like poll() does; it's
> > just the notification path.
> 
> actually not. When the file descriptor is registered there
> is an implicit sync, and there is another one when an event
> is posted for the file descriptor.
> 
> unless there are bugs, of course.

I found strange behaivor:

1. open netmap and register in main thread
2. kevent register in different thread
3. result: got event by kevent but no ring sinc (all head,tail,cur
still 0).

Is this normal? Or is this bug?

open and registering netmap in same thread as kevent resolve this.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Sanity check: FreeBSD 9.3 binaries on FreeBSD 9.1?

2016-02-02 Thread Alan Amesbury
First off  Yes, I know 9.1-RELEASE is deprecated.  I want to run something 
newer, but circumstances require I can't for now.

Traditionally in FreeBSD -STABLE (as in 9-STABLE) referred to the APIs as being 
stable, i.e., stuff compiled within the same major release would generally run 
on versions within that release... or so I recall.  I have an instance where I 
have a need to run 9.1-RELEASE, but my package building infrastructure is all 
centered around 9.3-RELEASE or later.  Based on my (possibly incorrect) 
understanding of How Things Are[tm], I think packages built for 9.3-RELEASE 
will generally run on 9.1-RELEASE.  Does this sound generally correct, or am I 
totally off base here?  Any major pitfalls I should know of?


-- 
Alan Amesbury
University Information Security
http://umn.edu/lookup/amesbury

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


Re: Sanity check: FreeBSD 9.3 binaries on FreeBSD 9.1?

2016-02-02 Thread Alfred Perlstein



On 2/2/16 2:09 PM, Alan Amesbury wrote:

First off  Yes, I know 9.1-RELEASE is deprecated.  I want to run something 
newer, but circumstances require I can't for now.

Traditionally in FreeBSD -STABLE (as in 9-STABLE) referred to the APIs as being 
stable, i.e., stuff compiled within the same major release would generally run 
on versions within that release... or so I recall.  I have an instance where I 
have a need to run 9.1-RELEASE, but my package building infrastructure is all 
centered around 9.3-RELEASE or later.  Based on my (possibly incorrect) 
understanding of How Things Are[tm], I think packages built for 9.3-RELEASE 
will generally run on 9.1-RELEASE.  Does this sound generally correct, or am I 
totally off base here?  Any major pitfalls I should know of?



It's possible they may work, but that is not guaranteed.

Packages built on 9.1 should work on 9.3.

Packages built on 9.3 may work on 9.1, but that would only be by chance.

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


restore zfs pool using original devices?

2016-02-02 Thread Ruben van Staveren
Hi list,

Recently I decided to grow my zfs pool from 1TB to 6TB by replacing my 1TB dell 
rebranded toshiba disk with an
HGST Deskstar NAS 6 TB one. system was running 10.2

to make things easier, I decided to do a zpool replace on both the unencrypted 
boot and encrypted (as per 
https://www.dan.me.uk/blog/2012/05/06/full-disk-encryption-with-zfs-root-for-freebsd-9-x/)
 system pool

zpool replace system gpt/boot diskid/DISK-NAHRVZDXp2
zpool replace system gpt/system.eli diskid/DISK-NAHRVZDXp3.eli

The system ran fine for a while until I rebooted it:

https://ruben.is.verweg.com/stuff/IMG_5734.jpg

a panic during mounting root

panic: solaris assert: nvlist_lookup_uint64(configs[i], ZPOOL_CONFIG_POOL_TXG, 
) == 0: file 
src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c:4040

I tried to recover diskid/DISK-NAHRVZDXp2 by creating a new boot pool on a 
rescue nanobsd image, so I could recover the encryption keys. No I didn’t make 
an off system backup of those with zpool create -R /path/to/temp/root-for-boot 
zboot /dev/diskid/DISK-NAHRVZDXp2.

first it complained the disk was part of the original boot pool, so I used -f. 
upon inspection I found the disk to be empty, so it looks like that action 
destroyed some important metadata. should it do that actually?

I wanted to restore that data so I used dd if=/dev/gpt/boot 
of=/dev/diskid/DISK-NAHRVZDXp2 bs=64k but the contents is not restored.
a cat of /dev/gpt/boot show various data is still there, but not seen anymore 
by zfs.

given zfs replace actually involves a temporarily mirror in where the old vdev 
is removed, it should be pretty much possible to re attach this vdev to any 
pool to see its contents again ?

what are my chances to create a functional new pool using old devices?

Best Regards,
Ruben



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: 10-STABLE hangups frequently

2016-02-02 Thread Hajimu UMEMOTO
Hi,

> On Wed, 3 Feb 2016 07:07:38 +1100
> Peter Jeremy  said:

peter> As others have said, you need to provide lots more detail on your
peter> configuration.

CPU: AMD Athlon(tm) 64 Processor 3500+
Memory: 4GB
HDD: 3TB

I'm using ZFS only setup.

peter> There were no problems at r290231 but after I upgraded to r295005, I
peter> started seeing "out of swap" errors and hangs during the periodic
peter> daily runs.  I'm not seeing this on 1GB instances - though they are
peter> all running UFS.

r292875 runs well:

FreeBSD asuka.mahoroba.org 10.2-STABLEFreeBSD 10.2-STABLE #5 r292875: Tue Feb  
2 07:08:29 JST 2016 r...@asuka.mahoroba.org:/usr/obj/usr/src/sys/ASUKA  amd6

r292895 hangs:

FreeBSD asuka.mahoroba.org 10.2-STABLE FreeBSD 10.2-STABLE #6 r292895: Tue Feb  
2 10:17:28 JST 2016 r...@asuka.mahoroba.org:/usr/obj/usr/src/sys/ASUKA  amd64

I tried latest stable (r295137) with the sys/kern/vfs_subr.c part of
r292895 reverted, and it seems running well, here:

FreeBSD asuka.mahoroba.org 10.3-PRERELEASE FreeBSD 10.3-PRERELEASE #0 r295137M: 
Tue Feb  2 20:39:11 JST 2016 
r...@asuka.mahoroba.org:/usr/obj/usr/src/sys/ASUKA  amd64

peter> Some experimentation suggested that just "find /" was enough to wedge
peter> my system.  I did some experimenting and found that the following
peter> loader config was enough to prevent it hanging:
peter> vfs.zfs.arc_max="128M"
peter> vfs.zfs.arc_meta_limit="50M"
peter> vfs.zfs.arc_min="25M"
peter> (previously, I had no ZFS tuning at all).

I had ZFS tuning before.  However, after this problem was occur, I
removed all of ZFS tuning.
The FS related setting is only kern.maxvnodes=40, now.

Sincerely,

--
Hajimu UMEMOTO
u...@mahoroba.org  u...@freebsd.org
http://www.mahoroba.org/~ume/
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: 10-STABLE hangups frequently

2016-02-02 Thread Shane Ambler

On 03/02/2016 05:09, Thierry Thomas wrote:

Le mar  2 fév 16 à  8:55:46 +0100, Hajimu UMEMOTO 
  écrivait :


Hi,


Hello,


I'm disturbed by a frequent hangup of my 10-STABLE boxes since this
year.  It seems occur during running the periodic daily scripts.
I've narrowed which commit causes this problem.  It seems r292895
causes it.  I see many `Resource temporarily unavailable' message just
before hangup occurs.
Any idea?


Not exactly the same problem, but it is also occuring during periodic
daily:


and also:


I'm also experiencing problems during daily periodic on a -STABLE box,
but no kernel panics: the machine is frozen, and no login is possible, I
have to hard reboot it.

For the time being, I have commented out almost every entry in
periodic.conf, and I'm trying to find the culprit.

Regards,



Any chance you get high wired allocations?

Sometimes several times in a day I see the wired amount shown in top
rise to over 6GB (of 8GB) bringing the system to a crawl. When wired
gets over 7GB the system rarely recovers.

I am now running 10.2-STABLE r292646 on corei7 with 8GB and ZFS FS
This is my everyday desktop running xfce and a variety of gui apps.

I use a small script to allocate several GB of ram that gives the
pressure needed to start releasing some wired, provided I can get in
early enough.

Not sure how to gather any helpful info for this.

--
FreeBSD - the place to B...Software Developing

Shane Ambler

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

Re: 10-STABLE hangups frequently

2016-02-02 Thread Steven Hartland

Some more information about your enviroment would be helpful:
1. What revision of stable/10 are you running?
2. What workloads are you running?
3. What's the output of procstat -k -k when this happens (assuming its 
possible to run)?
4. What's the output of sysctl -a |grep vnode, usually and when this 
happens?


Regards
Steve

On 02/02/2016 07:55, Hajimu UMEMOTO wrote:

Hi,

I'm disturbed by a frequent hangup of my 10-STABLE boxes since this
year.  It seems occur during running the periodic daily scripts.
I've narrowed which commit causes this problem.  It seems r292895
causes it.  I see many `Resource temporarily unavailable' message just
before hangup occurs.
Any idea?

Sincerely,

--
Hajimu UMEMOTO
u...@mahoroba.org  u...@freebsd.org
http://www.mahoroba.org/~ume/
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


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


Re: possible em regression (was Re: svn commit: r294958 - in stable/10: share/man/man4 sys/dev/e1000 sys/dev/ixgb sys/dev/netmap)

2016-02-02 Thread Mike Tancsa
On 1/30/2016 12:26 PM, Marius Strobl wrote:
> On Sat, Jan 30, 2016 at 11:47:19AM -0500, Mike Tancsa wrote:
>> On 1/29/2016 8:23 PM, Marius Strobl wrote:
>>> On Fri, Jan 29, 2016 at 03:41:57PM -0500, Mike Tancsa wrote:

 No multi queue. Stock GENERIC kernel with a couple of things removed.
 hw.em are just the defaults. I will try without TSO

 % ifconfig em0
 em0: flags=8843 metric 0 mtu 1500

 options=4209b

>>>
>>> Hrm, that's strange, TSO4 should be enabled by default so apparently
>>> you are already disabling it; what is the behavior if you turn it on?
>>> Do you use a < Gigabit link?
>>
>> Hi Marius,
>>  Thanks for looking. The ifconfig output was after I turned off tso as
>> Harry suggested to try.  Its been 24hrs and I have not seen any resets.
>>  I will wait another 36hrs or so and then turn it back on to see if the
>> problem comes back.
>>
>> this link is 100Mb.
> 
> Ah, okay, that at least makes sense. Can you please verify that with
> the attached patch applied, you have a setup that works out of the
> box?

Hi,
Should the nic come up with TSO disabled by default ? After reboot, I 
see


# ifconfig em0
em0: flags=8843 metric 0 mtu 1500

options=4219b
ether 00:30:48:9c:59:f0

---Mike


-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: 10-STABLE hangups frequently

2016-02-02 Thread Hajimu UMEMOTO
Hi,

> On Tue, 2 Feb 2016 08:54:17 +
> Steven Hartland  said:

killing> Some more information about your enviroment would be helpful:
killing> 1. What revision of stable/10 are you running?

It occurs on r292895 and later.

killing> 2. What workloads are you running?

Apache, Cyrus IMAPd, BIND and mpd5.  However, traffic is almost
nothing without running the periodic daily scripts.

killing> 3. What's the output of procstat -k -k when this happens (assuming its
killing> possible to run)?

I could not get it.

killing> 4. What's the output of sysctl -a |grep vnode, usually and when this
killing> happens?

The following is usual case:

kern.maxvnodes: 40
kern.minvnodes: 10
Syncing disks, vnodes remaining...0 0 0 0 0 done
Syncing disks, vnodes remaining...0 0 0 0 0 0 done
vm.stats.vm.v_vnodepgsout: 129
vm.stats.vm.v_vnodepgsin: 836656
vm.stats.vm.v_vnodeout: 101
vm.stats.vm.v_vnodein: 90562
vfs.freevnodes: 39680
vfs.wantfreevnodes: 10
vfs.vnodes_created: 141735
vfs.numvnodes: 59118
debug.sizeof.vnode: 472

Sincerely,

--
Hajimu UMEMOTO
u...@mahoroba.org  u...@freebsd.org
http://www.mahoroba.org/~ume/
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: 10-STABLE hangups frequently

2016-02-02 Thread Henrik Lidström
Just want to chip in that I also experience the same issue. This is my 
home firewall running squid/unbound/isc-bind/isc-dhcpd/pf/zfs.

Have a couple of tmpfs and NFSv4 mounts.
Was about to order new hardware since I thought it might be failing, 
lol. Haven't had time to hook up a monitor/console, but generate some 
load on the machine after a day or so of uptime and it feels as IO has 
just stuck and a reboot is necessery. Actually managed to update it 
yesterday, after a pre-reboot procedure.


I have noticed vfs.numvnodes constanly rising to maxvnodes, so I bump 
that a bit.


# uname -a
FreeBSD brand.henriklidstrom.se 10.3-PRERELEASE FreeBSD 10.3-PRERELEASE 
#15 r295126M: Mon Feb  1 22:16:50 CET 2016 
r...@brand.henriklidstrom.se:/usr/obj/usr/src/sys/BRAND  amd64

# sysctl -a | grep vnodes
kern.maxvnodes: 30
kern.minvnodes: 75000
vfs.freevnodes: 226235
vfs.wantfreevnodes: 75000
vfs.vnodes_created: 1129810
vfs.numvnodes: 250043
# fstat -m | wc -l
2740
#

/Henrik


On 02/02/16 09:54, Steven Hartland wrote:

Some more information about your enviroment would be helpful:
1. What revision of stable/10 are you running?
2. What workloads are you running?
3. What's the output of procstat -k -k when this happens (assuming its 
possible to run)?
4. What's the output of sysctl -a |grep vnode, usually and when this 
happens?


Regards
Steve

On 02/02/2016 07:55, Hajimu UMEMOTO wrote:

Hi,

I'm disturbed by a frequent hangup of my 10-STABLE boxes since this
year.  It seems occur during running the periodic daily scripts.
I've narrowed which commit causes this problem.  It seems r292895
causes it.  I see many `Resource temporarily unavailable' message just
before hangup occurs.
Any idea?

Sincerely,

--
Hajimu UMEMOTO
u...@mahoroba.org  u...@freebsd.org
http://www.mahoroba.org/~ume/
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to 
"freebsd-stable-unsubscr...@freebsd.org"


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


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


LSI SAS 3108 RAID Controller

2016-02-02 Thread Zara Kanaeva

Dear list,

I have one Fujitsu server with LSI SAS 3108 RAID Controller. These LSI  
SAS 3108 RAID Controller is supported by the mpr driver  
(https://www.freebsd.org/relnotes/CURRENT/hardware/support.html).
If I try to install the FreeBSD-stable 10.0 or FreeBSD-current 11.0 on  
this server I can make partitions, but I can not write install files  
on the disks (better to say RAID5 virtual drive) without errors.

The erorrs are:
mfi0 failed to get command
mfi0: COMMAND ... TIMEOUT AFTER  ... SECONDS

By the installations I see my virtual drive as device with mfi0 as identifier.

My questions are:
1) Why I see the virtual drive as device with mfi0 as identifier. I  
would expect that my virtual drive has identifier mpr0 or something  
like this.
2) Why I can install FreeBSD on one of the disks connected to LSI SAS  
3108 RAID Controller, if the disks do not build any virtual drive (no  
matter which RAID level). Is that possible because mpr driver supports  
the LSI SAS 3108 RAID Controller as SCSI Controller and not as RAID  
Controller (see Kernel configuration)?


Thanks in advance, Z. Kanaeva.

--
Dipl.-Inf. Zara Kanaeva
Heidelberger Akademie der Wissenschaften
Forschungsstelle "The role of culture in early expansions of humans"
an der Universität Tübingen
Geographisches Institut
Universität Tübingen
Ruemelinstr. 19-23
72070 Tuebingen

Tel.: +49-(0)7071-2972132
e-mail: zara.kana...@geographie.uni-tuebingen.de
---
- Theory is when you know something but it doesn't work.
- Practice is when something works but you don't know why.
- Usually we combine theory and practice:
Nothing works and we don't know why.

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

Re: LSI SAS 3108 RAID Controller

2016-02-02 Thread Steven Hartland

Try adding this to /boot/loader.conf:
hw.mfi.mrsas_enable="1"

Regards
Steve

On 02/02/2016 17:06, Zara Kanaeva wrote:

Dear list,

I have one Fujitsu server with LSI SAS 3108 RAID Controller. These LSI 
SAS 3108 RAID Controller is supported by the mpr driver 
(https://www.freebsd.org/relnotes/CURRENT/hardware/support.html).
If I try to install the FreeBSD-stable 10.0 or FreeBSD-current 11.0 on 
this server I can make partitions, but I can not write install files 
on the disks (better to say RAID5 virtual drive) without errors.

The erorrs are:
mfi0 failed to get command
mfi0: COMMAND ... TIMEOUT AFTER  ... SECONDS

By the installations I see my virtual drive as device with mfi0 as 
identifier.


My questions are:
1) Why I see the virtual drive as device with mfi0 as identifier. I 
would expect that my virtual drive has identifier mpr0 or something 
like this.
2) Why I can install FreeBSD on one of the disks connected to LSI SAS 
3108 RAID Controller, if the disks do not build any virtual drive (no 
matter which RAID level). Is that possible because mpr driver supports 
the LSI SAS 3108 RAID Controller as SCSI Controller and not as RAID 
Controller (see Kernel configuration)?


Thanks in advance, Z. Kanaeva.



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


Re: 10-STABLE hangups frequently

2016-02-02 Thread Konstantin Belousov
On Tue, Feb 02, 2016 at 06:28:58PM +0900, Hajimu UMEMOTO wrote:
> Hi,
> 
> > On Tue, 2 Feb 2016 08:54:17 +
> > Steven Hartland  said:
> 
> killing> Some more information about your enviroment would be helpful:
> killing> 1. What revision of stable/10 are you running?
> 
> It occurs on r292895 and later.
> 
> killing> 2. What workloads are you running?
> 
> Apache, Cyrus IMAPd, BIND and mpd5.  However, traffic is almost
> nothing without running the periodic daily scripts.
> 
> killing> 3. What's the output of procstat -k -k when this happens (assuming 
> its
> killing> possible to run)?
> 
> I could not get it.
> 
> killing> 4. What's the output of sysctl -a |grep vnode, usually and when this
> killing> happens?
> 
> The following is usual case:
> 
> kern.maxvnodes: 40
> kern.minvnodes: 10
> Syncing disks, vnodes remaining...0 0 0 0 0 done
> Syncing disks, vnodes remaining...0 0 0 0 0 0 done
> vm.stats.vm.v_vnodepgsout: 129
> vm.stats.vm.v_vnodepgsin: 836656
> vm.stats.vm.v_vnodeout: 101
> vm.stats.vm.v_vnodein: 90562
> vfs.freevnodes: 39680
> vfs.wantfreevnodes: 10
> vfs.vnodes_created: 141735
> vfs.numvnodes: 59118
> debug.sizeof.vnode: 472

Please gather the information listed at
https://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-deadlocks.html
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: 10-STABLE hangups frequently

2016-02-02 Thread Konstantin Belousov
On Tue, Feb 02, 2016 at 02:33:27PM +0100, Henrik Lidstr??m wrote:
> Just want to chip in that I also experience the same issue. This is my 
The same ?  So did you diagnosed the problem and can explain, from the
evidence provided by you and Hajimu, what is the cause and why the
issues are the same ?

> home firewall running squid/unbound/isc-bind/isc-dhcpd/pf/zfs.
> Have a couple of tmpfs and NFSv4 mounts.
> Was about to order new hardware since I thought it might be failing, 
> lol. Haven't had time to hook up a monitor/console, but generate some 
> load on the machine after a day or so of uptime and it feels as IO has 
> just stuck and a reboot is necessery. Actually managed to update it 
> yesterday, after a pre-reboot procedure.
> 
> I have noticed vfs.numvnodes constanly rising to maxvnodes, so I bump 
> that a bit.
This is how the things are supposed to work.

> 
> # uname -a
> FreeBSD brand.henriklidstrom.se 10.3-PRERELEASE FreeBSD 10.3-PRERELEASE 
> #15 r295126M: Mon Feb  1 22:16:50 CET 2016 
> r...@brand.henriklidstrom.se:/usr/obj/usr/src/sys/BRAND  amd64
> # sysctl -a | grep vnodes
> kern.maxvnodes: 30
> kern.minvnodes: 75000
> vfs.freevnodes: 226235
> vfs.wantfreevnodes: 75000
> vfs.vnodes_created: 1129810
> vfs.numvnodes: 250043
> # fstat -m | wc -l
>  2740
> #
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"