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

Bug#341559: yaird: fails to create initrd



On Thu, Dec 01, 2005 at 01:52:34PM +0100, Sven Luther wrote:
> On Thu, Dec 01, 2005 at 01:10:39PM +0100, Hans Ekbrand wrote:
> > On Thu, Dec 01, 2005 at 12:54:34PM +0100, Sven Luther wrote:
> > > Could you send us a : 
> > > 
> > >   find /sys/devices/pci0000:00/0000:00:10.0/0.f3000000:ohare 
> > 
> > /sys/devices/pci0000:00/0000:00:10.0/0.f3000000:ohare
> > /sys/devices/pci0000:00/0000:00:10.0/0.f3000000:ohare/0.00020000:ATA
> > /sys/devices/pci0000:00/0000:00:10.0/0.f3000000:ohare/0.00020000:ATA/ide0
> > /sys/devices/pci0000:00/0000:00:10.0/0.f3000000:ohare/0.00020000:ATA/ide0/0.0
> > /sys/devices/pci0000:00/0000:00:10.0/0.f3000000:ohare/0.00020000:ATA/ide0/0.0/block
> 
> This is probably similar to the problem we had :
> 
> /sys/devices/pci0001:10/0001:10:17.0/0.80000000:mac-io/0.00020000:ata-3/ide1
> 
> so instead of ignoring 0.80000000:mac-io and 0.00020000:ata-3, you need to
> ignore 0.f3000000:ohare and 0.00020000:ATA.
> 
> So, in /usr/lib/yaird/perl/Hardware.pm, at line 81, you need to copy one of the two
> above lines :
> 
> 		if ($abspath =~ m!/[a-f\d]+\.[a-f\d]+:mac-io$!) {
>                         # Apple bus; harmless
>                 }
>                 elsif ($abspath =~ m!/[a-f\d]+\.[a-f\d]+:ata-\d+$!) {
>                         # Apple IDE bus; harmless
>                 }
> 
> for your case, maybe something like :
> 
> 		if ($abspath =~ m!/[a-f\d]+\.[a-f\d]+:ohare$!) {
>                         # Apple bus; harmless
>                 }
>                 elsif ($abspath =~ m!/[a-f\d]+\.[a-f\d]+:ATA\d+$!) {
>                         # Apple IDE bus; harmless
>                 }
> 
> but i am no perl expert, and may have gotten the exact magic wrong.

OK, I will try that but does not have enough time for the moment.

-- 

Hans Ekbrand (http://sociologi.cjb.net) <hans@sociologi.cjb.net>
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.

Attachment: signature.asc
Description: Digital signature


Reply to: