Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mivilleb

Pages: [1] 2
1
Ubuntu / Akita Multiboot "how To" Help
« on: April 24, 2010, 05:10:26 am »
Well, Angstrom just does not boot properly. The rootfs and image are probably OK after the build, it is just the /dev and probably others directories and files that do not come properly configured. If you compare the Zubuntu 2.0 tar achive /dev and the Angstrom /dev you will see that none of the Angstrom files in /dev have have been mknod. If Zubuntu just works after installing it on the SD card so there is no reason why Angstrom should not do the same. Unfortunately Zubuntu 2.0 is just not usuable on a Zaurus SL-C1000, it is way too slow, 5 minutes to start Fennec!

So I still want to try Angstrom and see if it is more usable. I tried it 2 years ago and it worked fine, but could never get my WiFi card to work so I kept Cacko because everything just works and it is fast. But now I need to have Apache and PHP on my Zaurus for working on a project while on the train.

Does anybody know how to install a fresh build of Angstrom on a Akita?

The last build I done should still be on the Angstrom server if anybody wants to try it on their Akita:

http://www.angstrom-distribution.org/narci...e-akita.tar.bz2

2
Ubuntu / Akita Multiboot "how To" Help
« on: April 23, 2010, 02:57:08 pm »
With the Planex card in before booting, Angstrom still stay at the "pxa2xx-udc pxa2xx-udc: UDC connecting" line, while the Zubuntu does not recognised it.

3
Ubuntu / Akita Multiboot "how To" Help
« on: April 23, 2010, 06:11:02 am »
Finally got Zubuntu 2.0 working. It was probably th SD card and/or the way I untar the file system.

After making the SD ext2, I untar using this command from a Ubuntu laptop:

[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']
cd /media/disk
sudo tar -xvpf /home/mivilleb/Documents/Zaurus/Angstrom/zubuntu-desktop-v2.0.tar.gz
sudo tar -xvpf /home/mivilleb/Documents/Zaurus/Angstrom/spitz-root-addition-v2.0.tar
[/div]

This time all the /dev files where properly mknod.

Put the SD card in my Akita, booted and selected the Zubuntu choice from the boot menu

Got the login, type root and enter, got the prompt and type startx. That worked and I got into Zubuntu desktop! Can not use the turn off button. Very slow for most application, but it works, can't seem to make my Planex WiFi card to work, so not sure how I will get any other package installed.

Also tried again Angstrom using the same tar command and it created the proper /dev files this time (-xvfjp instead because it is a bz2 file), but when I tried to boot, it get stuck at this message:

pxa2xx-udc pxa2xx-udc: UDC connecting

Any idea?

4
Ubuntu / Akita Multiboot "how To" Help
« on: April 22, 2010, 09:36:50 pm »
I tried login as root and got the following error

[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']
/bin/login: error while loading shared libraries: libpam_misc.so.0: cannot open shared object file: No such file or directory
[/div]

5
Ubuntu / Akita Multiboot "how To" Help
« on: April 22, 2010, 09:10:19 pm »
I wish there was some clear documentation! I just want to be a user of Angstrom!

mc does not show the file different from doing ls -al. None of the file in /dev have been mknod.

Since none of the mknod were created after untaring the archive, I attempted to create them manually based on the info on this link:

http://www.gentoo-wiki.info/HOWTO_Custom_Stage4

[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']
mknod -m 660 /mnt/card/dev/console c 5 1
mknod -m 660 /mnt/card/dev/null c 1 3
mknod -m 660 /mnt/card/dev/tty1 c 4 1
[/div]

I then did this:

[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']
mount -t proc none /mnt/card/proc
mount -o bind /dev /mnt/card/dev
[/div]

I then rebooted, selected Angstrom and it got me one step further, I got an Angstrom login in the console (the build I am trying is xfce). It asks me for a login, what do I type? I was expecting it to show me the xfce desktop, but no just the console. Since I can not login, I am stuck again.

Any clear instruction anywhere?

6
Ubuntu / Akita Multiboot "how To" Help
« on: April 22, 2010, 12:57:53 am »
Actually, I think the problem is when I untar the rootfs file from the online builder on the SD card, it creates all the directory structures, but does not automatically do the mknod devices. So looking at the /dev directory, they are just like normal file (no blocks or character special files). I never seen documented that when you want to use Angstrom, you need to do all the mknod yourself. I did that (for console, full, null, etc.), it did start to boot, but now it says that a lot of files are missing in /proc. Any ideas anyone?

7
Ubuntu / Akita Multiboot "how To" Help
« on: April 21, 2010, 05:50:57 am »
I now have Cacko running on NAND via booting with the Angstrom kexecboot kernel. I just copied the content of the /boot I had on my SD card for the Katastrophos kernel and it worked without the SD. I then tried the Zubuntu 2.0 and the Angstrom build from the online builder on a 1GB SD card (ext2) but none want to boot. They appear in the kexecboot menu, but once selected, I only get the following message at the end:

[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']
Warning: unable to open an initial console.
[/div]

I did not change anything from the downloaded rootfs files and just extracted them to the SD card.

Cacko 1.23 is on the Akita NAND with a 53MB partition.

I am missing anything? Why it does not want to boot?

8
Ubuntu / Akita Multiboot "how To" Help
« on: April 19, 2010, 09:29:51 pm »
I managed to have Cacko running from NAND on my Akita as per the instruction with the kernel image in the boot directory of a SD card (ext2). Once it has booted in Cacko, can I remove the SD card? I will also try putting the kernel image and kernel-commandline file in the /boot directory of the NAND and see if I can boot without the SD card as done in another [a href=\'index.php?act=findpost&pid=183017\']duo post[/a].

I have a lot of problems with my SD cards trying to make them work with the Zaurus. Seems like GParted actually corrupts the SD cards on Ubuntu 9.04. The card I am using does get mounted in my Zaurus (2.0GB SD, and yes I have the Testsu Kernel) but it does seem to show the correct partition and does work at booting Cacko:

[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']
$ sudo fdisk -l

Disk /dev/mmcda: 2032 MB,  2032664576 bytes
255 heads, 63 sectors/track, 247 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot       Start         End           Blocks          Id        System
/dev/mmcda1         1             123           987966          83        Linux
[/div]

The next step did not work for me. I downloaded the Zubuntu 2.0 from Omegamoon, extracted the rootfs and addition files to a ext2 1.0GB SD card (this one actually gets mounted when put in my Zaurus). Put it in my Zaurus and rebooted. Zubuntu does show in the list in the Omegamoon boot menu, but after I select it, I get a Kernel Panic message after several fast moving error messages. Any idea why it would do that? I did not change anything from the downloaded files, only extracted them on the SD card as is.

Also each time I try to extract Zubuntu 2.0 or RC1 I always get mknod errors (permission denied, I guess trying to create the device block). Should I extract as root or using sudo?

Once I have Zubuntu working from a SD card I want to get Angstrom running and perhaps Poky also from the SD card. After I have everything running I will put all the detailed steps including all the commands needed.

9
Ubuntu / Akita Multiboot "how To" Help
« on: April 17, 2010, 07:21:11 am »
I have tried most "how to" in this forum and elsewhere and none have worked for me. I am not a developer but a user of the Zaurus. So when an "how to" assumes it is clear to everybody without actually including all the detailed steps, it does not always work for everybody, as shown in many of the posts in this forum. I have tried almost all distros by flashing them on my Akita and they all worked fine. But now the emphasis is more and more on kexecboot or multiboot methods. So I would like to write a complete multiboot "how to" for users (not developers) for the Akita hopefully with all your help.

Here is what I want to do:

1- Have multiple OS for my SL-C1000 on a SD card
   - Zubuntu 2.0
   - Cacko 1.23
   - Angstrom
   - Poky
   - Igelle (http://www.igelle.com/)
2- Use the kexecboot or Omegamoon version

I have been using mainly Cacko but I now need to have a more mini computer (with Perl, Pyton, PHP and Apache) for when I am on a train or plane. I also mainly travel by bike and carrying a laptop is not an option for me, I need to travel as light as possible hence the Zaurus is perfect for that.
 
Here is what I tried so far:

1- I have configured a 2GB SD card with ext3 using fdisk and mkfs the same way as on Omegamoon:
    http://www.omegamoon.com/blog/static.php?page=ZaurusUbuntu
2- I already had Cacko running on my Akita (capable of reading SD cards higher than 1GB)
3- I obtain the Katastrophos rootfs files and modules from this post:
   https://www.oesf.org/forum/index.php?showtopic=26759
4- Put the them on one of the partition of the SD card
5- Obtain the Sptiz Zubuntu 2.0 rootfs and addition files from this page:
    http://www.omegamoon.com/blog/index.php?en...ry090829-014821
    (That actually did not work, when I tried to gunzip and tar -xvf the content on my Linux box, I got a few mknode permission denied).
6- Put them on a 1GB partition on the SD card
7- Obtain the kexecboot kernel and update file from Omegamoon:
   http://www.omegamoon.com/blog/static.php?page=ZaurusUbuntu
8- Put them on a CF VFAT card (my SD card formatted as VFAT did not get recognized by my Akita)
9- Flashed update them on the Zaurus and rebooted as per the instruction on Omagamoon:
       http://www.omegamoon.com/blog/static.php?page=ZaurusUbuntu
10- After rebooting my Akita, I obtain the Omagemoon kexecboot menu with 2 items in the list, one for Cacko and one for Zubuntu.
11- Selecting the Cacko did not work, got a kernel panic (init not found)
12- Selecting the Zubuntu did not work just stopped in the console and never booted the actual desktop.

I read all the posts in this forum related to this topic and there are many incomplete solutions but none of them seem to work for me.

So I want to start from the absolute beginning and want to write down every single steps that need to be taken for using kexecboot on Akita.  Remember this is for the users not the developers.

Step 1: Format a SD card

- Partition and make an ext3 filesystem on a 2GB SD card with some swap space
  (enter the exact and complete steps here)

Step 2: Prepare your Zaurus

- ...

Step 3: Obtain rootfs files, kernel-cmdline, kernel images for each OS

etc. ...

Shall we start?

Thank you for your help.

10
Sharp ROMs / Planex Wifi Card Problems With Cacko1.23
« on: October 19, 2006, 06:51:18 am »
Hi,

Sorry for the long post!

I have a Planex WiFi Card GW-CF11X for my Zaurus SL-C1000 with Cacko 1.23.

My card used to work, but now it always stay in Suspended mode after a brief moment in Ready mode.

When I put the card in, it is always recognized as a Planex card by the Zaurus, but it does not always transfer the MAC address.

cardctl ident gives:

Socket 0:
  product info: "PLANEX COMMUNICATIONS INC.", "PLANEX GW-CF11X Wireless CF Card", "", ""
  manfid: 0xd601, 0x0010
  function: 6 (network)

cardctl  status gives:

Socket 0:
  3.3V 16-bit PC Card [suspended]
Socket 1:
  no card

ifconfig wlan0 gives:

wlan0     Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0   TX bytes:0 (0.0
          Interrupt:135

Sometime the HWaddr will show the correct MAC address, but not matter what, it always end up in Suspended mode even after doing cardctl resume or cardctl reset, or pulling the card in and out.

When I look at the lsmod, the hostap_cs module is loaded along with host_crypt_wep and hostap.

Could it be that the firmwares are not being picked up when the card is inserted. They are on the Zaurus, located here:

/etc/hotplug/firmware/pa010101.hex   and  /etc/hotplug/firmware/rf010804.hex

Maybe the hotplug script is expecting the firmware somewhere else, by the way which scripts actually uploads the firmware?

I also put CARDSUSPEND=n in the file network.opts and still nothing changed.

dmesg shows several error messages:

hostap_cs: CS_EVENT_CARD_REMOVAL
wifi0: card already removed or not configured during shutdown
pxa_pcmcia_init(0)
hostap_crypt: unregistered algorithm 'WEP'
hostap_cs: Driver unloaded
hostap_crypt: unregistered algorithm 'NULL' (deinit)
hostap_crypt: registered algorithm 'NULL'
hostap_cs: 0.3.7 - 2005-02-12 (Jouni Malinen <jkmaline@cc.hut.fi>)
hostap_crypt: registered algorithm 'WEP'
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
hostap_cs: setting Vcc=33 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0047, io.base=0x0000, len=128
hostap_cs: Registered netdevice wifi0
hostap_cs: index 0x01: Vcc 3.3, irq 135, io 0xf6000000-0xf600007f
hostap_cs: assuming no Primary image in flash - card initialization not completed
wifi0: test Genesis mode with HCR 0x1f
prism2_pccard_cor_sreset: original COR 41
prism2_pccard_genesis_sreset: original COR 41
Readback test failed, HCR 0x1f write 00 e1 a1 ff read 00 ce a1 ce
wifi0: test Genesis mode with HCR 0x0f
prism2_pccard_cor_sreset: original COR 41
prism2_pccard_genesis_sreset: original COR 41
Readback test failed, HCR 0x0f write 00 e1 a1 ff read 00 e9 a1 ff
prism2_pccard_genesis_sreset: original COR 41
wifi0: registered netdevice wlan0
prism2_download: dl_cmd=4 start_addr=0x003f0000 num_areas=3
wifi0: test Genesis mode with HCR 0x1f
prism2_pccard_cor_sreset: original COR 41
prism2_pccard_genesis_sreset: original COR 41
Readback test failed, HCR 0x1f write 00 e1 a1 ff read 00 ce a1 ce
wifi0: test Genesis mode with HCR 0x0f
prism2_pccard_cor_sreset: original COR 41
prism2_pccard_genesis_sreset: original COR 41
Readback test failed, HCR 0x0f write 00 e1 a1 ff read 00 e9 a1 ff
wifi0: Could not initiate genesis mode
wifi0: cannot get RID fd0b (len=1008) - no PRI f/w
wifi0: cannot get RID fd0b (len=1008) - no PRI f/w
prism2: wlan0: operating mode changed 3 -> 2
wlan0: cannot set RID fc00 (len=2) - no PRI f/w
wlan0: cannot set RID fc0e (len=34) - no PRI f/w
wifi0: cannot get RID fc28 (len=2) - no PRI f/w
Could not read current WEP flags.
wifi0: encryption setup failed
wlan0: set_encryption failed
wlan0: cannot set RID fc02 (len=34) - no PRI f/w
wlan0: could not set interface UP - no PRI f/w
hostap_cs: CS_EVENT_PM_SUSPEND
hostap_cs: CS_EVENT_RESET_PHYSICAL
wifi0: hfa384x_cmd: entry still in list? (entry=c3a922a0, type=0, res=0)
wifi0: hfa384x_cmd: command was not completed (res=0, entry=c3a922a0, type=0, cmd=0x0002, param0=0x0000, EVSTAT=0000 INTEN=0010)
hostap_cs: Shutdown failed
pxa_pcmcia_suspend(0)

Anybody can help?

Is my card broke? I have no other way to verify if it works.

Thanks,

Bernard

11
Angstrom & OpenZaurus / Sd Card Now Read-only On Pc
« on: October 16, 2006, 07:22:10 pm »
Quote
Quote
Hi,

I installed OpenZaurus (3.5.4.1) on my Akita from my SD card (SanDisk 1GB). That worked perfectly.

I then used my card reader on my Linux PC to remove the installed file and put a few ipk packaged to install on my Zaurus. That worked fine.

I then put the card in the Zaurus and try to install some of the packages and there were some dependencies missing. So I go back with the SD card to my PC and try to add some more packages to my SD card but it is now Read Only file system on my PC and can not add anything to the Card. From the Zaurus I can delete and copy to the SD card, but from the PC it is now impossible.

Any clue what to do?

Thanks,

Bernard
[div align=\"right\"][a href=\"index.php?act=findpost&pid=144026\"][{POST_SNAPBACK}][/a][/div]

run chkdks/scandisk on windows or fsck/e2fsck on the zaurus
[div align=\"right\"][a href=\"index.php?act=findpost&pid=144070\"][{POST_SNAPBACK}][/a][/div]


I reformatted the card, it now works fine!

Thanks,

Bernard

12
Angstrom & OpenZaurus / Planex Wireless Card Not Working
« on: October 16, 2006, 07:03:38 pm »
Hi,

I do not have much more info. Using cardclt ident gives:

Socket 0:
  product info: "PLANEX COMMUNICATIONS INC.", "PLANEX GW-CF11X Wireless CF Card", "", ""
  manfid: 0xd601, 0x0010
  function: 6 (network)

(this is a prism3 card).

When I put the card in, it does say:

Succesfully activated card in socket #0

The Link green light does not come on, like it used to do with Cacko.

When I go to the Network software, it does show a choice for:

Ethernet  (wlan0)

with the arrow down.

When I eject the card the Ethernet (wlan0) says disconnected. So OZ does do something with the card but what I do not know.

I click on Configure (With Ethernet wlan0 highlighted) and the DHCP is selected, which is what I want, but I can not find anyplace to setup WEP or SSID.

When I click on Start/Stop the IP address is 0.0.0.0, the Subnet Mask is 0.0.0.0 the MAC Address and Broadcast fields are empty.

I click on start and it fails.

Since there is no Mac address in the field, I guess OZ did not recognized the card properly.

When I try Wellenreiter II, and start snifer it says:

Can't bring interface 'wlan0' up. No such file or directory even if the Network software says that there is an Ethernet card with wlan0!

What can I do to make my WiFi card work?

Any help will be relly appreciated.

Thanks,

Bernard

13
Angstrom & OpenZaurus / Planex Wireless Card Not Working
« on: October 15, 2006, 07:19:31 am »
Hi,

I installed OpenZaurus (3.5.4.1) on my akita and now my Planex card GW-CF11X does not work anymore. I used to work with the original Sharp ROM and Cacko 1.23.

The details:

Socket 0:
  product info: "PLANEX COMMUNICATIONS INC.", "PLANEX GW-CF11X Wireless CF Card", "", ""
  manfid: 0xd601, 0x0010
  function: 6 (network)

Is it possible to make it work on OpenZaurus?

The network tool does not show the MAC address for the card under wlan 0.

Thanks for any help,

Bernard

14
Angstrom & OpenZaurus / Sd Card Now Read-only On Pc
« on: October 15, 2006, 07:12:38 am »
Hi,

I installed OpenZaurus (3.5.4.1) on my Akita from my SD card (SanDisk 1GB). That worked perfectly.

I then used my card reader on my Linux PC to remove the installed file and put a few ipk packaged to install on my Zaurus. That worked fine.

I then put the card in the Zaurus and try to install some of the packages and there were some dependencies missing. So I go back with the SD card to my PC and try to add some more packages to my SD card but it is now Read Only file system on my PC and can not add anything to the Card. From the Zaurus I can delete and copy to the SD card, but from the PC it is now impossible.

Any clue what to do?

Thanks,

Bernard

15
Sharp ROMs / Planex Wlan Card And Wpa On Cacko Problems
« on: April 11, 2006, 07:15:48 pm »
Quote
Hi, you mention you are able to connect to many wep wireless networks, I have an open network restricted by MAC address and have never been able to connect to any network (but i think the card works), did you made anything to make it work in wep networks? Did you find a way to make WPA work? I have the same cacko 1.23, zaurus 1000, planex card
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122693\"][{POST_SNAPBACK}][/a][/div]

Hi,

I did not do anything special. After installing Cacko 1.23 on my Zaurus 1000, I just set up the WEP network configuration using the Network icon in the Settings tab and entered the SSID info and saved the setting.

I have also a Open Network with MAC address restriction and it works fine. I had to enter the hex key to make it work, not the passphrase.

However if you try connecting once and it does not work, there is a bug in Cacko or the prism 3 driver that the card does not work a second time, you need to remove the card and plug it again so the card is active again and then you can connect to a WEP network.

I could never make the WPA work because Cacko 1.23 use a Kernel that does not include the Wireless Extension 18 which contains WPA support. So for WPA to work at least with the Planex card you will need until an upgraded version of the Kernel is available that includes WE18.

BM

Pages: [1] 2