Safe-mode on amd64 broken

David Naylor naylor.b.david at gmail.com
Thu Sep 30 05:55:56 UTC 2010


On Thursday 30 September 2010 07:23:34 Alexander Motin wrote:
> David Naylor wrote:
> > On Wednesday 29 September 2010 18:25:13 Alexander Motin wrote:
> >> David Naylor wrote:
> >>> On Wednesday 29 September 2010 16:19:08 Andriy Gapon wrote:
> >>>> What do you try to actually achieve?
> >>> 
> >>> I was trying to boot a system and it was panicking due to stray
> >>> interrupts. It turned out to be caused by HPET.  I found
> >>> `hint.hpet.0.clock=0' which fixed the problem.
> >>> 
> >>> This means HPET does not work on any of my machines.  The other one's
> >>> symptoms are hda losing interrupts after a period of up-time.
> >> 
> >> What chipset do you use? Nvidia MCP5x? Could you send me your verbose
> >> dmesg?
> > 
> > Yes, the one is a MCP51, the other is a ICH8M.
> > 
> > The desktop is a Gigabyte N650SLI-DS4L.  Its symptom is hda losing
> > interrupts after a period of time.
> 
> There are too many reports about different lost interrupts problems on
> different controllers of MCP5x. I don't know the reason. Attached patch
> should disable using regular HPET interrupts on NVidia chipsets. I hope
> it will work as workaround. May be it is too aggressive, but better to
> be safe then sorry. I assume that legacy_route mode may still work fine
> there. It would be nice to test it.

I assume you mean hint.hpet.0.legacy_route=1?  I'll give that a try later 
today on both machines.  

Is your patch the same as hint.hpet.0.clock=0?  

> > The laptop is a Acer 2920.  Its symptom for a GENERIC is a panic saying
> > stray interrupt (irq7), with a custom kernel booting stalls.
> 
> This is strange, as my Acer with the same ICH8M works fine in all
> possible modes. Also IMHO stray interrupts are not a reason to panic.
> Could you show what it looks like?

See http://markmail.org/message/smxnofrdmmkxyvnd for my previous email that 
includes the backtrace from that panic.  When I booted in i386 safe mode the 
kernel reported stray interrupts on irq7.  vmstat -i shows irq7 as "stray 
irq7".  

Is there anything else you are looking for?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20100930/ea042b0f/attachment.pgp


More information about the freebsd-current mailing list