All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [parisc-linux] Re: linux-2.6 deller (ioremap-changes) and more
@ 2006-03-26  3:32 Max Grabert
  2006-03-26  4:05 ` John David Anglin
  0 siblings, 1 reply; 10+ messages in thread
From: Max Grabert @ 2006-03-26  3:32 UTC (permalink / raw)
  To: John David Anglin; +Cc: Helge Deller, parisc-linux

[-- Attachment #1: Type: text/plain, Size: 1757 bytes --]

On 26/03/06, John David Anglin <dave@hiauly1.hia.nrc.ca> wrote:
>
> > But I did booted yesterday the latest CVS 32bit Kernel on my c3k and it
> worked fine, so I assume you shouldn't see any problems either...
>
> I tried the default 2.6.16-pa5 from www.parisc-linux.org this afternoon.
> I still get a lot of ip_tables messages on the console which unfortunately
> aren't captured in any log file.  I've attached the diff between
> 2.6.15-rc7-pa
> and 2.6.16-pa5 dmesg files.  Is the eth0 difference significant?  There's
> also a segv in dirmngr that occurs late in both boots.


I had a similar problem (regarding iptables). It seems they are implementing
a new unified interface (NFNETLINK) which might break the userspace
netfilter tools (aka. iptables/ip6tables), unless you use the CVS version of
them. This is was introduced somewhere between 2.6.15 and 2.6.16.
IIRC after disabling CONFIG_NETFILTER_NETLINK (or at least set it to compile
it as a module) and enabling CONFIG_NETFILTER_XTABLES I didn't have any
problems anymore.


Regarding the segfault, I can't help you there ... although I have seen many
applications not longer working on my Debian/testing system lately
(segfault, 'unresolvable relocation error 0x42' most of the time).
The affected applications/debian packages are:
- aide
- samba (libsmbclient, samba, samba-common, smbclient, smbfs etc.)
- autofs

Recompiling those applications via 'apt-get build-dep <package>' and
'apt-get -b source <package>' with gcc-3.4 produces working executables. At
least for samba I also tried recompiling with gcc-4.0, with also worked. It
seems that there is something wrong with the setup Debian's buildd uses ...
... I think I should rather report this bug to the debian-hppa m-l ...

   Max

[-- Attachment #2: Type: text/html, Size: 2183 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: [parisc-linux] Re: linux-2.6 deller (ioremap-changes) and more
@ 2006-03-27  5:46 Joel Soete
  2006-03-28  5:18 ` Max Grabert
  0 siblings, 1 reply; 10+ messages in thread
From: Joel Soete @ 2006-03-27  5:46 UTC (permalink / raw)
  To: dave; +Cc: dave, parisc-linux

> > I'm not sure about the debian status.  I believe that Matthias integr=
ated
> > the change but there was a regression due to a missing glibc patch
> > needed to prevent a SIGSEGV in the unwind code.  Matthias said this
> > problem was fixed on March 20.
> 
> 2.3.6-3 does't have the fix:
> 
> dave@hiauly6:~$ objdump -d /lib/libpthread.so.0
> /lib/libpthread.so.0:     file format elf32-hppa-linux
> 
> Disassembly of section .init:
> 
> 000041ac <_init>:
>     41ac:       6b c2 3f d9     stw rp,-14(sp)
>     41b0:       6f c4 00 80     stw,ma r4,40(sp)
>     41b4:       6b d3 3f c1     stw r19,-20(sp)
>     41b8:       e8 42 02 a0     b,l 8310 <__pthread_initialize_minimal>=
,rp
>     41bc:       08 13 02 44     copy r19,r4
>     41c0:       08 04 02 53     copy r4,r19
>     41c4:       e8 40 0c 70     b,l 4804 <frame_dummy>,rp
>     41c8:       08 00 02 40     nop
>     41cc:       e8 44 1d 2c     b,l e068 <__do_global_ctors_aux>,rp
>     41d0:       08 00 02 40     nop
>     41d4:       4b c2 3f 59     ldw -54(sp),rp
>     41d8:       08 04 02 53     copy r4,r19
>     41dc:       e8 40 c0 00     bv r0(rp)
> 
> 000041e0 <_end_init>:
>     41e0:       4f c4 3f 81     ldw,mb -40(sp),r4
> 
> This .init section isn't built correctly in shared libraries.  The
> PIC register r19 needs to be retored after every call if it is
> subsequently used.  As can be seen above, there is no restore after
> the call to frame_dummy and r19 is needed for the call to
> __do_global_ctors_aux.
> 
mmm not yet in 2.3.6-4:
# objdump -d /lib/libpthread.so.0 | more

/lib/libpthread.so.0:     file format elf32-hppa-linux

Disassembly of section .init:

000041ac <_init>:
    41ac:       6b c2 3f d9     stw rp,-14(sp)
    41b0:       6f c4 00 80     stw,ma r4,40(sp)
    41b4:       6b d3 3f c1     stw r19,-20(sp)
    41b8:       e8 42 02 a0     b,l 8310 <__pthread_initialize_minimal>,r=
p
    41bc:       08 13 02 44     copy r19,r4
    41c0:       08 04 02 53     copy r4,r19
    41c4:       e8 40 0c 70     b,l 4804 <frame_dummy>,rp
    41c8:       08 00 02 40     nop
    41cc:       e8 44 1d 2c     b,l e068 <__do_global_ctors_aux>,rp
    41d0:       08 00 02 40     nop
    41d4:       4b c2 3f 59     ldw -54(sp),rp
    41d8:       08 04 02 53     copy r4,r19
    41dc:       e8 40 c0 00     bv r0(rp)

000041e0 <_end_init>:
    41e0:       4f c4 3f 81     ldw,mb -40(sp),r4
Disassembly of section .text:
=3D=3D=3D=3D<>=3D=3D=3D=3D

and the same with my testing 2.3.6-4.1 build with gcc dpkg:
dpkg -l gcc-4.0
Desired=3DUnknown/Install/Remove/Purge/Hold
| Status=3DNot/Installed/Config-files/Unpacked/Failed-config/Half-install=
ed
|/ Err?=3D(none)/Hold/Reinst-required/X=3Dboth-problems (Status,Err: uppe=
rcase=3Dbad)
||/ Name                        Version                     Description
+++-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
ii  gcc-4.0                     4.0.3-1                     The GNU C com=
piler

Thanks,
    Joel
=0A=0A---------------------------------------------------------------=0AA=
 free anti-spam and anti-virus filter on all Scarlet mailboxes=0AMore inf=
o on http://www.scarlet.be/

_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-04-17 15:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-26  3:32 [parisc-linux] Re: linux-2.6 deller (ioremap-changes) and more Max Grabert
2006-03-26  4:05 ` John David Anglin
2006-03-26 16:58   ` Helge Deller
2006-03-26 18:09     ` Joel Soete
2006-03-26 19:06       ` John David Anglin
2006-03-26 19:29         ` John David Anglin
2006-04-17 15:03         ` Joel Soete
2006-03-26 19:40     ` John David Anglin
  -- strict thread matches above, loose matches on Subject: below --
2006-03-27  5:46 Joel Soete
2006-03-28  5:18 ` Max Grabert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.