Unable to handle kernel NULL pointer dereference at 000000f0, in arch_dma_alloc_attrs+0x5/0x80

2015-09-14 Thread Meelis Roos
This is my trusty K6 computer. It ran fine up to 4.2 but in 4.3-rc1, I 
get a Warning from sb16 sound initailization, from DMA allocation. 
Config is also below.


[0.00] Linux version 4.3.0-rc1 (mroos@roos) (gcc version 5.2.1 20150808 
(Debian 5.2.1-15) ) #9 Mon Sep 14 02:10:37 EEST 2015
[0.00] x86/fpu: Legacy x87 FPU detected.
[0.00] x86/fpu: Using 'lazy' FPU context switches.
[0.00] e820: BIOS-provided physical RAM map:
[0.00] BIOS-e820: [mem 0x-0x0009] usable
[0.00] BIOS-e820: [mem 0x000f-0x000f] reserved
[0.00] BIOS-e820: [mem 0x0010-0x03ff] usable
[0.00] BIOS-e820: [mem 0x-0x] reserved
[0.00] Notice: NX (Execute Disable) protection missing in CPU!
[0.00] Legacy DMI 2.0 present.
[0.00] DMI:/i430TX, BIOS 4.51 PG 08/20/98
[0.00] e820: update [mem 0x-0x0fff] usable ==> reserved
[0.00] e820: remove [mem 0x000a-0x000f] usable
[0.00] e820: last_pfn = 0x4000 max_arch_pfn = 0x10
[0.00] MTRR: Disabled
[0.00] initial memory mapped: [mem 0x-0x017f]
[0.00] Base memory trampoline at [c009b000] 9b000 size 16384
[0.00] init_memory_mapping: [mem 0x-0x000f]
[0.00]  [mem 0x-0x000f] page 4k
[0.00] init_memory_mapping: [mem 0x03c0-0x03ff]
[0.00]  [mem 0x03c0-0x03ff] page 4M
[0.00] init_memory_mapping: [mem 0x0010-0x03bf]
[0.00]  [mem 0x0010-0x003f] page 4k
[0.00]  [mem 0x0040-0x03bf] page 4M
[0.00] 64MB LOWMEM available.
[0.00]   mapped low ram: 0 - 0400
[0.00]   low ram: 0 - 0400
[0.00] Zone ranges:
[0.00]   DMA  [mem 0x1000-0x00ff]
[0.00]   Normal   [mem 0x0100-0x03ff]
[0.00] Movable zone start for each node
[0.00] Early memory node ranges
[0.00]   node   0: [mem 0x1000-0x0009]
[0.00]   node   0: [mem 0x0010-0x03ff]
[0.00] Initmem setup node 0 [mem 0x1000-0x03ff]
[0.00] On node 0 totalpages: 16287
[0.00] free_area_init_node: node 0, pgdat c13b8e00, node_mem_map 
c3f80020
[0.00]   DMA zone: 32 pages used for memmap
[0.00]   DMA zone: 0 pages reserved
[0.00]   DMA zone: 3999 pages, LIFO batch:0
[0.00]   Normal zone: 96 pages used for memmap
[0.00]   Normal zone: 12288 pages, LIFO batch:1
[0.00] e820: [mem 0x0400-0xfffe] available for PCI devices
[0.00] clocksource: refined-jiffies: mask: 0x max_cycles: 
0x, max_idle_ns: 1911260446275 ns
[0.00] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[0.00] pcpu-alloc: [0] 0 
[0.00] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 16159
[0.00] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.3.0-rc1 
root=/dev/sda1 ro
[0.00] PID hash table entries: 256 (order: -2, 1024 bytes)
[0.00] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[0.00] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[0.00] Initializing CPU#0
[0.00] Memory: 60092K/65148K available (2841K kernel code, 213K rwdata, 
772K rodata, 288K init, 196K bss, 5056K reserved, 0K cma-reserved)
[0.00] virtual kernel memory layout:
   fixmap  : 0xfffe5000 - 0xf000   ( 104 kB)
   vmalloc : 0xc480 - 0xfffe3000   ( 951 MB)
   lowmem  : 0xc000 - 0xc400   (  64 MB)
 .init : 0xc13c - 0xc1408000   ( 288 kB)
 .data : 0xc12c67b5 - 0xc13be700   ( 991 kB)
 .text : 0xc100 - 0xc12c67b5   (2841 kB)
[0.00] Checking if this processor honours the WP bit even in supervisor 
mode...Ok.
[0.00] NR_IRQS:16 nr_irqs:16 16
[0.00] CPU 0 irqstacks, hard=c3806000 soft=c3808000
[0.00] Console: colour VGA+ 80x25
[0.00] console [tty0] enabled
[0.00] tsc: Fast TSC calibration using PIT
[0.00] tsc: Detected 267.279 MHz processor
[0.020021] Calibrating delay loop (skipped), value calculated using timer 
frequency.. 534.55 BogoMIPS (lpj=2672790)
[0.020174] pid_max: default: 32768 minimum: 301
[0.020570] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[0.020663] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[0.023249] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[0.023348] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[0.023415] CPU: AMD-K6tm w/ multimedia extensions (fam: 05, model: 07, 
stepping: 00)
[0.024767] Performance Events: no PMU driver, software events only.
[

Unable to handle kernel NULL pointer dereference at 000000f0, in arch_dma_alloc_attrs+0x5/0x80

2015-09-14 Thread Meelis Roos
This is my trusty K6 computer. It ran fine up to 4.2 but in 4.3-rc1, I 
get a Warning from sb16 sound initailization, from DMA allocation. 
Config is also below.


[0.00] Linux version 4.3.0-rc1 (mroos@roos) (gcc version 5.2.1 20150808 
(Debian 5.2.1-15) ) #9 Mon Sep 14 02:10:37 EEST 2015
[0.00] x86/fpu: Legacy x87 FPU detected.
[0.00] x86/fpu: Using 'lazy' FPU context switches.
[0.00] e820: BIOS-provided physical RAM map:
[0.00] BIOS-e820: [mem 0x-0x0009] usable
[0.00] BIOS-e820: [mem 0x000f-0x000f] reserved
[0.00] BIOS-e820: [mem 0x0010-0x03ff] usable
[0.00] BIOS-e820: [mem 0x-0x] reserved
[0.00] Notice: NX (Execute Disable) protection missing in CPU!
[0.00] Legacy DMI 2.0 present.
[0.00] DMI:/i430TX, BIOS 4.51 PG 08/20/98
[0.00] e820: update [mem 0x-0x0fff] usable ==> reserved
[0.00] e820: remove [mem 0x000a-0x000f] usable
[0.00] e820: last_pfn = 0x4000 max_arch_pfn = 0x10
[0.00] MTRR: Disabled
[0.00] initial memory mapped: [mem 0x-0x017f]
[0.00] Base memory trampoline at [c009b000] 9b000 size 16384
[0.00] init_memory_mapping: [mem 0x-0x000f]
[0.00]  [mem 0x-0x000f] page 4k
[0.00] init_memory_mapping: [mem 0x03c0-0x03ff]
[0.00]  [mem 0x03c0-0x03ff] page 4M
[0.00] init_memory_mapping: [mem 0x0010-0x03bf]
[0.00]  [mem 0x0010-0x003f] page 4k
[0.00]  [mem 0x0040-0x03bf] page 4M
[0.00] 64MB LOWMEM available.
[0.00]   mapped low ram: 0 - 0400
[0.00]   low ram: 0 - 0400
[0.00] Zone ranges:
[0.00]   DMA  [mem 0x1000-0x00ff]
[0.00]   Normal   [mem 0x0100-0x03ff]
[0.00] Movable zone start for each node
[0.00] Early memory node ranges
[0.00]   node   0: [mem 0x1000-0x0009]
[0.00]   node   0: [mem 0x0010-0x03ff]
[0.00] Initmem setup node 0 [mem 0x1000-0x03ff]
[0.00] On node 0 totalpages: 16287
[0.00] free_area_init_node: node 0, pgdat c13b8e00, node_mem_map 
c3f80020
[0.00]   DMA zone: 32 pages used for memmap
[0.00]   DMA zone: 0 pages reserved
[0.00]   DMA zone: 3999 pages, LIFO batch:0
[0.00]   Normal zone: 96 pages used for memmap
[0.00]   Normal zone: 12288 pages, LIFO batch:1
[0.00] e820: [mem 0x0400-0xfffe] available for PCI devices
[0.00] clocksource: refined-jiffies: mask: 0x max_cycles: 
0x, max_idle_ns: 1911260446275 ns
[0.00] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[0.00] pcpu-alloc: [0] 0 
[0.00] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 16159
[0.00] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.3.0-rc1 
root=/dev/sda1 ro
[0.00] PID hash table entries: 256 (order: -2, 1024 bytes)
[0.00] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[0.00] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[0.00] Initializing CPU#0
[0.00] Memory: 60092K/65148K available (2841K kernel code, 213K rwdata, 
772K rodata, 288K init, 196K bss, 5056K reserved, 0K cma-reserved)
[0.00] virtual kernel memory layout:
   fixmap  : 0xfffe5000 - 0xf000   ( 104 kB)
   vmalloc : 0xc480 - 0xfffe3000   ( 951 MB)
   lowmem  : 0xc000 - 0xc400   (  64 MB)
 .init : 0xc13c - 0xc1408000   ( 288 kB)
 .data : 0xc12c67b5 - 0xc13be700   ( 991 kB)
 .text : 0xc100 - 0xc12c67b5   (2841 kB)
[0.00] Checking if this processor honours the WP bit even in supervisor 
mode...Ok.
[0.00] NR_IRQS:16 nr_irqs:16 16
[0.00] CPU 0 irqstacks, hard=c3806000 soft=c3808000
[0.00] Console: colour VGA+ 80x25
[0.00] console [tty0] enabled
[0.00] tsc: Fast TSC calibration using PIT
[0.00] tsc: Detected 267.279 MHz processor
[0.020021] Calibrating delay loop (skipped), value calculated using timer 
frequency.. 534.55 BogoMIPS (lpj=2672790)
[0.020174] pid_max: default: 32768 minimum: 301
[0.020570] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[0.020663] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[0.023249] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[0.023348] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[0.023415] CPU: AMD-K6tm w/ multimedia extensions (fam: 05, model: 07, 
stepping: 00)
[0.024767] Performance Events: no PMU driver, software events only.
[