Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 2007 23:06:47 +0800
From:      Ariff Abdullah <ariff@FreeBSD.org>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: APIC problem
Message-ID:  <20070207230647.20ceef7c.ariff@FreeBSD.org>
In-Reply-To: <200702071553.56525.hselasky@c2i.net>
References:  <200702061217.36453.hselasky@c2i.net> <200702071014.01442.hselasky@c2i.net> <20070207182017.3a35c22a.ariff@FreeBSD.org> <200702071553.56525.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Wed__7_Feb_2007_23_06_47_+0800_A6xj5+GoZjX7lFoV
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, 7 Feb 2007 15:53:56 +0100
Hans Petter Selasky <hselasky@c2i.net> wrote:
> On Wednesday 07 February 2007 11:20, Ariff Abdullah wrote:
> > On Wed, 7 Feb 2007 10:14:01 +0100
> >
> > Hans Petter Selasky <hselasky@c2i.net> wrote:
> > > On Wednesday 07 February 2007 10:03, Abdullah Ibn Hamad Al-Marri
> > >
> > > wrote:
> > > > On 2/7/07, Hans Petter Selasky <hselasky@c2i.net> wrote:
> > > > > On Tuesday 06 February 2007 16:38, John Baldwin wrote:
> > > > > > On Tuesday 06 February 2007 06:17, Hans Petter Selasky
> > > > > > wrote:
> > > > > > > Hi,
> > > > > > >
> > > > > > > I have some problems with a HP pavillion dv2000 laptop.
> > > > > > > I need to use the following hint to make it work:
> > > > > > >
> > > > > > > hint.apic.0.disabled=3D"1"
> > > > > > >
> > > > > > > I have currently tested it with FreeSBIE 2.0 (FreeBSD
> > > > > > > 6.2) and it freezes after the kernel has loaded. I tried
> > > > > > > to break into the debugger, but with no success.
> > > > > >
> > > > > > What if you do 'kern.smp.disabled=3D1' but leave APIC
> > > > > > enabled? Also, does it work ok if you disable just ACPI?=20
> > > > > > (Does it use APIC in that case, some machines don't.)
> > > > >
> > > > > I downloaded the following image, hence it has KDB built in:
> > > > > 7.0-CURRENT-200702-i386-bootonly.iso
> > > > >
> > > > > I've tried with and without SMP and it is the same.
> > > > >
> > > > > If I disable ACPI, then I get a "trap 9: general protection
> > > > > fault while in kernel mode" just after that "nve0" has been
> > > > > initialized.
> > > > >
> > > > > Instruction pointer: 0x70:0xffff
> > > > > stack pointer: 0x28:0xfd0
> > > > > frame pointer: 0x28:0xf65
> > > > > current process =3D 0 (swapper)
> > > > >
> > > > > >bt
> > > > >
> > > > > MAXCPU(....)
> > > > >
> > > > > When I type in "show intrcnt" in the debugger everything
> > > > > looks ok to me. No extremely high interrupt counts.
> > > > >
> > > > > What I can add to the description of this laptop is that it
> > > > > has Windows XP installed on the HDD. And not long ago it
> > > > > didn't want to boot anymore, so I had to do a "destructive
> > > > > system recovery". I've also noticed that if I don't use the
> > > > > "ESC" key during boot, to get the boot-selection menu, but
> > > > > just let the system auto-boot, many times the FreeBSD 7.0
> > > > > ISO CD will fail with a corrupt symbol table, when it is
> > > > > loading the kernel. I don't believe it. Can it be that
> > > > > something resistant has attached to some interrupt vectors?
> > > > > Is there an easy way I can find out what is using up all the
> > > > > CPU from the debugger. I tried "ps", but it doesn't show the
> > > > > CPU usage per thread.
> > > > >
> > > > > Thanks,
> > > > > --HPS
> > > >
> > > > Could you disable the nve card in the bios? I see same report
> > > > from a Toshiba user regarding the nve ethernet card.
> > >
> > > That's not possible. No such option. :-(
> >
> > Search the archives for "idle_cpu".
>=20
> In the loader conf I did:
>=20
> load /boot/kernel/acpi.ko
> set machdep.cpu_idle_hlt=3D0
>=20
> This made the FreeBSD 7.0-CURRENT CD work. But on the other hand the
> fan is  now spinning, indicating that the CPU is not sleeping like
> it should.
>=20
> Do you see what the problem is?
>=20
Yes, that is why I _asked_ you to search the archives for "idle_cpu".
There is a __workaround__ patch for releng6, and you probably need to
hack it around to make it fit with -current.


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
    and confusing for us idiot ***** users :P ........

--Signature=_Wed__7_Feb_2007_23_06_47_+0800_A6xj5+GoZjX7lFoV
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFFyesLlr+deMUwTNoRAsmgAKCv5/PwLwwmhLpC+TrIc9UlGVNPggCgtQA2
u0Rp4cUqW9fUW50Pdmi71qA=
=Tn6d
-----END PGP SIGNATURE-----

--Signature=_Wed__7_Feb_2007_23_06_47_+0800_A6xj5+GoZjX7lFoV--



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