Re: commit 91013923c712e1c: "irqdomain: Replace LEGACY mapping with LINEAR" breaks console on ARM i.mx23

2012-07-20 Thread Attila Kinali
Moin,

On Thu, 19 Jul 2012 22:47:54 -0600
Grant Likely  wrote:

> Can you please send me your boot log /after/ removing these three patches?

---schnipp---
Uncompressing Linux... done, booting the kernel.
[0.00] Booting Linux on physical CPU 0
[0.00] Linux version 3.5.0-rc7-next-20120719 (attila@shumira) (gcc 
version 4.4.6 (Buildroot 2011.08-svn13645-dirty) ) #2 Thu Jul 19 19:57:40 CEST 
2012
[0.00] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[0.00] CPU: VIVT data cache, VIVT instruction cache
[0.00] Machine: Freescale i.MX23 (Device Tree), model: Freescale i.MX23
[0.00] INITRD: 0x4040+0x0040 overlaps in-use memory region - 
disabling initrd
[0.00] Memory policy: ECC disabled, Data cache writeback
[0.00] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 16256
[0.00] Kernel command line: console=ttyAMA0,115200 root=/dev/mmcblk0p3 
rw rootwait
[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] Memory: 64MB = 64MB total
[0.00] Memory: 53024k/53024k available, 12512k reserved, 0K highmem
[0.00] Virtual kernel memory layout:
[0.00] vector  : 0x - 0x1000   (   4 kB)
[0.00] fixmap  : 0xfff0 - 0xfffe   ( 896 kB)
[0.00] vmalloc : 0xc480 - 0xff00   ( 936 MB)
[0.00] lowmem  : 0xc000 - 0xc400   (  64 MB)
[0.00] modules : 0xbf00 - 0xc000   (  16 MB)
[0.00]   .text : 0xc0008000 - 0xc0420020   (4193 kB)
[0.00]   .init : 0xc0421000 - 0xc061003c   (1981 kB)
[0.00]   .data : 0xc0612000 - 0xc064dff0   ( 240 kB)
[0.00].bss : 0xc064e014 - 0xc0b9a038   (5425 kB)
[0.00] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, 
Nodes=1
[0.00] NR_IRQS:304
[0.00] sched_clock: 32 bits at 100 Hz, resolution 1000ns, wraps 
every 4294967286ms
[0.00] Console: colour dummy device 80x30
[0.00] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., 
Ingo Molnar
[0.00] ... MAX_LOCKDEP_SUBCLASSES:  8
[0.00] ... MAX_LOCK_DEPTH:  48
[0.00] ... MAX_LOCKDEP_KEYS:8191
[0.00] ... CLASSHASH_SIZE:  4096
[0.00] ... MAX_LOCKDEP_ENTRIES: 16384
[0.00] ... MAX_LOCKDEP_CHAINS:  32768
[0.00] ... CHAINHASH_SIZE:  16384
[0.00]  memory used by lock dependency info: 3695 kB
[0.00]  per task-struct memory footprint: 1152 bytes
[0.07] Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496)
[0.07] pid_max: default: 32768 minimum: 301
[0.07] Mount-cache hash table entries: 512
[0.08] CPU: Testing write buffer coherency: ok
[0.08] Setting up static identity map for 0x402fd7a0 - 0x402fd7f8
[0.09] devtmpfs: initialized
[0.11] pinctrl core: initialized pinctrl subsystem
[0.11] dummy: 
[0.12] NET: Registered protocol family 16
[0.12] DMA: preallocated 256 KiB pool for atomic coherent allocations
[0.15] Serial: AMBA PL011 UART driver
[0.15] 8007.serial: ttyAMA0 at MMIO 0x8007 (irq = 0) is a PL011 
rev2
[0.34] console [ttyAMA0] enabled
[0.37] bio: create slab  at 0
[0.38] mxs-dma 80004000.dma-apbh: initialized
[0.39] mxs-dma 80024000.dma-apbx: initialized
[0.40] Advanced Linux Sound Architecture Driver Version 1.0.25.
[0.41] Switching to clocksource mxs_timer
[0.62] NET: Registered protocol family 2
[0.63] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[0.64] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[0.65] TCP bind hash table entries: 2048 (order: 4, 73728 bytes)
[0.66] TCP: Hash tables configured (established 2048 bind 2048)
[0.66] TCP: reno registered
[0.67] UDP hash table entries: 256 (order: 2, 20480 bytes)
[0.67] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes)
[0.68] NET: Registered protocol family 1
[0.69] RPC: Registered named UNIX socket transport module.
[0.70] RPC: Registered udp transport module.
[0.70] RPC: Registered tcp transport module.
[0.71] RPC: Registered tcp NFSv4.1 backchannel transport module.
[1.65] NetWinder Floating Point Emulator V0.97 (double precision)
[1.73] NFS: Registering the id_resolver key type
[1.74] Key type id_resolver registered
[1.75] msgmni has been set to 103
[1.75] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 
253)
[1.76] io scheduler noop registered (default)
[1.76] uart-pl011 8007.serial: no DMA platform data
[

Re: commit 91013923c712e1c: irqdomain: Replace LEGACY mapping with LINEAR breaks console on ARM i.mx23

2012-07-20 Thread Attila Kinali
Moin,

On Thu, 19 Jul 2012 22:47:54 -0600
Grant Likely grant.lik...@secretlab.ca wrote:

 Can you please send me your boot log /after/ removing these three patches?

---schnipp---
Uncompressing Linux... done, booting the kernel.
[0.00] Booting Linux on physical CPU 0
[0.00] Linux version 3.5.0-rc7-next-20120719 (attila@shumira) (gcc 
version 4.4.6 (Buildroot 2011.08-svn13645-dirty) ) #2 Thu Jul 19 19:57:40 CEST 
2012
[0.00] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[0.00] CPU: VIVT data cache, VIVT instruction cache
[0.00] Machine: Freescale i.MX23 (Device Tree), model: Freescale i.MX23
[0.00] INITRD: 0x4040+0x0040 overlaps in-use memory region - 
disabling initrd
[0.00] Memory policy: ECC disabled, Data cache writeback
[0.00] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 16256
[0.00] Kernel command line: console=ttyAMA0,115200 root=/dev/mmcblk0p3 
rw rootwait
[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] Memory: 64MB = 64MB total
[0.00] Memory: 53024k/53024k available, 12512k reserved, 0K highmem
[0.00] Virtual kernel memory layout:
[0.00] vector  : 0x - 0x1000   (   4 kB)
[0.00] fixmap  : 0xfff0 - 0xfffe   ( 896 kB)
[0.00] vmalloc : 0xc480 - 0xff00   ( 936 MB)
[0.00] lowmem  : 0xc000 - 0xc400   (  64 MB)
[0.00] modules : 0xbf00 - 0xc000   (  16 MB)
[0.00]   .text : 0xc0008000 - 0xc0420020   (4193 kB)
[0.00]   .init : 0xc0421000 - 0xc061003c   (1981 kB)
[0.00]   .data : 0xc0612000 - 0xc064dff0   ( 240 kB)
[0.00].bss : 0xc064e014 - 0xc0b9a038   (5425 kB)
[0.00] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, 
Nodes=1
[0.00] NR_IRQS:304
[0.00] sched_clock: 32 bits at 100 Hz, resolution 1000ns, wraps 
every 4294967286ms
[0.00] Console: colour dummy device 80x30
[0.00] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., 
Ingo Molnar
[0.00] ... MAX_LOCKDEP_SUBCLASSES:  8
[0.00] ... MAX_LOCK_DEPTH:  48
[0.00] ... MAX_LOCKDEP_KEYS:8191
[0.00] ... CLASSHASH_SIZE:  4096
[0.00] ... MAX_LOCKDEP_ENTRIES: 16384
[0.00] ... MAX_LOCKDEP_CHAINS:  32768
[0.00] ... CHAINHASH_SIZE:  16384
[0.00]  memory used by lock dependency info: 3695 kB
[0.00]  per task-struct memory footprint: 1152 bytes
[0.07] Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496)
[0.07] pid_max: default: 32768 minimum: 301
[0.07] Mount-cache hash table entries: 512
[0.08] CPU: Testing write buffer coherency: ok
[0.08] Setting up static identity map for 0x402fd7a0 - 0x402fd7f8
[0.09] devtmpfs: initialized
[0.11] pinctrl core: initialized pinctrl subsystem
[0.11] dummy: 
[0.12] NET: Registered protocol family 16
[0.12] DMA: preallocated 256 KiB pool for atomic coherent allocations
[0.15] Serial: AMBA PL011 UART driver
[0.15] 8007.serial: ttyAMA0 at MMIO 0x8007 (irq = 0) is a PL011 
rev2
[0.34] console [ttyAMA0] enabled
[0.37] bio: create slab bio-0 at 0
[0.38] mxs-dma 80004000.dma-apbh: initialized
[0.39] mxs-dma 80024000.dma-apbx: initialized
[0.40] Advanced Linux Sound Architecture Driver Version 1.0.25.
[0.41] Switching to clocksource mxs_timer
[0.62] NET: Registered protocol family 2
[0.63] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[0.64] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[0.65] TCP bind hash table entries: 2048 (order: 4, 73728 bytes)
[0.66] TCP: Hash tables configured (established 2048 bind 2048)
[0.66] TCP: reno registered
[0.67] UDP hash table entries: 256 (order: 2, 20480 bytes)
[0.67] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes)
[0.68] NET: Registered protocol family 1
[0.69] RPC: Registered named UNIX socket transport module.
[0.70] RPC: Registered udp transport module.
[0.70] RPC: Registered tcp transport module.
[0.71] RPC: Registered tcp NFSv4.1 backchannel transport module.
[1.65] NetWinder Floating Point Emulator V0.97 (double precision)
[1.73] NFS: Registering the id_resolver key type
[1.74] Key type id_resolver registered
[1.75] msgmni has been set to 103
[1.75] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 
253)
[1.76] io scheduler noop registered (default)
[1.76] uart-pl011 8007.serial: 

Re: commit 91013923c712e1c: "irqdomain: Replace LEGACY mapping with LINEAR" breaks console on ARM i.mx23

2012-07-19 Thread Grant Likely
On Thu, Jul 19, 2012 at 11:28 AM, Attila Kinali  wrote:
> Hi,
>
> I'm working on an embedded system based on a Freescale ARM9 processor i.mx23.
>
> While trying linux-next i stumpled over my login prompt getting broken.
> What exactly happens is that the kernel boots normally, but when my
> login prompt should appear it suddenly stops. I bisected it back to
> the commit 91013923c712e1c4b9b343f0ee4a86ce72b1b630
> irqdomain: Replace LEGACY mapping with LINEAR
>
> Reverting this and the three commits that directly depend on it (see below)
> everything seems to work fine again

Hi Attila,

Can you please send me your boot log /after/ removing these three patches?

Thanks,
g.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: commit 91013923c712e1c: "irqdomain: Replace LEGACY mapping with LINEAR" breaks console on ARM i.mx23

2012-07-19 Thread Grant Likely
On Thu, Jul 19, 2012 at 11:28 AM, Attila Kinali  wrote:
> Hi,
>
> I'm working on an embedded system based on a Freescale ARM9 processor i.mx23.
>
> While trying linux-next i stumpled over my login prompt getting broken.
> What exactly happens is that the kernel boots normally, but when my
> login prompt should appear it suddenly stops. I bisected it back to
> the commit 91013923c712e1c4b9b343f0ee4a86ce72b1b630
> irqdomain: Replace LEGACY mapping with LINEAR
>
> Reverting this and the three commits that directly depend on it (see below)
> everything seems to work fine again

Mark Brown also noticed this and pointed this out. I'm working on it.
I've pulled those three patches out of my -next branch while I'm
working on the fix.

g.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: commit 91013923c712e1c: irqdomain: Replace LEGACY mapping with LINEAR breaks console on ARM i.mx23

2012-07-19 Thread Grant Likely
On Thu, Jul 19, 2012 at 11:28 AM, Attila Kinali att...@kinali.ch wrote:
 Hi,

 I'm working on an embedded system based on a Freescale ARM9 processor i.mx23.

 While trying linux-next i stumpled over my login prompt getting broken.
 What exactly happens is that the kernel boots normally, but when my
 login prompt should appear it suddenly stops. I bisected it back to
 the commit 91013923c712e1c4b9b343f0ee4a86ce72b1b630
 irqdomain: Replace LEGACY mapping with LINEAR

 Reverting this and the three commits that directly depend on it (see below)
 everything seems to work fine again

Mark Brown also noticed this and pointed this out. I'm working on it.
I've pulled those three patches out of my -next branch while I'm
working on the fix.

g.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: commit 91013923c712e1c: irqdomain: Replace LEGACY mapping with LINEAR breaks console on ARM i.mx23

2012-07-19 Thread Grant Likely
On Thu, Jul 19, 2012 at 11:28 AM, Attila Kinali att...@kinali.ch wrote:
 Hi,

 I'm working on an embedded system based on a Freescale ARM9 processor i.mx23.

 While trying linux-next i stumpled over my login prompt getting broken.
 What exactly happens is that the kernel boots normally, but when my
 login prompt should appear it suddenly stops. I bisected it back to
 the commit 91013923c712e1c4b9b343f0ee4a86ce72b1b630
 irqdomain: Replace LEGACY mapping with LINEAR

 Reverting this and the three commits that directly depend on it (see below)
 everything seems to work fine again

Hi Attila,

Can you please send me your boot log /after/ removing these three patches?

Thanks,
g.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/