茫茫網海中的冷日
         
茫茫網海中的冷日
發生過的事,不可能遺忘,只是想不起來而已!
 恭喜您是本站第 1671819 位訪客!  登入  | 註冊
主選單

Google 自訂搜尋

Goole 廣告

隨機相片
IMG_00046.jpg

授權條款

使用者登入
使用者名稱:

密碼:


忘了密碼?

現在就註冊!

小企鵝開談 : [分享]CentOS in Hyper-V 碰上 hv_vmbus: probe failed for device vmbus_0_11 (-22)

發表者 討論內容
冷日
(冷日)
Webmaster
  • 註冊日: 2008/2/19
  • 來自:
  • 發表數: 15771
[分享]CentOS in Hyper-V 碰上 hv_vmbus: probe failed for device vmbus_0_11 (-22)
How can I fine-tune Linux integration components
Windows Server > Windows Server 2008 R2 Hyper-V

My question is related to the Linux integration components version 2. My current environment is MS Hyper-V 2008 hosting a multitude of CentOS VMs (yes, I realize CentOS is not an officially supported distro). The VM I'm seeing this problem with is running CentOS 5.4 kernel 2.6.18-167-11.1.el5 using LVM. When I initially created the machine, I neglected to remove the uneeded SCSI controller at first but subsequently pulled it. I'm not positive it's relevant, but one of the errors is definitely related to STORVSC.

Anyway, I'm not sure whether anyone can assist in debugging this, but here's my dmesg output:
    [deadlines@vlad ~]# dmesg | grep ERROR
    BLKVSC_DRV: blkvsc_probe() ERROR!! register_blkdev() failed! ret -16
    VMBUS_DRV: vmbus_probe() ERROR!! probe() failed for device vmbus_0_2 (ffff81001ec10488) on driver blkvsc (-16)...
    BLKVSC_DRV: blkvsc_probe() ERROR!! register_blkdev() failed! ret -16
    VMBUS_DRV: vmbus_probe() ERROR!! probe() failed for device vmbus_0_5 (ffff81001f29a488) on driver blkvsc (-16)...
    VMBUS_DRV: vmbus_child_device_register() ERROR!! unable to register child device (ffff81001f29a488) (517406016)
    VMBUS: VmbusChannelProcessOffer() ERROR!! unable to add child device object (relid 2)
    BLKVSC_DRV: blkvsc_probe() ERROR!! register_blkdev() failed! ret -16
    STORVSC: StorVscOnChannelCallback() ERROR!! unable to get stor device...device being destroyed?
    VMBUS_DRV: vmbus_probe() ERROR!! probe() failed for device vmbus_0_6 (ffff81001f29a488) on driver blkvsc (-16)...
    VMBUS_DRV: vmbus_child_device_register() ERROR!! unable to register child device (ffff81001f29a488) (518192448)
    VMBUS: VmbusChannelProcessOffer() ERROR!! unable to add child device object (relid 2)

The Linux IC drivers and modules installed correctly using the setup.pl script, although I did get a warning related to an unused variable. Here's the content of that:
    [deadlines@vlad linux_ic]# cat drvinstall.err
      Building modules, stage 2.
    WARNING: could not find /opt/linux_ic/drivers/dist/vmbus/../hv/vmbus/.vmbus.x86_64.cmd for /opt/linux_ic/drivers/dist/vmbus/../hv/vmbus/vmbus.x86_64
    /opt/linux_ic/drivers/dist/blkvsc/blkvsc_drv.c: In function blkvsc_ioctl:
    /opt/linux_ic/drivers/dist/blkvsc/blkvsc_drv.c:1490: warning: unused variable blkdev
      Building modules, stage 2.
    WARNING: could not find /opt/linux_ic/drivers/dist/blkvsc/../hv/blkvsc/.blkvsc.x86_64.cmd for /opt/linux_ic/drivers/dist/blkvsc/../hv/blkvsc/blkvsc.x86_64
      Building modules, stage 2.
    WARNING: could not find /opt/linux_ic/drivers/dist/storvsc/../hv/storvsc/.storvsc.x86_64.cmd for /opt/linux_ic/drivers/dist/storvsc/../hv/storvsc/storvsc.x86_64
      Building modules, stage 2.
    WARNING: could not find /opt/linux_ic/drivers/dist/netvsc/../hv/netvsc/.netvsc.x86_64.cmd for /opt/linux_ic/drivers/dist/netvsc/../hv/netvsc/netvsc.x86_64


The drivers seem to be loading properly for my IDE drive, but these strange probe errors persist during boot. Is there any way to view/modify the list of GUIDs the VMBUS or BLKSVC probes use to enumerate devices?
Tuesday, February 02, 2010 4:05 PM



replies

I just received this responce from one of the team members at Microsoft:

"
Looks like the boot options line in GRUB might be incorrect.

Make sure that you add the following lines to your ‘kernel; line in grub;
                    Ide0=noprobe ide1=noprobe hda=noprobe hdb=noprobe

And that the blk driver is loaded early in the modules file.
"
Brian Ehlert (hopefully you have found this useful)



Thanks Brian, adding the, "ide0=noprobe" & "ide1=noprobe" options to the kernel fixed the issue for me. The vmbus drivers script adds the, "hda=noprobe" and "hdb=noprobe" commands automatically, but the ide options need to be added manually.


原文出處:
How can I fine-tune Linux integration components



冷日:
簡單來說,就是在 grub.conf 的 kernel 那一行最後加上
ide0=noprobe ide1=noprobe hda=noprobe hdb=noprobe

就可以解決了!


另外也有人碰上類似問題:mec0709 記事: CentOS 6.5 核心升級至 2.6.32-431.17.1.el6.x86_64 在Windows Server 2008 R2出現的錯誤訊息
前一個主題 | 下一個主題 | 頁首 | | |



Powered by XOOPS 2.0 © 2001-2008 The XOOPS Project|