Ubuntu Servers :: Inexpensive Single Board / Embedded System With SATA
Aug 6, 2010
I'm looking for doing AOE (Ata over ethernet) inexpensively with single board computers, like Routerboard stuff, but is there anything with sata plugs. Hopefully I can get each board for hopefully around $50, but a little more would be ok. Non-x86 is fine, Debian is as good as Ubuntu.
I am running Virtual Box Ubuntu Linux 2.6. Connected to my PC is an embedded board running debian 2.6.32. I have ip forwarding on at my virtual box. From my embedded board I can successfully ping www.google.com. I want to download and install some packages but when I try apt-get I get the following: I've flailed away at this for most of the day
I'm trying to get sound to work on an embedded board. The boot says ALSA is present and sound chip is present. So I try to open the device with:
The hardware manufacturer assures me the device is hw:0,0 so I set device to:
This gives me:
So I'm presuming the advice that I use hw:0,0 must be wrong? So I need to find a way of working out what the device id is. I've tried default, no effect, then tried the command asoundconf list, which returns an error. I'm using a min linux build on an embedded system (busybox) so is there a way to find my sound device.
I'm trying to run a shell script on a kern board (av1100) that shows some text output on the attached screen. The big problem is that the screen goes to blank in like 2 minutes.I'd just like to have the script showing it's output while the thing is on.Isn't there a command to stop the screen from going to blank?p.s. there is no bash available, just #!/bin/sh
I have been trying for a few days to install CentOS 5.4 on an IBM x306 and I cannot get it to properly handle the Adaptec Embedded SATA HostRAID Controller. I have been working with Linux for a few years, but this is new territory for me. I typically use Debian-based distros, but I did some research on the IBM site and found out that RHEL is a supported OS for this machine. So, I decided to give Cent a try. I have some experience with Fedora, so it's not totally foreign to me.
Anyway, I'm a bit confused. Using the IBM RAID utility, I set up a mirrored pair of 1GB SATA HDDs. When I run the Cent installer, it sees the pair as a single array. I am able to partition the array and complete the install, but when I boot into the OS, it sees the drives as 2 separate devices, sda and sdb. I can pull either one of the drives and boot with a single disk, but it doesn't seem to behave as a mirrored pair. If I make changes on sda, they are not replicated to sdb. Also, I can't use the cli or GParted to format the existing space on the array. I get an error either way. I believe this is because Cent doesn't have a driver for the RAID controller, but I don't see why it would work in the installer, but not the installed OS.
My next approach was to start over and attempt to run "linux dd" at the start of the installation. I tried to find the driver for the controller on the IBM site so I could load it when prompted, but couldn't find a newer version than RHEL 4 Update 3 (I'm assuming this would coordinate with CentOS 4.3). I tried it anyway, but when I select the floppy during the setup, it tells me it's not for this version of CentOS. I read several times that there are .img files that might help me in the 'Images' directory of disk one, but I only see diskboot.img, minstg2.img, and stage2.img. I don't think any of these are what I'm looking for. I thought there was supposed to be a drvblock.img or driverdisk.img.
I forced my workplace to forgo windows and opt for linux for web and mail server. I'm setting up Centos 5.4 on it and I ran into a problem. The server machine is a HP Proliant DL120 G5 (quad core processor, 4GB Ram, two SATA drives, 150GB each attached to the hardware RAID Controller on board). RAID is enabled in the BIOS.I pop in the Centos disk and go through the installation process.
When I get to the stage where I partition my hard drive,it is showing one hard drive, not as traditional sda.but as mapper/ddf1_4035305a86a354a45.I looked around and figured that I need to give Centos the raid drivers. I downloaded it from:
[URL]
I follow the instructions and download the aarahci-1.4.17015-1.rhel5.i686.dd.gz file and unzipped it using gunzip. Then on another nix system, i do this:
dd if=aarahci-1.4.17015-1.rhel5.i686.dd of=/dev/sdb bs=1440k Note that I am using a usb floppy drive, hence the sdb. After that, during centos setup, i type: linux updates dd
It asks me where the driver is located. I tell it and the installation continues in the graphical mode. But I still get mapper/ddf1_4035305a86.a354a45 as my drive. I tried to continue to install centos on it. It was successfull but when i do a "df -h" it gives me /dev/mapper/ddf1_4035305a86......a354a45p1 as /boot
/dev/mapper/ddf1_4035305a86......a354a45p2 as / /dev/mapper/ddf1_4035305a86......a354a45p3 as /var /dev/mapper/ddf1_4035305a86......a354a45p4 as /external /dev/mapper/ddf1_4035305a86......a354a45p5 as /swap /dev/mapper/ddf1_4035305a86......a354a45p6 as /home
Well i know why it's giving these, because i set it up that way, but i was hoping it would somehow change to the normal /dev/sda, /dev/sdb. That means that the driver i provided did not work. I have another IBM server (5U) with raid scsi drive and it shows the usual /dev/sda. It also has hardware raid. So i know that there is something wrong with the /dev/mapper/ddf1_4035305a86......a354a45p1 format.
First, is there any way that I can put the aarahci-1.4.17015-1.rhel5.i686.dd (floppy image) on a CD?. I really need to set this up with raid. I know i could simply disable raid in bios and then i would get two normal hard drives sda and sdb. But it has to be a raid setup. Any way to slipstream the driver into the centos dvd? The hp link i provided above, under installation instructions, there are some instructions titled "Important". But I couldn't get it to work.
I'm searching for the cheapest single board computer which can run Linux. It must have ethernet and at least one serial port.I'm currently looking at these modules from Technologic Systems, but wondering if there's anything cheaper out there?
i actually registered here because i'm done with my knowledge of linux, errors which cause my sys to hang and/or reboot randomly after some time. They occur while the system is under heavy cpu, heavy mem-read-write, mediocre mem fill, heavy hdd io (for ~20 seconds every ~5 minutes).
problem background we ordered two identical PCs (specs below), one of them brought those sata errors quoted below from /var/log/messages, the other one runs flawlessly. Same Hardware and Software Configuration. Faulty one brought reallocated sectors right at start, mass seek errors, read errors. 1st try: swap cables, change bios mode ata_piix <-> AHCI. Didn't work. Went away for repair. Stupid Techie did only swap hdd, so problems occured again. Shipping for repair again. Board AND hdd exchanged. no more seek/read errors, no more reallocated sectors. But similar sata problems right after 3 days of previously described workload. Following logs are from after the last repair.
It seems that watching an embedded video crashes my system every once in a while. Is there any way to figure out what is causing the crashes or fix it?
Some extra info - The cpu usage jumps to 45-50 percent when a embedded video is playing.
I tried to install Ubuntu Server on an Alix2d2 board: [URL]It has a CF card connected with an IDE interface and no vga output. The processor is a AMD Geode. I'm aware that I need a 386 kernel as described in the german wiki:
[URL]
What I did so far:
Installed imedia linux PCengines Alix build [URL] on an other Ubuntu machine with usb cf interface. This worked but I don't know how I can install Ubuntu from imedia linux.
Installed Ubuntu Server on the same Ubuntu machine. Installed the 386 kernel and changed the grub config file to enable the serial output to a terminal and updated grub[URL]. I created the file /etc/init/ttyS0.conf that the serial interface still works after the bootloader [URL].Unfortunately the alix board writes only "GRUB loading." and some empty lines.
Tried to boot with Tftpd32.exe by Ph. Jounin following this guide: [URL] So I set up a TFPT server following this german wiki: [URL]As advised changed /etc/inetd.conf and /etc/default/tftpd-hpa, prepared the boot image and the DHCP server. This should be enough on the server. I have to write N over the serial port to the board while it performs memory test to enable PXE boot. This was partly successful: it gets an IP adress but afterwards nothing happens. I can't find any error message in the syslog.
I attached my configuration files. As boot image I used [URL] and used the following commands to bring it into the right place:
I was looking at replacing an old Microsoft Small Business Server 2000 with an Ubuntu system. I was looking at the following Dell system:- [URL]. I was concerned about the "Embedded software Raid" and if Ubuntu will work with it? The system is fairly basic:- We want a server with 2 x 500g SATA hard drives mirrored. We need to connect 8 Windows computers logged into a business domain. Accessing mail and a Microsoft Access data base.
I keep getting this error in my log viewer every 2 seconds: Code: ata4: limiting SATA link speed to 1.5 Gbps I have a dual boot SSD and I have run many SMART tests in windows and linux, (using smartmon tools and the disk utility) and the reports are all 100% healthy..... My research shows that this error represents one of the following:
1. Problem with SATA controller 2. Changing BIOS to allow SATA 3. Changing SATA mode to PATA or AHCI 4. Replacing the SATA cable 5. Allowing the SSD to run at SATA II speeds, i.e. 3 Gbps
- Does anyone know how to try number 5, i.e. allowing the SSD to run at SATA II speeds? I am lost here and this problem has caused my machine to crash twice when watching a movie in linux/ ubuntu. (It is worth noting that the crashes have only occurred in linux and I have never had an issue in windows, so it does seem to be a linux setting somewhere, hence why I think it is a "allowing SATA II to run at correct speeds issue")
I try to make a small AVR-Board boot a Linux from my Lenovo laptop, which is configured as NFS server (running nfs-kernel-server). Everything is configured correctly and it should work, but it doesn't.I just installed another laptop (from ASUS) with the same configuration (OS, tools, settings) and there it works immediately.
So I wondered, what's going on on eth0 ? I checked with Wireshark and here are the things I found out.On both laptops, the following paket arrives:
Here's the situation: My Dell Latitude D830 video chip failed. Dell has replaced the system board under warranty. The following problems now exist:
1. eth0 has become eth1. The system failed to see the current ethernet as the only ethernet. 2. wlan0 has become wlan1. The same has occurred.
3. The pulse audio applet (I know, not officially supported) will not start up properly at boot complaining about something missing or wrong in the configuration. I suspect the hardware for sound is also not recognized as the previous.
4. Pidgin and Firefox are both having issues with anything SSL and digital certificates. In pidgin, I can no longer log into AIM. With Firefox, I had to accept a bunch of new SSL certificates. (Did that once for any https web site I have accessed for the first time since the system board change)
I would seriously like to understand how the hardware detection situation affects all of this. I was able to tweak some configuration files to get eth0 back to normal operation by manually changing the MAC address. But that isn't working for wlan0/wlan1 as I attempted to make corrections using the GUI and that didn't work out too well.
Where would I find the central point of identifying hardware devices and device names? And I suspect the encryption cert issues are related to the change in hardware as well which makes me wonder a few things. What happens when a non-laptop user changes a network card? Is Fedora married too closely to the hardware? What happens if we were to try to "ghost" a Fedora installation?
We have designed a board with Cirrus Logic(arm) processor, A Flash memory and some other peripherals have been connected to that. While building kernel we have selected MMU support. We have written few custom drivers for keypad,LED,LCD. But I would like to know how virtual memory mechanism can be helpful here even though there is no any hard disk has been connected. Where will be the virtual memory reside.
i want to select some text from vim using "yank" command and then access the same on shell prompt using ^v or shift ^Insert.How can that be done. My OS is ubuntu.
I'm wondering if I could put my old DualCore PCIe Board into a Proliant 3000? Why not; I mean, the Array Controller should plug right into the PCI slot on the DualCore board. Of course, I'll have to shoehorn a second power supply into the case for the newer Board, but wouldn't it be a monster! Two 3GHZ Processors, with a 256 MB nVidia graphics card, 1.5 GB of RAM, and 8 Hard Drives! (7, actually, because one of them doesn't work). I'm up late, and I think I'll start working on it right now.
I want to get file system for board Em2440 III (has s3c2440 processor), has this specification 1- has driver of GSM module ( Telit GE865). 2- its size less than 64MB.
My friend has a HP Pavilion dv2699ea (dv2500 series - somehow *shrugs*) that has stopped working. It's a Core2Duo laptop with a Nvidia GPU. The unit is no longer under warranty. Problems first started a few days ago with the laptop showing corrupted graphics in Windows and BSOD'ing after a few minutes of use. I tried booting to an Ubuntu LiveCD which worked for a while before succuming and crashing as well. The freezing/graphics corruption/BSODing does seem somewhat heat related (CPU runs at ~95'c under load) however I believe that if it is heat related, then it's already damaged components inside.
Now the system has corrupted graphics on bootup[1], including booting Ubuntu[2], and neither operating systems will boot at all (Windows can sometimes get logged in before showing a black screen and becoming unresponsive. Ubuntu just looks like [3] after X starts). (See comment below for links.)
The fact the problem occurs both under Linux and Windows says to me this is not a driver issue. I have run Memtest which passed fine and none of this seems HDD related as I managed to get ~30GB of data off the system before it finally gave up the ghost.
She has been using it repeatedly without giving it adequate ventilation for years (i.e. on the bed, or on a pillow), so it's my opinion that the system board has probably warped over years of cooling/heating and that's causing this current problem. If that is the case, then I can buy a replacement system board and fit it myself, saving about £200 over the cost of an out-of-warranty HP repair. Of course, I don't want to make her spend £100 on a replacement part for it to be the wrong thing, hence asking for a second opinion here!
Hopefully I've covered all the bases here. I'm a former IT support guy myself, so I've tried all the dumb stuff (driver updates, examining memory dumps from BSODs [one 'unrecoverable hardware error', three relating to the graphics card], etc).
I am developing a program in a system where the Linux does not take care of the sync command automatically. So I have to run it from my application always I save some data in the disk, which in my case is a 2GB sdcard. It is true that I can make the operation system takes care of the syncronization, using a proper mount option, but in this case the programm's performance drops drastically. In particular I use the shelve module from Python to save data that comes from a socket/TCP connection and I have to deal with the potencial risk of the system being turned off suddenly Initially I wrote something like that to save data using shelve:
But that takes too much time to save the data. Note that I use the sync from the OS every time I close a file to prevent data corruption in the case of the "computer" being turned off with data even in the buffer. To improve the performance I made something like that:
Code:
def saveListData( list ) fd = shelve.open('file_name', 'c') for itemVo in list: fd[itemVo.key] = itemVo fd.close() os.system("sync")
Thus, first I saved an amount of objects in a list then I open the file and save the objects. In this way I have to open the file just one time to save a lot of objects.However I would like to know if adding a lot of objects before closing the file would increase the risk of data corruption.I known that turning off the system after fd.close() and before os.sync may cause problems. But what about turning off the system after