vinasheva
Posts: 23
Joined: Wed Sep 12, 2012 7:23 am

RasPi does not read the Debian partition of SD card

Wed Sep 19, 2012 7:21 am

My RasPi hangs while booting, does not start LXDE. If i press Enter, the # appears and I can type commands such as "reboot" or "uname" to read the Linux version. I tried to use the command to read GPU version or other commands like sudo,... but these don't work. I tried several SD cards but the problem still stays. I guess RasPi does not read the Debian partition (~1.9GB). Thanks for all suggestion.

User avatar
RaTTuS
Posts: 10493
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: RasPi does not read the Debian partition of SD card

Wed Sep 19, 2012 7:24 am

it does it you want to do many things - you have booted into a recovery kernel - there is not a lot you can do there...
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

User avatar
jojopi
Posts: 3085
Joined: Tue Oct 11, 2011 8:38 pm

Re: RasPi does not read the Debian partition of SD card

Wed Sep 19, 2012 7:51 am

Is there anything attached to the GPIO header that might be pulling down pin5? http://www.raspberrypi.org/phpBB3/viewt ... p?p=129413

vinasheva
Posts: 23
Joined: Wed Sep 12, 2012 7:23 am

Re: RasPi does not read the Debian partition of SD card

Wed Sep 19, 2012 8:06 am

Thanks all.
I unplug everything (keyboard, mouse, Ethernet,..). Just supply the power and connect to a screen. The debug text still works if i plug/unplug keyboard or mouse. But it does not continue to start LXDE.
I will check jojopi's suggestion. I used to connect GPIO pins to external circuit when my RasPi still worked last week. Maybe the pull-up resistor is damaged.
Is there any possibility that CPU or GPU lost their firmware? If yes, how to recover them to factory settings?

vinasheva
Posts: 23
Joined: Wed Sep 12, 2012 7:23 am

Re: RasPi does not read the Debian partition of SD card

Wed Sep 19, 2012 8:35 am

It still does not work. I try to copy the 59Mb partition to a blank SD card and start RasPi. It can boot and hangs at the same place (detecting mouse, keyboard) as with the original SD card with image .

obcd
Posts: 917
Joined: Sun Jul 29, 2012 9:06 pm

Re: RasPi does not read the Debian partition of SD card

Wed Sep 19, 2012 8:50 am

You could copy /boot/kernel.img to /boot/kernel_emergency.img and /boot/kernel_cutdown.img
In that case, it will always boot the normal kernel. Backup the 2 other files first. You can make the changes on a pc with an sd card reader. The boot folder is even readable in windows.
It might help if you post the contents of /boot/cmdline.txt.

vinasheva
Posts: 23
Joined: Wed Sep 12, 2012 7:23 am

Re: RasPi does not read the Debian partition of SD card

Wed Sep 19, 2012 6:24 pm

Thanks.
I deleted kernel_emergency and kernel_cutdown. Now it works!

vinasheva
Posts: 23
Joined: Wed Sep 12, 2012 7:23 am

Re: RasPi does not read the Debian partition of SD card

Wed Sep 19, 2012 7:35 pm

Here is my cmdline

Code: Select all

dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
I don't know what causes my problem.

Genius23008
Posts: 54
Joined: Sun Jun 03, 2012 6:50 am

Re: RasPi does not read the Debian partition of SD card

Fri Sep 21, 2012 8:13 pm

Blank the sd card in GParted, then grab Win32DiskImager. I suggest downloading the image from BitTorrent, since this is faster and the image is closer to the source image. Check the checksum of it, then use Win32DiskImager to put it on the SD card. Boot the Raspberry Pi cold, without anything plugged in except power and HDMI. If that doesn't work, try installing the latest kernel files on the card, then try again. My card was a Sandisk 4GB card. It worked for my Lexis, but not my sandisk. If it ends up working, then try using GParted to stretch the partition, although raspi-config can do that already. I know that all of this seems stupid, but it's worth a go - isn't it?

vinasheva
Posts: 23
Joined: Wed Sep 12, 2012 7:23 am

Re: RasPi does not read the Debian partition of SD card

Fri Sep 21, 2012 9:09 pm

Thanks. I tried but it doesn't fix the problem. Only work if I delete cutdown and emergency.
By the way, I tried that SD card with a new RasPi and it works fine. So definitely the problem comes from the damage of hardware.

obcd
Posts: 917
Joined: Sun Jul 29, 2012 9:06 pm

Re: RasPi does not read the Debian partition of SD card

Fri Sep 21, 2012 10:22 pm

It probably sees that gpio pin low that makes it boot the emergency kernel instead of the normal one. I think you can check it with some simple script. Maybe the pullup circuit got damaged and isn't functionning. It could be the input itself as well.
Connecting a 10K pullup resistor between that pin and the 3V3 might give you some answers.

vinasheva
Posts: 23
Joined: Wed Sep 12, 2012 7:23 am

Re: RasPi does not read the Debian partition of SD card

Fri Sep 21, 2012 10:26 pm

I checked the GPIO pin5 and it gives nearly 3.3V. So maybe the pin of the chip is damaged.

AshP
Posts: 10
Joined: Mon Oct 22, 2012 10:38 pm

Re: RasPi does not read the Debian partition of SD card

Thu Oct 25, 2012 10:20 am

Did you ever figure out whether this was an hardware issue?

I had the same issue
http://www.raspberrypi.org/phpBB3/viewt ... 66&t=20762

vinasheva
Posts: 23
Joined: Wed Sep 12, 2012 7:23 am

Re: RasPi does not read the Debian partition of SD card

Thu Oct 25, 2012 10:31 am

AshP wrote:Did you ever figure out whether this was an hardware issue?

I had the same issue
http://www.raspberrypi.org/phpBB3/viewt ... 66&t=20762
My problem is that pin5 is dead.

Return to “Troubleshooting”