| View previous topic :: View next topic |
| Author |
Message |
crumbs516 n00b

Joined: 13 Dec 2005 Posts: 35
|
Posted: Thu Nov 02, 2006 7:36 pm Post subject: rsync + double boot error post emerge -uDN world |
|
|
After and updating my profile to 2006 I get the following errors.
1 rsync doesn't work but no error is reported and I already ran 'emerge rsync' to reinstall
example: | Code: | | rsync -aun /usr/bin /home/user1 |
reports no output even though the file structures are completely different
emerge reports package: rsync-2.6.8-r2
2 machine boots, passes grub, posts then experiences an error and reboots
the second boot restarts at bios and loads properly as if nothing is wrong
if I shutdown the double boot sequence will repeat regardless of whether power is removed or not
syslog isn't working so I don't have a /var/log/bootlog to examine for messages.
Any ideas on either problem for what to look for? I was unable to find anything related in the forums, wiki, or bugs. |
|
| Back to top |
|
 |
crumbs516 n00b

Joined: 13 Dec 2005 Posts: 35
|
Posted: Fri Nov 03, 2006 5:07 pm Post subject: what I've tried |
|
|
1. rsync failure solution
revert to old rsync-2.6.0-r6 from rsync-2.6.8-r2 which is failing to work by masking 2.6.8-r2 and downgrading to 2.6.0-r6
in /etc/portage/package.mask add line | Code: | | =net-misc/rsync-2.6.8-r2 |
Then emerge to downgrade to previously used rsync version
| Code: | #emerge -p rsync
These are the packages that would be merged, in order:
[ebuild UD] net-misc/rsync-2.6.0-r6 [2.6.8-r2] USE="-livecd%"
# emerge rsync |
2. double reboot followup
I observed the failure occurs in /etc/init.d/clock
The problem might be related to post https://forums.gentoo.org/viewtopic-t-489657-highlight-clock+service+fails.html, but no solution is given there. In the code below I added the line 'echo "#### clock good ####" in the start function of /etc/init.d/clock. During the first boot the system never posts `clock good` aftering stating that system clock is being changed but `clock good` is reached during the second boot. Any ideas for what is happening?
| Code: | start() {
local myopts=""
local myadj=""
local TBLURB="" fakeit=0
local errstr=""
local readonly="no"
local ret=0
if ! touch /etc/adjtime 2>/dev/null ; then
readonly="yes"
elif [[ ! -s /etc/adjtime ]] ; then
echo "0.0 0 0.0" > /etc/adjtime
fi
setupopts
if [[ ${fakeit} -ne 1 && -e /proc/modules && ! -e /dev/rtc ]] ; then
modprobe rtc &> /dev/null || modprobe genrtc &> /dev/null
fi
ebegin "Setting system clock using the hardware clock [${TBLURB}]"
if [[ ${fakeit} -eq 1 ]] ; then
ret=0
elif [[ -x /sbin/hwclock ]] ; then
# Since hwclock always exit's with a 0, need to check its output.
errstr=$(/sbin/hwclock ${myadj} ${myopts} 2>&1 >/dev/null)
errstr="${errstr}$(/sbin/hwclock --hctosys ${myopts} 2>&1 >/dev/null)"
if [[ -n ${errstr} ]] ; then
ewarn "${errstr}"
ret=1
else
ret=0
fi
errstr="Failed to set clock"
else
ret=1
errstr="/sbin/hwclock not found"
fi
eend ${ret} "${errstr}" "You will need to set the clock yourself"
echo "#### clock good ####"
return 0
}
|
|
|
| Back to top |
|
 |
crumbs516 n00b

Joined: 13 Dec 2005 Posts: 35
|
Posted: Mon Nov 06, 2006 7:11 pm Post subject: bug created for rsync problem |
|
|
| Bug #154276 |
|
| Back to top |
|
 |
|