Programming :: Cannot Edit B800:0000 In Pure Dos
Nov 11, 2010
I write the below sample program named "h1.asm"?
Code:
assume cs:code
code segment
mov ax,0B800H
[code]...
1. In Windows platform +MASM 5.0, run "command" and use "debug.exe" to see what would happen. As step by step check, I see B800:000 is not modified as expected.
2. In Ubuntu 10.04 + dosemu 1.4.0.1, run the program in two ways:
a. If exec dosemu in command line as "$dosemu -dumb", yes, it's in shell mode. and then use debug to check, "B800:0000" can be modified as expected.
Code:
"Welcome to dosemu 1.4.0.1!"
D:masm>debug h1.exe
-r
AX=0000 BX=0000 CX=000F DX=0000 SP=0000 BP=0000 SI=0000 DI=0000
[code]....
b. If exec dosemu in command line as "$dosemu", and run the program again, the symptom is as same as 1.(pls see attachment picture).
3. In Windows, I replace "mov ax,0B800H" to "mov ax,2000H" and try again, it would be edited well. So I wonder if it is coursed by "B800" segment address.
View 5 Replies
ADVERTISEMENT
Mar 24, 2011
I am having problems troubleshooting my pure-ftpd setup. I am always getting a 530 authentication error. I attempted to correct the problem by doing the following:
# pure-pw mkdb
# ln -s /etc/pure-ftpd/conf/PureDB /etc/pure-ftpd/auth/PureDB
# gedit /etc/pure-ftpd/conf/PAMAuthentication
[code]....
This create a new error. 421 Unable to read the indexed puredb file (or old format detected) - Try pure-pw mkdb I am getting a feeling this is getting from bad to worse. I attempted to remove pure-ftpd and pureadmin to start over again. However, it appears I cannot remove everything. I attempted the following:
apt-get remove pure-ftpd pureadmin I am not sure what this really does because I can still see the folder /etc/pure-ftpd and I cannot remove it. I could not use rm /etc/pure-ftpd because the system said it was not empty. I also tried sudo aptitude remove pure-ftpd pureadmin . Again I cannot completely remove the folder. How do I completely remove pure-ftpd and pure admin and all databases, files and folders so I have a fresh system ready to start the install again?
View 1 Replies
View Related
Feb 9, 2011
I have set up pure-authd and pure-ftpd. They are both running, I have created the socket etc.
In my authentication module (a php script) for testing purposes I have done a vardump in to a file, and have realised that pure-authd is not passing on any variables (username, password of the current person trying to log in via ftp) to the PHP script.
I am sure the authentication module is working (have tested it vigorously on the command line), but after 10 hours wondering why it wouldnt work and messing about with the script, I have realised that the variables were never even getting in to the script in the first place!
I am running the processes such as this:
Everything seems as if it is working other than this. For instance, when testing the setup with a very basic auth module which doesnt require a username or password (the basic module just passes "auth_ok:1" to pure-ftpd and the user is then logged in), I can log in to the FTP server fine.
But like I say, a vardump ($argv) on my proper PHP authentication script would suggest that no username or password are being passed to it.
View 1 Replies
View Related
Jan 16, 2010
I need to write a module in pure assembler.Now the linker needs symbols out of the kernel library to link to ( module_init, module_exit, printk).Does anybody know the kernel library name, or are these symbols only in the compressed kernel image (vmlinuz) ?And if, how can I link to a compressed kernel image ?
View 6 Replies
View Related
Apr 11, 2011
I am doing project on AODV, and here i want to know where to edit for adding local repair application in AODV. i got AODV as in built in ns2.
View 2 Replies
View Related
Jan 5, 2011
I am trying to get a checksum for a file in a subscripted variable in a bash script. md5sum outputs a checksum and the name of the input file. For example:
Code:
eval CSUM$K=$"(md5sum file)"
This might return something like this:
Code:
3cff5d5c0113959d0be62be34b97e05c file
I want to assign just the checksum to the variable in my shell script and omit the file name that follows. Is there something besides md5sum that will generate a checksum? Or if not, then I was thinking I might be able to extract the checksum without the file name using sed.
View 14 Replies
View Related
Mar 26, 2011
Mar 26 12:32:53 name sshd[3261]: 192.168.1.14Mar 27 12:42:53 name sshd[3262]: 192.168.1.14
how to make this data in output as:
"Mar 26 12:32:53","name","sshd","192.168.1.14"
"Mar 27 12:42:53","name","sshd","192.168.1.14"
View 6 Replies
View Related
Jul 5, 2010
For gcc, it seems that there are multiple include paths like /usr/include and /usr/src/linux/include. How do I check the current include path for gcc via command line? How do I edit it?
What about for cc?
View 9 Replies
View Related
Jan 25, 2010
Please see below:
vim ~/.bashrc
umask=0000(bottom line)
source ~/.bashrc
But when I relogin, default umask was still 0022. How could I do ?
View 1 Replies
View Related
Mar 14, 2010
I have a webGUI in php where users can make certain settings. How can I edit a file on a remote server from my php webserver? Currently I use my FTP client, vsFTPd and a chrooted user in a specific directory where the file resides. I think this is pretty save as long a nobody else uses my FTPclient. How can I make changes to this file on the remote server from within my php-code on my webserver ?? (so that not I need to make the changes but my users can do it from a html-form) I found this but the credentials for the FTP-connection are plain :
<?php
$file = fopen ("ftp://loginasswd@server", "w");
if (!$file) {
echo "<p>Unable to open remote file for writing.
";
[code].....
I use https for the webGUI, but I guess this does not mean the connection to the remote server will be encrypted also ? Can I use my FTP-user (has no shell) from within php to edit the file ?
View 12 Replies
View Related
Jul 20, 2010
I have a few small still images of around 300 bytes each that I created under Windows many years ago, I'd like to:
1) change the colour of some pixels on each and
2) make them the exact same size but I do not want to learn Gimp to do this since I have no other use for it.
Could someone show me the sequences of commands in Gimp GUI that will do the job?
View 4 Replies
View Related
May 14, 2011
whether it is possible to split open a file and edit only one of the open windows.
View 2 Replies
View Related
Aug 23, 2009
I just installed Fedora 11 on an AMD CPU PC. I get the following error during boot up.Aug 22 21:42:07 dragon8 kernel: aic7xxx: probe of 0000:00:0a.0 failed with error -38 Because the aic7xxx has the error, it does not load the st module. I manually loaded the st module, but the /dev/st? devices do not get created, I assume because of the aix7xxx error.I can access the Adaptec AHA-2940W Bios during boot up and see the 2 tape drives that are connected to it.
View 2 Replies
View Related
May 7, 2010
What's up with this log message?
shpchp 0000:00:01.0: Cannot reserve MMIO region
After grub loads I get a flashing cursor then I get this message on the screen.
This is what I found in dmesg:
shpchp 0000:00:01.0: HPC vendor_id 1022 device_id 9602 ss_vid 0 ss_did 0
shpchp 0000:00:01.0: Cannot reserve MMIO region
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
I'm running an AMD laptop With Lucid x86_64, a custom install I did off the alternate iso with onlyLXDE installed.
All my hardware works fine and this just seems like some sort of bug.
Is there anyway I can silence all kernel messages at bootup?
This is what I have in /etc/default/grub and it's not working to silence it.
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=0 splash"
View 9 Replies
View Related
May 6, 2011
When I use mplayer (i.e. play a movie with it) the system will sporadically freeze completely, for around 13 seconds. Everything halts as if the system is having a kernel panic or worse -- even the clock halts. Around 13 seconds pass, everything returns to normal (the clock then jumps 13 seconds ahead, as well), and from the kernel pool log (dmesg) I observe this:
Code: NVRM: Xid (0000:02:00): 8, Channel 00000004 This seems to happen at sporadic time intervals, but can happen as often as every two minutes at "worst", making watching a movie clip the most annoying experience you can imagine.
I have tried to update the graphics drivers to the latest version, to no avail. I also have no idea how this issue started in the first place. I use Slackware 13.1.0 on a fast x86 (4.1 GHz Core i7, 6 GiB RAM, SSD, GTX480, etc.). There are no other known issues with the system. I don't use any sort of package managers or automatic updates. This issue happens regardless of whether the media played is physically local on the computer, or if it is on a network.
View 6 Replies
View Related
Feb 7, 2011
how to write shell script(awk/sed or any other) to edit value of parameters in configuration files on same server or remote server.
View 3 Replies
View Related
Apr 27, 2010
I want to edit linux kernel source code in MS Visual Studio. I saw the code and these are c files but there is no project file that i open it and whole project opens up. I can open each individual file but not the whole project.
View 13 Replies
View Related
Mar 2, 2011
OS:Debian Linux 2.6.32-5-amd64 Should i need to worry about these error messages? If 'Yes', how to check and fix? When it boot,
/var/log/syslog
Mar 2 23:29:03 ipb167 kernel: [ 1.465629] PM: Error -22 checking image file
Mar 2 23:29:03 ipb167 kernel: [ 4.110123] amd64_edac: probe of 0000:00:18.2 failed
[code]....
View 2 Replies
View Related
Feb 25, 2010
Lots of these in my dmesg, dont like that. Don't think it should be there. Don't know how to get rid of it. What i do know is:
It's intel graphic card related on Ubuntu 9.10 2.6.31-20-generic #57-Ubuntu SMP Mon Feb 8 09:05:19 UTC 2010 i686 GNU/Linux On a EEEPC 1000H
View 5 Replies
View Related
Jun 29, 2010
I am trying to write a script to edit text files formatted like this:
Code:
(MCAL@Contig766:0.30207,CGIG@CVIR_Contig1014:0.13977,(HASI@HDIS_Contig573:0.16828,(CAPI@LCIN_5594371:0.36581,CFOR@FQH745302RIQ7Y:1.91244)0.160:0.00019)0.939:0.15648);
There are never line breaks or spaces in the actual files.
I want to delete all instances of the character "@" and everything between it and the next "," (including that comma) or the next ")" (including that close parentheses) whichever comes first. My desired output file would be like this:
Code:
(MCAL,CGIG,(HASI,(CAPI,CFOR)0.160:0.00019)0.939:0.15648);
I figured out how to do this using sed for either "," or ")" but both looking for whichever comes first.
View 6 Replies
View Related
Jun 2, 2010
I've just recently installed the latest version of fedora on my machine. I already had win7 64-bit so I did a dual boot with the Fedora live CD using the "use largest amount of free space option"(I had intentionally left 30GB of unallocated space). The problem though is that fedora just keeps_crashing, at any point and very randomly. I didn't have this problem with ubuntu. Fedora can crash right after I initiate the boot sequence, or it can wait until the booting process starts, or the login screens shows up, sometimes it even lets my use the OS but invariably crashes. I've done numerous hard reboots which only seemed to worsen the matter, now I can barely get past login screen. This issue also happened on the live CD, but with perseverance I got fedora running on my computer.
There's an error message that shows up for a second or two right before the boot sequence is initiated, luckily(!) the system crashed at the moment it was showing and I was able to write it down :
pci 0000:01:00.0 : no compatible bridge window for [mem 0xfffe0000-0xffffffff pre f]
Here are my specs:
Intel p965 chipset (i heard this one didn't work well in previous fedora releases, maybe this is the problem?)
4GB DDR2 Ram
nVidia 8600 GTS graphic card
HDA Intel Integrated Soundcard
Intel core 2 duo E6400 processor.
View 14 Replies
View Related
Dec 27, 2010
I have installed a fresh copy of FC14 and when I logged in locally for the first time I was getting the error messages below. Now these same messages are filling up my messages log and it's running non stop in the background. Has anyone seen anything on this error? I have searched through Google looking for help and I'm not finding much.
This box is a simple file/web server with no monitor hooked up and no GUI. I have also included the lspci ouput below if that might help. Really looking for any suggestions or input on how I might stop the error reporting since is filling up my log files quickly.
[Code]....
View 2 Replies
View Related
May 4, 2011
Hi, I usually use Debian which doesn't have this bug, so I hope Ubuntu users will not if this could be fixed.
Ubuntu version:
Ubuntu 10.04.1 LTS
kernel version: 2.6.32-24-generic
So problem is no matter what device I connect to USB, after some time in dmesg errors are generated which bring load of one core to 100%. These errors are generated in dmesg:
Code:
[325766.792025] ehci_hcd 0000:01:07.2: port 9 resume error -19
[325766.803033] hub 2-0:1.0: hub_port_status failed (err = -32)
[325766.814086] hub 2-0:1.0: over-current change on port 10
[325766.928027] ehci_hcd 0000:01:07.2: port 10 resume error -19
[code]....
I found solution for Ubuntu which says to get this working I should disable USB 2.0 which is not really acceptable for me.[URL]
View 5 Replies
View Related
Nov 23, 2010
i just upgraded to 10.10 thru update manager, had problems upgrading, had to disable Nvidia - nouveau to upgrade and everything went well for 5 days but then i disabled backports in software sources then i changed visual affect from normal to extra and turned computer off. NOW i cant use ubuntu it just freezes on the purple ubuntu screen prior to login.have tried using safe mode and repair broken packages, which did a 21mb update but still nothing but freeze. i get this message in safe mode
23.4618531 [drm] nouveau 0000:01:00:0: couldn't find matching script table
24.514673 " "
24.514696 " "
24.752897" "
i can follow terminal commands BUT thats all i dunno how to use terminal by myself
View 1 Replies
View Related
May 11, 2010
What can be the cause of this error.
dmesg | grep -i time
ACPI: PM-Timer IO Port: 0x408
Calibrating delay using timer specific routine.. 4658.19 BogoMIPS (lpj=2329098)
Using local APIC timer interrupts.
[code]....
View 7 Replies
View Related
Jun 23, 2011
I am a long time aptosid user which asked to many question in there forum. Everyone interested: [URL] Anyway eat shit and die is not quite the answer I was looking for. I want to stay with a Debian and a rolling release, so I was wondering if some of you could share some info's on howto best setup and run pure sid.
View 9 Replies
View Related
Sep 28, 2010
I get this access violation message when I try to run The Godfather in Wine.The Godfather is an audio file tagging and organization program. he message reads:
Exception EAccessViolation in module TheGodFather.exe at 00000000.
Access violation at address 00000000. Read of address 00000000.
The header says "Application Error" and my only option is an OK button which terminates the program. This is the output I get in the command line:
Code:
wine TheGodFather.exe
err:ole:CoGetClassObject class {00000514-0000-0010-8000-00aa006d2ea4} not registered
err:ole:create_server class {00000514-0000-0010-8000-00aa006d2ea4} not registered
err:ole:CoGetClassObject no class object {00000514-0000-0010-8000-00aa006d2ea4} could be created for context 0x5
[code].....
View 2 Replies
View Related
Jul 19, 2010
recently I have installed a suse 10 sp2 on my computer. I have a big problem about connecting to my ADSL Router. The problem is that I can't ping the router at all and the Kinternet log is prompted that
status is: disconnected
trying to connect to smpppd
connect to smpppd
Status is: disconnected
error: cannot read real interface for eth-bus-pci-0000:04:00.0
I can easily open the web page of my router with windows OS but in the suse I can not do that with firefox.
View 6 Replies
View Related
Nov 13, 2009
I am having problems with the welcome message regarding pure-ftp, this is on Fedora 10. Pure FTP just doesnt show any ability to change the default message, its rubbish at its default gives out some details of what I am running (security risk in itself). Is there any means of being able to make a custom message?
View 4 Replies
View Related
Jan 25, 2010
I'm very new to Fedora ( i want to install it again on my PC ) but i have a small question before i proceed.Is it possible to keep a x64 instalation PURE 64 bit ?I mean here, will fedore try to install a 32 bit library ?? or ONLY if i need them ?Because for example openSuSe will install 32 bit libraries right from the start
View 5 Replies
View Related