[Bug 197578] md5 returns random values each time; breaking freebsd-update

2023-10-05 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197578

Greg A. Woods  changed:

   What|Removed |Added

 CC||woods-bugs.freebsd.org@robo
   ||hack.ca

--- Comment #9 from Greg A. Woods  ---
Just an FYI for anyone who might search for this when experiencing the same
problem.

I have an old laptop (a macbook pro 7,1) that I had 12.1-RELEASE installed on
(bare metal, no hypervisor).

I did a freebsd-update to get to 12.1-RELEASE-P13, which worked A-OK.

Then I tried to upgraded to 13.2-RELEASE, but ran into this problem (with the
file /usr/bin/lldb in my case).  No matter which target release I tried to
upgrade to, the same error occurred.

Glen's suggestion worked for me and the machine is now running 13.2

(In reply to Glen Barber from comment #4)

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 197578] md5 returns random values each time; breaking freebsd-update

2022-03-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197578

Ed Maste  changed:

   What|Removed |Added

 Resolution|--- |Unable to Reproduce
 Status|New |Closed

--- Comment #8 from Ed Maste  ---
No feedback after request in 2015; please reopen if you are able to reproduce.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 197578] md5 returns random values each time; breaking freebsd-update

2017-08-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197578

--- Comment #7 from Ed Maste  ---
Note that the message you observed is based on comparing output of sha256, not
md5:

# Make sure the file hasn't changed.
cp "${BASEDIR}/${F}" tmpfile
if [ `sha256 -q tmpfile` != ${HASH} ]; then
echo
echo "File changed while FreeBSD Update running: ${F}"
return 1
fi

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 197578] md5 returns random values each time; breaking freebsd-update

2015-07-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197578

--- Comment #6 from Glen Barber g...@freebsd.org ---
Can you verify if you still see this problem on 10.2-PRERELEASE (although,
freebsd-update(8) will not be able to update to that)?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to freebsd-bugs-unsubscr...@freebsd.org


[Bug 197578] md5 returns random values each time; breaking freebsd-update

2015-02-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197578

--- Comment #4 from Glen Barber g...@freebsd.org ---
Will you try adding 'vfs.unmapped_buf_allowed=0' to /boot/loader.conf, and
rebooting the system?  There were reports of having vfs.unmapped_buf_allowed
enabled resulting in similar behavior in hypervisors (VirtualBox, Xen), but to
my knowledge this was limited to i386.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to freebsd-bugs-unsubscr...@freebsd.org


[Bug 197578] md5 returns random values each time; breaking freebsd-update

2015-02-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197578

--- Comment #3 from klamo...@vianet.ca ---
Created attachment 152917
  -- https://bugs.freebsd.org/bugzilla/attachment.cgi?id=152917action=edit
debug output

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to freebsd-bugs-unsubscr...@freebsd.org


[Bug 197578] md5 returns random values each time; breaking freebsd-update

2015-02-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197578

Bug ID: 197578
   Summary: md5 returns random values each time; breaking
freebsd-update
   Product: Base System
   Version: 10.1-RELEASE
  Hardware: amd64
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: bin
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: klamo...@vianet.ca

Hello,

I'm having an odd problem at times with this one server.

It started off with this. It's currently running 10.1-p5 on amd64 hardware.
memtest86 yields no errors.

# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 5 mirrors found.
Fetching metadata signature for 10.1-RELEASE from update5.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files...
File changed while FreeBSD Update running: /boot/kernel/kernel

Running md5 on this file shows it's constantly changing

root@monitor:~ # md5 /boot/kernel/kernel
MD5 (/boot/kernel/kernel) = 0aa7bfe32ca8bb34cbf31a3c988da062
root@monitor:~ # md5 /boot/kernel/kernel
MD5 (/boot/kernel/kernel) = eb30ceb29a80b57ba9609e843af56354
root@monitor:~ # md5 /boot/kernel/kernel
MD5 (/boot/kernel/kernel) = eb30ceb29a80b57ba9609e843af56354
root@monitor:~ # md5 /boot/kernel/kernel
MD5 (/boot/kernel/kernel) = 7736696cb6e9d90f80fbaf1b267d48bb
root@monitor:~ # md5 /boot/kernel/kernel
MD5 (/boot/kernel/kernel) = eb30ceb29a80b57ba9609e843af56354
root@monitor:~ # md5 /boot/kernel/kernel
MD5 (/boot/kernel/kernel) = eb30ceb29a80b57ba9609e843af56354
root@monitor:~ # md5 /boot/kernel/kernel
MD5 (/boot/kernel/kernel) = ccfd4eef7dd5f0862de3f502af244112
root@monitor:~ # md5 /boot/kernel/kernel
MD5 (/boot/kernel/kernel) = eb30ceb29a80b57ba9609e843af56354
root@monitor:~ # md5 /boot/kernel/kernel
MD5 (/boot/kernel/kernel) = eb30ceb29a80b57ba9609e843af56354

The odd thing is, using openssl with md5 for a checksum yields the same result
everytime.

root@monitor:~ # openssl dgst -md5 /boot/kernel/kernel
MD5(/boot/kernel/kernel)= eb30ceb29a80b57ba9609e843af56354
root@monitor:~ # openssl dgst -md5 /boot/kernel/kernel
MD5(/boot/kernel/kernel)= eb30ceb29a80b57ba9609e843af56354
root@monitor:~ # openssl dgst -md5 /boot/kernel/kernel
MD5(/boot/kernel/kernel)= eb30ceb29a80b57ba9609e843af56354
root@monitor:~ # openssl dgst -md5 /boot/kernel/kernel
MD5(/boot/kernel/kernel)= eb30ceb29a80b57ba9609e843af56354
root@monitor:~ # openssl dgst -md5 /boot/kernel/kernel
MD5(/boot/kernel/kernel)= eb30ceb29a80b57ba9609e843af56354
root@monitor:~ # openssl dgst -md5 /boot/kernel/kernel
MD5(/boot/kernel/kernel)= eb30ceb29a80b57ba9609e843af56354
root@monitor:~ # openssl dgst -md5 /boot/kernel/kernel
MD5(/boot/kernel/kernel)= eb30ceb29a80b57ba9609e843af56354

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to freebsd-bugs-unsubscr...@freebsd.org


[Bug 197578] md5 returns random values each time; breaking freebsd-update

2015-02-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197578

--- Comment #2 from Glen Barber g...@freebsd.org ---
Can you please provide the following output?

 pciconf -lv
 sysctl kern
 sysctl vfs
 sysctl dev
 sysctl hw

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to freebsd-bugs-unsubscr...@freebsd.org


[Bug 197578] md5 returns random values each time; breaking freebsd-update

2015-02-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197578

--- Comment #1 from klamo...@vianet.ca ---
Extended md5 debugging:

# md5 -xt /boot/kernel/kernel
MD5 test suite:
MD5 () = d41d8cd98f00b204e9800998ecf8427e - verified correct
MD5 (a) = 0cc175b9c0f1b6a831c399e269772661 - verified correct
MD5 (abc) = 900150983cd24fb0d6963f7d28e17f72 - verified correct
MD5 (message digest) = f96b697d7cb7938d525a2f31aaf161d0 - verified correct
MD5 (abcdefghijklmnopqrstuvwxyz) = c3fcd3d76192e4007dfb496cca67e13b -
verified correct
MD5 (ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789) =
d174ab98d277d9f5a5611c2c9f419d9f - verified correct
MD5
(12345678901234567890123456789012345678901234567890123456789012345678901234567890)
= 57edf4a22be3c955ac49da2e2107b67a - verified correct
MD5 (MD5 has not yet (2001-09-03) been broken, but sufficient attacks have
been made that its security is in some doubt) =
b50663f41d44d92171cb9976bc118538 - verified correct
MD5 time trial. Digesting 10 1-byte blocks ... done
Digest = 766a2bb5d24bddae466c572bcabca3ee
Time = 2.046569 seconds
Speed = 488622624.00 bytes/second
MD5 (/boot/kernel/kernel) = eb30ceb29a80b57ba9609e843af56354




# md5 -xt /boot/kernel/kernel
MD5 test suite:
MD5 () = d41d8cd98f00b204e9800998ecf8427e - verified correct
MD5 (a) = 0cc175b9c0f1b6a831c399e269772661 - verified correct
MD5 (abc) = 900150983cd24fb0d6963f7d28e17f72 - verified correct
MD5 (message digest) = f96b697d7cb7938d525a2f31aaf161d0 - verified correct
MD5 (abcdefghijklmnopqrstuvwxyz) = c3fcd3d76192e4007dfb496cca67e13b -
verified correct
MD5 (ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789) =
d174ab98d277d9f5a5611c2c9f419d9f - verified correct
MD5
(12345678901234567890123456789012345678901234567890123456789012345678901234567890)
= 57edf4a22be3c955ac49da2e2107b67a - verified correct
MD5 (MD5 has not yet (2001-09-03) been broken, but sufficient attacks have
been made that its security is in some doubt) =
b50663f41d44d92171cb9976bc118538 - verified correct
MD5 time trial. Digesting 10 1-byte blocks ... done
Digest = 766a2bb5d24bddae466c572bcabca3ee
Time = 2.021598 seconds
Speed = 494658176.00 bytes/second
MD5 (/boot/kernel/kernel) = de43a68b17ce556838b2e02656783909

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to freebsd-bugs-unsubscr...@freebsd.org