Choose style:

Author Topic: Bootup Issue - file system errors?[SOLVED]  (Read 7886 times)

0 Members and 1 Guest are viewing this topic.

Offline ThinMenthe

  • nOOb
  • *
  • Posts: 3
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Bootup Issue - file system errors?[SOLVED]
« on: February 06, 2015, 07:47:31 pm »
Hi Guys. I've installed Peppermint 5 on a USB drive. I took one of my laptops, removed the HD, connected a USB key with a micro SD in it, and installed Peppermint from another USB key. I did it this way because Peppermint wouldn't install the bootloader to the USB drive I specified in the dropdown at the bottom of the installation screen. It would always search for other operating systems and integrate itself into the windows 8.1 bootloader. I have it installed on another computer, and it boots instantly. However on this laptop, it takes at least a minute to boot. After doing some research, I pulled this from dmesg. It goes on for a while in the output. Also attached is the output of lsblk. Can someone help me get rid of the errors associated with mmcblk0rpmb? I think this would get rid of the long boot time. An output of lsblk is below too.

 9.785838] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[    9.785843] EXT4-fs (sda1): write access will be enabled during recovery
[   10.122176] EXT4-fs warning (device sda1): ext4_clear_journal_err:4602: Filesystem error recorded from previous mount: IO failure
[   10.122182] EXT4-fs warning (device sda1): ext4_clear_journal_err:4603: Marking fs in need of filesystem check.
[   10.136582] EXT4-fs (sda1): recovery complete
[   10.147401] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   15.425071] mmcblk0rpmb: error -110 transferring data, sector 8064, nr 8, cmd response 0x900, card status 0xb00
[   15.425077] mmcblk0rpmb: retrying using single block read
[   15.427115] mmcblk0rpmb: timed out sending r/w cmd command, card status 0x400900
[   15.429165] mmcblk0rpmb: timed out sending r/w cmd command, card status 0x400900
[   15.431206] mmcblk0rpmb: timed out sending r/w cmd command, card status 0x400900
[   15.433246] mmcblk0rpmb: timed out sending r/w cmd command, card status 0x400900
[   15.435276] mmcblk0rpmb: timed out sending r/w cmd command, card status 0x400900
[   15.437316] mmcblk0rpmb: timed out sending r/w cmd command, card status 0x400900
[   15.437320] end_request: I/O error, dev mmcblk0rpmb, sector 8064
[   15.437325] Buffer I/O error on device mmcblk0rpmb, logical block 1008
[   15.440754] random: nonblocking pool is initialized
[   23.691779] mmcblk0rpmb: error -110 transferring data, sector 8064, nr 8, cmd response 0x900, card status 0xb00
[   23.691785] mmcblk0rpmb: retrying using single block read
[   23.693822] mmcblk0rpmb: timed out sending r/w cmd command, card status 0x400900
[   23.695864] mmcblk0rpmb: timed out sending r/w cmd command, card status 0x400900
[   23.697902] mmcblk0rpmb: timed out sending r/w cmd command, card status 0x400900
[   23.699934] mmcblk0rpmb: timed out sending r/w cmd command, card status 0x400900
[   23.701976] mmcblk0rpmb: timed out sending r/w cmd command, card status 0x400900
[   23.704016] mmcblk0rpmb: timed out sending r/w cmd command, card status 0x400900
[   23.704020] end_request: I/O error, dev mmcblk0rpmb, sector 8064
[   23.704025] Buffer I/O error on device mmcblk0rpmb, logical block 1008
[   31.918776] mmcblk0rpmb: error -110 transferring data, sector 8176, nr 8, cmd response 0x900, card status 0xb00

--

NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda            8:0    1 118.3G  0 disk
├─sda1         8:1    1  10.2G  0 part /
├─sda2         8:2    1     1K  0 part
└─sda5         8:5    1  10.2G  0 part [SWAP]
mmcblk0rpmb  179:24   0     4M  0 disk
mmcblk0boot0 179:8    0     4M  1 disk
mmcblk0boot1 179:16   0     4M  1 disk
mmcblk0      179:0    0  29.1G  0 disk
├─mmcblk0p1  179:1    0   260M  0 part /media/owner/66E9-F731
├─mmcblk0p2  179:2    0   128M  0 part
├─mmcblk0p3  179:3    0  21.4G  0 part
└─mmcblk0p4  179:4    0   7.4G  0 part
« Last Edit: February 07, 2015, 06:22:02 pm by ThinMenthe »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25692
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Bootup Issue - file system errors?
« Reply #1 on: February 06, 2015, 08:31:25 pm »
Use a proper USB stick rather than one with a eMMC card in it ;)

The problem is being caused by rpmb partitions on the eMMC card and a kernel bug

See:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1333140
and
http://comments.gmane.org/gmane.linux.kernel.mmc/28281
and
https://dev-nell.com/rpmb-emmc-errors-under-linux.html

Apparently there are some patches doing the rounds that may fix it (and eventually one of them will make it into the kernel), but for now it would take a kernel recompile after patching the source ... much easier to just ditch the eMMC card/device.
« Last Edit: February 06, 2015, 08:39:42 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline ThinMenthe

  • nOOb
  • *
  • Posts: 3
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Bootup Issue - file system errors?
« Reply #2 on: February 07, 2015, 06:20:34 pm »
Thanks. The laptop is an HP Stream 13, and according to the specs, this is the hardware HP is using - 32 GB eMMC SSD for the Windows 8.1 installation. Peppermint 5 is on sda1. Hopefully this will be patched soon.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25692
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Bootup Issue - file system errors?[SOLVED]
« Reply #3 on: February 07, 2015, 06:40:45 pm »
Ahh I see, it's the internal "SSD" that's eMMC .. that creates a problem then.

Just as a matter of interest, have you tried an Ubuntu 14.10 or 15.04 beta LiveUSB .. maybe, just maybe it's fixed in its later kernel.

Have a read of this:
http://mega-planet.com/solid-computer-has-some-issues-with-linux-although-ubuntu-1410-is-running-well-hp-stream-13-laptop-includes-office-365-personal-for-one-year-horizon-blue-review/

Do you want to try upgrading the Peppermint kernel to 3.16 (same as 14.10, mentioned as working in the above link)
« Last Edit: February 07, 2015, 06:46:06 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 3831
  • Karma: 301
  • Soy un huevo, nada más.
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Bootup Issue - file system errors?[SOLVED]
« Reply #4 on: February 19, 2015, 01:36:43 pm »
Hello PCNetSpec,

I'd like to upgrade to the Utopic Unicorn (14.10) kernel. 

I've been checking out Utopic Unicorn:  it's quite fast, and it seems to run cooler than 14.04.1.

I'd like to go with the new kernel if you don't mind showing me how to upgrade it.  That's an offer too good to refuse!  ;)

Thank you,

perknh
We're all Peppermint users and that's what matters  ;).  -- AndyInMokum

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25692
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Bootup Issue - file system errors?[SOLVED]
« Reply #5 on: February 19, 2015, 01:41:28 pm »
@perknh

32bit or 64bit Peppermint 5 ?
« Last Edit: February 19, 2015, 01:43:14 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 3831
  • Karma: 301
  • Soy un huevo, nada más.
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Bootup Issue - file system errors?[SOLVED]
« Reply #6 on: February 19, 2015, 01:47:58 pm »
64-bit Peppermint 5!

And then should I go into the terminal, the way AndyInMokum taught us, and remove a couple of the oldest kernels that are sitting around and just taking up space?
« Last Edit: February 19, 2015, 02:07:44 pm by perknh »
We're all Peppermint users and that's what matters  ;).  -- AndyInMokum

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25692
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Bootup Issue - file system errors?[SOLVED]
« Reply #7 on: February 19, 2015, 02:16:34 pm »
OK, instructions for 3.17.1 (64bit) kernel

Create a temporary directory for the installation files:
Code: [Select]
mkdir ~/utopic-3.17.1-generic
Make it the current directory:
Code: [Select]
cd ~/utopic-3.17.1-generic
Download the 3 files you need into it:
Code: [Select]
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.1-utopic/linux-image-3.17.1-031701-generic_3.17.1-031701.201410150735_amd64.deb
then:
Code: [Select]
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.1-utopic/linux-headers-3.17.1-031701-generic_3.17.1-031701.201410150735_amd64.deb
then:
Code: [Select]
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.1-utopic/linux-headers-3.17.1-031701_3.17.1-031701.201410150735_all.deb
Install all ".deb" packages in the current directory:
Code: [Select]
sudo dpkg -i *.deb
Now REBOOT.

Once rebooted, run:
Code: [Select]
uname -a
to check you;re running the 3.17.1 kernel

Remember, if the PC won't boot, you can always hit and hold the Shift key immediately after the BIOS post screen to access the GRUB boot menu, then select the previous kernel.



FYI, the kernel files are coming from the "v3.17.1-utopic/" directory here:
http://kernel.ubuntu.com/~kernel-ppa/mainline/
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 3831
  • Karma: 301
  • Soy un huevo, nada más.
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Bootup Issue - file system errors?[SOLVED]
« Reply #8 on: February 19, 2015, 03:41:44 pm »
Hi PCNetSpec,

I get this message:

Spoiler (click here to view / hide)
$ uname -a
Linux bluecat 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[close]

I must have done something wrong, but I don't know what.

perknh
We're all Peppermint users and that's what matters  ;).  -- AndyInMokum

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25692
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Bootup Issue - file system errors?[SOLVED]
« Reply #9 on: February 19, 2015, 03:45:32 pm »
Run:
Code: [Select]
sudo update-grub
and post the output here:
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 3831
  • Karma: 301
  • Soy un huevo, nada más.
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Bootup Issue - file system errors?[SOLVED]
« Reply #10 on: February 19, 2015, 03:50:08 pm »
Spoiler (click here to view / hide)
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.17.1-031701-generic
Found initrd image: /boot/initrd.img-3.17.1-031701-generic
Found linux image: /boot/vmlinuz-3.13.0-45-generic
Found initrd image: /boot/initrd.img-3.13.0-45-generic
Found linux image: /boot/vmlinuz-3.13.0-29-generic
Found initrd image: /boot/initrd.img-3.13.0-29-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Ubuntu 14.10 (14.10) on /dev/sdb1
done
[close]
We're all Peppermint users and that's what matters  ;).  -- AndyInMokum

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25692
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Bootup Issue - file system errors?[SOLVED]
« Reply #11 on: February 19, 2015, 04:07:43 pm »
REBOOT

Once rebooted, what does:
Code: [Select]
uname -a
say now ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 3831
  • Karma: 301
  • Soy un huevo, nada más.
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Bootup Issue - file system errors?[SOLVED]
« Reply #12 on: February 19, 2015, 04:23:04 pm »
You just wanted me to reboot, right?

The output looks the same:

Spoiler (click here to view / hide)
uname -a
Linux bluecat 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[close]
We're all Peppermint users and that's what matters  ;).  -- AndyInMokum

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25692
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Bootup Issue - file system errors?[SOLVED]
« Reply #13 on: February 19, 2015, 04:36:32 pm »
OK, that's odd  :-\

Is 3.17.1 listed as available from the GRUB menu's "Advances options" submenu ?

or

What's the contents of:
Code: [Select]
gedit /boot/grub/grub.cfg
please surround the contents with CODE tags .. then is you choose with SPOILER tags
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 3831
  • Karma: 301
  • Soy un huevo, nada más.
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Bootup Issue - file system errors?[SOLVED]
« Reply #14 on: February 19, 2015, 04:39:58 pm »
Spoiler (click here to view / hide)
Code: [Select]
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
[close]
« Last Edit: February 19, 2015, 06:08:13 pm by AndyInMokum, Reason: re-editing spoiler function »
We're all Peppermint users and that's what matters  ;).  -- AndyInMokum