P4 HT with SMP kernel, FreeBSD 5.2.1-p4 problem

Xin LI delphij at frontfree.net
Fri Apr 2 06:20:23 PST 2004

This is a "me too" post, and I think current@ is more appropriate
so I redirected this to current@ instead of hackers at .

I have a computer with the following hardware configuration:
Intel D865GBF, Pentium 4 2.8-E, 512MB DDR *2, 40GB PATA

And I have same problem you have with CURRENT code when having HT
enabled. Additionally, I was unable to produce a useful backtrace,
as the core dumps generated shows addresses like 0xc078dbf6 and
no symbols associated with it.

A hang could be triggered by the following process:
	o Start with boot -vs
	o fsck -fy
	o Go to multiuser mode
	o Run cvsup, and press Ctrl+Alt+Del
You will likely to get the box hanged there after vulru stopped.

A second panic, which is more strange, appears to be possibly triggered
by the following process:
	o Right after the system hangs, reset it
	o boot directly to multiuser mode, and login as root
	o killall sleep - this will start bgfsck immediately
	o then, press Ctrl+Alt+Del
Strangely, this often causes a double panic and the panic message
seemed to be messy, looks like that the two logical CPUs are intending
to output panic message in the same time and the message appears to
be a mixture of them.

Another case is to panic somewhere at ffs_balloc with kernel trap 12.

Unfortunatelly, the core dumps produced by these panic appears to have
damaged call stacks, as only dumpadd could be resolved and all other
addresses are resolved to "??" so I don't think they are useful here.
Because the box is intending to be serving as a production mail server
it will not be acceptable to reboot it remotely and try a untested new
kernel, but if someone has some idea I can help do some tests when I
am at work, on that computer.

Personally, I guess there might exist a problem which is lock/mutex
related. Being lack of time I have disabled HTT support as a work around,
and of course, any help would be appreciated, for example, to let it
possible to produce a useful crashdump :-)

Not sure if this is BIOS related (I don't believe so, though), I have
tried both version P10 and P14 on the motherboard.

More information available up on request. Thanks in advance!

On Thu, Apr 01, 2004 at 10:17:20PM +0300, Claudiu Dragalina-Paraipan wrote:
> Delivered-To: freebsd-hackers at freebsd.org
> Date: Thu, 01 Apr 2004 22:17:20 +0300
> From: Claudiu Dragalina-Paraipan <clau at reversedhell.net>
> User-Agent: Mozilla Thunderbird 0.5 (X11/20040301)
> To: freebsd-hackers at freebsd.org
> Subject: P4 HT with SMP kernel, FreeBSD 5.2.1-p4 problem
> X-BeenThere: freebsd-hackers at freebsd.org
> Hello,
> I have a Pentium 4 2.8E (with HT), and an Intel 865GBF motherboard.
> After I made a bios upgrade I have this problem with it: every time I do 
> a reboot or a shutdown the kernel hangs. Sometimes it gives a specific 
> error message, sometimes the last lines of text are garbage, and rarely 
> it just resets before it should.
> Seems that it happens before the file system is unmounted, because every 
> next boot I have problems with it. Until now I didn't lose any important 
> file, but I assume that this can happen giving this situation.
> Also, this does not happen if I compile a kernel without SMP support, or 
> if I disable HT from bios (with SMP or not).
> Running a kernel with INVARIANTS and WITNESS seems to fix this problem too.
> I have attached a dmesg result after a boot -v.
> Please let me know what other informations you need for solving this 
> situation.

Xin LI <delphij frontfree net>	http://www.delphij.net/
See complete headers for GPG key and other information.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040402/410447ec/attachment-0001.bin

More information about the freebsd-current mailing list