Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[PROBLEM] No reboot after unplugging
Thank you for your donation

Pages (2): 1 2 Next »
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Problem: No reboot after unplugging
25th Dec, 2013, 03:37 AM
Post: #1
kas_27_es Offline
Registered
Posts: 58
Joined: Jan 2013
Reputation: 0
No reboot after unplugging
I had this problem a long time ago, with beta 1, so I decided to install beta 2.

All was running very well until I had to unplug it... Since then, the pi haven't start anymore.

The green led blinked a few times, and then the red led was fixed.

I don't understand the reason, so I've decide to reinstall again but, Is there any way to prevent this issue?

Thanks.

Kas.
Find all posts by this user
Quote this message in a reply
25th Dec, 2013, 03:44 AM
Post: #2
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: No reboot after unplugging
As a first guess - use the Quit function of XBMC or issue ssh sudo poweroff.

DON'T just pull the power. This could cause a file system corruption.

If this is not the case can you supply the output from dmesg via pastebin

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
25th Dec, 2013, 04:06 AM
Post: #3
kas_27_es Offline
Registered
Posts: 58
Joined: Jan 2013
Reputation: 0
RE: No reboot after unplugging
(25th Dec, 2013 03:44 AM)IriDium Wrote:  As a first guess - use the Quit function of XBMC or issue ssh sudo poweroff.

DON'T just pull the power. This could cause a file system corruption.

If this is not the case can you supply the output from dmesg via pastebin

Thanks IriDium,

I'm afraid I can not post the output dmesg now. As I said, I decided to reinstall again. I see what was my fail: I just pulled the power, so, probably, the file system was corrupted Sad

Thanks, I learned a lesson.
Find all posts by this user
Quote this message in a reply
27th Dec, 2013, 06:59 AM
Post: #4
kas_27_es Offline
Registered
Posts: 58
Joined: Jan 2013
Reputation: 0
RE: No reboot after unplugging
Well yesterday I shut off my rpi using the shut down menu...

Today it doesn't start. The problem is the same as described above (in my first post).

I still didn't format the SD card, and when I plug it into my laptop it can't mount the second partition (xbian-beta2), it only mount first partition (xbian-boot)

I don't know how to get any dmesg, or any other information.

Should I reinstall again? Is there any way to recover my old installation before I format the SD card?

Could the problem be in my SD card?

Please, I need some help...

Thanks.
Find all posts by this user
Quote this message in a reply
28th Dec, 2013, 05:06 AM
Post: #5
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: No reboot after unplugging
Unless you have a linux file driver installed (I assume Windoze laptop) then you will only see xbian-boot as that is FAT32 - the rest is BTRFS

dmesg is a command run from a terminal session.

Best thing to do is plug the SD card into you laptop, copy and then edit the file cmdline.txt. Remove quiet and loglevel=0

Reboot

The screen should fill up with boot-up messages. If it does not boot - copy the screen or take a photo (easier) and post that - will give us an idea of what might be wrong.

Might be worth posting config.txt and cmdline.txt as well.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
28th Dec, 2013, 05:38 AM
Post: #6
kas_27_es Offline
Registered
Posts: 58
Joined: Jan 2013
Reputation: 0
RE: No reboot after unplugging
(28th Dec, 2013 05:06 AM)IriDium Wrote:  Unless you have a linux file driver installed (I assume Windoze laptop) then you will only see xbian-boot as that is FAT32 - the rest is BTRFS

dmesg is a command run from a terminal session.

Best thing to do is plug the SD card into you laptop, copy and then edit the file cmdline.txt. Remove quiet and loglevel=0

Reboot

The screen should fill up with boot-up messages. If it does not boot - copy the screen or take a photo (easier) and post that - will give us an idea of what might be wrong.

Might be worth posting config.txt and cmdline.txt as well.

No man, my laptop is "linuxed": xubuntu 12.04 (32 bits)

But it can't mount the BRTFS partition Sad

I know what dmesg is, but I don't know how to run it om my rpi... as I said it doesn't start: just two blinks of the green led and then the fatal red... permanent...

I don't get image...
Find all posts by this user
Quote this message in a reply
28th Dec, 2013, 05:41 AM
Post: #7
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: No reboot after unplugging
Have you removed those words from cmdline.txt?

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
28th Dec, 2013, 05:47 AM
Post: #8
kas_27_es Offline
Registered
Posts: 58
Joined: Jan 2013
Reputation: 0
RE: No reboot after unplugging
No... I've formatted again a few hours ago Sad

Again, I'm not very patient...

Well, I'll reinstall xbian again and I'll try again, I'm sure I can reproduce the error: it's simple, just shutdown rpi wait a few minutes and restart...

As soon as I get information, I'll post a message.

Thanks-
Find all posts by this user
Quote this message in a reply
28th Dec, 2013, 05:52 AM
Post: #9
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: No reboot after unplugging
How are you installing? Xbian installer on Windoze 7 or 8?

If so try downloading the .img and use win32diskimager instead - that should work.

dmesg is just a command that is run from a terminal session. Not a lot of use if the RPi doesn't boot

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
28th Dec, 2013, 05:56 AM
Post: #10
kas_27_es Offline
Registered
Posts: 58
Joined: Jan 2013
Reputation: 0
RE: No reboot after unplugging
I'm installing with "dd" commando due there is no install application for 32 bit linux...
Find all posts by this user
Quote this message in a reply
28th Dec, 2013, 06:08 AM
Post: #11
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: No reboot after unplugging
Can you post the dd command you use - this could be the issue.

I have a feeling that dd may not work as expected on a BTRFS file system.

Have a look on the thread Mounting USB

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
28th Dec, 2013, 06:12 AM
Post: #12
kas_27_es Offline
Registered
Posts: 58
Joined: Jan 2013
Reputation: 0
RE: No reboot after unplugging
This is de command I'm using right now:

sudo dd bs=1M if=xbian.beta2.2013-11-16rs.img | pv | sudo dd of=/dev/sdb1

But, usually, all the installation seems to work fine. I could configure XBMC, samba, transmission... without problems. The trouble occurs when I shut down the rpi and restart it after some time...

It has just finished, this is the output:

Terminal
1331280+0 registros leĆ­dos
1331280+0 registros escritos
681615360 bytes (682 MB) copiados, 246,009 s, 2,8 MB/s
Find all posts by this user
Quote this message in a reply
28th Dec, 2013, 06:16 AM
Post: #13
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: No reboot after unplugging
I think you have hit on the problem.

1) Run xbian - reboot
2) Install samba - reboot.
3) Install transmission - reboot

Where does the problem occur?

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
28th Dec, 2013, 06:40 AM
Post: #14
kas_27_es Offline
Registered
Posts: 58
Joined: Jan 2013
Reputation: 0
RE: No reboot after unplugging
wow....

No, man, I didn't reboot after each software installation Sad Should I did it?

I use to do this:
- Run xbian.
- Configure XBMC, and add some add-ons.
- Install & configure samba.
- Install & configure transmission.
- Install &configure ssmtp & mailutils.

I didn't reboot on any step Sad

The problem occurs when I shutdown the rpi, and unplug it. After that, when I plug the rpi again it doesn't start.
Find all posts by this user
Quote this message in a reply
28th Dec, 2013, 05:57 PM
Post: #15
f1vefour Offline
Administrator
******
Posts: 1,342
Joined: Mar 2013
Reputation: 58
RE: No reboot after unplugging
There needs to be a way to enable logging to the boot partition in this case, disabling splash may allow you to see what's happening. Sounds kinda like a bad SDCard, before you shutdown the first time login to your Pi with SSH and run 'dmesg > sys.log' then post the output of sys.log to pastebin please.

What do you have plugged into the USB ports?

Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us.
Visit this user's website Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 19th May, 2025, 08:55 AM Powered By MyBB, © 2002-2025 MyBB Group.