resize_ffs hangs on needbuf

2013-08-27 Thread Emmanuel Dreyfus
Hi

I am trying to grow a FFS filesystem from 10 Go to 20 Go on NetBSDD 6.0
(i386 Xen dom0). After running fsck -fy and updating the disklabel, I run 
resize_ffs.

The command hangs, waiting on needbuf, and all the machine gets unusable
until I kill it from ddb. I understand this is no RAM shortage since it 
has 1 Go of free memory (as reported by top, which is nice enough to 
keep running during the disaster).o

needbuf is a condvar in src/sys/kern/vfs_bio.c, it guards the bufmem_valimit
limit, which MD code can set it using buf_setvalimit(). That function 
does not seem to be called by i386/x86/xen code. 

What is the way around this problem?

-- 
Emmanuel Dreyfus
m...@netbsd.org


Xorg and PCI card

2013-08-27 Thread Emmanuel Dreyfus
Hi

I tried using a PCI graphic card with Xorg without success on NetBSD/i386 
(6.0, 6.1 and -current). Xorg -configure is able to create a config file,
with the card model and PCI location correctly detected. However, 
any attempt to use it will end with a No device detected error.

I attempted to install a newer libpciaccess from pkgsrc, without succes.
I get the same result with various PCI cards, wether being ATI radeon
or Matrox. The built in AGP card works fine with X.

Any hint?


-- 
Emmanuel Dreyfus
m...@netbsd.org