Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 459672 - net-misc/openssh doesn't work properly on x32
Summary: net-misc/openssh doesn't work properly on x32
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Blocks: x32
  Show dependency tree
Reported: 2013-02-28 07:53 UTC by Priit Laes (IRC: plaes)
Modified: 2015-07-06 13:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

net-misc/openssh-6.1_p1-r1-build.log (build.log,205.99 KB, text/plain)
2013-02-28 07:53 UTC, Priit Laes (IRC: plaes)

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2013-02-28 07:53:15 UTC
Created attachment 340456 [details]

net-misc/openssh builds, but at least server part does not work properly under x32 profile and tests fail too.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-02-28 13:59:58 UTC
Please post your `emerge --info' output in a comment.
Comment 2 Priit Laes (IRC: plaes) 2013-02-28 22:37:31 UTC
Unfortunately I blew my x32 project up after running into ETOOMANY issues. And forgot to save a copy of `emerge --info`.
Comment 3 SpanKY gentoo-dev 2013-03-03 03:47:36 UTC
i've used the client many times and it works fine.  i don't (yet) have an x32 server running natively.

if your kernel is <linux-3.6, then the answer is "i don't care".  upgrade.
Comment 4 Priit Laes (IRC: plaes) 2013-03-03 07:49:31 UTC
(In reply to comment #3)
> i've used the client many times and it works fine.  i don't (yet) have an
> x32 server running natively.
> if your kernel is <linux-3.6, then the answer is "i don't care".  upgrade.

Kernel was 3.8.0

Client worked fine, but server was broken (accessing remotely and locally)
Comment 5 SpanKY gentoo-dev 2013-03-14 19:17:55 UTC
at least openssh-5.2_p1 is working fine for me on x32 as a server
Comment 6 Greg Kubaryk 2013-03-30 06:12:42 UTC
Is there a (In reply to comment #5)
> at least openssh-5.2_p1 is working fine for me on x32 as a server

Do you mean 6.2_p1?

I have trouble with both openssh-6.1_p1-r1 and openssh-6.2_p1 on x32 as a server.  The error from the client (on any machine, including localhost) is "Read from socket failed: Connection reset by peer"  -- as mentioned, this even happens when running trying to SSH to localhost from the x32 machine.  Builds fine but doesn't operate.

Here is emerge --info with 6.2_p1 installed (which btw, I had to disable hpn USE flag because the patch isn't available for fetching):

Portage 2.2.0_alpha170 (default/linux/amd64/13.0/x32, gcc-4.7.2, glibc-2.17, 3.8.4-gentoo x86_64)
System uname: Linux-3.8.4-gentoo-x86_64-AMD_A8-3500M_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.2
KiB Mem:      765212 total,    615056 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of tree: Sat, 30 Mar 2013 02:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6, 1.13.1
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-O2 -pipe -march=native"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm gpm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl openmp pam pcre readline session sse sse2 ssl tcpd unicode zlib" ABI_X86="x32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Comment 7 Greg Kubaryk 2013-04-08 03:10:27 UTC
I believe this bug should be reopened, since I believe all the required information has been submitted.  If anything more needs to be added, I would be happy to provide it.