Bug#373253: Cause of g-i crashing on AMD64 at VT switch found

2007-12-13 Thread Attilio Fiandrotti

reassign 373253 debian-installer
reopen 373253
retitle 373253 g-i requires libgcc_s.so.1 on AMD64 and PowerPC to be 
provided by an audeb

tags 373253 patch
thanks

I'm reassigning this bug to debian-installer because it's a d-i building 
problem.

I'm reopening the bug for two reasons:

1) libgcc_s.so.1 is provided via EXTRAFILES on AMD64.
2) libgcc_s.so.1 is not provided at all on PowerPC

With respect to sole point 2, here is a patch (hence the bug tagging) 
which adds proper EXTRAFILES lines to the two powerpc32/64 configuration 
files i think need it (build/config/powerpc/powerpc/netboot-gtk.cfg and 
build/config/powerpc/powerpc64/netboot-gtk.cfg)
I'm not sure those files are the only which need a similar patch, please 
someone apply similar patches wherever it's needed.


Once something similar to the attached patch is applied, the bug should 
be untagged and left open to remind us that the EXTRAFILES trick should 
be avoided and an ad hoc udeb created, as lsted among the Lenny goals [1].


sincerely

Attilio

[1] http://wiki.debian.org/DebianInstaller/LennyGoals



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#373253: Cause of g-i crashing on AMD64 at VT switch found

2007-12-12 Thread Attilio Fiandrotti

retitle 373253 g-i requires libgcc_s.so.1 on AMD64 and PowerPC
thanks


Given that this is not really a problem in directfb, and was agreed
the proper fix would be to ship libgcc in a new udeb post-etch, I'm
closing this bug now.


I agree, btw i recently noticed that also the PowerPC g-i builds need 
the libgcc_s.so.1 file to be pulled in (this requires a patch to the 
relevant configuration powerpc files in the installer), so i'm retitling 
this BR accordingly for future reference.


sincerely

Attilio



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#373253: Cause of g-i crashing on AMD64 at VT switch found

2006-11-28 Thread Attilio Fiandrotti

Attilio Fiandrotti wrote:

Hi

i recently put my hands on an AMD64 machine, so i had the chance to run 
the installer from a chroot and i noticed that the crash produces this log


libgcc_s.so.1 must be installed for pthread_cancel to work
(!) [ 5905:0.000] -- Caught signal 6 (unknown origin) --
libgcc_s.so.1 must be installed for pthread_cancel to work
Aborted

adding this library (and full libc) to the chroot prevents the crash.


Yesterday i tried to dig a bit some more in this issue, but i had no luck.
It looks like libgcc is needed on AMD64 only, on i386 i culd not find 
this library in the ISO, and i wonder why AMD64 differs from i386.
I haven't the skills to solve this issue, so if no one comes at rescue 
i'll ask d-gcc guys, who maintain libgcc.


cheers

Attilio




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#373253: Cause of g-i crashing on AMD64 at VT switch found

2006-11-28 Thread Davide Viti
On Tue, Nov 28, 2006 at 12:42:03PM +0100, Attilio Fiandrotti wrote:
 Yesterday i tried to dig a bit some more in this issue, but i had no luck.
 It looks like libgcc is needed on AMD64 only, on i386 i culd not find 
 this library in the ISO, and i wonder why AMD64 differs from i386.
 I haven't the skills to solve this issue, so if no one comes at rescue 
 i'll ask d-gcc guys, who maintain libgcc.

googling a bit shows that many ppl reported problems related to pthread_cancel()

See for example:

#360933
#294322
http://lists.debian.org/debian-amd64/2004/10/msg00046.html

just looking for libgcc_s.so.1 must be installed for pthread_cancel to work
brings up a lot of messages

regards,
Davide


signature.asc
Description: Digital signature


Bug#373253: Cause of g-i crashing on AMD64 at VT switch found

2006-11-25 Thread Attilio Fiandrotti

Jérôme Marant wrote:

Le vendredi 24 novembre 2006 15:01, Attilio Fiandrotti a écrit :


Hi

i recently put my hands on an AMD64 machine, so i had the chance to run 
the installer from a chroot and i noticed that the crash produces this log


libgcc_s.so.1 must be installed for pthread_cancel to work
(!) [ 5905:0.000] -- Caught signal 6 (unknown origin) --
libgcc_s.so.1 must be installed for pthread_cancel to work
Aborted

adding this library (and full libc) to the chroot prevents the crash.

Try this by yourself

- boot an amd64 image with DEBIAN_FRONTEND=newt
- proceed with installation process until full libc6 is unpacked
- wget libgcc_s.so.1 into the installer
- export DEBIAN_FRONTEND=gtk
- debian-installer

now you should be able to chvt without crashing anymore.



Thanks for finding this bug!

I didn't know that you could change the frontend on the fly.
So you interrupted it right after installing the libc and
restarted after changing the frontend?



I think this starts two main-menu instances in parallel, but one could 
set global the DEBIAN_FRONTEND variable and then kill mainmenu (wrapped) 
to see if it's possible having one single main-menu instance running.


cheers and thanks for all your efforts in debugging this :)

Attilio


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#373253: Cause of g-i crashing on AMD64 at VT switch found

2006-11-25 Thread Jérôme Marant
Le vendredi 24 novembre 2006 15:01, Attilio Fiandrotti a écrit :
 Hi
 
 i recently put my hands on an AMD64 machine, so i had the chance to run 
 the installer from a chroot and i noticed that the crash produces this log
 
 libgcc_s.so.1 must be installed for pthread_cancel to work
 (!) [ 5905:0.000] -- Caught signal 6 (unknown origin) --
 libgcc_s.so.1 must be installed for pthread_cancel to work
 Aborted
 
 adding this library (and full libc) to the chroot prevents the crash.
 
 Try this by yourself
 
 - boot an amd64 image with DEBIAN_FRONTEND=newt
 - proceed with installation process until full libc6 is unpacked
 - wget libgcc_s.so.1 into the installer
 - export DEBIAN_FRONTEND=gtk
 - debian-installer
 
 now you should be able to chvt without crashing anymore.

Thanks for finding this bug!

I didn't know that you could change the frontend on the fly.
So you interrupted it right after installing the libc and
restarted after changing the frontend?

-- 
Jérôme Marant



Bug#373253: Cause of g-i crashing on AMD64 at VT switch found

2006-11-24 Thread Attilio Fiandrotti

Hi

i recently put my hands on an AMD64 machine, so i had the chance to run 
the installer from a chroot and i noticed that the crash produces this log


libgcc_s.so.1 must be installed for pthread_cancel to work
(!) [ 5905:0.000] -- Caught signal 6 (unknown origin) --
libgcc_s.so.1 must be installed for pthread_cancel to work
Aborted

adding this library (and full libc) to the chroot prevents the crash.

Try this by yourself

- boot an amd64 image with DEBIAN_FRONTEND=newt
- proceed with installation process until full libc6 is unpacked
- wget libgcc_s.so.1 into the installer
- export DEBIAN_FRONTEND=gtk
- debian-installer

now you should be able to chvt without crashing anymore.

Cc'ing debian-boot and directfb-dev (dok, it looks like it's not your 
cross to bear! :)


Attilio

ps

thanks to gg and fog who kindly provided the AMD64 testing machine!


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]