Re: New set of sparc boot disks

2000-01-21 Thread Ragga Muffin

After a night of toiling I got Potato on my Sparc 5 (Microsparc II, 128Mb,
ROM v2.10)
 Thanks for the advice jedd and max ;)

I thought it would be good to share my experience so here goes.
-created sun4cdm rescue and driver floppy using those 
 from marcus.debian.net (jan15). No root.bin floppy so I made one
 from the slink distribution.
-boots ok, partitioning ok etc, but no way to install kernel and drivers.
  -install from rescue floppy fails (/dev/fd0 not configured error msg)
 - dbootsrap eventually hangs..
  -install from mounted, nfs or network fails but the error flashes
   quickly as the installer reprompts the install from selection menu.
   (If I read correctly, something about IOCTL: LOOP_BLK device... )
 Note: I could actually mount nfs partitions and ls them etc but the
   installer balks..
 - vt2 displays only things like:  dbootstrap returned 29 or the like.

Pressed Stop-A.

- tried the tftp.img from marcus.debian.net
- same story. No way to install the kernel and drivers.

Stop-A.

- tried the slink tftp-2.2.1.img.
- boots ok. Install kernel and drivers from nfs or mounted works after 
  a few tries creating the appropriately named files and directories (g..)
- install continues and goes smoothly. Had to try 4 blank floppys
  before success at creating bootfloppy. (damn these cheapo floppies)

- reboot
- install mimimal slink system (~50Mb, with compiler )
- change /etc/apt/sources.list to point to potato
- apt-get update
- apt-get -f dist-upgrade
- cannot upgrade libc6 because need at least kernel-2.2.7 (got 2.2.1)
- download 2.2.14, compile
  (there could be more help about the options but it was ok otherwise)
- reboot
- from here on it was the usual struggle (8^) with dselect/apt-get. All was
  quite fine except a coupla things.

1)uninstall pppconfig fails.
 remove script returns error: wrong exec architecture

2)emacs19 install fails: (why are there 2 versions anyway ?)
 cannot open bytecomp: no such file or directory

3)why is there a link  /usr/lib/X11/XF86Config - /etc/X11/XF86Config ?
(where are xsun settings anyway )

4) wrong(?) dependencies vrt. xbase-clients and fontfiles (100dpi, 75dpi)
Had to install the fonts by hand.

5)the window manager doesn't start (??). I'm mystified on this one.
Followed the Xsession script and checked the files etc and all seems ok.
Will check again later.

But in the end, I'm now a happy debian-sparc potato user 8^)


Tnx




Re: New set of sparc boot disks

2000-01-21 Thread Ragga Muffin

Hello,

baudin maxime [EMAIL PROTECTED] wrote:
strange, pppconfig works here(not the ppp link, because

Ah, maybe you misread the sentence I wrote

 1)uninstall pppconfig fails.

I want to un-install ppp and pppconfig because there is no use for it here.
But the un-install script is broken.

there's no sun setting, as the sbus has pnp capability, The system autodetect

Ah, ok. The link points to a non-existing file anyway...

 5)the window manager doesn't start (??). I'm mystified on this one.

I followed the Xsession script again and checked the files and perms.
But I only get xterm and no window manager :^(

Maybe I need some sleep and recheck.


Tnx
--
Pas de bureau mais une grande poubelle.


problems with apt-get upgrading from slink to potato

2000-01-21 Thread Ari Heitner
I installed debian slink with no problems on my SPARCStation 1+, but I've
been having problems moving to potato.

apt-get tends to sit there sucking cpu cycles without accomplishing much.
For some time now, it's been at:

309 packages upgraded, 57 newly installed, 9 to remove and 5 not upgraded.
Need to get 0B/136MB of archives. After unpacking 87.7MB will be used.
Do you want to continue? [Y/n]

(yes, after I hit enter :). It's been sitting there for about 10-15
minutes. It's definitely trying to do _something_:

$ ps aux
USER   PID %CPU %MEM  SIZE   RSS TTY STAT START   TIME COMMAND
...
root   825  3.2 22.8  4856  3228   1 S18:30   0:57 apt-get
dist-upgrade
root   826 98.2 22.8  4856  3228   1 R18:32  27:41 apt-get
dist-upgrade
...

I don't see any other processes running that appear related. My apt
sources are:

deb ftp://ftp.debian.org/debian potato main contrib non-free
deb-src ftp://ftp.debian.org/debian potato main contrib non-free
deb ftp://pandora.debian.org/debian-non-US potato/non-US main contrib
non-free
deb-src ftp://pandora.debian.org/debian-non-US potato/non-US main contrib
non-free

Any suggestions welcome.





Cheers,


Ari Heitner
  DC: 703/5733512  CMU: 412/8622699  www.singularity-software.com


Re: problems with apt-get upgrading from slink to potato

2000-01-21 Thread Jason Gunthorpe

On Fri, 21 Jan 2000, Ari Heitner wrote:

 $ ps aux
 USER   PID %CPU %MEM  SIZE   RSS TTY STAT START   TIME COMMAND
 ...
 root   825  3.2 22.8  4856  3228   1 S18:30   0:57 apt-get
 dist-upgrade
 root   826 98.2 22.8  4856  3228   1 R18:32  27:41 apt-get
 dist-upgrade
 ...

Uh, why do you have two of them running? APT is not multithreaded, it only
forks when it is going to exec something. Strace it and see what is going
wrong.

Jason


Re: problems with apt-get upgrading from slink to potato

2000-01-21 Thread Ari Heitner
On Fri, 21 Jan 2000, Jason Gunthorpe wrote:

 
 On Fri, 21 Jan 2000, Ari Heitner wrote:
 
  $ ps aux
  USER   PID %CPU %MEM  SIZE   RSS TTY STAT START   TIME COMMAND
  ...
  root   825  3.2 22.8  4856  3228   1 S18:30   0:57 apt-get
  dist-upgrade
  root   826 98.2 22.8  4856  3228   1 R18:32  27:41 apt-get
  dist-upgrade
  ...
 
 Uh, why do you have two of them running? APT is not multithreaded, it only
 forks when it is going to exec something. Strace it and see what is going
 wrong.
 
 Jason
 
 
The strace crashed pretty quick, but apt seems to be using pthreads:

--snip--
open(/lib/libpthread.so.0, O_RDONLY)  = 3
read(3, \177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0..., 4096) = 4096
mmap(0, 128632, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xe028a000
mprotect(0xe0293000, 91768, PROT_NONE)  = 0
mmap(0xe029a000, 65536, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xe029a000
--snip--

This is btw apt ver:
ii  apt 0.3.10slink11  Advanced front-end for dpkg

...

Here's the complete strace if anyone wants to read it (i have no idea why
it's crashing):

elsinore:~# strace apt-get dist-upgrade
execve(/usr/bin/apt-get, [apt-get, dist-upgrade], [/* 14 vars */]) =
0
brk(0)  = 0x3ad34
open(/etc/ld.so.preload, O_RDONLY)= -1 ENOENT (No such file or
directory)
open(/etc/ld.so.cache, O_RDONLY)  = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=9666, ...}) = 0
mmap(0, 9666, PROT_READ, MAP_PRIVATE, 3, 0) = 0xe0017000
close(3)= 0
open(/usr/lib/libapt-pkg.so.2.5, O_RDONLY) = 3
read(3, \177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0..., 4096) = 4096
mmap(0, 759428, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xe0028000
mprotect(0xe00c4000, 120452, PROT_NONE) = 0
mmap(0xe00c8000, 106496, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 0x9) = 0xe00c8000
close(3)= 0
open(/usr/lib/libstdc++-libc6.1-1.so.2, O_RDONLY) = 3
read(3, \177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0..., 4096) = 4096
mmap(0, 343652, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xe00e2000
mprotect(0xe011b000, 110180, PROT_NONE) = 0
mmap(0xe0122000, 73728, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 0x3) = 0xe0122000
mmap(0xe0134000, 7780, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xe0134000
close(3)= 0
open(/lib/libm.so.6, O_RDONLY)= 3
read(3, \177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0..., 4096) = 4096
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xe001a000
mmap(0, 274200, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xe0136000
mprotect(0xe0168000, 69400, PROT_NONE)  = 0
mmap(0xe0176000, 12288, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 0x3) = 0xe0176000
close(3)= 0
open(/lib/libc.so.6, O_RDONLY)= 3
read(3, \177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0..., 4096) = 4096
mmap(0, 1114204, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xe0179000
mprotect(0xe026d000, 114780, PROT_NONE) = 0
mmap(0xe0279000, 45056, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 0xf) = 0xe0279000
mmap(0xe0284000, 20572, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xe0284000
close(3)= 0
open(/lib/libpthread.so.0, O_RDONLY)  = 3
read(3, \177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0..., 4096) = 4096
mmap(0, 128632, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xe028a000
mprotect(0xe0293000, 91768, PROT_NONE)  = 0
mmap(0xe029a000, 65536, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xe029a000
close(3)= 0
munmap(0xe0017000, 9666)= 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=8192*1024}) = 0
getpagesize()   = 0x1000
setrlimit(RLIMIT_STACK, {rlim_cur=2040*1024, rlim_max=8192*1024}) = 0
getpid()= 882
uname({sys=Linux, node=elsinore, ...}) = 0
recv(30, 0xea90, 0, MSG_DONTROUTE|MSG_PROXY|0xe019e460) = -1 ENOSYS
(Function not implemented)
Segmentation fault
elsinore:~#

Anyone with more strace experience than me want to suggest why it's
bombing out before it gets very far?




Cheers,

Ari


cross-compiling ?

2000-01-21 Thread Ragga Muffin

Hi,

Is anybody cross-compiling packages for sparc on, say linux-x86 ?

I understand it should be possible by installing the cross-compiling
tools.
The sparc5 I recently installed debian is a bit slow...

Any advice/experiences welcome.

Tnx


Re: problems with apt-get upgrading from slink to potato

2000-01-21 Thread Jason Gunthorpe

On Fri, 21 Jan 2000, Ari Heitner wrote:

 The strace crashed pretty quick, but apt seems to be using pthreads:

Ah.. you have the old APT linked to pthreads. Upgrade these things:
   1) Kernel
   2) libc6
   3) pthread
   4) apt
   5) strace

Jason


Definitive package list for 2.1r5...

2000-01-21 Thread Vincent Renardias

Hello,

Unless any other major bug is discovered, here's the list of packages that
will go in 2.1r5 (note: this update fixes y2k bugs in _32_ packages).
The people compiling for m68k,alpha,sparc can start updating their port.

I'd like to be able to release next wednesday.

Cordialement,

-- 
- Vincent RENARDIAS  [EMAIL PROTECTED],pipo}.com,{debian,openhardware}.org} -
- Debian/GNU Linux:   GNOME : -
- http://www.fr.debian.org   http://www.gnome.org -
---
Every man has two nations, and one of them is France  [Benjamin Franklin]
List of packages likely to be included in the next slink update (2.1r5)
===

In Incoming:
slrn

Not yet uploaded (y2k fixes):
iraf*

Security updates:
  [Vincent 2000/01/07]
  package  : kernel-source-2.0.38
  version  : 2.0.38-2
  architectures: i386
  issue: fix IP exploit.

  [Vincent 2000/01/10]
  package  : nvi
  version  : 1.79-9.1
  architectures: i386 alpha sparc m68k
  issue: Fixed vulnerability in nviboot. It was possible for someone
 to erase files in the root directory by creating files in nvi's
 recovery directory with embedded spaces.

  [Vincent 2000/01/21]
  package  : lpr
  version  : 0.48-0.slink2
  architectures: i386 m68k (ALPHA, SPARC MISSING)
  issue: remote exploit

Y2K updates:
  [Vincent 1999/12/19]
  package  : tetex-bin
  version  : 0.9.981113-4
  architectures: i386 (ALPHA, SPARC  M68K MISSING)
  issue: y2k pbm in index updating (?)

  [Vincent 1999/12/17]
  package  : nethack
  version  : 3.2.3-3
  architectures: i386 m68k (ALPHA, SPARC MISSING)
  issue: y2k pbm in log files.

  [Vincent 2000/01/07]
  package  : emacs19
  version  : 19.34-21.1
  architectures: i386 (ALPHA, SPARC  M68K MISSING)
  issue: Y2K fix in lisp/timezone.el

  [Vincent 2000/01/07]
  package  : emacs20
  version  : 20.5a-1.99
  architectures: i386 m68k (ALPHA, SPARC MISSING)
  issue: Y2K fix in lisp/timezone.el

  [Vincent 2000/01/18]
  package  : mutt
  version  : 1.0.0-3.1
  architectures: i386 (ALPHA, SPARC  M68K MISSING)
  issue: Y2K fix 

  [Vincent 2000/01/07]
  package  : pilot-manager
  version  : 1.106-2.1
  architectures: i386 (ALPHA, SPARC  M68K MISSING)
  issue: Added Y2K patch from BR #53831

  [Vincent 2000/01/07]
  package  : calamaris
  version  : 2.8-4
  architectures: all
  issue: Correcting an ugly Y2K bug: date should show as '00' instead 
of '100'.

  [Vincent 2000/01/07]
  package  : dtaus
  version  : 0.3-2
  architectures: i386 m68k (ALPHA, SPARC MISSING)
  issue: Applied y2k fix *sigh* [sic]

  [Vincent 2000/01/12]
  package  : fml
  version  : 3.0+beta.2106-0slink1
  architectures: all
  issue: fix some y2k problems

  [Vincent 2000/01/07]
  package  : sendfile
  version  : 2.1-8.1
  architectures: i386 m68k (ALPHA, SPARC MISSING)
  issue: Corrected date routine, removes y2k bug (Bug#53817)

  [Vincent 2000/01/09]
  package  : hyperlatex
  version  : 2.3.1-3.0.1
  architectures: all
  issue: Fix a Y2K bug in a date regexp.

  [Vincent 2000/01/09]
  package  : webalizer
  version  : 1.20-5
  architectures: i386 m68k (ALPHA, SPARC MISSING)
  issue: Y2K fix (some %d - %02d printf format string changes)

  [Vincent 2000/01/09]
  package  : leafnode
  version  : 1.6.2-3
  architectures: i386 sparc m68k (ALPHA MISSING)
  issue: Y2K fix.

  [Vincent 2000/01/09]
  package  : nntp
  version  : 1.5.12.1-7slink1
  architectures: i386 m68k (ALPHA, SPARC MISSING)
  issue: Y2K fix.

  [Vincent 2000/01/09]
  package  : wml
  version  : 1.6.8-1
  architectures: i386 m68k (ALPHA, SPARC MISSING)
  issue: Y2K fix.

  [Vincent 2000/01/12]
  package  : cnews
  version  : cr.g7-12.1
  architectures: i386 m68k (ALPHA, SPARC MISSING)
  issue: Y2K fix for date parsing routines

  [Vincent 2000/01/10]
  package  : eperl
  version  : 2.2.14-0.3
  architectures: i386 m68k (ALPHA, SPARC MISSING)
  issue: Integrated y2k patch from BR #54278.

  [Vincent 2000/01/21]
  package  : groff
  version  : 1.15.1.11a.7.Y2K-1
  architectures: i386 (M68K, ALPHA, SPARC MISSING)
  issue: Y2K fix.

  [Vincent 2000/01/10]
  package  : inn
  version  : 1.7.2-4.2
  architectures: i386 m68k (ALPHA, SPARC MISSING)
  issue: Added patch from BR #53813 to fix a y2k bug.

  [Vincent 2000/01/10]
  package  : mush
  version  : 7.2.5unoff2-7.0.1
  architectures: i386 (ALPHA, SPARC  M68K MISSING)
  issue: Applied