Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f6UEDQq05171 for linux-mips-outgoing; Mon, 30 Jul 2001 07:13:26 -0700 Received: from mx.mips.com (mx.mips.com [206.31.31.226]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f6UEDPV05167 for ; Mon, 30 Jul 2001 07:13:25 -0700 Received: from newman.mips.com (ns-dmz [206.31.31.225]) by mx.mips.com (8.9.3/8.9.0) with ESMTP id HAA10027; Mon, 30 Jul 2001 07:13:17 -0700 (PDT) Received: from Ulysses (ulysses [192.168.236.13]) by newman.mips.com (8.9.3/8.9.0) with SMTP id HAA00182; Mon, 30 Jul 2001 07:13:09 -0700 (PDT) Message-ID: <075901c11902$6a27b260$0deca8c0@Ulysses> From: "Kevin D. Kissell" To: "Fuxin Zhang" , References: <200107301345.f6UDjXV04192@oss.sgi.com> Subject: Re:/sbin/init problem in HH2.0 distro Date: Mon, 30 Jul 2001 16:17:32 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Well, if you can run "passwd", can you run "nm" or some other utility to see if libc.so.6 does in fact define the symbol _sec0? Kevin K. ----- Original Message ----- From: "Fuxin Zhang" To: Sent: Monday, July 30, 2001 3:48 PM > hello,linux-mips > I am porting support of Algorithmics P6032 evalution board from > 2.2 kernel to 2.4. I started with the kernel 2.4.3 from hardhat2.0 > distribution.Now I am able to boot the kernel but it hangs up when > trying to exec /sbin/init.The error message is something like: > Init: Kernel panic: trying to kill init > Init:error loading libc.so.6, undefined symbol _sec0 > > But if i let the kernel execute /bin/ash.static directly,it can give me > a shell while complaining something like" no tty found,job control disabled". Then I can use most commands such as ls,passwd,cat.So the > libc.so.6 can't be a corrupted one. > > The test environment is: > Algorithmics P6032 with a idt79RC64474 CPU > IDE hard disk(IBM Deskstar 40M,7200rpm) > Kernel options: > pci,ide(with/without dma,multimode) enabled > serial console enabled > > What can be the cause? > > I suspect the ide driver first.But disabling dma doesn't help and it > seems to work quite well under ash. > > I am investigating the cause,if you want,I can provide more > information. > > > > > > Regards > Fuxin Zhang > fxzhang@ict.ac.cn >