Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 384245 - install-sparc64-minimal-20110919 stops booting when setting system clock
Summary: install-sparc64-minimal-20110919 stops booting when setting system clock
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: InstallCD (show other bugs)
Hardware: Sparc64 Linux
: Normal normal (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-23 21:10 UTC by Jim Faulkner
Modified: 2014-06-24 19:00 UTC (History)
2 users (show)

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


Attachments
install-sparc64-minimal-TEST boot log (boot1.jpg,546.12 KB, image/jpeg)
2012-09-18 23:58 UTC, Jim Faulkner
Details
install-sparc64-minimal-TEST boot log part 2 (boot2.jpg,512.80 KB, image/jpeg)
2012-09-18 23:59 UTC, Jim Faulkner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Faulkner 2011-09-23 21:10:22 UTC
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.
Comment 1 Jim Faulkner 2011-10-11 21:19:44 UTC
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 ~ #
Comment 2 Jim Faulkner 2012-05-22 16:36:02 UTC
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?
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2012-05-28 17:01:32 UTC
Jim, i'll build a livecd with that option disabled, will you be able to test it?
Comment 4 Jim Faulkner 2012-05-29 03:22:29 UTC
Yes, I can test it on my Sun Blade 100.
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2012-08-18 16:42:11 UTC
I'm working on this...having some issues right now.
Comment 6 Raúl Porcel (RETIRED) gentoo-dev 2012-09-11 16:28:17 UTC
Okay, finally got an ISO built and seems to work, please test: http://dev.gentoo.org/~armin76/sparc/install-sparc64-minimal-TEST.iso
Comment 7 Jim Faulkner 2012-09-13 00:17:04 UTC
Thanks!  I should be able to test this within the next couple of days, I'll get back to you soon.
Comment 8 Jim Faulkner 2012-09-18 23:58:33 UTC
Created attachment 324250 [details]
install-sparc64-minimal-TEST boot log
Comment 9 Jim Faulkner 2012-09-18 23:59:34 UTC
Created attachment 324252 [details]
install-sparc64-minimal-TEST boot log part 2
Comment 10 Jim Faulkner 2012-09-19 00:03:55 UTC
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.
Comment 11 Raúl Porcel (RETIRED) gentoo-dev 2012-09-22 16:47:01 UTC
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
Comment 12 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2013-12-28 04:11:35 UTC
(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?
Comment 13 Raúl Porcel (RETIRED) gentoo-dev 2014-06-24 19:00:01 UTC
Yup