Re: 8.1 amd64 lockup (maybe zfs or disk related)

2011-02-07 Thread Zaphod Beeblebrox
On Sun, Feb 6, 2011 at 11:55 PM, Jeremy Chadwick free...@jdc.parodius.com wrote: Given that you're running 8.1-RELEASE, what sort of ZFS tunings are you using in /boot/loader.conf?  Tuning is required on this version I haven't seen any new tuning recommendations. Has the tuning required on an

Re: 8.1 amd64 lockup (maybe zfs or disk related)

2011-02-07 Thread Jeremy Chadwick
On Sun, Feb 06, 2011 at 11:50:41PM -0800, Greg Bonett wrote: Thanks for the response. I have no tunings in /boot/loader.conf according to http://wiki.freebsd.org/ZFSTuningGuide for amd64 FreeBSD 7.2+ has improved kernel memory allocation strategy and no tuning may be necessary on systems with

minor data-typing error in 8.1 fs/devfs/devfs_vnops.c

2011-02-07 Thread perryh
Noticed while digging through devfs_read_f() and devfs_write_f() in the course of investigating some unexpected (by me) geom behavior: ... int ioflag, error, resid; ... resid = uio-uio_resid; ... if (uio-uio_resid != resid || ... IOW resid (an int) is being assigned from

Re: 8.1 amd64 lockup (maybe zfs or disk related)

2011-02-07 Thread Jeremy Chadwick
On Mon, Feb 07, 2011 at 02:50:42AM -0500, Zaphod Beeblebrox wrote: On Sun, Feb 6, 2011 at 11:55 PM, Jeremy Chadwick free...@jdc.parodius.com wrote: Given that you're running 8.1-RELEASE, what sort of ZFS tunings are you using in /boot/loader.conf?  Tuning is required on this version I

Re: minor data-typing error in 8.1 fs/devfs/devfs_vnops.c

2011-02-07 Thread Kostik Belousov
On Mon, Feb 07, 2011 at 12:53:14AM -0800, per...@pluto.rain.com wrote: Noticed while digging through devfs_read_f() and devfs_write_f() in the course of investigating some unexpected (by me) geom behavior: ... int ioflag, error, resid; ... resid = uio-uio_resid; ...

Re: em0 hangs without any messages like Watchdog timeout, only down/up reset it.

2011-02-07 Thread Mike Tancsa
On 2/6/2011 4:40 PM, Lev Serebryakov wrote: Hello, Freebsd-stable. It hangs under load without any output. When it works with POLLING, it prints Watchdog timeout and reset automatically several times a day, but without POLLING it simply hangs with same frequency. It is 8.2-PRERELEASE (from

Re: em0 hangs without any messages like Watchdog timeout, only down/up reset it.

2011-02-07 Thread Lev Serebryakov
Hello, Mike. You wrote 7 февраля 2011 г., 15:22:11: It hangs under load without any output. When it works with POLLING, it prints Watchdog timeout and reset automatically several times a day, but without POLLING it simply hangs with same frequency. It is 8.2-PRERELEASE (from RELENG_8),

Re: em0 hangs without any messages like Watchdog timeout, only down/up reset it.

2011-02-07 Thread Mike Tancsa
/boot/loader.conf: hw.em.rxd=4096 hw.em.txd=4096 net.link.ifqmaxlen=16384 /etc/sysctl.conf: dev.em.0.rx_int_delay=200 dev.em.0.tx_int_delay=200 dev.em.0.rx_abs_int_delay=4000 dev.em.0.tx_abs_int_delay=4000 dev.em.0.rx_processing_limit=4096 I'm trying to run with patch from em

Re: tmpfs is zero bytes (no free space), maybe a zfs bug?

2011-02-07 Thread Gleb Kurtsou
On (19/01/2011 17:27), Ivan Voras wrote: On 19 January 2011 16:02, Kostik Belousov kostik...@gmail.com wrote: http://people.freebsd.org/~ivoras/diffs/tmpfs.h.patch I don't think this is a complete solution but it's a start. If you can, try it and see if it helps. This is not a start,

Re: tmpfs is zero bytes (no free space), maybe a zfs bug?

2011-02-07 Thread Ivan Voras
On 7 February 2011 14:37, Gleb Kurtsou gleb.kurt...@gmail.com wrote: It's up to user to mount tmpfs filesystems of reasonable size to prevent resource exhaustion. Anyway, enormously large tmpfs killing all your process is not the way to go. Of course not, but as I see it (from admin

Re: tmpfs is zero bytes (no free space), maybe a zfs bug?

2011-02-07 Thread Gleb Kurtsou
On (07/02/2011 15:35), Ivan Voras wrote: On 7 February 2011 14:37, Gleb Kurtsou gleb.kurt...@gmail.com wrote: It's up to user to mount tmpfs filesystems of reasonable size to prevent resource exhaustion. Anyway, enormously large tmpfs killing all your process is not the way to go. Of

Problem building gdb with up-to-date sources

2011-02-07 Thread Richard Kuhns
Hello, I just tried to run a buildworld for RELENG_8/amd64 after a fresh csup, and I'm getting the following error: /usr/src/gnu/usr.bin/gdb/libgdb/fbsd-threads.c: In function 'fbsd_thread_get_name': /usr/src/gnu/usr.bin/gdb/libgdb/fbsd-threads.c:442: error: 'struct ptrace_lwpinfo' has no

Re: 8.1 amd64 lockup (maybe zfs or disk related)

2011-02-07 Thread Greg Bonett
Thank you for the help. I've implemented your suggested /boot/loader.conf and /etc/sysctrl.conf tunings. Unfortunately, after implementing these settings, I experienced another lockup. And by lockup I mean, nothing responding (sshd, keyboard, num lock) - had to reset. I'm trying to isolate the

Re: 8.1 amd64 lockup (maybe zfs or disk related)

2011-02-07 Thread Jeremy Chadwick
On Mon, Feb 07, 2011 at 09:34:36PM -0800, Greg Bonett wrote: Thank you for the help. I've implemented your suggested /boot/loader.conf and /etc/sysctrl.conf tunings. Unfortunately, after implementing these settings, I experienced another lockup. And by lockup I mean, nothing responding

Re: 8.1 amd64 lockup (maybe zfs or disk related)

2011-02-07 Thread Greg Bonett
ok, I will start trying to locate the cause of the problem. I've attached my dmesg output after boot. I'm currently downloading a liveCD to run memtest from. When you say rebuild your kernel with debugging enabled do you mean add the makeoptions DEBUG=-g option to my kernel config and

Re: 8.1 amd64 lockup (maybe zfs or disk related)

2011-02-07 Thread Jeremy Chadwick
On Mon, Feb 07, 2011 at 10:16:46PM -0800, Greg Bonett wrote: ok, I will start trying to locate the cause of the problem. I've attached my dmesg output after boot. I'm currently downloading a liveCD to run memtest from. When you say rebuild your kernel with debugging enabled do you mean add