Re: Call for testing
Dinar Valeev <[email protected]>
| Newsgroups | gmane.linux.suse.ppc |
|---|---|
| Message-ID | <CADqALGR1erXiKhB6eeHqRqJWt2h+UVqrnj=q845Dpq5Rfjz2Jw@mail.gmail.com> |
Oh... broken by me.. ;) Thanks.. I'll apply the patch. On Mon, Oct 8, 2012 at 10:04 AM, Alexander Graf <[email protected]> wrote: > > On 08.10.2012, at 10:02, Dinar Valeev wrote: > >> I'll take a look,what I can do here.. > > The following patch fixed it for me. > > > Alex > > --- /bin/show_of_path.sh.bkp 2012-10-08 09:38:47.715993663 +0200 > +++ /bin/show_of_path.sh 2012-10-08 10:03:17.603993398 +0200 > @@ -327,7 +327,14 @@ > ide_port=$of_disk_scsi_host > ide_channel=$of_disk_scsi_id > > - cd ../../.. > + until test -f devspec > + do > + cd .. > + if test "$PWD" = "/" > + then > + break > + fi > + done > ;; > */host+([0-9])/rport-+([0-9]):+([0-9])-+([0-9])/target+([0-9:])/+([0-9]):+([0-9]):+([0-9]):+([0-9])) > # new sysfs layout starting with kernel 2.6.15 > @@ -488,6 +495,7 @@ > ;; > block) > file_storage_type=virtio > + ;; > *) > error "Unknown device type $(< ${file_of_hw_devtype}/device_type)" > ;; > @@ -637,6 +645,7 @@ > virtio) > file_of_hw_path="${file_of_hw_devtype##/proc/device-tree}" > dbg_show file_of_hw_path > + ;; > *) > error "Internal error, can't handle storage type '${file_storage_type}'" > ;; > -- To unsubscribe, e-mail: [email protected] To contact the owner, e-mail: [email protected]