2000-11-23 15:17:06

by Ethan Benson

[permalink] [raw]
Subject: binary garbage in dmesg/boot messages (2.2.18pre23)


I was testing out 2.2.18pre23 for USB purposes and found that its
outputing binary garbage at boot:

BIOS Vendor: Intel Corporation
BIOS Version: 1.00.10.DD04
BIOS Release: 03/19/97
System Vendor: Sony Corporation.
Product Name: PCV-70(U2).
Version Sony GI.
Serial Number 1003494.
Board Vendor: Intel Corporation.
Board Name: Agate.
Board Version: AA662195-305.
BIOS Vendor: f.?^]<94>fA?^D.?ESC<94>^N^_
BIOS Version: SV^^g?u^B.<8B>^^^^<9D><88>^\g?u^F.<8B>^^
<9D><89>^\3A^_^[A^^^FfQfPfRfSfUfVfW<8A>?g?}^B&<8A>^E?h^Dr]g?}^Fg<8B>U
?A??uT<83>?^CtO#OtK^N^_.<8B>7.<8B>O^D?A^A
BIOS Release: ???SQR^F^^WV^^^F^_^G<87>?.<8B>^N?<8B>x^C??C?rW&<8B>]
^C?+E??^^^F^_W???<8B>U<8B>x_&<8B>^O&<8A>^G&<88>^ECG;?s-??^G_W.<8B>^N?<8B>UA?^BfPf<8B>^Af<89>^E<83>?^D?ofX<8B>^V?^U

it appears to not cause any further problems, other then trashing the
terminal of anyone who runs dmesg...

/proc/version:
Linux version 2.2.18pre23 (root@plato) (gcc version 2.95.2 20000220
(Debian GNU/Linux)) #1 Thu Nov 23 04:01:23 AKST 2000

this does not occur under 2.2.17.

please CC replies.

--
Ethan Benson
http://www.alaska.net/~erbenson/


2000-11-23 16:02:31

by Alan

[permalink] [raw]
Subject: Re: binary garbage in dmesg/boot messages (2.2.18pre23)

> BIOS Vendor: Intel Corporation
> BIOS Version: 1.00.10.DD04
> BIOS Release: 03/19/97
> System Vendor: Sony Corporation.
> Product Name: PCV-70(U2).
> Version Sony GI.
> Serial Number 1003494.
> Board Vendor: Intel Corporation.
> Board Name: Agate.
> Board Version: AA662195-305.

So far so good

> BIOS Vendor: f.=A3^]<94>fA=E8^D.=A3ESC<94>^N^_

This looks like the table end markers are missing or the length was wrong.
If you change

static int __init dmi_table(u32 base, int len, int num, void (*decode)(struct d
{
char *buf;
struct dmi_header *dm;
u8 *data;
int i=0;

in arch/i386/kernel/dmi_scan.c to use

int i=1;

does it then behave nicely ?


2000-11-23 16:29:36

by Ethan Benson

[permalink] [raw]
Subject: Re: binary garbage in dmesg/boot messages (2.2.18pre23)

On Thu, Nov 23, 2000 at 03:31:51PM +0000, Alan Cox wrote:
> > Board Name: Agate.
> > Board Version: AA662195-305.
>
> So far so good
>
> > BIOS Vendor: f.=A3^]<94>fA=E8^D.=A3ESC<94>^N^_
>
> This looks like the table end markers are missing or the length was wrong.
> If you change
>
> static int __init dmi_table(u32 base, int len, int num, void (*decode)(struct d
> {
> char *buf;
> struct dmi_header *dm;
> u8 *data;
> int i=0;
>
> in arch/i386/kernel/dmi_scan.c to use
>
> int i=1;
>
> does it then behave nicely ?
>

yes sure does, thanks!

--
Ethan Benson
http://www.alaska.net/~erbenson/