New glibc-2.0.95 snapshot
On Fri, Aug 21, 1998 at 12:00:11AM -0400, Dan Jacobowitz wrote:
> On Thu, Aug 20, 1998 at 10:32:02AM +0200, Christian Meder wrote:
> >
> > I will try to build on my sun4m here. Will you build the 2.0.95 version,
> > Johnie or should I try to do it ? I will go from the 2.0.95 packaging from
> > http://master.debian.org/~espy
>
> Instead, use the one from slink. The one on Joel Klecker's page did
> not quite build without some tweaking; I got a working 2.0.95 orig,
> diff, and binary-powerpc upload made.
Ok, I finally got a working sparc glibc-2.0.95 snapshot, complete with
recent sources.
It's available at:
ftp://pc5.isr.uni-stuttgart.de/debian
It works really well on my sun4m aka Sparc 10. Unfortunately if you run a
2.0.x kernel and you don't want to fill up your logs with
Unimplemented Sparc system call 103
or 119
you'll need a kernel patch which I'll attach. 2.1.x should be ok.
DON'T PANIC. The syscalls are ok, the warnings are just annoying.
I would appreciate if you would try the binaries. I'll upload them in 3 or
4 days if nothing pops up. Could somebody from the powerpc people test if
the release works for them too ?
Here's again the recipe how to rescue your system just in case ;-)
Could you perhaps add it to the webpage, Jules ?
- Make sure you have a working rescue floppy or tftpimage. Be sure that the
second console (<Ctrl>-<Alt>-F2) when booting from the rescue image is
working.
- grab the libc6 2.0.93 package
- ar xv libc6....deb
- you'll get a file debian-binary, data.tar.gz and control.tar.gz
- search for an empty floppy
- mke2fs /dev/fd0 (be sure you type fd0 and nothing else, don't reformat your
harddisk)
- mount /dev/fd0 /mnt
- cp data.tar.gz /mnt
- umount /mnt
- now install my new libc6 package
- if nothing fails you are done
- if everything fails, note the details and reboot from the rescue system
- change to the second console
- mount /dev/<your root partition> /target
- mount /dev/fd0 /mnt
- cd /target
- zcat < /mnt/data.tar.gz | star
- umount /dev/fd0
- eject /dev/fd0
- reboot
- after your system is up, install the 2.0.93 package correctly again
- dpkg -i libc6....deb
- write a slightly annoyed report that 2.0.95 is foobar
Greetings,
Christian
PS.: I would appreciate _any_ feedback.
--- linux/arch/sparc/kernel/sys_sparc.c-orig Fri Aug 28 13:05:49 1998
+++ linux/arch/sparc/kernel/sys_sparc.c Fri Aug 28 13:06:03 1998
@@ -230,7 +230,7 @@
/* Be silent for this one as it is attempted by newer
* 2.1.x module utilities.
*/
- if(regs->u_regs[1] != 184) {
+ if((regs->u_regs[1] != 103) && (regs->u_regs[1] != 119) && (regs->u_regs[1] != 184)) {
printk ("Unimplemented SPARC system call %d\n",(int)regs->u_regs[1]);
show_regs (regs);
}
--
Christian Meder, email: meder@isr.uni-stuttgart.de
What's the railroad to me ?
I never go to see
Where it ends.
It fills a few hollows,
And makes banks for the swallows,
It sets the sand a-blowing,
And the blackberries a-growing.
(Henry David Thoreau)
Reply to: