The start of raspbian (Debian Hard Float (armhf) for RPi)


 
614 posts   Page 22 of 25   1 ... 19, 20, 21, 22, 23, 24, 25
by grumpyoldgit » Thu May 24, 2012 5:39 pm
I'm now completely up and running - I think!
At least I have got the LXDE gui going.
All I can see is File Manager, LXTerminal, Reportbug and Preferred Applications.
And on the bar I have a few standard things like the clock and cpu monitor.
I take it that everything else needs to be installed from the repository
I've used apt-get to install Midori and it seems to working fine.
User avatar
Posts: 1454
Joined: Thu Jan 05, 2012 12:20 pm
by mkopack » Thu May 24, 2012 6:38 pm
grumpyoldgit wrote:I'm now completely up and running - I think!
At least I have got the LXDE gui going.
All I can see is File Manager, LXTerminal, Reportbug and Preferred Applications.
And on the bar I have a few standard things like the clock and cpu monitor.
I take it that everything else needs to be installed from the repository
I've used apt-get to install Midori and it seems to working fine.



Yeah, you have to install what you want from that point on. As Hexxeh said on the page, it's a pretty sparce install to keep the file size down and not load it up with stuff that many people won't use.
User avatar
Posts: 242
Joined: Mon Nov 07, 2011 8:46 pm
by hexelpdkk » Thu May 24, 2012 8:32 pm
grumpyoldgit wrote:Also noticed that rpi-update has completed but the last line of output is
Code: Select all
cp: cannot create regular file ' /opt/vc/sbin/vcfiled': text file is busy

Before running rpi-update you need to run (as root)
Code: Select all
 service vcfiled stop

Also the last kernel (about 6 days old) had quite a few fixes in it for SD cards. I haven't looked to see what date hexxeh's kernel was built. If you run
Code: Select all
 uname -a
it will tell you when the kernel was built. If hexxeh's is a bit old, I'm happy to put mine (built with armhf options, not that it will matter, last night) up on dropbox or something similar.
User avatar
Posts: 128
Joined: Fri Feb 24, 2012 4:40 pm
by mpthompson » Thu May 24, 2012 9:42 pm
hexelpdkk wrote:If hexxeh's is a bit old, I'm happy to put mine (built with armhf options, not that it will matter, last night) up on dropbox or something similar.


If you feel comfortable putting together an updated image that fixes things, please send me a private message in this forum with the URL to your dropbox and I'll move it the Raspbian servers and create a wiki page for it for others to download the image from.

If you do so, please list the incremental changes that your image has over Hexxeh's image (the updated kernel being such a change) so people will know what changes have been made and what may have been things. Thanks.
User avatar
Forum Moderator
Forum Moderator
Posts: 620
Joined: Fri Feb 03, 2012 7:18 pm
Location: San Carlos, CA
by mkopack » Fri May 25, 2012 2:48 am
Just a quick update - plugged both USB jacks into the powered hub for my SSD, added the line to that conf file, removed the overclock from config.txt. Rebooted. Re-ran the tasksel install standard, and am now in the process of installing ROS and so far so good, no crazy behavior.

Thanks for the help!
User avatar
Posts: 242
Joined: Mon Nov 07, 2011 8:46 pm
by mpthompson » Fri May 25, 2012 5:00 am
mkopack wrote:Just a quick update - plugged both USB jacks into the powered hub for my SSD, added the line to that conf file, removed the overclock from config.txt. Rebooted. Re-ran the tasksel install standard, and am now in the process of installing ROS and so far so good, no crazy behavior


Can you post back to this forum the instructions for removing the overclock from the conf file? I'll be getting a Pi in a day or so and would like to not hassle with it overclocked when I fire up Hexxeh's image. Thanks.
User avatar
Forum Moderator
Forum Moderator
Posts: 620
Joined: Fri Feb 03, 2012 7:18 pm
Location: San Carlos, CA
by mpthompson » Fri May 25, 2012 5:10 am
The package count update for Thursday evening is now at:

Debian armhf 34434
Raspbian armhf 32581

Less than 2000 binary packages left to go to reach parity with Debian armhf. However, as plugwash would note, we still are not at the point where Raspbian can rebuild itself. We are both still performing manual builds in a "dirty" environment where we use Debian armv7 packages to satisfy build dependencies. This slows things down as there are some pretty knarly dependency knots we are still working on. I have a suspicion that the 80/20 rule applies to these last few thousand packages -- 80% of the effort is spent on the final 20% of the project.

BTW, I hope there are some Haskell fans out there. It was a royal pain in the a$$ to work out the dependency issues for Haskell as the libraries seem to like to statically link each other. Anyway, much of Haskell is now built and the rest will be coming soon.
User avatar
Forum Moderator
Forum Moderator
Posts: 620
Joined: Fri Feb 03, 2012 7:18 pm
Location: San Carlos, CA
by jerry.tk » Fri May 25, 2012 6:49 am
Removing overclock: just put '#' in front of 'arm_freq=800' in config.txt.
Shameless plug: for more config.txt options see my blog: http://www.jtek.cz/?p=32 ;)

I managed to capture this scrolling madness error by chance in a syslog when tinkering with installer. I'm attaching it to this post. Basically it is page allocation failure error appearing all the time. Example:
Code: Select all
May 24 07:53:44 kernel: frontend: page allocation failure: order:3, mode:0x20
May 24 07:53:44 kernel: Backtrace:
May 24 07:53:44 kernel: Function entered at [<c0011a7c>] from [<c0322ec4>]
May 24 07:53:44 kernel:  r6:00000000 r5:00000020 r4:00000000 r3:c17f4fa8
May 24 07:53:44 kernel: Function entered at [<c0322eac>] from [<c0057254>]
May 24 07:53:44 kernel: Function entered at [<c0057198>] from [<c0059b6c>]
May 24 07:53:44 kernel:  r3:00000000 r2:00000000
May 24 07:53:44 kernel:  r8:00000000 r7:c180c5f0 r6:c17f00a8 r5:c1ea1df0 r4:00000020
May 24 07:53:44 kernel: Function entered at [<c00597c4>] from [<c007c214>]
May 24 07:53:44 kernel: Function entered at [<c007bf54>] from [<c007c58c>]
May 24 07:53:44 kernel: Function entered at [<c007c4b0>] from [<c0286fb0>]
May 24 07:53:44 kernel:  r7:00004a20 r6:cb80bce0 r5:00000020 r4:c6461f00
May 24 07:53:44 kernel: Function entered at [<c0286f5c>] from [<c02030c4>]
May 24 07:53:44 kernel: Function entered at [<c0203098>] from [<c0203810>]
May 24 07:53:44 kernel:  r8:c182d3a4 r7:00000003 r6:00000003 r5:00000004 r4:ca313360
May 24 07:53:44 kernel: r3:00000000
May 24 07:53:44 kernel: Function entered at [<c02035f4>] from [<c0023ba8>]
May 24 07:53:44 kernel:  r7:00000000 r6:00000000 r5:c182d380 r4:c17f4fcc
May 24 07:53:44 kernel: Function entered at [<c0023b04>] from [<c002419c>]
May 24 07:53:44 kernel:  r7:00000100 r6:c1ea0000 r5:c182d3bc r4:00000001
May 24 07:53:44 kernel: Function entered at [<c0024104>] from [<c00245f0>]
May 24 07:53:44 kernel: Function entered at [<c0024568>] from [<c000f0e0>]
May 24 07:53:44 kernel:  r4:c17fe518 r3:c0050154
May 24 07:53:44 kernel: Function entered at [<c000f0a4>] from [<c0008190>]
May 24 07:53:44 kernel:  r6:f200b200 r5:20000010 r4:402324d4 r3:015f0158
May 24 07:53:44 kernel: Function entered at [<c0008180>] from [<c000dfdc>]
May 24 07:53:44 kernel: Exception stack(0xc1ea1fb0 to 0xc1ea1ff8)
May 24 07:53:44 kernel: 1fa0:                                     015f0158 00000000 00000001 015bf34c
May 24 07:53:44 kernel: 1fc0: 015f20e0 28731d2b 00000fff 015f00e0 000007e2 01416020 01037008 bee9bfdc
May 24 07:53:44 kernel: 1fe0: 00000000 bee9bf70 40232474 402324d4 20000010 ffffffff
May 24 07:53:44 kernel: Mem-info:
May 24 07:53:44 kernel: Normal per-cpu:
May 24 07:53:44 kernel: CPU    0: hi:   90, btch:  15 usd:  47
May 24 07:53:44 kernel: active_anon:1511 inactive_anon:1489 isolated_anon:0
May 24 07:53:44 kernel:  active_file:15184 inactive_file:17645 isolated_file:0
May 24 07:53:44 kernel:  unevictable:7015 dirty:34 writeback:0 unstable:0
May 24 07:53:44 kernel:  free:575 slab_reclaimable:3054 slab_unreclaimable:615
May 24 07:53:44 kernel:  mapped:5221 shmem:0 pagetables:146 bounce:0
May 24 07:53:44 kernel: Normal free:2300kB min:1764kB low:2204kB high:2644kB active_anon:6044kB inactive_anon:5956kB active_file:60736kB inactive_file:70580kB unevictable:28060kB isolated(anon):0kB isolated(file):0kB present:195072kB mlocked:0kB dirty
May 24 07:53:44 kernel: lowmem_reserve[]: 0 0
May 24 07:53:44 kernel: Normal: 203*4kB 114*8kB 36*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 2300kB
May 24 07:53:44 kernel: 39936 total pagecache pages
May 24 07:53:44 kernel: 92 pages in swap cache
May 24 07:53:44 kernel: Swap cache stats: add 2880, delete 2788, find 2470/2677
May 24 07:53:44 kernel: Free swap  = 235540kB
May 24 07:53:44 kernel: Total swap = 238588kB
May 24 07:53:44 kernel: 49152 pages of RAM
May 24 07:53:44 kernel: 753 free pages
May 24 07:53:44 kernel: 1487 reserved pages
May 24 07:53:44 kernel: 3669 slab pages
May 24 07:53:44 kernel: 35224 pages shared
May 24 07:53:44 kernel: 92 pages swap cached
Attachments
syslog.gz
Syslog with page allocation errors
(55.18 KiB) Downloaded 148 times
Posts: 63
Joined: Sat Apr 07, 2012 6:26 am
Location: CZ
by mpthompson » Fri May 25, 2012 7:15 am
jerry.tk wrote:Removing overclock: just put '#' in front of 'arm_freq=800' in config.txt.
Shameless plug: for more config.txt options see my blog: http://www.jtek.cz/?p=32 ;)

I managed to capture this scrolling madness error by chance in a syslog when tinkering with installer. I'm attaching it to this post. Basically it is page allocation failure error appearing all the time.


Thanks. Very useful page. I'll make a link on the Raspbian Wiki to that page for future reference.

Are the kernel messages you captured specific to Raspbian, or have they been reported under Debian armel?
User avatar
Forum Moderator
Forum Moderator
Posts: 620
Joined: Fri Feb 03, 2012 7:18 pm
Location: San Carlos, CA
by ScoobyDoo » Fri May 25, 2012 7:23 am
mpthompson wrote:
hexelpdkk wrote:If hexxeh's is a bit old, I'm happy to put mine (built with armhf options, not that it will matter, last night) up on dropbox or something similar.


If you feel comfortable putting together an updated image that fixes things, please send me a private message in this forum with the URL to your dropbox and I'll move it the Raspbian servers and create a wiki page for it for others to download the image from.

If you do so, please list the incremental changes that your image has over Hexxeh's image (the updated kernel being such a change) so people will know what changes have been made and what may have been things. Thanks.


This would be really useful having an updated image before the official one is built.
Hopefully someone can build this and make it available for others to download off the official page
User avatar
Posts: 66
Joined: Wed Apr 04, 2012 2:52 pm
Location: Staffordshire, UK
by plugwash » Fri May 25, 2012 8:44 am
mpthompson wrote:However, as plugwash would note, we still are not at the point where Raspbian can rebuild itself.

I have to say when I put together the checking code I was pleasantly surprised at how few entries came up in the list of source packages for which we have arch specific binaries but can't satisfy the build-depends..
Forum Moderator
Forum Moderator
Posts: 2359
Joined: Wed Dec 28, 2011 11:45 pm
by jerry.tk » Fri May 25, 2012 8:53 am
mpthompson wrote:Are the kernel messages you captured specific to Raspbian, or have they been reported under Debian armel?


I have no idea :( but haven't seen reports of this on armel. Just for the record - in this instance installer was running kernel built from "official" RasPi sources with almost default configuration (only initramfs, LVM and MD were added). Kernel was crosscompiled with "official" Broadcom toolchain from RasPi repository.
Posts: 63
Joined: Sat Apr 07, 2012 6:26 am
Location: CZ
by plugwash » Fri May 25, 2012 9:09 am
IIRC the official images come with the min_free_kbytes setting as standard which believe works arround the hangup issue.

I suspect the real problem is a driver bug in the kernel not handling some corner case correctly.
Forum Moderator
Forum Moderator
Posts: 2359
Joined: Wed Dec 28, 2011 11:45 pm
by grumpyoldgit » Fri May 25, 2012 9:25 am
Is there a command that will install a group of standard basic packages? I've installed Midori and Leafpad and am now trying to install a form of unzip that will allow me to unzip files from within file manager. Is there a package installer?
User avatar
Posts: 1454
Joined: Thu Jan 05, 2012 12:20 pm
by plugwash » Fri May 25, 2012 12:20 pm
The problem is that everyone has a different idea of what "basic packages" are, there are various metapackages in debian but I usually find they end up installing a load of stuff I don't want and not installing the stuff I do want.

As for graphical unzip tools I usually use file-roller, unfortunately we don't seem to have it in raspbian yet, i'll take a look at why not over the weekend.
Forum Moderator
Forum Moderator
Posts: 2359
Joined: Wed Dec 28, 2011 11:45 pm
by mpthompson » Sat May 26, 2012 2:37 am
Friday evenings package count:

Debian armhf 34434
Raspbian armhf 33074

Good progress continues to be made on the builds. We are now less than 1400 binary packages from parity with Debian armhf. Because of the way that Raspbian is built, we will likely never reach complete parity with Debian, but we should be able to get pretty close.

BTW, Pidgin was built today and should be making its way to the archive soon. I know plugwash was busy working on the dependencies so that package and a number of others would find their way to the autobuilders.

Also, with help from Cargocult, I now have Raspberry Pi hardware in my hands. I've been playing with Hexxeh's R3 image and I'll be working with jerry.tk's installer soon. I hope I can get plenty of playtime this weekend.
User avatar
Forum Moderator
Forum Moderator
Posts: 620
Joined: Fri Feb 03, 2012 7:18 pm
Location: San Carlos, CA
by plugwash » Sat May 26, 2012 2:29 pm
plugwash wrote:As for graphical unzip tools I usually use file-roller, unfortunately we don't seem to have it in raspbian yet, i'll take a look at why not over the weekend.

Ok file-roller is now in the private repo and should be in the public repo very soon (i've just triggered the public repo to pull updates from the private one).
Forum Moderator
Forum Moderator
Posts: 2359
Joined: Wed Dec 28, 2011 11:45 pm
by UnaClocker » Sat May 26, 2012 4:19 pm
Thanks again for the hard work guys. This distro has come a long ways, even in the past week. I did a fresh reinstall last night, and am really impressed with how many packages are now available. I didn't run into anything that wasn't available on the repositories.
Also, thank you to whoever updated the Arduino IDE to 1.0, seems like it was a seriously ancient version the last time I tried it (may have been on the original base Debian at the time). Nice to have nearly the latest one installed properly.
Want to see some impressive numbers? Run the hardinfo benchmark program on the original Debian for Pi distro, and then again on this one.. Note the FPU performance difference. Whew!
Only thing I'd request is if we could get the default backgrounds that are in the original Debian for Pi distro. Raspbian doesn't appear to have any backgrounds for X..
Posts: 12
Joined: Sat May 12, 2012 5:48 pm
by mpthompson » Sat May 26, 2012 11:56 pm
UnaClocker wrote:Only thing I'd request is if we could get the default backgrounds that are in the original Debian for Pi distro. Raspbian doesn't appear to have any backgrounds for X..


Do you happen to know the package names for these? I'm assuming it would be a architecture independent package. I'll look into this and see what I can do.
User avatar
Forum Moderator
Forum Moderator
Posts: 620
Joined: Fri Feb 03, 2012 7:18 pm
Location: San Carlos, CA
by UnaClocker » Sun May 27, 2012 4:29 am
No, didn't think that it might be a package. It's various pictures of the Raspberry Logo. I think there's one on a black background, one on white, one on a trippy background (I like that one).
Posts: 12
Joined: Sat May 12, 2012 5:48 pm
by mpthompson » Sun May 27, 2012 4:28 pm
Currently, on Sunday morning, the package counts are at:

Debian armhf 34434
Raspbian armhf 33433

Last night a lot of updated packages were dumped into the Raspbian repository from the Debian Wheezy. Therefore, builds of new packages will slow down over the next day or so as these updated packages take higher priority for building by the auto-building system. I hope to see this package counts close to within a few hundred packages of Debian armhf over the next week -- we still have a few hundred source packages that won't autobuild and haven't been examined yet.

This puts us now at just about 1000 packages shy of parity with Debian armhf. Also, plugwash has indicated that Raspbian has now reached self-buildability. This means that we should no longer have to bring in packages from Debian armhf to satisfy build dependencies -- reducing the risk of armv7 contamination of the packages that would not function on the armv6 based Raspberry Pi.
User avatar
Forum Moderator
Forum Moderator
Posts: 620
Joined: Fri Feb 03, 2012 7:18 pm
Location: San Carlos, CA
by miho » Sun May 27, 2012 5:26 pm
Some days ago VIA unveiled the APC with a price of 49$ http://apc.io/about/.
APC is apparently also based on the ARMv6 architecture and would most likely benefit from this effort here too as it was critisized for using the wrong architecture.
The reported specifications are HDTV support, hardware acceleration for most video formats, VGA and HDMI display outputs, four USB 2.0 ports, microSD support, 10/100 Ethernet, audio-out/mic-in, 2GB of NAND Flash memory, and 512MB of DDR3 system RAM
Posts: 3
Joined: Mon May 14, 2012 10:01 am
by mpthompson » Sun May 27, 2012 6:23 pm
Interesting information on the VIA APC. I didn't realize it was ARMv6+VFP based. I'll have to keep an eye on this as Raspbian could indeed be useful on this device. I'm just a little weary of devices using the Android kernel as getting Debian to run reliably on them isn't trivial. It can take months, if ever, for a stable kernel patches suitable for Debian to come from the manufacturer or from community efforts. The Raspberry Pi foundation was very smart to put effort into a reasonably stable Linux kernel suitable for desktop style computing up front.
User avatar
Forum Moderator
Forum Moderator
Posts: 620
Joined: Fri Feb 03, 2012 7:18 pm
Location: San Carlos, CA
by alanyih » Mon May 28, 2012 2:07 am
mpthompson wrote:Interesting information on the VIA APC. I didn't realize it was ARMv6+VFP based. I'll have to keep an eye on this as Raspbian could indeed be useful on this device.


WONDERMEDIA PRIZM WM8750
http://www.wondermedia.com.tw/en/produc ... /index.jsp

Combining a highly energy-efficient ARM 11 core running at 800Mhz with advanced graphics and stunning 1080p video playback capabilities,
[..]
Boasting built-in GE/FE Ethernet MAC, interface with Wi-Fi, 3+G and Bluetooth, the WonderMedia PRIZM platform offers the broad range of connectivity options required of today's Internet and Client devices.

Key Features

800Mhz ARM1176JZF processor
OpenGL-ES 2.0 compliant graphics processor
Multi-standard 1080p video decoding engine
H.264 video encoding
DDR2/DDR3 DRAM interface
Multiple video interface including HDMI, LVDS, TV-out, DVO and VGA
Flexible networking and peripheral interface
Advanced hardware security engine
Posts: 14
Joined: Fri Dec 23, 2011 3:28 am
by hexelpdkk » Mon May 28, 2012 7:00 am
Some more kernel packaging thoughts:

I've been looking at some work by Chris Boot (http://www.bootc.net). He has a 3.2.18 kernel, with various mods in place. The particularly interesting bit is a fix which allows compressed kernel images to load. In addition, he notes that with latest firmware, you can boot without the "first32k" fixup being applied. As such, the kernel "deb-pkg" target is nearly good enough - once installed, the only thing that has to happen is moving the img to kernel.img.

I did a little bit of git surgery last night, and patched the official 3.1.9 kernel with this, and it booted this morning.

I'll modify the package to set this up automatically as the kernel to boot - probably through one of the config files, rather than copying to kernel.img. I'll also put the changes up on github later.
User avatar
Posts: 128
Joined: Fri Feb 24, 2012 4:40 pm