Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51161 - 2004.1 LiveCD - SATA problems
Summary: 2004.1 LiveCD - SATA problems
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords:
: 40974 49485 52450 55033 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-15 15:21 UTC by Daniel Drake (RETIRED)
Modified: 2004-07-20 19:21 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dmesg output from "gentoo" kernel (dout,15.37 KB, text/plain)
2004-05-15 15:22 UTC, Daniel Drake (RETIRED)
Details
dmesg output from "smp" kernel (dout2,15.37 KB, text/plain)
2004-05-15 15:22 UTC, Daniel Drake (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Drake (RETIRED) gentoo-dev 2004-05-15 15:21:43 UTC
Putting zhen on CC because he was the one who asked for SATA testing.

I decided to stick my IDE hard disk on a IDE-->SATA converter in order to test out if the LiveCD's work with SATA or not. Here is my experience.

I first tried the normal "gentoo" kernel. System booted up, and /dev/hde was created as my SATA drive. I mounted this on /mnt/gentoo and did some read/write tests, it seemed to be working OK except from my console being flooded with discouraging error messages on every operation. I'll upload the "dmesg" output that I could get. Sorry, I didn't get the whole lot because simply writing the file to disk exceeded the buffer.

I next tried the "smp" kernel. Booting up was slow (6 minutes stuck on 1 part), as it was probing hdg (which presumably is my second SATA port with nothing connected). This issue has been solved in newer kernels, so as long as .2 uses 2.6.6 or newer then we should be OK here.
Again I got some strange messages on the console, reading and writing worked ok. I saved the dmesg output and will upload this.

Unfortunately my SATA experience in 2.6.6-mm2 wasn't much better even on my local install, I got an oops. I'll try with 2.6.6 next and see what happens.
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2004-05-15 15:22:06 UTC
Created attachment 31495 [details]
dmesg output from "gentoo" kernel
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2004-05-15 15:22:30 UTC
Created attachment 31496 [details]
dmesg output from "smp" kernel
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2004-05-18 02:50:10 UTC
OK, I have sorted it out.
Those messages that I posted in the dmesg output are caused by the "siimage" SATA driver. This driver is buggy, unmaintained, and messages like the ones I posted are very common.

The proper way to do it is to use Jeff Garzik's libata drivers (the ones under CONFIG_SCSI_SATA). I am writing this message from a SATA-booted system using the CONFIG_SCSI_SATA_SIL driver.

So, all you have to do to get SATA working for me on the LiveCD's is compile the kernel with libata drivers and without siimage. The drives then identify as SCSI, e.g. /dev/sda (this was "hde" on the siimage driver, might be worth pointing out)

FYI, my SATA controller is:
0000:01:0b.0 RAID bus controller: Silicon Image, Inc. (formerly CMD Technology Inc) Silicon Image Serial ATARaid Controller [ CMD/Sil 3112/3112A ] (rev 02) 

This type of controller is common on many nforce2 based motherboards.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2004-05-18 13:04:20 UTC
*** Bug 40974 has been marked as a duplicate of this bug. ***
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2004-05-18 13:26:16 UTC
*** Bug 49485 has been marked as a duplicate of this bug. ***
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2004-05-18 13:34:05 UTC
This has been changed in the most recent (smp) kernel for the livecd's.

We'll need testing shortly.
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2004-05-30 07:00:05 UTC
*** Bug 52450 has been marked as a duplicate of this bug. ***
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2004-05-30 07:01:11 UTC
I am adding amd64 to this also, since people are having problems with those systems too.  (Probably the siimage sil_sata problem)
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2004-06-05 13:30:33 UTC
Would everybody test out the http://dev.gentoo.org/~wolf31o2/releng CD and let me know how it works for you with SATA in this bug... thanks
Comment 10 Chris Gianelloni (RETIRED) gentoo-dev 2004-06-24 08:42:31 UTC
*** Bug 55033 has been marked as a duplicate of this bug. ***
Comment 11 Jason Clinton 2004-06-24 09:11:12 UTC
The truth is that both drivers are buggy and incomplete. The bug filing that was just marked as duplicate was an observation that the siimage driver is entirely _not_included_ on the 2004.2-test4 CD. It should at least be included to allow trying of both drivers. I'm not saying that it should be automatically loaded, just included.

Comment 12 Daniel Drake (RETIRED) gentoo-dev 2004-06-24 09:48:33 UTC
Are you sure you have the two the right way round? Through all my searching, I didn't find any users having "real" problems with sata_sil, whereas siimage was the total opposite.

Does your hardware have trouble with sata_sil? If so, I'd suggest you send off a bug report to Jeff Garzik so that we can get it fixed, we can't easily do that for siimage as its been left to rot...
Comment 13 Chris Gianelloni (RETIRED) gentoo-dev 2004-06-24 12:11:54 UTC
As for siimage not being on the CD, you're correct, and that was my fault.  It will be on the -test5 CD, just not compiled statically in the kernel (only as a module).
Comment 14 Bret Towe 2004-06-27 20:11:00 UTC
i just tried out -test4 iso and it almost works for me with sil3112 hardware
i just need a newer kernel 2.6.6 at least iirc latest -bk wouldnt hurt tho ;)

when is -test5 going to be ready ?
Comment 15 Chris Gianelloni (RETIRED) gentoo-dev 2004-07-20 19:21:44 UTC
Sorry that I didn't get back to this bug sooner.  Have you tried any of the other -test series CDs?

This should all be fixed in the 2004.2 release.  Anyway, I'm going to mark this as RESOLVED-CANTFIX simply because I can't change the 2004.1 release, and we've finalized 2004.2 already.