linux-omap4 install fails on inexpensive centon 8GB usb stick - EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 3, 0 blocks in bitmap, 32354 in gd

Bug #828817 reported by mahmoh
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linaro-landing-team-ti
New
Undecided
Unassigned
linux-ti-omap4 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Build Version/Date: 20101020ubuntu56
Environment used for testing: pandaboard A2

Summary: linux-omap4 install fails on inexpensive usb stick - EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 3, 0 blocks in bitmap, 32354 in gd

Steps to Reproduce: boot woth arm net install and install to an inexpensive centon 8GB usb stick

Expected result: install completes

Actual result: install fails at kernel install (intermittently, on two new sticks)

/ubuntu-ports/dists/oneiric/main/installer-armel/20101020ubuntu56/images/omap4/netboot/

uImage 18-Aug-2011 02:03 3.9M
uInitrd 18-Aug-2011 02:03 4.0M

Linux ubuntu 3.0.0-1202-omap4 #6-Ubuntu SMP PREEMPT Wed Aug 17 13:21:07 UTC 2011 armv7l GNU/Linux

syslog:
...
Aug 18 13:52:05 in-target: flash-kernel
Aug 18 13:52:05 in-target: The following NEW packages will be installed:
Aug 18 13:52:05 in-target: linux-firmware linux-image-3.0.0-1202-omap4 linux-image-omap4 linux-omap4
Aug 18 13:52:05 in-target: wireless-crda
Aug 18 13:52:05 in-target: 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Aug 18 13:52:05 in-target: Need to get 34.6 MB of archives.
Aug 18 13:52:05 in-target: After this operation, 79.5 MB of additional disk space will be used.
Aug 18 13:52:05 in-target: WARNING: The following packages cannot be authenticated!
Aug 18 13:52:05 in-target: wireless-crda linux-image-3.0.0-1202-omap4 linux-firmware linux-image-omap4
Aug 18 13:52:05 in-target: linux-omap4
Aug 18 13:52:05 in-target: Authentication warning overridden.
Aug 18 13:52:05 in-target: Get:1 http://ports.ubuntu.com/ubuntu-ports/ oneiric/main wireless-crda armel 1.14 [15.1 kB]
Aug 18 13:52:05 in-target: Get:2 http://ports.ubuntu.com/ubuntu-ports/ oneiric/main linux-image-3.0.0-1202-omap4 armel 3.0.0-1202.6 [14.1 MB]
Aug 18 13:52:13 in-target: Get:3 http://ports.ubuntu.com/ubuntu-ports/ oneiric/main linux-firmware all 1.59 [20.5 MB]
Aug 18 13:52:18 in-target: Get:4 http://ports.ubuntu.com/ubuntu-ports/ oneiric/main linux-image-omap4 armel 3.0.0.1202.2 [2,480 B]
Aug 18 13:52:18 in-target: Get:5 http://ports.ubuntu.com/ubuntu-ports/ oneiric/main linux-omap4 armel 3.0.0.1202.2 [1,736 B]
Aug 18 13:52:19 in-target: Fetched 34.6 MB in 13s (2,619 kB/s)
Aug 18 13:52:20 in-target: Selecting previously deselected package wireless-crda.
Aug 18 13:52:20 in-target: (Reading database ...
Aug 18 13:52:20 in-target: 10444 files and directories currently installed.)
Aug 18 13:52:20 in-target: Unpacking wireless-crda (from .../wireless-crda_1.14_armel.deb) ...
Aug 18 13:52:22 in-target: Selecting previously deselected package linux-image-3.0.0-1202-omap4.
Aug 18 13:52:22 in-target: Unpacking linux-image-3.0.0-1202-omap4 (from .../linux-image-3.0.0-1202-omap4_3.0.0-1202.6_armel.deb) ...
Aug 18 13:52:22 in-target: Done.
Aug 18 13:52:42 kernel: [ 911.799896] EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 3, 0 blocks in bitmap, 32354 in gd
Aug 18 13:52:42 kernel: [ 911.799896] Aborting journal on device sda2-8.
Aug 18 13:52:42 kernel: [ 912.156524] EXT4-fs (sda2): Remounting filesystem read-only
Aug 18 13:52:42 kernel: [ 912.164581] EXT4-fs (sda2): ext4_da_writepages: jbd2_start: 1402 pages, ino 695; err -30
Aug 18 13:52:46 kernel: [ 916.414154] EXT4-fs error (device sda2) in ext4_reserve_inode_write:5619: Journal has aborted
Aug 18 13:52:47 in-target: dpkg: error processing /var/cache/apt/archives/linux-image-3.0.0-1202-omap4_3.0.0-1202.6_armel.deb (--unpack):
Aug 18 13:52:47 in-target: failed in write on buffer copy for backend dpkg-deb during `./lib/modules/3.0.0-1202-omap4/kernel/drivers/bluetooth/bfusb.ko': Read-only file system
Aug 18 13:52:47 in-target: dpkg: error while cleaning up:
Aug 18 13:52:47 in-target: unable to remove newly-extracted version of `/lib/modules/3.0.0-1202-omap4/kernel/drivers/bluetooth/bfusb.ko': Read-only file system
Aug 18 13:52:47 in-target: dpkg: error while cleaning up:
Aug 18 13:52:47 in-target: unable to remove newly-extracted version of `/lib/modules/3.0.0-1202-omap4/kernel/drivers/bluetooth/ath3k.ko': Read-only file system
Aug 18 13:52:47 in-target: dpkg: error while cleaning up:
Aug 18 13:52:47 in-target: unable to remove newly-extracted version of `/lib/modules/3.0.0-1202-omap4/kernel/drivers/bluetooth/bpa10x.ko': Read-only file system
Aug 18 13:52:47 in-target: dpkg: error while cleaning up:
Aug 18 13:52:47 in-target: unable to remove newly-extracted version of `/lib/modules/3.0.0-1202-omap4/kernel/drivers/bluetooth/bcm203x.ko': Read-only file sytem
...

lsusb:
...
Bus 001 Device 004: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  idVendor 0x058f Alcor Micro Corp.
  idProduct 0x6387 Transcend JetFlash Flash Drive
  bcdDevice 1.03
  iManufacturer 1 CENTON
  iProduct 2 CENTON USB
  iSerial 3 95B77AAE
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 32
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0x80
      (Bus Powered)
    MaxPower 100mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 8 Mass Storage
      bInterfaceSubClass 6 SCSI
      bInterfaceProtocol 80 Bulk (Zip)
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x01 EP 1 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x82 EP 2 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
Device Qualifier (for other device speed):
  bLength 10
  bDescriptorType 6
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  bNumConfigurations 1
Device Status: 0x0000
  (Bus Powered)

dmesg:
...
[ 170.990356] Adding 999420k swap on /dev/sda3. Priority:-1 extents:1 across:999420k
[ 202.846618] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: errors=remount-ro
[ 911.799896] EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 3, 0 blocks in bitmap, 32354 in gd
[ 911.799896] Aborting journal on device sda2-8.
[ 912.156524] EXT4-fs (sda2): Remounting filesystem read-only
[ 912.164581] EXT4-fs (sda2): ext4_da_writepages: jbd2_start: 1402 pages, ino 695; err -30
[ 916.414154] EXT4-fs error (device sda2) in ext4_reserve_inode_write:5619: Journal has aborted

mahmoh (mahmoh)
affects: oem-priority → private-ti-omap
affects: private-ti-omap → linux-linaro
mahmoh (mahmoh)
affects: linux-linaro → ubuntu
affects: ubuntu → linux-linaro
Revision history for this message
mahmoh (mahmoh) wrote :

Fails in other places, not just kernel installation it appears:

...
Aug 18 18:29:01 in-target: Selecting previously deselected package iso-codes.
Aug 18 18:29:01 in-target: Unpacking iso-codes (from .../iso-codes_3.27-1_all.deb) ...
Aug 18 18:29:13 kernel: [ 8488.498413] EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 5, 0 blocks in bitmap, 32354 in gd
Aug 18 18:29:13 kernel: [ 8488.498413] Aborting journal on device sda2-8.
Aug 18 18:29:14 in-target: dpkg: error processing /var/cache/apt/archives/iso-codes_3.27-1_all.deb (--unpack):
Aug 18 18:29:14 in-target: failed in write on buffer copy for backend dpkg-deb during `./usr/share/locale/lt/LC_MESSAGES/iso_639_3.mo': Read-only file system
Aug 18 18:29:14 in-target: dpkg: error while cleaning up:
Aug 18 18:29:14 in-target: unable to remove newly-extracted version of `/usr/share/locale/lt/LC_MESSAGES/iso_639_3.mo': Read-only file system
Aug 18 18:29:14 in-target: dpkg: error while cleaning up:
Aug 18 18:29:14 in-target: unable to remove newly-extracted version of `/usr/share/locale/lt/LC_MESSAGES/iso_4217.mo': Read-only file system
Aug 18 18:29:14 in-target: dpkg: error while cleaning up:
Aug 18 18:29:14 in-target: unable to remove newly-extracted version of `/usr/share/locale/lt/LC_MESSAGES/iso_3166_2.mo': Read-only file system
Aug 18 18:29:14 in-target: dpkg: error while cleaning up:
Aug 18 18:29:14 in-target: unable to remove newly-extracted version of `/usr/share/locale/lt/LC_MESSAGES/iso_3166.mo': Read-only file system
Aug 18 18:29:14 in-target: dpkg: error while cleaning up:
Aug 18 18:29:14 kernel: [ 8488.984558] EXT4-fs (sda2): Remounting filesystem read-only
Aug 18 18:29:14 kernel: [ 8488.990142] EXT4-fs (sda2): ext4_da_writepages: jbd2_start: 1013 pages, ino 7738; err -30
Aug 18 18:29:14 in-target: unable to remove newly-extracted version of `/usr/share/locale/ru/LC_MESSAGES/iso_639.mo': Read-only file system
Aug 18 18:29:14 in-target: dpkg: error while cleaning up:
Aug 18 18:29:14 in-target: unable to remove newly-extracted version of `/usr/share/locale/ru/LC_MESSAGES/iso_15924.mo': Read-only file system
...

Revision history for this message
Paolo Pisati (p-pisati) wrote :

does it work with other usb sticks? did you try to install ubuntu x86 on the problematic sticks?

Revision history for this message
mahmoh (mahmoh) wrote :

I haven't tried other sticks (yet) and haven't tried x86 (yet).

Loïc Minier (lool)
visibility: private → public
Paolo Pisati (p-pisati)
Changed in linux-ti-omap4 (Ubuntu):
status: New → Invalid
Linus Walleij (triad)
affects: linux-linaro → linaro-landing-team-ti
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.