Hardware :: Base Address For Hardware Pin And Register?
Jul 21, 2010I am having a small doubt regarding base address.. Base address will be there for register or Hardware pin? or both?
View 1 RepliesI am having a small doubt regarding base address.. Base address will be there for register or Hardware pin? or both?
View 1 RepliesI am trying to understand working of pci_resource_start function So I browsed code via cscope and searched for string pci_resource_start and got following in pci.h
Code:
#define pci_resource_start(dev, bar) ((dev)->resource[(bar)].start)
I am not able to understand how does this above macro works. How does it above macro gets appropriate base address register in configuration space?
Im an academic (university networks and security lecturer) studying/teaching network and operating system security, and inspired by the work of Hovav Shacham set about testing ASLR on linux. Principley I did this by performing a brute force buffer overflow attack on Fedora 10 and Ubuntu 9. I did this by writting a little concurrent server daemon which accidently on purpose didnt do bounds checking.
I then wrote a client to send it a malicious string brute forcing guessed addresses which caused a return-to-libc to the function usleep with a parameter of 16m causing a delay of 16 seconds as laid out in [URL] Once I hit the delay I new I had found the function and could calculate delta_mmap allowing me to create a standard chained ret-to-libc attack. All of that works fine. However .... To complete my understanding I am trying establish where I can find the standard base address for ubuntu 9 (and other distros) for the following, taken from Shacham:-
Quote:
[code]....
/proc/uid/maps gives me some information but not the base address ldd also gives me the randomised starting address for sections in the user address space but neither gives me the base address. Intrestingly ... when a run ldd with aslr on for over (about) 100 times and checked the start point of libc I determined that the last 3 (least significant) hex digits were always 0's and the fist 4 (most significant) where between 0xB7D7 and 0xB7F9. To me this indicated that bits 22-31 were fixed and bits 12-21 were randomized with bits 11-0 fixed. Although even that doesnt define the boundaries observed correctly.
Note: I am replicating the attack to provide signatures to detect it using IDS, and for teaching purposes. I am NOT a hacker and if needed to could reply from my .ac.uk email address as verification.
What are the differences between base address and I/O address?
View 1 Replies View RelatedI am using Fedora 14 (64 bit version) Can't start XAWTV. Returns this error: $ xawtv This is xawtv-3.99.rc6, running on Linux/x86_64 (2.6.35.12-90.fc14.x86_64) xinerama 0: 1920x1080+0+0 WARNING: No DGA direct video mode for this display. WARNING: keeping fbuf pitch at: 7680, as no base addr was detected WARNING: couldn't find framebuffer base address, try manual configuration ("v4l-conf -a <addr>") v4l2: WARNING: framebuffer base address mismatch v4l2: me=(nil) v4l=(nil) Warning: Missing charsets in String to FontSet conversion Warning: Missing charsets in String to FontSet conversion Oops: can't load any font
View 1 Replies View Relatedi installed slackware current straight(make iso from it and installed on clean disk) and i installed Multilib current from alien and now when i wanna compile wine source its write
"configure: OpenCL 32-bit development files not found, OpenCL won't be supported.
configure: libsane 32-bit development files not found, scanners won't be supported.
configure: gstreamer-0.10 base plugins 32-bit development files not found, gstreamer support disabled
[code].....
I checked i got that libaries in /lib and /lib64 why it doesent work it was working on slackware 13.1 with multilib
can we find logarithm to base 10 instead of base 2 on shell script??i can do it with bc..like 'l(1000)/l(10)' | bc -l
View 1 Replies View RelatedI have a router that is 1000 Base T and two computers each with ethernet cards that support 1000 Base T. All are equipped with Cat 5e cable. Before I had a router that only went up to 100 Base T and I would setup one box with linux running proftpd. On the other box,I would use win xp pro and use firefox to ftp into the other box and download a file. Download speeds went up to 11.2 MB/sec. Now when I switched routers, I expected something like 120 MB/sec but I'm only getting 5.3 MB/sec. What do I need to change?
View 12 Replies View RelatedIf I start Ubuntu One from Application->Internet, the icon appears in my panel with a red-background X. I tried typing 'u1sync --authorize' from a terminal, but it just hangs and nothing happens with my web browser (Firefox). I've created the LaunchPad account, but I've never been offered an 'add this computer' button in the browser. So it's impossible for me to authorize this computer
View 1 Replies View RelatedI try to register in kubuntuforums.net but I can't. It make makesme questions and still I answered it said me that I was wrong.I don't know how to answer. Maybe is letter in place of numbers,maybe...Well, it's the first time that I can not register in a forum andit's sad because I have booth desktop Ubuntu and Kubuntu.
View 6 Replies View RelatedSo I've created my pgp key and attempted to load it to the keyserver only to get the error as shown. This is the situation for 2 days now. Is there a workaround or fix?
View 1 Replies View RelatedI've been struggling this morning trying to associate an application with a custom protocol, namely emacsclient and org-protocol.
I'm calling this protocol from a webbrowser bookmarklet, and I get the following behaviour :
In chromium, the "Launch Application" dialog comes up, and calls xdg-open org-protocol://... which ends up firing a new chromium frame.
In firefox, I've tried setting network.protocol-handler.app.org-protocol to an empty string or my emacsclient path, anyhow I get the following error message : "Firefox doesn't know how to open this address, because the protocol (org-protocol) isn't associated with any program" without even showing any external application selection dialog.
I'm not using any desktop environment, so I need to make this work strictly with xdg, however, despite reading the shared mime info spec etc, I still can't fathom a working configuration.
i just recently switched back to linux from windows and have seen pidgin was replaced with empathy but i cant register my account and therefore can't use emapthy.
View 5 Replies View RelatedFor some reason, gnome-terminal, terminator, mrxvt, rxvt, tilda and a few other terminal applications I downloaded are unable to register the 'a' key on my keyboard. However, every other application is able to register my keypresses perfectly. Does anybody know what might be causing this, or what logs/diagnostic tools I could use to find out the reason for this odd behavior?
View 2 Replies View RelatedI've already encountered a couple bugs, and thought it would be nice to be able to report new ones there and/or comment on old ones. But their register button only leads to "Invalid OpenID transaction," and I think that's a bug, and I think I ought to report that over here since I obviously can't register or report it over there.
View 1 Replies View RelatedIm going to registrate a Host on the fog server database.
i have done this befor on a working system befor, so i kinda know how to do it.
Im booting from the network, and im finding the server, and chose Quick host registation ( i have tryed the full host registration, but it dose not work there either)
after the Quick host registration and loading, this show's up:
Loading fog/kernel/bzimage......
decompressing linux .... Parsing ELF......Done
Booting the kernel.init.gz....
pci 0000:23:00.1: BAR 6: no parent found for of device [0xffff8000-0xffffffff]
unable to query synaptics hardware.
[Code]....
How i will register to RHN so that all of my softwares will be updated by it
View 2 Replies View RelatedAn error occur when I compile my inline assemble code with a alpha/linux cross compiler.code:
Code:
#define CPU_ID(cpu_iid)
__asm__ __volatile__ (
[code]....
I am trying to solve problem with software which needs to have access to network card I suppose. Installation run without any problems but when I am launch software I get such message as normal user:
Cannot register service:
RPC: Authentication error; why = Client credential too weak.
When I launch program as root I get this:
WARNING: localhost appears to have the loopback address 127.0.0.2 as IP address
This may imply that processes on arlin may not be able to connect to non-local processes but program starting with success at least. What I should do to run program as normal user?
After timeout is over a SIP account does not register again automaticaly, manualy can be unregistered and registered again. Changing timeout seconds does not make any difference, re-registering does not happen. Is there is a way ekiga can be forced to re-registered itself automaticaly?
View 1 Replies View RelatedWe're trying to replicate something that Windows servers can do. Basically on a Windows box, you can give it a static IP address, but there is an option to have it update the DNS server with it's IP and hostname. We are trying to do this on SUSE 11.I know I can get this function to work on SUSE if the box is set up as with DHCP. What we're having difficulty is when the server is set up as a Static IP to get it to update the DNS server
View 8 Replies View RelatedI need to register some dll files in ubuntu. I used following command n it gives an error,
HTML Code:
Z:home haraka>regsvr32 "C:Program FilesUnion Assurance HRMAlerts.dll"
err:module:import_dll Library MSVBVM60.DLL (which is needed by L"C:\Program Files\Union Assurance HRM\Alerts.dll") not found
Failed to load DLL C:Program FilesUnion Assurance HRMAlerts.dll
I try to implement thumbnails for files from a Wine program in order to integrate it better in Ubuntu. The Program is Sketchup which creates *.skp files in a binary format, but I found a ruby script that can extract the thumbnail (*.png). Now I wanted to register it in the gnome configuration according to the following instruction:[URL].. It works perfect if I execute the script manually (package ruby installed, script is executable):
Code:
ruby ~/.wine/skp-thumbnailer.rb /home/user/test.skp /home/user/test.png Creates successfully a thumbnail test.png from the file test.skp. With the following commands, I registered the script, but it doesn't create thumbnails automatically:
Code:
gconftool-2 -s /desktop/gnome/thumbnailers/application@wine-extension-skp/enable --type=bool true
gconftool-2 -s /desktop/gnome/thumbnailers/application@wine-extension-skp/command --type=string "ruby ~/.wine/skp-thumbnailer.rb %i %o"
Now my question is how to find the mistake. Do I need to copy the script into /usr/bin ? Apart from that, would it be possible to create it as a shell script (without ruby requirement)? If I knew how to translate it into .sh, I would prefer that.
I have a linux box (Ubuntu 10.04) in a microsoft environment at work. IT wants it to auto-register in the DNS. I have next to no knowledge about networking, so any hints would be appreciated (google didn't give anything useful). Is there a specific configuration file for this?
View 1 Replies View RelatedI can now read, write and format a floppy disk. Score! [It only takes three separate command line instruction to unmount the drive, format, remount specifying the filing system but what the heck I can do it Now I need USB flash drive to be accessible in Slackware. Otherwise I cant get apps and multi-media data across (without great grief anyway) to test the functionality of KDE.
Gads this is hard work! There is no difference in the operation of Linux than UNIX at university in 1989! Now I see why Im seeing all these adverts for work out east saying Experience in Linux installation essential. Linux requires a wad more work than Windows, MacOS, DOS or even CP/M! You really *can* make a living out of this!
Kernel 2.6.21.5, slackware 12.0 as 2.17 [I am speaking here about 80x86 processors, with their segment registers SS, DS, CS, ES.] In a source file for as, I wrote
Code:
.section _STACK
.rept 4096
.word 0
.endr
Now, in the .text section, I want to initialize SS, the stack segment, to point to the _STACK section. In other assemblers, there was a special section for the stack, and the linker cared about initializing SS. Here I use a common section for the stack. For a segment such as DS, I could write
mov ax,_DATA
mov ds,ax
But I don't think mov ax,_STACK would do with as/ls.how do I initialize SS?
I'm a newbie to Linux and need some help in DHCP client configuration.
I'm trying to find a way to set hostname at the start up and get the DHCP client to register itself after it received an IP address.
I've recently installed matlab and after some poking around found that you must start it using a script like:
#>> cd ~root/../matlab2009/bin/
#>>./matlab
the manual tells me that the installation should have made it so that all you have to do is type matlab at the terminal but for some reason this hasn't happened. If you did not set up symbolic links in the installation procedure, you must enter the full path name to start MATLAB, matlabroot/bin/matlab, where matlabroot is the name of the folder in which you installed MATLAB. I've also looked at documentation on ln but most refers to making links between files. Is there a way to link the command "matlab" to the file shown above so all I have to do is type the command and it runs the script?
p.s: Here's what I've tried:
#>> ln -s ~root/../matlab2009/bin/matlab matlab
linux-2fs6:/home/alex # matlab
If 'matlab' is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf matlab
Been a long time since I was on ubuntu again. Saw the new 9.10 version and decided I should take it up again. Only problem is, and I've come across it quite alot, (but never a working solution). That my ctrl key isn't doing anything at all, therefor making every keyboard shortcut (copy/paste/new tab in firefox...etc) not working. It's not compiz his fault, i've had the same issue before i installed it.
Also i tried switching keyboard layouts, when i key press i don't see the ctrl key light up on screen, BUT when i press shift+ctrl, it does Anyone got a clue in how to revive my loving and overused ctrl button again ?
Operating System: Ubuntu 11.04 w/ Unity-2D
I had serveral custom url-handlers setup using gconftool-2 in my old Ubuntu 10.10 setup, but now after reinstalling and updating to Ubuntu 11.04 I can't get a single one to work with Chrome (11.0.696.57) nor other browsers like Midori.
The only solution was to switch to Firefox and setup them manually using network.protocol-handler*
It seems (on the surface) that Chrome insists on opening the links with xdg-open (and if I remember correctly in Ubuntu 10.10 Chrome said it opened the links using the apps set in gconf), but xdg-open only supports the most common http* and ftp* does it not? - Just learned that xdg-open is the default handler for all urls.
I've tried everything, including searching through Chrome's config files, reinstalling Chrome, and tested changing the paths to my apps - but without any luck.
Note that I'm talking about links in Google Chrome, Firefox on the other hand doesn't even check the url-handlers so I had to set them up manually using about:config > network.protocol-handler*
So they work in Firefox when added, but in no other browsers.
Google Chrome opens the links with xdg-open [url] as depicted in the attacheds screenshot, but this throws in error, found in .xsession-errors:
Code:
gvfs-open: svtrip://example.com/: error opening location: The specified location is not supported