Re: Time to kill fdc ?

2013-02-10 Thread Andriy Gapon
carry less than a 10% risk of a panic. > > Unless somebody fixes the fdc driver to work in -current, I intend > to dust of my axe and cut it from the tree later this spring. Is this an overreaction or just a wrong kind of reaction? :-) -- Andriy Gapon _

Re: geli(8) breaks after a couple hours of uptime

2013-02-10 Thread Andriy Gapon
on 10/02/2013 17:44 Pawel Jakub Dawidek said the following: > On Sun, Feb 10, 2013 at 09:50:58AM +0200, Andriy Gapon wrote: >> on 10/02/2013 01:35 Pawel Jakub Dawidek said the following: >>> geli(8) almost exclusively deals with sensitive data. Even mlocking >>> MAXP

Re: geli(8) breaks after a couple hours of uptime

2013-02-09 Thread Andriy Gapon
than 128kB, so there shouldn't be any > issue with this. I think that PAGE_SIZE (or at most a small multiple of it) should be sufficient. I don't think that we currently have (or expect to see in the near future) algorithms where keys with more than 4096 size provide any additional security

Re: geli(8) breaks after a couple hours of uptime

2013-02-09 Thread Andriy Gapon
r from malloc(), print > some useful message and prevent segfault. I'd rather do what Kostik suggested and Fabian mentioned: instead of mlockall(MCL_FUTURE) the code should mlock only the (explicitly designated) buffers that can contain sensitive data. -- Andriy Gapon ___

Re: geli(8) breaks after a couple hours of uptime

2013-02-09 Thread Andriy Gapon
ess of memorylocked. OTOH, we have kern.maxprocperuid. -- Andriy Gapon ___ 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"

Re: geli(8) breaks after a couple hours of uptime

2013-02-08 Thread Andriy Gapon
geli a bit painful, this should work > out of the box. I have some, IMO, better suggestions: - use -c option with sudo - tune your system for your needs - [major] abolish the silliness of tying resource limits to login class and apply resource limits based on user and group

Re: panic: LK_RETRY set with incompatible flags

2013-02-07 Thread Andriy Gapon
nough with the patch to commit it, you are more than welcome to do so. > > Thanks everyone for your help in resolving this, rick Committed. Thank you very much! -- Andriy Gapon ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.

call suspend_cpus() under smp_ipi_mtx

2013-02-07 Thread Andriy Gapon
cpuset_t map) { + mtx_assert(&smp_ipi_mtx, MA_OWNED); return (generic_stop_cpus(map, IPI_SUSPEND)); } #endif -- Andriy Gapon ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubs

Re: panic: LK_RETRY set with incompatible flags

2013-02-07 Thread Andriy Gapon
ze=4096 st_blocks=3 > st_flags=0 Hmm, this looks more consistent with the earlier patch. Are you sure that you really tested the new kernel (on the server)? -- Andriy Gapon ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailma

Re: panic: LK_RETRY set with incompatible flags

2013-02-07 Thread Andriy Gapon
ET is mostly used by filesystem drivers internally. And ZFS doesn't seem to do that. The only external user appears to be NFS. -- Andriy Gapon ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-cu

Re: panic: LK_RETRY set with incompatible flags

2013-02-07 Thread Andriy Gapon
on 07/02/2013 04:13 Rick Macklem said the following: > Andriy Gapon wrote: >> on 06/02/2013 17:15 Rick Macklem said the following: >>> Well, zfs_vget() returns EOPNOTSUPP for .zfs, so the NFS server >>> knows to >>> switch over to using VOP_LOOKUP(). If the .zf

Re: panic: LK_RETRY set with incompatible flags

2013-02-06 Thread Andriy Gapon
, right, but again this is done only for .zfs and .zfs/snapshot. .zfs/shares is not special-cased and thus is problematic here too in the same fashion as zfs_fhtovp. -- Andriy Gapon ___ freebsd-current@freebsd.org mailing list http://lists.freebsd

Re: panic: LK_RETRY set with incompatible flags

2013-02-06 Thread Andriy Gapon
shares vnode in that case (instead of a regular zfs vnode). Additionally, I am not sure, but perhaps zfs_vget() should do the same kind of tricks as zfs_fhtovp. -- Andriy Gapon ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/

Re: panic: LK_RETRY set with incompatible flags

2013-02-04 Thread Andriy Gapon
vc_program() at nfssvc_program+0x482/frame 0xff848e6c0a00 > svc_run_internal() at svc_run_internal+0x1e9/frame 0xff848e6c0ba0 > svc_thread_start() at svc_thread_start+0xb/frame 0xff848e6c0bb0 > fork_exit() at fork_exit+0x84/frame 0xff848e6c0bf0 > fork_trampoline()

detect mwait capabilities and extensions

2013-02-03 Thread Andriy Gapon
efinecpu_setstack(td, ap)((td)->td_frame->tf_rsp = (ap)) #definecpu_spinwait() ia32_pause() -- Andriy Gapon ___ 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"

Re: panic: LK_RETRY set with incompatible flags

2013-02-03 Thread Andriy Gapon
n't seem likely, but??? > > Maybe Sergey could try the change to line#1451 and see if the panic > still happens. If not, that would suggest possibility #1, I think. If the kernel is configured with witness, then it should be easy to check where the exclusive lock was taken (file a

Re: scheduler->swapper, SI_SUB_RUN_SCHEDULER->SI_SUB_LAST

2013-02-03 Thread Andriy Gapon
on 02/02/2013 16:50 Konstantin Belousov said the following: > On Sat, Feb 02, 2013 at 01:50:40PM +0200, Andriy Gapon wrote: >> >> I would like to propose the following mostly cosmetic change: >> http://people.freebsd.org/~avg/scheduler-swapper.diff >> >> This is

scheduler->swapper, SI_SUB_RUN_SCHEDULER->SI_SUB_LAST

2013-02-02 Thread Andriy Gapon
SI_SUB_RUN_SCHEDULER:SI_ORDER_LAST is a "hidden gem". -- Andriy Gapon ___ 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"

Re: some questions on kern_linker and pre-loaded modules

2013-02-02 Thread Andriy Gapon
I plan to write a larger response to your complete followup. Thank you. -- Andriy Gapon ___ 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"

Re: panic: LK_RETRY set with incompatible flags

2013-01-31 Thread Andriy Gapon
= 0x7fffd488, rbp = 0x7fffd730 > --- > > db> show lockedvnods > Locked vnodes > > 0xfe02e21b11d8: tag zfs, type VDIR > usecount 4, writecount 0, refcount 4 mountedhere 0 > flags (VI_ACTIVE) > v_object 0xfe02d9f2eb40 ref 0 pages 0 >

Re: acpi resume related patch

2013-01-28 Thread Andriy Gapon
on 28/01/2013 15:24 Pawel Jakub Dawidek said the following: > On Mon, Jan 28, 2013 at 03:07:59PM +0200, Andriy Gapon wrote: >> on 28/01/2013 14:45 Pawel Jakub Dawidek said the following: >>> FYI, it doesn't change anything for me. Resume seems to work, but >>&

Re: acpi resume related patch

2013-01-28 Thread Andriy Gapon
on 28/01/2013 14:45 Pawel Jakub Dawidek said the following: > FYI, it doesn't change anything for me. Resume seems to work, but > suspend just reset my laptop. Sorry, I am a little confused by this description. How can you know that resume works if suspend resets the machine? -- A

Re: acpi resume related patch

2013-01-28 Thread Andriy Gapon
on 28/01/2013 04:52 Glen Barber said the following: > On Fri, Jan 25, 2013 at 10:43:33AM +0200, Andriy Gapon wrote: >> >> If you have ACPI suspend/resume working, if it used to work but stopped >> working >> at some time, if it never worked, but you are still hoping, c

Re: acpi resume related patch

2013-01-26 Thread Andriy Gapon
on 25/01/2013 18:08 Andriy Gapon said the following: > on 25/01/2013 15:51 John Baldwin said the following: >> On Friday, January 25, 2013 3:43:33 am Andriy Gapon wrote: >>> >>> If you have ACPI suspend/resume working, if it used to work but stopped >>> w

some questions on kern_linker and pre-loaded modules

2013-01-26 Thread Andriy Gapon
this issue. I've just tried a plug the ZFS hole for now. commit ed8b18f2d6c4d1be915bff94cdec0c51a479529f Author: Andriy Gapon Date: Wed Dec 19 23:29:23 2012 +0200 [bugfix] zfs: add MODULE_VERSION for zfsctrl This should allow the kernel linker to easily detect a situation whe

Re: acpi resume related patch

2013-01-25 Thread Andriy Gapon
on 25/01/2013 15:51 John Baldwin said the following: > On Friday, January 25, 2013 3:43:33 am Andriy Gapon wrote: >> >> If you have ACPI suspend/resume working, if it used to work but stopped >> working >> at some time, if it never worked, but you are still hoping, c

Re: My panic in amd64/pmap

2013-01-25 Thread Andriy Gapon
> > I've added freebsd-fs to the cc list. > > I have vmcore's from them all. Can you try to reproduce the issue using the same VM image but in a different VM implementation? E.g. qemu... -- Andriy Gapon ___ freebsd-current@f

acpi resume related patch

2013-01-25 Thread Andriy Gapon
If you have ACPI suspend/resume working, if it used to work but stopped working at some time, if it never worked, but you are still hoping, could you please test the following patch and report back? http://svn.freebsd.by/files/acpi-apic-wakeup-final.patch -- Andriy Gapon

Re: ACPI panic on unplugging the power cord.

2013-01-24 Thread Andriy Gapon
ems :-) http://people.freebsd.org/~avg/acpi-uma-cache.diff What do you think? -- Andriy Gapon ___ 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"

disk "flipped" - a known problem?

2013-01-20 Thread Andriy Gapon
ually never used / touched at all (few hours after reboot and completely idle system). -- Andriy Gapon ___ 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"

Re: My panic in amd64/pmap

2013-01-18 Thread Andriy Gapon
174567 ? It should be applied to src/recompiler/target-i386/translate.c, make sure that it goes to a section marked as 'case 0x1b8: /* SSE4.2 popcnt */'. -- Andriy Gapon ___ freebsd-current@freebsd.org mailing list http://lists.f

Re: panic: solaris assert: sa.sa_magic == 0x2F505A

2013-01-17 Thread Andriy Gapon
on 17/01/2013 19:52 Sergey V. Dyatko said the following: > On Thu, 17 Jan 2013 19:46:06 +0200 > Andriy Gapon wrote: > >> on 17/01/2013 19:02 Sergey V. Dyatko said the following: >>> Hi, >>> >>> today I got panic on my laptop, running head, amd64 r245462.

Re: panic: solaris assert: sa.sa_magic == 0x2F505A

2013-01-17 Thread Andriy Gapon
; http://svn.freebsd.by/files/core20130117.txt Do you have a real core file (vmcore*)? > Konstantin, I added you to CC because you was last touched > zfs_vfsops.c, I'm sorry if I was wrong :) > -- Andriy Gapon ___ freebsd-current@freebsd.org ma

Re: Reboot by reloading kernel (reboot without reset hardware)

2013-01-16 Thread Andriy Gapon
e are any plan for implement it? Please see the following thread which includes a patch: http://thread.gmane.org/gmane.os.freebsd.current/145897/focus=145899 -- Andriy Gapon ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/

Re: compiler info in kernel identification string

2012-12-23 Thread Andriy Gapon
on 15/11/2012 22:43 Andriy Gapon said the following: > on 14/11/2012 01:43 Mateusz Guzik said the following: >> Hello, >> >> avg@ suggested to include compiler version in the kernel so that it's >> present in uname (and one can easly tell what was used to compi

Re: [HEADSUP] zfs root pool mounting

2012-12-23 Thread Andriy Gapon
uld be able to boot from any pool from which you can boot now unless you have the condition described in the original message. -- Andriy Gapon ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubsc

Re: [HEADSUP] zfs root pool mounting

2012-12-23 Thread Andriy Gapon
I am glad that you could resolve this. One of those things that look obvious only after discovered. -- Andriy Gapon ___ 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"

Re: Fatal trap 1

2012-12-22 Thread Andriy Gapon
fault before the KASSERT is reached (modulo reordering)? -- Andriy Gapon ___ 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"

double fault [Was: clang compiled kernel panic when mounting zfs root on i386]

2012-12-22 Thread Andriy Gapon
ain full debug information to answer your question. -- Andriy Gapon ___ 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"

Fatal trap 1 [Was: "Memory modified after free" - by whom?]

2012-12-22 Thread Andriy Gapon
0xff8496fff4d0 > cngrab() at cngrab+0x35/frame 0xff8496fff4f0 > kdb_trap() at kdb_trap+0x124/frame 0xff8496fff550 > trap_fatal() at trap_fatal+0x345/frame 0xff8496fff5b0 > trap() at trap+0x836/frame 0xff8496fff7c0 > calltrap() at calltrap+0x8/frame 0xff8496fff7c0 >

Re: clang compiled kernel panic when mounting zfs root on i386

2012-12-17 Thread Andriy Gapon
on 17/12/2012 14:57 Volodymyr Kostyrko said the following: > 13.12.2012 12:25, Andriy Gapon: >> on 12/12/2012 21:35 Dimitry Andric said the following: >>> Especially the recursive spa_load and traverse_visitbp calls are scary, >>> because that can grow out of hand ve

Re: [RFC/RFT] calloutng

2012-12-16 Thread Andriy Gapon
f the cluster peeps and seeing if > they'll run this up on the ref10* boxes and VMs, just to get some > further exposure? -- Andriy Gapon ___ 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"

Re: Reproduceable hang

2012-12-14 Thread Andriy Gapon
s not always work. compat6x does not affect internal kernel interfaces. So I suggest that you stick to some stable branch and use modules compiled for that branch if you want to keep using the binary modules. -- Andriy Gapon ___ freebsd-current@freebsd

Re: Reproduceable hang

2012-12-14 Thread Andriy Gapon
ules/freebsd/vmmemctl/os.c of /usr/ports/emulators/open-vm-tools port), the object lock is correctly acquired there. I suspect some binary incompatibility between the module and your kernel. Try to recompile the module again using the same source tree tree and the option. > 2012/12/13 Andriy

Re: [HEADSUP] zfs root pool mounting

2012-12-13 Thread Andriy Gapon
of > resembling it not being set properly. bootfs property should not better. Multi-pool configurations has been tested before the commit. -- Andriy Gapon ___ 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"

Re: [HEADSUP] zfs root pool mounting

2012-12-13 Thread Andriy Gapon
y git branch is a lightly modified version of FreeBSD, but > doesn't contain any ZFS specific changes (I can point you to it if you > like to look at it). > Would appreciate some pointers on what to do next. Try to get a working environment (using livecd, another disk, backups, etc), try to follow the original instructions. -- Andriy Gapon ___ 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"

Re: Reproduceable hang

2012-12-13 Thread Andriy Gapon
trace) if required. >> >> > > > If someone didn't get attachment - here's link to screenshot > > https://www.box.com/s/fir8ntjc4rjq5xv0vbyl Looks like either a bug or an "out-of-sync" issue in whatever

Re: clang compiled kernel panic when mounting zfs root on i386

2012-12-13 Thread Andriy Gapon
expected. traverse_visitbp is also expected to recurse depending on data layout. So yeah, it's probably even trickier than teaching clang to allocate smaller stack frames ;-) -- Andriy Gapon ___ freebsd-current@freebsd.org mailing list http://lists.freeb

Re: [HEADSUP] zfs root pool mounting

2012-12-01 Thread Andriy Gapon
uld be automatically > imported and file systems mounted. You can have disks in your system with > ZFS pools that should not be auto-imported and zpool.cache is the way to > tell the difference. -- Andriy Gapon ___ freebsd-current@freebsd.org

Re: A suspicious warning in sys/boot/zfs/zfsimpl.c

2012-12-01 Thread Andriy Gapon
s >> warning is false-positive or not. > > I'm seeing the same warnings trying to build HEAD r242903 with > clang on amd64. Andriy CCed. I believe that there is no actual problem there. -- Andriy Gapon ___ 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"

Re: Panic on shutdown, r243674M

2012-11-30 Thread Andriy Gapon
ys/kern/sched_ule.c:2665 > #21 0x808524d4 in fork_exit ( > callout=0x808a5e20 , arg=0x0, > frame=0xff800025eac0) > at /home/emaste/src/head-ro/sys/kern/kern_fork.c:995 > #22 0x80be76de in fork_trampoline () at /tmp

Re: LK_SHARED/LK_DOWNGRADE adjustments to lock.9 manual page

2012-11-29 Thread Andriy Gapon
on 16/11/2012 16:42 Andriy Gapon said the following: > on 15/11/2012 23:44 Attilio Rao said the following: >> Do you think you can test this patch?: >> http://www.freebsd.org/~attilio/lockmgr_forcerec.patch > > I will use this patch in my tree, but I think that it is effecti

[HEADSUP] zfs root pool mounting

2012-11-28 Thread Andriy Gapon
partitions). If this command reports at least one valid ZFS label for a disk or a partition that do not belong to any current pool, then the problem may affect you. The best course is to remove the offending labels. If you are affected, please follow up to this email. -- An

Re: panic: vm_object_madvise: page 0xfffffe0413c58630 is fictitious

2012-11-27 Thread Andriy Gapon
by e.g. going to frame 13 and examining *td and *td->td_proc. -- Andriy Gapon ___ 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"

Re: current sluggish under load in the last few weeks

2012-11-22 Thread Andriy Gapon
ointer will take > it's time responding. Didn't do that a few weeks back. Wondering if it's > just me? -- Andriy Gapon ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-curren

Re: problem booting to multi-vdev root pool

2012-11-21 Thread Andriy Gapon
INE 0 0 0 > > errors: No known data errors > > # uname -a > FreeBSD opensolaris.technica-03.local 10.0-CURRENT FreeBSD > 10.0-CURRENT #6 r243278M: Wed Nov 21 09:28:51 EET 2012 > root@opensolaris.technica-03.local:/usr/obj/usr/src/sys/SMP64

Re: problem booting to multi-vdev root pool

2012-11-20 Thread Andriy Gapon
on 20/11/2012 17:06 Andriy Gapon said the following: > on 20/11/2012 16:59 Andrei Lavreniyuk said the following: >>>> Sorry to make you jump through so many hoops. >>>> Now that I see that the probed config is entirely correct, the problem >>>> appears to &

Re: problem booting to multi-vdev root pool

2012-11-20 Thread Andriy Gapon
iff > > > At mount system trap and reboot. > Unexpected. Can you catch the backtrace of the panic? If you have it on the screen. -- Andriy Gapon ___ 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"

Re: problem booting to multi-vdev root pool

2012-11-20 Thread Andriy Gapon
on 20/11/2012 15:56 Andriy Gapon said the following: > on 20/11/2012 15:34 Andrei Lavreniyuk said the following: >>> What about the " "un-ifdef" the DEBUG sections of it" part? >> >> >> http://tor.reactor-xg.kiev.ua/files/zfs/20121120_0

Re: problem booting to multi-vdev root pool

2012-11-20 Thread Andriy Gapon
roperly use spa_version in this context because spa_ubsync is not initialized yet. Let me think about how to fix this. -- Andriy Gapon ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscr

Re: problem booting to multi-vdev root pool

2012-11-20 Thread Andriy Gapon
>> it >> and try again? >> http://people.freebsd.org/~avg/spa_generate_rootconf.debug.diff > > > I use spa_generate_rootconf.debug.diff. What about the " "un-ifdef" the DEBUG sections of it" part? > make kernel && reboot > > No new

Re: problem booting to multi-vdev root pool

2012-11-20 Thread Andriy Gapon
why... Could you please apply the following patch, "un-ifdef" the DEBUG sections of it and try again? http://people.freebsd.org/~avg/spa_generate_rootconf.debug.diff -- Andriy Gapon ___ freebsd-current@freebsd.org mailing list http://lis

Re: problem booting to multi-vdev root pool

2012-11-20 Thread Andriy Gapon
om zfs:zsolar failed with error 45 Are there any other unusual messages before this line? Could you please try adding vfs.zfs.debug=1 to loader.conf and check again? Could you also provide 'zdb -CC zsolar' output and 'zdb -l /dev/gpt/diskX' for each of the disks. These could

Re: problem booting to multi-vdev root pool

2012-11-19 Thread Andriy Gapon
on 19/11/2012 17:07 Guido Falsi said the following: > On 11/19/12 14:00, Andriy Gapon wrote: >> on 18/11/2012 13:48 Andriy Gapon said the following: >>> on 18/11/2012 02:26 Bartosz Stec said the following: >>> >>> Thank you both very much for testing! >>

Re: problem booting to multi-vdev root pool

2012-11-19 Thread Andriy Gapon
on 18/11/2012 13:48 Andriy Gapon said the following: > on 18/11/2012 02:26 Bartosz Stec said the following: >> W dniu 2012-11-16 17:17, Guido Falsi pisze: >>> On 11/16/12 16:45, Andriy Gapon wrote: >>>> Guido, Bartosz, >>>> could you please test the patc

Re: problem booting to multi-vdev root pool

2012-11-18 Thread Andriy Gapon
on 18/11/2012 02:26 Bartosz Stec said the following: > W dniu 2012-11-16 17:17, Guido Falsi pisze: >> On 11/16/12 16:45, Andriy Gapon wrote: >>> Guido, Bartosz, >>> could you please test the patch? >> >> I have just compiler an r242910 kernel with th

Re: problem booting to multi-vdev root pool [Was: kern/150503: [zfs] ZFS disks are UNAVAIL and corrupted after reboot]

2012-11-16 Thread Andriy Gapon
ct, and therefore ok to update? Yes. The problem occurs only if your pool has multiple vdevs _immediately_ under root. -- Andriy Gapon ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubs

problem booting to multi-vdev root pool [Was: kern/150503: [zfs] ZFS disks are UNAVAIL and corrupted after reboot]

2012-11-16 Thread Andriy Gapon
t the patch? Apologies for the breakage. -- Andriy Gapon ___ 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"

Re: LK_SHARED/LK_DOWNGRADE adjustments to lock.9 manual page

2012-11-16 Thread Andriy Gapon
on 15/11/2012 23:44 Attilio Rao said the following: > Do you think you can test this patch?: > http://www.freebsd.org/~attilio/lockmgr_forcerec.patch I will use this patch in my tree, but I think that it is effectively already quite well tested by using INVARIANTS+WITNESS. -- Andriy

Re: compiler info in kernel identification string

2012-11-16 Thread Andriy Gapon
t >> compiler was used there. > today it's clang vs. gcc -- transition time --, but again it's only part of > the story, > and soon it will only be noise. Different kernel toolchains are here to stay. And it's not just clang vs gcc, but also different toolchains for embedded world, etc. -- Andriy Gapon ___ 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"

Re: compiler info in kernel identification string

2012-11-16 Thread Andriy Gapon
[cc list trimmed] on 16/11/2012 12:43 Erik Cederstrand said the following: > Den 16/11/2012 kl. 11.18 skrev Andriy Gapon : > >> This is starting to turn into a bikeshed, but anyway... >> >> on 16/11/2012 12:00 Daniel Braniss said the following: >>> the questio

Re: compiler info in kernel identification string

2012-11-16 Thread Andriy Gapon
ediately know what compiler was used there. > IMHO, the only meaningfull information added to uname was the svn/git(and > hopefully hg) rev. version. -- Andriy Gapon ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/

Re: compiler info in kernel identification string

2012-11-16 Thread Andriy Gapon
on 16/11/2012 11:20 Erik Cederstrand said the following: > Den 16/11/2012 kl. 08.34 skrev Andriy Gapon : > >> on 16/11/2012 01:09 Dimitry Andric said the following: >>> And as I remarked in another reply, now that I have thought about it a >>> bit, I would much rat

Re: compiler info in kernel identification string

2012-11-15 Thread Andriy Gapon
ers would be confused! I would still like to have at least compiler's "base name" or type or something in uname. -- Andriy Gapon ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To un

Re: compiler info in kernel identification string

2012-11-15 Thread Andriy Gapon
pt should definitely make use of $CC. Thank you for pointing this out. -- Andriy Gapon ___ 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"

Re: compiler info in kernel identification string

2012-11-15 Thread Andriy Gapon
no strong opinions on format, I just want this information easly > accessible. -- Andriy Gapon ___ 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"

Re: LK_SHARED/LK_DOWNGRADE adjustments to lock.9 manual page

2012-11-15 Thread Andriy Gapon
on 15/11/2012 20:46 Attilio Rao said the following: > On 11/15/12, Andriy Gapon wrote: >> >> To people knowing the code, >> >> do the following documentation changes look correct? > > The latter chunk is not correct. > It will panic only if assertions are

LK_SHARED/LK_DOWNGRADE adjustments to lock.9 manual page

2012-11-15 Thread Andriy Gapon
this call fails, the shared lock is lost. -- Andriy Gapon ___ 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"

Re: Recent CURRENT - Mounting from zfs:zroot failed with error 22.

2012-11-15 Thread Andriy Gapon
-strict-aliasing >BUILD_OPTIMIZED=YES >WITH_OPENSSL=YES >WITH_XCHARSET=all >WITH_CHARSET=utf8 >WITH_COLLATION=utf8_general_ci >.endif > >.if ${.CURDIR:M*/usr/src/*} || ${.CURDIR:M*/usr/obj/*} > >CFLAGS=-O2 -pipe -fno-strict-aliasing &

Re: Anybody willing to test out kload?

2012-11-15 Thread Andriy Gapon
; What is really would like to find out is which drivers do not shutdown > their chips correctly and thus cause stray interrupts on the kload boot. -- Andriy Gapon ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/fre

Re: Supermicro X8DT6 crashes in bootloader after r239066

2012-11-14 Thread Andriy Gapon
pad[64]; > }; Navdeep, I've committed a different antidote for this BIOS bug as r243025. Could you please that it works for you too? -- Andriy Gapon ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-c

Re: gptzfsboot error using HP Smart Array P410i Controller

2012-11-14 Thread Andriy Gapon
Guys, if you still have the hardware and use FreeBSD, could you please try r243025? http://svnweb.freebsd.org/base?view=revision&revision=243025 -- Andriy Gapon ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/list

Re: Compile FreeBSD kernel with gcc48

2012-11-11 Thread Andriy Gapon
on 11/11/2012 14:09 Garrett Cooper said the following: > On Sun, Nov 11, 2012 at 4:07 AM, Andriy Gapon <mailto:a...@freebsd.org>> wrote: > > on 11/11/2012 12:26 Garrett Cooper said the following: > > On Sun, Nov 11, 2012 at 1:59 AM, Alie Tan <mailto:a.

Re: Compile FreeBSD kernel with gcc48

2012-11-11 Thread Andriy Gapon
6 AS= /usr/local/bin/as LD= /usr/local/bin/ld NO_WERROR=yes WERROR= CWARNFLAGS= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ -Wno-pointer-sign -D__FreeBSD_cc_ver

Re: [head tinderbox] failure on amd64/amd64

2012-11-08 Thread Andriy Gapon
ve been done before the switch to make the transition smoother. -- Andriy Gapon ___ 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"

Re: sysutils/lsof Author Question (for CLANG)....

2012-11-08 Thread Andriy Gapon
on 08/11/2012 16:26 Chuck Burns said the following: > Honestly, if you do not like the way lsof does things, I am indifferent, just noticed the discussion. > I'm sure patches are welcome.. They are welcome all over the place. And beyond. -- A

Re: sysutils/lsof Author Question (for CLANG)....

2012-11-08 Thread Andriy Gapon
/sockstat/etc use? Those base utilities do not seem to experience as much trouble as lsof. BTW, it is still beyond me why VOP_WRITE could be of any interest to userland code even for such a utility as lsof. -- Andriy Gapon ___ 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"

Re: Reboot during startup with recent head

2012-11-08 Thread Andriy Gapon
.se/upload/head-reboots.mov > > Any ideas? Any specific revision I should try to back out? > Rather wild guess - try to back out the recent SMEP commit. -- Andriy Gapon ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/m

Re: ULE patch, call for testers

2012-11-05 Thread Andriy Gapon
* priority. @@ -2001,6 +2016,7 @@ sched_wakeup(struct thread *td) sched_interact_update(td); sched_pctcpu_update(ts, 0); } +#endif /* Reset the slice value after we sleep. */ ts->ts_slice = sched_slice; sched_add(td, SRQ_BORING); -- Andriy Gapon

Re: Dtrace: Module is no longer loaded

2012-10-29 Thread Andriy Gapon
NFS_ROOT > > options BOOTP > options BOOTP_NFSROOT > options BOOTP_NFSV3 > options BOOTP_WIRED_TO=arge0 > options BOOTP_COMPAT > options ROOTDEVNAME=\"nfs:172.16.1.101:/usr/ob

Re: ranlib: warning: elf_strptr failed: Invalid argument

2012-10-24 Thread Andriy Gapon
on 20/10/2012 20:39 Garrett Cooper said the following: > On Sat, Oct 20, 2012 at 3:26 AM, Andriy Gapon wrote: [snip] >> main.o: In function `usage': >> main.c:(.text+0x17): undefined reference to `arg_printusage' >> main.o: In function `main': >> m

Re: ZFS cache devs UNAVAIL

2012-10-23 Thread Andriy Gapon
on 23/10/2012 23:08 Andriy Gapon said the following: > on 23/10/2012 20:56 Michael Schmiedgen said the following: >> FreeBSD 10.0-CURRENT #0: Tue Oct 23 00:14:32 CEST 2012 >> root@gizeh.smoke:/usr/obj/usr/src/sys/GIZEH amd64 > ... >> vdev_geom_open_by_path:519[1]: gu

Re: ZFS cache devs UNAVAIL

2012-10-23 Thread Andriy Gapon
you for this valuable information. Do you have a rough estimate of when you started to experience this issue? Could you please also provide output of the following command captured right after a reboot and then after you re-add the cache disks? $ zdb -lll /dev/ada0p --

Re: ZFS cache devs UNAVAIL

2012-10-23 Thread Andriy Gapon
part of another pool. Maybe it's related to something giving up after > assigning one partition from the drive to zpool somewhere? Though in > your case it's p2 that's working and p1 that's wandered off, so maybe > that's not it...

ranlib: warning: elf_strptr failed: Invalid argument

2012-10-20 Thread Andriy Gapon
): undefined reference to `getarg' Ruuning nm on libroken.a gives: nm: getarg.o: File format not recognized Any ideas? -- Andriy Gapon ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscr

Re: A little question about safe mode

2012-10-18 Thread Andriy Gapon
on 18/10/2012 18:33 Andriy Gapon said the following: > on 18/10/2012 18:20 Andriy Gapon said the following: >> My guess is that the easiest way to avoid this ambiguity and the confusion >> that it >> causes (like the problem you described above) is to prepend "/dev/"

Re: A little question about safe mode

2012-10-18 Thread Andriy Gapon
on 18/10/2012 18:20 Andriy Gapon said the following: > My guess is that the easiest way to avoid this ambiguity and the confusion > that it > causes (like the problem you described above) is to prepend "/dev/", if it's > missing, right in vfs_mountroot.c before calli

Re: A little question about safe mode

2012-10-18 Thread Andriy Gapon
on 18/10/2012 16:50 Alexander Yerenkow said the following: > > > 2012/10/18 Andriy Gapon mailto:a...@freebsd.org>> > > on 18/10/2012 12:11 Alexander Yerenkow said the following: > > 2012/10/18 Andriy Gapon mailto:a...@freebsd.org> > <mailto:a...@

Re: A little question about safe mode

2012-10-18 Thread Andriy Gapon
on 18/10/2012 12:11 Alexander Yerenkow said the following: > 2012/10/18 Andriy Gapon mailto:a...@freebsd.org>> > > > First, I see "safe mode" mentioned in the subject, but nowhere in the > body of > the message? So, what's up with the safe mode

Re: A little question about safe mode

2012-10-18 Thread Andriy Gapon
on 18/10/2012 12:11 Alexander Yerenkow said the following: > > > 2012/10/18 Andriy Gapon mailto:a...@freebsd.org>> > > > First, I see "safe mode" mentioned in the subject, but nowhere in the > body of > the message? So, what's up with

<    1   2   3   4   5   6   7   8   9   10   >