Topic: Sound A BSOD on W2K

Beginning with 10.03 (8.05 did not have this issue) using Sound A on Windows 2000 will result in a BSOD during installation (GUI stage) related to portcls.sys

Re: Sound A BSOD on W2K

Kurt... Read before you post link in my signature... supply logs and HWIDs... as usual

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: Sound A BSOD on W2K

For test purposes used a clean copy of Windows 2000 sp4 and only integrated DriverPack Sound A 10.06

Tested (and failed) in Sun VirtualBox 3.0.14 (only takes a few minutes to reach the BSOD)

2010-07-26 16:58:24 : <INIT> DriverPacks BASE 10.06 initialized.
2010-07-26 16:58:24 : <INIT> Host environment: WIN_XP Service Pack 2 X64 on a X64 CPU.
2010-07-26 16:58:24 : <INIT> Created temporary working directory.
2010-07-26 16:58:24 : <INIT> Imported proxy settings from Internet Explorer.
2010-07-26 16:58:24 : <INIT> Start scanning for DriverPacks for the wnt5_x86-32 platform.
2010-07-26 16:58:24 : <INIT> 	Detected DriverPack Chipset 10052!
2010-07-26 16:58:24 : <INIT> 	Detected DriverPack CPU 1005!
2010-07-26 16:58:24 : <INIT> 	Detected DriverPack Graphics A 1005!
2010-07-26 16:58:24 : <INIT> 	Detected DriverPack Graphics B 1005!
2010-07-26 16:58:24 : <INIT> 	Detected DriverPack Graphics C 1005!
2010-07-26 16:58:24 : <INIT> 	Detected DriverPack LAN 10051!
2010-07-26 16:58:24 : <INIT> 	Detected DriverPack Mass Storage 805!
2010-07-26 16:58:24 : <INIT> 	Detected DriverPack Sound A 1006!
2010-07-26 16:58:24 : <INIT> 	Detected DriverPack Sound B 805!
2010-07-26 16:58:24 : <INIT> 	Detected DriverPack WLAN 1007!
2010-07-26 16:58:24 : <INIT> 	Could not detect any 3rd party DriverPacks for wnt5_x86-32.
2010-07-26 16:58:24 : <INIT> 	Finished scanning.
2010-07-26 16:58:24 : <INIT> Detected settings file "D:\Operating_Systems\DriverPacks\DPs_BASE.ini".
2010-07-26 16:58:24 : <INIT> Windows 2000 Professional -  SP4 detected.
2010-07-26 16:58:24 : <INIT> wnt5_x86-32_disc is the selected installation platform .
2010-07-26 16:58:24 : <INIT> Imported settings from settings file.
2010-07-26 16:58:24 : <GUI>  Initialized GUI.
2010-07-26 16:58:24 : <GUI>  Created a list of all available language files.
2010-07-26 16:58:24 : <GUI>  Set the last used language, English, as the GUI language.
2010-07-26 16:58:32 : <GUI>  Refreshed UpdateChecker with success.
2010-07-26 16:59:02 : <GUI>  Saved settings!
2010-07-26 16:59:02 : <GUI>  Closed GUI.
2010-07-26 16:59:02 : <SEL>  Selected module: mod_slip_w2k_x86-32_disc_m2.
2010-07-26 16:59:03 : <PREP> Removed all attributes from \I386.
2010-07-26 16:59:03 : <PREP> No previous DriverPacks installation found, Prep stage will be skipped
2010-07-26 16:59:03 : <SLIP> Created necessary directory structure for method 2.
2010-07-26 16:59:03 : <SLIP> Copying files necessary for method 2.
2010-07-26 16:59:04 : <SLIP> Extracted additional files necessary for method 2.
2010-07-26 16:59:04 : <SLIP> expanded setup.ex_ to setuporg.exe
2010-07-26 16:59:04 : <SLIP> SETUP.EX_ Backed-up Successfully
2010-07-26 16:59:04 : <SLIP> Method 2 setup.ex_ installed
2010-07-26 16:59:04 : <SLIP> Created \I386\presetup.cmd file.
2010-07-26 16:59:04 : <SLIP> txtsetup.sif Backed-up Successfully
2010-07-26 16:59:04 : <SLIP> dosnet.inf Backed-up Successfully
2010-07-26 16:59:04 : <SLIP> Updated \I386\txtsetup.sif to support method 2.
2010-07-26 16:59:05 : <SLIP> Updated \I386\dosnet.inf to support method 2.
2010-07-26 16:59:05 : <SLIP> Copied DriverPack Sound A to \OEM.
2010-07-26 16:59:05 : <SLIP> Copied DriverPacks to \OEM.
2010-07-26 16:59:05 : <SLIP> Will not slipstream KB883667 because no Graphics DriverPack is being slipstreamed
2010-07-26 16:59:05 : <SLIP> svcpack.in_ Backed-up Successfully
2010-07-26 16:59:05 : <SLIP> Extracted svcpack.inf and deleted svcpack.in_.
2010-07-26 16:59:06 : <SLIP> uni2ansi.exe of svcpack.inf was successful
2010-07-26 16:59:07 : <SLIP> Updated \I386\svcpack.inf file to support KB888111.
2010-07-26 16:59:08 : <SLIP> Updated \I386\txtsetup.sif file to support KB888111.
2010-07-26 16:59:09 : <SLIP> Updated \I386\dosnet.inf file to support KB888111.
2010-07-26 16:59:09 : <SLIP> SVCPACK.INF was CAB compressed to SVCPACK.IN_
2010-07-26 16:59:09 : <SLIP> WINNT.SIF Backed-up Successfully
2010-07-26 16:59:10 : <SLIP> Updated \I386\winnt.sif to support method 2.
2010-07-26 16:59:10 : <SLIP> Updated DPsFnshr.ini to enable KTD for all DriverPacks.
2010-07-26 16:59:10 : <SLIP> DP_Install_Tool was copied successfully
2010-07-26 16:59:10 : <SLIP> Slipstream finished in 8 seconds.
2010-07-26 16:59:12 : <CLNP> Temporary working directory successfully deleted.
- = DriverPacks BASE ini settings used = -
[General]
; preferred language
prefLang	= "English"
; yes/no, enable or disable the wizard-style buttons, if not specified: yes
wizardButtons	= "yes"
; yes/no, enable or disable the GUI, if not specified: yes
GUI		= "yes"


[Settings]
; disc/bartpe/multibootDisc
instPlatform	= "disc"
; trailing backslash is allowed, but not necessary
location	= "D:\Operating_Systems\Test\Win2000_Prof_sp5_test"
; none/all/select, if select, specify them below, if not specified: all
DriverPacks	= "select"
; 1/2, method to install the DriverPacks, if not specified: 2
DPsMethod	= "2"
; GUIRunOnce/RunOnceEx/custom, if not specified: GUIRunOnce
finisherMethod	= "custom"


; this section is optional!
[OptionalSettings]
; none/all/select/paths/patterns, enable or disable Keep The Drivers (KTD) , if not specified: none
KTD		= "all"
; <path>, to specify a custom KTD cache location, if not specified: default (%SystemRoot%\DriverPacks)
KTDlocation	= "%SystemRoot%\DriverPacks"
; yes/no, enable or disable QuickStream Cache (QSC), if not specified: yes
QSC		= "no"


; you should only add this section if you've set [Settings]\DriverPacks to "select"
[SelectDriverPacks]
DP_Chipset	= "no"
DP_CPU		= "no"
DP_Graphics_A	= "no"
DP_Graphics_B	= "no"
DP_Graphics_C	= "no"
DP_LAN		= "no"
DP_MassStorage	= "no"
DP_Sound_A	= "yes"
DP_Sound_B	= "no"
DP_WLAN		= "no"
DP_MassStorage_textmode = "no"


; this section is optional!
[OptionalSettingsOther]
; CCC/CCP/None, use ATI Catalyst Control Center or ATI Catalyst Control Panel (only relevant when slipstreaming Graphics DriverPack)
; 1/2/3/None, use Nvidia Control Panel - 1 = Old, 2 = New, 3 = Both, None
ATI_cpl		= "CCC"
Nvidia_cpl	= "3"
2010-07-26 16:59:12 : <CLNP> Create a DPs_Base.log backup @ D:\Operating_Systems\DriverPacks\LogFiles\DPs_BASE_10-07-26_16-59.log
2010-07-26 16:59:12 : <CLNP> Program terminated.

Re: Sound A BSOD on W2K

BSOD message follows:

*** STOP: 0x0000001E (0xC0000005,0xBF6FB17A,0x00000000,0x00000000)
KMODE_EXCEPTION_NOT_HANDLED
*** Address BF6FB17A base at BF6EA000, DateStamp 3e9cd7ea - portcls.sys
Beginning dump of physical memory
Physical memory dump complete. Contact your system administrator or
technical Support group.

Re: Sound A BSOD on W2K

It's possible that the portcls.sys file in one of the folders is not w2k compatible.
Also, Win2k has a 255 character file path limit.  XP has a 4096 character limit.  I'm pretty sure that DriverPack Sound A FAR exceeds that limit on it's own because of the stupid Creative drivers!
BTW Jeff, I just had an idea about our file path limit problem.  I was thinking in terms of the UNC path that applies to burning files on a CD. CD burning uses Joliet specification (mostly) which limits the length to 256 minus one character, correct?  But in 2000 and XP there is no limit on a UNC path, i cant imagine ever having to worry about that because \\server\share wouldn't ever be very long.
Maybe if we create a RAM disk, then extract the DriverPacks to it and call it with \\?\%drive%\d\.
Just an idea.
Reference is here: http://msdn.microsoft.com/en-us/library … px#maxpath

To specify an extended-length path, use the "\\?\" prefix. For example, "\\?\D:\<very long path>". (The characters < > are used here for visual clarity and cannot be part of a valid path string.)
<snip>
Note  The maximum path of 32,767 characters is approximate, because the "\\?\" prefix may be expanded to a longer string by the system at run time, and this expansion applies to the total length.

Re: Sound A BSOD on W2K

So... following along. There would be no reason or need to use a ram disc? (except if we could, man it would be soooo fast!)

One could simply use \\?\%SystemDrive%\D\...

I don't think we can reliably create a 3GB ram disc that would be required to hold the full set of DriverPacks. Not all machines would have a sufficient amount of ram. It is even more likely that having enough ram would be an issue with a Win 2K machine, which would need it the most.

This does not help, and is in fact a hinderence, with the max size of a registry entry. (DevicePath)
I wish i could find the documentation on how to use a file to store a registry entry. (A Hive file)

\\?\%SystemDrive%\D\ Has merit as a solution. But we would need to use an environment variable to keep the path short enough to store in the registry. IE

Setx P =  \\?\%SystemDrive%\D\

then store paths in devpath registry entry as %P%G\... and %P%CPU\... and so on.

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: Sound A BSOD on W2K

Did a few more tests, it only fails in VirtualBox if one uses the default ICH AC97 audio, it won't BSOD if one changes the emulated audio hardware to SoundBlaster 16.

Similarly it will install correctly in Microsoft Virtual PC 2007 SP1.