Re: Using both memory banks for 256Mb DRAM in AT91SAM9G45

Nicu Pavel <[email protected]>
Newsgroups gmane.linux.ports.arm.general
Message-ID <1252918707.19243.2.camel@droids>
> > Anyone has any ideea where the problem lies ?
> 
> Nope.  You're really leaving us totally in the dark.  The reason we have
> OOPS which dump out information is so that kernel developers have a way
> to work out what went wrong.  Please provide the entire _first_ OOPS dump.
> 

I attached the dmesg and first OOPS dump.

Thanks,
Nicu Pavel

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php
dmesg-at91sam9g45-256Mb.txt (text/plain, 12.8 KB)
Linux version 2.6.27 (root@droids) (gcc version 4.3.1 (GCC) ) #2 Wed Sep 9 11:05:27 EEST 2009
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177                                
Machine: Atmel AT91SAM9G45-EKES                                                              
Memory policy: ECC disabled, Data cache writeback                                            
On node 0 totalpages: 65536                                                                  
free_area_init_node: node 0, pgdat c0319554, node_mem_map c0339000                           
  DMA zone: 65024 pages, LIFO batch:15                                                       
Clocks: CPU 400 MHz, master 133 MHz, main 12.000 MHz                                         
CPU0: D VIVT write-back cache                                                                
CPU0: I cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets                         
CPU0: D cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets                         
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024                   
Kernel command line: mem=256M memmap=exactmap memmap=0x08000000@0x20000000 memmap=0x08000000@0x70000000 console=ttyS0,115200 root=/dev/mtdblock1 rw rootfsty2
AT91: 160 gpio irqs in 5 banks                                                                                                                               
PID hash table entries: 1024 (order: 10, 4096 bytes)                                                                                                         
Console: colour dummy device 80x30                                                                                                                           
console [ttyS0] enabled                                                                                                                                      
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)                                                                                              
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)                                                                                                
Memory: 256MB = 256MB total                                                                                                                                  
Memory: 256384KB available (2888K code, 232K data, 132K init)                                                                                                
Calibrating delay loop... 199.47 BogoMIPS (lpj=997376)                                                                                                       
Mount-cache hash table entries: 512                                                                                                                          
CPU: Testing write buffer coherency: ok                                                                                                                      
net_namespace: 288 bytes                                                                                                                                     
NET: Registered protocol family 16                                                                                                                           
SCSI subsystem initialized                                                                                                                                   
usbcore: registered new interface driver usbfs                                                                                                               
usbcore: registered new interface driver hub                                                                                                                 
usbcore: registered new device driver usb                                                                                                                    
NET: Registered protocol family 2                                                                                                                            
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)                                                                                               
TCP established hash table entries: 8192 (order: 4, 65536 bytes)                                                                                             
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)                                                                                                    
TCP: Hash tables configured (established 8192 bind 8192)                                                                                                     
TCP reno registered                                                                                                                                          
NET: Registered protocol family 1                                                                                                                            
NetWinder Floating Point Emulator V0.97 (double precision)                                                                                                   
JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.                                                                                                         
msgmni has been set to 501                                                                                                                                   
io scheduler noop registered                                                                                                                                 
io scheduler anticipatory registered (default)                                                                                                               
atmel_usart.0: ttyS0 at MMIO 0xfeffee00 (irq = 1) is a ATMEL_SERIAL                                                                                          
atmel_usart.2: ttyS2 at MMIO 0xfff90000 (irq = 8) is a ATMEL_SERIAL                                                                                          
brd: module loaded                                                                                                                                           
loop: module loaded                                                                                                                                          
MACB_mii_bus: probed                                                                                                                                         
eth0: Atmel MACB at 0xfffbc000 irq 25 (3a:1f:34:08:54:54)                                                                                                    
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:00, irq=-1)                                                                               
Linux video capture interface: v2.00                                                                                                                         
atmel_isi atmel_isi: Reading configuration                                                                                                                   
atmel_isi atmel_isi: video buffer: 155648 bytes at ffaeb000 (phys 7fa40000)                                                                                  
atmel_isi atmel_isi: video buffer: 155648 bytes at ffb11000 (phys 7fa80000)                                                                                  
atmel_isi atmel_isi: video buffer: 155648 bytes at ffb37000 (phys 7fac0000)                                                                                  
atmel_isi atmel_isi: video buffer: 155648 bytes at ffb5d000 (phys 7fc00000)                                                                                  
atmel_isi atmel_isi: capture buffer: 962560 bytes at ffa00000 (phys 0x7fb00000)                                                                              
atmel_isi atmel_isi: Atmel ISI V4L2 device at 0xfffb4000                                                                                                     
isi_clk enable                                                                                                                                               
Driver 'sd' needs updating - please use bus_type methods                                                                                                     
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xaa (Micron NAND 256MiB 1,8V 8-bit)                                                                            
AT91 NAND: 8-bit, Software ECC                                                                                                                               
Scanning device for bad blocks                                                                                                                               
Bad eraseblock 88 at 0x00b00000                                                                                                                              
Bad eraseblock 623 at 0x04de0000                                                                                                                             
Bad eraseblock 904 at 0x07100000                                                                                                                             
Bad eraseblock 2037 at 0x0fea0000                                                                                                                            
Creating 3 MTD partitions on "atmel_nand":                                                                                                                   
0x00000000-0x00400000 : "Bootstrap"                                                                                                                          
0x00400000-0x04000000 : "Partition 1"                                                                                                                        
0x04000000-0x10000000 : "Partition 2"                                                                                                                        
atmel_spi atmel_spi.0: Atmel SPI Controller at 0xfffa4000 (irq 14)                                                                                           
atmel-ehci atmel-ehci: Atmel EHCI UHP HS                                                                                                                     
atmel-ehci atmel-ehci: new USB bus registered, assigned bus number 1                                                                                         
atmel-ehci atmel-ehci: irq 22, io mem 0x00800000                                                                                                             
atmel-ehci atmel-ehci: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: Atmel EHCI UHP HS
usb usb1: Manufacturer: Linux 2.6.27 ehci_hcd
usb usb1: SerialNumber: atmel-ehci
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
atmel_usba_udc atmel_usba_udc: MMIO registers at 0xfff78000 mapped at d085c000
atmel_usba_udc atmel_usba_udc: FIFO at 0x00600000 mapped at d0900000
mice: PS/2 mouse device common for all mice
input: gpio-keys as /class/input/input0
atmel_tsadcc atmel_tsadcc: Master clock is set at: 133333333 Hz
atmel_tsadcc atmel_tsadcc: Prescaler is set at: 221
input: atmel touch screen controller as /class/input/input1
i2c /dev entries driver
ov9655: starting probe for adapter i2c-gpio0 (0)
i2c-gpio i2c-gpio.0: using pins 52 (SDA) and 53 (SCL)
Registered led device: d8
Registered led device: d6
Registered led device: d7
at_hdmac at_hdmac: Atmel AHB DMA Controller ( cpy slave ), 8 channels
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.17.
AC97C regs = FFFAC000
AC97C irq  = 24
at91-ac97: codec write timeout
<4>at91-ac97: codec write timeout
<3>AC'97 0 access is not valid [0xffffffff], removing mixer.
ac97c: probe of ac97c.1 failed with error -5
ALSA device list:
  No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
atmel_mci atmel_mci.0: Using dma0chan0 for DMA transfers
atmel_mci atmel_mci.0: Atmel MCI controller at 0xfff80000 irq 11, 1 slots
atmel_mci atmel_mci.1: Using dma0chan1 for DMA transfers
atmel_mci atmel_mci.1: Atmel MCI controller at 0xfffd0000 irq 29, 1 slots
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 132K
warning: `proftpd' uses 32-bit capabilities (legacy support in use)
oops-at91sam9g45-256Mb.txt (text/plain, 3.6 KB)
<0>Bad page state in process 'python'                   
<0>page:c04419e0 flags:0x30303030 mapping:30303030 mapcount:808464433 count:808464432
Bad page state in process 'python'                                                   
page:c04419e0 flags:0x30303030 mapping:30303030 mapcount:808464433 count:808464432   
<0>Trying to fix it up, but a reboot is needed                                       
<0>Backtrace:                                                                        
Trying to fix it up, but a reboot is needed                                          
Backtrace:                                                                           
[<c0255e1c>] [<c0255e1c>] (dump_stack+0x0/0x14) (dump_stack+0x0/0x14) from [<c006a254>] from [<c006a254>] (bad_page+0x74/0xb4)
(bad_page+0x74/0xb4)                                                                                                          
[<c006a1e0>] [<c006a1e0>] (bad_page+0x0/0xb4) (bad_page+0x0/0xb4) from [<c006b0d4>] from [<c006b0d4>] (get_page_from_freelist+0x36c/0x480)
(get_page_from_freelist+0x36c/0x480)                                                                                                      
 r6:c0319554 r6:c0319554 r5:c04419f8 r5:c04419f8 r4:c04419e0 r4:c04419e0                                                                  

[<c006ad68>] [<c006ad68>] (get_page_from_freelist+0x0/0x480) (get_page_from_freelist+0x0/0x480) from [<c006b298>] from [<c006b298>] (__alloc_pages_internal+)
(__alloc_pages_internal+0xb0/0x3dc)                                                                                                                          
[<c006b1e8>] [<c006b1e8>] (__alloc_pages_internal+0x0/0x3dc) (__alloc_pages_internal+0x0/0x3dc) from [<c00739a0>] from [<c00739a0>] (handle_mm_fault+0x144/0)
(handle_mm_fault+0x144/0x8ec)                                                                                                                                
[<c007385c>] [<c007385c>] (handle_mm_fault+0x0/0x8ec) (handle_mm_fault+0x0/0x8ec) from [<c003039c>] from [<c003039c>] (do_page_fault+0xe8/0x23c)             
(do_page_fault+0xe8/0x23c)                                                                                                                                   
[<c00302b4>] [<c00302b4>] (do_page_fault+0x0/0x23c) (do_page_fault+0x0/0x23c) from [<c0029238>] from [<c0029238>] (do_DataAbort+0x38/0x98)                   
(do_DataAbort+0x38/0x98)                                                                                                                                     
[<c0029200>] [<c0029200>] (do_DataAbort+0x0/0x98) (do_DataAbort+0x0/0x98) from [<c0029be0>] from [<c0029be0>] (ret_from_exception+0x0/0x10)                  
(ret_from_exception+0x0/0x10)                                                                                                                                
Exception stack(0xcfedbfb0 to 0xcfedbff8)                                                                                                                    
Exception stack(0xcfedbfb0 to 0xcfedbff8)                                                                                                                    
bfa0: bfa0:                                                                         4013401c 4013401c 30303030 30303030 055ae01f 055ae01f 46b85ffc 46b85ffc  

bfc0: bfc0: 40109b60 40109b60 0bffffff 0bffffff 40134008 40134008 00000000 00000000 00000030 00000030 00000001 00000001 400f4be0 400f4be0 000e5a68 000e5a68 

bfe0: bfe0: 30303030 30303030 bede4a80 bede4a80 00038750 00038750 400830c0 400830c0 20000010 20000010 ffffffff ffffffff
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.