[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Potato: apt-get crashes on Indigo 2 R4000/100Mhz



I just tried a fresh Debian 3.0 install on my SGI Indigo 2. The box is
known to work fine under Irix. The installation was smooth for the first
round (installing base packages, kernel, modules and reboot). During the
second round, subsequent uses of apt-get would result in a seg fault:

sgi:~# apt-get install ssh
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  libssl0.9.6 zlib1g
The following NEW packages will be installed:
  libssl0.9.6 ssh zlib1g
0 packages upgraded, 3 newly installed, 0 to remove and 1  not upgraded.
Segmentation fault (core dumped)
sgi:~#

On *one* occasion, the same command went a little further, asked a
configuration question but then died with:

Unpacking less (from .../archives/less_374-4_mips.deb) ...
Setting up less (374-4) ...
/var/lib/dpkg/info/less.postinst: line 58:   194 Segmentation fault
updatezdpkg: error processing less (--configure):
subprocess post-installation script returned error exit status 139
Errors were encountered while processing:
less
E: Sub-process /usr/bin/dpkg returned an error code (1)
sgi:~#

The core file is available at http://www.oswego.edu/~wjhun/apt-get.core.gz
This is with the stock kernel provided with debian:

sgi:~# uname -a
Linux sgi 2.4.16 #1 Sun Dec 16 16:38:44 CET 2001 mips unknown

Linux version 2.4.16 (root@nocontrol) (gcc version 2.95.4 20011006 (Debian prerelease)) #1 Sun Dec 16 16:38:44 CET 2001

When using the latest kernel (linux_2_4) out of the oss.sgi.com tree, I'm
able to get further with installing other packages, but trying to install
less still fails:

sgi:~# apt-get install less
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, less is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 1  not upgraded.
1 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up less (374-4) ...
dpkg: error processing less (--configure):
subprocess post-installation script killed by signal (Segmentation fault)
Errors were encountered while processing:
less
E: Sub-process /usr/bin/dpkg returned an error code (1)
sgi:~#

That core file is at http://www.oswego.edu/~wjhun/apt-get.core.2.gz

Perhaps the newer kernel fixes the problem, but the record for the
half-installed (broken) less is causing one of the package programs to
segfault? (I'm not a debian whiz...) Other packages do install without a
hitch, though.

Has this kind of problem been seen before? Should the stock kernel package
be updated?

Here's the hinv:

>> hinv
                   System: IP22
                Processor: 100 Mhz R4000, with FPU
     Primary I-cache size: 8 Kbytes
     Primary D-cache size: 8 Kbytes
     Secondary cache size: 1024 Kbytes
              Memory size: 32 Mbytes
                 Graphics: XL
                SCSI Disk: scsi(0)disk(1)
                    Audio: Iris Audio Processor: version A2 revision 0.1.0
>>

Thanks,
William

|William Y. Jhun - wjhun@oswego.edu




Reply to: