Talk:Manual Debian

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Touch screen calibration)
(one issue at a time, booting for now)
Line 2: Line 2:
  
  
=== Feedback from Brian_252 ===
+
== Booting ==
  
Not sure if this is the best place for feedback...
+
=== Umount ===
 
+
Strange how debootstrap requires root (sid).  Can that be avoided?
+
  
 
I remember seeing a umount /media/card command on this page which i don't see anymore.  That's needed or you will get  
 
I remember seeing a umount /media/card command on this page which i don't see anymore.  That's needed or you will get  
Line 14: Line 12:
 
I needed to umount and rewrite the partition table in order for /dev/mmcblk0p2 to appear.
 
I needed to umount and rewrite the partition table in order for /dev/mmcblk0p2 to appear.
  
Got some of these error messages while installing software:
+
=== Partitions ===
 
+
Processing triggers for man-db ...
+
Can not write log, openpty() failed (/dev/pts not mounted?)
+
 
+
 
+
Preconfiguring packages ...
+
Can not write log, openpty() failed (/dev/pts not mounted?)
+
 
+
Setting up dbus (1.2.1-3) ...
+
Adding system user `messagebus' (UID 102) ...
+
Adding new group `messagebus' (GID 104) ...
+
Adding new user `messagebus' (UID 102) with group `messagebus' ...
+
Not creating home directory `/var/run/dbus'.
+
Can't start system message bus - /proc is not mounted failed!
+
Setting up dbus-x11 (1.2.1-3) ...
+
Setting up libgl1-mesa-dri (7.0.3-5) ...
+
 
+
Setting up xserver-xorg (1:7.3+15) ...
+
xserver-xorg postinst warning: failed to infer keyboard layout from layout/lang
+
    '10 debian-installer/keymap doesn't exist--'
+
Setting up perl (5.10.0-11.1) ...
+
 
+
 
+
Even though /etc/hostname is populated...
+
 
+
startx -- vt1
+
hostname: Unknown host
+
xauth:  error in locking authority file /home/root/.Xauthority
+
xauth:  error in locking authority file /home/root/.Xauthority
+
xauth:  error in locking authority file /home/root/.Xauthority
+
xauth:  error in locking authority file /home/root/.Xauthority
+
 
+
X: warning; process set to priority -1 instead of requested priority 0
+
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
+
_XSERVTransOpen: transport open failed for inet6/om-gta02:0
+
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
+
_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
+
_XSERVTransMakeAllCOTSServerListeners: server already running
+
 
+
Fatal server error:
+
Cannot establish any listening sockets - Make sure an X server isn't already  running
+
giving up.
+
xinit:  No such file or directory (errno 2):  unable to connect to X server
+
xinit:  No such process (errno 3):  Server error.
+
xauth:  error in locking authority file /home/root/.Xauthority
+
 
+
  
aptitude install xserver-xorg-input-tslib
+
Why don't we boot from NAND?
aptitude install kde
+
Preconfiguring packages ...
+
/proc/net/route: No such file or directory
+
  
I was prompted for which keymap to use. Any suggestions?
+
What's the reason for two partitions? Is it because ext2load was broken?  Can we just upgrade u-boot and use one partition?
  
Do i need to do anything special for a bootloader?
+
Is there any need for a swap partition?
  
--[[User:Brian 252|Brian 252]] 12:29, 6 August 2008 (UTC)
+
--[[User:Brian 252|Brian 252]] 15:22, 8 August 2008 (UTC)
  
 
== Touch screen calibration ==
 
== Touch screen calibration ==

Revision as of 16:22, 8 August 2008

Can we get some community / more official debian help. If some one wants to get the stylus / touch screen calibrated on the gta02 that would be great. Oh and lenny works nicely if you don't want to use sid.  :) --Dbmoodb 16:54, 3 August 2008 (UTC)


Contents

Booting

Umount

I remember seeing a umount /media/card command on this page which i don't see anymore. That's needed or you will get

/dev/mmcblk0p1 is mounted; will not make a filesystem here!

Fdisk will also complain

WARNING: rereading partition table failed, kernel still uses old table: Device or resource busy

I needed to umount and rewrite the partition table in order for /dev/mmcblk0p2 to appear.

Partitions

Why don't we boot from NAND?

What's the reason for two partitions? Is it because ext2load was broken? Can we just upgrade u-boot and use one partition?

Is there any need for a swap partition?

--Brian 252 15:22, 8 August 2008 (UTC)

Touch screen calibration

Few days ago there was added calibration for gta02. It doesn't work correctly on my freerunnuer (the mouse pointer doesn't move where I click ant the touchscreen area is about 1/3 smaller then the screen). I tried /etc/pointercal from qtopia and openmoko but it is the same as with parameters from this wiki. Has somebody a tip how to fix this?

--Jakubzeman 07:42, 8 August 2008 (UTC)

Yeah i know what you mean Jakubzeman, it was suggested to me on irc to copy the X server from the 2007.2 distro / other distro to the debian installation... that fixes the pointer but you have to then set it up to work for gdm.... / autologin. NO SID IS NOT REQUIRED I'm using lenny. Oh and if some one wants to see if they can get a debian based kernel / merge / get some more modules from debian / general modules into a kernel for other hardware (such as a rt73 chipset wireless card that would be great :) ) Dbmoodb 08:09, 8 August 2008 (UTC)

Thanks for suggestion. I'll try it (and I'll report if I'm successful or not). --Jakubzeman 08:56, 8 August 2008 (UTC)

Personal tools

Can we get some community / more official debian help. If some one wants to get the stylus / touch screen calibrated on the gta02 that would be great. Oh and lenny works nicely if you don't want to use sid.  :) --Dbmoodb 16:54, 3 August 2008 (UTC)


Booting

Umount

I remember seeing a umount /media/card command on this page which i don't see anymore. That's needed or you will get

/dev/mmcblk0p1 is mounted; will not make a filesystem here!

Fdisk will also complain

WARNING: rereading partition table failed, kernel still uses old table: Device or resource busy

I needed to umount and rewrite the partition table in order for /dev/mmcblk0p2 to appear.

Partitions

Why don't we boot from NAND?

What's the reason for two partitions? Is it because ext2load was broken? Can we just upgrade u-boot and use one partition?

Is there any need for a swap partition?

--Brian 252 15:22, 8 August 2008 (UTC)

Touch screen calibration

Few days ago there was added calibration for gta02. It doesn't work correctly on my freerunnuer (the mouse pointer doesn't move where I click ant the touchscreen area is about 1/3 smaller then the screen). I tried /etc/pointercal from qtopia and openmoko but it is the same as with parameters from this wiki. Has somebody a tip how to fix this?

--Jakubzeman 07:42, 8 August 2008 (UTC)

Yeah i know what you mean Jakubzeman, it was suggested to me on irc to copy the X server from the 2007.2 distro / other distro to the debian installation... that fixes the pointer but you have to then set it up to work for gdm.... / autologin. NO SID IS NOT REQUIRED I'm using lenny. Oh and if some one wants to see if they can get a debian based kernel / merge / get some more modules from debian / general modules into a kernel for other hardware (such as a rt73 chipset wireless card that would be great :) ) Dbmoodb 08:09, 8 August 2008 (UTC)

Thanks for suggestion. I'll try it (and I'll report if I'm successful or not). --Jakubzeman 08:56, 8 August 2008 (UTC)