Cannot debug Windows Vista via Null Modem

“Gary G. Little” wrote in message
news:xxxxx@ntdev…
> That really does not answer Don’s overlying question: Can you get Vista
> Hyterterminal talkiing to the XP HyperTerminal?
>
> The 1394 switch, is the best solution, though.
>
> –
Gary,

That depends for most things 1394 is fantastic, but there are a number
of things such as debugging crash dump handling that it really stinks on.
And of course 1394 is still not as reliable as serial.


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply

It may not help posting your bcd settings or those of others. I don’t
remember everything exactly involved but what did you do to set your bcd
settings ?There are some freeware utilities out there which claim to enable
debug settings but instead screw up your boot environment and I don’t know
why or what but do I remember that it’s not possible to view this from any
kind of problem from any command line output even if it matches the command
line output in the specifications. It’s a mess but when you know you used
some of those utilities or maybe you were experimenting before, all you need
to do is delete everything and then painfully manually execute bcdedit to
enable debugging and do it exactly the way it’s written.

/Daniel

“Ming-I Hsieh” wrote in message
news:xxxxx@ntdev…
Hi, Mark:

Ok, it’s glad to hear the system works for your computer. May u post
your bcdedit settings for me. Hence, I could try to set it via your
settings. In my machine, I had enable debug and dbgsettings. However,
it does not work.

Regards, Mihs

Quoting Mark Rodriquez :

> I have been doing debug on vista for several months, so I know that it
> works. Have you rechecked your BCDEDIT settings?
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Ming-I Hsieh
> Sent: Wednesday, September 12, 2007 11:15 AM
> To: Windows System Software Devs Interest List
> Subject: RE: [ntdev] Cannot debug Windows Vista via Null Modem
>
> Hi Mark:
>
> Yes, the hyperterminal works fine while the target computer is Vista,
> XP, or Win2K. I think the basic settings for the serial port is right
> except the kernel debugging for Vista. Actually, everything is fine
> except the kernel debugging of Vista via null modem.
>
> Regards, Mihs
>
> Quoting Mark Rodriquez :
>
>> Can you get the 2 systems to talk via hyperterminal?
>>
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

I just started reading this thread, but did you say that you are using a USB to serial converter? If so, I’m surprised it works at all, as you need an actual UART. I guess it has one.

xxxxx@evitechnology.com wrote:

I just started reading this thread, but did you say that you are using a USB to serial converter? If so, I’m surprised it works at all, as you need an actual UART. I guess it has one.

You only need a UART on the target end. The host end can use anything
that pretends to be a COM port.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

Indeed, Tim. I missed/assumed that he was talking about the target, which I why I couldn’t figure out why it worked on XP.

Thanks,

mm

“Tim Roberts” wrote in message news:xxxxx@ntdev…
> xxxxx@evitechnology.com wrote:
>> I just started reading this thread, but did you say that you are using a
>> USB to serial converter? If so, I’m surprised it works at all, as you
>> need an actual UART. I guess it has one.
>>
>
> You only need a UART on the target end. The host end can use anything
> that pretends to be a COM port.
>

Actually, I missed that. I have heard a number of horror stories on USB to
serial on the host having problems for WinDBG. I would love to know of
people who have gotten it working and what hardware they are using, since I
am moving to a new system and need the capability myself.


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply

Don,

I’ve used a Belkin USD-Serial adapter on XP debugger host successfully.

Thomas F. Divine

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-300241-
xxxxx@lists.osr.com] On Behalf Of Don Burn
Sent: Wednesday, September 12, 2007 8:29 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Cannot debug Windows Vista via Null Modem

“Tim Roberts” wrote in message news:xxxxx@ntdev…
> > xxxxx@evitechnology.com wrote:
> >> I just started reading this thread, but did you say that you are
> using a
> >> USB to serial converter? If so, I’m surprised it works at all, as
> you
> >> need an actual UART. I guess it has one.
> >>
> >
> > You only need a UART on the target end. The host end can use
> anything
> > that pretends to be a COM port.
> >
>
> Actually, I missed that. I have heard a number of horror stories on
> USB to
> serial on the host having problems for WinDBG. I would love to know of
> people who have gotten it working and what hardware they are using,
> since I
> am moving to a new system and need the capability myself.
>
>
> –
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Website: http://www.windrvr.com
> Blog: http://msmvps.com/blogs/WinDrvr
> Remove StopSpam to reply
>
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer

Hi, Gray:

Yes, the hyperteriminal works fine while target is Vista and host is
XP. However, the kernel debugging is not working.

Anyway, thanks for many people’s suggestions. Finally, the null modem
is working after I UNINSTALL COM1 and REINSTALL it with common IO port
settings,
0x3F8~0x3FF, IRQ 4. Before I just the IO port settings, COM1 was
located at 0x2F8~0x3FF, IRQ 3. I think there are some difference
between the capacity of kernel debugging and the capacity of Vista.
Hence, this odd problem occur.

Anyway, the null modem is working now. Thanks.

Regards, Mihs

Quoting “Gary G. Little” :

> That really does not answer Don’s overlying question: Can you get Vista
> Hyterterminal talkiing to the XP HyperTerminal?
>
> The 1394 switch, is the best solution, though.
>

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Sorry. I meant “USB” not “USD”.

The Belkin USB-Serial was a one-port dongle.

On my main dev machine I use a Keyspan 4-port USB-serial adapter. I use it
regularly to debug several (well, often two) machines concurrently. I
believe that this gizmo was originally recommended in an OSR “NT-Insider”
article, and works for me…

Actually, I haven’t used a “real” serial port on the debugger host for
several years now.

Thomas F. Divine

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-300241-
xxxxx@lists.osr.com] On Behalf Of Don Burn
Sent: Wednesday, September 12, 2007 8:29 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Cannot debug Windows Vista via Null Modem

“Tim Roberts” wrote in message news:xxxxx@ntdev…
> > xxxxx@evitechnology.com wrote:
> >> I just started reading this thread, but did you say that you are
> using a
> >> USB to serial converter? If so, I’m surprised it works at all, as
> you
> >> need an actual UART. I guess it has one.
> >>
> >
> > You only need a UART on the target end. The host end can use
> anything
> > that pretends to be a COM port.
> >
>
> Actually, I missed that. I have heard a number of horror stories on
> USB to
> serial on the host having problems for WinDBG. I would love to know of
> people who have gotten it working and what hardware they are using,
> since I
> am moving to a new system and need the capability myself.
>
>
> –
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Website: http://www.windrvr.com
> Blog: http://msmvps.com/blogs/WinDrvr
> Remove StopSpam to reply
>
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer

Hi, Burn

My USB-serial port is shown “Prolific USB-to-Serial Comm Port” in
device manager. I think it’s cheap and useful since a driver is always
ready in WinXP SP2.

Regards, Mihs

Actually, I missed that. I have heard a number of horror stories on USB to
serial on the host having problems for WinDBG. I would love to know of
people who have gotten it working and what hardware they are using, since I
am moving to a new system and need the capability myself.


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply


This message was sent using IMP, the Internet Messaging Program.

I used it for over a year at my last job. Currently I am using real serial
on the Dell notebook, as well as 1394a. I got it at Fry’s and it came in a
orange cardboard back with plastic front. It has some PLC chip in it and it
just works. It gives you weird serial port numbers, so check the device
manager to see what number it used. It comes with a yellow 80mm CD with the
unsigned drivers. They are not available via Windows Update. The hardware
wizard calls it a “Prolific USB-to-Serial Bridge”. The drivers are from
June 28, 2004 (my birthday - but I am not saying which one). The VID/PID is
067B/2303. The default is 9600 baud with no flow control, so I upped it to
115200,8,N,1 with hardware flow control. The max is supposed to be 128000,
but I doubt it will work with windbg. It assigned COM9 as the port.

P.S. You may ask if you wish. Just email me offline. I will get my email
when I go home in about an hour. I installed it on my personal notebook
just to see the info. I had it at work, but just haven’t needed to use it
with the company notebook.

“Don Burn” wrote in message news:xxxxx@ntdev…
>
> “Tim Roberts” wrote in message news:xxxxx@ntdev…
>> xxxxx@evitechnology.com wrote:
>>> I just started reading this thread, but did you say that you are using a
>>> USB to serial converter? If so, I’m surprised it works at all, as you
>>> need an actual UART. I guess it has one.
>>>
>>
>> You only need a UART on the target end. The host end can use anything
>> that pretends to be a COM port.
>>
>
> Actually, I missed that. I have heard a number of horror stories on USB
> to serial on the host having problems for WinDBG. I would love to know of
> people who have gotten it working and what hardware they are using, since
> I am moving to a new system and need the capability myself.
>
>
> –
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Website: http://www.windrvr.com
> Blog: http://msmvps.com/blogs/WinDrvr
> Remove StopSpam to reply
>
>

Ok, I had check this problem with another clear Vista(not work
previous) again. After I adjust the COM1 to 3F8/IRQ4, the clear Vista
works fine now. Hence, I believe the capacity of kernel debugging in
Vista is limited since 2F8/IRQ4 is working for XP and 2K.

Regards, Mihs

Quoting Ming-I Hsieh :

> Hi, Gray:
>
> Yes, the hyperteriminal works fine while target is Vista and host is
> XP. However, the kernel debugging is not working.
>
> Anyway, thanks for many people’s suggestions. Finally, the null modem
> is working after I UNINSTALL COM1 and REINSTALL it with common IO port
> settings,
> 0x3F8~0x3FF, IRQ 4. Before I just the IO port settings, COM1 was
> located at 0x2F8~0x3FF, IRQ 3. I think there are some difference
> between the capacity of kernel debugging and the capacity of Vista.
> Hence, this odd problem occur.
>
> Anyway, the null modem is working now. Thanks.
>
> Regards, Mihs
>

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

IIRC, your original installation was for COM2 !. Correct me if someone has a
better cache memory than mine :slight_smile:

Don, I used to use addonics usb to serial dongle and ( ~19Kbaud) what I
was getting very reliably ( back around yr 2000 ). And it worked from Win2k
to xp without any problem. I used it since the laptops (pesario 700 )did not
have serial port …

-pro

On 9/12/07, Ming-I Hsieh wrote:
>
> Hi, Gray:
>
> Yes, the hyperteriminal works fine while target is Vista and host is
> XP. However, the kernel debugging is not working.
>
> Anyway, thanks for many people’s suggestions. Finally, the null modem
> is working after I UNINSTALL COM1 and REINSTALL it with common IO port
> settings,
> 0x3F8~0x3FF, IRQ 4. Before I just the IO port settings, COM1 was
> located at 0x2F8~0x3FF, IRQ 3. I think there are some difference
> between the capacity of kernel debugging and the capacity of Vista.
> Hence, this odd problem occur.
>
> Anyway, the null modem is working now. Thanks.
>
> Regards, Mihs
>
> Quoting “Gary G. Little” :
>
> > That really does not answer Don’s overlying question: Can you get Vista
> > Hyterterminal talkiing to the XP HyperTerminal?
> >
> > The 1394 switch, is the best solution, though.
> >
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

You can use the USB converter on the host. The target must be brought up at
boot time which generally limits it to a physical port.


The personal opinion of
Gary G. Little

wrote in message news:xxxxx@ntdev…
>I just started reading this thread, but did you say that you are using a
>USB to serial converter? If so, I’m surprised it works at all, as you need
>an actual UART. I guess it has one.
>