Author Topic: ./gnu-tar Segmentation Fault  (Read 5073 times)

apink

  • Full Member
  • ***
  • Posts: 109
    • View Profile
./gnu-tar Segmentation Fault
« on: August 28, 2005, 09:55:18 pm »
Being a noob I've never gotten a segmentation fault before.  I'm trying to get pocketworkstation going.  I got the -big-*.tgz file from pocketworkstation.org onto the sd, made sure that fstab said ext2 for the sd, downloaded and unpacked the gnu-tar package from pocketworkstation.org.  Then I ./gnu-tar 'd the big package and got the segmentation fault as an error.

Can anyone tell me where to look to find a way to get through this?
« Last Edit: August 30, 2005, 11:51:05 pm by apink »
--current use--
linux chroot on top of lineage  on cell phone

--past handhelds--
pandora
ben nanonote
zaurus sl-c1000

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
./gnu-tar Segmentation Fault
« Reply #1 on: August 29, 2005, 08:52:55 am »
Can you not just use normal 'tar'?

The seg fault is to do with your use of gnu-tar, whatever that is.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

bluedevils

  • Hero Member
  • *****
  • Posts: 1284
    • View Profile
    • http://
./gnu-tar Segmentation Fault
« Reply #2 on: August 29, 2005, 09:21:54 am »
and exactly what was the actual commandline  when you implemented ./gnu-tar'd?
I'm now an iphone user and use my zaurii as serial terminals, perl and shell scripting and when I need 640x480 screens

sl-c3100/pda cacko 1.23 | sl-6000l/needs battery | sl-c760/server pdaxrom rc12 | Former sl-5500/tkcrom owner (sister's birthday gift)

apink

  • Full Member
  • ***
  • Posts: 109
    • View Profile
./gnu-tar Segmentation Fault
« Reply #3 on: August 29, 2005, 09:55:09 am »
These were the directions I followed, from pocketworkstation.org.
Quote
# download and decompress GNU tar, busybox tar is broken in some
# versions and messes up the archive contents
wget http://pocketworkstation.org/files/gnu-tar.gz
gunzip gnu-tar.gz

# create the destination directory
mkdir debroot

# Unpack if you haven't done so already.
# Don't forget the 'p' switch, or you'll get wrong permissions.
./gnu-tar -C debroot -xvzpf zaurus-debian-*.tgz

# Configure and integrate into native system
./debroot/INSTALL.d/postinst.sh
I tried tar and it seemed to work at first glance.  I guess I'll just wait and see if the "archive contents" are messed up, whatever that means.
--current use--
linux chroot on top of lineage  on cell phone

--past handhelds--
pandora
ben nanonote
zaurus sl-c1000

apink

  • Full Member
  • ***
  • Posts: 109
    • View Profile
./gnu-tar Segmentation Fault
« Reply #4 on: August 31, 2005, 12:10:43 am »
Continuing with my efforts to put pocketworkstation onto a c1000 running Hentges rom:

I now have the tar ball expanded on the sd card and have run the postinst.sh script.  Things didn't work.

The vnc server seems to work.  I can run vncserver and not get a fatal error, though there are several "Could not init font path -yada yada yada-, removing from list!" messages.

When I try to run Fbvnc I get a "connection from client 127.0.0.1", authentication succeeds, it says "Desktop name "root's x11 desktop (akita:1)"', then "Connected to VNC server, using protocol vers. 3.3", then it goes into a VNC server default format: -yada yada yada.

then the errors:

            FBmouseopen:  Error opening /dev/gpmdata, trying /dev/mouse
            FBmouseopen:  Error opening /dev/mouse
            Skipping FBputcmap
            read touchscreen: expected 20 bytes, got 8 (bad '-hw' type?)

then "Client 127.0.0.1 gone"
  framebuffer updates 0, rectangles 0, bytes 0

Oh yeah, and before I get all of this screen output, the screen clears and I am instructed to calibrate the screen by hitting the crosshairs.  It lets me hit one crosshair dot then gives me the error output.

Any help as to what is going on?

I really like Opie-Hentges and would like to find a way to put pocketworkstation on without going back to the sharp rom.  I have seen several posts mention that pocketworkstation works on OZ.

Alternative request:  Does anyone know where a howto for a c1000 OZ pocketworkstation install is?  I think that I am following instructions for a 7X0 and probably for the Sharp rom.
--current use--
linux chroot on top of lineage  on cell phone

--past handhelds--
pandora
ben nanonote
zaurus sl-c1000

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
./gnu-tar Segmentation Fault
« Reply #5 on: August 31, 2005, 05:04:06 am »
From the look of some of the error messages it would appear that it is at least slightly hardware dependant. What other machines have people had it running on?

The 5500 for certain as I've done that myself.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva