Re: /boot/loader can't load kernel if too many pool/devices

2009-06-02 Thread Doug Rabson


On 1 Jun 2009, at 11:22, Henri Hennebert wrote:


Hello,

During my tests (succesful) to directly boot from ZFS (with zfsboot  
and gptzfsboot) I encounter the error can't boot 'kernel' if too  
many devices/pools are connected to the machine. In my case:


2 SAS disks with 2 pools
2 SATA disks with 2 pools
1 USB key with one pool

`heap` command:

Active Allocations: 171/173
536576 bytes reserved 527800 bytes allocated

`ls` command:

open '/' failed: too many open files

If I reboot without the USB key all is OK.

If I reboot from the USB key after disconnecting 2 disks all is OK.

By the way, the /boot/loader in 7.2-STABLE don't work, complains  
about forth not found.


The previous tests were made with 7.2-STABLE (May 31) with /boot/ 
loader from 8.0-CURRENT.


I recently increased the number of file descriptors available for / 
boot/loader. Could you rebuild and try again please. Make sure you  
rebuild libstand.a as well as /boot/loader.


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: /boot/loader can't load kernel if too many pool/devices

2009-06-02 Thread Henri Hennebert

Doug Rabson wrote:


On 1 Jun 2009, at 11:22, Henri Hennebert wrote:


Hello,

During my tests (succesful) to directly boot from ZFS (with zfsboot 
and gptzfsboot) I encounter the error can't boot 'kernel' if too 
many devices/pools are connected to the machine. In my case:


2 SAS disks with 2 pools
2 SATA disks with 2 pools
1 USB key with one pool

`heap` command:

Active Allocations: 171/173
536576 bytes reserved 527800 bytes allocated

`ls` command:

open '/' failed: too many open files

If I reboot without the USB key all is OK.

If I reboot from the USB key after disconnecting 2 disks all is OK.

By the way, the /boot/loader in 7.2-STABLE don't work, complains about 
forth not found.


The previous tests were made with 7.2-STABLE (May 31) with 
/boot/loader from 8.0-CURRENT.


I recently increased the number of file descriptors available for 
/boot/loader. Could you rebuild and try again please. Make sure you 
rebuild libstand.a as well as /boot/loader.



OK - I can boot with the USB key and 4 disks

Thanks

Henri
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


/boot/loader can't load kernel if too many pool/devices

2009-06-01 Thread Henri Hennebert

Hello,

During my tests (succesful) to directly boot from ZFS (with zfsboot and 
gptzfsboot) I encounter the error can't boot 'kernel' if too many 
devices/pools are connected to the machine. In my case:


2 SAS disks with 2 pools
2 SATA disks with 2 pools
1 USB key with one pool

`heap` command:

Active Allocations: 171/173
536576 bytes reserved 527800 bytes allocated

`ls` command:

open '/' failed: too many open files

If I reboot without the USB key all is OK.

If I reboot from the USB key after disconnecting 2 disks all is OK.

By the way, the /boot/loader in 7.2-STABLE don't work, complains about 
forth not found.


The previous tests were made with 7.2-STABLE (May 31) with /boot/loader 
from 8.0-CURRENT.


Henri
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org