Hardware :: Getting Kernel To Use The AHCI SATA Driver?
Jan 20, 2010
How can I force my kernel to use the ahci driver when both the ahci & sata_nv are built into the kernel.?
My MSI board bios doesn't have an option for "AHCI MODE". The only sata option that it has is "called "On Chip Sata" & is located under "Integrated Peripherals. Also, the only values available for "On Chip Sata" are enabled or disabled. If I choose the disabled option, the sata drives arn't found & bootup fails.
I tried to tell the kernel to use the ahci driver by appending kernel options to my Grub2 bootloader but they all failed.
(eg.) ahci, scsi=ahci, ata=ahci, ahci.=0 sd=ahci
sata_nv=no, sata_nv=0, sata_nv=none
The only thing I can think of that is left to do is to re-build my kernel with CONFIG_SATA_NV as a loadable module & CONFIG_AHCI as a build-in driver. With only the ahci driver available at boot, the kernel will have to use it or fail to boot.
One more thing I want to say is that my other computer with the ASUS motherboard uses the ahci driver & I have both the sata_via & the ahci drivers built into the kernel. However, it has a bios option for AHCI MODE.
(eg.) Southbridge VT8251
Serial ATA IDE Controller <AHCI>
View 8 Replies
ADVERTISEMENT
Aug 19, 2010
I am about to do a clean install of 10.04 (64-bit) on a ThinkPad X201. The machine will only be running Ubuntu (i.e., no dual-boot). Is there any reason to use compatibility mode for the SATA boot drive, or will AHCI work fine?
View 2 Replies
View Related
Apr 7, 2010
I realized after spending some time performance tuning my mini Linux server that the hard drive is stuck in IDE mode, and I can't get the controller to be discovered in AHCI mode.EDIT: I should add that I'm running Vector Linux 6.0 Lite, which is based on Slackware 13.0. The Kernel version is 2.6.27.12.
The mobo in question is actually a small mini-ITX board from Foxconn. Here is a links to the specs:url.I use it for a media server, and so far the drive I'm using (Hitachi HDE721010SLA330) is working fine in IDE mode (apparently).
I have a strong suspicion that the crappy Foxconn BIOS supplied with the board is not initializing the Intel 945GC controller in AHCI mode. There is a BIOS entry for setting the controller to "Advanced", but I don't think it's doing the job.
Here is an "lspci -vvnn" of my system:
Code:
00:00.0 Host bridge [0600]: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub [8086:2770] (rev 02)
Subsystem: Foxconn International, Inc. Unknown device [105b:0d4d]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
Latency: 0
code....
Is there anything I can do to get the drive/controller in ahci mode, or is the BIOS screwing me?
View 3 Replies
View Related
Sep 28, 2009
Yesterday I was on my Windows computer doing homework. Once Football came on, I hit the Standby button on my keyboard and walked out of my room. Came back at halftime to discover that my system never went into Standby. I turned on my monitor and saw a bunch of code repeating. I don't remember it all, but it was something to this effect
Super Block not compatible with current BIOS
scanning for *insert system file here*.... not found
scanning for floppy drive... not found
scanning for cdrom1... not found
So I hit the restart button on my tower. When it restarted, I was brought back to the same screen. So I unplugged the power cord from my computer and counted to 10. I plugged it back in and this time I got my mobo logo screen and the system appeared to start up fine, until I got to the SATA drive scanning screen. When my computer would scan for my SATA hard drive, it would idle for several minutes, during which a series of periods (".") would show up until eventually I get a message that says: WARNING! - Something wrong with your hardware!
I have troubleshooted a number of things so far:
1) I took my SATA Hard Drive out of my computer and plugged it into my Linux computer and the system booted fine! I used the same SATA cord, so I know both the drive and the cord ARE WORKING!
2) I tested the power cord from the power supply that runs to my HD and it is working just fine.
3) I plugged the HD back into my Windows computer (the original one it was in when I started having this problem) and I ran GParted. When the GUI came on, I could not see any drives and there was a message at the bottom of the window saying that no devices could be found. This was no surprise to me because I watched the verbose mode as GParted booted and it gave error messages when it tried scanning for my hard drive.
4) I have also tried plugging it into the other SATA ports on my motherboard.
5) I tried flashing the mobo BIOS. The flash worked just fine (or at least it appeared so), but the HD is still not being found on the system boot scan.
Bottom line, I know the hard drive is fine because it worked in my Linux computer. So I am thinking it has to be the motherboard. But before I go out and buy a new Mobo and CPU (and possibly new RAM), I wanted to quickly jump on here.
View 1 Replies
View Related
May 7, 2010
Here is my problem: In short, it takes forever (6 min), and lots of prodding to get Ubuntu to boot. Im running a Toshiba NB305 netbook (Bios 1.40), set up for dual boot with 10.04 UNR. Windows partitions boot fine. Can boot 10.04 from USB stick.
Here how I try to boot: From grub menu select "Ubuntu, with Linux 2.6.32-22-generic" If it doesn't work, I run the recovery version, and then run the regular one again. Somehow that resets stuff.
[Code]...
View 1 Replies
View Related
Aug 13, 2010
Can SATA 3 (SATA III) Hard disk be run on motherboard which only supports SATA II, except sacrificing the speed (throughput)?
View 2 Replies
View Related
May 1, 2011
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")
View 4 Replies
View Related
Sep 17, 2010
I've been trying to install CentOS 5.5 on a newly purchased ASUS M4A88TD-M/USB3 motherboard. The board uses the sb850 AMD SATA controller which is not recognized by the CentOS installer.
I've done a bit of searching but can not find a Linux driver for the sb850 controller.
Has anyone been able to install CentOS on an AMD Sata controller?
View 1 Replies
View Related
Jul 29, 2009
I've installed CentOS 5.3 in a new machine....
But i got these errors when kernel is loading
The machine is a dual core 2.6 Ghz, mainboard is intel DG31PR, SATA disk SAMsung 500 GB, 4 GB RAM.
I've checked other errors in different distributions, but everyone has a different criteria about the problem.
View 5 Replies
View Related
Feb 26, 2010
I have a sata card in my RHEL5 server that is not working. It has a 1.5tb hard drive attached to it that I would like to use. It seems that the 2.6.18 kernel did not detect and use it by default. I was able to find some info about the
lspci | grep VIA
03:06.0 RAID bus controller: VIA Technologies, Inc. VT6421 IDE RAID Controller (rev 50)
View 1 Replies
View Related
Jan 7, 2010
I'm trying to install Linux on a system.
Seagate Barracuda 160.0G SATA drives x 2
Asus P5K-E WiFi motherboard
Intel ICH9R chipset
JMicron JMB363 PATA / SATA RAID controller
I've tried to install both Debian 5.0.3 and Gentoo 10.1 (Minimal).The Gentoo distro kernel is 2.6.31. I honestly didn't check to see what version the Debian distro is using. With both distributions, I get a kernel panic as soon as I try to create the filesystem. I can see the drives just fine, and can partition them. The problem doesn't happen until I try to create a filesystem. I've tried configuring my SATA drives in the BIOS as IDE and as RAID. kernel support for SATA drives is at least three years old, so I have to believe that SATA support has become ubiquitous, but obviously I'm missing something here.
View 4 Replies
View Related
Apr 13, 2011
I'm trying to install Debian 6.0.1a (64bit) onto a machine that had Debian 5.08. It freezes up almost immediately after loading the kernel. The last line, about 2.6 seconds in, is where it found a SATA drive. (There are two SATA drives). This is a Tyan S2912 with Opteron 2347HE. It seems to be kernel release related. I tried the 5.08 disc again, and it works OK.
With other distros, such as Opensuse and Ubuntu, I have the same problem. The newer releases freeze up almost instantly after loading the kernel. Am I stuck with IDE drives or older kernels? I wanted to try something newer as the fonts in the 5.0.8 release were barely legible. It gave me nauseating headaches within a couple of hours of looking at it. My wife couldn't stand to see it when she came by. I've tried every bios setting change I could think of without a solution.
View 6 Replies
View Related
Jul 4, 2010
my problem is on installing nvidia driver on fc12 32bit but, first of all, as i understood the pae kernel requires more than 4gb of ram,i have a 2.2 ghz cpu with 2 gb ram,but when i run command:uname -r it answers: 2.6.31.5-127.PAE [i have fc12 32 bit] when we try to download linux we have a 32bit edition or 64bit edition,do we have an edition which is only for pae? or when we install for example the 32bit edition on a computer with more than 4gb of ram then the kernel automatically will change to be a pae kernel??
View 10 Replies
View Related
Aug 30, 2010
I'm attempting to install the driver for my atheros AR8131 PCI-E Gigabit Ethernet adapter (in my Lenovo laptop) on my newly installed RHEL5 system (it's not currently being recognized).
I tried using: 'make install' but hit an error "Makefile:61: *** Linux kernel source not found."
After this, I tried: 'sudo yum install kernel-devel kernel-headers'
To rectify this, but hit this error "No package kernel-devel available" (and the same for the headers). What should I do?
View 5 Replies
View Related
Aug 31, 2010
I write the network driver. Transmission of packets in user space I do through netlink socket`s. In user space there is a handling of packets and their transmission on other device (however, it isn't important).
Problem in that any time, packets through the driver in system, and is reverse, are transferred normally. But then there comes the moment when the kernel crash. If to look in syslog it seems to me that comes deadlock. Also I think that it is related with netlink socket`s.
I can't find the information on that anywhere how correctly to use netlink socket`s in kernel space. Can at you will any a reason into the account of synchronization of sockets and the driver in kernel space?
I can give the driver code if it is necessary.
View 2 Replies
View Related
Nov 24, 2010
With the recent upgrade kernel, my ATI driver can no longer work. After upgrading to the new kernel, upon reboot I would get stuck at the "checking battery status" and can't boot into kubuntu.
I'm running Kubuntu 10.10 64 on intel i5 with radeon hd 4870.
So I thought I messed something up since I was fooling around with conky script the day before. I did a clean install of kubuntu 10.10 64 and reset all my settings and my files. At this point, everything works smoothly and I can reboot multiple times without a problem.
I proceeded to install the Radeon catalyst driver following the documentation, which worked perfectly for me on the previous kernel. After rebooting, I can no longer get pass the "checking battery state" black screen. I had to boot into safe book, uninstall all fglrx and also delete xorg.conf to be able to boot back in normally.
View 5 Replies
View Related
Oct 1, 2010
I installed the latest kernel liquorix (2.6.35) but when i want to install the Nvidia driver downloaded on the Nvidia website (256.53), i have an error message because Nvidia doesn't found the kernel source tree.
I install linux-image-2.6.35-6.dmz.2-liquorix-686_2.6.35-16_i386.deb, linux-headers-2.6.35-6.dmz.2-liquorix-686_2.6.35-16_i386.deb and build-essential. I don't understand why the installation doesn't works.
View 1 Replies
View Related
Jun 21, 2010
I installed Ubuntu 10.04, and happened to have an Silicom Images PCXpress card plugged in, and it kindly added the sil_sata module.This is fine for this chip set.I think that my earlier installation of Ubuntu 9.04 used Libata, which does support NCQ and also has good legacy support for the Intel Intel ICH7 chipset I have inside my Sony Vaio SZ notebook. Also, libata also support Silicon Image chipsets as far as I can tell from URL...I wish to remove the Silicom Images SATA modules and replace this with libata and then test the performance between the two device drivers.
View 5 Replies
View Related
Jun 1, 2010
My motherboard supports SATA but I do not know which version: SATA-I or SATA-II. I want to buy a SSD so it would be pointless to buy a fast SSD if my motherboard only suports SATA-I
View 7 Replies
View Related
Mar 9, 2010
I installed Red Hat Enterprise Linux AS 4 Standard Edition on a HP dc5800 PC with a SATA drive. To install the system I use the boot option: Linux pci=nommconf After the installation is done The system is hangs while uncompressing the kernel. the boot loader is GNU GRUB:
root (hd0,0)
kernel /vmlinuz-2.6.9-55.ELsmp ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-55.ELsmp.img
It hangs on: uncompressing Linux... OK, booting the kernel
View 7 Replies
View Related
Apr 9, 2010
When trying to install RHEL 5.4 on a Flagstone SATA (encrypted hard disk), linux timeouts while loading the ata_piix module.
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.00: cmd 81/00:08:00:00:00/00:00:00:00:00/e0 tag 0 data 4096 in
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata2: soft resetting port
ata2.00: configured for UDMA/33
ata2: EH complete
The above message is repeated several times until the kernel eventually "panics".If I use a non-encrypted SATA (Maxtor, Fujitsu, etc), the install works. It only fails with Flagstone SATA encrypted hard disks.
View 2 Replies
View Related
Nov 29, 2010
In our company, we have one server with kernel, 2.6.18. because of our neads, we had to buy new hard disk,that slax live cd detects that as "Ibex Peak 2 port SATA IDE Controlle".Apparently this kernel does not support this device.Unfortunately according to our policy(definitely some dependency on company's softwares installed on this kernel) we can not upgrade our kernel.
View 1 Replies
View Related
May 18, 2011
I recently decided to install Ubuntu 11.04 on a 320gb hitachi sata hard drive. This is going into a new system with an Asus MB, AMD Proc, not sure if this matters. Anyway I can not set the bios to use ahci and see the sata drive. I can only use IDE mode with sata enabled. Asus support says to install ahci for os. If I boot into the USB install key and attempt to the install OS I receive a read/write error. I have another drive on IDE that has 11.04 on it and if I try to format the new drive and partition it with Disk Utility it fails with "Error formatting drive: error creating partition table: helper exited with exit code 1: error calling fsync(2) on /dev/sdb: Input/output error". I have tried to use dd and fdisk but I don't believe I need these until I do something else first just not sure how or where to look.
View 6 Replies
View Related
May 12, 2011
I'm doing a clean install on a new machine, and when I tried to boot the install DVD, ISOLinux gave me the following error:
Code:
Could not find kernel image: linux After some experimentation, I found that switching the SATA mode in the BIOS from AHCI to Native IDE solved the problem and installation is proceeding normally.
However, I want AHCI enabled. (I think, unless someone has a compelling reason why I shouldn't.) My web-searching suggests that if the system is installed in IDE mode, it won't boot if I switch to AHCI afterwards. Is this a common problem? Is there a workaround? Is it a motherboard issue?
View 3 Replies
View Related
Apr 23, 2010
/sbin/udevd --daemon eats about 10-15% of cpu which is quite high. I found out that it is caused by AHCI. If I turn it off in bios, udev takes only about 0-1% of cpu (which I consider normal). However turning AHCI off is deadly for Windows Vista (I have dual boot) - it always ends up with BSOD. Actually, I don't even know what AHCI does. Of course I found some information on the net but I didn't found whether there are some advantages for me. Is it worth 10-15% of cpu (consequently shorter battery life)? On the other hand, I have no interest in changing my bios settings every time I boot to Windows so it would be much confortable to have it turned on all the time. The best solution would be to find out why AHCI does this and how to configure udev to avoid it. And I don't know how.I have OpenSuse 11.2, kernel 2.6.31.12
View 1 Replies
View Related
Dec 1, 2010
If I change my sata mode from IDE to AHCI grub won't show (cursor goes to top left) when I power on my system. After that, I press the reset button and my grub shows ok.
So, to use AHCI I always have to use the reset switch button.
Using Ubuntu 10.10 with 2.6.35-23-generic - 64bits
View 5 Replies
View Related
Feb 28, 2011
I have been running a dual-boot, Windows 7 and Ubuntu 10.10 system with the disks set for IDE with no problems. I have just attempted to change the disk system to AHCI and, whilst I can boot into Windows 7, I am unable to boot into Linux and get the error: "Alert! /dev/disk/by-uuid/5d773307-a046-40fa-ba29-728611bc7eed does not exist" I am new to Linux so am unsure where to go from here. I have reverted to IDE for the moment and it boots Ok.
View 3 Replies
View Related
May 28, 2011
ubuntu 8.04 server can not detect seagate sata hard drive 2tb or sata Lg dvdrw x22 sata drive .is it possible to install it without buying a pci ide sata card?is it possible to get a driver for sata driver and sata drive that can be recognise by ubunto 8.04 server ?or to get the files for 1.44 floppy diskdoes the late edition of unbutu recognise sate hdd and sata cdrw drive automaticly during the installation of the unbutu?
View 1 Replies
View Related
Nov 12, 2010
One of my 2 harddisks, a Hitachi HDS72101, is very slow, the driver is ahci.
Output of "hdparm -t /dev/sda":
/dev/sda:
Timing buffered disk reads: 8 MB in 3.20 seconds = 2.50 MB/sec
No problem with the other one, a Hitachi HDS72161, the driver is pata_ali.
Output of "hdparm -t /dev/sdb":
/dev/sdb:
Timing buffered disk reads: 224 MB in 3.00 seconds = 74.63 MB/sec
How could I get better performance for /dev/sda ?
My system: openSUSE-11.3 on amd64
View 9 Replies
View Related
Mar 10, 2010
I want to install Ubuntu x86_64 or x86 to my computer.
I used Dekstop and Server Editions on other machines, installed succesfully but i could not install Ubuntu to my computer.
My hardwares are;
AMD Phenom II X4
Gigabyte GA-MA790GP-DS4h [SB750 - AMD AHCI Compatible RAID Controller]
2 x 250GB Seagate ST3250410AS @ Raid0
I installed Windows succesfully and i created 50GB partition for Ubuntu.
I tried to install Ubuntu, but disks are not detected in partition managing screen.
how can i install ubuntu?
View 5 Replies
View Related