On my Sun Blade 100, both install-sparc64-minimal-20110829.iso and install-sparc64-minimal-20110919.iso stop booting at "Setting the system clock using the hardware clock [UTC]". That's not to say the system locks up: I can type characters and they show up on the screen, but init doesn't let me proceed past the setting system clock script. The machine is definitely still working. I've waited 10 or 15 minutes but init won't give up on the "Setting the system clock" script. Actually I can ctrl-c out of it the first time init tries to start the script, before runlevel 3. But as soon as it enters runlevel 3 it tries to start the system clock script again and I'm unable to ctrl-c out of it. I see in my kernel messages before modules are loaded that the kernel successfully sets the system clock from the hardware clock: apparently install-sparc64-minimal-20110829.iso's kernel has CONFIG_RTC_HCTOSYS set. On my x86 systems /etc/conf.d/hwclock tells me "You do not need this if you are running a modern kernel with CONFIG_RTC_HCTOSYS set to y." Should the script which sets the system clock from the hardware clock be enabled on the installcd at all? Reproducible: Always Steps to Reproduce: 1. Boot install-sparc64-minimal-20110919.iso on a Sun Blade 100 2. 3.
FYI, I did a small Debian install on this machine, then installed Gentoo using the Debian install. The Gentoo installation itself works fine, and completes the "Setting the system clock using the hardware clock [UTC]" script successfully at boot. However, I do NOT have CONFIG_RTC_HCTOSYS set on my kernel: vex ~ # gzip -dc /proc/config.gz | grep TOSYS # CONFIG_RTC_HCTOSYS is not set vex ~ # vex ~ # emerge --info Portage 2.1.10.11 (default/linux/sparc/experimental/multilib, gcc-4.4.5, glibc-2.12.2-r0, 3.0.6 sparc64) ================================================================= System uname: Linux-3.0.6-sparc64-sun4u-with-gentoo-2.0.3 Timestamp of tree: Sun, 09 Oct 2011 20:30:01 +0000 app-shells/bash: 4.1_p9 dev-lang/python: 2.7.1-r1 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.8.3-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.68 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers) sys-libs/glibc: 2.12.2 Repositories: gentoo ACCEPT_KEYWORDS="sparc" ACCEPT_LICENSE="* -@EULA" CBUILD="sparc-unknown-linux-gnu" CFLAGS="-O2 -m32 -mcpu=ultrasparc -fomit-frame-pointer -pipe" CHOST="sparc-unknown-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -m32 -mcpu=ultrasparc -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv" FFLAGS="-O2 -m32 -mcpu=ultrasparc -fomit-frame-pointer -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://jove.eng.yale.edu/gentoo-portage" USE="acl berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 modules mudflap multilib ncurses nls nptl nptlonly offensive openmp pam pcre pppd readline session sparc ssl sysfs tcpd unicode xorg zlib" 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="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 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" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="dummy fbdev mach64" 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" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS vex ~ #
This is still a bug in install-sparc64-minimal-20120423.iso. My Sun Blade 100 is unable to complete booting because of it. It seems to me that setting the system clock is an unimportant enought part of the boot process that it should be disabled, so that Gentoo Linux can be installed on Sun Blade 100s. Setting the date is part of the install procedure anyway: http://www.gentoo.org/doc/en/handbook/handbook-sparc.xml?part=1&chap=5 Any chance we can have the "setting the system clock" service disabled on the sparc64 installcd?
Jim, i'll build a livecd with that option disabled, will you be able to test it?
Yes, I can test it on my Sun Blade 100.
I'm working on this...having some issues right now.
Okay, finally got an ISO built and seems to work, please test: http://dev.gentoo.org/~armin76/sparc/install-sparc64-minimal-TEST.iso
Thanks! I should be able to test this within the next couple of days, I'll get back to you soon.
Created attachment 324250 [details] install-sparc64-minimal-TEST boot log
Created attachment 324252 [details] install-sparc64-minimal-TEST boot log part 2
Works for me too! Your install-sparc64-minimal-TEST.iso fixes this bug. Thanks so much! There are a couple of boot issues with it unrelated to this bug: bootmisc, syslog-ng, and rpcbind fail to start. I've attached a couple of photos of the boot process so you can take a look. Thanks again for creating a fixed .iso.
Great. The new kconfig has been added to the releng repository and tomorrow, if the installcd is successfully built, should be in the mirrors. Leaving the bug open until then
(In reply to Raúl Porcel from comment #11) > Great. > > The new kconfig has been added to the releng repository and tomorrow, if the > installcd is successfully built, should be in the mirrors. > > Leaving the bug open until then Raúl, time to close this?
Yup