Ubuntu :: Memory Mapping Failed. Error: 1?
May 26, 2011
So, I was working with Ubuntu 9.10 and I wrote a C program which was working just fine. Then, I have installed Ubuntu 10.10 and tried to run this same program again. However, I get the following error: Code: Memory Mapping failed. Error: 1 Part of the code has the following: Code: volatile ulong *memory;
int fd = open("/dev/mem", O_RDWR | O_SYNC);
if (fd < 0) {
printf("Could not open memory.
");
return(0);
}
code....
Does anyone have an idea what the problem could be? I do not know if there would be any significant change between Ubuntu 9.10 and 10.10 that could be generating me this problem.
View 3 Replies
ADVERTISEMENT
Feb 20, 2010
I'm a recently proud owner of a new Aspire AS3810T with Fedora 12 installed, when it boots up before entering the boot screen when it loads I see this error message:IOMMU: Mapping reserved region failedHow can i fix this error? It's quite frustrating
View 2 Replies
View Related
Feb 2, 2010
I need to read many files very fast: reading them from the disk leads to bad performance!!I copied the files into /dev/shm, being sure that they were copied in memory, but the performance didn't improve.Then I created a tmp file system in /mnt (/mnt/tmpfs) and I mounted it withmount -osize=400m tmpfs /mnt/tmpfs -t tmpfsand copied the file in. But the performance still remain almost the same.I've the doubt that I didn't copied the file in memory!The question is: Did I make the right things?I run a FC 11 64 bit on a dual procs server with 16 Gb memory
View 1 Replies
View Related
May 4, 2010
I'm working with a lot of data, but always the same. I have, say 2GB that I keep loading 100 times a day from a local disk to do some computations.I was wondering if anyone knew if it is possible to read it once for all and then access it like a file but with the speed of RAM access. I would be looking for something like: Code: file2mem ~/mybigdatafile.dat ~/mybigdata_thats_now_accessed_superfast.dat And then the data is accessible in a way like with a symlink...
View 9 Replies
View Related
Nov 4, 2010
As i undertsand - out of 1GB of the virtual Address space for Kernel from 3GB to 4GB of the process address space, Kernel image (code, data, bss, stack, heap) resides staring @0x0 address. Vmalloc area starts either at the end of Physical ram size or at 896M. This 896M cap is mandated to ensure that minimum of 128MB is reserved as vmalloc_reserve for vmalloc,kmap etc.
Is the understanding correct? Now trying to map Physical Zones into this 1GB address space
Initial 16MB is mapped to ZONE_DMA
16MB - 896MB is mapped to ZONE_NORMAL
896MB - 1024MB is mapped to ZONE_HIGHMEM
Does this mean that Kernel image is residing in ZONE_DMA area? Any call to vmalloc() in kernel code will return address beyond 896M? insmod of any LKM will internally invoke vmalloc() to obtain contiguous area - where will this code physically located along with rest of kernel code in ZONE_DMA or in ZONE_HIGHMEM?
View 1 Replies
View Related
Aug 28, 2010
I keep getting the error "reverse mapping checking getaddrinfo for fileserver.0.0.10.in-addr.arpa [10.0.0.10] failed - POSSIBLE BREAK-IN ATTEMPT!" in /var/log/auth.log I have a DNS (bind9) setup on my Linux router with the following config:
Code:
router:~# less /etc/bind/named.conf.local
// Local zone definitions here.
zone "0.0.10.in-addr.arpa" {
type master;
file "/etc/bind/db.0.0.10";
[Code]...
View 1 Replies
View Related
Sep 8, 2011
I'd like to learn it. So I installed lenny & grub2, after that win7, reconfigured grub2, upgraded to squeeze. All is fine, but I cant start working in Debian as I can work only in Windows. So I decided to use qemu to emulate win7 booting. I have sda1, sda2 for squeeze; sda3 and sda4 for win7. If I try "qemu /dev/sda3" I get disk read error. If I try "qemu /dev/sda" I have grub 2 boot screen and when continue booting win7 I get "Ramdisk device creation failed due to insufficient memory" (as screen on [UR:]). I tried to use m -1024 parameter and got screen with "Windows load files" and reboot to grub2 screen/
View 4 Replies
View Related
Apr 19, 2010
I get this error when I run "sudo apt-get install python-software-properties"
Preconfiguring packages ...
dpkg: unrecoverable fatal error, aborting:
fork failed: Cannot allocate memory
E: Sub-process /usr/bin/dpkg returned an error code (2)
I'm trying to install deluge via ssh and my vps has 512mb ram and is only using 11% of it prior to running the code.
View 2 Replies
View Related
Mar 31, 2010
When the RPM runs it come up with this error. How do I install the required dependencies? I have added more repositories, but still there are a few dependencies missing. Is there a zypper/sudo -get or something available? Opensuse 11.1 Gnome
[code]...
View 4 Replies
View Related
Jan 8, 2011
I have been setting up a vps I got out with bhost.net, with CentOS installed. I've been learning and have set up everying I need with the exception of ftp/sftp.
Using yum I installed vsftpd and ran into problems, thinking it was something I might of done I did a fresh install of CentOS and I still recieve the same problem on a fresh install so it is nothing I have done to the server.
The problem is when connecting via a sftp client I get an out of memory error. This error is listed in the putty faq ( url ) under A.7.5, there is a brief explaintion of the cure under A.7.6.
there is mention of a login script but I don't know where this is located. I'm a novice at Linux but by no means incompotent when it comes to computing.
View 5 Replies
View Related
Aug 4, 2011
System: F15-64bit, Intel Core i7 on Asus P6T mobo. I've upgraded to 2.6.40, and I'm regretting it!While 2.6.38 still works fine (apart from the usual random panics), 2.6.40 gives errors on boot, and reliably panics soon after login. Early in the boot I get the message "IOMMU: mapping reserved region failed" 8 times. Then boot appears to proceed as normal, at least once the nvidia blob is removed in favour of Nouveau (otherwise, forget it...).
After graphical login, the system freezes within a couple of minutes.After a text login, the system freezes within seconds with a panic, starting "BUG: Scheduling while atomic: swapper". A forum search for the IOMMU message leads to https://fedoraproject.org/wiki/Commo...IOMMU_handling but this talks about old 32-bit releases without BIOS virtualization support.
[Code]...
View 5 Replies
View Related
Jan 6, 2010
I am having trouble upgrading from old grub to grub-pc. I have a clean install of 9.10 on a system with a new ASUS motherboard with Nvidia RAID configured as RAID 0.Although I read the page on SATA pseudo-RAID, this doesn't seem to apply, as both 9.10 and Windows XP installed cleanly without any additional drivers required.I did notice that contrary to the documentation, 9.10 installed with grub v0.97, not the new one as claimed. It is working fine, but just to be ornery, I'm trying to upgrade to the new one, and this is where I ran into trouble.Whenever I try to run grub-upgrade, I get an error from grub-probe that 'no mapping exists for' my raid partition. Apparently grub-probe can deal with the device, but not with the fs_uuid, as follows:
twescott@latitude:~$ sudo grub-probe -t device /boot/grub
/dev/mapper/nvidia_fcacbeib5
twescott@latitude:~$ sudo grub-probe -t fs_uuid /boot/grub
grub-probe: error: no mapping exists for `nvidia_fcacbeib5'
The system seems to be recognizing the RAID with no problems, as in:
twescott@latitude:~$ sudo blkid
/dev/mapper/nvidia_fcacbeib1: UUID="28D83EB2D83E7DDE" TYPE="ntfs"
/dev/mapper/nvidia_fcacbeib2: UUID="4344165e-07c3-4da6-b640-da9bf964a74e" TYPE="swap"
/dev/sda: TYPE="nvidia_raid_member"
[code]....
I'm thinking the problem may be in my grub device.map file, which only lists the SATA raw device aliases, but I may be completely wrong:
twescott@latitude:~$ cat /boot/grub/device.map
(hd0) /dev/sda
(hd1) /dev/sdb
View 5 Replies
View Related
Aug 7, 2011
this is a dual boot XP/UBUNTU 10.04. while using XP, the computer rebooted itself. the GRUB's screen appears, but neither the ubuntu nor the XP option works.
Ubuntu gives this error message:
Code:
0.797795 kernel panic-not syncing: vfs: enable to mount root fs on unknown-block (0,0)
XP hangs on a black screen... and that is it (thanks for support windows!) UBUNTU 10.04 live CD hangs when the 5 processing dots appears bellow the ubuntu logo. hangs the same way with the processing bar in UBUNTU 9.04 live CD. memory check (memtest86) is showing thousands of errors right from the start.
View 1 Replies
View Related
Oct 1, 2010
Quote:
Maybe increase swap space will help? How to do it? When I install suse 11 on this box, I remeber it shows the swap space is 2G, I didn't find it anywhere now...
Quote:
View 8 Replies
View Related
Nov 2, 2010
I am currently trying to upgrade over 100 rpms on multiple Red Hat servers. Whenever I try to do a rpm -u /packages/*.rpm i recieve a failed dependencies error on the very first rpm. I know that I can go though each rpm one by one and trace each dependency but that will take forever. Is there a way to skip these errors? I know the -nodeps command for rpm but I dont want to screw something up but running all of these rpms on -nodeps
View 10 Replies
View Related
Jun 29, 2010
I want to ask, what should my computer look like if I plan to compile and run the linux kernel a lot? I mean what kind of hardware would someone recommend I use. Also is there a way I can fix this and maybe speed up the compile process. I tried make again and memory was again exhausted.
View 7 Replies
View Related
Oct 14, 2010
Subprocess failed. Error: RPM failed: installing package xen-4.0.0_21091_06-0.1.1.x86_64 needs 27MB on the /boot filesystemI seem not to be able to change the size of the /boot, but 11.2 loads okay but not 11.3There only 19MB left from 66 and I can't make it bigger, I hope there is someone thathas seen this. I would like to see some of the update with XEN.
View 1 Replies
View Related
Apr 9, 2010
Today i upgraded my system and started getting error when i update, install or remove a package. The error isn't restricted only to one repository so i thing something is wrong with my system.
[Code]....
View 4 Replies
View Related
Feb 12, 2011
Having a problem with my Belkin wireless adapter when trying to stream music to my Pinnacle Soundbridge.The network connection is usually rock steady but drops anywhere between and few second and a few minutes after streaming music. Network manager still shows the connection to my home network as active but it is not. The connection comes back when I unplug the dongle and plug it back in. I found the following message repeated in the syslog
phy3 -> rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x3040 with error -110
Only thing I have noticed is that it refers to rt2x00 when I had thought it used the rt73usb driver.Had the PC and the Soundbridge for a number of years without any problems but I did recently have to reinstall Ubuntu from scratch. Currently running Ubuntu 10.10
View 4 Replies
View Related
Nov 23, 2010
i am trying to install symantec endpoint on a linux server by this command rpm -ivh sav-1.0.3-8.i386.rpm but it gives me the following error error: unpacking of archive failed on file /opt/Symantec/bin/navdefutil;4ceb8d6b: cpio: mkdir failed - No such file or directory
View 3 Replies
View Related
May 1, 2010
simple scan error as follows: Failed to save file ImageMagick returned error code 11 Command line: convert -adjoin /tmp/simple-scan-DA9MBV.jpg /tmp/simple-scan-XCK4BV.jpg /tmp/simple-scan-NZVYBV.pdf Stdout: Stderr: using karmic note: I have apparmor extra profiles installed but didn't notice one that related to simple scan or imagemagick. Red herring or not?
View 6 Replies
View Related
Mar 5, 2011
When I try to run the Online Updates to the system through Yast I get the following errors for each package:
[QUOTE]
Subprocess failed. Error: RPM failed: warning: /var/cache/zypp/packages/Packman Repository/Multimedia/i586/libaudcore1-2.4.4-1.pm.1.1.i586.rpm: Header V3 DSA/SHA1 Signature, key ID 9a795806: NOKEY
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting "" records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
[Code]...
View 3 Replies
View Related
Feb 13, 2011
Lately when I've tried to update my packages many of them don't update. I get nothing out of the ordinary when using the terminal but when I try to update via the Update manger I get this error message:
Code:
Error message:
Fetch failed: W:Failed to fetch bzip2:/var/lib/apt/lists/partial/mirror.steadfast.net_debian_dists_testing_main_source_Sources Hash Sum mismatch
W:Failed to fetch bzip2:/var/lib/apt/lists/partial/mirror.steadfast.net_debian_dists_testing_main_binary-amd64_Packages Hash Sum mismatch, W:Failed to fetch http://mirror.steadfast.net/debian/dists/testing/updates/main/source/Sources 404 Not Found [IP: 208.100.4.53 80]
[Code]...
I've tried several different mirrors but get the same error with every one. Same result with ftp as well. Yesterday I upgraded to Wheezy and every package successfully upgraded, but today the problem started again.
View 10 Replies
View Related
Aug 26, 2009
when ever i give yum update am geting this error. failed to use search generator: failure:repodata/318b9912817ec3309c6defc47d79e878c52a21fd1457d191bb ff060fdb7f7f8d-primary.sqlite.bz2 from rpmfusion-free-updates: [Errno 256] No more mirrors to try. I was trying to install tomcat using yum. Is there any way i can install tomcat other than yum utility. I downloaded he zip folder for tomcat which i downloaded from apace tomcat site.
View 2 Replies
View Related
May 17, 2011
I upgraded a system from 10.3 to 11.4 and I get the following error when trying to run mysql:
Will update MySQL now, if you encounter any problems, please read following file:
/usr/share/doc/packages/mysql-community-server/README.SuSE
Log files inconsistency, please merge following files manually:
/var/lib/mysql/mysqld.log
/var/log/mysqld.log
How can I correct this? Mysql will not start so I can not run any of the utilities.
View 2 Replies
View Related
Jun 14, 2010
I'm running 11.2 KDE 4.3.5, recently every time I've tried to use the Updater Applet I get this error after choosing to install an update: PackageKit Error internal-error: Installation aborted by user. Then I run YaST to try to manually install the update and get the following error:
Subprocess failed. Error: RPM failed: error: package kwin-4.3.5-0.2.1.i586 is not installed. Really unsure how to fix this but it's only blocking updates/patches, I can download new programs fine.
View 5 Replies
View Related
Nov 13, 2010
Today, I burned a copy of Lubuntu 10.10 Maverick Meerkat and tried installing it on my old 2.4Ghz Celeron 192MB RAM (actually 256MB with 64MB dedicated by the BIOS for the internal video card) laptop, which installed Lubuntu 10.04 Lucid Lynx with absolutely no problems. However, when I tried inserting the disk for Maverick this time around, the live CD boot always hangs during Plymouth, and pressing Esc shows:
Code:
Generating locales. en_US.UTF-8.I modified the boot options and removed splash and quiet, and I got a whole lot of messages that seemed like errors, but I think the root of the problem was this:
Code:
Out of memory: kill process 620 (localedef) source 929 or a child Killed process 620 (localedef) VS2: 59500kB, anon-rss: 57596kB, file-rss: 820kB After that, it got a few messages about localedef timing out for 120 seconds or something. Now I'm no idiot, I'm well aware that my laptop is cutting it very close to the minimum RAM requirements of the live CD, but it's just the live CD that stops me from running Lubuntu, because once it's installed, I have no problems. I ran Lubuntu 10.04's Live CD with no problems and the installed LXDE system ran amazingly fast. I'm sure if I could just install Lubuntu 10.10, it would run at the same speed. The problem is that the Lubuntu wiki still writes the minimum system requirements of:
[Code]..
View 2 Replies
View Related
Nov 1, 2010
I have wordpress server running on my machine and I have SELinux enabled for enforcing/targeted. I am unable to insert images, music, etc from the add new post field on the wordpress dashboard. I receive the following error:
image.jpg has failed to upload due to an error The uploaded file could not be moved to /var/www/html/wordpress/wp-content/uploads/2010/10. When I disable SELinux completely, it works fine. Does anyone know what Boolean I need to check to resolve this issue?
View 4 Replies
View Related
Feb 26, 2010
Online Update is offered up 6 updates - only 2 succeeded (Mozilla and libpoppler). Here's the errors for other packages: kbd - Keyboard and Font Utilities (includes aaa_base update) Subprocess failed. Error: RPM failed: error: package kbd-1.14.1-20.2.x86_64 is not installed
php5: fix for several vulnerabilities Subprocess failed. Error: RPM failed: error: package php5-ctype-5.3.0-2.4.3.x86_64 is not installed
patterns-openSUSE: add susehelp to KDE base pattern
Subprocess failed. Error: RPM failed: error: package
patterns-openSUSE-file_server-11.2-20.22.1.x86_64 is not installed
KDE 4.3.5 Update
Subprocess failed. Error: RPM failed: rpmdb: PANIC: Invalid argument
rpmdb: PANIC: fatal region error detected; run recovery
[Code]...
View 6 Replies
View Related
Jul 30, 2010
So I installed the Unison synch software with sudo apt-get install unison-gtk. When I set up the two directories for synchronization it looks like this: $ unison ssh:\SERVER\pathpath /var/www/path/path/path
I am getting this error in terminal Uncaught exception Gtk.Error("GtkMain.init: initialization failed ml_gtk_init: initialization failed") Fatal error: exception Util.Fatal("Error in getLogch: /home/path/.unison/unison.log: No such file or directory"
View 1 Replies
View Related