From owner-freebsd-alpha@FreeBSD.ORG Tue Jul 5 17:48:36 2005 Return-Path: X-Original-To: freebsd-alpha@freebsd.org Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D30E16A41C; Tue, 5 Jul 2005 17:48:36 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEDB443D49; Tue, 5 Jul 2005 17:48:35 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from d51mxn11 (Not Verified[65.202.103.25]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Tue, 05 Jul 2005 14:02:29 -0400 From: John Baldwin To: freebsd-alpha@freebsd.org Date: Tue, 5 Jul 2005 13:30:55 -0400 User-Agent: KMail/1.8 References: <27190.1120379420@phk.freebsd.dk> <8fe809bd5c24373ce1cd95c4fcdcea88@xcllnt.net> <20050704202716.GA49737@freebie.xs4all.nl> In-Reply-To: <20050704202716.GA49737@freebie.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507051330.57298.jhb@FreeBSD.org> Cc: alpha@freebsd.org, Poul-Henning Kamp Subject: Re: GENERIC doesn't boot AlphaServer 1000 X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2005 17:48:36 -0000 On Monday 04 July 2005 04:27 pm, Wilko Bulte wrote: > On Mon, Jul 04, 2005 at 01:08:48PM -0700, Marcel Moolenaar wrote.. > > > On Jul 4, 2005, at 12:01 PM, Wilko Bulte wrote: > > >DS10 on booting the latest SNAP CD I produced: > > > > > >Timecounter "i8254" frequency 1193182 Hz quality 0 > > >Timecounter "alpha" frequency 616519676 Hz quality 800 > > >Timecounters tick every 0.976 msec > > >Waiting 5 seconds for SCSI devices to settle > > >md0: Preloaded image 4423680 bytes at > > >0xfffffc00009fb128 > > >acd0: CDROM at ata0-master PIO4 > > >ad0: 39093MB at ata1-master UDMA33 > > >da0 at isp0 bus 0 target 0 lun 0 > > >da0: Fixed Direct Access SCSI-2 device > > >da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing > > >Enabled > > >da0: 8678MB (17773500 512 byte sectors: 255H 63S/T 1106C) > > > > > >fatal kernel trap: > > > > > > trap entry = 0x4 (unaligned access fault) > > > cpuid = 0 > > > faulting va = 0xfffffc00010d7dc2 > > > opcode = 0x28 > > > register = 0x1 > > > pc = 0xfffffc00004c732c > > > ra = 0xfffffc00004c7598 > > > sp = 0xfffffe001a35dbd0 > > > curthread = 0xfffffc003eac1500 > > > pid = 2, comm = g_event > > > > > >[thread pid 2 tid 100003 ] > > >Stopped at is_pmbr+0x4c: and t0,#0xff,t0 > > > > > >db> > > > > The only alignment sensitive statement in is_pmbr() (in file geom_gpt.c) > > is a 16-bit load from an address that is guaranteed to be aligned by > > virtue of alignment guarantees of malloc(3) and kernel equivalents. > > The faulting VA is in fact sufficiently aligned for a 16-bit load. > > > > Could you post the assembly of is_pmbr(). It might be bad code. > > Well, I tried multiple things in the meantime. 'dd' of /dev/zero onto > this SCSI disk stopped the panic alright. Unfortunately sysinstall > does not allow it to be partitioned/newfs-ed (??). Old bug in sysinstall/libdisk from when GEOM came in and it all had to be rewritten that hasn't been fixed yet. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org