Skip to contentSkip to conversation

2.6.22-rc2 BUG: at include/linux/slub_def.h:77 kmalloc_index()

DISCUSSION Soeren Sonnenburg 3 participants 8 messages May 21, 2007

lore
Share & tools
lore
#0 lore raw

a regression (well I switched to slub) happens on boot...

...
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1d.3 to 64 uhci_hcd 0000:00:1d.3: UHCI Host Controller
uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5 uhci_hcd 0000:00:1d.3: irq 16, io base 0x00004040
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
usb 1-4: new high speed USB device using ehci_hcd and address 3

BUG: at include/linux/slub_def.h:77 kmalloc_index()
 [<c0176448>] get_slab+0x1c8/0x250
 [<c02f18f4>] usb_get_configuration+0x854/0xfa0
 [<c01778ec>] __kmalloc_track_caller+0x1c/0x80
 [<c0162e2a>] __kzalloc+0x1a/0x50
 [<c02f18f4>] usb_get_configuration+0x854/0xfa0
 [<c02ee560>] usb_start_wait_urb+0x70/0xb0
 [<c02e9250>] hub_port_init+0x90/0x5f0
 [<c02ea2e4>] usb_new_device+0x14/0x100
 [<c02eae2b>] hub_thread+0x5ab/0xc30
 [<c013f710>] autoremove_wake_function+0x0/0x50
 [<c02ea880>] hub_thread+0x0/0xc30
 [<c013f432>] kthread+0x42/0x70
 [<c013f3f0>] kthread+0x0/0x70
 [<c0104df3>] kernel_thread_helper+0x7/0x14
 =======================

usb 1-4: configuration #1 chosen from 1 choice
usb 2-2: new full speed USB device using uhci_hcd and address 2 usb 2-2: configuration #1 chosen from 1 choice
usb 4-2: new full speed USB device using uhci_hcd and address 2
...

Signature · 2 lines
Sometimes, there's a moment as you're waking, when you become aware of
the real world around you, but you're still dreaming.
#1 lore raw

Soeren Sonnenburg napsal(a):

Quoted 30 lines

a regression (well I switched to slub) happens on boot...

...
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1d.3 to 64 uhci_hcd 0000:00:1d.3: UHCI Host Controller
uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5 uhci_hcd 0000:00:1d.3: irq 16, io base 0x00004040
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
usb 1-4: new high speed USB device using ehci_hcd and address 3

BUG: at include/linux/slub_def.h:77 kmalloc_index()
 [<c0176448>] get_slab+0x1c8/0x250
 [<c02f18f4>] usb_get_configuration+0x854/0xfa0
 [<c01778ec>] __kmalloc_track_caller+0x1c/0x80
 [<c0162e2a>] __kzalloc+0x1a/0x50
 [<c02f18f4>] usb_get_configuration+0x854/0xfa0
 [<c02ee560>] usb_start_wait_urb+0x70/0xb0
 [<c02e9250>] hub_port_init+0x90/0x5f0
 [<c02ea2e4>] usb_new_device+0x14/0x100
 [<c02eae2b>] hub_thread+0x5ab/0xc30
 [<c013f710>] autoremove_wake_function+0x0/0x50
 [<c02ea880>] hub_thread+0x0/0xc30
 [<c013f432>] kthread+0x42/0x70
 [<c013f3f0>] kthread+0x0/0x70
 [<c0104df3>] kernel_thread_helper+0x7/0x14
 =======================
Quoted 5 lines

usb 1-4: configuration #1 chosen from 1 choice
usb 2-2: new full speed USB device using uhci_hcd and address 2 usb 2-2: configuration #1 chosen from 1 choice
usb 4-2: new full speed USB device using uhci_hcd and address 2
...

Could you try this patch:
http://lkml.org/lkml/2007/5/19/171

thanks,

Signature · 4 lines
http://www.fi.muni.cz/~xslaby/            Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8  22A0 32CC 55C3 39D4 7A7E
#2 lore raw
Quoted 5 lines · Jiri Slaby

Soeren Sonnenburg napsal(a):

Quoted 4 lines

a regression (well I switched to slub) happens on boot...

BUG: at include/linux/slub_def.h:77 kmalloc_index()
 [<c0176448>] get_slab+0x1c8/0x250

[...]

Quoted 2 lines

Could you try this patch:
http://lkml.org/lkml/2007/5/19/171

yes, that does fix the issue (at least I don't see the BUG: anymore on boot). however I can no longer s2ram on 22rc2.

Soeren

Signature · 2 lines
Sometimes, there's a moment as you're waking, when you become aware of
the real world around you, but you're still dreaming.
#3 lore raw

Can't s2ram 22-rc2 [Was: 2.6.22-rc2 BUG: at slub_def.h:77]

Played with Cc list.

Soeren Sonnenburg napsal(a):

Quoted 12 lines · Jiri Slaby
Quoted 5 lines

Soeren Sonnenburg napsal(a):

Quoted 4 lines

a regression (well I switched to slub) happens on boot...

BUG: at include/linux/slub_def.h:77 kmalloc_index()
 [<c0176448>] get_slab+0x1c8/0x250

[...]

Quoted 2 lines

Could you try this patch:
http://lkml.org/lkml/2007/5/19/171

yes, that does fix the issue (at least I don't see the BUG: anymore on boot). however I can no longer s2ram on 22rc2.

Whit what kind of error or what happens?

regards,

Signature · 4 lines
http://www.fi.muni.cz/~xslaby/            Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8  22A0 32CC 55C3 39D4 7A7E
#4 lore raw

Re: Can't s2ram 22-rc2 [Was: 2.6.22-rc2 BUG: at slub_def.h:77]

Quoted 9 lines · Jiri Slaby

Played with Cc list.

Soeren Sonnenburg napsal(a):

Quoted 6 lines · Jiri Slaby
Quoted 5 lines

Soeren Sonnenburg napsal(a):

Quoted 4 lines

a regression (well I switched to slub) happens on boot...

BUG: at include/linux/slub_def.h:77 kmalloc_index()
 [<c0176448>] get_slab+0x1c8/0x250
Quoted 8 lines
Quoted 6 lines

[...]

Quoted 2 lines

Could you try this patch:
http://lkml.org/lkml/2007/5/19/171

yes, that does fix the issue (at least I don't see the BUG: anymore on boot). however I can no longer s2ram on 22rc2.

Whit what kind of error or what happens?

pci_device_suspend(): usb_hcd_pci_suspend+0x0/0x170() returns -16 suspend_device(): pci_device_suspend+0x0/0x60() returns -16 Could not suspend device 0000:00:1d.0: error -16

00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)

lspci/dmesg are in this mail:
http://marc.info/?l=linux-kernel&m=117973679209855&w=2

Soeren

Signature · 2 lines
Sometimes, there's a moment as you're waking, when you become aware of
the real world around you, but you're still dreaming.
#5 lore raw

Re: Can't s2ram 22-rc2 [Was: 2.6.22-rc2 BUG: at slub_def.h:77]

In reply to Jiri Slaby
Quoted 9 lines · Jiri Slaby

Played with Cc list.

Soeren Sonnenburg napsal(a):

Quoted 6 lines · Jiri Slaby
Quoted 5 lines

Soeren Sonnenburg napsal(a):

Quoted 4 lines

a regression (well I switched to slub) happens on boot...

BUG: at include/linux/slub_def.h:77 kmalloc_index()
 [<c0176448>] get_slab+0x1c8/0x250
Quoted 8 lines
Quoted 6 lines

[...]

Quoted 2 lines

Could you try this patch:
http://lkml.org/lkml/2007/5/19/171

yes, that does fix the issue (at least I don't see the BUG: anymore on boot). however I can no longer s2ram on 22rc2.

Whit what kind of error or what happens?

pci_device_suspend(): usb_hcd_pci_suspend+0x0/0x170() returns -16 suspend_device(): pci_device_suspend+0x0/0x60() returns -16 Could not suspend device 0000:00:1d.0: error -16

00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)

lspci/dmesg are in this mail:
http://marc.info/?l=linux-kernel&m=117973679209855&w=2

Soeren

Signature · 2 lines
Sometimes, there's a moment as you're waking, when you become aware of
the real world around you, but you're still dreaming.
#6 lore raw

Re: Can't s2ram 22-rc2 [Was: 2.6.22-rc2 BUG: at slub_def.h:77]

Quoted 19 lines · Soeren Sonnenburg
Quoted 9 lines · Jiri Slaby

Played with Cc list.

Soeren Sonnenburg napsal(a):

Quoted 6 lines · Jiri Slaby
Quoted 5 lines

Soeren Sonnenburg napsal(a):

Quoted 4 lines

a regression (well I switched to slub) happens on boot...

BUG: at include/linux/slub_def.h:77 kmalloc_index()
 [<c0176448>] get_slab+0x1c8/0x250
Quoted 8 lines
Quoted 6 lines

[...]

Quoted 2 lines

Could you try this patch:
http://lkml.org/lkml/2007/5/19/171

yes, that does fix the issue (at least I don't see the BUG: anymore on boot). however I can no longer s2ram on 22rc2.

Whit what kind of error or what happens?

Quoted 8 lines

pci_device_suspend(): usb_hcd_pci_suspend+0x0/0x170() returns -16 suspend_device(): pci_device_suspend+0x0/0x60() returns -16 Could not suspend device 0000:00:1d.0: error -16

00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)

lspci/dmesg are in this mail:
http://marc.info/?l=linux-kernel&m=117973679209855&w=2

Well, I think Alan should have a look at this too.

Greetings,
Rafael

#7 lore raw

Re: Can't s2ram 22-rc2 [Was: 2.6.22-rc2 BUG: at slub_def.h:77]

In reply to Soeren Sonnenburg
Quoted 19 lines · Soeren Sonnenburg
Quoted 9 lines · Jiri Slaby

Played with Cc list.

Soeren Sonnenburg napsal(a):

Quoted 6 lines · Jiri Slaby
Quoted 5 lines

Soeren Sonnenburg napsal(a):

Quoted 4 lines

a regression (well I switched to slub) happens on boot...

BUG: at include/linux/slub_def.h:77 kmalloc_index()
 [<c0176448>] get_slab+0x1c8/0x250
Quoted 8 lines
Quoted 6 lines

[...]

Quoted 2 lines

Could you try this patch:
http://lkml.org/lkml/2007/5/19/171

yes, that does fix the issue (at least I don't see the BUG: anymore on boot). however I can no longer s2ram on 22rc2.

Whit what kind of error or what happens?

Quoted 8 lines

pci_device_suspend(): usb_hcd_pci_suspend+0x0/0x170() returns -16 suspend_device(): pci_device_suspend+0x0/0x60() returns -16 Could not suspend device 0000:00:1d.0: error -16

00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)

lspci/dmesg are in this mail:
http://marc.info/?l=linux-kernel&m=117973679209855&w=2

Well, I think Alan should have a look at this too.

Greetings,
Rafael