Tavalin
Posts: 59
Joined: Mon Apr 16, 2012 9:53 pm

Re: Debian ARM on Raspberry Pi

Mon Apr 16, 2012 10:58 pm

Was there a definite fix for the audio issue? I've done the apt-get install alsa-utils and the modprobe etc but it seems to cause my pi to crash when I try and play a file.

wcchandler
Posts: 6
Joined: Sat Oct 01, 2011 1:29 am

Re: Debian ARM on Raspberry Pi

Tue Apr 17, 2012 11:50 pm

A twitter response sent me here, but I noticed a bug when running the Debian 04-13-2012 build.

OS: debian-04-13-2012

State: Initial Boot

Issue:


pi@raspberrypi:~$ perl test.pl
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_MESSAGES = "en_US.UTF-8",
LC_COLLATE = "en_US.UTF-8",
LC_CTYPE = "en_US.UTF-8",
LANG = "en_GB.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").


To fix, run and select your locale from the menu:


pi@raspberrypi:~$ sudo dpkg-reconfigure locales
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_MESSAGES = "en_US.UTF-8",
LC_COLLATE = "en_US.UTF-8",
LC_CTYPE = "en_US.UTF-8",
LANG = "en_GB.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
Generating locales (this might take a while)…
en_GB.UTF-8… done
en_US.UTF-8… done
Generation complete.
pi@raspberrypi:~$


I plan on finding many, many more of these.

wcchandler
Posts: 6
Joined: Sat Oct 01, 2011 1:29 am

Re: Debian ARM on Raspberry Pi

Wed Apr 18, 2012 12:59 am

OS: debian-04-13-2012

Impact: None

Type: Suggestion



pi@raspberrypi:~$ last
pi       pts/2        wrieless         Wed Apr 18 00:17 - 00:17  (00:00)
pi       pts/1        c-XX-XX-XX-XXX.h Fri Apr 13 09:43 - 00:24 (4+14:40)
pi       pts/1        wrieless         Fri Apr 13 09:05 - 09:06  (00:01)
pi       pts/0        wrieless         Fri Apr 13 09:02   still logged in
pi       tty1                          Thu Jan  1 00:03   still logged in
pi       tty1                          Thu Jan  1 00:03 - 00:03  (00:00)
reboot   system boot  3.1.9+           Thu Jan  1 00:00 - 00:57 (15448+00:56
suse     tty1                          Fri Apr 13 08:54 - down   (00:01)
suse     tty1                          Fri Apr 13 08:54 - 08:54  (00:00)
reboot   system boot  3.1.9+           Thu Jan  1 00:00 - 08:55 (15443+08:55
suse     tty1                          Fri Apr 13 08:47 - down   (00:03)
suse     tty1                          Fri Apr 13 08:47 - 08:47  (00:00)
reboot   system boot  3.1.9+           Thu Jan  1 00:00 - 08:50 (15443+08:50
root     tty1                          Thu Apr 12 15:14 - down   (00:21)
root     tty1                          Thu Apr 12 15:14 - 15:14  (00:00)
reboot   system boot  3.1.9+           Thu Jan  1 00:00 - 15:36 (15442+15:36
reboot   system boot  3.1.9+           Thu Jan  1 00:00 - 15:02 (15422+15:01
suse     tty1                          Fri Mar 23 14:55 - down   (00:05)
suse     tty1                          Fri Mar 23 14:55 - 14:55  (00:00)
reboot   system boot  3.1.9+           Thu Jan  1 00:00 - 15:01 (15422+15:00
grayg    tty1                          Fri Mar 16 15:09 - down   (00:12)
grayg    tty1                          Fri Mar 16 15:09 - 15:09  (00:00)
reboot   system boot  3.1.9+           Thu Jan  1 00:00 - 15:21 (15415+15:21
suse     tty7         :0               Mon Feb 13 10:36 - 10:41  (00:05)
grayg    tty1                          Mon Feb 13 10:28 - down   (00:14)
grayg    tty1                          Mon Feb 13 10:28 - 10:28  (00:00)
reboot   system boot  3.1.4+           Thu Jan  1 00:00 - 10:42 (15383+10:42
reboot   system boot  3.1.4+           Thu Jan  1 00:00 - 10:42 (15383+10:42
grayg    pts/0        dc4-arm-01.cam.b Fri Feb 10 14:11 - 14:49  (00:38)
grayg    tty1                          Fri Feb 10 14:10 - down   (00:39)
grayg    tty1                          Fri Feb 10 14:10 - 14:10  (00:00)
reboot   system boot  3.1.4+           Thu Jan  1 00:00 - 14:50 (15380+14:49
reboot   system boot  3.1.4+           Thu Jan  1 00:00 - 14:09 (15380+14:08
reboot   system boot  3.1.4+           Thu Jan  1 00:00 - 14:03 (15380+14:02
grayg    pts/0        dc4-arm-01.cam.b Fri Feb  3 12:27 - crash (-15373+-12:
reboot   system boot  3.1.9+           Thu Jan  1 00:00 - 14:03 (15380+14:03
reboot   system boot  3.1.9+           Thu Jan  1 00:00 - 14:03 (15380+14:03
reboot   system boot  3.1.9+           Thu Jan  1 00:00 - 14:03 (15380+14:03
grayg    pts/0        10.177.67.55     Tue Jan 17 15:09 - down   (00:07)
reboot   system boot  3.1.4+           Thu Jan  1 00:00 - 15:16 (15356+15:16
pauld    tty1                          Tue Jan 17 14:35 - down   (00:30)
pauld    tty1                          Tue Jan 17 14:35 - 14:35  (00:00)
grayg    tty7         :0               Tue Jan 17 14:32 - 14:34  (00:01)
grayg    pts/0        10.177.67.55     Tue Jan 17 14:31 - down   (00:35)
reboot   system boot  3.1.4+           Thu Jan  1 00:00 - 15:06 (15356+15:05
reboot   system boot  3.1.4+           Thu Jan  1 00:00 - 15:06 (15356+15:05
reboot   system boot  3.1.4+           Thu Jan  1 00:00 - 15:06 (15356+15:05
reboot   system boot  2.6.35.7         Thu Jan  1 00:00 - 11:43 (15212+11:43
pauld    pts/0        :0               Fri Aug 26 10:06 - 10:06  (00:00)
pauld    tty8         :0               Fri Aug 26 10:06 - crash (-15212+-10:
pauld    tty7         :0               Fri Aug 26 10:05 - 10:05  (00:00)
reboot   system boot  2.6.35.7         Thu Jan  1 00:00 - 11:43 (15212+11:43
pauld    tty1                          Fri Aug 26 09:58 - 09:59  (00:00)
pauld    tty1                          Fri Aug 26 09:58 - 09:58  (00:00)
pauld    pts/0        :0               Fri Aug 26 09:46 - 10:01  (00:15)
pauld    pts/0        :0               Fri Aug 26 09:26 - 09:41  (00:15)
pauld    pts/0        :0               Fri Aug 26 09:20 - 09:22  (00:01)
pauld    tty7         :0               Fri Aug 26 09:18 - down   (00:43)
reboot   system boot  2.6.35.7         Thu Jan  1 00:00 - 10:02 (15212+10:01
mx.so.1  ibdrm.so.2   dl.so.2          Sat Feb  7 07:19 - crash (-37+-7:-18)
at.so.1  .so.1        ibexif.so.12     Sun Feb  8 01:31 - crash (-38+-1:-30)
.0.so.0  /libgdk_pixb so.0             Wed Dec 18 06:19 - crash (-20075+-6:-
mp.so.3  yring.so.0   /lib/libgmodule- Mon May  9 01:08 - crash (-19121+-1:-
o2.so.2  .0           ib/libgpg-error. Wed Sep  4 12:17 - crash (-9743+-12:-
0        stcdda-0.10. libgstaudio-0.10 Fri Feb  6 13:06 - crash (-36+-13:-6)
ibgstnet .so.0        ces-0.10.so.0    Tue Jul  1 05:38 - crash (-20270+-5:-
.1       sr/lib/libha libguileopts.so. Sat Nov 29 12:02 - crash (-22612+-12:
libicute icutu.so.44  test.so.44       Wed Apr 27 16:14 - crash (-19109+-16:
ibkeyuti libkrb5.so.3 sr/lib/libjpeg.s Sun Nov 26 15:51 - crash (-19687+-15:
bmad.so. ibmagic.so.1 .6               Tue May 20 16:06 - crash (-22419+-16:
reboot   system boot  2.6.35.7         Thu Jan  1 00:00 - 10:02 (15212+10:01
pauld    tty7         :0               Thu Aug 25 16:56 - down   (00:03)
reboot   system boot  2.6.35.7         Thu Jan  1 00:00 - 16:59 (15211+16:58
*L       *K           *                Thu Jan  1 00:00 - crash  (00:00)
:G       *F           *                Thu Jan  1 00:00 - crash  (00:00)
FB       *A           *                Thu Jan  1 00:00 - crash  (00:00)
*=       *<           *                Thu Jan  1 00:00 - crash  (00:00)
*6       ;6           *                Thu Jan  1 00:00 - crash  (00:00)
*1       m1           *                Thu Jan  1 00:00 - crash  (00:00)
*,       *,           *                Thu Jan  1 00:00 - crash  (00:00)
*'       y'           *                Thu Jan  1 00:00 - crash  (00:00)

#       *"           *                Thu Jan  1 00:00 - crash  (00:00)
**       7.0          *                Thu Jan  1 00:00 - crash  (00:00)
pauld    tty1                          Thu Jan  1 00:00 - crash  (00:00)
pauld    tty1                          Thu Jan  1 00:00 - 00:00  (00:00)
reboot   system boot  2.6.35.7         Thu Jan  1 00:00 - 16:59 (15211+16:59
reboot   system boot  2.6.35.7         Thu Jan  1 00:00 - 17:09  (17:09)
reboot   system boot  2.6.35.7         Thu Jan  1 00:00 - 17:09  (17:09)
reboot   system boot  2.6.35.7         Thu Jan  1 00:00 - 17:09  (17:09)
reboot   system boot  2.6.35.7         Thu Jan  1 00:00 - 17:09  (17:09)

wtmp begins Thu Jan  1 00:00:05 1970


System is completely usable...  just a suggestion.

observing
Posts: 51
Joined: Mon Feb 27, 2012 12:18 pm

Re: Debian ARM on Raspberry Pi

Thu Apr 19, 2012 12:44 am

Just a quick note of thanks to everyone who are contributing to this thread. Thanks to all the great information in it, I had absolutely no problems loading up Debian on an 8GB SDHC card and running it on the Pi.

davehiggins21
Posts: 43
Joined: Thu Jan 26, 2012 10:04 am

Re: Debian ARM on Raspberry Pi

Thu Apr 19, 2012 12:57 pm

Don't have my PI yet but thought I would get ahead by preparing my SDHC card. I downloaded the latest Squeeze image and ran SHA1sum to check the download (on Windows XP) and got a checksum of f821205afdbd6136b0f2d32264b526b2cbddb5fc which is the same as is found in the SHA1 file which is downloaded with the image but different to the one on the downloads page which is 5e9b87ec7597f0ccae47c9cf153516fe803a4b3a.

Am I doing this wrong or understanding it wrongly??

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: Debian ARM on Raspberry Pi

Thu Apr 19, 2012 1:05 pm

Dave, this one confused me too, and the short answer is "just live with it".

There is confusion between the sha1sum of the ZIP file and that of the .IMG file (the file contained within the ZIP file).  The exact details of which is which is beyond the scope of this post.
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

davehiggins21
Posts: 43
Joined: Thu Jan 26, 2012 10:04 am

Re: Debian ARM on Raspberry Pi

Thu Apr 19, 2012 1:29 pm

OK thanks for that. Could someone update the instructions and stop others wasting hours puzzling it out like I did.

Oh for a PI to eat to put it into practice!!

User avatar
FeersumEndjinn
Posts: 148
Joined: Mon Nov 21, 2011 4:02 pm

Re: Debian ARM on Raspberry Pi

Thu Apr 19, 2012 7:16 pm

Is anyone else having issues with auto mounting USB memory sticks in the newest Debian Squeeze build?

I know sound doesn't work, but in order to access USB drives I'm having to manually mount them which is a bit tiresome?

EDIT:  On an actual physical Pi by the way - sorry guys!
Morrolan / FeersumEndjinn

"And the lord God said unto John, 'Come forth and receive eternal life', but John came fifth and won a toaster."

GizmoB73
Posts: 80
Joined: Fri Jan 27, 2012 12:51 pm

Re: Debian ARM on Raspberry Pi

Thu Apr 19, 2012 7:24 pm

FeersumEndjinn said:


Is anyone else having issues with auto mounting USB memory sticks in the newest Debian Squeeze build?

I know sound doesn"t work, but in order to access USB drives I"m having to manually mount them which is a bit tiresome?

EDIT:  On an actual physical Pi by the way - sorry guys!



I found it to be a bit flakey on my Pi.  I was accessing the USB stick via file manager in LXDE, but sometimes it just wouldn't show up at all.  It wouldn't even appear in lsusb.

I put the likely problem down to power and a dodgy external USB hub (which now appears to have packed up completely.

Looks like you are actually seeing the stick so it may be a different issue to me.  Try File Manager in LXDE perhaps.

User avatar
FeersumEndjinn
Posts: 148
Joined: Mon Nov 21, 2011 4:02 pm

Re: Debian ARM on Raspberry Pi

Thu Apr 19, 2012 7:44 pm

GizmoB73 said:


I found it to be a bit flakey on my Pi.  I was accessing the USB stick via file manager in LXDE, but sometimes it just wouldn't show up at all.  It wouldn't even appear in lsusb.

I put the likely problem down to power and a dodgy external USB hub (which now appears to have packed up completely.

Looks like you are actually seeing the stick so it may be a different issue to me.  Try File Manager in LXDE perhaps.


I can mount it fine using

''sudo mount -t vfat /dev/sda1 /media/dt101' -o rw,uid=pi,gid=pi'

and I get full read write permission to it, but obviously this requires me to manually write this each time - considering sticking it in a bash script for now for easier mounting.
Morrolan / FeersumEndjinn

"And the lord God said unto John, 'Come forth and receive eternal life', but John came fifth and won a toaster."

User avatar
FeersumEndjinn
Posts: 148
Joined: Mon Nov 21, 2011 4:02 pm

Re: Debian ARM on Raspberry Pi

Thu Apr 19, 2012 8:28 pm

NOTE:FeersumEndjinn said:


GizmoB73 said:


I found it to be a bit flakey on my Pi.  I was accessing the USB stick via file manager in LXDE, but sometimes it just wouldn"t show up at all.  It wouldn"t even appear in lsusb.

I put the likely problem down to power and a dodgy external USB hub (which now appears to have packed up completely.

Looks like you are actually seeing the stick so it may be a different issue to me.  Try File Manager in LXDE perhaps.


I can mount it fine using

'"sudo mount -t vfat /dev/sda1 /media/dt101" -o rw,uid=pi,gid=pi'


For some reason unless I specified the uid and gid it didn't appear to work.
Morrolan / FeersumEndjinn

"And the lord God said unto John, 'Come forth and receive eternal life', but John came fifth and won a toaster."

User avatar
FeersumEndjinn
Posts: 148
Joined: Mon Nov 21, 2011 4:02 pm

Re: Debian ARM on Raspberry Pi

Thu Apr 19, 2012 8:38 pm

On a separate note, after installing tightvncserver (sudo apt-get install tightvncserver) I have created a bash script in my home folder to automatically start a vnc session using my own custom settings – whilst this can be done more permanently by editing a file in /etc, this allows me to play without breaking.

the script is:

#! /bin/bash

tightvncserver -geometry 1280x900 -depth 16

Once saved (I used nano to write it) you have to make it executable – I called my script vnc.sh, so at the prompt type: chmod 755 ./vnc.sh.

Then once I ssh in, I can manually start vnc easily by typing ~/vnc.sh from anywhere within the filesystem.
Morrolan / FeersumEndjinn

"And the lord God said unto John, 'Come forth and receive eternal life', but John came fifth and won a toaster."

andrevdw
Posts: 2
Joined: Wed Apr 18, 2012 6:12 pm

Re: Debian ARM on Raspberry Pi

Thu Apr 19, 2012 9:25 pm

Hi

Anyone know how to enable iptables in the new image? :

"

#modprobe iptables
FATAL: Module iptables not found.
"

and

"

# iptables –list
FATAL: Module ip_tables not found.
iptables v1.4.8: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
"

and no sign of iptables module here:

"

:/lib/modules/3.1.9+/kernel/net# ls -la
total 44
drwxr-xr-x 11 root root 4096 Apr 13 11:28 .
drwxr-xr-x  8 root root 4096 Apr 13 11:28 ..
drwxr-xr-x  2 root root 4096 Apr 13 11:28 9p
drwxr-xr-x  5 root root 4096 Apr 13 11:28 bluetooth
drwxr-xr-x  2 root root 4096 Apr 13 11:28 core
drwxr-xr-x  4 root root 4096 Apr 13 11:28 irda
drwxr-xr-x  2 root root 4096 Apr 13 11:28 key
drwxr-xr-x  2 root root 4096 Apr 13 11:28 mac80211
drwxr-xr-x  2 root root 4096 Apr 13 11:28 nfc
drwxr-xr-x  2 root root 4096 Apr 13 11:28 wimax
drwxr-xr-x  2 root root 4096 Apr 13 11:28 wireless
"

So… any easy way to get around this besides recompiling kernel?

(on a slightly different topic, for attention of the image maintinaters – another space saver for future images might be to clean out some of the old log files in /var/log/* )

Bob

shirro
Posts: 248
Joined: Tue Jan 24, 2012 4:54 am

Re: Debian ARM on Raspberry Pi

Sat Apr 21, 2012 2:12 am

These releases of ad-hoc images of someones Pi need to stop. I can understand wanting to get something out quick for developers but it is not sustainable.

So here is the proposal. Lets package up things like themes into arch independent packages. And make armel (and eventually armhf versions) of the close source stuff and other Pi specific things. Also kernel packages (with a dummy to pull in the latest) and some dummy packages so people can pull dependencies for a standard python edu desktop or a headless server or whatever.

Put it up as an official RPi repo and distribute all future images with the repo in the sources.list.

Lets do it.

wcchandler
Posts: 6
Joined: Sat Oct 01, 2011 1:29 am

Re: Debian ARM on Raspberry Pi

Sat Apr 21, 2012 5:31 am

Anybody know if you can mount / with noatime?  would it help any?

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

Re: Debian ARM on Raspberry Pi

Sat Apr 21, 2012 7:48 am

shirro said:


These releases of ad-hoc images of someones Pi need to stop. I can understand wanting to get something out quick for developers but it is not sustainable.


Totally agree. We're working on it. I'm trying to open up development of the reference rootfs and hope to have something up this weekend. I agree Broadcom libs etc should start to be packaged. I might ping some Debian developers with boards regarding that.

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

Re: Debian ARM on Raspberry Pi

Sat Apr 21, 2012 7:49 am

wcchandler said:


Anybody know if you can mount / with noatime?  would it help any?


Wouldn't make much difference. relatime is the Linux default since quite a long time.

niftyshellsuit
Posts: 6
Joined: Sat Nov 19, 2011 10:39 am

Re: Debian ARM on Raspberry Pi

Sat Apr 21, 2012 10:36 pm

NeilNjae said:


Oh, in case anyone"s interested, there seems to be a bug in the Apache2 package installer that doesn"t add the www-data group for the www-data (Apache) user. Fix it with


$ sudo groupadd www-data

$ sudo usermod -a -G www-data www-data


after installation, then restart Apache:


$ sudo service apache2 restart


I don"t know if this is peculiar to RPi, or is an upstream bug.


This has been driving me mad, thanks v much for the solution!

User avatar
FeersumEndjinn
Posts: 148
Joined: Mon Nov 21, 2011 4:02 pm

Re: Debian ARM on Raspberry Pi

Sat Apr 21, 2012 11:53 pm

NeilNjae said:


Oh, in case anyone"s interested, there seems to be a bug in the Apache2 package installer that doesn"t add the www-data group for the www-data (Apache) user. Fix it with


$ sudo groupadd www-data

$ sudo usermod -a -G www-data www-data


after installation, then restart Apache:


$ sudo service apache2 restart


I don"t know if this is peculiar to RPi, or is an upstream bug.


This has been driving me mad, thanks v much for the solution!

This is isn"t just limited to Apache - nginx suffers from this exact same issue, and the solution is the same.
Morrolan / FeersumEndjinn

"And the lord God said unto John, 'Come forth and receive eternal life', but John came fifth and won a toaster."

Gooseman
Posts: 9
Joined: Mon Apr 16, 2012 5:08 pm

Re: Debian ARM on Raspberry Pi

Sun Apr 22, 2012 3:32 pm

This morning I discovered the new Debian package with improved wireless support.. so I gave it a try, as my dongle (Netgear WNA1000M with RTL8188CUS) was not properly recognized.

Long story short: I am still stuck at the very same stage. After installing the firmware-realtek package from the backports repository and plugging in the dongle, the message file shows:

cfg80211: Calling CRDA to update world regulatory domain

and that is it. No wlan0 or any other reaction of the system..

A subsequent 'lsusb' freezes the system.. any ideas?

pdp7
Posts: 31
Joined: Sat Mar 03, 2012 12:49 am
Contact: Website

Re: Debian ARM on Raspberry Pi

Sun Apr 22, 2012 4:40 pm

Check out ajtag's post in this thread where he got that chipset driver working:

http://www.raspberrypi.org/for.....ic-working

Also, if it is freezing/locking up, it's possible there is a power issue.  Have you measured TP1 to TP2?  I believe it shouldn't fall below 4.75V.  I've read others state that they had to connect their wifi adapter through a powered hub, or move everything else to powered hub and just have wifi adapter connected directly.

Gooseman
Posts: 9
Joined: Mon Apr 16, 2012 5:08 pm

Re: Debian ARM on Raspberry Pi

Sun Apr 22, 2012 5:02 pm

DUH! Thanks for the heads up.. this seems to fix it! This dongle was the most obvious choice as it is really tiny so I would have expected somebody else to use it.

I should use the search function more often.. mea culpa!

User avatar
FeersumEndjinn
Posts: 148
Joined: Mon Nov 21, 2011 4:02 pm

Re: Debian ARM on Raspberry Pi

Mon Apr 23, 2012 9:55 am

In the new Debian Squeeze image, which /boot/start.elf is the default?  Is it the 128mb .elf to provide the GPU with enough RAM for LXDE?

Cheers,

Morrolan
Morrolan / FeersumEndjinn

"And the lord God said unto John, 'Come forth and receive eternal life', but John came fifth and won a toaster."

User avatar
MoonTEC
Posts: 28
Joined: Sat Aug 20, 2011 8:20 am
Location: Lithuania
Contact: Website

Re: Debian ARM on Raspberry Pi

Tue Apr 24, 2012 11:57 am

In debian6-13-04-2012.img default for start.elf is arm192_start.elf

wussie
Posts: 22
Joined: Fri Apr 27, 2012 3:57 am

Re: Debian ARM on Raspberry Pi

Sat Apr 28, 2012 1:52 am

Appologies if this is the wrong place, but can someone confirm if a usb gamepad type device will work with this distro?

Return to “Debian”

Who is online

Users browsing this forum: No registered users and 2 guests