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]
Message-ID: <334319B2EBE0B144BAE1402B79D82DC5CE13B07E@srvpegasus>
Date:	Wed, 25 May 2011 14:28:47 +0200
From:	"Hornung, Michael" <mhornung@...t-ka.de>
To:	'Bjorn Helgaas' <bhelgaas@...gle.com>
CC:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>
Subject: AW: Kernel > 2.6.30: PCI issue causes Kernel freeze at booting

>>>>> There is an UART (FPGA IP Core) in that system located at address 1900h using interrupt 3. In order to get Kernel messages at boot time,
>>>>> I changed file arch/x86/include/asm/serial.h as follows:
>>>>>
>>>>> -        { 0, BASE_BAUD, 0x3F8, 4, STD_COM_FLAGS },      /* ttyS0 */     \
>>>>> +        { 0, BASE_BAUD, 0x1900, 3, STD_COM_FLAGS },     /* ttyS0 */    \
>>>>>
>>>>> that is the only change I made to the kernel sources.
>>>
>>>> Is this UART connected via PCI?  I don't think so, because I don't see
>>>> any I/O BARs that include 0x1900.
>>>
>>> The UART is connected via LPC bus.
>>
>> Makes sense; that's a common way for attaching UARTs, and they are
>> normally described via ACPI.  When you do that, I think it will show
>> up as ttyS4 (be sure you build with CONFIG_SERIAL_8250_PNP=y), so
>> you'll have to use "console=ttyS4" when you boot.  ttyS0-ttyS3 are
>> taken by the hard-coded ports in serial.h, even though they may not
>> exist on your platform.
>
> Hi Michael,
>
> Any update on this problem?  Did it make any difference to put the
> UART in the ACPI namespace?
>
> Bjorn

Hi Bjorn,

thank you very much for your support. Unfortunately I'm not able to get it to work. I changed 
the BIOS and added PNP0500 device nodes for all 21 UARTS (all located in the FPGA, all connected 
via LPC, all located at addresses between 0x1900 and 0x19a7h and all using IRQ3), but the kernel does not care about
that nodes. CONFIG_SERIAL_8250_PNP is set to "y" (see attached config.txt) but the kernel output does not show
up any differences (2.6.38.6.log).

In my defense I have to say that I'm a hardware guy and really new to BIOS and Linux adaption. I'm trying to get better
at the moment.

Once again, thanks a lot for your support.

With best regards

Michael Hornung 

------------------------------------------------------------
Michael Hornung
Hardware
Mobile Telematic and Fare Collection Systems

Phone +49-(0)721-6100-305
Fax +49-(0)721-6100-399
E-Mail mhornung@...t-ka.de

INIT Innovative Informatikanwendungen
in Transport-, Verkehrs- und Leitsystemen GmbH 
Käppelestrasse 4-6
76131 Karlsruhe
Germany
http://www.init-ka.de  
 
Geschäftsführer:
Dr.-Ing. Gottfried Greschner, Dipl.-Inform. Achim Becker, Dipl.-Ing. (FH) Wolfgang Degen, Dipl.-Kfm. Dr. Jürgen Greschner
 
Amtsgericht Mannheim HRB 103679 . Internationale Registrierungen: 988055689MVA (Norwegen), FC027220 (UK)  
 
Vertraulichkeitshinweis:
Der Inhalt dieser E-Mail ist vertraulich zu behandeln. Das Schreiben ist nur zur Kenntnis des oben genannten Empfängers bestimmt. Wenn Sie nicht der richtige Adressat sind, informieren Sie bitte sofort den Absender und vernichten diese Nachricht. Unerlaubte Kopien sowie unbefugte Weitergabe sind nicht gestattet.
Bitte beachten Sie, dass durch diese E-Mail keine rechtsverbindlichen Willenserklärungen abgegeben werden.
 
Privacy Notice:
Content of this e-mail must be treated as strictly confidential. This writing is intended only for the knowledge of the above-mentioned addressee. If you are not the correct recipient please inform the sender immediately and permanently erase this message. Illegal copies as well as unauthorized passing is not permitted and strictly forbidden.
Please note that by sending this mail INIT does not make any commitment and is under no obligation.

View attachment "config.txt" of type "text/plain" (75668 bytes)

Download attachment "2.6.38.6.log" of type "application/octet-stream" (14491 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ