Toaster on IA64 systems

Discussion in 'Windows Vista Drivers' started by HT, Dec 10, 2004.

  1. HT

    HT Guest

    Hi,

    We are using Toaster sample on a single processor IA64 (1.6GHz) server with
    Windows 2003 SP1 Release candidate 1.

    Toaster device plugin with enum –p 999 completes, but device manager
    Toasterdevice999 device status is:
    “This device cannot find enough free resources that it can use. (Code 12)
    If you want to use this device, you will need to disable one of the other
    devices on this system.
    Click Troubleshoot to start the troubleshooter for this device.â€

    We didn’t see toaster device IRP_MN_START_DEVICE getting called after
    BusEnum.SYS: FDO IRP_MN_QUERY_INTERFACE IRP:0x9b884010. Please suggest.

    Here is the windbg trace:
    BusEnum.SYS: Driver Entry
    BusEnum.SYS: Add Device: 0x9b53d8b0
    BusEnum.SYS: AddDevice: 9b38cd40 to 9b53d8b0->9b53d8b0 (\Device\00000050)
    BusEnum.SYS: FDO IRP_MN_QUERY_LEGACY_BUS_INFORMATION IRP:0x9b817070
    BusEnum.SYS: FDO IRP_MN_FILTER_RESOURCE_REQUIREMENTS IRP:0x9b817070
    BusEnum.SYS: FDO IRP_MN_START_DEVICE IRP:0x9b817070
    BusEnum.SYS: FDO IRP_MN_QUERY_CAPABILITIES IRP:0x9b817070
    BusEnum.SYS: FDO IRP_MN_QUERY_PNP_DEVICE_STATE IRP:0x9b817070
    BusEnum.SYS: FDO IRP_MN_QUERY_DEVICE_RELATIONS IRP:0x9b817070
    QueryDeviceRelation Type: BusRelations
    #PDOS present = 0
    #PDOs reported = 0
    BusEnum.SYS: FDO: unknown_syscontrol_irp
    BusEnum.SYS: Create
    BusEnum.SYS: PlugIn called
    BusEnum.SYS: Exposing PDO
    ======SerialNo: 999
    ======HardwareId: {B85B7C50-6A01-11d2-B841-00C04FAD5171}\MsToaster
    ======Length: 50
    BusEnum.SYS: FdoData->NextLowerDriver = 0x9b53d8b0
    BusEnum.SYS: FDO IRP_MN_QUERY_DEVICE_RELATIONS IRP:0x9b4a5890
    QueryDeviceRelation Type: BusRelations
    #PDOS present = 1
    #PDOs reported = 1
    BusEnum.SYS: PDO IRP_MN_QUERY_ID IRP: 0x9c869ba0
    QueryId Type: BusQueryDeviceID
    BusEnum.SYS: PDO IRP_MN_QUERY_CAPABILITIES IRP: 0x9c869ba0
    BusEnum.SYS: FDO IRP_MN_QUERY_CAPABILITIES IRP:0x9b4a5890
    BusEnum.SYS: PDO IRP_MN_QUERY_DEVICE_TEXT IRP: 0x9c869ba0
    DeviceTextDescription :Microsoft_Eliyas_Toaster_999
    BusEnum.SYS: PDO IRP_MN_QUERY_DEVICE_TEXT IRP: 0x9c869ba0
    DeviceTextLocationInformation: Unknown
    BusEnum.SYS: PDO IRP_MN_QUERY_ID IRP: 0x9c869ba0
    QueryId Type: BusQueryInstanceID
    InstanceID: 999
    BusEnum.SYS: PDO IRP_MN_QUERY_ID IRP: 0x9c869ba0
    QueryId Type: BusQueryHardwareIDs
    BusEnum.SYS: PDO IRP_MN_QUERY_ID IRP: 0x9c869ba0
    QueryId Type: BusQueryCompatibleIDs
    BusEnum.SYS: PDO IRP_MN_QUERY_RESOURCE_REQUIREMENTS IRP: 0x9c869ba0
    BusEnum.SYS: PDO IRP_MN_QUERY_BUS_INFORMATION IRP: 0x9c869ba0
    BusEnum.SYS: PDO IRP_MN_QUERY_RESOURCES IRP: 0x9c869ba0
    BusEnum.SYS: Close
    ClassInstaller: DIF_ALLOW_INSTALL
    ClassInstaller: DIF_INSTALLDEVICEFILES
    ClassInstaller: DIF_REGISTER_COINSTALLERS
    CoInstaller: DIF_INSTALLINTERFACES
    ClassInstaller: DIF_INSTALLINTERFACES
    CoInstaller: DIF_INSTALLDEVICE
    ClassInstaller: DIF_INSTALLDEVICE
    BusEnum.SYS: PDO IRP_MN_QUERY_ID IRP: 0x9b902870
    QueryId Type: BusQueryDeviceID
    BusEnum.SYS: PDO IRP_MN_QUERY_CAPABILITIES IRP: 0x9b902870
    BusEnum.SYS: FDO IRP_MN_QUERY_CAPABILITIES IRP:0x9b884010
    BusEnum.SYS: PDO IRP_MN_QUERY_DEVICE_TEXT IRP: 0x9b902870
    DeviceTextDescription :Microsoft_Eliyas_Toaster_999
    BusEnum.SYS: PDO IRP_MN_QUERY_DEVICE_TEXT IRP: 0x9b902870
    DeviceTextLocationInformation: Unknown
    BusEnum.SYS: PDO IRP_MN_QUERY_ID IRP: 0x9b902870
    QueryId Type: BusQueryInstanceID
    InstanceID: 999
    BusEnum.SYS: PDO IRP_MN_QUERY_ID IRP: 0x9b902870
    QueryId Type: BusQueryHardwareIDs
    BusEnum.SYS: PDO IRP_MN_QUERY_ID IRP: 0x9b902870
    QueryId Type: BusQueryCompatibleIDs
    BusEnum.SYS: PDO IRP_MN_QUERY_RESOURCE_REQUIREMENTS IRP: 0x9b902870
    BusEnum.SYS: PDO IRP_MN_QUERY_BUS_INFORMATION IRP: 0x9b902870
    BusEnum.SYS: PDO IRP_MN_QUERY_RESOURCES IRP: 0x9b902870
    Featured2: Entered DriverEntry of Featured2 version built on Dec 9 2004 at
    11:28:03
    Featured2: AddDevice PDO (0xE00001659B377AF0)
    Featured2: AddDevice FDO (0xE00001659B4B1880)
    Featured2: FDO IRP_MN_QUERY_LEGACY_BUS_INFORMATION
    BusEnum.SYS: PDO IRP_MN_QUERY_LEGACY_BUS_INFORMATION IRP: 0x9b884010
    Featured2: FDO IRP_MN_FILTER_RESOURCE_REQUIREMENTS
    BusEnum.SYS: PDO IRP_MN_FILTER_RESOURCE_REQUIREMENTS IRP: 0x9b884010
    Featured2: FDO IRP_MN_QUERY_INTERFACE
    BusEnum.SYS: PDO IRP_MN_QUERY_INTERFACE IRP: 0x9b884010
    BusEnum.SYS: FDO IRP_MN_QUERY_INTERFACE IRP:0x9b884010
    BusEnum.SYS: FDO IRP_MN_QUERY_INTERFACE IRP:0x9b884010
    BusEnum.SYS: FDO IRP_MN_QUERY_STOP_DEVICE IRP:0x9b884010
    BusEnum.SYS: FDO IRP_MN_CANCEL_STOP_DEVICE IRP:0x9b884010
    BusEnum.SYS: FDO IRP_MN_QUERY_STOP_DEVICE IRP:0x9b884010
    BusEnum.SYS: FDO IRP_MN_CANCEL_STOP_DEVICE IRP:0x9b884010
    CoInstaller: DIF_INSTALLDEVICE PostProcessing
    CoInstaller: DIF_INSTALLDEVICE MySpecicalFlag, Do something here!
    CoInstaller: DIF_NEWDEVICEWIZARD_FINISHINSTALL
    ClassInstaller: DIF_NEWDEVICEWIZARD_FINISHINSTALL
    CoInstaller: DIF_DESTROYPRIVATEDATA
    ClassInstaller: DIF_DESTROYPRIVATEDATA


    Thanks in advance.
     
    HT, Dec 10, 2004
    #1
    1. Advertisements

  2. Eliyas Yakub [MSFT], Dec 14, 2004
    #2
    1. Advertisements

  3. HT

    HT Guest

    HT, Dec 14, 2004
    #3
  4. Eliyas Yakub [MSFT], Dec 14, 2004
    #4
  5. I was able to successfully enumerate a device off of toaster bus on IA64.
    Here is the trace. Did you try my suggestion?

    0: kd> version
    Windows Server 2003 Kernel Version 3790 (Service Pack 1.1162) MP (2 procs)
    Free Intel IA64
    Product: WinNt, suite: TerminalServer SingleUserTS


    BusEnum.SYS: Driver Entry
    BusEnum.SYS: Add Device: 0xe7abee10
    BusEnum.SYS: AddDevice: e74467b0 to e7abee10->e7abee10 (\Device\00000054)
    BusEnum.SYS: FDO IRP_MN_QUERY_LEGACY_BUS_INFORMATION IRP:0xb5159ea0
    BusEnum.SYS: FDO IRP_MN_FILTER_RESOURCE_REQUIREMENTS IRP:0xb54f9ea0
    BusEnum.SYS: FDO IRP_MN_START_DEVICE IRP:0xb63f1ea0
    BusEnum.SYS: FDO IRP_MN_QUERY_CAPABILITIES IRP:0xb5059ea0
    BusEnum.SYS: FDO IRP_MN_QUERY_PNP_DEVICE_STATE IRP:0xb5cadea0
    BusEnum.SYS: FDO IRP_MN_QUERY_DEVICE_RELATIONS IRP:0xb60ddea0
    QueryDeviceRelation Type: BusRelations
    #PDOS present = 0
    #PDOs reported = 0
    BusEnum.SYS: FDO: unknown_syscontrol_irp
    enBusEnum.SYS: Create
    BusEnum.SYS: PlugIn called
    BusEnum.SYS: Exposing PDO
    ======SerialNo: 1
    ======HardwareId: {B85B7C50-6A01-11d2-B841-00C04FAD5171}\MsToaster
    ======Length: 50
    BusEnum.SYS: FdoData->NextLowerDriver = 0xe7abee10
    BusEnum.SYS: FDO IRP_MN_QUERY_DEVICE_RELATIONS IRP:0xb6315ea0
    QueryDeviceRelation Type: BusRelations
    #PDOS present = 1
    #PDOs reported = 1
    BusEnum.SYS: Close
    BusEnum.SYS: PDO IRP_MN_QUERY_ID IRP: 0xb6621ee0
    QueryId Type: BusQueryDeviceID
    BusEnum.SYS: PDO IRP_MN_QUERY_CAPABILITIES IRP: 0xb5821ee0
    BusEnum.SYS: FDO IRP_MN_QUERY_CAPABILITIES IRP:0xb6ba1ea0
    BusEnum.SYS: PDO IRP_MN_QUERY_DEVICE_TEXT IRP: 0xb4cf1ee0
    DeviceTextDescription :Microsoft_Eliyas_Toaster_01
    BusEnum.SYS: PDO IRP_MN_QUERY_DEVICE_TEXT IRP: 0xb52b5ee0
    DeviceTextLocationInformation: Unknown
    BusEnum.SYS: PDO IRP_MN_QUERY_ID IRP: 0xb4841ee0
    QueryId Type: BusQueryInstanceID
    InstanceID: 01
    BusEnum.SYS: PDO IRP_MN_QUERY_ID IRP: 0xb6eddee0
    QueryId Type: BusQueryHardwareIDs
    BusEnum.SYS: PDO IRP_MN_QUERY_ID IRP: 0xb483dee0
    QueryId Type: BusQueryCompatibleIDs
    BusEnum.SYS: PDO IRP_MN_QUERY_RESOURCE_REQUIREMENTS IRP: 0xb6289ee0
    BusEnum.SYS: PDO IRP_MN_QUERY_BUS_INFORMATION IRP: 0xb4f31ee0
    BusEnum.SYS: PDO IRP_MN_QUERY_RESOURCES IRP: 0xb4fb5ee0
    ClassInstaller: DIF_ALLOW_INSTALL
    ClassInstaller: DIF_INSTALLDEVICEFILES
    ClassInstaller: DIF_REGISTER_COINSTALLERS
    CoInstaller: DIF_INSTALLINTERFACES
    ClassInstaller: DIF_INSTALLINTERFACES
    CoInstaller: DIF_INSTALLDEVICE
    ClassInstaller: DIF_INSTALLDEVICE
    BusEnum.SYS: PDO IRP_MN_QUERY_ID IRP: 0xb5a35ee0
    QueryId Type: BusQueryDeviceID
    BusEnum.SYS: PDO IRP_MN_QUERY_CAPABILITIES IRP: 0xb54d1ee0
    BusEnum.SYS: FDO IRP_MN_QUERY_CAPABILITIES IRP:0xb5aa1ea0
    BusEnum.SYS: PDO IRP_MN_QUERY_DEVICE_TEXT IRP: 0xb520dee0
    DeviceTextDescription :Microsoft_Eliyas_Toaster_01
    BusEnum.SYS: PDO IRP_MN_QUERY_DEVICE_TEXT IRP: 0xb5991ee0
    DeviceTextLocationInformation: Unknown
    BusEnum.SYS: PDO IRP_MN_QUERY_ID IRP: 0xb6349ee0
    QueryId Type: BusQueryInstanceID
    InstanceID: 01
    BusEnum.SYS: PDO IRP_MN_QUERY_ID IRP: 0xb59adee0
    QueryId Type: BusQueryHardwareIDs
    BusEnum.SYS: PDO IRP_MN_QUERY_ID IRP: 0xb6051ee0
    QueryId Type: BusQueryCompatibleIDs
    BusEnum.SYS: PDO IRP_MN_QUERY_RESOURCE_REQUIREMENTS IRP: 0xb5359ee0
    BusEnum.SYS: PDO IRP_MN_QUERY_BUS_INFORMATION IRP: 0xb64b1ee0
    BusEnum.SYS: PDO IRP_MN_QUERY_RESOURCES IRP: 0xb4ff1ee0
    Featured1: Entered DriverEntry of Featured1 version built on Dec 14 2004 at
    11:3
    6:46
    Featured1: AddDevice PDO (0xE0000165E76E4830)
    Featured1: AddDevice FDO (0xE0000165E7431C90)
    Featured1: FDO IRP_MN_QUERY_LEGACY_BUS_INFORMATION
    BusEnum.SYS: PDO IRP_MN_QUERY_LEGACY_BUS_INFORMATION IRP: 0xb4f99ea0
    Featured1: FDO IRP_MN_FILTER_RESOURCE_REQUIREMENTS
    BusEnum.SYS: PDO IRP_MN_FILTER_RESOURCE_REQUIREMENTS IRP: 0xb4f3dea0
    Featured1: FDO IRP_MN_QUERY_INTERFACE
    BusEnum.SYS: PDO IRP_MN_QUERY_INTERFACE IRP: 0xb5f39ea0
    BusEnum.SYS: FDO IRP_MN_QUERY_INTERFACE IRP:0xb6869ea0
    BusEnum.SYS: FDO IRP_MN_QUERY_INTERFACE IRP:0xb6685ea0
    Featured1: FDO IRP_MN_START_DEVICE
    BusEnum.SYS: PDO IRP_MN_START_DEVICE IRP: 0xb4949ea0
    Featured1: Resource RAW Port: (1ff7) Length: (1)
    Featured1: Resource Translated Port: (1ff7) Length: (1)
    Featured1: Process or fail queued Requests
    Featured1: FDO IRP_MN_QUERY_CAPABILITIES
    BusEnum.SYS: PDO IRP_MN_QUERY_CAPABILITIES IRP: 0xb6205ea0
    BusEnum.SYS: FDO IRP_MN_QUERY_CAPABILITIES IRP:0xb4835ea0
    Featured1: FDO IRP_MN_QUERY_PNP_DEVICE_STATE
    BusEnum.SYS: PDO IRP_MN_QUERY_PNP_DEVICE_STATE IRP: 0xb4ebdea0
    Featured1: FDO IRP_MN_QUERY_DEVICE_RELATIONS
    BusEnum.SYS: PDO IRP_MN_QUERY_DEVICE_RELATIONS IRP: 0xb62edea0
    QueryDeviceRelation Type: BusRelations
    Featured1: FDO unknown_syscontrol_irp
    Featured1: Entered ToasterQueryWmiRegInfo
    CoInstaller: DIF_INSTALLDEVICE PostProcessing
    CoInstaller: DIF_INSTALLDEVICE MySpecicalFlag, Do something here!
    CoInstaller: DIF_NEWDEVICEWIZARD_FINISHINSTALL
    ClassInstaller: DIF_NEWDEVICEWIZARD_FINISHINSTALL
    CoInstaller: DIF_DESTROYPRIVATEDATA
    ClassInstaller: DIF_DESTROYPRIVATEDATA
     
    Eliyas Yakub [MSFT], Dec 14, 2004
    #5
  6. HT

    HT Guest

    Earlier suggestion, not reporting the port resource in response to
    IRP_MN_QUERY_RESOURCE_REQUIREMENTS worked.

    And we are using Featured2 Toaster. Does it make any difference. Thank You.
     
    HT, Dec 14, 2004
    #6
  7. HT

    HT Guest

    Without changing bus driver both featured1 and featured2 didn't work.

    Differences between your system and ours are:
    2P and 1P
    Sp1.1162 and Sp1.1289 (RC1).

    Thank You.
     
    HT, Dec 14, 2004
    #7
  8. I will try out on RC1 build and see if it repros.
     
    Eliyas Yakub [MSFT], Dec 15, 2004
    #8
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.