IPSEC crashes after r253088

2013-07-20 Thread Taku YAMAMOTO
After r253088, systems with IPSEC and KSTACK_PAGES 4 crashes on booting into multi-user mode. The crash is due to sysctl -a in /etc/rc.d/initrandom ended up with kernel stack overflow. The problem is what we have in sys/net/vnet.h: #define SYSCTL_VNET_PCPUSTAT(parent, nbr, name, type, array,

[PATCH] to fix slow gen2 Intel video (i830, i845, i85x, i865) with KMS

2013-01-25 Thread Taku YAMAMOTO
Hi all, A good news to owners of i830, i845, i852, i855 and i865 (a.k.a. gen2), who've got frustrated with the bad performance with KMS. I managed to track down the root cause of the slowness of gen2 with KMS and finally fixed it. The attached one-liner patch is the fix. (It was my surprise that

apache22 fails to start since r242184

2012-11-07 Thread Taku YAMAMOTO
Has anyone noticed this with head since r242184? % sudo service apache22 start Performing sanity check on apache22 configuration: Syntax OK Starting apache22. setfib: NO: invalid FIB (max 0) /usr/local/etc/rc.d/apache22: WARNING: failed to start apache22 I injected the following lines into

Re: FreeBSD development audio system: KLANG

2012-08-12 Thread Taku YAMAMOTO
I think it should be forwarded to -multimedia@. Other than that, it's nice to hear about! On Sun, 12 Aug 2012 13:13:56 +0200 O. Hartmann ohart...@zedat.fu-berlin.de wrote: A few days ago, I stumbled into sthis at Phoronix: http://www.phoronix.com/scan.php?page=news_itempx=MTE1NzY The above

Re: FYI: SIGBUS with world built by clang

2012-07-05 Thread Taku YAMAMOTO
On Thu, 5 Jul 2012 00:14:14 +0300 Konstantin Belousov kostik...@gmail.com wrote: On Thu, Jul 05, 2012 at 12:32:01AM +0900, Taku YAMAMOTO wrote: On Wed, 04 Jul 2012 17:08:30 +0200 Dimitry Andric d...@freebsd.org wrote: On 2012-07-04 16:33, Taku YAMAMOTO wrote: For people having

Re: FYI: SIGBUS with world built by clang

2012-07-05 Thread Taku YAMAMOTO
On Thu, 5 Jul 2012 23:11:31 +0300 Konstantin Belousov kostik...@gmail.com wrote: On Fri, Jul 06, 2012 at 04:15:18AM +0900, Taku YAMAMOTO wrote: On Thu, 5 Jul 2012 00:14:14 +0300 Konstantin Belousov kostik...@gmail.com wrote: On Thu, Jul 05, 2012 at 12:32:01AM +0900, Taku YAMAMOTO wrote

FYI: SIGBUS with world built by clang

2012-07-04 Thread Taku YAMAMOTO
For people having SIGBUS with clang-build world + gcc-build binaries, In short words, for any libraries (and never forget about rtld-elf!) which are potentially called from arbitrary binaries, compile them with either -mstackrealign or -mstack-alignment=8! The detail is as follows. I've

Re: FYI: SIGBUS with world built by clang

2012-07-04 Thread Taku YAMAMOTO
On Wed, 04 Jul 2012 17:08:30 +0200 Dimitry Andric d...@freebsd.org wrote: On 2012-07-04 16:33, Taku YAMAMOTO wrote: For people having SIGBUS with clang-build world + gcc-build binaries, In short words, for any libraries (and never forget about rtld-elf!) which are potentially called

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

2012-07-02 Thread Taku YAMAMOTO
When I built the world as of r237813, clang reported a warning which caught my attention. === sys/boot/zfs (all) clang -O2 -pipe -march=pentium4 -DBOOTPROG=\zfsloader\ -I/usr/src/sys/boot/zfs/../common -I/usr/src/sys/boot/zfs/../.. -I. -I/usr/src/sys/boot/zfs/../../../lib/libstand

Re: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do

2012-06-22 Thread Taku YAMAMOTO
On Fri, 22 Jun 2012 08:22:19 +0200 Hans Petter Selasky hsela...@c2i.net wrote: (snip) I would be more than glad to open up an office to certify USB devices for use with FreeBSD :-) My elder colleague often told me that it is the easiest and well-working way to check whether the one is

Re: Follow-up: Re: recent update breaks some ports

2012-04-12 Thread Taku YAMAMOTO
I'm glad to report that your patch fixes not only wlock-within-wlock cases but also rlock-within-wlock cases properly! On Wed, 11 Apr 2012 22:42:39 +0300 Konstantin Belousov kostik...@gmail.com wrote: On Thu, Apr 12, 2012 at 04:04:11AM +0900, Taku YAMAMOTO wrote: (snip) The following

Re: recent update breaks some ports

2012-04-11 Thread Taku YAMAMOTO
On Wed, 11 Apr 2012 15:53:38 +0300 Konstantin Belousov kostik...@gmail.com wrote: On Wed, Apr 11, 2012 at 01:34:01PM +0200, Stefan Farfeleder wrote: On Tue, Apr 10, 2012 at 08:31:53AM +0200, Stefan Farfeleder wrote: On Tue, Apr 10, 2012 at 01:44:02AM -0400, AN wrote: FreeBSD FBSD10

Follow-up: Re: recent update breaks some ports

2012-04-11 Thread Taku YAMAMOTO
The following is the first occurence of wlock-within-wlock incident when I run xfdesktop-settings under gdb. Hardware watchpoint 3: lock_place[0].count_ww Old value = 0 New value = 1 0x28f52522 in _thr_rtld_wlock_acquire (lock=0x28f63600) at /usr/src/lib/libthr/thread/thr_rtld.c:152 152

Re: Changes to sbin/init/init.c (r233944) makes x11/xdm impossible to start from /etc/ttys

2012-04-10 Thread Taku YAMAMOTO
Thanks a lot to investigate this problem so deeply. I have, maybe related, a bit strange phenomenon among xdm, too. I have a bit different setup than others: I'm using modified x11/gdm/files/gdm.in to launch xdm. The problem is, when I start xdm manually from ttyvX like this: exec sudo service

Re: [head tinderbox] failure on i386/i386

2012-03-24 Thread Taku YAMAMOTO
Suppose some bit error of memory or storage of the tinderbox machine? On Sat, 24 Mar 2012 05:41:28 GMT FreeBSD Tinderbox tinder...@freebsd.org wrote: (snip) /src/sys/dev/arcmsr/arcmsr.h:43:2: error: invalid preprocessing directive #denine 'f'(0x66) ^ 'n'(0x6e) = 0x08

Re: [Solved] FreeBSD 9-Beta3 on X300 2 problems

2011-09-28 Thread Taku YAMAMOTO
On Tue, 27 Sep 2011 13:06:21 +0100 Gavin Atkinson gavin.atkin...@ury.york.ac.uk wrote: On Tue, 2011-09-27 at 19:53 +0800, Adrian Chadd wrote: Hans, Why haven't those patches been committed? This patch is an absolute hack, and shouldn't be committed as it is. I would, however,

Re: `hw.acpi.thermal.tz0.temperature' disappeared

2011-04-19 Thread Taku YAMAMOTO
This patch works. FreeBSD 9.0-CURRENT #1: Tue Apr 19 10:52:58 MSD 2011 # sysctl hw.acpi.thermal hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.user_override: 0 hw.acpi.thermal.tz0.temperature: 67.5C hw.acpi.thermal.tz0.active: -1

Re: TTY task group scheduling

2010-11-19 Thread Taku YAMAMOTO
On Thu, 18 Nov 2010 21:30:16 +0100 O. Hartmann ohart...@mail.zedat.fu-berlin.de wrote: On 11/18/10 19:55, Lucius Windschuh wrote: 2010/11/18 Andriy Gapona...@freebsd.org: [Grouping of processes into TTY groups] Well, I think that those improvements apply only to a very specific usage

Followup: if_em.c prevents the 2nd time resuming

2010-05-15 Thread Taku YAMAMOTO
PR filed as kern/146614. http://www.freebsd.org/cgi/query-pr.cgi?pr=146614 -- -|-__ YAMAMOTO, Taku | __ t...@tackymt.homeip.net - A chicken is an egg's way of producing more eggs. - ___ freebsd-current@freebsd.org mailing list

if_em.c prevents the 2nd time resuming

2010-05-01 Thread Taku YAMAMOTO
Greetings, I found a bug in if_em.c which triggers a panic when resuming from the 2nd suspend. (sleep, wakeup, sleep and wakeup will result to a panic) It seems it has got introduced by r206001 (head) or r206211 (stable/8). I guess the following change mistakenly slipped into em_resume() which

[PATCH] fixes of tcp_hostcache.c

2003-12-01 Thread Taku YAMAMOTO
because the bug makes hostcache useless with TCPv6 and/or brings TTCP (RFC1644) meaningless. Especially the bug renders it unusable to use TCPv6 and TTCP together. # To confirm this: sysctl net.inet.tcp.rfc1644=1; telnet ::1 Best regards, Taku -- -|-__YAMAMOTO, Taku [EMAIL PROTECTED

Re: System freeze running -current

2003-01-08 Thread Taku YAMAMOTO
= (CPU_MAX_SPEED - 1) cpu_duty_offset; p_cnt = ~clk_val; p_cnt |= (speed cpu_duty_offset); Virtually yours, Taku -- YAMAMOTO, Taku [EMAIL PROTECTED] Digital circuits are made from analog parts. -- Don Vonada To Unsubscribe: send mail

Re: Melco LPC4-CLX-CB support in 5.0-Current NEWCARD

2002-01-15 Thread Taku YAMAMOTO
At Tue, 15 Jan 2002 03:08:53 -0800 (PST), Shizuka Kudo wrote: Dear all, Does anyone have tested whether this card works with current 5.0 NEWCARD? I tried it on a Thinkpad 600X with current 5.0 cvsupped yestersday and received a kernel: found-vendor=0x10ec, dev=0x8138,