All times are UTC-06:00




Post new topic  Reply to topic  [ 17 posts ] 
Author Message
 Post subject: best supported distro
PostPosted: Mon Feb 07, 2005 1:59 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 111
On Mon, Feb 07, 2005 at 07:46:36AM +0000, golantrevize wrote:
> which distribution is currently the easiest to install and works better with a peg1-april fix2?

Debian naturally.

> I tried out debian sarge but I can't get to work a number of things.

What exactly did you try ? And what where the problems ? Did you try :

http://people.debian.org/~luther/pegaso ... .10.25.iso

And followed the instructions in the README ?

> Also it should be useful a page with links to get the iso of specific installers or install cds.

Sure, its on my TODO list, but not terribly high.

Friendly,

Sven Luther


Top
   
 Post subject: best supported distro
PostPosted: Mon Feb 07, 2005 4:57 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 111
On Mon, Feb 07, 2005 at 09:12:06AM +0000, golantrevize wrote:
> thanks Sven.
>
> I've installed the files you mentioned and all went right. But no sound with the oss system and no shutdown or reboot. The mem limit has to be set to 128M or the kernel won't boot.

The 128MB memory limit (should be 256M even) is a OpenFirmware limitation, not
a kernel one, as is reboot/shutdown. The 2.6 kernels should have alsa sound
drivers, and should work just as fine.

Just do :

1) apt-get install initrd-tools module-init-tools mkvmlinuz
2) use an editor to edit /etc/mkinitrd/mkinitrd.conf and change MODULES=most to MODULES=dep
3) echo "postinst_hook=/usr/sbin/mkvmlinuz" >>/etc/kernel-img.conf
4) apt-get install kernel-image-2.6.8-powerpc (or -9 or -10 in two days).

> Next I tried to upgrade with different solutions to a 2.6.8 kernel but never been successful to do it.

See above.

> I also not sure about compiling kernel procedure I use.

Not really needed.

> If you have deb package with kernel image which work on pegasos 1 it will be helpful or alternatively sources and the correct commands to give to compile them right.

See above. I used to do non-initrd -pegasos kernels, but these are obsolet
nowaday, and since the plain -powerpc works with the above method, it is not
needed anymore.

Friendly,

Sven Luther


Top
   
 Post subject: best supported distro
PostPosted: Mon Feb 07, 2005 7:56 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 111
On Mon, Feb 07, 2005 at 01:36:21PM +0000, golantrevize wrote:
> I did just exactly what you have indicated but I still can't boot from
> vmlinux-2.6.8-powerpc kernel.
^

you need to boot the vmlinuz-2.6.8-powerpc kernel produced by mkvmlinuz, not
the vmlinux one. Notice the x or z at the end of vmlinu[xz].

> I don't know what to do.

Well, you could get a pegasos 2 board, obviously :)

Friendly,

Sven Luther


Top
   
 Post subject: best supported distro
PostPosted: Tue Feb 08, 2005 7:50 pm 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 111
On Tue, Feb 08, 2005 at 01:43:01PM +0000, golantrevize wrote:
> Ok I linuzed the initrd image.
>
> NOw I boot with boot vmlinuz-2.6.8-powerpc root=/dev/ram and I get

Why do you add /dev/ram here ? It should not be needed.

> Kernel panic: VFS: Unable to mount root fs on unknown-block (1,0)

Mmm, something fishy is going out here, others have done this successfully on
peg1, so you must have done something wrong. My bet is that somehow you are
missing the initrd can you get me the content of your /boot file, in
particular the size of all 2.6.8 files ?

> any suggestions?

Not like that.

> an unemployed engineer (don't have money for a peg2)

Hey, i was joking when suggesting a peg2 :)

Friendly,

Sven Luther


Top
   
 Post subject: best supported distro
PostPosted: Wed Feb 09, 2005 7:46 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 111
On Wed, Feb 09, 2005 at 12:40:34PM +0000, golantrevize wrote:
>
> sven wrote:
>
>
> Why do you add /dev/ram here ? It should not be needed.
>
> > Kernel panic: VFS: Unable to mount root fs on unknown-block (1,0)
>
> Mmm, something fishy is going out here, others have done this successfully on
> peg1, so you must have done something wrong. My bet is that somehow you are
> missing the initrd can you get me the content of your /boot file, in
> particular the size of all 2.6.8 files ?
>
>
> Sven Luther
> (end of quote)
>
>
> /boot
>
> initrd.img-2.6.8-powerpc 2457600
> vmlinux-2.6.8-powerpc 3966115
> vmlinuz-2.6.8-powerpc 13681804

How well, it is evident that you miss the initrd. I have :

-rw-r--r-- 1 root root 1441792 2005-02-08 10:42 /boot/initrd.img-2.6.8-powerpc
-rw-r--r-- 1 root root 3966165 2005-01-29 23:47 /boot/vmlinux-2.6.8-powerpc
-rw-r--r-- 1 root root 2799500 2005-02-08 10:42 /boot/vmlinuz-2.6.8-powerpc

So, first, make sure you have MODULES=dep in /etc/mkinitrd/mkinitrd.conf and
rerun mkinitrd :

mkinitrd -o /boot/initrd.img-2.6.8-powerpc 2.6.8-powerpc

And second make sure you run mkvmlinuz :

mkvmlinuz -o /boot/vmlinuz-2.6.8-powerpc -k /boot/vmlinux-2.6.8-powerpc -i /boot/initrd.img-2.6.8-powerpc -a chrp -v

And give the output of it.

Friendly,

Sven Luther


Top
   
 Post subject: best supported distro
PostPosted: Wed Feb 09, 2005 5:43 pm 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 111
On Wed, Feb 09, 2005 at 03:51:30PM +0000, golantrevize wrote:
> well I've done and right now I'm running the 2.6.8 kernel on the peg. alsa is working finally but I can't use eth0. I'm running internet off a home access gateway (an optical fiber 10Mbit link) which uses DHCP to assign my ip and it doesn't work anymore
>
> here's the output
>
> eth0: unknown hardware address type 24
> eth0: unknown hardware address type 24
>
> DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
> several times this messages until is stop to ask DHCP server the ip, then
> a message saying it can activate eth0.
>
> I see from the ifconfig that eth0 has an invalid hw address which is:
> 00-11-06-00-00-00-4B-2F-00-00-00-00-00-00-00-00

I thought you have peg1 april2, those should have no ethernet problems. Please
have a look at dmesg output to make sure that you are not trying to up the
ip-over-firewire interface.

Friendly,

Sven Luther


Top
   
 Post subject: best supported distro
PostPosted: Thu Feb 10, 2005 12:51 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 111
On Thu, Feb 10, 2005 at 06:11:55AM +0000, golantrevize wrote:
> infact it tries to do it, FireWire (IEEE 1394) is trying to actvating over ip4 (sorry for being so precise).
> How can I prevent that? I read in other posts that also other users shared this problem with 2.6.8

Well, you probably have a eth1 and a eth2 too. just use the one which is bound
to your network.

Alternatively you could make the modules load in correct order from
/etc/modules.

Friendly,

Sven Luther


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 17 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group