Re: apt ftp method dying after upgrade

1999-06-30 Thread Jason Gunthorpe

On Wed, 30 Jun 1999, Mike wrote:

> I'd need apt compiled w/ debugging symbols, right? Where could I get the
> source from for 0.3.6? (I can only find 0.3.11 on the Debian ftp site).
> Ta.

Use 0.3.11, it is pretty much the same

Jason


Re: compile kernel 2.0.35 on Sparc?

1999-06-30 Thread Andreas Jaehnigen
Hi again... :-)

Thank you very much for your reply. :-)

> PS.: If you got problems with the 2.2.9 kernel mail again and I'll explain
> how to compile a 2.0.35 kernel for Sparc.

Well... I recently tried 2.2.10 and it was fine. BUT: I've to set up a
diskless client here, that gets everything via NFS (from a Solaris server).
Unfortunately, the nfsswap-patch seems not to get along with 2.2.10,
so I wanted to give 2.0.35 a try...

Or did you manage to get swap over NFS working with 2.2.10, which would
be great, of course...?

So... Waiting for your reply... :-))) 


-- 
cya
ANDI


Re: compile kernel 2.0.35 on Sparc?

1999-06-30 Thread Christian Meder
On Wed, Jun 30, 1999 at 12:00:07PM +0200, Andreas Jaehnigen wrote:
> Hi,
> 
> can everybody tell me how to compile kernel 2.0.35 on Sparc?
> I've Debian running here and have to compile my own kernel.
> "xconfig" was ok, but compiling fails with
> 
> /usr/local/src/linux/include/linux/mm.h: In function `expand_stack':
> In file included from init/main.c:33:
> /usr/local/src/linux/include/linux/mm.h:327: `RLIMIT_AS' undeclared (first 
> use t
> his function)
> make[1]: *** [init/main.o] Error 1
> make[1]: Leaving directory `/usr/local/src/linux'
> make: *** [build] Error 2
> 
> I go the kernel sources from kernel.org. The only thing I changed so far
> in the top level makefile:
> 
> ARCH = sparc
> 
> Thank you very much in advance! :-)

I could tell you but it's a minor pain and the 2.2.x kernels are generally
far better on Sparcs than the 2.0.35 kernel.
I recommend to try this one
ftp://ftp.de.debian.org/debian/dists/unstable/main/binary-sparc/base/kernel-image-2.2.9_2.2.9-2.deb

It's in unstable but works pretty well (most of the Debian sparc developers 
run it).

Greetings,


Christain

PS.: If you got problems with the 2.2.9 kernel mail again and I'll explain
how to compile a 2.0.35 kernel for Sparc.
-- 
Christian Meder, email: [EMAIL PROTECTED]
 
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)
 


compile kernel 2.0.35 on Sparc?

1999-06-30 Thread Andreas Jaehnigen
Hi,

can everybody tell me how to compile kernel 2.0.35 on Sparc?
I've Debian running here and have to compile my own kernel.
"xconfig" was ok, but compiling fails with

/usr/local/src/linux/include/linux/mm.h: In function `expand_stack':
In file included from init/main.c:33:
/usr/local/src/linux/include/linux/mm.h:327: `RLIMIT_AS' undeclared (first use t
his function)
make[1]: *** [init/main.o] Error 1
make[1]: Leaving directory `/usr/local/src/linux'
make: *** [build] Error 2

I go the kernel sources from kernel.org. The only thing I changed so far
in the top level makefile:

ARCH = sparc

Thank you very much in advance! :-)

-- 
cya
ANDI


Re: apt ftp method dying after upgrade

1999-06-30 Thread Mike
Antti Salmela wrote:
> 
> On Wed, Jun 30, 1999 at 03:44:58PM +0930, Mike wrote:
> 
> > connect(3, {sun_family=AF_UNIX, sun_path="/var/run/.nscd_socket"}, 110)
> > = 0
> 
> I had sendmail giving bus-error when nscd was installed.

Good call. Stopping nscd fixed apt's problems. (I also noticed sendmail
wasn't running, whoops..)

Disabling nscd's hosts cache in /etc/nscd allowed apt and sendmail to
function normally while nscd is running.

Should this be reported as a nscd bug?

Thanks guys, for the assistance!
Michael.

-- 
? Michael Gratton - [EMAIL PROTECTED]
! "So, what's the deal with Auntie Gerschwitz et all?"
> http://web.vee.net/


installing libwww

1999-06-30 Thread Marco d'Itri
spock:/home/md# dpkg -i libwww-perl_5.42-1.deb
(Reading database ... 10636 files and directories currently installed.)
Unpacking libwww-perl (from libwww-perl_5.42-1.deb) ...
dpkg: error processing libwww-perl_5.42-1.deb (--install): error setting 
ownership of symlink `usr/man/man1/GET.1p.gz': No such file or directory
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 libwww-perl_5.42-1.deb
spock:/home/md#uname -a
Linux spock 2.2.9 #4 Sun Jun 6 10:46:52 EDT 1999 sparc unknown
spock:/home/md#

I can't install the slink package too.



Re: apt ftp method dying after upgrade

1999-06-30 Thread Antti Salmela
On Wed, Jun 30, 1999 at 03:44:58PM +0930, Mike wrote:

> connect(3, {sun_family=AF_UNIX, sun_path="/var/run/.nscd_socket"}, 110)
> = 0

I had sendmail giving bus-error when nscd was installed.

-- 
Antti Salmela


Re: apt ftp method dying after upgrade

1999-06-30 Thread Mike
Jason Gunthorpe wrote:
> 
> On Wed, 30 Jun 1999, Mike wrote:
> 
> > close(3)
> > --- SIGBUS (Bus error) ---
> >
> > Do you want a copy of the trace?
> 
> Nope, that's just cool - can you get gdb hooked on that FTP process?

I'd need apt compiled w/ debugging symbols, right? Where could I get the
source from for 0.3.6? (I can only find 0.3.11 on the Debian ftp site).
Ta.
 
Michael.

-- 
? Michael Gratton - [EMAIL PROTECTED]
! "So, what's the deal with Auntie Gerschwitz et all?"
> http://web.vee.net/


Re: apt ftp method dying after upgrade

1999-06-30 Thread Jason Gunthorpe

On Wed, 30 Jun 1999, Mike wrote:

> read(3, "\0\0\0\0\0\0\0\1\0\0\0\25\0\0\0\1"..., 32) = 32
> readv(3, [{"mirror.aarnet.edu.au\0", 21}, {"\0\0\0\22", 4}, {"\300o \2",
> 4}, {"\
> 0\0\0\0\0\0\0\0\0\0\377\377\300"..., 16}], 4) = 45
> read(3, "ftp.au.debian.org\0", 18)  = 18
> close(3)
> --- SIGBUS (Bus error) ---
> 
> Do you want a copy of the trace?

Nope, that's just cool - can you get gdb hooked on that FTP process? That
might require some dark magic.. Bus Errors are bad news :>

Jason


Re: apt ftp method dying after upgrade

1999-06-30 Thread Mike
Jason Gunthorpe wrote:
> 
> Nope, that's harmless, look at the very end, the last couple lines of the
> traces that contain exec(".../ftp") type lines

Okay, from one of the child processes:

[snip]
read(3, "search vee.net\nnameserver"..., 4096) = 90
read(3, "", 4096)   = 0
close(3)= 0
munmap(0x5001a000, 8192)= 0
socket(PF_UNIX, SOCK_STREAM, 0) = 3
connect(3, {sun_family=AF_UNIX, sun_path="/var/run/.nscd_socket"}, 110)
= 0
write(3, "\0\0\0\2\0\0\0\4\0\0\0\22", 12) = 12
write(3, "ftp.au.debian.org\0", 18) = 18
read(3, "\0\0\0\0\0\0\0\1\0\0\0\25\0\0\0\1"..., 32) = 32
readv(3, [{"mirror.aarnet.edu.au\0", 21}, {"\0\0\0\22", 4}, {"\300o \2",
4}, {"\
0\0\0\0\0\0\0\0\0\0\377\377\300"..., 16}], 4) = 45
read(3, "ftp.au.debian.org\0", 18)  = 18
close(3)
--- SIGBUS (Bus error) ---

Do you want a copy of the trace?

Michael.

-- 
? Michael Gratton - [EMAIL PROTECTED]
! "So, what's the deal with Auntie Gerschwitz et all?"
> http://web.vee.net/


Re: apt ftp method dying after upgrade

1999-06-30 Thread Jason Gunthorpe

On Wed, 30 Jun 1999, Mike wrote:

> Bear with me here, I haven't done much C/Linux debugging before, but
> this looks like the problem:
> 
> [snip]
> ioctl(1, TCGETS, {B9600 opost isig icanon echo ...}) = 0
> close(-1)   = -1 EBADF (Bad file descriptor)
> close(-1)   = -1 EBADF (Bad file descriptor)
> 
> I don't have gdb handy, but I'll get it and have a futher look if you
> think it would help. 

Nope, that's harmless, look at the very end, the last couple lines of the
traces that contain exec(".../ftp") type lines

Jason


Re: apt ftp method dying after upgrade

1999-06-30 Thread Mike
Jason Gunthorpe wrote:
> 
> On Wed, 30 Jun 1999, Mike wrote:
> 
> > It was Working Okay Before(tm) and network connectivity is also fine. I
> > can ftp to the target mirror okay from the command line and as ususal,
> > everything else appears to be working fine.
> 
> Try strace -o /tmp/jnk -ff apt-get fooo
> 
> And see where the ftp method is blowing up (/tmp/jnk.?? will contain the
> trace) if it is a segv then gdb it please..

Bear with me here, I haven't done much C/Linux debugging before, but
this looks like the problem:

[snip]
ioctl(1, TCGETS, {B9600 opost isig icanon echo ...}) = 0
close(-1)   = -1 EBADF (Bad file descriptor)
close(-1)   = -1 EBADF (Bad file descriptor)

I don't have gdb handy, but I'll get it and have a futher look if you
think it would help. 

Michael.

-- 
? Michael Gratton - [EMAIL PROTECTED]
! "So, what's the deal with Auntie Gerschwitz et all?"
> http://web.vee.net/


Re: apt ftp method dying after upgrade

1999-06-30 Thread Jason Gunthorpe

On Wed, 30 Jun 1999, Mike wrote:

> It was Working Okay Before(tm) and network connectivity is also fine. I
> can ftp to the target mirror okay from the command line and as ususal,
> everything else appears to be working fine.

Try strace -o /tmp/jnk -ff apt-get fooo

And see where the ftp method is blowing up (/tmp/jnk.?? will contain the
trace) if it is a segv then gdb it please..

Jason


apt ftp method dying after upgrade

1999-06-30 Thread Mike

Hi there,

I've just upgraded my SS5 to glibc 2.1.1 and kernel 2.2.10 from stock
slink, I also upgraded apt to 0.3.6. During this process, apt has
broken. Attempting to do an update or install produces the following
error: 
  E: Method ftp has died unexpectedly!

It was Working Okay Before(tm) and network connectivity is also fine. I
can ftp to the target mirror okay from the command line and as ususal,
everything else appears to be working fine.

Any suggestions? Thanks.
Michael.

-- 
? Michael Gratton - [EMAIL PROTECTED]
! "So, what's the deal with Auntie Gerschwitz et all?"
> http://web.vee.net/