mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Lu, Yinghai" <yinghai.lu@amd.com>
To: "Greg KH" <gregkh@suse.de>, ebiederm@xmission.com
Cc: "Peter Stuge" <stuge-linuxbios@cdy.org>,
	linux-usb-devel@lists.sourceforge.net,
	"Stefan Reinauer" <stepan@coresystems.de>,
	linux-kernel@vger.kernel.org, linuxbios@linuxbios.org,
	"Andi Kleen" <ak@suse.de>, "David Brownell" <david-b@pacbell.net>
Subject: RE: [LinuxBIOS] [linux-usb-devel] [RFC][PATCH 0/2] x86_64 Early usb debug port support.
Date: Thu, 7 Dec 2006 19:48:17 -0800	[thread overview]
Message-ID: <5986589C150B2F49A46483AC44C7BCA49072A5@ssvlexmb2.amd.com> (raw)

-----Original Message-----
From: linuxbios-bounces@linuxbios.org
[mailto:linuxbios-bounces@linuxbios.org] On Behalf Of
ebiederm@xmission.com


>Ok due to popular demands here is the slightly fixed patch that works
>on both i386 and x86_64.  For the i386 version you must not have
>HIGHMEM64G enabled. 

>I just rolled it all into one patch as I'm to lazy to transmit all
>3 of them.


I got

Firmware type: LinuxBIOS
Linux version 2.6.19-smp-gc9976797-dirty (root@lbsrv) (gcc version
4.0.2) #196 6
Command line: earlyprintk=ttyS0,115200 apic=debug pci=noacpi,routeirq
snd-hda-i
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 0000000000001000 (reserved)
 BIOS-e820: 0000000000001000 - 00000000000a0000 (usable)
 BIOS-e820: 00000000000c0000 - 00000000000f0000 (usable)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 00000000c0000000 (usable)
 BIOS-e820: 0000000100000000 - 0000000240000000 (usable)
dbgp_num: 0
Found EHCI debug port
bar: 10 offset: 098
bar: 10 offset: 098
dbgp pre-set_fixmap_nocache
PANIC: early exception rip ffffffff809c24b4 error 0 cr2 ffff810000203ff8

Call Trace:
 [<ffffffff809c24b4>] __set_fixmap+0x84/0x202
 [<ffffffff809c05bb>] early_dbgp_init+0x259/0x55c
 [<ffffffff8022d958>] __call_console_drivers+0x64/0x72
 [<ffffffff809b242b>] do_early_param+0x0/0x57
 [<ffffffff809c0a20>] setup_early_printk+0x162/0x17e
 [<ffffffff809b2459>] do_early_param+0x2e/0x57
 [<ffffffff8023d051>] parse_args+0x159/0x1f3
 [<ffffffff809b24c2>] parse_early_param+0x40/0x4c
 [<ffffffff809b88ca>] setup_arch+0x1c1/0x636
 [<ffffffff809b2534>] start_kernel+0x55/0x208
 [<ffffffff809b2173>] _sinittext+0x173/0x177

RIP __set_fixmap+0x84/0x202

With Greg's USB Debug, host and target can talk.
target with console=ttyUSB0,115200n8
host with cat /dev/ttyUSB0
But if use minicom in host, it will not show '\r', I guess the usb debug
cable eat return char. Greg, Can you add that back in usb_debug by
replacing '\n' with '\r', '\n'?

With Eric code in LinuxBIOS, it will report "No device found in debug
port"

YH





             reply	other threads:[~2006-12-08  3:48 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-08  3:48 Lu, Yinghai [this message]
2006-12-08  7:14 ` Greg KH
2006-12-08  8:52   ` Yinghai Lu
2006-12-08  7:42 ` Eric W. Biederman
2006-12-08  8:53   ` Yinghai Lu
2006-12-08  9:07     ` Eric W. Biederman
2006-12-13  7:00       ` Yinghai Lu
2006-12-13  7:29         ` Eric W. Biederman
2006-12-13 10:09           ` Yinghai Lu
2006-12-13 10:41             ` Yinghai Lu
  -- strict thread matches above, loose matches on Subject: below --
2006-12-09  3:16 Lu, Yinghai
2006-12-09 10:54 ` Peter Stuge
2006-12-07 22:06 Lu, Yinghai
2006-12-06 21:08 Lu, Yinghai
2006-12-07  9:51 ` [LinuxBIOS] " Peter Stuge
2006-12-06  0:00 Lu, Yinghai
2006-12-05 23:29 Lu, Yinghai
2006-12-05 23:50 ` Eric W. Biederman
2006-12-06 15:31   ` Segher Boessenkool

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5986589C150B2F49A46483AC44C7BCA49072A5@ssvlexmb2.amd.com \
    --to=yinghai.lu@amd.com \
    --cc=ak@suse.de \
    --cc=david-b@pacbell.net \
    --cc=ebiederm@xmission.com \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=linuxbios@linuxbios.org \
    --cc=stepan@coresystems.de \
    --cc=stuge-linuxbios@cdy.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®