Bug 9942 - Can't boot AMD64 X2 with Fair group CPU scheduler enabled
Summary: Can't boot AMD64 X2 with Fair group CPU scheduler enabled
Status: CLOSED INVALID
Alias: None
Product: Process Management
Classification: Unclassified
Component: Scheduler (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Ingo Molnar
URL:
Keywords:
Depends on:
Blocks: 9832
  Show dependency tree
 
Reported: 2008-02-12 08:13 UTC by Francois Cartegnie
Modified: 2008-02-13 15:50 UTC (History)
5 users (show)

See Also:
Kernel Version: 2.6.24
Tree: Mainline
Regression: Yes


Attachments

Description Francois Cartegnie 2008-02-12 08:13:54 UTC
Latest working kernel version:2.6.22.1

Distribution:Mandriva/TMB

Hardware Environment:AMD X2 64 / MCP
Software Environment:
Problem Description:
Can't boot with FAIR_GROUP_SCHED=Y

Boot stops after cpu/group allocation. Last line is:
net_namespace size 120 bytes
Comment 1 Andrew Morton 2008-02-12 11:54:15 UTC
OK, the fact that toggling FAIR_GROUP_SCHED affects it is pretty convincing.

I'm confused about the "net_namespace size 120 bytes" message.  As
far as I can tell the string "net_namespace" does not occur anywhere
in the kernel source.  Where did it come from??

Can you please add the parameter initcall_debug to the kernel boot
command line?  That might tell us more about where it is hanging.

Thanks.
Comment 2 Francois Cartegnie 2008-02-12 14:14:43 UTC
When removing FAIR_GROUP_SCHED, the net_namespace doesn't show up.

googling a bit shows it's related to Network init:
http://www.google.com/search?q=net_namespace+120+bytes&ie=utf-8&oe=utf-8&aq=t&rls=com.mandriva:en-US:official&client=firefox-a

I got it in my kernel at:
./net/core/net_namespace.c #169
Not sure it comes from a 3rd party extension.

I don't have serial port for console logging. So here's the picture:
http://dl.free.fr/iN87PZzZn/snv32453.jpg
Comment 3 Andrew Morton 2008-02-12 14:27:46 UTC
So from that output it seems that the machine hung in ksysfs_init().

Greg, Kay: I have a vague idea that this has been reported
before.  Does it look familiar?

Thanks.
Comment 4 Greg Kroah-Hartman 2008-02-12 20:45:57 UTC
No, I've not heard this one before.  Perhaps it's something to do with Eric's namespace changes?
Comment 5 Andrew Morton 2008-02-12 20:57:11 UTC
but the machine seems to have hung in ksysfs_init()?

Francois, this sounds like something we'll need to bisect, if you have the time.  There are some instructions at http://www.kernel.org/doc/local/git-quick.html

Rafael, could you please keep an eye on this one for inclusion in the regressions list?

Thanks.
Comment 6 Francois Cartegnie 2008-02-13 07:09:53 UTC
After bisecting many reboots, I couldn't make it hang.
Stock kernel 2.6.25rc1 and 2.6.24.2 works.
I wasn't able to find differences between the releases ./net/ directories.
Anyway, the packaged kernel config shows difference in accepted config options, so they may have been custom patchs anyway.
Marking as invalid here and moving bu to packager's bugzilla.
Thanks

3,4c3,4
< # Linux kernel version: 2.6.24
< # Wed Feb 13 16:08:40 2008
---
> # Linux kernel version: 2.6.24-2mdvtmbcustom_bug
> # Tue Feb 12 22:54:05 2008
197a198
> # CONFIG_I8K is not set
201a203
> CONFIG_BADRAM=y
261a264
> CONFIG_ACPI_CUSTOM_DSDT_INITRD=y
530a534
> CONFIG_IP_NF_MATCH_PSD=m
560a565
> CONFIG_IP_NF_TARGET_IFWLOG=m
564a570
> # CONFIG_IP_NF_SET is not set
1241a1248
> # CONFIG_DM_RAID45 is not set
1498a1506
> # CONFIG_NOZOMI is not set
1895a1904
> # CONFIG_SND_OXYGEN is not set
1931a1941
> # CONFIG_SND_HIFIER is not set
1948a1959
> # CONFIG_SND_VIRTUOSO is not set
1970a1982,1985
> # ALSA SoC audio for Freescale SOCs
> #
>
> #
2212a2228
> # CONFIG_REISER4_FS is not set
2286a2303,2308
> # Layered filesystems
> #
> CONFIG_ECRYPT_FS=m
> # CONFIG_UNION_FS is not set
>
> #
2292d2313
< CONFIG_ECRYPT_FS=m
2312a2334,2336
> CONFIG_SQUASHFS=m
> # CONFIG_SQUASHFS_EMBEDDED is not set
> CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
2529a2554
> CONFIG_CRYPTO_LZF=y
2559a2585,2597
>
> #
> # Unofficial 3rd party kernel additions
> #
> # CONFIG_DRBD is not set
> # CONFIG_IPW3945 is not set
> # CONFIG_ACERHK is not set
> # CONFIG_VIAHSS is not set
> # CONFIG_ACER_ACPI is not set
> # CONFIG_UVC is not set
> CONFIG_QC_USB=m
> CONFIG_NDISWRAPPER=m
> # CONFIG_FSC_BTNS is not set

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