From owner-freebsd-mips@FreeBSD.ORG Fri Dec 9 13:26:15 2011 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A5671065670 for ; Fri, 9 Dec 2011 13:26:15 +0000 (UTC) (envelope-from milu@dat.pl) Received: from jab.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id 8B1318FC0C for ; Fri, 9 Dec 2011 13:26:14 +0000 (UTC) Received: from jab.dat.pl (jsrv.dat.pl [127.0.0.1]) by jab.dat.pl (Postfix) with ESMTP id 73AFB4C; Fri, 9 Dec 2011 14:10:16 +0100 (CET) X-Virus-Scanned: amavisd-new at dat.pl Received: from jab.dat.pl ([127.0.0.1]) by jab.dat.pl (jab.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id v96a9EaCAGK6; Fri, 9 Dec 2011 14:10:13 +0100 (CET) Received: from snifi.localnet (unknown [212.69.68.42]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jab.dat.pl (Postfix) with ESMTPSA id 71FD32D; Fri, 9 Dec 2011 14:10:13 +0100 (CET) From: Maciej Milewski To: Monthadar Al Jaberi Date: Fri, 09 Dec 2011 14:10:55 +0100 Message-ID: <11610829.bYiI1B7eQ0@snifi> User-Agent: KMail/4.7.3 (Linux/3.1.1-1-ARCH; KDE/4.7.3; x86_64; ; ) In-Reply-To: References: <20111209133928.76cb2cdf.ray@dlink.ua> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Cc: freebsd-mips@freebsd.org Subject: Re: boot RSPRO from usb X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 13:26:15 -0000 Dnia pi=C4=85tek, 9 grudnia 2011 13:24:01 Monthadar Al Jaberi pisze: > On Fri, Dec 9, 2011 at 12:39 PM, Aleksandr Rybalko wro= te: > > On Fri, 9 Dec 2011 11:47:00 +0100 > >=20 > > Monthadar Al Jaberi wrote: > mountroot> . > da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 > da0: Removable Direct Access SCSI-2 device > da0: 40.000MB/s transfers > da0: 2022MB (4141056 512 byte sectors: 255H 63S/T 257C) > (probe1:umass-sim1:1:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 > (probe1:umass-sim1:1:0:0): CAM status: SCSI Status Error > (probe1:umass-sim1:1:0:0): SCSI status: Check Condition > (probe1:umass-sim1:1:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not= > present) da1 at umass-sim1 bus 1 scbus1 target 0 lun 0 > da1: Removable Direct Access SCSI-0 dev= ice > da1: 40.000MB/s transfers > da1: Attempt to query device size failed: NOT READY, Medium not prese= nt >=20 > mountroot> ? >=20 > List of GEOM managed disk devices: > da1 da0 flash/spi0 >=20 > mountroot> ufs:/dev/da0 > Trying to mount root from ufs:/dev/da0 []... > warning: no time-of-day clock registered, system time will not be set= > accurately g_vfs_done():da0[READ(offset=3D142729216, length=3D65536)]= error =3D 5 > vnode_pager_getpages: I/O read error > ELF interpreter /libexec/ld-elf.so.1 not found > g_vfs_done():da0[READ(offset=3D5037056, length=3D1024)]error =3D 5 > g_vfs_done():da0[READ(offset=3D5037056, length=3D1024)]error =3D 5 > g_vfs_done():da0[READ(offset=3D782336, length=3D65536)]error =3D 5 > vnode_pager_getpages: I/O read error > vm_fault: pager read error, pid 1 (init) > BAD_PAGE_FAULT: pid 1 (init), uid 0: pc 0x49e398 got a read fault at > 0x49e398 Trapframe Register Dump: > =09zero: 0=09at: 0x513d20=09v0: 0x21=09v1: 0x4dc224 > =09a0: 0x7ffec9f8=09a1: 0xd=09a2: 0x4dc1d0=09a3: 0x7ffeca80 > =09t0: 0x1beec8=09t1: 0=09t2: 0x1beec8=09t3: 0x8000000 > =09t4: 0x1beec80=09t5: 0=09t6: 0=09t7: 0 > =09t8: 0x3d000=09t9: 0x49e398=09s0: 0x7ffec9f8=09s1: 0x7ffeca80 > =09s2: 0x7ffed6e0=09s3: 0x4dc245=09s4: 0x4dc24e=09s5: 0x4d55d4 > =09s6: 0x7ffed7b4=09s7: 0x4d5ab4=09k0: 0=09k1: 0 > =09gp: 0x4fefe0=09sp: 0x7ffec9c8=09s8: 0x40301c=09ra: 0x456d5c > =09sr: 0xfc13=09mullo: 0x222222a2=09mulhi: 0xffffffffffffff80=09badva= ddr: 0x49e398 > =09cause: 0x10000008=09pc: 0x49e398 > pc address 0x49e398 is inaccessible, pde =3D 0x80b9b000, pte =3D 0 > Page table info for bad address 0x49e398: pde =3D 0x80b9b000, pte =3D= 0 >=20 Hi Monthadar, this looks for me like some error in fs. I remember similar problems(wi= th fs)=20 on first boot of new makefs based image. There was needed to run fsck b= efore=20 first mount of fs. But have never seen such error on my board. Can you provide the command used to generate this image(and maybe image= itself=20 privately?) Alternative way maybe would work. Have you tried to run system from nfs= and=20 create fs by newfs + (cp || untar || rsync || install) needed system fi= les? -- Maciej