Re: 2.6.21-rc6-mm1 USB related boot hang

From: Helge Hafting
Date: Thu Apr 12 2007 - 15:03:46 EST


On Thu, Apr 12, 2007 at 09:47:47AM -0700, Andrew Morton wrote:
> On Thu, 12 Apr 2007 13:42:57 +0200 Helge Hafting <helge.hafting@xxxxxxxxxxxxx> wrote:
>
> > Jiri Kosina wrote:
> > > On Thu, 12 Apr 2007, Jiri Kosina wrote:
> > >
> > >
> > >> Could you please
> > >> - try booting without any HID devices plugged in (i.e. usb mice, usb
> > >> keyboards) if the problem persists?
> > >> - recompile 2.6.21-rc6-mm1 with git-hid.patch reverted to see if it helps?
> > >>
> > >
> > > Do you compile with CONFIG_HIDRAW?
> > >
> > No, that one is not set.
> >
> > I did use the new SLUB thing - could that possibly be the cause?
>
> yup.

Went back to SLAB, got a compile error. Did a make clean
and compiled again. Got some warnings:

LD vmlinux
SYSMAP System.map
SYSMAP .tmp_System.map
MODPOST vmlinux
WARNING: init/built-in.o - Section mismatch: reference to
.init.text:kernel_init
from .text.rest_init after 'rest_init' (at offset 0xe)
WARNING: mm/built-in.o - Section mismatch: reference to .init.text: from
.text.k
mem_cache_create after 'kmem_cache_create' (at offset 0x40b)
WARNING: mm/built-in.o - Section mismatch: reference to .init.text: from
.text.k
mem_cache_create after 'kmem_cache_create' (at offset 0x568)
AS arch/x86_64/boot/bootsect.o
LD arch/x86_64/boot/bootsect
AS arch/x86_64/boot/setup.o
LD arch/x86_64/boot/setup
AS arch/x86_64/boot/compressed/head.o
CC arch/x86_64/boot/compressed/misc.o
OBJCOPY arch/x86_64/boot/compressed/vmlinux.bin
GZIP arch/x86_64/boot/compressed/vmlinux.bin.gz
LD arch/x86_64/boot/compressed/piggy.o
LD arch/x86_64/boot/compressed/vmlinux
OBJCOPY arch/x86_64/boot/vmlinux.bin
HOSTCC arch/x86_64/boot/tools/build
BUILD arch/x86_64/boot/bzImage
Root device is (8, 49)
Boot sector 512 bytes.
Setup is 7302 bytes.
System is 3075 kB
Kernel: arch/x86_64/boot/bzImage is ready (#11)


Then I booted this - and it hung exactly the same way.

I thought SLUB was reasonbably safe, it is new but not marked experimental.

Helge Hafting
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/