Like many of us, I spent yesterday updating a whole lot of systems to mitigate the Meltdown and Spectre attacks. As I understand it, it is necessary to install two packages and reboot: kernel-3.10.0-693.11.6.el7.x86_64 microcode_ctl-2.1-22.2.el7.x86_64 I have two CentOS 7 systems on which I've installed these packages and rebooted. According [...] read more
Edit: I updated my question with the details of my benchmark For benchmarking purposes, I am trying to setup 1GB pages in a Linux 3.13 system running on top of two Intel Xeon 56xx ("Westmere") processors. For that I modified my boot parameters to add support for 1GB pages (10 [...] read more
I want to get into PAPI. I have Version 5.3.2.0 on Debian GNU/Linux. papi_avail just tells me that no hardware events are available: $ papi_avail Available events and hardware information. -------------------------------------------------------------------------------- PAPI Version : 5.3.2.0 Vendor string and code : GenuineIntel (1) Model string and code : Intel(R) Core(TM) i3-5010U [...] read more
I am trying to split my audio recording with android mediarecorder into multiple files, but whenever I set the next output file, I got an illegalstate exception. Here's the code: private void getMediaRecorderReady(String filePath, FileDescriptor nextFile) { bufferSize = 88200; recorder = new MediaRecorder(); recorder.setAudioSource(MediaRecorder.AudioSource.MIC); recorder.setOutputFormat(MediaRecorder.OutputFormat.AAC_ADTS); recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC); recorder.setAudioEncodingBitRate(64000); recorder.setAudioSamplingRate(44100); recorder.setAudioChannels(1); [...] read more
Running a member server 2008R2 server. Backups have been running fine for some time but recently ceased to run. We have been using CloudBerry Lab Enterprise Backup to store backups in cloud storage. I started looking at CloudBerry logs and did not get much information. -------------------------------------------------------------------------------- 2015-06-25 08:18:54,230 [UI] [1] [...] read more
I am following brokenthorn OS development series, until now I am able sucessfully run bootloader stage1 but there is some issue with loading second stage bootloader from FAT12 floppy in bochs emulator on linux machine(ubuntu 16.04) (It works fine in virtual box though). Here is my stage1 boot loader: bits [...] read more
This question is related to a previous one on OSPF routing. Based on the advice give to the previous question, I have now made myself a network diagram, identified the backbone area and all other areas and started configuring OSPF on the various routers. All the HP ProCurve 7102dl routers [...] read more
I have used the cpuid | grep -i tlb command on the terminal to try to determine the exact number of page table entries (and the corresponding page-sizes) being used by the machine. This is what I've got. cache and TLB information (2): 0x63: data TLB: 1G pages, 4-way, 4 [...] read more
For my application (SpMV) I have more data cache misses (PAPI_L1_DCM) than total cache misses (PAPI_L1_TCM) in level 1 cache. How can that be? For Level 2 the values are ok. That is, what the PAPI counters offer: [PAPI_L1_ICM ][PAPI_L1_DCM ][PAPI_L1_TCM ][PAPI_L2_ICM ][PAPI_L2_DCM ][PAPI_L2_TCM ] 1256 3388225 1442386 1007 2389903 [...] read more
I'm currently developing my bootloader, but I have problem. I use Bochs to test bootloader, I compile bootloader and make disk image with: rm disk.bin rm boot.bin rm post.bin nasm bootloader.asm -o boot.bin nasm postmbr.asm -o post.bin cat boot.bin post.bin > disk.bin This is bootloader.asm: [BITS 16] ;Tells the assembler [...] read more
I'm building a small operating system and was using Qemu before which was working properly. Now I'm stuck on a Windows 10 machine and Qemu doesn't work well with GDB on this machine. I thought I'd try Bochs or Virtual box instead. The problem is that with both of these [...] read more
I am reverse engineering an old game format. For their textures, they store display type information in a single integer. I initially though the different bits were boolean flags. For example, if bit 1 was set, the texture is transparent. The more I have worked through the different display types, [...] read more
We are not able to receive MO on smpp kannel below if the configure smsbox configuration group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = 13013 sms-length = 500 smsbox-id = mysmsc group = sendsms-user username = tester password = foobar #max-messages=3 # http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar group = sms-service accepted-smsc [...] read more
I'm trying to use RAPI to monitor the performance of my Xeon Phi code. I just compiled and installed a native version of RAPI follwoing the documentation. And the following list is what I get when I execute "rapi_avail" on my Xeon Phi which shall display all available events. Surprisingly, [...] read more
I have created a MemoryMappedFile using C#.Net Compact Framework on WinCE7. When I am trying to open the same MemorymappedFile in another process, I am getting a null file handle. Here is the code I am using. namespace MMFWriteDemo { [Serializable] public class FileMapIOException : IOException { private int m_win32Error; [...] read more
How would I convert from sign-magnitude to two's complement. I don't know where to start. Any help would be appreciated. I can only use the following operations:!,~,|,&,^,+,>>,<<. /* * sm2tc - Convert from sign-magnitude to two's complement * where the MSB is the sign bit * Example: sm2tc(0x80000005) = -5. [...] read more
<?php /* File : smppclass.php Implements : SMPPClass() Description : This class can send messages via the SMPP protocol. Also supports unicode and multi-part messages. License : GNU Lesser Genercal Public License: http://www.gnu.org/licenses/lgpl.html Commercial advertisement: Contact info@chimit.nl for SMS connectivity and more elaborate SMPP libraries in PHP and other languages. [...] read more
I'm tasked with the monitoring and analysis of variious logs via our SIEM solution; LogRhythm. I noticed a few weeks back that we had large volumes of this event originating from all of our domain controllers. The log data is as follows: EventID: 521 Event Data: unable to log events [...] read more
basic network [https://i.stack.imgur.com/ibFOc.gif] I receive a default route via iBGP from R1. On both R2 and R3 I have default-information originate configured. On R4 I only see one default route in the OSPF database; either to R2 or R3. When I shutdown one of the links from R2 / R3 [...] read more
I followed this C# example and am able to query some registry values, but not all of them: How to obtain a registry value from a remote machine if I don't know its type? (C#) I can reliably get registry keys such as the CurrentVersion, the ProductName, etc. But when [...] read more
I am trying to use DES encryption/decryption on Google chrome. In my folder I have three files. 1. tripledes.js 2. mode-ecb.js 3. CryptoJS-DES.html The scripts in my html file is defined as follows :- <script type="text/javascript" src="tripledes.js"></script> <script type="text/javascript" src="mode-ecb.js"></script> and another script file which is :- function encryptByDES(message, key) [...] read more
Windows 10 x64 - implemented own filesystem, the usual directory traversal, copying, reading, deleting files work in DOS, git bash, and explorer. But can not read files in notepad.exe! I have a "hello world" text file named "a.file.txt" on my filesystem drive E:, and if I try to read it [...] read more
Hi I have been stuck on an error in python using the pySMB module. While making a script for myself I ran in to some trouble with trying to connect to a Network share. Here is the Python Code from smb.SMBConnection import SMBConnection server_name = 'Server' client_name = 'My Computer' [...] read more
I have a Cisco ASA security appliance and I am trying to use the Azure MFA Server on a domain member (virtual) server (Windows Server 2012 R2). The MFA server is installed, and configured correctly to the best of my knowledge. When I run an AAA test from the Cisco [...] read more
I have an interesting puzzle. I need to convert from a signed number, say -5 (0x80000005) to two’s complement -5 (0xFFFFFFFB). The only operators I can use are, !, ~, &, ^, |, +, <<, >> and at most 15 of them in any combination with as many variables as [...] read more
My workflow: * check if server is pingable * find if they are domain connected or not and perform a task accordingly. if Operating system 2012 and/or R2 ,2016 or 2019 newer OSes then I will run Get-SmbServerConfiguration cmdlet. if machine is not a part of default domain then else [...] read more