Re: WinXPSP2, Intel Core2Duo, Kernel drivers



It has little to do with whether it's supported or unsupported. Human beings
are extremely creative when it comes to making bugs. I figure it's because
we are not being fully debugged.

Testing driver on UP thoroughly is a must IMO.

--
Calvin Guan (DDK MVP)
Sr. Staff Engineer
NetXtreme Vista/Longhorn Server Miniport
Broadcom Corporation
Connecting Everything(r)

<soviet_bloke@xxxxxxxxxxx> wrote in message
news:1157605339.245398.35080@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi Calvin

once the driver works fine on SMP machine, it
automatically implies it will work fine on UP one as well.

Believe it or not, this is not true.

My statement is based upon the "bold" assumption that the driver in
question relies only upon the "supported" stuff. Certainly, if it, say,
uses SYNCH_LEVEL directly (i.e. does something that drivers are not
supposed to do), then it may work fine on MP kernel and fail on UP one
- on UP kernel SYNCH_LEVEL equals DISPATCH_LEVEL, although on MP one it
equals CLOCK2_LEVEL. Similarly, if it uses KeQueryPerformanceCounter()
in order to measure the elapsed time(again, something drivers are not
supposed to do), implications may be quite different for UP and MP
kernels. However, as long as it plays by the rules, my statement
holds....



Anton Bassov

Calvin Guan wrote:
<soviet_bloke@xxxxxxxxxxx> wrote in message
news:1157600038.483526.248840@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
In fact, it just does not make sense to write "non-SMP aware" drivers,
in the first place

well said.

once the driver works fine on SMP machine, it
automatically implies it will work fine on UP one as well.

Believe it or not, this is not true.

--
Calvin Guan (DDK MVP)
Sr. Staff Engineer
NetXtreme Vista/Longhorn Server Miniport
Broadcom Corporation
Connecting Everything(r)



.



Relevant Pages

  • Re: WinXPSP2, Intel Core2Duo, Kernel drivers
    ... are extremely creative when it comes to making bugs. ... Certainly, the more thorougly your driver is tested, the better it is ... Calvin Guan ... - on UP kernel SYNCH_LEVEL equals DISPATCH_LEVEL, ...
    (microsoft.public.development.device.drivers)
  • Re: WinXPSP2, Intel Core2Duo, Kernel drivers
    ... automatically implies it will work fine on UP one as well. ... - on UP kernel SYNCH_LEVEL equals DISPATCH_LEVEL, ... in order to measure the elapsed time(again, something drivers are not ... Calvin Guan ...
    (microsoft.public.development.device.drivers)
  • Re: 2.6.30-rc4 kernel
    ... I think there may be a problem with the 2.6.30 kernel that is ... # Generic Driver Options ... # PCI IDE chipsets support ... # Other IDE chipsets support ...
    (Linux-Kernel)
  • 2.6.30-rc4 kernel
    ... kernel panic - not syncing: ... # Generic Driver Options ... # PCI IDE chipsets support ... # Other IDE chipsets support ...
    (Linux-Kernel)
  • [PATCH 18-rc2] Fix typos in /Documentation : N-P
    ... Again, if you're not gonna do synchronization with disk drives (dang, ... -the kernel. ... There are two options specific to PSX driver portion. ... The driver uses the settings from the EEPROM set in the SCSI BIOS ...
    (Linux-Kernel)

Loading