lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 08 Dec 2006 00:42:04 -0700
From:	ebiederm@...ssion.com (Eric W. Biederman)
To:	"Lu, Yinghai" <yinghai.lu@....com>
Cc:	"Greg KH" <gregkh@...e.de>,
	"Peter Stuge" <stuge-linuxbios@....org>,
	linux-usb-devel@...ts.sourceforge.net,
	"Stefan Reinauer" <stepan@...esystems.de>,
	linux-kernel@...r.kernel.org, linuxbios@...uxbios.org,
	"Andi Kleen" <ak@...e.de>, "David Brownell" <david-b@...bell.net>
Subject: Re: [LinuxBIOS] [linux-usb-devel] [RFC][PATCH 0/2] x86_64 Early usb debug port support.

"Lu, Yinghai" <yinghai.lu@....com> writes:

> -----Original Message-----
> From: linuxbios-bounces@...uxbios.org
> [mailto:linuxbios-bounces@...uxbios.org] On Behalf Of
> ebiederm@...ssion.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@...rv) (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

Ugh.  I'd check the code.  But it looks like my tweak to the
early fixmap code.  But my hunch is that my tweak to __fixmap
so that it's pud and pmd were prepopulated didn't take on
your build.

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

Hmm.  At least this is partial progress :)

Eric

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists