[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#335264: yaird fails with older (titanium) powerbooks.



On Sun, Oct 23, 2005 at 01:31:54AM +0200, Sven Luther wrote:
> On my titanium powerbook, yaird fails with : 
> 
>  yaird error: unrecognised device: /sys/devices/pci0001:10/0001:10:17.0/0.80000000:mac-io
>  yaird error: unrecognised device: /sys/devices/pci0001:10/0001:10:17.0/0.80000000:mac-io/0.0001f000:ata-4
> 
> Well, those are non-fatal errors, and the mac-io is just a super-controller
> kind of thingy sitting on the pci bus, and holding the ata-* devices, which in
> turn have ide0 or ide1 subdirs, which are the ones given in the path.
> 
> Now, there are two problems, first is that we should harmlessly recognize
> those above, provided in the attached patch, well not sure about the exact
> syntax of the comment, but this should do, and i added a small typo-fixing in
> the above comment :).

OK, I copied Jonases 0.0.11-7 version of this for 0.0.12.

> The second problem is that since the initrd is generated correctly, those
> non-harmfull errors should maybe not cause mkinitrd.yaird to return and error
> code of 1 and thus fail, not sure though.

That was a conscious decision: we dont recognise the syntax of the
device name, so there's no reason to suppose that device does not need
a module, so no reason to suppose that an image without module would
boot.  Exit 1 is the only honest result nder those circumstances.



Reply to: