Date: Wed, 27 Apr 2005 12:04:59 -0700 From: Marcel Moolenaar <marcel@xcllnt.net> To: Royce Williams <royce@alaska.net> Cc: kensmith@freebsd.org Subject: Re: 5.4-RCx "jumping to kernel entry" hang on Ultra1/2/30 Message-ID: <20050427190459.GC41874@ns1.xcllnt.net> In-Reply-To: <Pine.SOC.4.61.0504270648130.20306@terminator.alaska.net> References: <Pine.SOC.4.61.0504270648130.20306@terminator.alaska.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Apr 27, 2005 at 07:08:52AM -0800, Royce Williams wrote: > > On Sun, 17 Apr 2005, IX@pandora.be wrote: > > > > > >On Thu, 14 Apr 2005, Gheorghe Ardelean wrote: > > > >>Hi, > >> > >>While trying to boot a plain U1 from a disk installed with > >>5.4-RC2 > >>(the disk was installed in a U5) the systems hangs just > >>after entering the kernel. > > > > > >I see the same hang on an ultra2, booting from the 5.4RC2 > >bootonly iso. I don't know what details I need to provide. > >If it's useful, I can send a NetBSD dmesg output. > > > >Kind regards, > >dieter > > > This is happening to me too, 5.4-RC3 disc 1, Ultra 30. I can't > recreate using 5.2.1R or 5.3R disc 1 ISOs. This is now reportedly > happening to three different people with three different models. Is > there a boot-only ISO with full debugging/verbosity available? I think I have a fix for it, but it needs to be verified that to really solves the problem before I run off to re@ and shout: "stop the presses!" The patch is attached. I just don't know a good way (short of creating a patched-up 5.4-RC install ISO for people to try it. Ken: did you build 5.4-RC3 for sparc64 and if yes do you still have the $CHROOTDIR around? -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="uart-z8530.diff" Index: uart_dev_z8530.c =================================================================== RCS file: /home/ncvs/src/sys/dev/uart/uart_dev_z8530.c,v retrieving revision 1.11 diff -u -r1.11 uart_dev_z8530.c --- uart_dev_z8530.c 30 Jan 2005 09:00:50 -0000 1.11 +++ uart_dev_z8530.c 20 Apr 2005 21:31:45 -0000 @@ -213,7 +213,7 @@ z8530_putc(struct uart_bas *bas, int c) { - while (!(uart_getmreg(bas, RR_BES) & BES_TXE)) + while (!(uart_getreg(bas, REG_CTRL) & BES_TXE)) ; uart_setreg(bas, REG_DATA, c); uart_barrier(bas); @@ -223,7 +223,7 @@ z8530_poll(struct uart_bas *bas) { - if (!(uart_getmreg(bas, RR_BES) & BES_RXA)) + if (!(uart_getreg(bas, REG_CTRL) & BES_RXA)) return (-1); return (uart_getreg(bas, REG_DATA)); } @@ -232,7 +232,7 @@ z8530_getc(struct uart_bas *bas) { - while (!(uart_getmreg(bas, RR_BES) & BES_RXA)) + while (!(uart_getreg(bas, REG_CTRL) & BES_RXA)) ; return (uart_getreg(bas, REG_DATA)); } --45Z9DzgjV8m4Oswq--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050427190459.GC41874>