|
Wow, no answer on this yet?
Ok the 2 addresses are the program's send and receive addresses. I listen for the incoming/outgoing packet and read a byte sig and filter that by packet type. I send the data from the packet to another window alerting the user of an event in the case they may be semi-afk or in another window if it's the byte sig we want i.e. "Global announcement: there will be a server reboot in 1 hour!". It's been very useful but I want to speed it up by using hardware breakpoints which I also read is recommended over software operation.
I reworked the code and it is ok on recv but on send the program closes immediately. I have read and read and googled and googled and still cannot find a clear answer. Do I have to be in Ring 0 to manipulate the Dx regs and set them for the remote thread, or can this be done in userland?
|
|
|
|
|
Can anyone please point me to an offline one of these? Something that actually detects the configuration instead of having to capture it would be nice icing on that cake.
Semicolons. the number one seller of ostomy bags world wide. - dan neely
|
|
|
|
|
I must start by saying that am very impressed with the good work potrayed by the administrators and contributors of this solution blessing community . I've gained and learnt a lot from people's problems and solutions just from watching behind. Now its time to join in the fun by posting my own encounter. I BELIEVE in you guys and thats why I am takng this step.
I am a C# developer(starting on C#1.1) and my skill level is between Beginner and Intermediate(though I have been building Client/Server applications recently) but now, I have just been given an advanced real life project to tackle.
A Filling Station manager wants me to build an application that will track/record the sales of fuel(preferably, as entered by the staff) from the electronic fuel meter pump machines. He wants the tracking to be indicated LIVE in the application which is hosted by a computer remotely(in the same station).
1. Is this possible?
2. If it is, what should be the design architecture & development strategy, deployment process and security considerations?
Please, this is urgent! can someone help me... anybody.
|
|
|
|
|
Hi friends,
Can anybody help me out in getting good documents on blueTooth and EEPROM API list?
I have to do coding for these devices. Kindly Help me out with good documents which helps me in getting the API list and Code samples for the above said other than MSDN.
Thanks in advance..
poojaaa
|
|
|
|
|
i am assuming this is on a custom piece of hardware?
is the EEPROM IIC or SPI interface?
|
|
|
|
|
Is there some way I could measure the total load on the PSU now featuring as chief suspect in my shut-down problem described below? Maybe if it's an overload, and the unit is delivering close to rated current with low load, I could assume it would be subjected to an above rate current draw when the load increases?
Semicolons. the number one seller of ostomy bags world wide. - dan neely
|
|
|
|
|
Well you could use a plug in power meter which sits between the wall outlet and the PSU. Like the Kill A Watt[^]
//Johannes
|
|
|
|
|
If you have access to a variable transformer or a UPS where you can set the output voltage, you can lower the voltage to the PSU until the computer fails and shuts down.
If the shutdown voltage is above the standard -15% of nominal voltage, you want a new PSU.
Keep in mind that this might be a destructive test of the PSU.
|
|
|
|
|
Make sure you read the specsheet on the PSU before making a judgement. Better quality PSUs are designed tolerate larger deviations than cheap ones. Better quality new models can take Japanese 100v, us 110v, European 220V, or anything in between without having to flip a hardware switch.
You know, every time I tried to win a bar-bet about being able to count to 1000 using my fingers I always got punched out when I reached 4....
-- El Corazon
|
|
|
|
|
Wow, how long has it been since I even heard mention of a variac, let alone have seen one.
Semicolons. the number one seller of ostomy bags world wide. - dan neely
|
|
|
|
|
I actually have one. So I only use it once a year or so. But you can test things you wouldn't be able to otherwise.
I learned about the importance of voltage quality already as a kid. Whenever our farming neighbour used his welding equipment (Sized like a small nuclear plant) we had brownouts and the tv would break. My dad kept on complaining about bad quality tv-brands until the power company finally installed a new area transformer. Problems gone!
|
|
|
|
|
Brady Kelly wrote: Semicolons. the number one seller of ostomy bags world wide. - dan neely
Quote Selected Text
Could I have a capital T and perhaps a colon added to this?
You know, every time I tried to win a bar-bet about being able to count to 1000 using my fingers I always got punched out when I reached 4....
-- El Corazon
|
|
|
|
|
Sure.
Semicolons: The number one seller of ostomy bags world wide. - dan neely
|
|
|
|
|
TY
You know, every time I tried to win a bar-bet about being able to count to 1000 using my fingers I always got punched out when I reached 4....
-- El Corazon
|
|
|
|
|
I am trying to diagnose a random shut-down problem on a friend's PC. This morning I blew out the CPU heatsink, and added an 80mm case fan, extracting, next to the CPU. I have just received work that it has again shut down, and I would like to establish more on whether temperature is still playing a role or not.
I want to log CPU temperature constantly, and observer whether shut-downs occur during upward trends in temperature. If not, I can forget more cooling and pay attention to other areas. How could I go about polling the CPU temperature?
|
|
|
|
|
Look for a BSOD in the windows dir, or a minidump in the minidump dir. If its overheating the dump will tell.
Morality is indistinguishable from social proscription
|
|
|
|
|
Would a negative result be definitive there? Overclocking driven overheating can cause random bitrot in the core and I'd assume the same could happen even at standard specs, while I assume windows could only properly log a temperature warning (on die or on mobo sensor) related failure correctly.
You know, every time I tried to win a bar-bet about being able to count to 1000 using my fingers I always got punched out when I reached 4....
-- El Corazon
|
|
|
|
|
Hi there people,
I have problem running the following driver code. It worked for sometime
but without no obvious reason whenever I try to stop the driver service
a BSOD appears with the PAGE_FAULT_IN_NON_PAGED_AREA error.
I found out that when I remove the set DriverName code the problem disappears
but the question is why.
I'm desperate I cant find a way to fix this thing. I load the driver
with the instdrv.In the Debug Viewer only the HI message apperars Any ideas?
Here is the code
VOID UnLoadMe(IN PDRIVER_OBJECT obj);<br />
UNICODE_STRING us;<br />
<br />
NTSTATUS DriverEntry ( IN PDRIVER_OBJECT theDriverObject, IN PUNICODE_STRING theRegistryPath )<br />
{<br />
<br />
DbgPrint("HELLO");<br />
RtlInitUnicodeString( &us, L"TEST\0" );<br />
theDriverObject->DriverName=us;<br />
theDriverObject->DriverUnload=UnLoadMe;<br />
return STATUS_SUCCESS;<br />
}<br />
<br />
<br />
VOID UnLoadMe(IN PDRIVER_OBJECT obj)<br />
{<br />
DbgPrint("BYE");<br />
}
|
|
|
|
|
You shouldnt set the driver name, its given to you, its the name in the services key of your drivers entry. (Like 'serial', 'tcp', etc).
Morality is indistinguishable from social proscription
|
|
|
|
|
First, listen to fat-boy - he's correct!!
However, to help understand what is causing your problem ...
Given that error (which is very precise in telling you what the problem is), my guess is that your us variable is stored in a paged data area. You have to be careful with global variables in drivers that they are stored how you think they are stored. There may be a pragma in effect putting all code and data into paged-pool - this is quite common for initialization code.
Judy
|
|
|
|
|
Unless he didnt paste all his code in (ie he is using the PAGED pragma) then all driver code is memory resident, and global vars.
But, since DriverEntry runs at passive level you can access paged out code without any problem. This is probably one of those odd errors where the error used doesnt really reflect what went on. Probably, its read only memory, or the unicode string actually points to part of the registry file or some such.
Morality is indistinguishable from social proscription
|
|
|
|
|
fat_boy wrote: Unless he didnt paste all his code in (ie he is using the PAGED pragma)
That is what I was suspecting and was referring to when I talked about a pragma asociated with the initialization code. My guess on the crash is that after the OP changes the driver name to use that paged variable and DriverEntry returns, the page fault occurs as soon as the driver object is used somewhere not at Passive level since it references paged memory.
Judy
|
|
|
|
|
Yeah, a stack trace would show whether the bug is due to setting the name in the devo, or something else referencing the name, now in this drivers image.
I suspect its the former though.
Morality is indistinguishable from social proscription
|
|
|
|
|
By the way, when you get a crash like this, then you can look at the memory dump in WinDbg. The crash dump will either be called memory.dmp in the windows dir or it'll be in the minidump dir dependig on how your machine is set up.
The best way to fix bugs though is kernel debuging. Take alook in the DDK for how to do this. (Null modem cable, modify boot.ini, and use windbg)
Morality is indistinguishable from social proscription
|
|
|
|
|
I have several USB drives, as I would guess most people do. Recently I have found that when I plug it in, windows explorer will not find it and show it in the list of available drives. I have tried the microsoft recommendation (a registry hack), and have made sure the disk manager is looking to place in in the right drive letter (and the driver is not occupied), I have tried, as I found suggested in one place, rebooting with the drive in place, it shows up then but if I remove it and plug it back in nada.
A friend at work has the same problem, he seems to have gotten lucky and has one that works (between us we have a dozen or so, different brands)
Open a DOS windows, go to the F: drive and there it is. Open Total commander or something liek that it shows up. It even shows up if I try to do a File -> save as, it just will not show up in explorer... and yes I did google it.
This just started happening recently (XP SP2 with a company that is anal about pushing service packs out as son as they are released)
Any ideas?
Thanks
|
|
|
|