OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Debian => Topic started by: band-aid on September 03, 2008, 08:18:16 pm

Title: Wrong Kernel Running In Andromeda
Post by: band-aid on September 03, 2008, 08:18:16 pm
I recently switched from a regular debian install to Andromeda. I followed the instructions from here http://yonggun.tistory.com/77 (http://yonggun.tistory.com/77). For some reason I boot into the 2.6.23 kernel rather than 2.6.24-yonggun. Because of this none of the modules I extracted work. Where did I go wrong?
Title: Wrong Kernel Running In Andromeda
Post by: pelrun on September 03, 2008, 10:04:36 pm
Did you do the flashing step? It's not completely described in those instructions besides the words "Flash it"; but you need to do the full boot with OK held down, select option 4, select SD card, etc rigmarole or else you will still only have the kernel which was originally on your Z.
Title: Wrong Kernel Running In Andromeda
Post by: relapse808 on September 04, 2008, 12:41:46 pm
Quote from: pelrun
Did you do the flashing step? It's not completely described in those instructions besides the words "Flash it"; but you need to do the full boot with OK held down, select option 4, select SD card, etc rigmarole or else you will still only have the kernel which was originally on your Z.

In the flash it step you have described it flashes the kernal on my C3000.  After this I get a error and it reboots.  Its a modprobe error about HDC1.  I am not sure how to correct this.  Can anyone help?

This is the Andromeda flavor and I do have all five files on a 1 gig SD card.
Title: Wrong Kernel Running In Andromeda
Post by: Capn_Fish on September 04, 2008, 02:52:01 pm
Maybe you flashed the wrong kernel? There are several of them (for booting off various SD and MD partitions).
Title: Wrong Kernel Running In Andromeda
Post by: relapse808 on September 04, 2008, 06:39:46 pm
Quote from: Capn_Fish
Maybe you flashed the wrong kernel? There are several of them (for booting off various SD and MD partitions).

If you are replying to me I used the kernal that came in the andromeda.zip file.  I am kind of still a newb(even after being here years now) and honestly I could be partitioning the drive incorrectly.  The instructions arent written for someone as newb to linux as me.  There is a specific error and I will give it to you once I get home.
Title: Wrong Kernel Running In Andromeda
Post by: scottlfa on September 04, 2008, 07:55:19 pm
Pick the kernel you need and flash it, kernels are here (http://yonggun.tistory.com/72).

Flashing is easy enough now.
Title: Wrong Kernel Running In Andromeda
Post by: relapse808 on September 04, 2008, 08:33:13 pm
Quote from: scottlfa
Pick the kernel you need and flash it, kernels are here (http://yonggun.tistory.com/72).

Flashing is easy enough now.

I can flash the kernal OK.  I get the error involving the HDC1 when it goes and tries to extract the andromedia tarball after the kernal flash is complete.
Title: Wrong Kernel Running In Andromeda
Post by: Capn_Fish on September 05, 2008, 07:45:13 am
To me it sounds like it's trying to mount a drive when a CF storage card is inserted (otherwise /dev/hdc* doesn't exist).
Title: Wrong Kernel Running In Andromeda
Post by: relapse808 on September 05, 2008, 09:42:49 am
Quote from: Capn_Fish
To me it sounds like it's trying to mount a drive when a CF storage card is inserted (otherwise /dev/hdc* doesn't exist).

Well the flash is trying to untar the file automatically.  I dont have a CF card but a wifi card inserted.  I have ready I need to have a CF card in during the install.  Is this true?
Title: Wrong Kernel Running In Andromeda
Post by: Capn_Fish on September 05, 2008, 03:04:12 pm
I have no idea, but it would seem odd if you do. Is there a script that you can edit to change hdc to hda?
Title: Wrong Kernel Running In Andromeda
Post by: relapse808 on September 06, 2008, 01:04:03 am
strange, putting a CF card in worked.  It will now untar the OS onto the hard drive.  When I reboot now I get a kernel panic and I think its not able to find the fresh OS.  I have no idea what to do now.
Title: Wrong Kernel Running In Andromeda
Post by: Capn_Fish on September 06, 2008, 09:44:55 am
Have you tried rebooting with the CF card inserted?
Title: Wrong Kernel Running In Andromeda
Post by: relapse808 on September 06, 2008, 01:14:00 pm
I have tried that and I still get the kernel panic.  I repartitioned it with the pdaxrom flash and and extracting now.  I am thinking maybe the partition wasnt marked as bootable.
Title: Wrong Kernel Running In Andromeda
Post by: band-aid on October 04, 2008, 11:58:58 am
I'm trying to flash using the zImage.bin.hda1 that comes with the Andromeda zip. Is this not the correct kernel? If not, which one should I choose from the site that was linked to earlier. I wish to install onto the internal hard disk so I assume that I need the zImage.bin.hda1 and the new modules. Is this correct?

Thanks

band-aid
Title: Wrong Kernel Running In Andromeda
Post by: scottlfa on December 09, 2008, 10:08:48 am
I did not do the steps as layed out instructions.

Did it in two group steps;
1. Flash desired kernel, as linked earlier.

2. Prepare the "drive" using a linux host;
   a. fdisk and prep the sd card (or cf), root ( / ) and swap.
   b. mkfs.ext3 the partition's you setup (seems to work better than ext2 IME)
       mkswap the swap partition you setup
   c. uncompress the hdd tarball onto the root of the sd card (cf is used)
   d. uncompress the desired and matching kernel modules to the root of the sd card (or cf)

3. Put the card back in the Z, reset and enjoy.  No scripts or things to fuss with, faster too.  Be sure to do the file related
    config steps listed in the instructions (i.e. fstab, automount.removable etc.)

If you do not have a linux host, download a livecd of ubuntu (for instance), copy the files to a flash drive and fire up
ubuntu.  Follow the above steps

Hint for root password; open terminal type "sudo passwd" and set one you want to use for the moment.
Title: Wrong Kernel Running In Andromeda
Post by: scottlfa on December 09, 2008, 10:12:11 am
hda1 = internal hard drive (make sure to remove cf card to difuse confusion).