Re: amd64 + wine in chroot
On Wed, 9 Nov 2005, Christoph Fassbach wrote: #x86 32 chroot /home /mnt/sda7/home nonebind0 0 /tmp/mnt/sda7/tmp nonebind0 0 /dev/mnt/sda7/dev nonebind0 0 /mnt/mnt/sda7/mnt nonebind0 0 /sys/mnt/sda7/sys nonebind0 0 /proc /mnt/sda7/proc nonebind0 0 try bind-mounting also /var/tmp, /dev/shm and /dev/pts (just as a guess, probably /dev/shm may be what you need). In general, try to produce a strace in the chroot and another one in the real 32 bit system, using exactly the same options, then compare them. If you wish, you might make available to people on the list (please, don't attach them since they will probably be quite large, just post an URL for interested people to download them!). Bye Giacomo -- _ Giacomo Mulas [EMAIL PROTECTED] _ OSSERVATORIO ASTRONOMICO DI CAGLIARI Str. 54, Loc. Poggio dei Pini * 09012 Capoterra (CA) Tel. (OAC): +39 070 71180 248 Fax : +39 070 71180 222 Tel. (UNICA): +39 070 675 4916 _ When the storms are raging around you, stay right where you are (Freddy Mercury) _ -- Il messaggio e' stato analizzato alla ricerca di virus o contenuti pericolosi da MailScanner, ed e' risultato non infetto. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: amd64 + wine in chroot
On Wed, Nov 09, 2005 at 09:53:33AM +0100, Giacomo Mulas wrote: On Wed, 9 Nov 2005, Christoph Fassbach wrote: #x86 32 chroot /home /mnt/sda7/home nonebind0 0 /tmp/mnt/sda7/tmp nonebind0 0 /dev/mnt/sda7/dev nonebind0 0 /mnt/mnt/sda7/mnt nonebind0 0 /sys/mnt/sda7/sys nonebind0 0 /proc /mnt/sda7/proc nonebind0 0 try bind-mounting also /var/tmp, /dev/shm and /dev/pts (just as a guess, probably /dev/shm may be what you need). In general, try to produce a strace in the chroot and another one in the real 32 bit system, using exactly the same options, then compare them. If you wish, you might make available to people on the list (please, don't attach them since they will probably be quite large, just post an URL for interested people to download them!). Setting /dev to rbind rather than bind takes care of /dev/shm and /dev/pts automatically. Len Sorensen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: amd64 + wine in chroot
On Wed, 9 Nov 2005, Lennart Sorensen wrote: Setting /dev to rbind rather than bind takes care of /dev/shm and /dev/pts automatically. yes, but some time ago (I did not try again) it did not write /dev/shm and /dev/pts in mtab, hence they did not get unmounted automatically, this prevented the /dev bind mount to be unmounted and so on, in the end leaving a not cleanly unmounted filesystem upon shutdown/reboot. It probably works great now, I did not try recently. bye Giacomo -- _ Giacomo Mulas [EMAIL PROTECTED] _ OSSERVATORIO ASTRONOMICO DI CAGLIARI Str. 54, Loc. Poggio dei Pini * 09012 Capoterra (CA) Tel. (OAC): +39 070 71180 248 Fax : +39 070 71180 222 Tel. (UNICA): +39 070 675 4916 _ When the storms are raging around you, stay right where you are (Freddy Mercury) _ -- Il messaggio e' stato analizzato alla ricerca di virus o contenuti pericolosi da MailScanner, ed e' risultato non infetto. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
amd64 + wine in chroot
Hi, i am using an ia32-chroot for starting wine. Some Windows programs are working, for example the Ultima-Online sphereServer, but if I try to run Ultima Online, I get an error message from the Ultima client.exe displaying Out of memory There ist not enough memory to continue execution. ... I installed the chroot to an additional partition, so I can boot into the 32-bit environment. If I do so, the Ultima client works well with wine, even if I use the same wine configuration. So I suppose, my setup of the chroot environment is invalid. I am using the following lines in my fstab to mount the partition and bind the directories I need in both (AMD64 and IA32) environments: /dev/sda7 /mnt/sda7 ext3defaults,errors=remount-ro 0 1 #x86 32 chroot /home /mnt/sda7/home nonebind0 0 /tmp/mnt/sda7/tmp nonebind0 0 /dev/mnt/sda7/dev nonebind0 0 /mnt/mnt/sda7/mnt nonebind0 0 /sys/mnt/sda7/sys nonebind0 0 /proc /mnt/sda7/proc nonebind0 0 Greetings, Christoph -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]