Bug 163751 - fc2 crashes due to delay.h bug
fc2 crashes due to delay.h bug
Product: Fedora Legacy
Classification: Retired
Component: kernel (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Fedora Legacy Bugs
Depends On:
  Show dependency treegraph
Reported: 2005-07-20 16:05 EDT by deepfreeze
Modified: 2007-04-18 13:29 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-07-26 01:36:56 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description deepfreeze 2005-07-20 16:05:11 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; T312461)

Description of problem:
./include/linux/delay.h of the kernel source causes FC2 under i386/amd athlon/others? to crash (in the compiled/running kernel) after changing the .config HZ value (make menuconfig) to a power of 2 (e.g. 4096).

changing line 31 (in mdelay)
from:   unsigned long __ms=(n);
to:     unsigned long __ms=((n*5)>>2);

should fix the problem.

Note: this problem came up during kernel development and requires several other source code changes to reproduce.  

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. see Note in description
2. try higher power of 2 .config HZ values
3. easier to discover with GL apps (e.g. NVIDIA/quake arena)

Additional info:
Comment 1 Dave Jones 2005-07-25 20:04:55 EDT
I imagine the legacy folks reaction to this will likely be "don't do that then",
or "if you change something, you get to fix the fallout", but reassigning anyway..
Comment 2 Pekka Savola 2005-07-26 01:36:56 EDT
Yeah.. :-(  We definitely don't have resources to fix this bug as it doesn't
appear in default installs and isn't security-related, so closing as WONTFIX.

Note You need to log in before you can comment on or make changes to this bug.