Bananian Linux

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000186Bananian Linux(No Category)public2016-01-23 13:302016-05-14 11:04
Reportertahder 
Assigned ToNico 
PriorityhighSeveritycrashReproducibilityalways
StatusresolvedResolutionunable to reproduce 
Product Version15.08 
Target VersionFixed in Version 
Summary0000186: Keeps rebooted once USB drive is attached
DescriptionMy Banana Pi M2 keeps rebooted after login once you attach a USB drive formatted to NTFS (not tested to other filesystem).

As per observation, once you attach too the USB drive before turning ON the banana pi it will have the same issue.
Steps To Reproduce1. Connect/Attach USB drive (not beside the gigabit ethernet port, as not working)
2. Turn on the banana pi
3. Login
4. will reboot

But no issue if:
1. Turn on the banana pi and then login
2. Connect the USB, but if reboot then same issue above.
Additional InformationBananian Linux for Banana Pi M2 - 2015-12-23
Linux bananapi 4.3.3-bananian 0000006 SMP Wed Dec 23 13:21:58 UTC 2015 armv7l GNU/Linux


Disk /dev/mmcblk0: 7.4 GiB, 7969177600 bytes, 15564800 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0c<remove>

Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 2048 43007 40960 20M 83 Linux
/dev/mmcblk0p2 43008 15564799 15521792 7.4G 83 Linux

Disk /dev/sda: 4.6 TiB, 5000947302400 bytes, 1220934400 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: <remove>

Device Start End Sectors Size Type
/dev/sda1 6 32773 32768 128M EFI System
/dev/sda2 48640 523903487 523854848 2T Microsoft basic data
/dev/sda3 523903488 964933631 441030144 1.7T Microsoft basic data
/dev/sda4 964933888 1220933887 256000000 976.6G Microsoft basic data


DMESG log (mmcblk0p2 as it keeps rebooting, which system advise to check the disk)
Remove the USD drive, upon booting

[ 6.025809] usb 1-1.3: Manufacturer: Logitech
[ 6.050477] input: Logitech USB Receiver as /devices/platform/soc@01c00000/1c1a000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C52E.0001/input/input0
[ 6.134931] hid-generic 0003:046D:445523.0001: input: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-1c1a000.usb-1.3/input0
[ 6.164912] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[ 6.165676] input: Logitech USB Receiver as /devices/platform/soc@01c00000/1c1a000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C52E.0002/input/input1
[ 6.224922] hid-generic 0003:046D:C52E.0002: input: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-1c1a000.usb-1.3/input1
[ 6.302157] EXT4-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended
[ 6.324827] usb 1-1.4: new high-speed USB device number 4 using ehci-platform
[ 6.487252] usb 1-1.4: New USB device found, idVendor=1058, idProduct=107c
[ 6.506782] usb 1-1.4: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[ 6.526671] usb 1-1.4: Product: Elements 107C
[ 6.543479] usb 1-1.4: Manufacturer: Western Digital
[ 6.560827] usb 1-1.4: SerialNumber: <remove>
[ 6.580401] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[ 6.599366] scsi host0: usb-storage 1-1.4:1.0
[ 6.997853] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 7.013673] usbcore: registered new interface driver uas
[ 7.215632] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[ 7.609381] Adding 524284k swap on /swapfile1. Priority:-1 extents:3 across:622588k SSFS
[ 7.631604] scsi 0:0:0:0: Direct-Access WD Elements 107C 1065 PQ: 0 ANSI: 6
[ 7.659190] sd 0:0:0:0: [sda] Spinning up disk...
[ 7.678291] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 7.775307] EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:758: group 2, block bitmap and bg descriptor inconsistent: 17923 vs 17928 free clusters
[ 7.802187] EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:758: group 3, block bitmap and bg descriptor inconsistent: 18639 vs 18640 free clusters
[ 7.828973] EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:758: group 4, block bitmap and bg descriptor inconsistent: 28905 vs 28906 free clusters
[ 8.449572] random: nonblocking pool is initialized
[ 8.684833] ..
[ 10.138179] EXT4-fs error (device mmcblk0p2): mb_free_blocks:1454: group 5,
[ 10.157646] inode 46: block 174080:freeing already freed block (bit 10240); block bitmap corrupt.
[ 10.177936] EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:758: group 5, block bitmap and bg descriptor inconsistent: 9018 vs 9019 free clusters
[ 10.233502] RX IPC Checksum Offload disabled
[ 10.250934] No MAC Management Counters available
[ 10.704829] .
[ 11.384029] usb 1-1.4: USB disconnect, device number 4
[ 11.714815] .ready
[ 11.736579] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=0x01 driverbyte=0x00
[ 11.764762] sd 0:0:0:0: [sda] Sense not available.
[ 11.796457] sd 0:0:0:0: [sda] Write Protect is off
[ 11.814246] sd 0:0:0:0: [sda] Mode Sense: 00 00 00 00
[ 11.814328] sd 0:0:0:0: [sda] No Caching mode page found
[ 11.832638] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 11.852896] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=0x01 driverbyte=0x00
[ 11.875325] sd 0:0:0:0: [sda] Sense not available.
[ 11.893342] sd 0:0:0:0: [sda] Attached SCSI disk
[ 12.215141] sun7i-dwmac 1c30000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 16.766025] EXT4-fs error (device mmcblk0p2): ext4_lookup:1584: inode #11591: comm dhclient-script: deleted inode referenced: 48
[ 16.837269] EXT4-fs error (device mmcblk0p2): ext4_lookup:1584: inode #11591: comm mv: deleted inode referenced: 48
[ 16.960312] EXT4-fs error (device mmcblk0p2): ext4_lookup:1584: inode #11591: comm ntp: deleted inode referenced: 48
[ 17.027537] EXT4-fs error (device mmcblk0p2): ext4_lookup:1584: inode #11591: comm ntp: deleted inode referenced: 48
[ 18.788242] EXT4-fs error (device mmcblk0p2): ext4_lookup:1584: inode #11591: comm ntp: deleted inode referenced: 48
[ 19.221619] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 21.315844] EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:758: group 0, block bitmap and bg descriptor inconsistent: 23514 vs 23492 free clusters


TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000384)
Nico (manager)
2016-05-14 11:04

unable to reproduce using Bananain 16.04.
So i guess Linux 4.4 and/or U-Boot 2016.03 fixed the problem

- Issue History
Date Modified Username Field Change
2016-01-23 13:30 tahder New Issue
2016-03-20 22:26 Nico Assigned To => Nico
2016-03-20 22:26 Nico Status new => assigned
2016-05-14 11:04 Nico Note Added: 0000384
2016-05-14 11:04 Nico Status assigned => resolved
2016-05-14 11:04 Nico Resolution open => unable to reproduce


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker