Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Oct 2007 19:29:12 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Scot Hetzel <swhetzel@gmail.com>
Cc:        Remko Lodder <remko@freebsd.org>, bug-followup@freebsd.org, freebsd-amd64@freebsd.org
Subject:   Re: amd64/105514: FreeBSD/amd64 - Fails to boot on HP Pavilion dv8000 Laptop
Message-ID:  <20071008162912.GQ2180@deviant.kiev.zoral.com.ua>
In-Reply-To: <790a9fff0710061238j691958ceya0a612d916c181d@mail.gmail.com>
References:  <200709240839.l8O8d2iN057144@freefall.freebsd.org> <790a9fff0709240740k2f30cd1dk2742e1312143ab7d@mail.gmail.com> <46F7DA8C.9020208@FreeBSD.org> <790a9fff0710061238j691958ceya0a612d916c181d@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Sat, Oct 06, 2007 at 02:38:59PM -0500, Scot Hetzel wrote:
> On 9/24/07, Remko Lodder <remko@freebsd.org> wrote:
> > Does this occur with recent 7-CURRENT ISO images as well?
> > Does this occur with other images then the AMD64 one? e.g.
> > the I386 one?
> > 
> > Would it be possible for you to see what is going on there?
> > 
> I finally had a chance to retest, and so far FreeBSD is failing to boot with the i386 ISO also.  I have tested several versions:
> 
> 6.1-RELEASE-i386-bootonly.iso
> 6.2-RELEASE-i386-disc1.iso
> 7.0-20070928-SNAP-i386-bootonly.iso
> 
> And they all give me the same error:
> 
> corrupt symbol?
> <loader menu>
> /boot/kernel/acpi.ko text=0x53a80 data=0x23a0+0x184c syms=[0x4+0x8590+0x4+0xb030]
> loading required module 'pci'
> ACPI auto load failed - no such file or directory
> 
> int=00000006  err=00000000  efl=00010086  eip=00459b43
> eax=00459bc9  ebx=00459640  ecx=a0000075  edx=000488a0
> esi=00066254  edi=0005bf7c  ebp=00094484  esp=0009e440
> cs=0008  ds=0010  es=0010  fs=0010  gs=0010  ss=0010
> cs:eip= f0 e8 57 ff ff ff 89 c2-83 f8 ff 75 d8 83 c7 34
>              81 ff e8 38 b8 c0 75 c3-8b 15 b8 0d bb c0 89 d0
> ss:esp= 40 9b 45 00 90 95 00 00-00 00 00 80 75 00 00 a0
>               00 00 00 00 00 00 00 00-00 00 00 00 a0 88 04 00
> BTX Halted
> 
> This was the output of the 7.0-20070928-SNAP-i386-bootonly CD.
> 
> I still get the crash with the FreeBSD/amd64 CD, but the output is unreadable due to it constantly scrolling on the screen.  If I hold hold down the space bar as detailed in the PR, it will boot into sysinstall (7.0-20070928-SNAP-amd64-bootonly.iso)
> 
> I used the 7.0 SNAPs from:
> http://snapshots.us.freebsd.org/snapshots/

I downloaded that image and looked what is located at the eip=00459b43 in
the kernel image. Since low mapping + 0xc0000000 = virt mapping, we shall
be at the 0xc0459b43. It appears that this is the following fragment
of i386/i386/locore.s:

	movl	%cr0,%eax		/* get control word */
	orl	$CR0_PE|CR0_PG,%eax	/* enable paging */
	movl	%eax,%cr0		/* and let's page NOW! */

;;;; IT IS THERE
	pushl	$begin			/* jump to high virtualized address */
	ret

It faults immediately after enabling the paging. Instead of the pushl $begin,
it points to the wrong opcode
	lock call something

Might be, the initial page tables are corrupted somehow ?
As a wild guess, might be A20 line is not turned on properly ?

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHClrYC3+MBN1Mb4gRAmqHAJ4s8FGCnn2lBipZqLqKYGRqyerFHgCg3Log
7BtT/bE7a5s+qRlPAEheqqg=
=koiD
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071008162912.GQ2180>