*

Welcome, Guest. Please login or register.

Get your own OLPC - Buy an XO laptop on eBay!
Pages: 1 ... 19 20 21 [22] 23 24 25 ... 37
Print
Author Topic: Beyond the Ubuntu Installation  (Read 414612 times)

#315 Re: Beyond the Ubuntu Installation

mavrothal
Administrator
OLPC News Forum Expert
*****
Posts: 1289


September 18, 2008, 11:26:32 PM

Quote
User has to be in the audio group to use sound card. Run

sudo addgroup username audio

Once more, thanks
....and which group should the new user be added to be able to initiate network connections?
And more general where do I find the available groups (to be added or removed as needed) so I do not bother you every time?

Quote
You can force device to become readable/writable for all users with -oumask=0 option.

Where/when do I do that?

Logged

XO-1: Is never going to run Flash, but is certainly flashy!
(If you want Flash, get an XO-1.5 running OLPC 11.2.0 or XOpup Grin )

#316 Re: Beyond the Ubuntu Installation

niallp
New

Posts: 2


September 18, 2008, 11:27:23 PM

I'm getting the same symptoms as GoremanX, boots normally till ready to login at the gdm prompt, then frozen. It worked with the compressed file installation of 7.10 (moocapien)

I'm also running build 711 with fw Q2E12.

I noticed that the tarball has /lib/modules with 2.6.24-16-generic and /vmlinuz pointing to boot/vmlinuz-2.6.24-16-generic (which doesn't exist and isn't copied over from /boot on the nand flash) ... I assume olpc.fth handles the boot kernel selection though and this is just the incomplete move to the generic kernel ?
Logged

#317 Re: Beyond the Ubuntu Installation

teapot
OLPC News Forum Expert
****
Posts: 662



WWW
September 18, 2008, 11:54:15 PM

Once more, thanks
....and which group should the new user be added to be able to initiate network connections?
Updated here -- forgot to answer this question:
Any user can talk to the network. By default the only things that are restricted are network management, running servers on privileged ports (range below 1024) and accessing raw sockets.

If you mean, configuration of network interfaces, manual configuration is only available to the root user, however Network Manager (visible to the user as the "network" applet on the bottom panel) is accessible to any user logged in locally (configured in /etc/dbus-1/system.d/NetworkManager.conf ).
Quote
And more general where do I find the available groups (to be added or removed as needed) so I do not bother you every time?
Groups, their IDs and users in them are listed in /etc/group file. ls -l shows owners/groups/permissions of the files (for example, device files under /dev/snd are responsible for sound cards), and groups are often mentioned in configuration files when some program uses groups through its own access control mechanism instead of file permissions (such as sudo, policykit, etc.).
Quote
Quote
You can force device to become readable/writable for all users with -oumask=0 option.

Where/when do I do that?

How exactly do you mount those devices? This can be added to the options of the mount command.
« Last Edit: September 19, 2008, 01:58:52 AM by teapot » Logged

#318 Re: Beyond the Ubuntu Installation

mavrothal
Administrator
OLPC News Forum Expert
*****
Posts: 1289


September 19, 2008, 12:01:02 AM

Quote
How exactly do you mount those devices? This can be added to the options of the mount command.

The vfat partition is on the SD card that has the OLPCRoot partition. Is mounted by just clicking or right-click->mount
Logged

XO-1: Is never going to run Flash, but is certainly flashy!
(If you want Flash, get an XO-1.5 running OLPC 11.2.0 or XOpup Grin )

#319 Re: Beyond the Ubuntu Installation

teapot
OLPC News Forum Expert
****
Posts: 662



WWW
September 19, 2008, 12:03:01 AM

I'm getting the same symptoms as GoremanX, boots normally till ready to login at the gdm prompt, then frozen. It worked with the compressed file installation of 7.10 (moocapien)

I'm also running build 711 with fw Q2E12.
I have Q2E11, so I am updating right now to Q2E12 to see, what is going on.
Update:
I have installed firmware Q2E12 and kernel 2.6.22-20080808.olpc1.4c233ce8ed8f9cb on two laptops, and both still boot properly.

You can try to disable all attempts to play sound on boot:

1. Boot into Sugar, in Terminal run sudo -s

2. Plug SD card into the slot, wait for it to be mounted, go into directory where it is mounted ( cd /media/OLPCRoot or whatever name will corredpond to device /dev/mmcdblk0p1 in the output of mount command).
3. Edit file usr/lib/gdmplay :

nano -w usr/lib/gdmplay

Comment out the second (and last) line in this script -- insert # in front of it, just like the leading # in the first line.
Exit the editor and save the file (Ctrl-X Y <Enter>)

4. Exit the Terminal and reboot the laptop. See it booting from SD.

If that won't help, repeat the steps 1 and 2, run rm etc/rc2.d/S30gdm , then reboot. Laptop will boot into the console. On the console login as olpc and run "startxfce4". If that will work (it should start XFCE session), it will be some usable starting point to find out why gdm locked up.

Quote
I noticed that the tarball has /lib/modules with 2.6.24-16-generic and /vmlinuz pointing to boot/vmlinuz-2.6.24-16-generic (which doesn't exist and isn't copied over from /boot on the nand flash) ... I assume olpc.fth handles the boot kernel selection though and this is just the incomplete move to the generic kernel ?
This is for Ubuntu kernel, it remains unused until the release of the real package (actual Ubuntu kernel does not work on XO).
« Last Edit: September 19, 2008, 01:43:27 AM by teapot » Logged

#320 Re: Beyond the Ubuntu Installation

teapot
OLPC News Forum Expert
****
Posts: 662



WWW
September 19, 2008, 12:37:05 AM

I do have the developer key, I don't think I'd be able to boot another kernel at all if I didn't.

My version of Ubuntu uses the same kernel as the OLPC ROM, so it boots even on a locked laptop as long as zip files in /boot and /lib/modules directory came from the same kernel version. I have discovered it yesterday after getting the second, still locked, laptop.
« Last Edit: September 19, 2008, 02:02:32 AM by teapot » Logged

#321 Re: Beyond the Ubuntu Installation

-raleigh-
Commenter

Posts: 5


September 19, 2008, 03:15:48 AM

I don't see a reason why this wouldn't work save for some hardware problem -- I will check if XO will boot from a hard drive.

Any success booting from a hard drive?
Logged

#322 Re: Beyond the Ubuntu Installation

surial
Commenter

Posts: 8


September 19, 2008, 09:23:34 AM

Is it possible to make nm-applet log in automatically?

I've solved keyring issues - when I select my home wireless network from the list it will immediately log in to it. I'd just like it if it automatically did so when that network is in range instead of me having to manually select it.

Thanks for any help!
Logged

#323 Re: Beyond the Ubuntu Installation

mavrothal
Administrator
OLPC News Forum Expert
*****
Posts: 1289


September 19, 2008, 09:53:11 AM

Quote
Any user can talk to the network. By default the only things that are restricted are network management, running servers on privileged ports (range below 1024) and accessing raw sockets.

You are right. This was another fs corruption Sad
Fortunately fsck was able to repair it and resulted in a usable system but this is 2 in 2!!! As soon as I generate the new user after some logins and logouts between the 2 users I get an fs corruption.
The first symptom is that instead of shutting down it logs out and stays at the login screen. When I shutdown from the opption there, I get the file corruption. Both times!
Does anybody else had such a problem??? Or is something specific for my setup?
My A-data card for example is under performing. It has 15MB/s read but only 3MB/sec  sustained write speeds, and I'm thinking that during the switches something might be left in the caches or somewhere and generates the corruption.
With a single user had no problem what so ever.
Logged

XO-1: Is never going to run Flash, but is certainly flashy!
(If you want Flash, get an XO-1.5 running OLPC 11.2.0 or XOpup Grin )

#324 Re: Beyond the Ubuntu Installation

niallp
New

Posts: 2


September 19, 2008, 11:02:23 AM

You can try to disable all attempts to play sound on boot:
...
3. Edit file usr/lib/gdmplay :

That fixed the lockup problem, thanks !

Now onto updates etc ...

It turns out the sound was also locking up in Sugar, there is apparently a bug when the firmware startup sound has been disabled the sound chip isn't configured properly.

Re-enabling the sound is apparently the workaround until new firmware is installed. It took me a few tries but I eventually managed to switch it back on by hitting volume up when the firmware is starting.
« Last Edit: September 20, 2008, 07:27:45 AM by niallp » Logged

#325 Re: Beyond the Ubuntu Installation

red
Commenter

Posts: 20



September 19, 2008, 04:36:29 PM

Does anyone know where I can find the Ubuntu Hardy torrent because http://mars.illtel.denver.co.us/~abelits/torrents/OLPCFiles-hardy-20080506.tar.bz2.torrent isn't working for me.
Logged

#326 Re: Beyond the Ubuntu Installation

teapot
OLPC News Forum Expert
****
Posts: 662



WWW
September 19, 2008, 07:00:04 PM

Does anyone know where I can find the Ubuntu Hardy torrent because http://mars.illtel.denver.co.us/~abelits/torrents/OLPCFiles-hardy-20080506.tar.bz2.torrent isn't working for me.

Web server was down -- it should work now.
Logged

#327 Re: Beyond the Ubuntu Installation

mavrothal
Administrator
OLPC News Forum Expert
*****
Posts: 1289


September 20, 2008, 01:27:30 AM

iPod under Ubuntu anyone?
I installed gtkpod, gpixpod, ipod and its dependencies in Ubuntu 8,  but I do not seem capable of accessing my G5 iPod (Mac formated with disk mode on).
Basically it does not mount on the desktop or the file system or with to any of the related applications.
HAL cannot detect any iPod related events.
What am I missing???
« Last Edit: September 20, 2008, 01:30:33 AM by mavrothal » Logged

XO-1: Is never going to run Flash, but is certainly flashy!
(If you want Flash, get an XO-1.5 running OLPC 11.2.0 or XOpup Grin )

#328 Re: Beyond the Ubuntu Installation

cruisingjack
Commenter

Posts: 19


September 20, 2008, 07:05:32 AM

Now that I have Ubuntu running on my XO, I have been asked to upgrade my oldest grandson's XO and one that a friend had purchased through the Give One, Get One program.

Can I just format a new 8GB SD card and copy the /media/OLCPRoot directory from my SD card to the new ones?  I believe I know the copy commands, but if someone could provide them, it would save me a lot of time trying to get it right.

If I can't copy it as described above, I'll just have to spend a lot of time expanding the Hardy download to the new SD cards and then sudo aptitude to update the system.

Thanks,
Jack

(P.S. Now you know I am a "old" techie since I have a grandson.)
Logged

#329 Re: Beyond the Ubuntu Installation

colinwhipple
Senior Contributor
**
Posts: 105


September 20, 2008, 07:29:48 AM

Now that I have Ubuntu running on my XO, I have been asked to upgrade my oldest grandson's XO and one that a friend had purchased through the Give One, Get One program.

Can I just format a new 8GB SD card and copy the /media/OLCPRoot directory from my SD card to the new ones?  I believe I know the copy commands, but if someone could provide them, it would save me a lot of time trying to get it right.

If I can't copy it as described above, I'll just have to spend a lot of time expanding the Hardy download to the new SD cards and then sudo aptitude to update the system.

Thanks,
Jack

(P.S. Now you know I am a "old" techie since I have a grandson.)

There is a message thread about how to do this:

http://olpcnews.com/forum/index.php?topic=2564.0

To me, message #14 from tangomike was most useful.

Colin
Logged
Pages: 1 ... 19 20 21 [22] 23 24 25 ... 37
Print
Jump to:  

Members
Total Members: 2406
Latest: sembik
Stats
Total Posts: 31943
Total Topics: 3843
Online Today: 36
Online Ever: 238
(April 18, 2011, 09:48:50 PM)
Users Online
Users: 0
Guests: 19
Total: 19