Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752680AbeAQJ22 (ORCPT + 1 other); Wed, 17 Jan 2018 04:28:28 -0500 Received: from mail-he1eur01on0133.outbound.protection.outlook.com ([104.47.0.133]:45370 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752659AbeAQJ1x (ORCPT ); Wed, 17 Jan 2018 04:27:53 -0500 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; Subject: Re: [REGRESSION] linux-next panics when trying to mount root To: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Cc: Brian Norris , Boris Brezillon , David Woodhouse , Marek Vasut , Richard Weinberger , Cyrille Pitchen , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org References: <574b1571-1664-f09f-62bf-48f7f94a51cd@axentia.se> From: Peter Rosin Organization: Axentia Technologies AB Message-ID: Date: Wed, 17 Jan 2018 10:27:36 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [85.226.244.23] X-ClientProxiedBy: HE1PR0802CA0023.eurprd08.prod.outlook.com (2603:10a6:3:bd::33) To DB6PR0202MB2774.eurprd02.prod.outlook.com (2603:10a6:4:a8::20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4cae1ca5-7ef8-4dd5-0d29-08d55d8c92d5 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(7021125)(5600026)(4604075)(2017052603307)(7153060)(7193020);SRVR:DB6PR0202MB2774; X-Microsoft-Exchange-Diagnostics: 1;DB6PR0202MB2774;3:C9DME1kg4gPljZHf4zNDHhvUie8pJldPcEKk/KndDYFG95+Nn03JhI41SGejMDqTitZ86FnUOHigWfqlQsfZTviUfNQrWWujXXWld8plWofaf3A/kzjCYxqlKL9lbp1Kv/4kJP/fHhDIVdfXgXS5nqlYUrZfMT/Lh+UyfUMc1iUamhXmJYiWI8R/ROuoxVVRGWIdpRB8txgogT519x+5zD71zAscpSOR1wMVA0xLw4WJ8pq2zCOmKd+wBpBz82Me;25:5woYEQ5fk/jGtn62rS5vrvCezBLKXNJYriXXq/6U3E0CMIX8PxQBGtUxL4fLIoXAkGcz5lonUkZe3RpFJSNI7Qjjk6mXb5ip2LlOh6wiCrCsZQX3ij62ysDJcAZXxpFMSCvXXznBjBtx33bLaeCICLmtRGKrAe6UP/GvJz/Fzp0kcHoxrW5Qv3sIL5Aygq57kw79v6Aus6Mlu53bKYV94YigJl4INTUpF4+2vIEsf2ZCLYlKC0QorH6mYFOcywWPyduPjH1SGpz31V7NXIJ3uCbUMDKPriDJtR89mBhrGW+M4Uvgiqe/IX43FCY7hWCUjG7CvBRqDkZeHPwJ6KjPRg==;31:gLgu6H2s+kuVi8w/vpkhqvmZ6Ii9oC9PE/O4IG+AbrYTICGjZZQjXdCDyaSe9EJf9NOwlMx/KkosxZeinvnrnX54MNpJdhWkzHoxpvLwi2io1csULntVUrna9ctZceh6K8bhBfu4XGq3zB+jtUWLa/MBWtQNPtWDsamNXBd1zTk2fFd269vK1bfKYqGfzpwAZFmZQPWCqNiUwdehr+2sYtDmD+CoT0H9Xf31iOC4Mns= X-MS-TrafficTypeDiagnostic: DB6PR0202MB2774: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(85827821059158)(58145275503218); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040470)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(3231023)(944501161)(6041268)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(2016111802025)(6043046)(6072148)(201708071742011);SRVR:DB6PR0202MB2774;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:DB6PR0202MB2774; X-Microsoft-Exchange-Diagnostics: 1;DB6PR0202MB2774;4:G0JgbiKlAwJEmFHBXdFDSdfKcypNSub5q4w6ErnGOylqB0prxppC+FIOB6F4cJBYnWQRualJvdZMn9bK2RPOKCSHYtOv6ZYtovORVR19ToA+QkAFYrvisvGfeefh5guD98rnRH16t6kg4rcf0J7KlVSEHdCVK8XRCkDlgYYqkK0XzqeeDspk/C4r1IzCzdMPkTopoYEobcBx+R5PGlo/vISDtR3imE3mHrHAuZtHUJQuBDDV+Pw6O4G/O9IetV0XIPbmras+KqU7dBdm4iP4blzagRhLzBnCygi9pvbrbdHY0UEG/m8cImkZYx4xATTInYiV3T0oJmxtQm3GF8Bthn+u7CKXDCe+Uw7MKEZcVHI= X-Forefront-PRVS: 0555EC8317 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6049001)(346002)(366004)(376002)(39830400003)(39380400002)(396003)(24454002)(199004)(189003)(377424004)(81166006)(6666003)(6916009)(36756003)(2950100002)(50466002)(52116002)(53936002)(52146003)(2486003)(36916002)(316002)(64126003)(575784001)(478600001)(58126008)(26005)(86362001)(16576012)(65806001)(97736004)(54906003)(47776003)(23676004)(83506002)(66066001)(59450400001)(53546011)(386003)(6486002)(76176011)(8676002)(77096006)(966005)(16526018)(6306002)(31686004)(7736002)(4326008)(25786009)(117156002)(229853002)(6246003)(68736007)(81156014)(8936002)(65826007)(106356001)(65956001)(5660300001)(2870700001)(2906002)(31696002)(39060400002)(6116002)(105586002)(3846002)(305945005)(74482002)(3260700006)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:DB6PR0202MB2774;H:[192.168.13.3];FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtEQjZQUjAyMDJNQjI3NzQ7MjM6ZEpnbkZlM0hnOUVDT2FFWDFKVlNmejRL?= =?utf-8?B?b2FDa3pVRjJG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3XN+4i2UAxql2bP4w6NvvtMspJ/3l88ErBC62bpOZN8vOG9KUXzmdNb4mzeBExjbYQ1seUA=;7:4slQdnnVTlqNefBD+TlpYNMxgtFLsF5RuthpTou5tfvFGEet7gfWfOFIdlwq+AfWWyJrf6VtdWOZteBejKSZGNKp88zUd/FaBX3hWuWr+T0Mgc5tRferCVeTK4gD2F5D7Ot7mKG75fn80psAHPMoRPXX+mYr7weCHtXeDVtbyCi4Og6wZGKDUa8UiVMwpCSZKCsq5xziNiLLkXvfDAun7z66gYODNOkS3qvtw1xjBXv+wfEf/1GwLJfnn8iUs+NA SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jan 2018 09:27:47.4283 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4cae1ca5-7ef8-4dd5-0d29-08d55d8c92d5 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0202MB2774 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On 2018-01-17 09:27, Rafał Miłecki wrote: > On 2018-01-16 14:28, Peter Rosin wrote: >> When trying next-20180116 I get the following panic during boot: >> >> Linux version 4.15.0-rc8-next-20180116 (peda@orc) (gcc version 4.9.2 >> 20140811 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.08 - Linaro >> GCC 4.9-2014.08)) #208 Tue Jan 16 14:23:44 CET 2018 >> CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c53c7d >> CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction >> cache >> OF: fdt: Machine model: Axentia Linea-Nattis v2 Natte v2 >> Memory policy: Data cache writeback >> CPU: All CPU(s) started in SVC mode. >> random: fast init done >> Built 1 zonelists, mobility grouping on. Total pages: 16256 >> Kernel command line: console=ttyS0,115200 rw consoleblank=0 ip=none >> root=ubi0:rootfs ubi.mtd=6 rootfstype=ubifs noinitrd >> mtdparts=atmel_nand:256k(at91bootstrap),384k(barebox)ro,256k@768k(bareboxenv),256k(bareboxenv2),128k@1536k(oftree),5M@2M(kernel),-@8M(rootfs) >> Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) >> Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) >> Memory: 56244K/65536K available (5120K kernel code, 183K rwdata, 1064K >> rodata, 1024K init, 108K bss, 9292K reserved, 0K cma-reserved) >> Virtual kernel memory layout: >> vector : 0xffff0000 - 0xffff1000 ( 4 kB) >> fixmap : 0xffc00000 - 0xfff00000 (3072 kB) >> vmalloc : 0xc4800000 - 0xff800000 ( 944 MB) >> lowmem : 0xc0000000 - 0xc4000000 ( 64 MB) >> .text : 0x(ptrval) - 0x(ptrval) (6112 kB) >> .init : 0x(ptrval) - 0x(ptrval) (1024 kB) >> .data : 0x(ptrval) - 0x(ptrval) ( 184 kB) >> .bss : 0x(ptrval) - 0x(ptrval) ( 109 kB) >> NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 >> clocksource: pit: mask: 0xfffffff max_cycles: 0xfffffff, max_idle_ns: >> 14479245754 ns >> sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every >> 21474836475000000ns >> Console: colour dummy device 80x30 >> Calibrating delay loop... 351.43 BogoMIPS (lpj=1757184) >> pid_max: default: 32768 minimum: 301 >> Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) >> Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) >> CPU: Testing write buffer coherency: ok >> Setting up static identity map for 0x20100000 - 0x20100060 >> devtmpfs: initialized >> VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1 >> clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, >> max_idle_ns: 19112604462750000 ns >> futex hash table entries: 256 (order: -1, 3072 bytes) >> pinctrl core: initialized pinctrl subsystem >> NET: Registered protocol family 16 >> DMA: preallocated 256 KiB pool for atomic coherent allocations >> AT91: PM: standby: standby, suspend: ulp0 >> No ATAGs? >> gpio-at91 fffff200.gpio: at address 45a5b6d3 >> gpio-at91 fffff400.gpio: at address d0c9dba6 >> gpio-at91 fffff600.gpio: at address fb737fc9 >> gpio-at91 fffff800.gpio: at address c5aa2ee6 >> gpio-at91 fffffa00.gpio: at address 4663f5ca >> pinctrl-at91 ahb:apb:pinctrl@fffff200: initialized AT91 pinctrl driver >> clocksource: tcb_clksrc: mask: 0xffffffff max_cycles: 0xffffffff, >> max_idle_ns: 115833966437 ns >> at_hdmac ffffe600.dma-controller: Atmel AHB DMA Controller ( cpy set >> slave ), 8 channels >> at_hdmac ffffe800.dma-controller: Atmel AHB DMA Controller ( cpy set >> slave ), 8 channels >> AT91: Detected SoC family: sama5d3 >> AT91: Detected SoC: sama5d31, revision 2 >> usbcore: registered new interface driver usbfs >> usbcore: registered new interface driver hub >> usbcore: registered new device driver usb >> at91_i2c f0014000.i2c: using dma0chan0 (tx) and dma0chan1 (rx) for DMA >> transfers >> at91_i2c f0014000.i2c: AT91 i2c bus driver (hw version: 0x402). >> clocksource: Switched to clocksource tcb_clksrc >> NET: Registered protocol family 2 >> tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes) >> TCP established hash table entries: 1024 (order: 0, 4096 bytes) >> TCP bind hash table entries: 1024 (order: 0, 4096 bytes) >> TCP: Hash tables configured (established 1024 bind 1024) >> UDP hash table entries: 256 (order: 0, 4096 bytes) >> UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) >> NET: Registered protocol family 1 >> Initialise system trusted keyrings >> workingset: timestamp_bits=30 max_order=14 bucket_order=0 >> Key type asymmetric registered >> Asymmetric key parser 'x509' registered >> io scheduler noop registered (default) >> io scheduler mq-deadline registered >> io scheduler kyber registered >> f001c000.serial: ttyS1 at MMIO 0xf001c000 (irq = 22, base_baud = >> 4125000) is a ATMEL_SERIAL >> ffffee00.serial: ttyS0 at MMIO 0xffffee00 (irq = 30, base_baud = >> 8250000) is a ATMEL_SERIAL >> console [ttyS0] enabled >> loop: module loaded >> ssc f0008000.ssc: Atmel SSC device at 0x6a12493c (irq 19) >> ssc f0008000.ssc: failed to auto-setup ssc for audio >> at24 0-0051: 8192 byte 24c64 EEPROM, writable, 32 bytes/write >> at24 0-0050: 256 byte 24c02 EEPROM, writable, 16 bytes/write >> [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). >> [drm] No driver support for vblank timestamp query. >> atmel-hlcdc-display-controller atmel-hlcdc-dc: failed to create HLCDC >> outputs: -517 >> atmel-hlcdc-display-controller atmel-hlcdc-dc: failed to initialize >> mode setting >> ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver >> ehci-atmel: EHCI Atmel driver >> atmel_usba_udc 500000.gadget: MMIO registers at 0xf8030000 mapped at >> ff1022ba >> atmel_usba_udc 500000.gadget: FIFO at 0x00500000 mapped at 3b2532b1 >> g_serial gadget: Gadget Serial v2.4 >> g_serial gadget: g_serial ready >> at91_rtc fffffeb0.rtc: registered as rtc0 >> at91_rtc fffffeb0.rtc: AT91 Real Time Clock driver. >> i2c /dev entries driver >> AT91: Starting after wakeup >> atmel_mci f0000000.mmc: version: 0x505 >> atmel_mci f0000000.mmc: using dma0chan2 for DMA transfers >> atmel_mci f0000000.mmc: Atmel MCI controller at 0xf0000000 irq 18, 1 >> slots >> atmel_aes f8038000.aes: version: 0x135 >> atmel_aes f8038000.aes: Atmel AES - Using dma1chan0, dma1chan1 for DMA >> transfers >> atmel_sha f8034000.sha: version: 0x410 >> atmel_sha f8034000.sha: using dma1chan2 for DMA transfers >> atmel_sha f8034000.sha: Atmel SHA1/SHA256/SHA224/SHA384/SHA512 >> atmel_tdes f803c000.tdes: version: 0x701 >> atmel_tdes f803c000.tdes: using dma1chan3, dma1chan4 for DMA transfers >> atmel_tdes f803c000.tdes: Atmel DES/TDES >> usbcore: registered new interface driver usbhid >> usbhid: USB HID core driver >> nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xac >> nand: Micron MT29F4G08ABBDAHC >> nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 >> Bad block table found at page 262080, version 0x01 >> Bad block table found at page 262016, version 0x01 >> 6 ofpart partitions found on MTD device atmel_nand >> Creating 6 MTD partitions on "atmel_nand": >> 0x000000000000-0x000000040000 : "at91bootstrap" >> 0x000000040000-0x0000000c0000 : "bootloader" >> 0x0000000c0000-0x000000180000 : "bootloader env" >> 0x000000180000-0x000000200000 : "device tree" >> 0x000000200000-0x000000800000 : "kernel" >> 0x000000800000-0x000010000000 : "rootfs" >> NET: Registered protocol family 10 >> Segment Routing with IPv6 >> sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver >> NET: Registered protocol family 17 >> Loading compiled-in X.509 certificates >> [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). >> [drm] No driver support for vblank timestamp query. >> atmel-hlcdc-display-controller atmel-hlcdc-dc: fb0: frame buffer >> device >> [drm] Initialized atmel-hlcdc 1.0.0 20141504 for atmel-hlcdc-dc on >> minor 0 >> UBI error: cannot open mtd 6, error -19 >> input: gpio-keys as /devices/platform/gpio-keys/input/input0 >> at91_rtc fffffeb0.rtc: setting system clock to 2007-01-01 00:00:08 UTC >> (1167609608) >> panel-VCC: disabling >> panel-VDD: disabling >> atmel_usart ffffee00.serial: using dma1chan5 for rx DMA transfers >> Kernel panic - not syncing: VFS: Unable to mount root fs on >> unknown-block(0,0) >> CPU: 0 PID: 1 Comm: swapper Not tainted 4.15.0-rc8-next-20180116 #208 >> Hardware name: Atmel SAMA5 >> [] (unwind_backtrace) from [] >> (show_stack+0x10/0x14) >> [] (show_stack) from [] (panic+0xc8/0x254) >> [] (panic) from [] (mount_block_root+0x23c/0x2f8) >> [] (mount_block_root) from [] >> (prepare_namespace+0xa8/0x19c) >> [] (prepare_namespace) from [] >> (kernel_init_freeable+0x1bc/0x1cc) >> [] (kernel_init_freeable) from [] >> (kernel_init+0x8/0x10c) >> [] (kernel_init) from [] (ret_from_fork+0x14/0x2c) >> Exception stack(0xc3821fb0 to 0xc3821ff8) >> 1fa0: 00000000 00000000 00000000 >> 00000000 >> 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 >> 00000000 >> 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 >> ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on >> unknown-block(0,0) >> >> >> I bisected it to: >> >> 4ac9222778478a00c7fc9d347b7ed1e0e595120d is the first bad commit >> commit 4ac9222778478a00c7fc9d347b7ed1e0e595120d >> Author: Rafał Miłecki >> Date: Thu Jan 4 08:05:34 2018 +0100 >> >> mtd: ofpart: add of_match_table with "fixed-partitions" >> >> This allows using this parser with any flash driver that takes care >> of >> setting of_node (using mtd_set_of_node helper) correctly. Up to now >> support for "fixed-partitions" DT compatibility string was working >> only >> with flash drivers that were specifying "ofpart" (manually or by >> letting >> mtd use the default set of parsers). >> >> This matches existing bindings documentation. >> >> Signed-off-by: Rafał Miłecki >> Reviewed-by: Brian Norris >> Tested-by: Brian Norris >> Signed-off-by: Boris Brezillon >> >> >> Reverting that patch on top of next-20180116 fixes the problem. >> >> I'm using the arch/arm/boot/dts/at91-nattis-2-natte-2.dts device tree >> which for >> the record is kind of new in the upstream kernel, but I have been using >> that dts >> for a while previously. However, I'd put my money on at91-tse850-3.dts >> also >> being affected, and that one have been upstream for a while. Haven't >> tested the >> tse850 device tree though... > > Peter, above patch was dropped, together with the one adding support for > the "of_match_table". > > I just sent V8 of my changes, hopefully they don't cause regression this > time. > > Would you be able to test following two patches & verify that your > device > still works, please? > [PATCH V8 1/2] mtd: partitions: add of_match_table parser matching > [PATCH V8 2/2] mtd: ofpart: add of_match_table with "fixed-partitions" > https://patchwork.ozlabs.org/patch/862075/ > https://patchwork.ozlabs.org/patch/862076/ > Ok, so I started with next-20180116, and: 1. verified that it still panicked. 2. reverted bb2192123ec7 "mtd: partitions: add of_match_table parser matching" 4ac922277847 "mtd: ofpart: add of_match_table with "fixed-partitions"" 3. applied the V8-series. 4. verified that the device boots, so cmdline seems to be considered. Yay! Tested-by: Peter Rosin Cheers, Peter