I believe there is a lockup during the irq handling process.
I could not find where it is blocking.
I performed the following tests:
1) add traces in every function related to interrupt ... and none was called
2) add traces in every function in time.c file. After the last message
("ata1: SATA max UDMA/133 irq 67"), the following functions were called:
- read_cycles()
- timer32_read()
Looking at these functions, they seam to be fine. I have no clue about where
to start debugging.
Thank you for all your help.
Regards,
Flavio
Flavio de Castro Alves Filho
Phi Innovations - Embedded Software Services
www.phiinnovations.com
Phone: +55 11 84 94 56 76
Skype: flavio.de.castro.alves.filho
2010/1/6 Gilles Chanteperdrix <[email protected]>:
> Flavio de Castro Alves Filho wrote:
>> Hello Gilles,
>>
>> The boot log is the following (I hope this time it works).
>>
>> Starting kernel ...
>>
>> Uncompressing
Linux.............................................................
>> Linux version 2.6.29-rc8-davinci1 (fla...@flavio-laptop) (gcc version
4.3.3 (So0
>> CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
>> CPU: VIVT data cache, VIVT instruction cache
>> Machine: DaVinci DA850 EVM
>> Memory policy: ECC disabled, Data cache writeback
>> DA0850 variant 0x0
>> Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
>> Kernel command line: mem=32M console=ttyS2,115200n8 root=/dev/ram0 rw
initrd=0x1
>> PID hash table entries: 128 (order: 7, 512 bytes)
>> I-pipe 1.13-03: pipeline enabled.
>> Console: colour dummy device 80x30
>> Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
>> Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
>> Memory: 32MB = 32MB total
>> Memory: 24248KB available (3580K code, 368K data, 148K init)
>> Calibrating delay loop... 149.09 BogoMIPS (lpj=745472)
>> Mount-cache hash table entries: 512
>> CPU: Testing write buffer coherency: ok
>> net_namespace: 880 bytes
>> NET: Registered protocol family 16
>> Pin I2C1_SCL already used for UART2_RXD.
>> Pin I2C1_SDA already used for UART2_TXD.
>> DaVinci: 144 gpio irqs
>> bio: create slab <bio-0> at 0
>> SCSI subsystem initialized
>> usbcore: registered new interface driver usbfs
>> usbcore: registered new interface driver hub
>> usbcore: registered new device driver usb
>> musb_hdrc: version 6.0, cppi4.1-dma, host, debug=0
>> Waiting for PHY clock good...
>> musb_hdrc: USB Host mode controller at fee00000 using DMA, IRQ 58
>> musb_hdrc musb_hdrc: MUSB HDRC host driver
>> musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
>> usb usb1: configuration #1 chosen from 1 choice
>> hub 1-0:1.0: USB hub found
>> hub 1-0:1.0: 1 port detected
>> NET: Registered protocol family 2
>> IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
>> TCP established hash table entries: 1024 (order: 1, 8192 bytes)
>> TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
>> TCP: Hash tables configured (established 1024 bind 1024)
>> TCP reno registered
>> NET: Registered protocol family 1
>> checking if image is initramfs...it isn't (no cpio magic); looks like an
initrd
>> Freeing initrd memory: 4096K
>> I-pipe: Domain Xenomai registered.
>> Xenomai: hal/arm started.
>> Xenomai: real-time nucleus v2.4.9.1 (Big Bad Moon) loaded.
>> Xenomai: starting native API services.
>> Xenomai: starting POSIX services.
>> Xenomai: starting RTDM services.
>> msgmni has been set to 55
>> io scheduler noop registered
>> io scheduler anticipatory registered (default)
>> Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
>> serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a 16550A
>> serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a 16550A
>> serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a 16550A
>> console [ttyS2] enabled
>> brd: module loaded
>> davinci_emac_probe: using random MAC addr: 6a:c9:27:5d:9b:5c
>> emac-mii: probed
>> dm9000 Ethernet Driver, V1.31
>> console [netcon0] enabled
>> netconsole: network logging started
>> Linux video capture interface: v2.00
>> Driver 'sd' needs updating - please use bus_type methods
>> ahci ahci: forcing PORTS_IMPL to 0x1
>> ahci ahci: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
>> ahci ahci: flags: ncq sntf pm led clo only pmp pio slum part
>> scsi0 : ahci
>> ata1: SATA max UDMA/133 irq 67
>>
>> Thank you and best regards,
>
> Well your log does not show any error. If there is a lockup, bisect to
> find where it happens.
>
> --
> Gilles.
>
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help