[PATCH] Default scrub interval to whole weeks

2011-10-27 Thread Xin LI
done on Saturday, it always happen on Saturdays. On large zpools, scrub can consume a lot of time and I/O bandwidth, and having it happen on random weekday is not a good idea. Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP

Re: [PATCH] Detect GNU/kFreeBSD in user-visible kernel headers

2011-11-16 Thread Xin LI
probably do it in a more centralized place -- otherwise in case someone imported some new code, they have to do the same defined(__FreeBSD__) || defined(__FreeBSD_kernel__)? Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP S

Re: iSCSI initiator: iscontrol cannot be stopped or killed

2011-11-28 Thread Xin LI
ul and ps -o wchan would tell you what exactly it was waiting for, just FYI. Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAEBCAAGBQJO1BXMAAoJEATO+BI/yjfBd2A

Re: PAE broken on -current, likely broken on stable/9

2011-12-05 Thread Xin Li
I'm not really expecting anything, any > longer, from the FreebSD "community". > ___ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current To > unsubscribe, send any mail to >

Re: Removal of sysinstall from HEAD and lack of a post-install configuration tool

2011-12-26 Thread Xin LI
that we care about? Perhaps make it a port instead? I personally don't use sysinstall for post-install tasks at all, but it won't hurt to have such functionality. Cheers, -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die ___

Re: SU+J systems do not fsck themselves

2011-12-27 Thread Xin LI
ser mode; - 'dd' the disk image to an image; - Boot the system normally and: - use mdconfig -a -t vnode -f on copy of the image - use journalled fsck; - use normal fsck to check if the journalled fsck did the right thing. This would rule out possible after-mount introduced chan

Re: SU+J systems do not fsck themselves

2011-12-27 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/27/11 14:36, David Thiel wrote: > On Tue, Dec 27, 2011 at 02:29:03PM -0800, Xin LI wrote: >> I'm not sure if your experiments are right here, the second log >> shows you're running it read-only, which is likely caused

Re: sysctl kern.ipc.somaxconn limit 65535 why?

2012-01-04 Thread Xin LI
d hit here is that changes the binary interface of both struct xsocket and struct socket consumers. Cheers, -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die ___ freebsd-current@freebsd.org mailing list http://lists.fr

Re: sysctl kern.ipc.somaxconn limit 65535 why?

2012-01-04 Thread Xin Li
a thousand or so is the inflection point after >> which it is better/necessary for the software to recognize and >> start doing overload mitigation then it is for the OS to blindly >> queue more requests. >> >> Put more simply, there comes a point where saying

Re: sysctl kern.ipc.somaxconn limit 65535 why?

2012-01-04 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/04/12 17:49, Chuck Swiger wrote: > Hi, Xin-- > > On Jan 4, 2012, at 5:32 PM, Xin Li wrote: >> I am personally quite convinced that FreeBSD should make such >> change though -- having more than 64K of outstanding and >

Re: Small usr.bin/Makefile patch to remove a reference to wtmpcvt

2012-01-16 Thread Xin Li
last > SUBDIR+= users > SUBDIR+= who > -SUBDIR+= wtmpcvt > .endif This was r230060 (3 days ago). Which are you using? (or did the svn->cvs exporter broke again?) Cheers, -- Xin LI https://www.delphij.net/ FreeBSD - The Power

Re: Bull Mountain (IvyBridge +) random number generator

2012-09-06 Thread Xin Li
bution for 268435456 samples is 263.17, and randomly would exceed this value 34.92 percent of the times. Arithmetic mean value of data bytes is 127.4969 (127.5 = random). Monte Carlo value for Pi is 3.141545045 (error 0.00 percent). Serial correlation coefficient is 0.17 (totally uncorrelated

Re: sysctl kern.ipc.somaxconn limit 65535 why?

2012-10-03 Thread Xin Li
tions. Accumulating 64K of pending connection request without giving them some love (e.g. accept()) means there is something wrong. Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version: Gnu

Re: sysctl kern.ipc.somaxconn limit 65535 why?

2012-10-03 Thread Xin Li
on is not to draw zigzag lines or to remodel the shopping center's building and create a large "waiting room" in order to increase the capacity of the queue, but to increase the number of cashiers or prioritize simple cases (like, if you have less than 10 items for checkout,

boot2/loader: serial port handling

2012-10-12 Thread Xin Li
logic said no, if it decides that's the only usable one. So what would be the right way to solve these issue? Cheers, -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die Index: sys/boot

Re: boot2/loader: serial port handling

2012-10-12 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 10/12/12 17:04, Garrett Cooper wrote: > On Fri, Oct 12, 2012 at 4:30 PM, Xin Li > wrote: >> Hi, >> >> We have some rather hacky quick hack at $WORK that addresses a >> problem we have found with boot2/loader and w

Re: [head tinderbox] failure on amd64/amd64

2012-10-15 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 The attached patch will hopefully fix the build... Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- iQEcBAEBCAAGBQJQfLF7AAoJEG80Jeu8UPuzblMH+wUf3f24s3Uer0

Re: watchdogd coredump

2012-11-03 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 11/3/12 3:13 PM, Garrett Cooper wrote: > On Sat, Nov 3, 2012 at 2:55 PM, Alexander Leidinger > mailto:alexan...@leidinger.net>> wrote: > > Hi, > > I updated from r239708 to r242511 and my watchdogd coredumps (and > brings down the system... we

Re: watchdogd coredump

2012-11-03 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 11/3/12 3:34 PM, Alexander Leidinger wrote: > On Sun, 4 Nov 2012 00:08:43 +0200 Konstantin Belousov > wrote: > >> Are you sure that your kernel is at r242511 ? >> >> The issue should have been fixed by r242011. > > # svnversion 242511M > > #

Re: FreeBSD services startup problems

2012-12-26 Thread Xin Li
etc/rc.d. If you make any changes to /etc/defaults/rc.conf (which you shouldn't), please migrate the change to /etc/rc.conf{.local} and discard these changes. Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP

sysctl -a causes kernel trap 12

2013-01-07 Thread Xin Li
condition but I haven't yet able to track it down... Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- iQEcBAEBCAAGBQJQ62AvAAoJEG80Jeu8UPuzW0IH/0D0PxoTIr6qdHFhzG1It1r2 HRnkCaVKzllc6a0obdHzthB

Re: sysctl -a causes kernel trap 12

2013-01-07 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 01/07/13 16:02, Konstantin Belousov wrote: > On Mon, Jan 07, 2013 at 03:54:23PM -0800, Xin Li wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> Hi, >> >> I've recently (by mid-December

Re: sysctl -a causes kernel trap 12

2013-01-07 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 1/7/13 4:21 PM, Ryan Stone wrote: > Have you tried dropping into the debugger by setting > debug.debugger_on_panic=1 instead of trying to generate a core? > You might have some success generating at least a backtrace. My setting was debugger on

Re: sysctl -a causes kernel trap 12

2013-01-07 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 1/7/13 5:33 PM, Brandon Gooch wrote: > On Mon, Jan 7, 2013 at 6:09 PM, Xin Li <mailto:delp...@delphij.net>> wrote: > > -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 > > On 01/07/13 16:02, Konstantin Belousov wrote: &g

Re: sysctl -a causes kernel trap 12

2013-01-10 Thread Xin Li
o latest svn makes the issue disappear for one day. I've hit it again today but unfortunately didn't get a successful dump and after reboot I can't reproduce it again :( Still trying... Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve!

setlocale() for base system utilities

2013-01-10 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, I just noticed that many base system utilities, like rm, cat, etc. does not do setlocale() at beginning. Is this intentional or just nobody have yet to done it? Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve

Re: setlocale() for base system utilities

2013-01-10 Thread Xin LI
On Thursday, January 10, 2013, Zhihao Yuan wrote: > On Thu, Jan 10, 2013 at 8:13 PM, Xin Li > > wrote: > > I just noticed that many base system utilities, like rm, cat, etc. > > does not do setlocale() at beginning. Is this intentional or just > > nobody have yet to d

Re: sysctl -a causes kernel trap 12

2013-01-18 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 01/18/13 12:50, Brandon Gooch wrote: > On Thu, Jan 10, 2013 at 4:25 PM, Xin Li <mailto:delp...@delphij.net>> wrote: > > -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 > > To all: this became more and more hard to

Re: [patch] remove negative socklen_t checks

2013-02-20 Thread Xin Li
s, struct socka > > if (name) { *name = NULL; - if (*namelen < 0) - > return (EINVAL); } The { } for if () is no longer needed now per style(9). By the way I wonder why there is no compiler warning for this -- or do we compile kernel without signedness warnings? Just

-CURRENT userland regression

2013-02-20 Thread Xin Li
USB issue right now and still looking for the cause) usable kernel. For now my known good combination is world 246858 with kernel 247057. I'm still trying to find out which revision have broke the stuff. Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! L

Re: -CURRENT userland regression

2013-02-20 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 02/20/13 14:25, Konstantin Belousov wrote: > On Wed, Feb 20, 2013 at 02:21:50PM -0800, Navdeep Parhar wrote: >> On 02/20/13 14:14, Xin Li wrote: >>> Hi, >>> >>> It seems that fresh -HEAD would give an unusabl

Re: -CURRENT userland regression

2013-02-20 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 02/20/13 14:37, Konstantin Belousov wrote: > On Wed, Feb 20, 2013 at 02:29:37PM -0800, Xin Li wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 >> >> On 02/20/13 14:25, Konstantin Belousov wrote: >>> On W

Re: -CURRENT userland regression

2013-02-21 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2/21/13 12:19 AM, Andriy Gapon wrote: > on 21/02/2013 01:16 Xin Li said the following: >> I think it's unlikely -- I have r247057 of sys/ which worked >> fine... >> >> userland 246957 works good by the way. >

Re: compiling libc and libthr with debugging?

2013-02-22 Thread Xin Li
nted though... Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- iQEcBAEBCgAGBQJRJ9klAAoJEG80Jeu8UPuz3iEIAKXjl4nvYpf1kp9jAV+wtsWT rNJEzzx6gr366b0NZuYJHTmIRA317Ip3VCCxgIRBhE40caLX7CHfb7NV0eTJh2Lh lcWB9mkr+LsxTHLyJ

Re: ZFS problems

2013-02-27 Thread Xin Li
he > point of no return with pool version upgrades. > > On my system, vfs.zfs.version.spa has been at 5000 since this > original change. > > Is my understanding incorrect? Or should vfs.zfs.version.spa be > incremented with major, non-backwards-compatible changes? That's i

Re: ZFS problems

2013-02-27 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 02/27/13 16:44, Glen Barber wrote: > On Wed, Feb 27, 2013 at 04:37:47PM -0800, Xin Li wrote: >>> In mid-February, zpool version was upgraded to include >>> lz4_compress. My understanding was that changing from the >&g

[PATCH] Fix build after r247570

2013-03-01 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, Marius, The attached patch fixes two places where 'count' is not properly initialized. They should be merged together when 247570 is merged. Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve!

Re: Using TMPFS for /tmp and /var/run?

2012-03-29 Thread Xin Li
r /var/run/{named,ppp,wpa_supplicant} > in /etc/mtree/BSD.var.dist? Should they be removed? No, they are populated by /etc/rc.d/var... Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version

Re: Using TMPFS for /tmp and /var/run?

2012-03-29 Thread Xin Li
and /var/run/ at this stage on FreeBSD 10.0-CURRENT/amd64? > > Any rc script that complains about an empty /var/run is buggy- it > should be assumed that it will be emptied on boot. Agreed. We may want a generic way of registering custom mtrees (or something) that creates the hierar

xzexe

2012-06-26 Thread Xin Li
a port unless people thinks it's useful. Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBCAAGBQJP6issAAoJEG80Jeu8UPuzU14H/3rI6g8FJc+fFaW88LHc5Iwr ps

[PATCH] mtree should not output size if the file is not a regular file

2013-09-09 Thread Xin Li
(indent, &offset, "size=%jd", (intmax_t)p->fts_statp->st_size); if (keys & F_TIME) Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP

Re: rcs is gone?

2013-10-07 Thread Xin Li
ient and can be easily overlooked. However, even when I use RCS pretty often, I don't think it's a good idea to keep it in base system (actually I am supportive in removing it from the base). The version shipped with base was not touched for many years and shipping it with base mak

Re: rcs is gone?

2013-10-07 Thread Xin Li
this a few years ago but figured out that OpenRCS have many incompatibilities with GNU RCS (and fails GNU RCS regression tests) so if we do it, someone has to sit down and make sure the replacement have at least equal quality. Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Pow

Re: ZFS txg implementation flaw

2013-10-28 Thread Xin Li
o`zfs_freebsd_reclaim+0x2e > kernel`VOP_RECLAIM_APV+0x78 kernel`vgonel+0x134 > kernel`vnlru_free+0x362 kernel`vnlru_proc+0x61e > kernel`fork_exit+0x11f kernel`0x80cdbfde 2490 > > I don't have user process created threads nor do fork/exit. This has nothing to do with for

Re: ZFS txg implementation flaw

2013-10-28 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 10/28/13 14:45, Slawa Olhovchenkov wrote: > On Mon, Oct 28, 2013 at 02:38:30PM -0700, Xin Li wrote: > >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 >> >> On 10/28/13 14:32, Slawa Olhovchenkov wrote: >>> O

Re: [RFC] libdispatch (aka Grand Central Dispatch) in base

2013-10-29 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 10/29/13, 7:40 PM, Julian Elischer wrote: > > > On 10/30/13, 10:33 AM, Allan Jude wrote: >> >> There is a wiki page that provides a bit of information: >> >> https://wiki.freebsd.org/GCD >> >> But it seeps the last time the port was touched w

Re: [PATCH] Haswell Kernel Mode Setting

2013-11-11 Thread Xin Li
e that do not affect other existing hardware, if it's not an explicit objection from a reviewer, I think it's Okay to just go ahead and commit the change after a reasonable timeout instead of waiting indefinitely. Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power

Re: 10-RC2 current wireless link aggregation not working correctly

2013-12-17 Thread Xin Li
an guess, I would start from making lagg(4) interface to initiate one or a few gratuitous ARP broadcast when the active port changes. Some switches could use this to kick out their (outdated) memory of where the port is. Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to S

Re: 10-RC2 current wireless link aggregation not working correctly

2013-12-17 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 12/17/13, 11:28 PM, dan_partelly wrote: > > What claims you do not "believe" ? Not important anyway. This is > engineering, so you need not believe, you need to know. Go and > replicate the bug. You will know then. I don't believe in merely doi

[PATCH RFC] Disable save-entropy in jails

2013-12-24 Thread Xin Li
exit 0 +fi + case ${entropy_dir} in [Nn][Oo]) exit 0 Cheers, -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/

Re: [PATCH RFC] Disable save-entropy in jails

2013-12-24 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 12/24/13 14:36, Paul Hoffman wrote: > On Dec 24, 2013, at 12:44 PM, Xin Li wrote: > >> I think we shouldn't save entropy inside jails, as the data is >> not going to be used by rc script (pjd@126744). If there is no

Re: [PATCH RFC] Disable save-entropy in jails

2013-12-24 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 12/24/13 15:26, Paul Hoffman wrote: > On Dec 24, 2013, at 2:53 PM, Xin Li wrote: > >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 >> >> On 12/24/13 14:36, Paul Hoffman wrote: >>> On Dec 24, 2013, at 12:44 P

Re: [head tinderbox] failure on powerpc64/powerpc

2014-01-01 Thread Xin Li
rib/opensolaris/head > -I/src/cddl/usr.bin/zinject/../../lib/libumem > -DNEED_SOLARIS_BOOLEAN -std=gnu89 -fstack-protector > -Wno-pointer-sign -Wno-unknown-pragmas -o zinject zinject.o > translate.o -lgeom -lm -lnvpair -lumem -luutil -lzfs_core -lzfs > -lzpool /obj/powerpc.powerpc6

Re: UDP Lite support

2014-02-26 Thread Xin Li
x27;t raise a red flag to me assuming this is sufficiently self contained feature as it would improve compatibility with other operating systems. Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version: GnuPG v

nvi: can't be used in the context of substitute

2014-03-02 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, It looks like the new nvi version don't accept in the context of substitute. A minimal use case would be to replace all leading 8 spaces with tabs, what one would do on older version of nvi would be: : 1,$ s/^//g Now, with nvi in Fre

Re: UDP Lite support

2014-03-02 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 3/2/14, 10:42 AM, Joe Nosay wrote: > On Thu, Feb 27, 2014 at 3:22 AM, Joe Nosay > wrote: > >> >> >> >> On Wed, Feb 26, 2014 at 11:19 PM, Xin Li >> wrote: >> > On 02/26/14 18:52, Joe No

Re: Feature Proposal: Transparent upgrade of crypt() algorithms

2014-03-07 Thread Xin Li
e idea but in general I think it's good. Speaking for adding rounds, the only problem that needs to be fixed is that the proposed patch makes it possible to create conflicting configuration (passwd_format and passwd_modular can use different hashing algorithms) and need to be fixed and polished.

Re: Feature Proposal: Transparent upgrade of crypt() algorithms

2014-03-07 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 03/07/14 14:50, A.J. Kehoe IV (Nanoman) wrote: > Xin Li wrote: >> Hi, >> >> On 03/07/14 13:52, A.J. Kehoe IV (Nanoman) wrote: >>> Allan Jude wrote: >>>> On 2014-03-07 11:13, A.J. Kehoe

Re: Feature Proposal: Transparent upgrade of crypt() algorithms

2014-03-07 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 03/07/14 15:07, John-Mark Gurney wrote: > Allan Jude wrote this message on Fri, Mar 07, 2014 at 17:53 -0500: >> On 2014-03-07 17:06, Xin Li wrote: >>> Hi, >>> >>> On 03/07/14 13:52, A.J. Kehoe IV (Nanoman) wr

processes stuck in vmo_de state

2014-03-11 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, I have recently upgraded my home storage box (Avoton based board running FreeBSD/amd64) from 10.0-RELEASE (patched with some ZFS changes) to -CURRENT. It looks like the system would easily hang when I start 'buildworld', when this happens, I sa

Re: processes stuck in vmo_de state

2014-03-13 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, It looks like there is a regression (or a regression that gets exposed by some new feature) that is related to time-keeping or timecounter, although I'm not yet familiar with the related code to tell if my conclusion was right or not. The probl

Re: [rfc] /dev/devstat permissions patch

2014-03-18 Thread Xin Li
milar change locally (except it's GID_OPERATOR and 0440) and I think your proposed change would be a sensible default. Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.

Re: svn commit: r267977 - head/bin/mv

2014-06-27 Thread Xin Li
[moving discussion to freebsd-current@] On 06/27/14 15:23, Jilles Tjoelker wrote: > On Fri, Jun 27, 2014 at 07:57:54PM +0000, Xin LI wrote: >> Author: delphij >> Date: Fri Jun 27 19:57:54 2014 >> New Revision: 267977 >> URL: http://svnweb.freebsd.org/changeset/base/26

Re: userland breakage, zfs ?

2014-07-01 Thread Xin LI
_ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org" > -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free

HEADSUP -- ZFS users

2014-07-01 Thread Xin Li
testing it right now. The fix will be committed after I have done sufficient testing, and I'll send another headsup once everything is settled. Sorry for the inconvenience and thanks for your patience. Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Li

Re: HEADSUP -- ZFS users

2014-07-01 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Should be fixed in r268116. Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQIcBAEBCgAGBQJTsyDiAAoJEJW2GBstM+nsz+kQAJQQHq6tlIhv3MrCzaEF9BWw

Re: svn commit: r267897 - in head: contrib/file contrib/file/Magdir contrib/file/doc contrib/file/m4 contrib/file/magic contrib/file/python contrib/file/src contrib/file/tests lib/libmagic usr.bin/fil

2014-07-02 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 7/2/14, 12:10 AM, Matthias Meyser wrote: > Am 26.06.2014 08:03, schrieb Xin LI: >> Author: delphij Date: Thu Jun 26 06:03:39 2014 New Revision: >> 267897 URL: http://svnweb.freebsd.org/changeset/base/267897 >> >> Lo

Re: [ZFS][PANIC] Solaris Assert/zio.c:2548

2014-07-22 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 I think this is my stupid. Feeling ashamed. Please try r268980+ and report back if it's fixed or not, thanks! Cheers, -BEGIN PGP SIGNATURE- iQIcBAEBCgAGBQJTzihjAAoJEJW2GBstM+ns2esP/3zfORqtE11QeveWI8wBzHav Pl4A3V8kgi8FHP8m33gim1yAERpqf2+Wg

Recent vt(4) broke moused when hw.vga.textmode=1

2014-08-22 Thread Xin Li
Hi, I have seen this panic via serial console, but the console is completely unusable at the time. VGA console is full of '?'. Booting single user mode, I can provoke the panic with '/etc/rc.d/moused start ums0'. === Fatal trap 12: page fault while in kernel mode cpuid = 7; apic id = 0e Fatal

Re: Recent vt(4) broke moused when hw.vga.textmode=1

2014-08-23 Thread Xin Li
On 8/23/14 12:42 AM, Jean-Sébastien Pédron wrote: > On 23.08.2014 08:38, Xin Li wrote: >> Fatal trap 12: page fault while in kernel mode > > And the crash is fixed in r270390. > > Thank you for reporting this! I have verified and r270390 have fixed the crash, thanks for th

Re: ZFS-related panic: "possible" spa->spa_errlog_lock deadlock

2014-09-07 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 9/7/14 9:02 PM, Fabian Keil wrote: > Using a kernel built from FreeBSD 11.0-CURRENT r271182 I got the > following panic yesterday: > > [...] Unread portion of the kernel message buffer: [6880] panic: > deadlkres: possible deadlock detected for 0x

Re: ZFS-related panic: "possible" spa->spa_errlog_lock deadlock

2014-09-07 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 9/7/14 11:23 PM, Fabian Keil wrote: > Xin Li wrote: > >> On 9/7/14 9:02 PM, Fabian Keil wrote: >>> Using a kernel built from FreeBSD 11.0-CURRENT r271182 I got >>> the following panic yesterday: >>>

FULL_PREEMPTION

2013-03-08 Thread Xin Li
y more) context switching, is it considered as a goal that we should support it? If so, should we enable it on -CURRENT? Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- iQEcBAEBCgAGBQJROia5AAoJEG80Jeu8UPuzv7MIAK

Re: [head tinderbox] failure on sparc64/sparc64

2013-03-24 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 3/24/13 12:20 AM, FreeBSD Tinderbox wrote: > TB --- 2013-03-24 06:26:48 - tinderbox 2.10 running on > freebsd-current.sentex.ca TB --- 2013-03-24 06:26:48 - FreeBSD > freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: > Mon Mar 26

Re: Root on zfs fails to mount: "illegal option -- L"

2013-05-06 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 5/6/13 12:56 AM, Beeblebrox wrote: > After latest world / kernel update (r250260 Sun May 5, amd64) I > cannot mount root - message is: Addditional ABI support: linux > Clearing /tmp Updating motd *Mounting late file systems:mount: > illegal optio

Re: CURRENT r250636: ZFS pool destroyed while scrubbing in action and shutdown

2013-05-15 Thread Xin Li
#x27;, i.e.: zpool import -f -F -X ASGARD00 ? Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- iQEcBAEBCgAGBQJRk8hEAAoJEG80Jeu8UPuzypYH/1rhgkdLEdEAnsvRn7K1wGi2 AWoLL7Sei7G0PbV2fFsnZ/+gc8MDsqiZ

Re: CURRENT r250636: ZFS pool destroyed while scrubbing in action and shutdown

2013-05-15 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 5/15/13 12:17 PM, O. Hartmann wrote: > On Wed, 2013-05-15 at 10:39 -0700, Xin Li wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 >> >> On 05/15/13 10:20, O. Hartmann wrote: >>> Several machines running F

Re: [PATCH] Analysis of bug in BSD patch

2013-05-23 Thread Xin Li
in_baselen = tmp; + if (tmp < min_baselen) { + > min_baselen = > tmp; +best = names[i].path; + } if ((tmp = > strlen(names[i].path)) > min_len) continue; min_len = tmp; > > Plea

Re: CURRENT: system crashing while shuting down -> files system corruption

2013-05-24 Thread Xin Li
x27; command svn: E155036: Working copy '/usr/ports' is an > old development version (format 12); to upgrade it, use a format 18 > client, then use 'tools/dev/wc-ng/bump-to-19.py', then use the > current client *** Error code 1 Have you tried 'svn upgrade

Re: [Heads up] BSD-licensed patch becoming the default RSN.

2013-07-28 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 7/27/13 8:08 AM, Pedro Giffuni wrote: > OK; On further revision ... > > On 26.07.2013 20:01, Jan Beich wrote: >> bsdpatch doesn't list files of the failed hunks with -C and -s >> option. This may be less convenient if you edit a patch directly >>

Re: Positional arguments/load command broken in boot loader; cannot load old kernel

2013-08-13 Thread Xin Li
7; without updating loader or boot block and used some new features? Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.20 (FreeBSD) iQEcBAEBCgAGBQJSCmmWAAoJEG80Jeu8UPuztf8H/3Ya4U7YVsP

Re: ZFS V28

2011-04-15 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon Meßner wrote: | On Fri, Apr 15, 2011 at 06:28:07PM +0300, George Kontostanos wrote: |> I was wondering if ZFS v28 is going to be MFC to 8-Stable or not. | | On Fri, Apr 15, 2011 at 06:28:07PM +0300, George Kontostanos wrote: |> I was wondering if

Re: Boot halts on Thinkpad X220 (Sandy Bridge)

2011-05-18 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Try this patch? (I'm still opted to disable the typematic rate detection by default at least for amd64, as we don't do it in the past for amd64) Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! Li

Re: Boot halts on Thinkpad X220 (Sandy Bridge)

2011-05-27 Thread Xin LI
On Thu, May 19, 2011 at 5:18 AM, Johannes Dieterich wrote: > On Wed, May 18, 2011 at 7:40 PM, Xin LI wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> Try this patch? >> > The attached patch makes 9-CURRENT-amd64 boot on the X220 w/o any

[RFC] 'failok' mount(8) flag

2011-06-06 Thread Xin LI
ch to implement that, I'll document it if there is no objection on the functionality itself. Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.17 (FreeBSD) iQEcBAEBCAAGBQJ

Re: Boot halts on Thinkpad X220 (Sandy Bridge)

2011-06-06 Thread Xin LI
hese days (as you pointed out). Sorry for the delay. I finally got a copy of (U)EFI spec and found the requirement of fixed entry there. Option #1 sounds like a good idea to me too (if the "BIOS" can break one rule, it can also break more). Could you please commit the change (may

[RFC] winbond watchdog driver for FreeBSD/i386 and FreeBSD/amd64

2011-06-28 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, I'd like to request for comments on the attached driver, which supports watchdogs on several Winbond super I/O chip models and have been tested on a few of recent Supermicro motherboards. Cheers, - -- Xin LI https://www.delphi

Re: buildworld failing in lib/libc/db/btree

2011-07-21 Thread Xin LI
declaration of function '__PAST_END' is invalid in C99 > [-Wimplicit-function-declaration] __PAST_END(h->linp, 1) = h->upper > -= NRINTERNAL; This is quite weird, __PAST_END is defined in sys/param.h... And it compiled just fine here, what's your hosting system? Cheers, - --

Re: buildworld failing in lib/libc/db/btree

2011-07-21 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 07/21/11 00:26, Alexander Best wrote: > On Thu Jul 21 11, Xin LI wrote: On 07/21/11 00:08, Alexander Best > wrote: >>>> hi there, >>>> >>>> for some reason buildworld always fails in lib/libc/db/btree

Re: buildworld failing in lib/libc/db/btree

2011-07-21 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 07/21/11 00:26, Alexander Best wrote: Likely, but, sys/param.h is MI, and, if you're buildworld'ing from an older world from a cleaned checkout source, it sounds like a bug to me... Cheers, - -- Xin LI https://www.delphij.ne

weekly_catman not generating the right result?

2011-07-31 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, I just noticed that weekly_catman is not generating the right result, e.g. instead of a highlight NAME, it gives 1mNAME0m (looks like the escape character is missing here). Is this a known issue? Cheers, - -- Xin LI https

Re: weekly_catman not generating the right result?

2011-07-31 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 07/31/11 05:17, Ulrich Spörlein wrote: > On Sun, 2011-07-31 at 01:22:36 -0700, Xin LI wrote: >> Hi, >> >> I just noticed that weekly_catman is not generating the right >> result, e.g. instead of a highlight NAME, it gi

Re: gptzfsboot error using HP Smart Array P410i Controller

2011-08-07 Thread Xin LI
br.s). Note that we shouldn't really pass the whole %dx here, as pmbr.s have different understanding of %dh. You may want to add a xor %dh, %dh before the store line but after the main.2 label. Please let us know if this helps or not. Thanks in advance! Cheers, - -- Xin LI ht

[CFT] Any High Points Technology RR4400 users here?

2011-08-15 Thread Xin LI
r4400.diff Thanks in advance! Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAEBCAAGBQJOSg/2AAoJEATO+BI/yjfBJzsH/05mSxH4c3UZQa3IR+/4Vo1u ex/1Y/Ez3unRDTxLdBu910xQjUu3N

Re: AW: Panic with 9.0 Beta 1 (arcmsr.c)

2011-08-28 Thread Xin LI
rent@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current To >> unsubscribe, send any mail to "freebsd-current- >> unsubscr...@freebsd.org" > > ___ > freebsd-current@freebsd.org maili

Re: truss

2011-09-09 Thread Xin LI
TMASK,0x0,0x0) = 0 (0x0) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0)

Re: cant login after make installworld: pam_opie.so.6 not found

2023-01-05 Thread Xin Li
On 2023-01-04 6:59 PM, grarpamp wrote: looks like the "make delete-old-libs" has deleted that lib pam_opie.so.6 and now I cannot pass the login prompt says the error "pam_opie.so: not found how can I get it back? I tried everything and nothing brought it back commit 0aa2700123e22c2b0a977375

Re: find(1): I18N gone wild ?

2023-04-17 Thread Xin LI
This is expected behavior (in en_US.UTF-8 the ordering is AaBb, not ABab). You might want to set LC_COLLATE to C if C behavior is desirable. On Mon, Apr 17, 2023 at 2:06 PM Poul-Henning Kamp wrote: > This surprised me: > > # mkdir /tmp/P > # cd /tmp/P > # touch FOO >

Re: MOTD is not created correctly (since 2022/02/18)

2023-05-22 Thread Xin Li
On 2023-05-22 8:18 PM, Jamie Landeg-Jones wrote: I've just finally updated to 13-stable, and can't be the first to notice this?! /etc/rc.d/motd contains the line: uname -v | sed -e 's,^\([^#]*\) #\(.* [1-2][0-9][0-9][0-9]\).*/\([^\]*\) $,\1 (\3) #\2,' Note the space before the "$" - needed be

HEADSUP: panic: running without device atpic requires a local APIC on UEFI systems after 0b01d45783c3

2023-11-20 Thread Xin Li
Hi, It seems that the recent improvements of ACPI detection (e0f3dc82727f and 0b01d45783c3) would leave the system in an unbootable state if the UEFI files are not being updated at the same time of "make installworld". At early boot the kernel would panic with: panic: running without device

<    1   2   3   >