pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

emulators/suse100_base on NetBSD-5/amd64 broken?



Hi,

I recently started to use amd64 on some new machines, and had problems with the emulators/suse100_base + suse100_compat packages. The reason for using these are for our NetBackup client software... I has worked fine on i386 for years, but now, then using amd64 is fails...

# uname -a
NetBSD localhost.localdomain 5.0_RC4 NetBSD 5.0_RC4 (GENERIC) #0: Wed Apr 15 00:11:21 UTC 2009 builds%b6.netbsd.org@localhost:/home/builds/ab/ netbsd-5-0-RC4/amd64/200904142015Z-obj/home/builds/ab/netbsd-5-0-RC4/ src/sys/arch/amd64/compile/GENERIC amd64

# pkg_info | grep suse
suse_base-10.0nb5   Linux compatibility package
suse_compat-10.0nb3 Linux compatibility package with old shared libraries

# sysctl emul.linux.kern.osrelease
emul.linux.kern.osrelease: 2.4.18

# chroot /emul/linux /bin/bash
bash-3.00# ls
Segmentation fault (core dumped)
bash-3.00# exit

I spoke with manu%netbsd.org@localhost, who wrote the LINUX_COMPAT/amd64,
and he said that I should use emul.linux.kern.osrelease = 2.6.11 or later for Linux/amd64 libc to load.
(btw. I can't find that documented either...)

So I gave that a try as well...

# sysctl -w emul.linux.kern.osrelease=2.6.11
emul.linux.kern.osrelease: 2.4.18 -> 2.6.11

# chroot /emul/linux /bin/bash
[1]   Segmentation fault (core dumped) chroot /emul/linux /bin/bash

And that seemed to perform even worse...

Anybody else seen this problem?
Can't find a PR describing this, so if no one has any other opinion, I'll file a PR.

I'm now using emulators/suse100_32_base + suse100_32_compat, which works fine under amd64.

/P


Home | Main Index | Thread Index | Old Index