From: Bob Feretich <bob.feretich@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Adeos patch prevents IRQ 384 (MMC Chip Detect) on omap-2.6.33
Date: Sat, 24 Jul 2010 22:08:38 -0700 [thread overview]
Message-ID: <4C4BC6D6.8070806@domain.hid> (raw)
In-Reply-To: <4C4B379F.9040107@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 25841 bytes --]
Test 1 results:
With the Adeos patch installed, but Adeos disabled, the system ran
normally. IRQ 384s were presented and serviced. (The SD card removal
amd insertion was handled correctly.)
Texas Instruments X-Loader 1.4.2 (Feb 19 2009 - 12:01:24)
Reading boot sector
Loading u-boot.bin from mmc
U-Boot 2009.06-rc2 (Nov 02 2009 - 23:57:20)
OMAP3530-GP ES3.0, CPU-OPP2 L3-165MHz
OMAP3 Beagle board + LPDDR/NAND
DRAM: 256 MB
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Board revision C
Die ID #317000030000000004013f8a1701a01b
Hit any key to stop autoboot: 0
OMAP3 beagleboard.org # setenv bootargs 'console=ttyS2,115200n8
ip=192.168.1.81:192.168.1.80:192.168.1.1:255.25
5.255.0:beagleboard:eth0:off root=/dev/nfs rw
nfsroot=192.168.1.80:/home/Bob/NFSROOT,nolock,rsize=1024,wsize=10
24 rootwait'
OMAP3 beagleboard.org # boot
mmc1 is available
reading uImage
1902408 bytes read
## Booting kernel from Legacy Image at 80300000 ...
Image Name: Angstrom/2.6.33/beagleboard
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1902344 Bytes = 1.8 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.33 (Bob@domain.hid) (gcc version 4.3.3 (GCC) ) #2
Sat Jul 24 16:32:00 PDT 2010
CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: OMAP3 Beagle Board
Memory policy: ECC disabled, Data cache writeback
OMAP3430/3530 ES3.0 (l2cache iva sgx neon isp )
SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
Kernel command line: console=ttyS2,115200n8
ip=192.168.1.81:192.168.1.80:192.168.1.1:255.255.255.0:beagleboard:
eth0:off root=/dev/nfs rw
nfsroot=192.168.1.80:/home/Bob/NFSROOT,nolock,rsize=1024,wsize=1024 rootwait
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 128MB 128MB = 256MB total
Memory: 255872KB available (3292K code, 286K data, 120K init, 0K highmem)
Hierarchical RCU implementation.
RCU-based detection of stalled CPUs is enabled.
NR_IRQS:402
Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
Reprogramming SDRC clock to 332000000 Hz
GPMC revision 5.0
IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
Total of 96 interrupts on 1 active controller
OMAP GPIO hardware version 2.5
OMAP clockevent source: GPTIMER1 at 13000000 Hz
Console: colour dummy device 80x30
Calibrating delay loop... 498.07 BogoMIPS (lpj=2490368)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
regulator: core version 0.5
NET: Registered protocol family 16
Found NAND on CS0
Registering NAND on CS0
OMAP DMA hardware revision 4.0
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
i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
twl4030: PIH (irq 7) chaining IRQs 368..375
twl4030: power (irq 373) chaining IRQs 376..383
twl4030: gpio (irq 368) chaining IRQs 384..401
regulator: VUSB1V5: 1500 mV normal standby
regulator: VUSB1V8: 1800 mV normal standby
regulator: VUSB3V1: 3100 mV normal standby
twl4030_usb twl4030_usb: Initialized TWL4030 USB module
regulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby
regulator: VDAC: 1800 mV normal standby
regulator: VDVI: 1800 mV normal standby
regulator: VSIM: 1800 <--> 3000 mV at 1800 mV normal standby
i2c_omap i2c_omap.3: bus 3 rev3.12 at 100 kHz
Switching to clocksource gp timer
musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
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
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
msgmni has been set to 500
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
console [ttyS2] enabled
brd: module loaded
loop: module loaded
usbcore: registered new interface driver asix
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver net1080
usbcore: registered new interface driver cdc_subset
usbcore: registered new interface driver zaurus
usbmon: debugfs is not available
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
twl_rtc twl_rtc: Power up reset detected.
twl_rtc twl_rtc: Enabling TWL-RTC.
i2c /dev entries driver
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
Power Management for TI OMAP3.
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
regulator_init_complete: incomplete constraints, leaving VDVI on
regulator_init_complete: incomplete constraints, leaving VDAC on
twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
usb 1-2: new high speed USB device using ehci-omap and address 2
mmc0: new high speed SDHC card at address 1234
mmcblk0: mmc0:1234 SA04G 3.68 GiB
mmcblk0: p1 p2
eth0: register 'asix' at usb-ehci-omap.0-2, ASIX AX88772 USB 2.0
Ethernet, 00:50:b6:05:d2:0c
eth0: link down
eth0: link up, 100Mbps, half-duplex, lpa 0x40A1
IP-Config: Complete:
device=eth0, addr=192.168.1.81, mask=255.255.255.0, gw=192.168.1.1,
host=beagleboard, domain=, nis-domain=(none),
bootserver=192.168.1.80, rootserver=192.168.1.80, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.80
Looking up port of RPC 100005/1 on 192.168.1.80
VFS: Mounted root (nfs filesystem) on device 0:13.
devtmpfs: mounted
Freeing init memory: 120K
INIT: version 2.86 booting
Please wait: booting...
Starting udev
EXT2-fs (mmcblk0p2): warning: mounting ext3 filesystem as ext2
Remounting root file system...
Caching udev devnodes
Populating dev cache
root: mount: mounting rootfs on / failed: No such file or directory
NOT configuring network interfaces: / is an NFS mount
Tue May 18 20:58:00 UTC 2010
Starting to configure packages...
Nothing to be done
Finished to configure packages.
INIT: Entering runlevel: 5
Starting Dropbear SSH server: dropbear.
Starting syslogd/klogd: done
.-------.
| | .-.
| | |-----.-----.-----.| | .----..-----.-----.
| | | __ | ---'| '--.| .-'| | |
| | | | | |--- || --'| | | ' | | | |
'---'---'--'--'--. |-----''----''--' '-----'-'-'-'
-' |
'---'
The Angstrom Distribution beagleboard ttyS2
Angstrom 2010.4-test-20100518 beagleboard ttyS2
beagleboard login: root
root@domain.hid:~# /proc/interrupts
-sh: /proc/interrupts: Permission denied
root@domain.hid:~# cat /proc/interrupts
CPU0
7: 0 INTC TWL4030-PIH
11: 0 INTC prcm
12: 198 INTC DMA
37: 2267 INTC gp timer
56: 318 INTC i2c_omap
61: 0 INTC i2c_omap
72: 1 INTC serial idle
73: 1 INTC serial idle
74: 177 INTC serial idle, serial
77: 11313 INTC ehci_hcd:usb1
83: 126 INTC mmc0
92: 0 INTC musb_hdrc
93: 0 INTC musb_hdrc
378: 0 twl4030 twl4030_usb
379: 0 twl4030 rtc0
384: 0 twl4030 mmc0
Err: 0
root@domain.hid:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 15868228 8775884 6931324 56% /
devtmpfs 128088 132 127956 0% /dev
none 128088 132 127956 0% /dev
/dev/mmcblk0p1 197676 2075 195602 1% /media/mmcblk0p1
/dev/mmcblk0p2 3605300 72764 3349396 2% /media/mmcblk0p2
tmpfs 128088 16 128072 0% /var/volatile
tmpfs 128088 0 128088 0% /dev/shm
tmpfs 128088 0 128088 0% /media/ram
root@domain.hid:~# umount /dev/mmcblk0p1
root@domain.hid:~# umount /dev/mmcblk0p2
root@domain.hid:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 15868228 8775884 6931324 56% /
devtmpfs 128088 132 127956 0% /dev
none 128088 132 127956 0% /dev
tmpfs 128088 16 128072 0% /var/volatile
tmpfs 128088 0 128088 0% /dev/shm
tmpfs 128088 0 128088 0% /media/ram
***** removed SD card **************************************************
root@domain.hid:~# mmc0: card 1234 removed
root@domain.hid:~# cat /proc/interrupts
CPU0
7: 1 INTC TWL4030-PIH
11: 0 INTC prcm
12: 537 INTC DMA
37: 3789 INTC gp timer
56: 338 INTC i2c_omap
61: 0 INTC i2c_omap
72: 1 INTC serial idle
73: 1 INTC serial idle
74: 311 INTC serial idle, serial
77: 13030 INTC ehci_hcd:usb1
83: 192 INTC mmc0
92: 0 INTC musb_hdrc
93: 0 INTC musb_hdrc
378: 0 twl4030 twl4030_usb
379: 0 twl4030 rtc0
384: 1 twl4030 mmc0
Err: 0
*************** inserted SD card ***********************
root@domain.hid:~# mmc0: new high speed SDHC card at address 1234
mmcblk0: mmc0:1234 SA04G 3.68 GiB
mmcblk0: p1 p2
EXT2-fs (mmcblk0p2): warning: mounting ext3 filesystem as ext2
root@domain.hid:~# cat /proc/interrupts
CPU0
7: 2 INTC TWL4030-PIH
11: 0 INTC prcm
12: 684 INTC DMA
37: 4292 INTC gp timer
56: 366 INTC i2c_omap
61: 0 INTC i2c_omap
72: 1 INTC serial idle
73: 1 INTC serial idle
74: 391 INTC serial idle, serial
77: 14060 INTC ehci_hcd:usb1
83: 312 INTC mmc0
92: 0 INTC musb_hdrc
93: 0 INTC musb_hdrc
378: 0 twl4030 twl4030_usb
379: 0 twl4030 rtc0
384: 2 twl4030 mmc0
Err: 0
root@domain.hid:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 15868228 8775884 6931324 56% /
devtmpfs 128088 132 127956 0% /dev
none 128088 132 127956 0% /dev
tmpfs 128088 16 128072 0% /var/volatile
tmpfs 128088 0 128088 0% /dev/shm
tmpfs 128088 0 128088 0% /media/ram
/dev/mmcblk0p1 197676 2075 195602 1% /media/mmcblk0p1
/dev/mmcblk0p2 3605300 72764 3349396 2% /media/mmcblk0p2
root@domain.hid:~#
Test 2 results:
With the Adeos patch installed, Adeos enabled, Xenomai disabled, the
spurious irpt patch reverted....
The system ran normally, until an IRQ 384 occurred. Then continuous
spurious interrupts occurred.
Texas Instruments X-Loader 1.4.2 (Feb 19 2009 - 12:01:24)
Reading boot sector
Loading u-boot.bin from mmc
U-Boot 2009.06-rc2 (Nov 02 2009 - 23:57:20)
OMAP3530-GP ES3.0, CPU-OPP2 L3-165MHz
OMAP3 Beagle board + LPDDR/NAND
DRAM: 256 MB
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Board revision C
Die ID #317000030000000004013f8a1701a01b
Hit any key to stop autoboot: 0
mmc1 is available
reading uImage
1942588 bytes read
## Booting kernel from Legacy Image at 80300000 ...
Image Name: Angstrom/2.6.33/beagleboard
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1942524 Bytes = 1.9 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.33 (Bob@domain.hid) (gcc version 4.3.3 (GCC) ) #3
Sat Jul 24 19:40:30 PDT 2010
CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: OMAP3 Beagle Board
Memory policy: ECC disabled, Data cache writeback
OMAP3430/3530 ES3.0 (l2cache iva sgx neon isp )
SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
Kernel command line: console=ttyS2,115200n8
ip=192.168.1.81:192.168.1.80:192.168.1.1:255.255.255.0:beagleboard:
eth0:off root=/dev/nfs rw
nfsroot=192.168.1.80:/home/Bob/NFSROOT,nolock,rsize=1024,wsize=1024 rootwait
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 128MB 128MB = 256MB total
Memory: 255744KB available (3360K code, 341K data, 132K init, 0K highmem)
Hierarchical RCU implementation.
RCU-based detection of stalled CPUs is enabled.
NR_IRQS:402
Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
Reprogramming SDRC clock to 332000000 Hz
GPMC revision 5.0
IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
Total of 96 interrupts on 1 active controller
OMAP GPIO hardware version 2.5
OMAP clockevent source: GPTIMER1 at 13000000 Hz
I-pipe 1.16-01: pipeline enabled.
Console: colour dummy device 80x30
Calibrating delay loop... 498.07 BogoMIPS (lpj=2490368)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
regulator: core version 0.5
NET: Registered protocol family 16
Found NAND on CS0
Registering NAND on CS0
OMAP DMA hardware revision 4.0
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
i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
twl4030: PIH (irq 7) chaining IRQs 368..375
twl4030: power (irq 373) chaining IRQs 376..383
twl4030: gpio (irq 368) chaining IRQs 384..401
regulator: VUSB1V5: 1500 mV normal standby
regulator: VUSB1V8: 1800 mV normal standby
regulator: VUSB3V1: 3100 mV normal standby
twl4030_usb twl4030_usb: Initialized TWL4030 USB module
regulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby
regulator: VDAC: 1800 mV normal standby
regulator: VDVI: 1800 mV normal standby
regulator: VSIM: 1800 <--> 3000 mV at 1800 mV normal standby
i2c_omap i2c_omap.3: bus 3 rev3.12 at 100 kHz
Switching to clocksource gp timer
musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
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
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
msgmni has been set to 499
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
console [ttyS2] enabled
brd: module loaded
loop: module loaded
usbcore: registered new interface driver asix
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver net1080
usbcore: registered new interface driver cdc_subset
usbcore: registered new interface driver zaurus
usbmon: debugfs is not available
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
twl_rtc twl_rtc: Power up reset detected.
twl_rtc twl_rtc: Enabling TWL-RTC.
i2c /dev entries driver
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
Power Management for TI OMAP3.
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
regulator_init_complete: incomplete constraints, leaving VDVI on
regulator_init_complete: incomplete constraints, leaving VDAC on
twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
usb 1-2: new high speed USB device using ehci-omap and address 2
mmc0: new high speed SDHC card at address 1234
mmcblk0: mmc0:1234 SA04G 3.68 GiB
mmcblk0: p1 p2
eth0: register 'asix' at usb-ehci-omap.0-2, ASIX AX88772 USB 2.0
Ethernet, 00:50:b6:05:d2:0c
eth0: link down
eth0: link up, 100Mbps, half-duplex, lpa 0x40A1
IP-Config: Complete:
device=eth0, addr=192.168.1.81, mask=255.255.255.0, gw=192.168.1.1,
host=beagleboard, domain=, nis-domain=(none),
bootserver=192.168.1.80, rootserver=192.168.1.80, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.80
Looking up port of RPC 100005/1 on 192.168.1.80
VFS: Mounted root (nfs filesystem) on device 0:13.
devtmpfs: mounted
Freeing init memory: 132K
INIT: version 2.86 booting
Please wait: booting...
Starting udev
udev: starting version 151
udevadm settle - timeout of 3 seconds reached, the event queue contains:
/sys/devices/platform/ehci-omap.0/usb1/1-2/1-2:1.0/net/eth0 (326)
/sys/devices/platform/mmci-omap-hs.0/mmc_host/mmc0/mmc0:1234/block/mmcblk0
(347)
/sys/devices/platform/mmci-omap-hs.0/mmc_host/mmc0/mmc0:1234/block/mmcblk0/mmcblk0p1
(348)
/sys/devices/platform/mmci-omap-hs.0/mmc_host/mmc0/mmc0:1234/block/mmcblk0/mmcblk0p2
(349)
Remounting root file system...
Caching udev devnodes
Populating dev cachemv: cannot rename '/tmp/uname': No such file or
directory
EXT2-fs (mmcblk0p2): warning: mounting ext3 filesystem as ext2
root: mount: mounting rootfs on / failed: No such file or directory
NOT configuring network interfaces: / is an NFS mount
Tue May 18 20:58:00 UTC 2010
Starting to configure packages...
Nothing to be done
Finished to configure packages.
INIT: Entering runlevel: 5
Starting Dropbear SSH server: dropbear.
Starting syslogd/klogd: done
.-------.
| | .-.
| | |-----.-----.-----.| | .----..-----.-----.
| | | __ | ---'| '--.| .-'| | |
| | | | | |--- || --'| | | ' | | | |
'---'---'--'--'--. |-----''----''--' '-----'-'-'-'
-' |
'---'
The Angstrom Distribution beagleboard ttyS2
Angstrom 2010.4-test-20100518 beagleboard ttyS2
beagleboard login: root
root@domain.hid:~# cat /proc/interrupts
CPU0
7: 0 INTC TWL4030-PIH
11: 0 INTC prcm
12: 517 INTC DMA
37: 1062 INTC gp timer
56: 318 INTC i2c_omap
61: 0 INTC i2c_omap
72: 1 INTC serial idle
73: 1 INTC serial idle
74: 117 INTC serial idle, serial
77: 12033 INTC ehci_hcd:usb1
83: 171 INTC mmc0
92: 0 INTC musb_hdrc
93: 0 INTC musb_hdrc
378: 0 twl4030 twl4030_usb
379: 0 twl4030 rtc0
384: 0 twl4030 mmc0
Err: 0
root@domain.hid:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 15868228 8775276 6931932 56% /
devtmpfs 128024 128 127896 0% /dev
none 128024 128 127896 0% /dev
/dev/mmcblk0p1 197676 2114 195562 1% /media/mmcblk0p1
tmpfs 128024 16 128008 0% /var/volatile
tmpfs 128024 0 128024 0% /dev/shm
tmpfs 128024 0 128024 0% /media/ram
/dev/mmcblk0p2 3605300 72764 3349396 2% /media/mmcblk0p2
root@domain.hid:~# umount /dev/mmcblk0p1
root@domain.hid:~# umount /dev/mmcblk0p2
root@domain.hid:~#
root@domain.hid:~# ********* # remove sd card ####
***********************
root@domain.hid:~#
root@domain.hid:~# cat /proc/interrupts
CPU0
7: 32919 INTC TWL4030-PIH
11: 0 INTC prcm
12: 835 INTC DMA
37: 1703 INTC gp timer
56: 99075 INTC i2c_omap
61: 0 INTC i2c_omap
72: 1 INTC serial idle
73: 1 INTC serial idle
74: 252 INTC serial idle, serial
77: 12455 INTC ehci_hcd:usb1
83: 233 INTC mmc0
92: 0 INTC musb_hdrc
93: 0 INTC musb_hdrc
378: 0 twl4030 twl4030_usb
379: 0 twl4030 rtc0
384: 0 twl4030 mmc0
Err: 0
root@domain.hid:~# cat /proc/interrupts
CPU0
7: 61279 INTC TWL4030-PIH
11: 0 INTC prcm
12: 835 INTC DMA
37: 1989 INTC gp timer
56: 184159 INTC i2c_omap
61: 0 INTC i2c_omap
72: 1 INTC serial idle
73: 1 INTC serial idle
74: 279 INTC serial idle, serial
77: 12507 INTC ehci_hcd:usb1
83: 233 INTC mmc0
92: 0 INTC musb_hdrc
93: 0 INTC musb_hdrc
378: 0 twl4030 twl4030_usb
379: 0 twl4030 rtc0
384: 0 twl4030 mmc0
Err: 0
root@domain.hid irq 95: 0xffffffdf, please flush posted write
for irq 56
Spurious irq 95: 0xffffffdf, please flush posted write for irq 56
Spurious irq 95: 0xffffffdf, please flush posted write for irq 56
Spurious irq 95: 0xffffffdf, please flush posted write for irq 56
Spurious irq 95: 0xffffffdf, please flush posted write for irq 56
Spurious irq 95: 0xffffffdf, please flush posted write for irq 56
Spurious irq 95: 0xffffffdf, please flush posted write for irq 56
... snipped ... About 1023 spurious irpt msgs occurred.
The beginning of the spurious irpt messages was not consistent. They
usually started occuring soon, but not immediately after the SD card was
removed. As you can see above, I was able to enter a couple commands
before the interrupts began. Sometimes the messages occurred before the
removal of the SD card. I think that any kind of i2c probed level 2
interrupt triggers the problem.
I was fast enough to display /proc/interrupts after I pulled out the SD
card (above) and befre the spurrious irpts occurred. The IRQ 384 irpt is
not shown in /proc/interrupts and no "removed" message occurred.
Without the Adeos patch (or with CONFIG_IPIPE disabled), the removel
mesage was immediate.
Regards,
Bob Feretich
On 7/24/2010 11:57 AM, Gilles Chanteperdrix wrote:
> Bob Feretich wrote:
>> Let me make sure I understand.
>> The most recent report from me contained console logs of two boots.
>> The first was 2.6.33 with no Adeos patch applied.
>> The second was 2.6.33 with the Adeos patch and Xenomai enabled
>> (CONFIG_IPIPE=y) and CONFIG_XENOMAI=y).
>>
>> You want me to perform to tests:
>>
>> 1. 2.6.33 with the Adeos patch applied, but .config edited to turn
>> off CONFIG_IPIPE and CONFIG_XENOMAI.
> That is, if when you tested the kernel patched with Adeos you never
> turned CONFIG_IPIPE off.
>
>> 2. Assuming test #1 passes the interrupts successfully, 2.6.33 with
>> the Adeos patch applied, CONFIG_IPIPE=y, CONFIG_XENOMAI off, and
>> revert the change to drivers/i2c/busses/i2c-omap.c.
>>
>> Is that correct?
> Yep.
>
>
[-- Attachment #2: Type: text/html, Size: 37207 bytes --]
next prev parent reply other threads:[~2010-07-25 5:08 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-19 3:36 [Xenomai-help] Adeos patched kernel hangs mounting root file system Bob Feretich
2010-07-19 4:19 ` Gilles Chanteperdrix
2010-07-19 7:18 ` Bob Feretich
2010-07-19 8:31 ` Gilles Chanteperdrix
2010-07-20 0:11 ` Bob Feretich
2010-07-20 7:11 ` Gilles Chanteperdrix
2010-07-20 7:31 ` Bob Feretich
2010-07-20 7:45 ` Gilles Chanteperdrix
2010-07-20 16:29 ` Gilles Chanteperdrix
2010-07-20 20:20 ` Bob Feretich
2010-07-20 21:24 ` Gilles Chanteperdrix
2010-07-21 5:06 ` Bob Feretich
2010-07-21 5:24 ` Gilles Chanteperdrix
2010-07-21 6:19 ` Bob Feretich
2010-07-21 20:33 ` Bob Feretich
2010-07-21 23:30 ` Bob Feretich
2010-07-22 22:10 ` [Xenomai-help] Adeos patched kernel hangs mounting root file system - correction Bob Feretich
2010-07-22 22:14 ` Gilles Chanteperdrix
2010-07-22 23:33 ` Bob Feretich
2010-07-22 23:35 ` Gilles Chanteperdrix
2010-07-23 0:37 ` Bob Feretich
2010-07-23 5:37 ` Gilles Chanteperdrix
2010-07-23 23:43 ` [Xenomai-help] Adeos patch prevents IRQ 384 (MMC Chip Detect) on omap-2.6.33 Bob Feretich
2010-07-24 12:42 ` Gilles Chanteperdrix
2010-07-24 12:57 ` Gilles Chanteperdrix
2010-07-24 18:50 ` Bob Feretich
2010-07-24 18:57 ` Gilles Chanteperdrix
2010-07-25 5:08 ` Bob Feretich [this message]
2010-07-25 7:02 ` Gilles Chanteperdrix
2010-07-25 9:24 ` Gilles Chanteperdrix
2010-07-26 1:57 ` [Xenomai-help] Adeos patch prevents IRQ 384 (MMC Chip Detect) on omap-2.6.33 - working now Bob Feretich
2010-07-26 7:01 ` Gilles Chanteperdrix
2010-07-20 7:15 ` [Xenomai-help] Adeos patched kernel hangs mounting root file system Bob Feretich
2010-07-20 7:17 ` Gilles Chanteperdrix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C4BC6D6.8070806@domain.hid \
--to=bob.feretich@domain.hid \
--cc=gilles.chanteperdrix@xenomai.org \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.