Debian :: Low Power Server / Use USD Card As Write Buffer So HD Idles
Dec 18, 2015
I have made a server using a bananapi. The bananapi is an embedded linux mini PC, using an allwinner A20 SOC. This server boots and runs from an uSD card, and logs data from sensors to an attached 1TB hard drive. This works OK, but the hard drive consumes a lot of power (about 2.5W), this essentially doubles the amount of power needed. I am planning to power this setup from an accu, therefore I would like to keep power consumption as low as possible.
I am planning to let the application log to the uSD card. After a while the uSD card is almost full. At that moment I can wake up the HD, move the data to the HD, delete the data from the uSD card, set the HD to sleep, and wait until the uSD card is full again. Is there some clever way to do this? I can do this with basic shell scripting, but then I get all kind of issues like open files that are copied to the HD while they are still being filled by the logging application. This would mean they end up on the HD incomplete.
View 5 Replies
ADVERTISEMENT
Apr 12, 2010
Im running a Debian 2.6.26-2-amd64 webserver with apache2 only on a Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz that has 2GB of ram in it. I installed htop a few days ago and have been looking on it for a few days now. the server idles on about 80~ish tasks constantly with arond 20 apache tasks/connections to it all the time and the cpu usages of the 2 cores at about 1% each. but asoon as more apache2 connections/task get started and the servers tasks reach 120-140~ Apache2 timesout if you try to go to the webpage i host on the server. when it's back down to around 80~tasks you can reach the webpage once again. why is this ? what's causing this to happen ?
View 3 Replies
View Related
Jul 16, 2011
When I try to upgrade, I always get this message: "E: /var/cache/apt/archives/linux-image-2.6.32-5-amd64_2.6.32-35_i386.deb: failed in write on buffer copy for backend dpkg-deb during `./lib/modules/2.6.32-5-amd64/kernel/drivers/net/s2io.ko'"
View 14 Replies
View Related
Aug 27, 2011
I'm attempting to get Debian (Squeeze, latest net-install CD) working on a Power Mac G5 Quad with a Radeon X1900 Mac edition video card (PCI-Express.) The installer acted a bit weird right from the start, telling me that the step "Install the system" failed (with nothing in the way of useful error information,) but I got the base system installed at least. It booted fine to framebuffer console, so I set about installing GNOME on it. apt finished with nary a complaint, but when I rebooted, I found that when it's ready to launch into X, it chokes up and just sits there with a blank screen and a cursor. (Weirdly, though, the screen itself flickers on and off at a high rate, faster than the actual cursor blink.)
Framebuffer console still works, at least, so I was able to boot into single-user mode and do some investigating in my own limited capacity for this stuff (by which I mean "Google error messages and see what specifics are requested.") lspci -k shows the video card properly with the manufacturer and product name, so it is recognizing it, at least. When I try Xorg -configure, though (Xorg 1.7.7, it says,) it aborts with a "No DRICreatePCIBusID symbol" message. Checking dmesg gives me a "process Xorg mapped non-existing PCI legacy memory" message, followed by an "invalid ROM contents" message underneath.
I'm not sure what all to make of this. I've found a thread about problems getting the same basic setup (G5 Quad, X1900, Debian) to work, but it's a couple years old and the symptoms are different. There's some discussion there about the radeon/radeonhd driver looking for Atom BIOS information on non-Atom BIOS cards, which would explain the "invalid ROM contents" message, but on the other hand, if lspci recognizes the card properly, would that be the problem? I don't know. Obviously it's playing nicely enough to run framebuffer console output properly, but beyond that I have no idea. I'd really like to get this working - it'd really improve things over the GeForce 6600 it came with...
View 1 Replies
View Related
May 24, 2011
After reading a SDHC (camera) card with my computer in a non-HC compatible card reader, i guess i destroyed the partition table.
After getting a SDHC-compatible reader i found it seems there is no part. table on the card and no fdisk(1), badblocks(1) can read that card.
Seems they will wait forever to get a part table.
dmesg says:
How to recover the card?
View 2 Replies
View Related
May 29, 2011
i am trying to send malformed string into ability ftp server in order to have some unexpected crashes. i login in into the ability ftp server on my window 7.On my virtual machine,i am working on a backtrack 4, i tried to send some string to have some unexpected crashes, but i couldn't success.here is the code:
PHP Code:
#!/usr/bin/python
import socket
[code]...
View 14 Replies
View Related
Jun 4, 2010
I use Squeeze with Xfce. My problem is that recently (after the xfce updates) the xfce power manager doesnt react to the power button - it is set to suspend. I dont have gnome-power manager or anything like it running.
If i reboot the computer, the power button will work but if i suspend and resume, it doesnt work again.
The computer is built on an Asus M3N78-VM mobo (2GB RAM/Athlon3200+ single core).
acpi_listen detects the button press.
Any thoughts?
View 2 Replies
View Related
Feb 23, 2010
I tried testing mail from the command line as I've never used it.
Code:
It sits there and does nothing. I waited ten minutes...still nothing. Killed the firewall, same gig. Obviously this is user error but what I'm doing wrong is unknown to me.
View 7 Replies
View Related
Feb 1, 2015
I'm having problem in installing debian 7.5.0 on Dell Power Edge R 470 1U Rack Server ( Not Sure If am using RAID 1 ) whereby the hard drive is not detected. This server is running 2 Proc/2x1.2 SAS HDD . The installation went ok until i reached into partition section whereby the drives is not there to be selected , throwing an error " No disk drive detected , Driver needed fro your disk drive "
I've tried to use debian-7.8.0-amd64-DVD-1.iso
My server details:
Dell Power Edge R 470
32GB RAM
2 x 1.2 TB SAS HDD
View 4 Replies
View Related
Mar 15, 2010
cciss :cmd ffff880074984e00 has check condition byte 2 = 0x3
Printk : 30 messages suppressed
Buffer I/O error on device cciss/c0d0p2 logical Block 2211585 to 2211594
View 1 Replies
View Related
Jul 6, 2010
how to increase the scroll-back buffer? In LXTerminal, I can only scroll back about three screens.
View 6 Replies
View Related
Oct 12, 2010
I currently have a debian hpc server unit of 10 p4 computers running under debian lenny in use for serving my home network via pxe. I was wondering if there was anything I could use to allow the same read and write acces that is on my pxe machines on my new palm pre plus. That would save me the hassle of syncing all my documents and movies etc to my phone every day or so.
So basically what I am asking is if I can use the current 5tb nfs raid and mount it some way to a remote ip that I can access fully on my phone without the need for a flash plugin. Btw the phone is homebrew app ready.
View 2 Replies
View Related
Oct 23, 2015
I have a Philips saa7134 tv tuner i have configured it because of not having eeprom recognition. Now i am facing xawtv a delayed sound "pcm buffer overrun..." is there any way yo fix it. I use KDE, and aplay when playing sound in TVTime but still the same thing happens delayed sound. and is there any option in those players that i can set the channel frequency manually?
View 0 Replies
View Related
May 21, 2010
I recently did a fresh install of squeeze. I have the stock 32 kernel along with the 34 from experimental (it is listed as stable by kernel.org). I installed version 195.36.24 of the Nvidia driver using the Nvidia installer, and after starting X the system became unresponsive.
grep '^(E' /var/log/Xorg.0.log
(EE) May 21 11:28:50 NVIDIA(0): Failed to allocate primary buffer: out of memory.
(EE) NVIDIA(0): *** Aborting ***
I find this strange considering that I have used this driver with no problem on a 33 kernel and the same video card:
01:00.0 VGA compatible controller [0300]: nVidia Corporation G72M [Quadro NVS 110M/GeForce Go 7300] [10de:01d7] (rev a1) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device [1043:1212]
Flags: bus master, fast devsel, latency 0, IRQ 16
[code]....
I believe it has 256MB of video memory, and I have 1GB of system memory. Is this just a problem with the 34 kernel?
View 8 Replies
View Related
Feb 8, 2011
i noticed my desktop has the option in its bios to use this since i mainly use it as a server i wanted to be able to power it on remoly once i found out it was possible
lets say for sake of example the mac address on it is 00:11:22:33:44:55 on the dekstop
also wondering if it is possible to power down the nvidia video card i would like to have it complexly ignore the card's existent and cut power to the slot i would like to basically pick server/desktop mode from grub 2 default being server
View 6 Replies
View Related
Sep 27, 2010
I'm getting this error when restarting clamav-daemon:clamd libClamAV Error: cli_dbgets: Line too long for provided bufferThis happened on two systems today after I upgraded via apt. Versions used: Debian Lenny w/ clamav-daemon 0.96.3+dfsg-1~volatile1Has anyone seen this and know what to do? clamd seems to be running, and the
View 1 Replies
View Related
Sep 27, 2010
I am using a Linksys wpc600n wireless card that works fine in windows xp, but will not even power on in ubuntu. I tried to use the pccardctl command to get the card to turn on but it still does not turn on.
View 1 Replies
View Related
Jun 25, 2011
i bought a new phone(Sony ericcson xperia x8 ).i had been using it fine till few days back.now, i plug the usb.the drive appears, i copy files, files appears in the drive, eject.but the files dissapear.when i plug the usb again, the files arent there.
View 6 Replies
View Related
Aug 13, 2009
Is there a command to turn off my Broadcom wireless card to save power. In Apple, the have an Airport off listing under the airport menu, Is there something for Fedora?
View 3 Replies
View Related
Aug 19, 2010
One of the PC having Ubantu gets disconnected automatically from the network.As we do in normal windows is that we get to the device manger and select the LAN card properties and check off the power management check box similarly how can be do this thing in a linux OS.
View 2 Replies
View Related
Dec 24, 2008
I am using OpenSuSE 11.0
KDE 3.5.9
Konqueror
I was able to copy 227 images to a brand new 2GB memory card and I am only using 8% of the card and now I can't write to it anymore?
Code:
Filesystem Size Used Avail Use% Mounted on
df -h returns this : /dev/sdd1
1.9G 136M 1.8G 8% /media/disk-2
This isn't the first time this has happened either. Just the last couple times I didn't really care enough to pursue it. But now I am trying to load a card for my daughters digital photo frame and I can't because now all of a sudden I can no longer write to the drive? The exact error message I get is: "Could not write to /media/disk/image.jpg" and when I try to create a new folder, I get a disk full error message? How in the heck is this possible when I am only using 136MB of 2GB of capacity?
View 5 Replies
View Related
May 20, 2011
Code:
mount
/dev/sdd1 on /media/E0FD-1813 type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush)
cp 'Aankhon Aankhon Mein hum tum ho gaye deewane.mp3' /media/E0FD-1813/Music/sumeet/a
cp: cannot create regular file '/media/E0FD-1813/Music/sumeet/a/Aankhon Aankhon Mein hum tum ho gaye deewane.mp3': Read-only file system
The micro sd card mounts & works as fat32 in windows xp just fine.
View 14 Replies
View Related
Apr 3, 2011
I've star rated hundreds of tracks. All I want to do is write the 4* & 5* tracks to an SD card for use elsewhere. Banshee can use Brasero to write them to CD so at a push I could write a CD then copy it back to an SD card but that seems the long way round.
I'm using Banshee 1.8.1 on Lucid.
View 2 Replies
View Related
May 7, 2011
I've got a 2GB SD card, I'm trying to transfer some videos on to it, but Ubuntu keeps on prompting me to open Shotwell Photo Manager.It won't let me create folders or transfer my videos to the SD card.
View 4 Replies
View Related
Sep 21, 2010
I plugged in a SDCard (SanDisk 4GB) with the write protect On in my Ubuntu system. Ideally this shouldn't have allowed me to write to this card. But it did. And that's when I found that it was getting mounted as a rw filesystem instead of ro. But the same card when I inserted it in another Ubuntu system with write protect On, this problem was not there. So nothing wrong with the Card.
View 3 Replies
View Related
Feb 17, 2010
I am using Sandisk 2GB micro SD card on ARM processor EP9307A. The card is detected, mounted.
I can read data from the SD card. But cannot write to it. There is no error when I attempt to write to the Card. It appears as if its working fine. But after umount and re-mount, the data written is gone.
Here is the log when the SD card is detected:
# insmod drv
card size = 1977614336, sector size = 31, wp_grp_size = 127, wp_grp_enable = y
S:00001000 M:fffff000
What is the significance of Write Group Protect Enable (wp_grp_enable=y). Is it the case that the SD card is write protected.
Using CMD9 : SEND_CSD , I can read the Card Specific Data (CSD).
I have tried CMD27 : PROGRAM_CSD , to CLEAR wr_grp_enable : No effect seen.
I have tried CMD29 : CLEAR_WRITE_PROT ,: No effect seen.
Where is the issue,
1. I could not send commands properly.
2. Card cannot be set free from WRITE_PROTECT.
3. Something else.
View 2 Replies
View Related
Aug 31, 2010
I am trying to write a kernel module that will DMA my custom card. Right now when i plug the card into linux no valid PCI device shows up (meaning I probably have a error on my end, i know) however, If I halt the system at startup in the bootloader (uboot) I am able to directly access the card as I know in uboot the physical memory address that is mapped to my device. Is there a way I can access the card in a simliar fashion in linux?
View 1 Replies
View Related
Nov 2, 2010
I have this Lumix G2 camera from Panasonic. Problem is that I cannot put any files on cameras memory card from Ubuntu via usb. I need it to put firmware updates for the camera.
View 1 Replies
View Related
Dec 10, 2010
I am new to linux at driver level. I want to read/write at specified memory location in microSD card in linux. I do not want to used SD card with any file system. How to do that. My linux distribution is Fedora13.
View 3 Replies
View Related
Mar 4, 2011
The card in question is a PC Card (PCMCIA) 16Bit Intel Series 2 Flash Memory Card (2MB) and I want to be able to read from and write to the card. I've rebuilt latest stable kernel (2.6.37.2) with all the PCMCIA options turned on or built as modules. I've got an SRAM card, a CompactFlash Card (in a CF to PC-Card adapter) and the Linear Flash card to try, the SRAM card I'm not expecting greatness from, but hoping to prove that the slot works (it registers, but doesn't get much reported from lspcmcia). The CF card in the adapter works. I'm expecting to see a block device in /dev but nothing appears lspci:
[Code]....
View 11 Replies
View Related