Subject: bugtraq-digest V2 #25
From: [email-masked] (bugtraq-digest)
To: [email-masked]

bugtraq-digest          Monday, June 14 1999          Volume 02 : Number 025

In this issue:

    Mysterious crash
    Re: Mysterious crash
    Re: Mysterious crash
    Xconfigurator bug
    Re: Mysterious crash
    Re: Mysterious crash
    Re: Mysterious crash
    Re: Mysterious crash
    Bug in glibc....
    BUG in dynamic linker...

See the end of this digest for information about bugtraq-digest.

----------------------------------------------------------------------

Date: Wed, 09 Jun 1999 10:41:26 +0200
From: Peter Danielsson <[email-masked]>
Subject: Mysterious crash

My netwinder seems to be ill! It crashes mysteriously when I'm
not using it (No - it is not the X screensaver). Yesterday I
had around 10 hours uptime, I was using the machine for 8 of them.
it died two hours after I left.

The symptoms are: dead machine: blank screen, keyboard and mouse
doesn't work, neither does the network. The only thing to get it
back running is a reset

The problems didn't go away when I upgraded the system to use
nettrom 2.04 and disk image #12, I've even tested a few 2.2
kernels (but with the old image)

/Peter

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe bugtraq" as the body of your message.

------------------------------

Date: Wed, 09 Jun 1999 06:35:08 -0400
From: Ralph Siemsen <[email-masked]>
Subject: Re: Mysterious crash

Peter Danielsson wrote:
> 
> My netwinder seems to be ill! It crashes mysteriously when I'm
> not using it (No - it is not the X screensaver). Yesterday I
> had around 10 hours uptime, I was using the machine for 8 of them.
> it died two hours after I left.

Odd indeed.  Does anything show up in the logs after the system dies?
(unlikely, but worth checking neverthless).

- -- 
Ralph Siemsen -- [email-masked]

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe bugtraq" as the body of your message.

------------------------------

Date: Wed, 09 Jun 1999 13:18:17 +0200
From: Peter Danielsson <[email-masked]>
Subject: Re: Mysterious crash

Ralph Siemsen wrote:
> 
> Peter Danielsson wrote:
> >
> > My netwinder seems to be ill! It crashes mysteriously when I'm
> > not using it (No - it is not the X screensaver). Yesterday I
> > had around 10 hours uptime, I was using the machine for 8 of them.
> > it died two hours after I left.
> 
> Odd indeed.  Does anything show up in the logs after the system dies?
> (unlikely, but worth checking neverthless).

Nothing in the logs!

But two minutes after my post I got a kernel panic, something
about mountd. Now I'm suspecting nfs - I've killed everything
related to nfs to check if the system stays alive a bit longer!

/Peter

> 
> --
> Ralph Siemsen -- [email-masked]

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe bugtraq" as the body of your message.

------------------------------

Date: Wed, 9 Jun 1999 17:28:11 -0700
From: Tim Rowledge <[email-masked]>
Subject: Xconfigurator bug

It's already been mentioned, but since there isa newsgroup for bugs now, I'd
thought I put in a reminder that Xconfigurator (both the version provided on
dm12 disks and the one built from the SRPM on netwinder.org) looks for a
graphics card database and cannot find one (cos it ain't there grampa!) and
then exits.
Supposedly there is a version which avoids this somewhere, but not in any place
I was pointed to. Nothing in the sources from the SRPM looks like any
patching to do this 'fix'

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe bugtraq" as the body of your message.

------------------------------

Date: Thu, 10 Jun 1999 09:53:53 +0200
From: Peter Danielsson <[email-masked]>
Subject: Re: Mysterious crash

Now I had my system running over the night, and when I checked
this morning it was dead - but this time I had some stuff on the
monitor. It was filled with the message '<1>Unable to handle kernel
paging request' over and over again. This is after 7h 40 min uptime!

Could it be a hardware error - like flaky RAM or something?

/Peter

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe bugtraq" as the body of your message.

------------------------------

Date: Thu, 10 Jun 1999 11:26:48 +0200
From: Jan Rinze <[email-masked]>
Subject: Re: Mysterious crash

Peter Danielsson wrote:

> Now I had my system running over the night, and when I checked
> this morning it was dead - but this time I had some stuff on the
> monitor. It was filled with the message '<1>Unable to handle kernel
> paging request' over and over again. This is after 7h 40 min uptime!
>
> Could it be a hardware error - like flaky RAM or something?
>
> /Peter

Faulty RAM could be the cause but it might have something to
do with cron.

I get this error once in a while with one of my machines.
It seems that it crashes either during X sessions or after.
If I don't use X it will stay up a very long time.

The symptoms are :

new processes crash with kernel paging faults and running processes keep
up.
Impossible to shutdown.

'ls' still works but 'ls -l' crashes.

Jan Rinze.

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe bugtraq" as the body of your message.

------------------------------

Date: Thu, 10 Jun 1999 13:29:49 +0200
From: Peter Danielsson <[email-masked]>
Subject: Re: Mysterious crash

Jan Rinze wrote:

> 
> Faulty RAM could be the cause but it might have something to
> do with cron.
>

I'll try to kill cron and se if it works better!

> I get this error once in a while with one of my machines.
> It seems that it crashes either during X sessions or after.
> If I don't use X it will stay up a very long time.
> 
> The symptoms are :
> 
> new processes crash with kernel paging faults and running processes keep
> up.
> Impossible to shutdown.
> 
> 'ls' still works but 'ls -l' crashes.

this sounds like an fpem error. But I'm not sure. I had these 
symptoms on some other arm-based HW, but when I upgraded to a newer
kernel and newer libs (2.2.2 and 2.1 respective) it went away

> 
> Jan Rinze.

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe bugtraq" as the body of your message.

------------------------------

Date: Thu, 10 Jun 1999 10:17:48 -0400
From: Jim Bridgeman <[email-masked]>
Subject: Re: Mysterious crash

This is a multi-part message in MIME format.
- --------------DA301B51A38A51CEE898E0A9
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Perhaps your failures are temperature related. Is your fan working? What board revision do you have? Rev4 or Rev5? It should specify in /proc/cpuinfo.

Jim

Peter Danielsson wrote:

> My netwinder seems to be ill! It crashes mysteriously when I'm
> not using it (No - it is not the X screensaver). Yesterday I
> had around 10 hours uptime, I was using the machine for 8 of them.
> it died two hours after I left.
>
> The symptoms are: dead machine: blank screen, keyboard and mouse
> doesn't work, neither does the network. The only thing to get it
> back running is a reset
>
> The problems didn't go away when I upgraded the system to use
> nettrom 2.04 and disk image #12, I've even tested a few 2.2
> kernels (but with the old image)
>
> /Peter

- --------------DA301B51A38A51CEE898E0A9
Content-Type: text/x-vcard; charset=us-ascii;
 name="jim.bridgeman.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Jim Bridgeman
Content-Disposition: attachment;
 filename="jim.bridgeman.vcf"

begin:vcard 
n:Bridgeman;Jim
tel;fax:(613) 230 4888
tel;work:(613) 788 6008 ext 6198
x-mozilla-html:TRUE
org:<img src = http://www.rebel.com/images/rebel.gif>;NetWinder
version:2.1
email;internet:[email-masked]
title:Project Manager
adr;quoted-printable:;;150 Isabella Street=0D=0ASuite 1000;Ottawa;Ontario;K1S 1V7;Canada
x-mozilla-cpt:;-11072
fn:Jim Bridgeman
end:vcard

- --------------DA301B51A38A51CEE898E0A9--

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe bugtraq" as the body of your message.

------------------------------

Date: Thu, 10 Jun 1999 16:31:29 -0400
From: Scott Bambrough <[email-masked]>
Subject: Bug in glibc....

This is a multi-part message in MIME format.
- --------------B9AA2791A74F68AF1450DD2E
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi guys,

struct tftphdr in inet/arpa/tftp.h is incorrect.  It should be as below

struct tftphdr {
        short th_opcode;
        union {
                unsigned short tu_block
                short tu_code;
                char tu_stuff[1];
        } __attribute__ ((__packed__)) th_u;
        char th_data[1];
} __attribute__ ((__packed__));

The positioning of the attribute ((__packed__)) between the brace and th_u is
crucial.  If it is placed after the symbol th_u, the compiler ignores it.  I
think this is a bug in the compiler (it happens in both EGCS and GCC 2.8.1), but
when I reported the problem to egcs-bugs it was ignored.

As it stands now, the tftp and tftpd will not function correctly on the ARM
using the GLIBC headers.  Both expect the structure to map directly onto the
network byte stream, which is packed.

This is wrong in the glibc-2-1-branch and I suspect it is wrong in the mainline.

Scott
- --------------B9AA2791A74F68AF1450DD2E
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Scott Bambrough
Content-Disposition: attachment; filename="vcard.vcf"

begin:          vcard
fn:             Scott Bambrough
n:              Bambrough;Scott
org:            Rebel.com
adr:            150 Isabella St.;;;Ottawa;Ontario;K1S 1V7;Canada
email;internet: [email-masked]
title:          Software Engineer
tel;work:       (613) 788-6000 x6116
tel;fax:        (613) 230-8300
x-mozilla-cpt:  ;0
x-mozilla-html: FALSE
version:        2.1
end:            vcard

- --------------B9AA2791A74F68AF1450DD2E--

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe bugtraq" as the body of your message.

------------------------------

Date: Thu, 10 Jun 1999 16:40:42 -0400
From: Scott Bambrough <[email-masked]>
Subject: BUG in dynamic linker...

This is a multi-part message in MIME format.
- --------------7878ABE99E30EB8598AFF9C9
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

This is courtesy of Phil Blundell:

This patch corrects a long-standing problem that caused ld.so to segfault when 
glibc was compiled with -O2 or higher on the ARM.  The old code relied on 
addressing the GOT from inside the asm, but because the compiler couldn't 
see this it was tending to reschedule instructions so that the PIC register 
wasn't loaded until later in the function.

Uli, could you check this in please?  It should probably go into the glibc 2.1 
branch as well as the mainline.

Thanks

p.

1999-06-05  Philip Blundell  <[email-masked]>

        * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
        problems with GOT addressing.

- --- sysdeps/arm/dl-machine.h~   Sun May  9 11:39:24 1999
+++ sysdeps/arm/dl-machine.h    Sat Jun  5 19:33:09 1999
@@ -52,22 +52,14 @@

 /* Return the run-time load address of the shared object.  */
- -// patb
 static inline Elf32_Addr __attribute__ ((unused))
 elf_machine_load_address (void)
 {
- -  Elf32_Addr addr;
- -  asm (" ldr ip,.L1
- -       ldr r3,.L3
- -       add r3, r3, sl
- -       ldr ip,[sl, ip]
- -       sub ip, r3, ip
- -       b .L2
- -       .L1: .word _dl_start(GOT)
- -       .L3: .word _dl_start(GOTOFF)
- -       .L2: mov %0, ip"
- -       : "=r" (addr) : : "ip", "r3");
- -  return addr;
+  extern void __dl_start asm ("_dl_start");
+  Elf32_Addr got_addr = (Elf32_Addr) &__dl_start;
+  Elf32_Addr pcrel_addr;
+  asm ("adr %0, _dl_start" : "=r" (pcrel_addr));
+  return pcrel_addr - got_addr;
 }
- --------------7878ABE99E30EB8598AFF9C9
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Scott Bambrough
Content-Disposition: attachment; filename="vcard.vcf"

begin:          vcard
fn:             Scott Bambrough
n:              Bambrough;Scott
org:            Rebel.com
adr:            150 Isabella St.;;;Ottawa;Ontario;K1S 1V7;Canada
email;internet: [email-masked]
title:          Software Engineer
tel;work:       (613) 788-6000 x6116
tel;fax:        (613) 230-8300
x-mozilla-cpt:  ;0
x-mozilla-html: FALSE
version:        2.1
end:            vcard

- --------------7878ABE99E30EB8598AFF9C9--

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe bugtraq" as the body of your message.

------------------------------

End of bugtraq-digest V2 #25
****************************

--
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe bugtraq-digest" as the body of your message.