From owner-freebsd-alpha Thu Oct 26 13:33:57 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id A524037B479; Thu, 26 Oct 2000 13:33:54 -0700 (PDT) Received: from laptop.baldwin.cx (ether.osd.bsdi.com [204.216.28.196]) by pike.osd.bsdi.com (8.11.0/8.9.3) with ESMTP id e9QKX7f50135; Thu, 26 Oct 2000 13:33:07 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Thu, 26 Oct 2000 13:33:55 -0700 (PDT) From: John Baldwin To: Doug Rabson Subject: RE: cvs commit: src/sys/boot/alpha/common main.c src/sys/boot/al Cc: alpha@FreeBSD.org, Doug Rabson Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 26-Oct-00 Doug Rabson wrote: > This looks ok (mine is 7400 bytes too). Try 'disklabel -B /dev/da0c'. No go on the disklabel. :( Hmm, This may be a problem that I'm having with the isp0 driver (I think only with SMPng): Waiting 5 seconds for SCSI devices to settle isp0: 0.0 get user period 0xc offset 0x8 flags 0xfd00 isp0: 0.0 get current period 0x19 offset 0x0 flags 0xc500 isp0: 0.0 set current period 0xc offset 0x8 flags 0xfd00 Mounting root from ufs:/dev/da0a da0 at isp0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device isp0: 0.0 get current period 0xc offset 0x8 flags 0xfd00 da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da0: 4091MB (8380080 512 byte sectors: 255H 63S/T 521C) da0: raw partition size != slice size da0: start 0, end 8380079, size 8380080 da0c: start 0, end 8899736, size 8899737 da0: truncating raw partition Hmm, lemme try changing to a normal 15 second delay for the SCSI bus probe.. Well, the default SCSI_DELAY of 2 seconds caused my kernel to panic in swi1: net during dhclient. :-/ Forcing the delay to 15 seconds gives me a kernel that doesn't give the weird da0 partition error messages and also allows me to use disklabel on da0 now. With the new kernel and new boot1, I can now boot a current loader. Yay! >> 000000002000a060 T memsize >> 000000002000a060 t gcc2_compiled. >> 000000002000a0c0 T extend_heap >> 000000002000a160 T main >> >> Looks like it is dying right at the beginning of extend_heap: >> >> 000000002000a0c0 : >> 2000a0c0: 00 10 3f 24 ldah t0,4096(zero) >> 2000a0c4: 04 04 ff 47 clr t3 >> 2000a0c8: c8 00 41 a4 ldq t1,200(t0) >> 2000a0cc: 02 04 41 40 addq t1,t0,t1 >> >> Hope this helps... > > Can you disassemble to see what boot1 loaded at this address: > > >>>e -d -virtual -n 16 200a0c0 Umm. Looks bad. :( vmem: 2000A0C0 00000000 HALT vmem: 2000A0C4 00000000 HALT .... vmem: 2000A118 00000000 HALT > [Got to love SRM for debugging - try doing this on a PC]. Anything is better than a PC for debugging. :) -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message