I am new to C and linux. My code below does arbitary writes but I cant figure out where or how it does it.
I am calling the insertNode() function with seq = 'MISSISSPPI$' and alphabets = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ$'
Code:
Weird behaviour I should mention is that when I check for NULL pointer in node->child[index], the unassigned values are not null anymore, they point to arbitary memory.
This is my first post in these forums. I'm still quite new to Linux (using Mint 9) so please bear with my not-very-articulate question(s)When I boot up and open up a tty terminal I get a message saying "Memory corruption detected in low memory." I've done an extensive google search about the issue and it seems not uncommon. I ran a memtest with no errors returned, so I'm sure that there's nothing really wrong with the memory; apparently it's a bug in the kernel that's causing this.
I'm using an external Cambridge Audio Dacmagic with F12 and Amarok. This worked great, until I upgraded Fedora this morning. The Dacmagic does not appear anymore in the Multimedia Audio Systems settings, only Pulseaudio is shown. However, in my hardware info widget, the Dacmagic does appear? This is shown as "C-media USB Headphone set". Now I'm totally lost. I did restart Fedora with the Dacmagic on, I did restart the Dacmagic with Fedora running, but nothing changed.Any good suggestions on what I can try next--- Post added at 04:47 PM CST ---------- Previous post was at 03:05 PM CST ----------Isn't the net fun? Poking around, I found I could try "lsusb". The output gives:
[root@Mediacenter ~]# lsusb Bus 004 Device 002: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
I've just added an extra 1GB of RAM memory to my laptop (HP 530). Now I have 2 GB. Everything runs great, except Compiz and 3D games. It looks like anything that's related to the graphics card now slows down. Rotating the cube lags badly, so does the Burn effect, and UrbanTerror is lagging too.
Before the upgrade, I had a Samsung 1GB SO-DIMM, 667 MHz. Then, I bought a Kingston 1GB SO-DIMM, 667 MHz too. When the laptop boots with either of the SO-DIMMs (only ONE GB at a time), everything runs smoothly, like before. But when I put both of them (regardless of the order in the sockets), my video card seems to slow down at nearly half of it's speed.
I haven't tried with Windows yet. Also, my graphics card has a dedicated memory of 256 MB, so there's no memory sharing between video and the RAM.
I just don't get it. Also, there are other people that seem to have slowdowns after upgrading the RAM, but usually the whole system is affected. For me, it's just the video. It actually boots faster with the 2 GB. Yet I found no clear solution to this.
Running Fedora 10 i686, on a 32-bit Intel Core Duo @2200 MHz, video card Intel 945GM Express, with 256 MB of dedicated memory. The swap partition is 2.8 GB in size.
I upgraded from Fedora 13 to 14 over the network. Everything seems to have worked. The one problem after my install is that I have noticed that setroubleshootd consumes alot of memory.
[Code]
It doesn't take long for setroubleshootd to jump in memory usage. I can kill the process but it will start up again. I have tried disabling the service but it doesn't show up in /etc/init.d. # service setroubledshootd stop setroubledshootd: unrecognized service So I am not sure what I can do to resolve the issue with setroubleshootd besides killing it off every 15 minutes.
I've just installed ubuntu 10.04 on a Lenovo Thinkpad Edge. Problem is that it generally doesn't detect the USB memories that I've been trying to use. On two occasions it did in fact detect the flash memory, but it couldn't open/read it for some reason (USB memories works on other computers), but all the other times the USB flash memory didn't even show up in Nautilus.
I am no techie so I'm not sure how to check what the problem is here. I've been googling it but either it refers to some specific stuff that doesn't cover my case or it simply is too technical for average users like me to understand.
When I am trying to run my application on RHEL 6 (Kernel 2.6*), I am getting the following error.*** glib detected *** ./corenms:malloc(); memory corruption : 0x086691d0 ***
I am looking to buy some memory for my netbook. Currently I have 1 GB of DDR3 memory. However, the specification says that 2 GB of memory is the max. However, when I do the following it says that 4GB is the max:
I'm using Ubuntu 10.04 LTS and I'd like to upgrade to 10.10. I tried following these instructions:
[URL]
But the message notifying me of the upgrade does not appear after I install all of the 10.04 LTS updates. I've tried quit and relaunching the update manager and clicking "Check" a few times, but nothing has popped up. Is there some setting I need to have configured right somewhere?
I've upgraded a P4 system from 8.04 to 10.04 and it hangs on boot saying it can't find root (/dev/md0).ALERT: /dev/md0 does not exist.I've added rootdelay parameters in case it was a timing thing and cat /proc/modules shows raid1 etc. (although no md ??).I noticed the md and raid1 modules weren't in the /etc/modules and /etc/initramfs-tools/modules - so i added them and did a: mkinitramfs -o <name> 2.6.32-22-generic
Oddly at the initramfs prompt when I type "reboot" I see it flash up with syncing md devices (or similar) just my /dev/md0 and /dev/md1 are not in the /dev partition (although the individual devices are - /dev/sda1 etc.).
Since I upgraded to 10.10 my Canon camera is not detected when I plug it in.
This happened a few years ago and I was able to downgrade libgphoto2, but when I tried that this time I ran into dependency problems. When I returned to the version that comes with 10.10 it worked once then failed ever since.
My USB devices are being detected when I run the 'lsusb' command.However there is no driver that is set to the device.Also the /dev/sdX device is created so there is a mount point
After upgrading to 11.04 everything went fine for almost 6 weeks. Now the keyboard is no longer detected. It happened overnight, without any updates or changes. Mouse is working. (Partial upgrade from 10.10, desktop computer)
I have just upgraded to 10.04 and everything was working perfectly, until I upgraded my memory. I cannot boot from live USB / CD - these take me to the initial boot option menu, from which every option (except memory test) results in blinking cursor top left of screen, and cannot type.
Reinstalling my old memory sticks results in the system working fine. The new memory sticks pass memory tests (bios & ubuntu boot) with no errors whatsoever, and the boot sequence progresses fine until the point where the OS tries to boot. I am running AMD Athlon 64 3200+, Asus K8V Deluxe m/b. Memory that works is 2x 512mb PC3200 XMS. Memory that doesn't work is 3x 1gb PC2700 ECC. but please provide instructions on the basis that I know nothing, because I no practically very little about linux / ubuntu.
I am running -current on an ASUS eeePC 1000HE. Wireless was working fine up until the time I applied the latest changes from the Slack -current tree, which upgraded wpa_supplicant. Now, no networks are detected.
I looked at some related threads here and did some basic checking: neither the eth1 nor wlan0 interfaces show up in iwconfig or ifconfig output. Am afraid I am still a wireless dunderhead and don't know where to start troubleshooting this issue.
No wireless after upgrading to linux kernel 3.0 in opensuse 11.4. I'm using Kde and gnome 3, everything was working fine under the 2.6.39 kernel, but now both only detects my wired connection. Any help resolving this would be greatly appreciated. I have a Netgear WNDA3100 adapter that uses the Atheros drivers. It also is no longer detected in my Fedora 15 after upgrading the kernel, but it still works in Mint 11 with the 2.6.38.8 kernel.
I am using Ubuntu 10.04. The Tata Photon+ card Huwai EC1260 was working flawlessly. However, I recently did a firmware upgrade on the card that was provided by Tata Indicom for it to work on Windows 7.
After that, the card is no longer detected as a mobile modem in Ubuntu. If I try to add a new connection, all options are disabled (whereas earlier Tata Photon card would appear automatically).
The product ID has changed. What change can I make to Ubuntu to enable it to detect the card again.
Actually we are trying to upgrade Memory in Dell PowerEdge 1850 it has 3 memory banks and each bank has 2 slots and it supports max of 12 gig and 16 gig we r2 4gig rams. The box is running with Debian Os with kernel 2.4.X we have upgraded the bank-1 and bank-2 with 2*2G.B rams total of 4 RAms with 8 G.B The Problem is Bios is showing 8 GIG but at the operating system level it is showing about 3049 gig instead of showing 8 GIG.
I tried to install OpenSuse 11.3 on my brand new pc, which already had Windows 7 proffessional in it, and I went step by step through the installation without changing anything. It didn't work. I tried for a second time and this error message kept popping up: "Creating device modes with udev 2.0436224] [drm: i915_diver_load]*ERROR*Detected broken BIOS with 262140/2644kb of video memory stolen. 2.0436224] [drm: i915_diver_load]*ERROR*Disabling GEM(try reducing stolen memory or updating the BIOS to fix)"
And then a lot of letters and numbers wich make no sense to me. Now the only way I can initiate OpenSuse is with the OSuse boot dvd and on failsafe mode.
I am using malloc and frees a lot in my program. It shows its allocated but when i remove it doesnt show as the memory is removed(I am using the top command to view VIRT memory usage). If this continously grows what would happen to my program (Will it go out of memory?)
I have a computer with 16GB of ram. At the moment, top shows all the RAM is taken, (NOT by cache), but the RAM used by the various processes is very far from 16GB.I have seen this problem several times, but I don't understand what is happening.My only remedy so far has been to reboot the machine.
I am looking for free database that has low memory usage and innodb and memory like engins that has C API and support trigger and client/server support for using in embedded linux systems.
we found that if we use 'top' to show the memory usage of a server (SuSe Linux 10), we can get virtual memory usage as well as 'Resident memory' usage. For virtual mem or a particular process, it is around 1.1GB, which is large but for resident memory, it only consumes 300MB. Are there anyone who knows what the differences are? I would also like to know whether the difference (1.1GB - 300MB) = 800MB are actually available for use by other applications in the system.
I am monitoring physical memory in a server I administer, and my hardware provider told me they had increased physical memory size to 4Gb... However, using several tools (free -m; top; dmesg | grep Memory; grep MemTotal /proc/meminfo I discovered that I actually have 3Gb, not 4... But, my doubt comes from the fact that dmesg | grem Memory tells me I have 3103396k/4194304k available The first number is effectively 3Gb, but the second one, is 4! so, why I am looking at this two different numbers?
I have had a fresh install of Ubuntu 9.10 and installed some software after that.Since third some, some process is eating half of my memory.I have checked processes running in system manager but everything is normal.Maximum is consumed by compiz which is about 26 mb, seems very normal.I did restarted my computer several times, and in the start for 5 mins, its fine after that again my cpu fans runs at very fast speed and my one cpu is used up 95 % (I have dual core).Please help me out, this invisible thing is driving me crazy.I am attaching my htop screen shot (sorted by cpu %), now the cpu is not used by completely but fan is still struggling hard and fast.
I am writing an application that wants to access periphals registers outside the standard (allowed) memory area.
Doing so gets me "segmentation fault".
I know, this is natural behaviour.
One way of getting around this is writing the module which has to be loaded by linux. I will consider this some time later.
For now, I want to come to some quick result and allow linux or gcc compiler to write to those memory areas of periphals. Is there a direct way to do so?