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: opensuse-ppc+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-ppc+owner@opensuse.org