Ubuntu sata problems - please help

Status
Not open for further replies.

general

Well-known member
3,906
I'm facing an interesting problem with Ubuntu. I'm using the latest version of Ubuntu 6.06 and it uses an older kernel. I need to update the kernel so I can load a new driver on there to get sata support for my main hard drive. To get the kernel updated, I'm going to install it on an old 40GB ide drive, update the kernel and then update the sata driver. I then need to copy it over to my smaller 36GB Raptor. <BR><BR>Does anyone know what I can do to copy this over easily? It is a smaller drive so I anticipate problems. I checked for utilities from the manufacturers, but they all seem to be based on linux and given that they use an older kernel they don't pick up on my sata drivers either. Any ideas would be appreciated.
 

LordHunter317

Ars Legatus Legionis
22,394
Subscriptor
<BLOCKQUOTE class="ip-ubbcode-quote"><div class="ip-ubbcode-quote-title">quote:</div><div class="ip-ubbcode-quote-content">Originally posted by general:<BR>I'm facing an interesting problem with Ubuntu. I'm using the latest version of Ubuntu 6.06 and it uses an older kernel. </div></BLOCKQUOTE>No, it doesn't. 6.06 is about as bleeding-edge as you can get in an offical release.<BR><BR><BLOCKQUOTE class="ip-ubbcode-quote"><div class="ip-ubbcode-quote-title">quote:</div><div class="ip-ubbcode-quote-content"> I need to update the kernel so I can load a new driver on there to get sata support for my main hard drive. </div></BLOCKQUOTE>I find this doubtful, what controller is it?<BR><BR><BLOCKQUOTE class="ip-ubbcode-quote"><div class="ip-ubbcode-quote-title">quote:</div><div class="ip-ubbcode-quote-content">To get the kernel updated, I'm going to install it on an old 40GB ide drive, update the kernel and then update the sata driver. </div></BLOCKQUOTE>There is no reason to do this. It makes no sense to do this.
 

Bluebottle

Ars Scholae Palatinae
1,256
<BLOCKQUOTE class="ip-ubbcode-quote"><div class="ip-ubbcode-quote-title">quote:</div><div class="ip-ubbcode-quote-content">Originally posted by general:<BR>I'm facing an interesting problem with Ubuntu. I'm using the latest version of Ubuntu 6.06 and it uses an older kernel. I need to update the kernel so I can load a new driver on there to get sata support for my main hard drive. To get the kernel updated, I'm going to install it on an old 40GB ide drive, update the kernel and then update the sata driver. I then need to copy it over to my smaller 36GB Raptor. <BR><BR>Does anyone know what I can do to copy this over easily? It is a smaller drive so I anticipate problems. I checked for utilities from the manufacturers, but they all seem to be based on linux and given that they use an older kernel they don't pick up on my sata drivers either. Any ideas would be appreciated. </div></BLOCKQUOTE><BR><BR>Ubuntu 6.06's 2.6.15 kernel is really really recent and already has newer drivers backported from 2.6.16+. It even has drivers that aren't in the official tree, e.g. r1000 and ipw3945. Are you really sure you need 2.6.17? If you do you must have like the first batch of a brand new SATA controller.<BR><BR>If so, you can do it. Just partition up the raptor after installing on the 40GB, mount it in hierarchy under /mnt, and then copy FS-by-FS, e.g.<BR><BR>cp -ax / /mnt<BR>cp -ax /usr /mnt/usr<BR>...<BR><BR>Or if you use XFS/ext3/something-with-a-dump, use dump piped directly to restore on the new disk.
 

general

Well-known member
3,906
I just read a post on the Ubuntu forums and they estimate that it will take 6 months to have Ubuntu using the 2.6.17 kernel. They also released 6.06 using 2.6.15. Am I missing something there?<BR><BR>The controller is the Via VT8251. Have a look on the Ubuntu forums or google it and you'll see all of the problems. <BR><BR>Well it does make sense when none of your SATA drives are recognized. If the only way to have them recognized is to update the isntall of the distro then it has to be loaded onto some changable media.<BR><BR>I went through a post on the ubuntu forums and tried to update the kernel. It took a few hours to finish and now it still shows that it is on the 2.6.15 kernel. Any other suggestions?
 

general

Well-known member
3,906
The only mode I know about in terms of the controller is the not working mode it is in right now. Is there an easy way I can check on the AHCI mode you mentioned?<BR><BR>Here are some links that I had mentioned you could google to help with the confusion about this...<BR><BR>http://www.linuxquestions.org/hcl/showproduct.php?product=3209&cat=all<BR><BR>http://forums.viaarena.com/messageview.aspx?catid=28&threadid=68455<BR><BR>Via has said they will provide full support in January. As I had mentioned, there seem to be patches to kernals that are beyond that supplied by Ubuntu. A workaround using a patch is listed here<BR><BR>http://forums.viaarena.com/messageview.aspx?catid=28&th...=71754&enterthread=y<BR><BR>and one without a patch (just new kernel) is listed here...<BR><BR>http://doc.gwos.org/index.php/VT8251SATA<BR><BR>I'm working on getting the kernel updated but it didn't seem to take the first time. I tried it again and now it will give kernel panic when it starts booting. I went into the boot loader and saw two versions of 2.6.16 installed. The second will load to where the Gnome GUI starts and then I will just have a cursor and nothing else on my screen. When I go in in safe mode, I get to the command line but no GUI will start.
 

2darkpark

Wise, Aged Ars Veteran
172
Ubuntu 6.06 working on my machine with two sata drives (two 74GB WD Raptor drives). i'm not sure what sata controller i have, but it's one that comes with boards containing the nforce3 250 chipset. the motherboard is a giga-byte k8nsc-939 with an athlon 64 3500 processor. <BR><BR>I believe that ubuntu 6.06 *should* support your sata controller, but something is amuck in Ubuntu so I would recommend that you give Fedora Core 5 a try. It has an older kernel but should work with most sata controllers.
 
First, I <I>love</I> how everyone in this thread assumed that 2.6.15 has awesome SATA support. It really doesn't. I have a SATA hard drive and dvd burner on my laptop, and back when I was using 2.6.15, I needed several custom patches to get everything working right. LibATA is maturing fast, but it ain't there yet, and it was certainly nowhere near "there" back in the 2.6.15 era.<BR><BR>I don't know if 2.6.17 will solve general's problems, but it did receive lots of sata bugfixes and improvmeents, so it doesn't hurt to try.<BR><BR>Second: to copy files, use "cp --archive". To copy extended attributes (e.g. Beagle desktop search metadata), use "getfattr -RP" to save and "setfattr" to restore. To copy ACL's (note: most distros don't enable ACLs by default, Ubuntu probably doesn't either), use "getfacl -RP" to save, and "setfacl" to restore. I would copy files instead of filesystems because your hard drives are of different sizes.<BR><BR>Oh, and when you are finished, make sure that grub is properly installed and configured for the new hard drive.
 

LordHunter317

Ars Legatus Legionis
22,394
Subscriptor
<blockquote class="ip-ubbcode-quote">
<div class="ip-ubbcode-quote-title">quote:</div>
<div class="ip-ubbcode-quote-content">Originally posted by shurik:<br>First, I <i>love</i> how everyone in this thread assumed that 2.6.15 has awesome SATA support. It really doesn't. </div>
</blockquote>It has better support than all versions prior, so it's safe to assume it's not the kernel being too old when you know nothing about the harware.<br><br>And after he finally told us what hte hardware was, I did check on google and found it has worked partially (for some people only in AHCI mode) since before 2.6.15. The issues are apparently VIA doing all sorts of weird stuff again (big suprise there -- View image here: http://episteme.meincmagazine.com/groupee_common/emoticons/icon_mad.gif --)<br><br><blockquote class="ip-ubbcode-quote">
<div class="ip-ubbcode-quote-title">quote:</div>
<div class="ip-ubbcode-quote-content">LibATA is maturing fast, but it ain't there yet, and it was certainly nowhere near "there" back in the 2.6.15 era. </div>
</blockquote>The 2.6.15 era isn't exactly what we call a long era.
 
Status
Not open for further replies.