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

Re: apt-get, seg fault, /proc/mounts problem



Also, this:

# mount remount /proc -t proc
Segmentation fault


On Tue, Nov 09, 2004 at 06:48:04PM +0000, Dave Thorn wrote:
> I had trouble getting my box to boot tonight.  After a kernel panic (CPU
> context corrupt) and then LILO stopping at LI it started working.
> 
> When it's all booted up normally, I wonder if the problem was the
> memory, so try to install memtest86+.
> 
> apt-get install memtest86+
> 
> but this segfaults.
> 
> So I apt-get update, works ok.
> 
> apt-get upgrade segfaults.  strace -f apt-get upgrade
> 
> The last bit is this:
> 
> statfs("/var/cache/apt/archives/", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=19540761, f_bfree=16167153, f_bavail=15174537, f_files=9928704, f_ffree=9665158, f_fsid={0, 0}, f_namelen=255}) = 0
> stat64("/var/cache/apt/archives/", {st_mode=S_IFDIR|0755, st_size=86016, ...}) = 0
> open("/proc/mounts", O_RDONLY)          = 16
> fstat64(16, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
> read(16,  <unfinished ...>
> +++ killed by SIGSEGV +++
> 
> and I get this at the command line, too:
> 
> $ cat /proc/mounts 
> Segmentation fault
> 
> /proc isn't *completely* shafted.  I can still get at cpuinfo, cmdling,
> filesystems, devices and various other bits in there.
> 
> Anyone have any suggestions about this, or how to fix?
> 
> Cheers,
> 
> -- 
> dave thorn
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-testing-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

-- 
dave thorn



Reply to: