Author Topic: Full Debian On The Sl-c3000  (Read 31507 times)

spartan

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
Full Debian On The Sl-c3000
« Reply #15 on: December 14, 2004, 09:34:10 pm »
As far as I understood (being new to Linux), the main thing that's stopping me from running Debian ARM programs is the X-Window System, X11, Qt (?), or simply X. I've searched on the Internet for the program itself recompiled for Zaurus, but like many of you, found an inaccessable SourceForge site.

After reading the topic, I have one main question:

If I can just install X/Qt in lieu of the entire Debian system, where can I get ahold of X/Qt for the Zaurus? I understand such an implementation to be pdaXrom and OpenZaurus, but considering those aren't available for the C3000, couldn't I just install the necessary executables to provide those critical features?

I mean, the main reason I chose the Linux handheld over everything else is its massive compatibility with desktop software.
C3000 with Tetsu v18d Special Kernel and Sharp 1.11JP ROM
1GB Lexmark SD, 2GB Mini SD, Socket Revision H Bluetooth, Ambicom Wi-Fi

Newbix

  • Newbie
  • *
  • Posts: 15
    • View Profile
Full Debian On The Sl-c3000
« Reply #16 on: December 14, 2004, 09:45:05 pm »
This debian installation doesn't use X/Qt (X over QT), it uses over Xf4vnc an X server over VNC, and a VNC server, fbvnc. I don't know what X server is in OpenZarus or in PdaXrom.

You can get those programs from the debian-big tarball (see the howto -- you should get the patched fbvnc for the SL-C3000, too), but you can as well install the full system, it's not that big (and you can take debaian-base instead of debian-big).

But the thing is that you can't run this X server over QTopia (the graphic system provided by sharp), you have to exit QTopia (ie to reboot) to run it, and vice-versa.

bmsleight

  • Newbie
  • *
  • Posts: 28
    • View Profile
Full Debian On The Sl-c3000
« Reply #17 on: December 18, 2004, 08:39:41 pm »
I managed to access the sd card on the Zaurus Sl-C3000 while running Debain.

Before you launch Fbvnc I used used the command:-
mount -o binf /usr/mnt.rom/card /hdd3/debroot/mnt/card

I posting this as it did take me a few attempts to get this, ln is no good for foing this.

BMS

spartan

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
Full Debian On The Sl-c3000
« Reply #18 on: December 19, 2004, 12:33:47 am »
I followed the tutorials mainly to use X/Qt in place of Fbvnc. I'm having one particular problem: apt-get fails.

Quote
Temporary failure resolving '{an address, sometimes an http://ftp:// sort of url}'

I have the unit networked via an Ambicom WiFi, and NetFront works fine. I ran the entire postinst.sh (from inside X/Qt chroot'ed to /hdd2/debian/
  • under su) up until the point where it asked me if I want to install the scripts. I've tried the installation without running the postinst.sh script, and I got the same error. Frankly, I can't tell the difference--but that's aside the point.


My only visual clues as to how far I am into getting this to work is IceWM is running, with a horrible background, and I can get Xterm to work, basically nothing else.

  • : Yes, so I chose to put it on the program space instead. The tar resides on /hdd/documents/, and I just cd /hdd2/debian/&tar -xpv /hdd/Documents/{atrociously long filename}


Also, thank you for the response Newbix. I guess what I really wanted was no VNC involved, because for me (the Windows user) VNC means an extra drawing layer grabbed from shared pipe or a TCP Localhost socket, meaning slow.
C3000 with Tetsu v18d Special Kernel and Sharp 1.11JP ROM
1GB Lexmark SD, 2GB Mini SD, Socket Revision H Bluetooth, Ambicom Wi-Fi

bmsleight

  • Newbie
  • *
  • Posts: 28
    • View Profile
Full Debian On The Sl-c3000
« Reply #19 on: December 19, 2004, 03:09:39 pm »
Spartan,

What the output of the command (outside debian) :-
cat /etc/mtab

Is proc mounted across correctly ?

For example mine:-
none /hdd3/deroot/proc proc rw 0 0

Yours:-
none /hdd/documents/proc proc rw 0 0

Just a guess,
Brendan

spartan

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
Full Debian On The Sl-c3000
« Reply #20 on: December 19, 2004, 09:42:17 pm »
Nevermind, thanks for the assistance but it was a typo  

Typos aside, make sure that you perform the following commands:

su
cp /etc/resolv.conf $DEBROOT/etc/resolv.conf

...from inside the Zaurus terminal. I don't remember reading it in any of the tutorials, but basically apt-get fails because the installation doesn't have any DNS servers listed, regardless of whether one runs postinst.sh . Maybe it's just my problem.

Meanwhile, after installing Konqueror (and in turn, KDE) I have only 10 MBs of space left on /hdd2/, so I tar'ed the entire debian installation, removed it, and plan on formatting /hdd3/ to ext3. So installing on /hdd2/ is quite possible, just don't plan on having plenty of space left after the basic things are installed.
C3000 with Tetsu v18d Special Kernel and Sharp 1.11JP ROM
1GB Lexmark SD, 2GB Mini SD, Socket Revision H Bluetooth, Ambicom Wi-Fi

Randolph_Carter

  • Newbie
  • *
  • Posts: 18
    • View Profile
Full Debian On The Sl-c3000
« Reply #21 on: December 20, 2004, 02:59:53 am »
Hi.

I put Japanese translation of HOWTO on my blog, and naorou(the guy who made the hacked fbvnc) told me that to easily test the installation(without formatting with ext3 and stuff), you can just make a loopback device on /dev/hdc3, and mount it at /hdd3/debroot.

just do something like
 # dd if=/dev/zero of=/hdd3/lopback bs=1M count=1024 (this makes 1GB file)
 # /sbin/mke2fs loopback
 # mount -o loop -t ext2 loopback /hdd3/debroot
and install the debian files there.

just his two cents.
naorou himself has Vine installed on his Z

cheers.
« Last Edit: December 20, 2004, 03:00:53 am by Randolph_Carter »
----
Randolph Carter
C760+pdaXrom 1.1.0 RC5
Planex WiFi + IO Data 512MB SD + 4GB Hitachi MD

Newbix

  • Newbie
  • *
  • Posts: 15
    • View Profile
Full Debian On The Sl-c3000
« Reply #22 on: December 20, 2004, 12:51:29 pm »
Quote
Before you launch Fbvnc I used used the command:-
mount -o binf /usr/mnt.rom/card /hdd3/debroot/mnt/card
I think tou mean "-o bind" and not "-o binf"

Anyway, you can allso mount it from inside the debian with
Code: [Select]
mount /dev/hda1 /mnt/card
If you don't have a /dev/hda1 device, you can create it with
Code: [Select]
mknod /dev/hda1 b 3 1(You can get those numbers from "cru ls -l /dev/hda1")

spartan

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
Full Debian On The Sl-c3000
« Reply #23 on: December 20, 2004, 04:29:01 pm »
Thanks for the loopback suggestion: that's exactly what I'm looking for. It's almost as if you read my mind.

I got the following error:

# dd if=/dev/zero of=/hdd3/.Loopback bs=1M count=1024
1024+0 records in
1024+0 records out
# ls -as
     4 .          1048576 .Loopback       4 dict1
     0 ..              4 Documents       4 dict2
# /sbin/mke2fs .Loopback
mke2fs 1.35 (28-Feb-2004)
.Loopback is not a block special device.
Proceed anyway? (y,n) y
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
131072 inodes, 262144 blocks
13107 blocks (5.00%) reserved for the super user
First data block=0
8 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376

Writing inode tables: done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 34 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
# mount -o loop -t ext2 .Loopback /hdd3/debian
mount: Mounting /hdd3/.Loopback on /hdd3/debian failed: No such file or directory

I tried renaming (via mv) the .Loopback file to dozens of things, but it wouldn't change the fact that the mount fails.
« Last Edit: December 20, 2004, 04:59:04 pm by spartan »
C3000 with Tetsu v18d Special Kernel and Sharp 1.11JP ROM
1GB Lexmark SD, 2GB Mini SD, Socket Revision H Bluetooth, Ambicom Wi-Fi

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Full Debian On The Sl-c3000
« Reply #24 on: December 20, 2004, 05:46:13 pm »
Quote
180 days, whichever comes first.  Use tune2fs -c or -i to override.
# mount -o loop -t ext2 .Loopback /hdd3/debian
mount: Mounting /hdd3/.Loopback on /hdd3/debian failed: No such file or directory
Before mounting a file system you need a directory created to act as a mount point.

Therefore you need to mkdir /hdd3/debian before issuing your mount command.

- Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

spartan

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
Full Debian On The Sl-c3000
« Reply #25 on: December 20, 2004, 06:01:12 pm »
Thanks, that fixed my problem.

However, where can I put the mount command so that it's executed on startup?
C3000 with Tetsu v18d Special Kernel and Sharp 1.11JP ROM
1GB Lexmark SD, 2GB Mini SD, Socket Revision H Bluetooth, Ambicom Wi-Fi

Neverwinter

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Full Debian On The Sl-c3000
« Reply #26 on: December 20, 2004, 09:31:20 pm »
So what benefit would I get if I installed Debian on a C3K?

spartan

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
Full Debian On The Sl-c3000
« Reply #27 on: December 21, 2004, 01:46:33 am »
Qt is slow. Maybe it's the loop mounting, I don't know.
C3000 with Tetsu v18d Special Kernel and Sharp 1.11JP ROM
1GB Lexmark SD, 2GB Mini SD, Socket Revision H Bluetooth, Ambicom Wi-Fi

deniscallies

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
    • http://
Full Debian On The Sl-c3000
« Reply #28 on: December 22, 2004, 02:29:51 pm »
Hello,

everytime i try to install software i get following message

Quote
E: Sub-prozess /usr/bin/dpkg exited unexpectedly

How can i manage to install software?

thanks,  Denis

wormwood

  • Newbie
  • *
  • Posts: 24
    • View Profile
Full Debian On The Sl-c3000
« Reply #29 on: December 22, 2004, 03:45:22 pm »
It worked nicely. But I have a bit of a newbie question. How do I go back to the 3gb fat parition? I've tried to delete the partition with fdisk then create a new one but have some how managed to create a parition that shows up as "Partition 3 does not end on cylinder boundary". It does not allow me to delete this partion or change it's type which is Emtpy. How can I get rid of this misbehaving parition?

/dev/hda3 Start=1 End=1 Blocks=0 id=0 System=Empty

Sorry for the repost
« Last Edit: December 22, 2004, 03:50:04 pm by wormwood »
OpenBSD
SL-C3000
Symbol Wifi CF