Click Here
home features news forums classifieds faqs links search
6155 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
22 crawler(s) on-line.
 95 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!

/  Forum Index
   /  Amiga PPC Linux
      /  uA1 debian linux installation with sil0680
Register To Post

Goto page ( 1 | 2 Next Page )
PosterThread
AlexDran 
uA1 debian linux installation with sil0680
Posted on 18-May-2013 12:42:22
#1 ]
Regular Member
Joined: 7-Apr-2003
Posts: 105
From: Italy

Hello all,
I would link to re-install again linux (or also pegXMac 1.43, never succeed on it) on my uA1 together with OS4.1 partitions.
I have the ide controller (w/o peripherals) and then the SIL0680 card with:
1st channel
hd (with os4.1 and linux future partitions)
cd rom

2nd channel
additional hd
dvd

I forgot the procedure I followed years ago to install linux, but probably was just on the ide controller

which is the corrections to apply for sil card to the following commands found on the manual?

pegxmac
] setenv bootargs root=/dev/ram rw init=/linuxrc video=radeon:1024x768-8@60 lang=uk
] setenv bootdevice 0: 1
] setenv bootcmd diskboot (adjust according to your setup)
] diskboot 1000000 1: 0 (setting this IS VERY important as it allocates memory for the ramdisk image)
] bootm


linux
] setenv bootargs root=/dev/hda2 video=tdfx:1024x768-8@70 l2cr=0x80000000
] setenv autostart yes
] setenv bootdevice 0:1
] setenv bootcmd diskboot
] setenv bootdelay 5
] saveenv

thank you in advance for any help in this
Alessandro

_________________
uA1 750Gx AmigaOS 4.1 u6
512 MB
SIL0680
HD 120GB + HD 20GB
DVDRom + DVDWriter
WNCE2001 wifi adapter
-----------------------------
AlexDran.net

 Status: Offline
Profile     Report this post  
scabit 
Re: uA1 debian linux installation with sil0680
Posted on 18-May-2013 13:48:09
#2 ]
Super Member
Joined: 8-Jan-2005
Posts: 1667
From: Satellite Beach, FL USA

@AlexDran

Hi! I have gone through the procedure of setting up Debian Lenny with Mint, Debian Squeeze, as well as MOL on my microA1. I use both the internal IDE controller and a SIL0680 IDE controller, and can boot onto any of 4 different partitions of linux, two of which are on the SII0680 controller and two on the internal IDE drive, FROM either the SIL0680 OR the internal IDE drive as master.

Getting there was pretty complicated, but I can certainly help you along the way!

I have never used PEGXMAC, I thought that only worked on Pegasos hardware...is that not true? Where can it be found on the internet?

Questions:

1) Do you already have an existing linux partition anywhere or do you need to make one from scratch? If installing from scratch, it is important to properly format your linux partitions so that uboot will detect them and add your a1boot.conf list to your bootup options. If installing Lenny or Squeeze you must format your booting parttition using:

mkfs.ext3 -I 128 /dev/sdxy

For it to be seen under uboot. Geri discovered this fact. If you just format and set up a linux partition and make a /boot directory with an a1boot.conf file, it will not be seen by uboot unless it is formatted with the above command.

2) Which version of linux do you want. My experience is only with Debian.

3) Do you have an exiiting MAC partition, or install CD/DVD for PegXMac? And which version of MAC OS do you wish to run?

Just a note - If you want to run Mac OSX (10.4 Tiger is the latest that works on a micro A1) and wish to use MOL, Geri made a special MOL kernel for Lenny 2.6.18 that can be found on sourceforge. I think this means that you will have to install Lenny, because Squeeze requires a newer kernel version than 2.6.18 and there were some issues getting the later kernel versions to work with MOL.

So, if you can answer my questions above, and perhaps take a look at the thread: First Debian Etch Installer CD release!! (if you have a LOT of time to wade through it), we can get you set up with Linux and MAC OS soon.

Scott

_________________
AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible!
Check my blog AmigaOne Computing

 Status: Offline
Profile     Report this post  
AlexDran 
Re: uA1 debian linux installation with sil0680
Posted on 18-May-2013 14:57:31
#3 ]
Regular Member
Joined: 7-Apr-2003
Posts: 105
From: Italy

@scabit

first of all thank you very much for your reply

as help for anyone else in my situation I have just discovered that diskboot command should have been called clarifying the sil controller this way:
diskboot 500000 1:0 1 (adding 1 for sil controller, 0 as default is probably ide)
with the same logic you can call "ide reset 1" on sil controller

so finally I was able to boot both cd (pegxmac and the one from debian downloaded here
AmigaOne/Teron Debian Install ISO (unofficial) - With kernel 2.4.26
)


Concerning my case:
- I have reset my hd so far; so I have only Amiga OS4.1 boot partition (and additional amiga data partitions); no linux installed anymore (that's why I'm trying to install it)
- I have now created partitions for the installation (from hdtoolbox) and now I have
-- os 4.1 3gb
-- dh2 data os4 12gb
-- os4.1 swap
-- linux partition 20gb LNX\00
-- linuxswap 512MB SWP\00
-- linux kernel partition 20mb LNX\00
-- partition to host mac os x (if succeed) 26gb LNX\00
-- other 2 os4 partititions

- I have a pegXMac 1.4.3 cd (was provided as free download from the author times ago; I have a copy of) -- booting was ok, installing files on partitions ok, swap partition set ok, but getting error on setting up kernel partition step

cannot stat /mnt/target/templates/etc/hosts.allow
cannot stat /mnt/target/templates/etc/mol/*
cannot stat /mnt/target/templates/var/lib/mol/*

- for mac I would link to install OSX tiger
pegXMac booting says: image Name linux-2.4.26 (don't know if is the right kernel)

- Linux is cd is debian
- debian cd starts ok but it blocks someway usbc control (should try to report the error correctly, probably because I have usb set on uboot and to use usb keyboard)


My dream would be setting a partition booting Mac os X Tiger directly alternatively to os4.1

thank you for any help
Alessandro

_________________
uA1 750Gx AmigaOS 4.1 u6
512 MB
SIL0680
HD 120GB + HD 20GB
DVDRom + DVDWriter
WNCE2001 wifi adapter
-----------------------------
AlexDran.net

 Status: Offline
Profile     Report this post  
scabit 
Re: uA1 debian linux installation with sil0680
Posted on 18-May-2013 20:23:55
#4 ]
Super Member
Joined: 8-Jan-2005
Posts: 1667
From: Satellite Beach, FL USA

@AlexDran

Okay...where do we begin?

Since I am not familiar with PegXMac I can tell you what you would need to do to get Lenny installed on your micro A1, and then where to get the MOL program that will allow you to run OSX 10.4 Tiger. I do not know if there is a way to set it up so you can boot directly into MOL from a uboot menu....perhaps Hypex can tell you more about that.

I have found in some versions of Debian that using the USB ports causes intermittent problems...lock ups. I think this happened in Etch and possibly Lenny...I didn't test it much in Squeeze.
The kernel you mention 2.4.26 is pretty old. I recommend using the specially built one from Geri (built for MOL) version 2.6.18.
The way my system is set up, I do NOT use a linux swap partition. There was a problem when I installed Etch where having a swap partition caused the installer to fail for some odd reason. So I do NOT use a swap partition in Debian Lenny or Squeeze.
You also do not need a separate kernel partition. The kernel image files go in the root partition directory /boot, along with the a1boot.conf file.

First you need to get Hypex's wonderful Debian Lenny installer CD image - however, after some searching through the thread about the Debian Etch release, I cannot find a link to Hypex's Debian installer iso. Burn this as a bootable CD on your Amiga and it boots you into Debian and then runs the installer scripts to set up your Debian root partition.

Does your current linux partition on your hard drive have an a1boot.conf mount list for your linux partition? If so, and it is seen by uboot, then you should NOT reformat that partition if you can help it unless you use the specific command I described in the previous post. When you run the Debian installer CD, you will need to stop at the point after setting up and selecting the root partition drive and go into a shell and format the drive using the proper parameters before you continue the rest of the Debian install...otherwise uboot will not see your linux partition until you reformat it!

Perhaps we can talk Hypex into making a bootable Lenny install CD with the MOL 2.6.18 kernels and the proper format command to allow it to be seen properly with uboot?

Once you have installed Lenny and gotten yourself able to boot into Lenny using the proper a1boot.conf mount entry, you can get the 2.6.18 kernel built especially for MOL, go HERE.

You will need to set up the following files from within Debian:

mol-kmods_0.9.73-2_powerpc.deb
mol_0.9.73-2_powerpc.deb
linux-image-2.6.18-6-book3s-amigaone_2.6.18_powerpc.deb

Use Debian's dpkg --install command, you can install these packages. You can make a new boot entry in your a1boot.conf file in the /boot directory to add a uboot option to boot the special MOL kernel using the MOL kernel filename, such as the one I use:

LENNY_MOL /boot/uImage-2.6.18-6-book3s-amigaone root=/dev/hde12 ide=nodma l2cr=0x80000000

This shows up when I boot right after my AmigaOne boot entry. I select it and it boots me into Lenny using Geri's 2.6.18-6boot3s kernel images made for the micro A1 for MOL.
Once there, I can run MOL using the startmol command and boot into MAC OSX.

Note - I am still waiting to obtain an official MAC OSX 10.4 DVD so I haven;t gotten any farther than testing MOL in test mode. Hypex or Geri have said they have it working fine with OSX 10.4 Tiger.

So...first step is to get you set up with a working Debian Lenny partition. We need to find out where Hypex's excellent installer ISO is!!!!

Scott

_________________
AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible!
Check my blog AmigaOne Computing

 Status: Offline
Profile     Report this post  
AlexDran 
Re: uA1 debian linux installation with sil0680
Posted on 19-May-2013 13:05:25
#5 ]
Regular Member
Joined: 7-Apr-2003
Posts: 105
From: Italy

@scabit

thank you again for reply. I'm sorry for additional questions on your post (that would probably contain all the information i need but I still have many doubts about the procedure)

I will look for the installation cd; I have already plenty of burned installation cd from various links (with installations failing at different steps). The only sure thing is to discard whatever is marked with kernel 2.4.26 (one iso off at least).
Do I need to look for a complete debian cd image, or a dedicated amigaone installation cd. I have noticed the second option always come with 20/60 mb data on the cd.

among the cd I have discovered also a one booting again with PegONLinux installation screen (like the previous one I tried) but with kernel 2.6.18 in it and mol 0.9.72 powerpc deb in another dir.


My linux partition was only created with hdtoolbox and also formatted (ext3) various times with different installation scripts (that failed); probably with some files copied too.
I will try if some of the installation scripts allow me to enter the shell:

as my linux partition in on: /dev/hde4/
I will go with:
mkfs.ext3 -I 128 /dev/hde4


thank you again
alex



Last edited by AlexDran on 19-May-2013 at 01:11 PM.

_________________
uA1 750Gx AmigaOS 4.1 u6
512 MB
SIL0680
HD 120GB + HD 20GB
DVDRom + DVDWriter
WNCE2001 wifi adapter
-----------------------------
AlexDran.net

 Status: Offline
Profile     Report this post  
scabit 
Re: uA1 debian linux installation with sil0680
Posted on 20-May-2013 2:37:43
#6 ]
Super Member
Joined: 8-Jan-2005
Posts: 1667
From: Satellite Beach, FL USA

@AlexDran

Hi! It seems that there is an AmigaOne installer ISO for Debian Etch and one for Debian Squeeze, but not for LEnny - which is the version you want for running MOL.
The way I did - which was somewhat dificult, was to get Hypex's Debian Etch AmigaOne installer ISO and first install Debian Etch. Then I changed my files to install using apt-get update and apt-get install upgrade so I could upgrade to Lenny via apt-get.
It was very painful..you can trace my steps for it in the "First Debian Etch installer released" thread.
Once I had Lenny installed over Etch and got it working, I downloaded Geri's MOL kernel files and MOL program files and installed them in Lenny.

I am very interested in the iso you have with PegOnLinux and the 2.6.18 kernel and mol 0.9.72 deb file. This sounds like your best bet. If you can get that working you can avoid all the pain of installing Etch first and then Lenny...and then MOL.

What happens when you try to run the PegOnLinux CD and use it to install? Does it install a bootstrap version of Linux and then MOL? If so, that is known to work on micro A1 machines.

Let me know what happens when you try to use that ISO to install on your machine. What does it do exactly? Also, do you have a link for where it can be downloaded?

Thanks,

Scott

_________________
AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible!
Check my blog AmigaOne Computing

 Status: Offline
Profile     Report this post  
Hypex 
Re: uA1 debian linux installation with sil0680
Posted on 20-May-2013 11:21:23
#7 ]
Elite Member
Joined: 6-May-2007
Posts: 11351
From: Greensborough, Australia

@AlexDran

If you like you can try my beta installer at:
http://home.lizzy.com.au/dmaen/downloads/Testing/DebianInstaller.lha

It installs Squeeze. It's a lot easier to install. You don't need to fiddle with the CLI on UBoot, etc. Just stick it in and turn on.

It is in beta so some things sill need work. It has been tested to install Linux. If there is a problem setting up the boot menu and it doesn't come up by itself or fails you can always set your bootargs and boot it from the UBoot CLI.

It is made to be as automatic as possible. Auto-bootable. Auto-preselections. Auto-menu added to system for bootup.

 Status: Offline
Profile     Report this post  
scabit 
Re: uA1 debian linux installation with sil0680
Posted on 20-May-2013 11:27:50
#8 ]
Super Member
Joined: 8-Jan-2005
Posts: 1667
From: Satellite Beach, FL USA

@Hypex

Quote:
It installs Squeeze.


Indeed, Hypex makes some really good installers and I'm sure it would be easier to use.

But keep in mind, Alex wants to install MOL...and we have not come up with a way to do that yet on Squeeze...right? Is there a way to install Lenny AFTER Squeeze has been installed? I seem to remember that the 2.6.18 kernel used with MOL will not work with Squeeze.


Scott

Last edited by scabit on 20-May-2013 at 11:28 AM.

_________________
AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible!
Check my blog AmigaOne Computing

 Status: Offline
Profile     Report this post  
Hypex 
Re: uA1 debian linux installation with sil0680
Posted on 20-May-2013 14:53:58
#9 ]
Elite Member
Joined: 6-May-2007
Posts: 11351
From: Greensborough, Australia

@scabit

You're right. It does need a 2.6.18 kernel or earlier. AFAIK you can't backport a Linux distro to an eariler release and Squeeze does require a newer kernel.

However, if you would like to try PegXMac on your A1, here's a link!

http://home.lizzy.com.au/dmaen/downloads/PegXmacSP_AmigaONE..lha

The author did a good job doing a dual install version that worked on both the Pegasos and AmigaOne. Unfortunately he didn't release version 2.0 for our machine AFAIK. It is based on Knoppix and installs a base Knoppix system. From there it boots and you can configure it. Later you can program it to boot into MoL.

If you have spare partition go for it. You can add a menu line for it and you can run it off 2.6.18 kernel. But be warned if you wish to update it, it wants to download a lot and I got locale errors IIRC. So had to download all these packages just to update. Best with standard install I think if it works.

I still have never got my OSX network to err... work of MoL. Perhaps related to upgrading the system. But that shouldn't matter. Setting up networking is still a mystery to me. Even with the guide and hints I provide to other people!

Last edited by Hypex on 21-May-2013 at 01:49 PM.

 Status: Offline
Profile     Report this post  
Geri 
Re: uA1 debian linux installation with sil0680
Posted on 20-May-2013 17:33:08
#10 ]
Elite Member
Joined: 7-Oct-2003
Posts: 2038
From: ST/AT

@scabit

Just popping in...

Quote:
scabit wrote:
@AlexDran

You also do not need a separate kernel partition. The kernel image files go in the root partition directory /boot, along with the a1boot.conf file.

A separate boot partition is still a good idea, especially because an inode size of 128 bytes has some impact on the filesystem performance (which doesn't matter for a boot partition). And the concept for bootloader packages (which I'm currently working out) requires a separate boot partition, because it allows multiple Linux installations to coexist and also makes the work of the bootloader package a lot less complicated.

_________________
A1SE: G3@600MHz, 2GB, 1GBit network card
A1XE: G4@933MHz, 2GB, refitted AC'97 codec
microA1: G3@800MHz, 1GB

- A1 Linux support -

 Status: Offline
Profile     Report this post  
AlexDran 
Re: uA1 debian linux installation with sil0680
Posted on 21-May-2013 12:20:38
#11 ]
Regular Member
Joined: 7-Apr-2003
Posts: 105
From: Italy


thank you all for the additional info

I tried the image at:
http://home.lizzy.com.au/dmaen/downloads/Testing/DebianInstaller.lha

thanks also to another advice on an Italian forum and indeed it booted
very nicely (disabling dma)

I'm now away from hometown where my A1 is:
I'm going to do another try (soon); with also the ISO cd 1 downloaded from
http://cdimage.debian.org/cdimage/archive/6.0.7/powerpc/iso-cd/

hope to have everything for a succesfull installation (for linux and mol after)


_________________
uA1 750Gx AmigaOS 4.1 u6
512 MB
SIL0680
HD 120GB + HD 20GB
DVDRom + DVDWriter
WNCE2001 wifi adapter
-----------------------------
AlexDran.net

 Status: Offline
Profile     Report this post  
scabit 
Re: uA1 debian linux installation with sil0680
Posted on 23-May-2013 1:38:14
#12 ]
Super Member
Joined: 8-Jan-2005
Posts: 1667
From: Satellite Beach, FL USA

@Geri

Quote:
A separate boot partition is still a good idea, especially because an inode size of 128 bytes has some impact on the filesystem performance


Ah...thanks for that advice. I'll go back and see if I can make some separate boot partitions for myself....

Scott

_________________
AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible!
Check my blog AmigaOne Computing

 Status: Offline
Profile     Report this post  
Geri 
Re: uA1 debian linux installation with sil0680
Posted on 23-May-2013 8:44:17
#13 ]
Elite Member
Joined: 7-Oct-2003
Posts: 2038
From: ST/AT

@scabit

Quote:
scabit wrote:
@Geri

Ah...thanks for that advice. I'll go back and see if I can make some separate boot partitions for myself....

Scott

One boot partition for all Linux installations on your uA1 should be enough.
I guess I should complete my AmigaOne bootloader specification to make clear, what I really have in mind (and how it should work with several Linux installations).

_________________
A1SE: G3@600MHz, 2GB, 1GBit network card
A1XE: G4@933MHz, 2GB, refitted AC'97 codec
microA1: G3@800MHz, 1GB

- A1 Linux support -

 Status: Offline
Profile     Report this post  
AlexDran 
Re: uA1 debian linux installation with sil0680
Posted on 23-May-2013 11:43:53
#14 ]
Regular Member
Joined: 7-Apr-2003
Posts: 105
From: Italy


I have finally tried the new Debian 6.07 cd1 and it passes the step with the correct installation cd

however when I arrive to partitioning step in shows hdc partitions (that is master hd on second chain on SIL)
How can i tell the installer to use the hda instead??

_________________
uA1 750Gx AmigaOS 4.1 u6
512 MB
SIL0680
HD 120GB + HD 20GB
DVDRom + DVDWriter
WNCE2001 wifi adapter
-----------------------------
AlexDran.net

 Status: Offline
Profile     Report this post  
AlexDran 
Re: uA1 debian linux installation with sil0680
Posted on 23-May-2013 12:26:52
#15 ]
Regular Member
Joined: 7-Apr-2003
Posts: 105
From: Italy


ok i succeed by unplugging the 2hd/dvd; it's installing the system... let's see

_________________
uA1 750Gx AmigaOS 4.1 u6
512 MB
SIL0680
HD 120GB + HD 20GB
DVDRom + DVDWriter
WNCE2001 wifi adapter
-----------------------------
AlexDran.net

 Status: Offline
Profile     Report this post  
Hypex 
Re: uA1 debian linux installation with sil0680
Posted on 23-May-2013 15:10:22
#16 ]
Elite Member
Joined: 6-May-2007
Posts: 11351
From: Greensborough, Australia

@AlexDran

Do you mean swapping HD positions on the bus? If so this is not supported on kernel 2.6.31 and up.

Otherwise it should see all hard drives in the system. Are you missing any?

 Status: Offline
Profile     Report this post  
AlexDran 
Re: uA1 debian linux installation with sil0680
Posted on 23-May-2013 16:14:12
#17 ]
Regular Member
Joined: 7-Apr-2003
Posts: 105
From: Italy

@Hypex

no way,
it's blocked since 1/half hour ago on
"esecuzione comando di post installazione man-db"

i try an EN translation with:
man-db post-installation command execution

alex

_________________
uA1 750Gx AmigaOS 4.1 u6
512 MB
SIL0680
HD 120GB + HD 20GB
DVDRom + DVDWriter
WNCE2001 wifi adapter
-----------------------------
AlexDran.net

 Status: Offline
Profile     Report this post  
Hypex 
Re: uA1 debian linux installation with sil0680
Posted on 24-May-2013 14:21:19
#18 ]
Elite Member
Joined: 6-May-2007
Posts: 11351
From: Greensborough, Australia

@AlexDran

Can you get into another shell with Ctrl-Alt-F2? If so you could try a dmesg command. And what was it installing when it gets stuck?

As well as, how big is your partition? I find it needs 5GB minimum for a comfortable install.

 Status: Offline
Profile     Report this post  
AlexDran 
Re: uA1 debian linux installation with sil0680
Posted on 15-Jun-2013 18:16:49
#19 ]
Regular Member
Joined: 7-Apr-2003
Posts: 105
From: Italy

Finally in my home town;
I'm trying installation again; fist of all

I'm in partitioning step:
how do I instruct the installer on using a partition for kernel ?
(In order to have a dedicated partition for kernel)

is "mount point" that i should manage someway

thanks again, alessandro


ps
BTW the linux partition is 22.3 GB (should be enough for the installation)

Last edited by AlexDran on 15-Jun-2013 at 06:17 PM.

_________________
uA1 750Gx AmigaOS 4.1 u6
512 MB
SIL0680
HD 120GB + HD 20GB
DVDRom + DVDWriter
WNCE2001 wifi adapter
-----------------------------
AlexDran.net

 Status: Offline
Profile     Report this post  
AlexDran 
Re: uA1 debian linux installation with sil0680
Posted on 15-Jun-2013 19:50:41
#20 ]
Regular Member
Joined: 7-Apr-2003
Posts: 105
From: Italy

@AlexDran

it's downloading and upgrading packages from internet

and it stops at 33% after openOffice.org-core package installation
(man-db installation just after gives error => 32/33% installation)

luckily this time is not freezing but giving error and Continue option


I skip the step finally and it says it completes the intallation
should I see linux partition after together with AmigaOS4.1 one ???
is not the case, how do I boot linux ??

Last edited by AlexDran on 15-Jun-2013 at 07:54 PM.

_________________
uA1 750Gx AmigaOS 4.1 u6
512 MB
SIL0680
HD 120GB + HD 20GB
DVDRom + DVDWriter
WNCE2001 wifi adapter
-----------------------------
AlexDran.net

 Status: Offline
Profile     Report this post  
Goto page ( 1 | 2 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle