Kernel building

2001-11-30 Thread Ryan Boder


Hi,

I am trying to build the latest kernel from penguinppc.org and having a
problem. I am just wondering if there is some Mandrake specific
configuration that I don't know about. I used to do this all the time
when I used linuxppc but have never built one with Mandrake (or any other
distro for that matter)

Basically it seems to hang at the point where the scsi driver is being
loaded for scsi emulation for my cd burner on an ibook2 (which also
happens to be one of the first things that happens in the boot so the
driver may not be significant). It complains a few times that / is not
mounted and then stops booting. I followed the ibook specific instructions
on ibooklinux.net so I think I haven't misconfigured the kernel. I also am
fairly confident that I didn't screw up the yaboot.conf entry because I
have written many a yaboot.conf when I used linuxppc and yaboot isn't even
included in the install so you have to set it up yourself. I made the
entry look exactly like the ones made by the install except changed the
named of the image and label. I'm not sure why they use ramdisk because I
thought that was for installs but I gave yaboot.conf the ramdisk entries
just like the ones made by the install.

So now that I've probably given too much information, is there something I
don't know about in the Mandrake distro that I could screw up making my
kernel never mount / that I didn't have to do back when I used linuxppc?

Thanks if anyone can give me any pointers, but I understand you all don't
consider this an appropriate question for the cooker list and decide not
to answer. I hope someone does though.

Ryan Boder
http://www.ece.cmu.edu/~rtb





Re: Still have the same problem

2001-11-30 Thread Aaron Stechesen

here is the yaboot.conf details:

init-message="\nWelcome to Mandrake Linux!\n"
boot=/dev/hda7
ofboot=hd:7
delay=30
timeout=50
install=/usr/local/lib/yaboot/yaboot
magicboot=/usr/local/lib/yaboot/ofboot
enablecdboot
enableofboot
defaultos=linux
default=linux
novram
image=hd:8,/boot/vmlinuz
   label=failsafe
   root=/dev/hda8
   initrd=hd:8./boot/initrd.img
   append=" failsafe"
   read-only
macosx=hd:6
 image=hd:8,/boot/vmlinuz
   label=linux
   root=/dev/hda8
   initrd=hd:8,/boot/initrd.img
   read-write

Anything you can suggest would be welcome. Also, how do I erase/edit line in
this file in rescue mode?

Thanks!
- Original Message -
From: "Stew Benedict" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 30, 2001 6:12 PM
Subject: Re: Still have the same problem


>
> On Fri, 30 Nov 2001, Aaron Stechesen wrote:
>
> >
> > - Original Message -
> > From: "Stew Benedict" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, November 30, 2001 6:21 AM
> > Subject: Re: Still have the same problem
> >
> >
> > >
> > > On Fri, 30 Nov 2001, Aaron Stechesen wrote:
> > >
> > > > last night I posted that I was unable to boot Linux after
installing. I
> > still have the same trouble and even through rescue I can't boot!
> > > >
> > > > I am very new to this type of trouble when you reply with
suggestions
> > please be specific with the commands that I should be typing (/ is on
hda8
> > and the bootloader is on 7), and what I should suspect, change and where
i
> > should be looking. Programs I should use if I need to alter or build
> > anything.
> > > >
> > > > Thanks in advance!
> > > > Aaron
> > > >
> > >
> > >
> > > Boot CD iin rescue mode:
> > > Hold down "C" at boot
> > > Type "rescue" at yaboot boot prompt
> > >
> > > Mount Linux partion on /mnt/disk
> > > mount /dev/hda8 /mnt/disk
> > >
> > > Check your yaboot.conf at /mnt/disk/etc/yaboot.conf
> > > (send it to the list if you like for further examination)
> > >
> > when i get to here and type in the string i get the error
> > bash: /mnt/disk/etc/yaboot.conf:permission denied
> > I am root so what is going on here?
> > Suggestions welcome. Again be specific. Thanks.
> >
>
> Oops, sorry - you are really new to this ;^)
> If you just type the name, it is going to try to run it, which won't
> happen. It's just a text config file, so you want to view it:
>
> cat /mnt/disk/etc/yaboot.conf
> less /mnt/disk/etc/yaboot.conf
> more /mnt/disk/etc/yaboot.conf
>
> are a few ways
>
> Stew Benedict
>
> --
> MandrakeSoft OH/TN, USA http://perso.mandrakesoft.com/~sbenedict/
> PPC FAQ: http://www.linux-mandrake.com/en/demos/PPC/FAQ/
>
>
>






Re: Still have the same problem

2001-11-30 Thread Aaron Stechesen

thanks! yes I am very new to commands, i am slowly learning though. you can
thank apple for my idiocy as they always made everything so darn easy:)
- Original Message -
From: "Stew Benedict" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 30, 2001 6:12 PM
Subject: Re: Still have the same problem


>
> On Fri, 30 Nov 2001, Aaron Stechesen wrote:
>
> >
> > - Original Message -
> > From: "Stew Benedict" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, November 30, 2001 6:21 AM
> > Subject: Re: Still have the same problem
> >
> >
> > >
> > > On Fri, 30 Nov 2001, Aaron Stechesen wrote:
> > >
> > > > last night I posted that I was unable to boot Linux after
installing. I
> > still have the same trouble and even through rescue I can't boot!
> > > >
> > > > I am very new to this type of trouble when you reply with
suggestions
> > please be specific with the commands that I should be typing (/ is on
hda8
> > and the bootloader is on 7), and what I should suspect, change and where
i
> > should be looking. Programs I should use if I need to alter or build
> > anything.
> > > >
> > > > Thanks in advance!
> > > > Aaron
> > > >
> > >
> > >
> > > Boot CD iin rescue mode:
> > > Hold down "C" at boot
> > > Type "rescue" at yaboot boot prompt
> > >
> > > Mount Linux partion on /mnt/disk
> > > mount /dev/hda8 /mnt/disk
> > >
> > > Check your yaboot.conf at /mnt/disk/etc/yaboot.conf
> > > (send it to the list if you like for further examination)
> > >
> > when i get to here and type in the string i get the error
> > bash: /mnt/disk/etc/yaboot.conf:permission denied
> > I am root so what is going on here?
> > Suggestions welcome. Again be specific. Thanks.
> >
>
> Oops, sorry - you are really new to this ;^)
> If you just type the name, it is going to try to run it, which won't
> happen. It's just a text config file, so you want to view it:
>
> cat /mnt/disk/etc/yaboot.conf
> less /mnt/disk/etc/yaboot.conf
> more /mnt/disk/etc/yaboot.conf
>
> are a few ways
>
> Stew Benedict
>
> --
> MandrakeSoft OH/TN, USA http://perso.mandrakesoft.com/~sbenedict/
> PPC FAQ: http://www.linux-mandrake.com/en/demos/PPC/FAQ/
>
>
>






Re: Still have the same problem

2001-11-30 Thread Stew Benedict


On Fri, 30 Nov 2001, Aaron Stechesen wrote:

> 
> - Original Message -
> From: "Stew Benedict" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, November 30, 2001 6:21 AM
> Subject: Re: Still have the same problem
> 
> 
> >
> > On Fri, 30 Nov 2001, Aaron Stechesen wrote:
> >
> > > last night I posted that I was unable to boot Linux after installing. I
> still have the same trouble and even through rescue I can't boot!
> > >
> > > I am very new to this type of trouble when you reply with suggestions
> please be specific with the commands that I should be typing (/ is on hda8
> and the bootloader is on 7), and what I should suspect, change and where i
> should be looking. Programs I should use if I need to alter or build
> anything.
> > >
> > > Thanks in advance!
> > > Aaron
> > >
> >
> >
> > Boot CD iin rescue mode:
> > Hold down "C" at boot
> > Type "rescue" at yaboot boot prompt
> >
> > Mount Linux partion on /mnt/disk
> > mount /dev/hda8 /mnt/disk
> >
> > Check your yaboot.conf at /mnt/disk/etc/yaboot.conf
> > (send it to the list if you like for further examination)
> >
> when i get to here and type in the string i get the error
> bash: /mnt/disk/etc/yaboot.conf:permission denied
> I am root so what is going on here?
> Suggestions welcome. Again be specific. Thanks.
> 

Oops, sorry - you are really new to this ;^)
If you just type the name, it is going to try to run it, which won't
happen. It's just a text config file, so you want to view it:

cat /mnt/disk/etc/yaboot.conf
less /mnt/disk/etc/yaboot.conf
more /mnt/disk/etc/yaboot.conf

are a few ways

Stew Benedict

-- 
MandrakeSoftOH/TN, USA  http://perso.mandrakesoft.com/~sbenedict/
PPC FAQ: http://www.linux-mandrake.com/en/demos/PPC/FAQ/





Re: Still have the same problem

2001-11-30 Thread Aaron Stechesen


- Original Message -
From: "Stew Benedict" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 30, 2001 6:21 AM
Subject: Re: Still have the same problem


>
> On Fri, 30 Nov 2001, Aaron Stechesen wrote:
>
> > last night I posted that I was unable to boot Linux after installing. I
still have the same trouble and even through rescue I can't boot!
> >
> > I am very new to this type of trouble when you reply with suggestions
please be specific with the commands that I should be typing (/ is on hda8
and the bootloader is on 7), and what I should suspect, change and where i
should be looking. Programs I should use if I need to alter or build
anything.
> >
> > Thanks in advance!
> > Aaron
> >
>
>
> Boot CD iin rescue mode:
> Hold down "C" at boot
> Type "rescue" at yaboot boot prompt
>
> Mount Linux partion on /mnt/disk
> mount /dev/hda8 /mnt/disk
>
> Check your yaboot.conf at /mnt/disk/etc/yaboot.conf
> (send it to the list if you like for further examination)
>
when i get to here and type in the string i get the error
bash: /mnt/disk/etc/yaboot.conf:permission denied
I am root so what is going on here?
Suggestions welcome. Again be specific. Thanks.


> If you think it looks good, re-run ybin in a chroot environment:
> cd /
> chroot /mnt/disk
> /sbin/ybin -v
> exit
>
> Reboot:
> reboot
>
> You might also want to check open firmware to see if the boot-device is
> set properly.  The installer should have given you a message telling what
> needed to be done (did you write down the cryptic commands?)
>
> Command(Apple)-Option-O-F at boot
> printenv
>
> boot-device in your case should be hd:7,\\:tbxi
> If it's not:
>
> setenv boot-device hd:7,\\:tbxi
> shut-down
>
> Re-power the machine and see what happens
>
> HTH,
> Stew Benedict
>
> --
> MandrakeSoft OH/TN, USA http://perso.mandrakesoft.com/~sbenedict/
> PPC FAQ: http://www.linux-mandrake.com/en/demos/PPC/FAQ/
>
>
>






Re: Still have the same problem

2001-11-30 Thread Stew Benedict


On Fri, 30 Nov 2001, Aaron Stechesen wrote:

> last night I posted that I was unable to boot Linux after installing. I still have 
>the same trouble and even through rescue I can't boot!
> 
> I am very new to this type of trouble when you reply with suggestions please be 
>specific with the commands that I should be typing (/ is on hda8 and the bootloader 
>is on 7), and what I should suspect, change and where i should be looking. Programs I 
>should use if I need to alter or build anything.
> 
> Thanks in advance!
> Aaron
> 


Boot CD iin rescue mode:
Hold down "C" at boot
Type "rescue" at yaboot boot prompt

Mount Linux partion on /mnt/disk
mount /dev/hda8 /mnt/disk

Check your yaboot.conf at /mnt/disk/etc/yaboot.conf
(send it to the list if you like for further examination)

If you think it looks good, re-run ybin in a chroot environment:
cd /
chroot /mnt/disk
/sbin/ybin -v
exit

Reboot:
reboot

You might also want to check open firmware to see if the boot-device is
set properly.  The installer should have given you a message telling what
needed to be done (did you write down the cryptic commands?)

Command(Apple)-Option-O-F at boot
printenv

boot-device in your case should be hd:7,\\:tbxi
If it's not:

setenv boot-device hd:7,\\:tbxi
shut-down

Re-power the machine and see what happens

HTH,
Stew Benedict

-- 
MandrakeSoftOH/TN, USA  http://perso.mandrakesoft.com/~sbenedict/
PPC FAQ: http://www.linux-mandrake.com/en/demos/PPC/FAQ/





Still have the same problem

2001-11-30 Thread Aaron Stechesen



last night I posted that I was unable to boot Linux 
after installing. I still have the same trouble and even through rescue I can't 
boot!
 
I am very new to this type of trouble when you 
reply with suggestions please be specific with the commands that I should be 
typing (/ is on hda8 and the bootloader is on 7), and what I should suspect, 
change and where i should be looking. Programs I should use if I need to alter 
or build anything.
 
Thanks in advance!
Aaron