RE: [WinDbg] Debugging over PCIe to Serial card

I posted a link for one that is known to work a while back. Check the
osronline.com store.

Good luck,

mm

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Cristian Niculescu
Sent: Monday, September 27, 2010 8:00 PM
To: Kernel Debugging Interest List
Subject: Re: [windbg] [WinDbg] Debugging over PCIe to Serial card

Thanks everyone for help.
Target being a netbook, there is absolutely no BIOS option whatsoever.
No COM ports on the motherboard either - device manager did not show any
before adding the PCIe card.
I believe you might be right - there is no way kd will work over that board.
Actually when I saw it was asking for drivers, I thought there’s no way
it’ll work.

I chose a serial card because I need to debug S3 on XP… and 1394 might not
work over S3 (or so I’ve heard). I particularly need to debug resume from
S3.

Do you think an 1394 PCIe card would help me? Any suggestions on the card?
Netbook doesn’t have any PCMCIA ports, just a PCIe - it’s an HP Mini.

Thanks one more time
Cristian

On Mon, Sep 27, 2010 at 6:43 PM, Martin O’Brien
wrote:

I’m not sure, but I’ve never seen this work.

mm

On Mon, Sep 27, 2010 at 6:38 PM, Gary G. Little
wrote:

The ports do have to become COM1/COM2 and may require disabling onboard com
support in the BIOS, which would indicate those onboard ports are some how
broken. But . it has been a while so maybe it was an ISA slot I was using.

Gary G. Little

H (952) 223-1349

C (952) 454-4629

xxxxx@comcast.net

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Martin O’Brien
Sent: Monday, September 27, 2010 4:34 PM
To: Kernel Debugging Interest List
Subject: Re: [windbg] [WinDbg] Debugging over PCIe to Serial card

If you mean, for example, adding a PCI based serial port card, then, no I’ve
never seen that work. Perhaps you’ve used ones that can assume the standard
com1/com2 addresses?

mm

On Mon, Sep 27, 2010 at 6:31 PM, Gary G. Little
wrote:

You must mean a PMCIA card that won’t work.

I know I have shoved serial cards into peripheral slots in the mother board
on either host or target and banged away with WinDbg.

I cannot believe the number of manufactures’ that continually handicap
themselves by not providing minimal tools for debugging. Maybe their
arrogance tells them that all their hardware and software is always perfect,
and hence on one needs to debug anything on their machines.

Gary G. Little

H (952) 223-1349

C (952) 454-4629

xxxxx@comcast.net

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Martin O’Brien
Sent: Monday, September 27, 2010 4:12 PM
To: Kernel Debugging Interest List
Subject: Re: [windbg] [WinDbg] Debugging over PCIe to Serial card

>The best you can do to add it is either a true serial card in a peripheral
slot.

That won’t work. KD won’t recognize a serial port add in card.

The reason that his card won’t work is because it is an add in serial port.
He needs to get a supported 1394 add in card, unless he wants to try usb kd.

mm

Gary G. Little
H (952) 223-1349
C (952) 454-4629
xxxxx@comcast.net

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Monday, September 27, 2010 3:56 PM
To: Kernel Debugging Interest List
Subject: [windbg] Debugging over PCIe to Serial card

Hi guys,
I’m trying to kernel debug an XP system on a netbook which comes with no
serial port and no firewire.
I’ve bought a mini PCIe to Serial card that feeds off 1x PCIe. The card is
based on Oxford 16950 chipset.
I’ve installed it inside the netbook (one spare mini-PCIe) and Windows sees
it. I needed to install drivers for a device called multi-port serial
adapter and then drivers for the 2 serial ports offered by the card.
I’ve successfully tested the serial connection with a null modem cable with
hyperterminal.

However I’ve had no success establishing a kernel debug link at boot time.
Windbg simply does not connect to the target.

So I’m turning to the community, hoping others have tried to do the same
thing. Any words of advice?

Thanks!


WINDBG 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


WINDBG 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

Reply

Forward

3 deleted messages in this conversation. View messages or delete forever.

On Mon, Sep 27, 2010 at 6:07 PM, Gary G. Little
wrote:

The target system for WinDbg must have native support for either serial
(COM1/COM2) or 1394. The best you can do to add it is either a true serial
card in a peripheral slot. The target requires the serial and 1394 ports to
be available at boot time. I believe a PCMCIA 1394 may work, but there all I
have tried has been on the host.

Also, usually the COM1/COM2 ports are based 16550, not 16950. There might be
a different pin out between the two, though I would think it would work
given the target saw a COM port at the proper time during the boot. Is there
a BIOD option that can be set with the PCIe in play?

Gary G. Little
H (952) 223-1349
C (952) 454-4629
xxxxx@comcast.net

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Monday, September 27, 2010 3:56 PM
To: Kernel Debugging Interest List
Subject: [windbg] Debugging over PCIe to Serial card

Hi guys,
I’m trying to kernel debug an XP system on a netbook which comes with no
serial port and no firewire.
I’ve bought a mini PCIe to Serial card that feeds off 1x PCIe. The card is
based on Oxford 16950 chipset.
I’ve installed it inside the netbook (one spare mini-PCIe) and Windows sees
it. I needed to install drivers for a device called multi-port serial
adapter and then drivers for the 2 serial ports offered by the card.
I’ve successfully tested the serial connection with a null modem cable with
hyperterminal.

However I’ve had no success establishing a kernel debug link at boot time.
Windbg simply does not connect to the target.

So I’m turning to the community, hoping others have tried to do the same
thing. Any words of advice?

Thanks!


WINDBG 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


WINDBG 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

— WINDBG 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


WINDBG 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

— WINDBG 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


WINDBG 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

— WINDBG 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

— WINDBG 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