SOLVED freenas 11.2 b3 iso on a pendrive make win 7 bsod

yomismo

Dabbler
Joined
Sep 18, 2013
Messages
41
step to reproduce if anyone is interested

1 get etcher https://etcher.io/
2 download freenas 11.2 b3
3 get USB pendrive
4 flash freenas iso on said pen
5 disconnect and connect said pen to a usb => win7 instant bsod

i tested other usb ports and pendrive
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
Try using Rufus instead of etcher.
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457

RiBeneke

Dabbler
Joined
Nov 18, 2013
Messages
37
Attempting to upgrade our FreeNAS 9.10.2-U6 to the latest 11.2-U5 or 11.2-U6.
I have been having the same problem.
FreeNAS 11.2 iso has something in it that creates a corrupt partition table when written to a usb stick using Rufus or other writer on win 7 x64 pro pc.
The corrupted usb stick will then instantly crash (BSD) a Windows system
when plugged into Win7 x64 Pro, Win7 x32 Starter or Win 10 (all have the latest Windows updates).
See this discussion of the problem :
https://github.com/pbatard/rufus/issues/1188
I am experimenting further to find a workaround.
 

RiBeneke

Dabbler
Joined
Nov 18, 2013
Messages
37
The Microsoft tool for writing an iso file to a usb stick
downloaded 2019-09-25 as <Windows7-USB-DVD-Download-Tool-Installer-en-GB.exe>
reports that FreeNAS-11.2-U5.iso and FreeNAS-11.2-U6.iso (also downloaded in the last few days) are invalid iso files
so there is some incompatibility with Windows 7 Professional (x64) Service Pack 1 (build 7601).
 

RiBeneke

Dabbler
Joined
Nov 18, 2013
Messages
37
Testing made several bricked USB memory sticks using Windows 7 pc.
Bought some more.
Used the same downloaded FreeNAS .iso files and Rufus on a Windows 10 pc.
Creating the USB boot device worked perfectly as per documentation.
It seems to be a problem inside some versions / builds of Windows 7, strangely only happened with FreeNAS .iso files.
 

sys-d

Cadet
Joined
Oct 21, 2019
Messages
1
I'm trying to setup my first FreeNAS and I'm having the same problem with Windows 7 and Windows 10 blue screening just after completing the write of FreeNAS-11.2-U6.iso to a USB stick by Rufus. Whatever is in that iso is lethal -- very consistently blue screens Windows. I've tried 3 sticks by 2 different manufacturers. All same result.

I use Rufus on a regular basis to create bootable USB sticks for other iso's (clonezilla, etc.) and never had any such issues.

I used windbg.exe on Windows 7 to extract info from a .dmp file produced by one of the blue screens.

It shows an Integer division by zero exception in Windows Partition Management Driver.

Code:
11: kd> !analyze -v
*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************

KMODE_EXCEPTION_NOT_HANDLED (1e)
This is a very common bugcheck.  Usually the exception address pinpoints
the driver/function that caused the problem.  Always note this address
as well as the link date of the driver/image that contains this address.
Arguments:
Arg1: ffffffffc0000094, The exception code that was not handled
Arg2: fffff8801c7a8e60, The address that the exception occurred at
Arg3: 0000000000000000, Parameter 0 of the exception
Arg4: 0000000000000000, Parameter 1 of the exception

Debugging Details:
------------------


EXCEPTION_CODE: (NTSTATUS) 0xc0000094 - {EXCEPTION}  Integer division by zero.


Code:
11: kd> lmvm partmgr
start             end                 module name
fffff880`00e66000 fffff880`00e7b000   partmgr    (pdb symbols)          c:\symcache\partmgr.pdb\7E391DC4AAAC45C4A8D0FA49903564362\partmgr.pdb
    Loaded symbol image file: partmgr.sys
    Mapped memory image file: c:\symcache\partmgr.sys\4F641BC115000\partmgr.sys
    Image path: \SystemRoot\System32\drivers\partmgr.sys
    Image name: partmgr.sys
    Timestamp:        Sat Mar 17 00:06:09 2012 (4F641BC1)
    CheckSum:         0001DFC8
    ImageSize:        00015000
    File version:     6.1.7601.17796
    Product version:  6.1.7601.17796
    File flags:       0 (Mask 3F)
    File OS:          40004 NT Win32
    File type:        3.7 Driver
    File date:        00000000.00000000
    Translations:     0000.04b0
    CompanyName:      Microsoft Corporation
    ProductName:      Microsoft® Windows® Operating System
    InternalName:     partmgr.sys
    OriginalFilename: partmgr.sys
    ProductVersion:   6.1.7601.17796
    FileVersion:      6.1.7601.17796 (win7sp1_gdr.120316-1742)
    FileDescription:  Partition Management Driver
    LegalCopyright:   © Microsoft Corporation. All rights reserved.

Dump analysis is attached.

While the driver should *not* bsod under any circumstance (technically it's a Microsoft driver unhandled exception), however it would to great if this could be fixed by releasing a FreeNAS iso that doesn't do this. Also, it'd be good to warn on the FreeNAS downloads page that this iso may cause Windows 7 and Windows 10 system to blue screen when creating a USB stick. It's really unnerving.

I've been able to burn a CD this the iso image without issue.
 

Attachments

  • dump-dbg.txt
    9.9 KB · Views: 439
Top