Subject: pkg/35182: TME sun3 emulator asserts when FTP getting large file
To: None <firstname.lastname@example.org, email@example.com,>
From: None <firstname.lastname@example.org>
Date: 12/04/2006 13:45:00
>Synopsis: TME sun3 emulator asserts when FTP getting large file
>Arrival-Date: Mon Dec 04 13:45:00 +0000 2006
>Originator: Arthur Townsend
3.1 for i386
TME asserts when ftp getting pkgsrc.tar from netbsd.org. if changed to a print statement instead of assert, it prints a few times during the ftp, but the final .tar file is correct (same checksum). I have not seen the problem other than than when ftping that file.
Log into the emulator (running NetBSD 3.0 inside the emulator), then ftp get pkgsrc.tar from ftp.netbsd.org.
Just comment out the assert. The resulting file will be correct. Patch for ic/i825x6.c follows:
--- i825x6.c.orig 2006-11-16 14:11:51.000000000 -0500
+++ i825x6.c 2006-11-19 09:30:51.000000000 -0500
@@ -874,7 +874,16 @@
/* the Receive Unit must have no resources: */
+/* the first assert following always asserts when ftp getting pkgsrc.tar
+ from netbsd.org. if changed to a print statement instead of assert
+ it prints a few times during the ftp, but the final .tar file is correct
+ (same checksum). I have not seen the problem other than than when ftping
+ that file.
assert (i825x6->tme_i825x6_rfd_address == TME_I825X6_RU_ADDRESS_UNDEF);
assert (i825x6->tme_i825x6_rbd_offset_address == TME_I825X6_RU_ADDRESS_UNDEF);
assert (i825x6->tme_i825x6_fbl == NULL && i825x6->tme_i825x6_fbl_size == 0);