Package: mtd-utils Version: 20100706-1 Severity: normal When building a UBI image for my OpenRD (as detailed on my website[1]) I found that when mtd-utils updated yesterday to 20100706-1, I could not longer build usable UBI images. Grumbles regarding CRC errors, as you can see below.
Cheers [1] http://www.digriz.org.uk/kirkwood ---- mtd-utils 20090606 ---- Uncompressing Linux... done, booting the kernel. [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.32-5-kirkwood (Debian 2.6.32-18) (b...@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-2) ) #1 Sat Jul 24 13:37:14 UTC 2010 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053177 [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Machine: Marvell OpenRD Client Board [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 [ 0.000000] Kernel command line: console=ttyS0,115200 panic=10 ubi.mtd=root root=ubi0:rootfs rootfstype=ubifs rw [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 256MB 256MB = 512MB total [ 0.000000] Memory: 515200KB available (3508K code, 582K data, 124K init, 0K highmem) [ 0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:114 [ 0.000000] Console: colour dummy device 80x30 [snipped] [ 22.077891] NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit) [ 22.086410] Scanning device for bad blocks [ 22.242376] Creating 3 MTD partitions on "orion_nand": [ 22.247546] 0x000000000000-0x000000100000 : "u-boot" [ 22.253134] 0x000000100000-0x000000500000 : "uImage" [ 22.258608] 0x000000500000-0x000020000000 : "root" [ 22.264505] UBI: attaching mtd2 to ubi0 [ 22.268357] UBI: physical eraseblock size: 131072 bytes (128 KiB) [ 22.274670] UBI: logical eraseblock size: 129024 bytes [ 22.280091] UBI: smallest flash I/O unit: 2048 [ 22.284827] UBI: sub-page size: 512 [ 22.289466] UBI: VID header offset: 512 (aligned 512) [ 22.295334] UBI: data offset: 2048 [ 22.753002] UBI: volume 0 ("rootfs") re-sized from 1301 to 4012 LEBs [ 22.759784] UBI: attached mtd2 to ubi0 [ 22.763574] UBI: MTD device name: "root" [ 22.768472] UBI: MTD device size: 507 MiB [ 22.773470] UBI: number of good PEBs: 4056 [ 22.778194] UBI: number of bad PEBs: 0 [ 22.782668] UBI: max. allowed volumes: 128 [ 22.787308] UBI: wear-leveling threshold: 4096 [ 22.792042] UBI: number of internal volumes: 1 [ 22.796507] UBI: number of user volumes: 1 [ 22.800971] UBI: available PEBs: 0 [ 22.805444] UBI: total number of reserved PEBs: 4056 [ 22.810433] UBI: number of PEBs reserved for bad PEB handling: 40 [ 22.816563] UBI: max/mean erase counter: 1/0 [ 22.820852] UBI: image sequence number: 0 [ 22.824898] UBI: background thread "ubi_bgt0d" started, PID 26 [ 22.832302] mice: PS/2 mouse device common for all mice [ 22.842123] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0 [ 22.848045] i2c /dev entries driver [ 22.861953] cpuidle: using governor ladder [ 22.866189] cpuidle: using governor menu [ 22.870203] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver [ 22.891961] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver [ 22.931977] mv_xor mv_xor.0: Marvell XOR: ( xor cpy ) [ 22.971975] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy ) [ 23.011974] mv_xor mv_xor.2: Marvell XOR: ( xor cpy ) [ 23.051975] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy ) [ 23.058742] TCP cubic registered [ 23.062011] NET: Registered protocol family 17 [ 23.082288] registered taskstats version 1 [ 23.087145] rtc-mv rtc-mv: setting system clock to 2010-08-10 10:51:42 UTC (1281437502) [ 23.095205] Initalizing network drop monitor service [ 23.362863] UBIFS: mounted UBI device 0, volume 0, name "rootfs" [ 23.368908] UBIFS: file system size: 516225024 bytes (504126 KiB, 492 MiB, 4001 LEBs) [ 23.376968] UBIFS: journal size: 9033728 bytes (8822 KiB, 8 MiB, 71 LEBs) [ 23.384326] UBIFS: media format: w4/r0 (latest is w4/r0) [ 23.390183] UBIFS: default compressor: zlib [ 23.394395] UBIFS: reserved for root: 0 bytes (0 KiB) [ 23.443411] VFS: Mounted root (ubifs filesystem) on device 0:13. [ 23.449473] Freeing init memory: 124K INIT: version 2.86 booting Using shell-style concurrent boot in runlevel S. hostname: the specified hostname is invalid Starting the hotplug events dispatcher: udevd. Synthesizing the initial hotplug events...done. Waiting for /dev to be fully populated...[ 30.906698] SCSI subsystem initialized [ 31.286589] usbcore: registered new interface driver usbfs [ 31.303638] usbcore: registered new interface driver hub [ 31.338665] usbcore: registered new device driver usb [ 31.803991] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 32.833452] mmc0: mvsdio driver initialized, using GPIO 29 for card detection [ 32.842901] orion-ehci orion-ehci.0: Marvell Orion EHCI [ 32.848200] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1 [ 32.892013] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000 [ 32.911951] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00 [ 32.917954] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 32.924798] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 32.932065] usb usb1: Product: Marvell Orion EHCI [ 32.936796] usb usb1: Manufacturer: Linux 2.6.32-5-kirkwood ehci_hcd [ 32.943192] usb usb1: SerialNumber: orion-ehci.0 [ 32.972905] usb usb1: configuration #1 chosen from 1 choice [ 32.981987] hub 1-0:1.0: USB hub found [ 32.985783] hub 1-0:1.0: 1 port detected [ 32.989931] sata_mv sata_mv.0: version 1.28 [ 32.998090] sata_mv sata_mv.0: slots 32 ports 2 [ 33.022026] scsi0 : sata_mv [ 33.032023] scsi1 : sata_mv [ 33.035996] ata1: SATA max UDMA/133 irq 21 [ 33.040113] ata2: SATA max UDMA/133 irq 21 [ 33.044325] MV-643xx 10/100/1000 ethernet driver version 1.4 [ 33.052505] mv643xx_eth smi: probed [ 33.301975] usb 1-1: new high speed USB device using orion-ehci and address 2 [ 33.401969] ata1: SATA link down (SStatus 0 SControl F300) [ 33.482294] usb 1-1: New USB device found, idVendor=0424, idProduct=2517 [ 33.489028] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 33.543132] usb 1-1: configuration #1 chosen from 1 choice [ 33.582936] hub 1-1:1.0: USB hub found [ 33.591986] hub 1-1:1.0: 7 ports detected [ 33.751999] ata2: SATA link down (SStatus 0 SControl F300) [ 34.474926] net eth0: port 0 with MAC address 00:50:43:15:0b:19 [ 35.265486] net eth1: port 0 with MAC address 00:50:43:79:0b:19 done. Activating swap...done. Cleaning up ifupdown.... Loading kernel modules...done. Checking file systems...fsck 1.41.3 (12-Oct-2008) done. Setting kernel variables (/etc/sysctl.conf)...done. Mounting local filesystems...done. Activating swapfile swap...done. Setting up networking.... Configuring network interfaces...done. INIT: Entering runlevel: 2 Using shell-style concurrent boot in runlevel 2. Debian GNU/Linux 5.0 (none) ttyS0 (none) login: ---- ---- mtd-utils 20100706 ---- Uncompressing Linux... done, booting the kernel. [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.32-5-kirkwood (Debian 2.6.32-18) (b...@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-2) ) #1 Sat Jul 24 13:37:14 UTC 2010 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053177 [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Machine: Marvell OpenRD Client Board [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 [ 0.000000] Kernel command line: console=ttyS0,115200 panic=10 ubi.mtd=root root=ubi0:rootfs rootfstype=ubifs rw [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 256MB 256MB = 512MB total [ 0.000000] Memory: 515200KB available (3508K code, 582K data, 124K init, 0K highmem) [ 0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:114 [ 0.000000] Console: colour dummy device 80x30 [snipped] [ 22.077899] NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit) [ 22.086419] Scanning device for bad blocks [ 22.242383] Creating 3 MTD partitions on "orion_nand": [ 22.247555] 0x000000000000-0x000000100000 : "u-boot" [ 22.253143] 0x000000100000-0x000000500000 : "uImage" [ 22.258618] 0x000000500000-0x000020000000 : "root" [ 22.264517] UBI: attaching mtd2 to ubi0 [ 22.268375] UBI: physical eraseblock size: 131072 bytes (128 KiB) [ 22.274687] UBI: logical eraseblock size: 129024 bytes [ 22.280108] UBI: smallest flash I/O unit: 2048 [ 22.284845] UBI: sub-page size: 512 [ 22.289483] UBI: VID header offset: 512 (aligned 512) [ 22.295351] UBI: data offset: 2048 [ 22.752247] UBI: attached mtd2 to ubi0 [ 22.756012] UBI: MTD device name: "root" [ 22.760912] UBI: MTD device size: 507 MiB [ 22.765918] UBI: number of good PEBs: 4056 [ 22.770643] UBI: number of bad PEBs: 0 [ 22.775118] UBI: max. allowed volumes: 128 [ 22.779755] UBI: wear-leveling threshold: 4096 [ 22.784491] UBI: number of internal volumes: 1 [ 22.788955] UBI: number of user volumes: 1 [ 22.793428] UBI: available PEBs: 0 [ 22.797893] UBI: total number of reserved PEBs: 4056 [ 22.802890] UBI: number of PEBs reserved for bad PEB handling: 40 [ 22.809012] UBI: max/mean erase counter: 1/0 [ 22.813310] UBI: image sequence number: 1377331484 [ 22.818132] UBI: background thread "ubi_bgt0d" started, PID 26 [ 22.824368] mice: PS/2 mouse device common for all mice [ 22.842119] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0 [ 22.848045] i2c /dev entries driver [ 22.861960] cpuidle: using governor ladder [ 22.866198] cpuidle: using governor menu [ 22.870202] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver [ 22.881962] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver [ 22.921976] mv_xor mv_xor.0: Marvell XOR: ( xor cpy ) [ 22.961975] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy ) [ 23.001975] mv_xor mv_xor.2: Marvell XOR: ( xor cpy ) [ 23.041975] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy ) [ 23.048743] TCP cubic registered [ 23.052009] NET: Registered protocol family 17 [ 23.072289] registered taskstats version 1 [ 23.077142] rtc-mv rtc-mv: setting system clock to 2010-08-10 10:44:03 UTC (1281437043) [ 23.085203] Initalizing network drop monitor service [ 23.113451] UBIFS error (pid 1): ubifs_check_node: bad CRC: calculated 0x2b3dd76f, read 0x8f8b58e9 [ 23.122474] UBIFS error (pid 1): ubifs_check_node: bad node at LEB 0:0 [ 23.129037] UBIFS error (pid 1): ubifs_read_node: expected node type 6 [ 23.162013] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0) [ 23.169095] Please append a correct "root=" boot option; here are the available partitions: [ 23.177505] 1f00 1024 mtdblock0 (driver?) [ 23.182513] 1f01 4096 mtdblock1 (driver?) [ 23.187508] 1f02 519168 mtdblock2 (driver?) [ 23.192512] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 23.200844] [<c002dee4>] (unwind_backtrace+0x0/0xdc) from [<c02b5c68>] (panic+0x34/0x128) [ 23.209084] [<c02b5c68>] (panic+0x34/0x128) from [<c0008fb0>] (mount_block_root+0x25c/0x2b4) [ 23.217581] [<c0008fb0>] (mount_block_root+0x25c/0x2b4) from [<c0009100>] (prepare_namespace+0x8c/0x198) [ 23.227128] [<c0009100>] (prepare_namespace+0x8c/0x198) from [<c00085e0>] (kernel_init+0xf0/0x12c) [ 23.236144] [<c00085e0>] (kernel_init+0xf0/0x12c) from [<c0028e7c>] (kernel_thread_exit+0x0/0x8) [ 23.244982] Rebooting ---- -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (900, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.35+ (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages mtd-utils depends on: ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib ii liblzo2-2 2.03-2 data compression library ii libuuid1 2.17.2-3.1 Universally Unique ID library ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime mtd-utils recommends no packages. mtd-utils suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org