Bug#361074: [Yaird-devel] Bug#361074: yaird: kernel panic after changeing sata controller

Jonas Smedegaard dr at jones.dk
Thu Apr 6 15:40:24 UTC 2006


On Thu, 6 Apr 2006 16:10:46 +0200 Emil Nowak wrote:

> On 2006-04-06 (Thu) 15:39:37 Jonas Smedegaard wrote:

> > The design of yaird is to create "working ramdisks only", based on
> > your current hardware - it refuses to build ramdisks suspectedly
> > not working (eg. when upgrading kernel and the new kernel lack a
> > required driver).
> So I started my system with 2 sata controllers. But disk was
> connected only to my silicon_image controller on pci. 
> And I was expecting that regenerating initrd with two controllers
> will add both modules to initrd. 

Yaird only includes the minimally needed, so if only the pata
controller was needed for the rootfs to get mounted then only drivers
for that was included.


> > If you like the yaird design goal, then you need to prepare when
> > switching your setup: Each ramdisk image is optimized for a specific
> > setup, so you need to somehow generate an image _after_ changing
> > setup but _before_ booting into it.
> > 
> > If all you need is to load that different driver, then
> > edit /etc/yaird/Default.conf and add "MODULE sta_via" and
> > regenerate.
> Oki. I made it in that way, and everything works fine.

Great. Now that you are up and running with the sata controller, try
commenting out that line again, and check if yaird is able to generate
a ramdisk for your running setup.

If not, then there's a bug in yaird (probably due to the sata driver
being somewhat broken).


> > Leaving this bug open, as it is uncertain if yaird completely fails
> > to detect this VIA-based hardware correctly...
> actually it was intel-based controller so It needed ata_piix.ko
> module. I have via raid controller, so first I was thinking it will
> be via sata controller. Yaird was not adding modules, probably
> because there were no disks connected to this controller. 

We are talkning about 2.6.15 or newer, right? Not the buggily patched
2.6.12 or 2.6.8?


 - Jonas


-- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

 - Enden er nær: http://www.shibumi.org/eoti.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/yaird-devel/attachments/20060406/a4d6d110/attachment.pgp


More information about the Yaird-devel mailing list