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

Re: Updating to the 2012-09-18-wheezy-raspbian image

Wed Sep 19, 2012 3:03 pm

meltwater wrote: The CPU reports 700000 (700MHz) most the time, but it did report 1000000 (1GHz) one of the times, so I guess it is working. What is the logic on the speed, is it demand and the temperature? If so what is the temperature limit (I got just under 50degC on one of the 1GHz points)?
it will change on usage - so as your using it it will zip up to the higher values not just in the boot.
I found that I had to update raspi-config and the options showed up
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

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5282
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Updating to the 2012-09-18-wheezy-raspbian image

Wed Sep 19, 2012 3:05 pm

meltwater wrote:The CPU reports 700000 (700MHz) most the time, but it did report 1000000 (1GHz) one of the times, so I guess it is working. What is the logic on the speed, is it demand and the temperature? If so what is the temperature limit (I got just under 50degC on one of the 1GHz points)?
It goes up when busy. If CPU is hits 85% it goes up. When it idle for a while it drops down. Temperature limit is 85'C (which you'll not not see except in the hottest climates).

Aydan
Posts: 676
Joined: Fri Apr 13, 2012 11:48 am
Location: Germany, near Lake Constance

Re: Updating to the 2012-09-18-wheezy-raspbian image

Wed Sep 19, 2012 3:10 pm

What are the lowest possible minimum frequencies for under clocking?

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5282
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Updating to the 2012-09-18-wheezy-raspbian image

Wed Sep 19, 2012 3:18 pm

Aydan wrote:What are the lowest possible minimum frequencies for under clocking?
You can set arm_freq_min=100 for a low idle frequency. It is usable, but takes a little longer for turbo to kick in.

Coxeroni
Posts: 7
Joined: Fri Jul 20, 2012 6:18 pm

Re: Updating to the 2012-09-18-wheezy-raspbian image

Wed Sep 19, 2012 3:47 pm

asb wrote:
Coxeroni wrote:But with xbian you can also update the firmware with the commands above, or am I wrong?
If XBian is derived from the Raspbian images on our download page then yes, that should be possible. You'd be best off asking the Xbian creator for support on this though.
It is, that I am certain. Will test it at home. Awesome work guys!

simplesi
Posts: 2327
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK
Contact: Website

Re: Updating to the 2012-09-18-wheezy-raspbian image

Wed Sep 19, 2012 3:59 pm

I'm out of room to do the upgrade :(
What can I clean out of where to make some space please? :)

SImon
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter

User avatar
penguintutor
Posts: 376
Joined: Tue May 08, 2012 9:11 am
Location: UK
Contact: Website

Re: Updating to the 2012-09-18-wheezy-raspbian image

Wed Sep 19, 2012 4:00 pm

Quick heads up - in case someone else gets this same error

It appears that apt-get upgrade needs a reasonable amount of memory to work with. It depends what you Raspberry Pi is doing (mine is running as a squid proxy server), but you may need to free up some memory when running the upgrade. You only need to follow this if you get the "Failed to fork" error during the upgrade.

The error I got during the upgrade was:
315 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
FATAL -> Failed to fork.
whilst this may sound like it's done the upgrade before the failure it hasn't in fact started downloading / installing packages.

Failed to fork may sound like a problem with trying to pick up peas at dinner time - but in simple terms it means it couldn't start the new process to perform the update - most likely a memory problem.

Quick check shows that I had 10MB free memory, although significant amount of swap in use.

Code: Select all

free                                                                          
             total       used       free     shared    buffers     cached
Mem:        188104     177744      10360          0       5288      13632
-/+ buffers/cache:     158824      29280
Swap:       102396     102204        192
In my case a quick reboot helped clear the memory. If you don't want to completely reboot you could look at stopping some services or shutting down certain applications to see if that helps.

After reboot I had more available memory and swap usage was back to 0.

Code: Select all

free 
             total       used       free     shared    buffers     cached
Mem:        188104     162808      25296          0      13532      73380
-/+ buffers/cache:      75896     112208
Swap:       102396          0     102396
and repeating the sudo apt-get upgrade is now progressing nicely.

Good that the plan for the Model A has the same memory as the Model B, otherwise I could see problems like this happening a bit more in future.

User avatar
meltwater
Posts: 1014
Joined: Tue Oct 18, 2011 11:38 am

Re: Updating to the 2012-09-18-wheezy-raspbian image

Wed Sep 19, 2012 4:01 pm

This is so impressive, even Scribus works well enough to use now <---- That alone makes it a massive thanks from the MagPi team!
______________
http://www.themagpi.com/
A Magazine for Raspberry Pi Users
Read Online or Download for Free.

My new book: goo.gl/dmVtsc

Meltwater's Pi Hardware - pihardware.com

Like the MagPi? @TheMagP1 @TheMagPiTeam

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5282
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Updating to the 2012-09-18-wheezy-raspbian image

Wed Sep 19, 2012 4:03 pm

simplesi wrote:I'm out of room to do the upgrade :(
What can I clean out of where to make some space please? :)

Code: Select all

sudo apt-get clean
might free some space. Otherwise apt-get remove some packages.

asb
Forum Moderator
Forum Moderator
Posts: 853
Joined: Fri Sep 16, 2011 7:16 pm
Contact: Website

Re: Updating to the 2012-09-18-wheezy-raspbian image

Wed Sep 19, 2012 4:03 pm

simplesi wrote:I'm out of room to do the upgrade :(
What can I clean out of where to make some space please? :)

SImon
apt-get clean will delete downloaded .deb packages, which may help. Also try "sudo apt-get update && sudo apt-get install raspberrypi* raspi-config" to update just the necessary packages for overclocking.

User avatar
hojnikb
Posts: 128
Joined: Mon Jun 04, 2012 3:59 pm
Location: @Home

Re: Updating to the 2012-09-18-wheezy-raspbian image

Wed Sep 19, 2012 4:07 pm

dom wrote:
Aydan wrote:What are the lowest possible minimum frequencies for under clocking?
You can set arm_freq_min=100 for a low idle frequency. It is usable, but takes a little longer for turbo to kick in.
With such underclock it would make sense to undervolt aswell ;)
+°´°+,¸¸,+°´°~ Everyone should have a taste of UK Raspberry Pie =D ~°´°+,¸¸,+°´°+
Rasberry Pi, SoC @ 1225Mhz :o, 256MB Ram @ 550Mhz, 16GB SD-Card, Raspbian

simplesi
Posts: 2327
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK
Contact: Website

Re: Updating to the 2012-09-18-wheezy-raspbian image

Wed Sep 19, 2012 4:20 pm

apt-get clean will delete downloaded .deb packages, which may help. Also try "sudo apt-get update && sudo apt-get install raspberrypi* raspi-config"
Still got no space errors :( I'm at 95% use on rootfs using df after an apt-clean

Are there any log files temp files somewhere I can get rid of?

Simon
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter

simplesi
Posts: 2327
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK
Contact: Website

Re: Updating to the 2012-09-18-wheezy-raspbian image

Wed Sep 19, 2012 4:22 pm

Otherwise apt-get remove some packages.
Got any good (large sized) candidates ? :)
Simon
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter

simplesi
Posts: 2327
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK
Contact: Website

Re: Updating to the 2012-09-18-wheezy-raspbian image

Wed Sep 19, 2012 4:25 pm

Found a few large downloads - got free space down to 91% and it seems to have worked - ta :)

Simon
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter

zigzag
Posts: 2
Joined: Wed Sep 19, 2012 4:35 pm

Re: Updating to the 2012-09-18-wheezy-raspbian image

Wed Sep 19, 2012 4:41 pm

after

Code: Select all

sudo apt-get update && sudo apt-get upgrade
sudo apt-get update && sudo apt-get install raspberrypi* raspi-config
pi after reboot cannot mount root filesystem a repeatedly restarting

Frank B
Posts: 61
Joined: Fri Sep 14, 2012 8:02 pm
Location: Germany

Re: Updating to the 2012-09-18-wheezy-raspbian image

Wed Sep 19, 2012 4:44 pm

Hi,

i'm having SD-Card problems again. The both previous raspbian-images worked perfect, with this image i get sd-card errors:

Code: Select all

[  198.620419] mmc0: final write to SD card still running
[  208.648726] mmc0: Timeout waiting for hardware interrupt - cmd12.
[  208.649888] mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900
[  219.733927] mmc0: final write to SD card still running
[  229.748701] mmc0: Timeout waiting for hardware interrupt - cmd12.
[  229.749870] mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900
[  235.849829] mmc0: final write to SD card still running
[  245.868729] mmc0: Timeout waiting for hardware interrupt - cmd12.
[  245.869895] mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900
[  247.573302] mmc0: final write to SD card still running
[  257.588712] mmc0: Timeout waiting for hardware interrupt - cmd12.
[  257.589920] mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900
[  266.429275] mmc0: final write to SD card still running
[  276.448702] mmc0: Timeout waiting for hardware interrupt - cmd12.
[  276.449877] mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900
[  287.235896] mmc0: final write to SD card still running
[  297.248701] mmc0: Timeout waiting for hardware interrupt - cmd12.
[  297.249875] mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900
Tested with Sandisk Ultra 2GB II & Sandisk Class 4 4GB, Samsung Class 6 8 GB

Frank

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5282
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Updating to the 2012-09-18-wheezy-raspbian image

Wed Sep 19, 2012 5:13 pm

Frank B wrote: i'm having SD-Card problems again. The both previous raspbian-images worked perfect, with this image i get sd-card errors:
Tested with Sandisk Ultra 2GB II & Sandisk Class 4 4GB, Samsung Class 6 8 GB
Can you confirm, that have downloaded the "2012-09-18-wheezy-raspbian" and imaged it to the sdcards? (rather than udpating your current one).
That is surprising, especially with Sandisk Ultra cards (which I use mysefl).

Do you have a different sdcard reader or a different machine you can write the image from?

Frank B
Posts: 61
Joined: Fri Sep 14, 2012 8:02 pm
Location: Germany

Re: Updating to the 2012-09-18-wheezy-raspbian image

Wed Sep 19, 2012 5:22 pm

Hi Dom,
Can you confirm, that have downloaded the "2012-09-18-wheezy-raspbian" and imaged it to the sdcards? (rather than udpating your current one).
That is surprising, especially with Sandisk Ultra cards (which I use mysefl).

Do you have a different sdcard reader or a different machine you can write the image from?
Yes i've downloaded the 2012-09-18-wheezy-raspbian image.
i can try another sdcard reader, no problem. i also have a sandisk ultra 8GB which i can test (it's in my cam, at the moment).

I'll post my results in 30-40 minutes.
frank.

User avatar
pmj1979
Posts: 17
Joined: Tue Sep 04, 2012 12:06 pm

Re: Updating to the 2012-09-18-wheezy-raspbian image

Wed Sep 19, 2012 5:39 pm

My Pi has been stuck on this line for about the last 20+ mins.

After "sudo apt-get update && sudo apt-get upgrade"

...
Unpacking replacement raspberrypi-bootloader ...
Processing triggers for man-db ...
Setting up manpages (3.42-1) ...
Setting up raspberrypi-bootloader (1.20120918-1) ...
Your current start.elf is the same as arm192_start.elf
Removing 'diversion of /boot/arm128_start.elf to /usr/share/rpikernelhack/arm128_start.elf by rpikernelhack'
Do I leave it? Is it ok? Has it crashed?
ACT light is solid (as are the others but occasional LNK light flashes.
I have HDMI plugged in but the display has gona blank, I entered the sudo apt-get through putty.
Pi from Element14 (still not got the first Pi from RS :( )
Rev2 board | Belkin 7Port powered hub | ASUS N10 WiFi | Logitech Wired Mouse | Behavior Tech Wired KB

User avatar
Dweeber
Posts: 606
Joined: Fri Aug 17, 2012 3:35 am
Location: Mesa, AZ
Contact: Website

Re: Updating to the 2012-09-18-wheezy-raspbian image

Wed Sep 19, 2012 5:45 pm

If your WiFi driver is supported by the default linux tree, or is based on the popular RTL8188CUS chipset, then WiFi should work out of the box. Boot the image with the WiFi dongle plugged in (a powered hub is recommended). Run startx and select “WiFi Config”. You can scan for wireless networks and enter your wireless password and connect from the GUI. No need to install additional packages or scripts.
Is there a non-GUI version of the WiFi Config?

I use my RPi's primarily via SSH (HDMI, WiFi, NO Ethernet, Keyboard if necessary, No mouse) I almost never use startx. My experimental RPi with a breadboard etc... doesn't have a keyboard or monitor at all.

If WiFi is not working, I have to sit in a hard to work area with a keyboard in one hand typing using the other. I could VNC in, but if the network isn't setup, that is not possible.
Dweeber A.K.A. Kevin...
My RPI Info Pages including Current Setup - http://rpi.tnet.com

asb
Forum Moderator
Forum Moderator
Posts: 853
Joined: Fri Sep 16, 2011 7:16 pm
Contact: Website

Re: Updating to the 2012-09-18-wheezy-raspbian image

Wed Sep 19, 2012 5:48 pm

Dweeber wrote: Is there a non-GUI version of the WiFi Config?

I use my RPi's primarily via SSH (HDMI, WiFi, NO Ethernet, Keyboard if necessary, No mouse) I almost never use startx. My experimental RPi with a breadboard etc... doesn't have a keyboard or monitor at all.

If WiFi is not working, I have to sit in a hard to work area with a keyboard in one hand typing using the other. I could VNC in, but if the network isn't setup, that is not possible.
Once you've done the wifi setup once, it's saved and will come back on reboot. WiFi Config is just a shortcut to wpagui (not the most friendly UI for wireless configuration, but we had problems with resource consumption with network-manager and wicd). wpa_cli would be an obvious alternative for you.

Frank B
Posts: 61
Joined: Fri Sep 14, 2012 8:02 pm
Location: Germany

Re: Updating to the 2012-09-18-wheezy-raspbian image

Wed Sep 19, 2012 5:57 pm

Frank B wrote:Hi Dom,
Can you confirm, that have downloaded the "2012-09-18-wheezy-raspbian" and imaged it to the sdcards? (rather than udpating your current one).
That is surprising, especially with Sandisk Ultra cards (which I use mysefl).

Do you have a different sdcard reader or a different machine you can write the image from?
Yes i've downloaded the 2012-09-18-wheezy-raspbian image.
i can try another sdcard reader, no problem. i also have a sandisk ultra 8GB which i can test (it's in my cam, at the moment).

I'll post my results in 30-40 minutes.
frank.
Hi Dom,
i identified my sdcard problem. tested with the 8gb card and had the same problem (as with all 3 other cards)
The Image is ok, the overclocking "high" was the problem.
I always had my raspi at 950 mhz,but core-freq at 325mhz. I did'nt remember that, so i set speed to "high" in raspi-config every time, which obviously was a fault.

Frank.

Aydan
Posts: 676
Joined: Fri Apr 13, 2012 11:48 am
Location: Germany, near Lake Constance

Re: Updating to the 2012-09-18-wheezy-raspbian image

Wed Sep 19, 2012 6:20 pm

Could you please enable CONFIG_CPU_FREQ_STAT_DETAILS for the next kernel version so it's possible to check how long the CPU spent in each frequency?
I did load the cpufreq-stats module but that didn't expose /sys/devices/system/cpu/cpu0/cpufreq/stats

Thanks
Aydan

User avatar
williamhbell
Posts: 291
Joined: Mon Dec 26, 2011 5:13 pm
Contact: Website Twitter

Re: Updating to the 2012-09-18-wheezy-raspbian image

Wed Sep 19, 2012 6:24 pm

Hi,

During the update, the Pi was turned off so that the update many not have completed correctly. How can the update be re-run? Is it enough to force the script in the deb file to re-run?

On the second Pi the update script is still running after 2hrs.

Thanks and best regards,

Will
Last edited by williamhbell on Wed Sep 19, 2012 6:46 pm, edited 1 time in total.

asb
Forum Moderator
Forum Moderator
Posts: 853
Joined: Fri Sep 16, 2011 7:16 pm
Contact: Website

Re: Updating to the 2012-09-18-wheezy-raspbian image

Wed Sep 19, 2012 6:27 pm

I've edited the post to make it clear that just to get newer firmware and overclocking, I recommend sudo apt-get update && sudo apt-get install raspberrypi* raspi-config

Return to “Raspbian”