--Taxi --

2010-03-12 Thread www.lastminutecarz.com
Mini Cab Service

Special Fares to all AIRPORTS

Fares From

Heathrow: £19

Stansted: £38

Gatwick: £43

Luton: £24

Book Now

0845 094 0093

+44 207 183 1090

"24 Hours Control Room"

booki...@lastminutecarz.com

www.lastminutecarz.com



Re: Bootstrapping sid (was m68k Debian lenny?)

2010-03-12 Thread Stephen R Marenka
On Fri, Mar 12, 2010 at 06:02:52AM +, John Klos wrote:
> Hello,

Howdy!

No need to cc me on debian-68k messages.

> >When etch was released, the m68k part of it was released as etch-m68k,
> >with the name change coming at release time with no forewarning. A few
> >security updates were pushed, but it required modifying source package
> >versions to pull it off. Since then etch-m68k has been closed to updates.
> 
> I've seen mention of etch-m68k stuff... Perhaps I was getting ahead
> of myself when I thought that I could bootstrap all the way to
> lenny.

Things went off the tracks before the actual lenny release, I believe.

> BTW - what's debian-50-m68k-NETINST-1_emile-1.iso? Was this just a
> prelimiary attempt at lenny? I downloaded it because on the mailing
> list someone says:
> 
> Meanwhile, if it boots, you should be able to install etch-m68k by
> putting suite=etch-m68k on the kernel arg line.
> 
> I thought at least I could use it to bootstrap etch, but if there's
> a better way, please let me know.

Bootstrapping etch-m68k is your best bet. I believe the lenny version of 
the d-i [0] or the daily builds [1] did a better job of installing etch-m68k
than the etch-m68k installer.

[0] http://www.debian.org/devel/debian-installer/
[1] http://wiki.debian.org/DebianInstaller/M68k

> >The biggest problem has been the lack of thread local storage (TLS) and
> >Native POSIX Thread Library (NPTL) support for m68k in the kernel and
> >glibc. This has lead to worsening problems as we had to suffer through
> >older versions of glibc and toolchain problems.
> >
> >We have patches in the current binutils. At least some of the linux
> >patches have recently gone upstream. I think the gcc patches are the last
> >bit to get cleaned up, but I'm not sure. So we're actually reasonably
> >close (in theory) to having this functional.
> >
> >Meanwhile, debian sid for m68k is now hosted on debian-ports.org and is in
> >serious hurt.
> >
> >I've been working on bootstrapping a sid chroot from etch-m68k where we
> >had a solid glibc and toolchain, but it's been slow going.
> 
> Trying to wrap my head around all of this...

Me too.

> I'm reading through the mailing lists, particularly an exchange
> between yourself and Finn where you talk about bootstrapping sid,
> and I'm a little bit lost. I'm not familiar with the Debian
> development model. How do you maintain large sets of patches? Do you
> have a non-Debian CVS location? Or a publically accessible source
> location? I'm sure I'd get lost if I were to try to apply patches
> based on only what's in the mailing list...

Debian provides source and binary packages. The source packages often
include patches to the upstream source plus enough infrastructure to 
figure out dependencies and such needed for building the binaries.

Both source and binary packages are available from your local debian 
mirror.

The mailing list patch notes tend to be what is needed above and beyond
what's already in the source package. We're trying to get things sufficiently
working so that they *can* be packaged.

> A lot of the references are lost on me - not sure what ftp-master is
> used for, what d-i is, what the archive is in the context of
> rebuilding everything, but I gather that's a reference to
> recompiling all the Debian packages?

ftp-master [2] is both the team of DD's that are responsible for the debian
archive and a sometime name of the upload host. d-i is debian-installer, the
software we use to bootstrap debian.

The source packages are downloaded onto architecture-specific hardware 
configured
to build the binary packages. The hardware is often referred to as a buildd 
since
it runs software called buildd (and sbuild). The resulting binary packages are 
uploaded to a debian archive or collection of software. Since m68k is no longer 
a
release architecture, our sid [3] and buildd infrastructure is now hsoted at 
debian-ports [4].

More about debian development can be found at [5], particularly [6].

[2] http://ftp-master.debian.org/
[3] http://www.debian.org/releases/
[4] http://www.debian-ports.org/
[5] http://www.debian.org/devel/
[6] http://www.debian.org/doc/developers-reference/

> Does there exist an available set of binaries of kernel 2.6.31, gcc
> 4.4.1, eglibc-2.10, all with the TLS and NPTL patches? If someone's

Not as far as I'm aware.

> successfully built these (I get the impression, but not clearly,
> that many of these issues were struggled through by you and Finn but
> the testsuites haven't been run yet), wouldn't it make sense to help
> others work on making sid happen by making a binary installation
> available as a starting place?

I've been working on bootstrapping a sid chroot from a good etch-m68k
chroot (and thus a good version of glibc). I'm currently tracking down
the gcc-4.4 dependencies.

> I gather that installing etch-m68k and bootstrapping TLS and NPTL
> patched gcc and kernel would be far from trivial...

It has been for me, but I'm 

Re: Bootstrapping sid (was m68k Debian lenny?)

2010-03-12 Thread fthain

Hi John,

On Fri, 12 Mar 2010, John Klos wrote:

> 
> Meanwhile, if it boots, you should be able to install etch-m68k by
> putting suite=etch-m68k on the kernel arg line.
> 
> I thought at least I could use it to bootstrap etch, but if there's a 
> better way, please let me know.

The etch-m68k installer worked for me, with the kernel command line 
arguments "suite=etch-m68k modules=etch-support".

http://wiki.debian.org/DebianInstaller/M68k

You can also use debootstrap. A while ago I wrote some messages to the 
list about the former method, and Geert and I wrote a howto for the latter 
method. (By now it probably needs a few tweaks for recent Debian/Ubuntu 
releases.)

http://www.telegraphics.com.au/~fthain/howto-debootstrap-etch-m68k.txt

There was a post on the mailing list reporting that a Net Install for 
etch-m68k is possible by copying the ISO to an HFS partition.

> Does there exist an available set of binaries of kernel 2.6.31, gcc 
> 4.4.1, eglibc-2.10, all with the TLS and NPTL patches?

The toolchain I built was a cross-compiler. I never built native binaries 
for binutils and gcc, and I didn't package the eglibc binaries.

I did tar some kernel binaries, which probably have the TLS/NPTL patches 
(it was a while ago, I don't recall exactly):

http://www.telegraphics.com.au/~fthain/linux-2.6.31/

This kernel should work on a Q650. I do have such a machine, so I may be 
able to help if it doesn't work on yours.

> ... I gather that installing etch-m68k and bootstrapping TLS and NPTL 
> patched gcc and kernel would be far from trivial...

Yes, it is complicated. The sid source packages for linux, eglibc and gcc 
need patches, but that's the easy part.

The difficult (and slow) part is building and rebuilding everything in the 
right order, with the right hacks to resolve circular deps. 
Cross-compiling side-steps a lot of those issues but it isn't any use for 
Debian buildd's (though it could work with Gentoo/m68k).

BTW, latest upstream binutils and GCC releases already have TLS/NPTL 
support for m68k. The git repos for glibc and Linux appear to have 
TLS/NPTL patches merged, but not yet released.

Finn


-- 
To UNSUBSCRIBE, email to debian-68k-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/alpine.lnx.2.00.1003131608540.32...@nippy.intranet