[Bug 48210] page allocation failure

Kyller Gorgonio kyller at kyllercg.net
Wed Dec 13 00:47:46 UTC 2006


Public bug reported:

I have recently upgraded my notebook from Ubuntu Breezy to Ubuntu Dapper
(final release). I noted that from times to times (about 3 or 4 hours)
my wi-fi card stops working. The it is necessary to deactivated the
interface with ifdown, unload the ndiswrapper module, turn the wi-fi
card off (with fn+F2), turn it on, load the ndiswrapper module and ifup
on the iface.

Looking on the logs I found that it is not a ndiswrapper problems, it is
only a synthome of something else. For every time the wi-fi stops, there
is a sequence similar to the following in the /var/log/messages file.

Note that on this case, mrtg was the application that caused the
failure. However, I found the same with dpkg, swapper, Xorg, totem,
kswapd0 and xmms. I don't believe it is an application bug.

Here is the sequence of the log.


Jun  2 08:28:06 caete gconfd (kyller-5093): Resolved address "xml:readonly:/var/lib/gconf/defaults" to a read-only configuration source at position 4
Jun  2 08:28:13 caete gconfd (kyller-5093): Resolved address "xml:readwrite:/home/kyller/.gconf" to a writable configuration source at position 0
Jun  2 08:43:31 caete kernel: [4295643.953000] dpkg: page allocation failure. order:0, mode:0x0
Jun  2 08:43:31 caete kernel: [4295643.953000]  [__alloc_pages+535/800] __alloc_pages+0x217/0x320
Jun  2 08:43:31 caete kernel: [4295643.953000]  [activate_task+155/224] activate_task+0x9b/0xe0
Jun  2 08:43:31 caete kernel: [4295643.953000]  [__get_free_pages+33/80] __get_free_pages+0x21/0x50
Jun  2 08:43:31 caete kernel: [4295643.953000]  [dma_alloc_coherent+230/336] dma_alloc_coherent+0xe6/0x150
Jun  2 08:43:31 caete kernel: [4295643.953000]  [try_to_wake_up+113/1072] try_to_wake_up+0x71/0x430
Jun  2 08:43:31 caete kernel: [4295643.953000]  [pg0+683317739/1069184000] wrap_alloc_urb+0x13b/0x2c0 [ndiswrapper]
Jun  2 08:43:31 caete kernel: [4295643.953000]  [update_wall_time+26/80] update_wall_time+0x1a/0x50
Jun  2 08:43:31 caete kernel: [4295643.953000]  [pg0+683319616/1069184000] wrap_bulk_or_intr_trans+0xf0/0x270 [ndiswrapper]
Jun  2 08:43:31 caete kernel: [4295643.953000]  [handle_IRQ_event+61/112] handle_IRQ_event+0x3d/0x70
Jun  2 08:43:31 caete kernel: [4295643.953000]  [pg0+683318652/1069184000] wrap_urb_complete+0x8c/0xd0 [ndiswrapper]
Jun  2 08:43:31 caete kernel: [4295643.953000]  [pg0+683323352/1069184000] wrap_submit_irp+0xb8/0xf0 [ndiswrapper]
Jun  2 08:43:31 caete kernel: [4295643.953000]  [pg0+683325226/1069184000] pdoDispatchDeviceControl+0x7a/0xb0 [ndiswrapper]
Jun  2 08:43:31 caete kernel: [4295643.953000]  [pg0+678958051/1069184000] ehci_urb_done+0x93/0xd0 [ehci_hcd]
Jun  2 08:43:31 caete kernel: [4295643.953000]  [pg0+683303129/1069184000] IofCallDriver+0x69/0x80 [ndiswrapper]
Jun  2 08:43:31 caete kernel: [4295643.953000]  [pg0+683303379/1069184000] IofCompleteRequest+0xe3/0x1f0 [ndiswrapper]
Jun  2 08:43:31 caete kernel: [4295643.953000]  [pg0+683318803/1069184000] irp_complete_worker+0x53/0x190 [ndiswrapper]
Jun  2 08:43:31 caete kernel: [4295643.953000]  [pg0+678837545/1069184000] usb_hcd_irq+0x39/0x70 [usbcore]
Jun  2 08:43:31 caete kernel: [4295643.953000]  [tasklet_action+98/208] tasklet_action+0x62/0xd0
Jun  2 08:43:31 caete kernel: [4295643.953000]  [__do_softirq+114/224] __do_softirq+0x72/0xe0
Jun  2 08:43:31 caete kernel: [4295643.953000]  [do_softirq+53/64] do_softirq+0x35/0x40
Jun  2 08:43:31 caete kernel: [4295643.953000]  [irq_exit+69/80] irq_exit+0x45/0x50
Jun  2 08:43:31 caete kernel: [4295643.953000]  [do_IRQ+30/48] do_IRQ+0x1e/0x30
Jun  2 08:43:31 caete kernel: [4295643.953000]  [common_interrupt+26/32] common_interrupt+0x1a/0x20
Jun  2 08:43:31 caete kernel: [4295643.953000]  [_spin_unlock_irqrestore+6/32] _spin_unlock_irqrestore+0x6/0x20
Jun  2 08:43:31 caete kernel: [4295643.953000]  [__alloc_pages+127/800] __alloc_pages+0x7f/0x320
Jun  2 08:43:31 caete kernel: [4295643.953000]  [do_anonymous_page+263/480] do_anonymous_page+0x107/0x1e0
Jun  2 08:43:31 caete kernel: [4295643.953000]  [__handle_mm_fault+555/736] __handle_mm_fault+0x22b/0x2e0
Jun  2 08:43:31 caete kernel: [4295643.953000]  [timer_interrupt+97/176] timer_interrupt+0x61/0xb0
Jun  2 08:43:31 caete kernel: [4295643.953000]  [do_page_fault+315/1598] do_page_fault+0x13b/0x63e
Jun  2 08:43:31 caete kernel: [4295643.953000]  [do_page_fault+0/1598] do_page_fault+0x0/0x63e
Jun  2 08:43:31 caete kernel: [4295643.953000]  [error_code+79/84] error_code+0x4f/0x54
Jun  2 08:43:31 caete kernel: [4295643.953000] Mem-info:
Jun  2 08:43:31 caete kernel: [4295643.953000] DMA per-cpu:
Jun  2 08:43:31 caete kernel: [4295643.953000] cpu 0 hot: low 0, high 0, batch 1 used:0
Jun  2 08:43:31 caete kernel: [4295643.953000] cpu 0 cold: low 0, high 0, batch 1 used:0
Jun  2 08:43:31 caete kernel: [4295643.953000] DMA32 per-cpu: empty
Jun  2 08:43:31 caete kernel: [4295643.953000] Normal per-cpu:
Jun  2 08:43:31 caete kernel: [4295643.953000] cpu 0 hot: low 0, high 186, batch 31 used:34
Jun  2 08:43:31 caete kernel: [4295643.953000] cpu 0 cold: low 0, high 62, batch 15 used:47
Jun  2 08:43:31 caete kernel: [4295643.953000] HighMem per-cpu: empty
Jun  2 08:43:31 caete kernel: [4295643.953000] Free pages:        4056kB (0kB HighMem)
Jun  2 08:43:31 caete kernel: [4295643.953000] Active:108026 inactive:42237 dirty:148 writeback:0 unstable:0 free:1014 slab:6902 mapped:48506 pagetables:447
Jun  2 08:43:31 caete kernel: [4295643.953000] DMA free:2532kB min:80kB low:40kB high:80kB active:8096kB inactive:2164kB present:16384kB pages_scanned:0 all_unreclaimable? no
Jun  2 08:43:31 caete kernel: [4295643.953000] lowmem_reserve[]: 0 0 623 623
Jun  2 08:43:31 caete kernel: [4295643.953000] DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Jun  2 08:43:31 caete kernel: [4295643.953000] lowmem_reserve[]: 0 0 623 623
Jun  2 08:43:31 caete kernel: [4295643.953000] Normal free:1524kB min:3152kB low:1576kB high:3152kB active:424008kB inactive:166784kB present:638784kB pages_scanned:0 all_unreclaimable? no
Jun  2 08:43:31 caete kernel: [4295643.953000] lowmem_reserve[]: 0 0 0 0
Jun  2 08:43:31 caete kernel: [4295643.953000] HighMem free:0kB min:128kB low:32kB high:64kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Jun  2 08:43:31 caete kernel: [4295643.953000] lowmem_reserve[]: 0 0 0 0
Jun  2 08:43:31 caete kernel: [4295643.953000] DMA: 1*4kB 0*8kB 0*16kB 1*32kB 1*64kB 1*128kB 1*256kB 0*512kB 0*1024kB 1*2048kB 0*4096kB = 2532kB
Jun  2 08:43:31 caete kernel: [4295643.953000] DMA32: empty
Jun  2 08:43:31 caete kernel: [4295643.953000] Normal: 1*4kB 0*8kB 1*16kB 1*32kB 1*64kB 1*128kB 1*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 1524kB
Jun  2 08:43:31 caete kernel: [4295643.953000] HighMem: empty
Jun  2 08:43:31 caete kernel: [4295643.953000] Swap cache: add 0, delete 0, find 0/0, race 0+0
Jun  2 08:43:31 caete kernel: [4295643.953000] Free swap  = 1951888kB
Jun  2 08:43:31 caete kernel: [4295643.953000] Total swap = 1951888kB
Jun  2 08:43:31 caete kernel: [4295643.953000] Free swap:       1951888kB
Jun  2 08:43:31 caete kernel: [4295643.957000] 163792 pages of RAM
Jun  2 08:43:31 caete kernel: [4295643.957000] 0 pages of HIGHMEM
Jun  2 08:43:31 caete kernel: [4295643.957000] 2646 reserved pages
Jun  2 08:43:31 caete kernel: [4295643.957000] 111220 pages shared
Jun  2 08:43:31 caete kernel: [4295643.957000] 0 pages swap cached
Jun  2 08:43:31 caete kernel: [4295643.957000] 148 pages dirty
Jun  2 08:43:31 caete kernel: [4295643.957000] 0 pages writeback
Jun  2 08:43:31 caete kernel: [4295643.957000] 48506 pages mapped
Jun  2 08:43:31 caete kernel: [4295643.957000] 6902 pages slab
Jun  2 08:43:31 caete kernel: [4295643.957000] 447 pages pagetables
Jun  2 08:43:31 caete kernel: [4295643.957000] ndiswrapper (wrap_alloc_urb:351): couldn't allocate dma buf

** Affects: linux-source-2.6.15 (Ubuntu)
     Importance: Medium
         Status: Needs Info

-- 
page allocation failure
https://launchpad.net/bugs/48210




More information about the kernel-bugs mailing list