* new powermac pb : no hard disk found
@ 2002-10-18 9:38 Xavier Grave
2002-10-18 12:07 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 12+ messages in thread
From: Xavier Grave @ 2002-10-18 9:38 UTC (permalink / raw)
To: linuxppc-dev
Hi,
I've received the new bi processor (2*1GHz) and I try to boot with a debian
CDrom. I boot in the install24 yaboot mode but the only ide device found is
the DVD writer.
What do I need to do ?
Thanks in advance for any answer...
xavier
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: new powermac pb : no hard disk found
2002-10-18 9:38 new powermac pb : no hard disk found Xavier Grave
@ 2002-10-18 12:07 ` Benjamin Herrenschmidt
2002-10-18 16:08 ` install with Debian CD ok, but can't boot any kernel Xavier Grave
0 siblings, 1 reply; 12+ messages in thread
From: Benjamin Herrenschmidt @ 2002-10-18 12:07 UTC (permalink / raw)
To: Xavier Grave, linuxppc-dev
>I've received the new bi processor (2*1GHz) and I try to boot with a debian
>CDrom. I boot in the install24 yaboot mode but the only ide device found is
>the DVD writer.
>
>What do I need to do ?
>
>Thanks in advance for any answer...
>xavier
Put your hard disk on the ATA/66 bus, the ATA/100 one isn't supported
yet. You should also make sure you are using my latest kernel tree.
In order to get the ATA/100 working properly, I need to figure out
the way the various timings are configured on this new controller,
I've started disassembling the MacOS X driver but didn't finish yet.
Unfortunately, unlike the Apple's ATA/66 and earlier IDE controllers,
the source code for this new ones's driver haven't been open sourced
by Apple as part of Darwin. (At least not yet).
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* install with Debian CD ok, but can't boot any kernel
2002-10-18 12:07 ` Benjamin Herrenschmidt
@ 2002-10-18 16:08 ` Xavier Grave
2002-10-18 18:35 ` Benjamin Herrenschmidt
2002-10-18 18:47 ` Ethan Benson
0 siblings, 2 replies; 12+ messages in thread
From: Xavier Grave @ 2002-10-18 16:08 UTC (permalink / raw)
To: Benjamin Herrenschmidt, linuxppc-dev
Hi,
Now that I can see the hard disk I can do all the steps to install the debian
except the last one. I'm using the woody CD. the yaboot step seems to create
a good yaboot.conf file in /target/etc but the only thing I have is a blank
screen.
Any idea ?
xavier
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: install with Debian CD ok, but can't boot any kernel
2002-10-18 16:08 ` install with Debian CD ok, but can't boot any kernel Xavier Grave
@ 2002-10-18 18:35 ` Benjamin Herrenschmidt
2002-10-18 18:50 ` Ethan Benson
2002-10-19 3:35 ` Segher Boessenkool
2002-10-18 18:47 ` Ethan Benson
1 sibling, 2 replies; 12+ messages in thread
From: Benjamin Herrenschmidt @ 2002-10-18 18:35 UTC (permalink / raw)
To: Xavier Grave, linuxppc-dev
>Now that I can see the hard disk I can do all the steps to install the
debian
>except the last one. I'm using the woody CD. the yaboot step seems to create
>a good yaboot.conf file in /target/etc but the only thing I have is a blank
>screen.
>
>Any idea ?
I'm not too sure right now, I suspect the yaboot installer isn't
properly setting up the OF path for the kernel or yaboot itself
(it's probably doing hd: which is wrong as OF thinks this is
the ATA/100, at least that's my understanding of the situation).
What I would do as a workaround (until something better is found)
is to put yourself yaboot, the kernel and a yaboot.conf file
on an HFS (or HFS plus) partition, edit that yaboot.conf so
that it just loads the kernel next to it with "image=vmlinux",
then, from OF console (enter it manually), boot that yaboot.
You may have to type the whole path to the ATA/66 disk in
OF instead of "hd", which is something like
"/pci@f2000000/mac-io/ata-4" or maybe with an additional
pci-bridge in between. To see the actual nodes in OF, type
"dev /" then "ls". To see the "shortcuts" (aliases), do
"dev /aliases" then ".properties"
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: install with Debian CD ok, but can't boot any kernel
2002-10-18 16:08 ` install with Debian CD ok, but can't boot any kernel Xavier Grave
2002-10-18 18:35 ` Benjamin Herrenschmidt
@ 2002-10-18 18:47 ` Ethan Benson
1 sibling, 0 replies; 12+ messages in thread
From: Ethan Benson @ 2002-10-18 18:47 UTC (permalink / raw)
To: linuxppc-dev
On Fri, Oct 18, 2002 at 06:08:05PM +0200, Xavier Grave wrote:
>
> Now that I can see the hard disk I can do all the steps to install the debian
> except the last one. I'm using the woody CD. the yaboot step seems to create
> a good yaboot.conf file in /target/etc but the only thing I have is a blank
> screen.
at the boot: prompt press tab
you will see the label name for the installed kernel, type it and:
video=ofonly
then hit enter.
--
Ethan Benson
http://www.alaska.net/~erbenson/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: install with Debian CD ok, but can't boot any kernel
2002-10-18 18:35 ` Benjamin Herrenschmidt
@ 2002-10-18 18:50 ` Ethan Benson
2002-10-18 22:55 ` Benjamin Herrenschmidt
2002-10-19 3:35 ` Segher Boessenkool
1 sibling, 1 reply; 12+ messages in thread
From: Ethan Benson @ 2002-10-18 18:50 UTC (permalink / raw)
To: linuxppc-dev
On Fri, Oct 18, 2002 at 08:35:05PM +0200, Benjamin Herrenschmidt wrote:
>
> >Now that I can see the hard disk I can do all the steps to install the
> debian
> >except the last one. I'm using the woody CD. the yaboot step seems to create
> >a good yaboot.conf file in /target/etc but the only thing I have is a blank
> >screen.
>
> I'm not too sure right now, I suspect the yaboot installer isn't
> properly setting up the OF path for the kernel or yaboot itself
> (it's probably doing hd: which is wrong as OF thinks this is
> the ATA/100, at least that's my understanding of the situation).
>
> What I would do as a workaround (until something better is found)
> is to put yourself yaboot, the kernel and a yaboot.conf file
> on an HFS (or HFS plus) partition, edit that yaboot.conf so
> that it just loads the kernel next to it with "image=vmlinux",
> then, from OF console (enter it manually), boot that yaboot.
why do that, just boot yaboot manually if thats what happened.
its already there.
or boot the cd, mount root on /target edit /target/etc/yaboot.conf
(adding ofboot=<ofdevicename> if necessary) and
run chroot /target ybin
> You may have to type the whole path to the ATA/66 disk in
> OF instead of "hd", which is something like
> "/pci@f2000000/mac-io/ata-4" or maybe with an additional
> pci-bridge in between. To see the actual nodes in OF, type
> "dev /" then "ls". To see the "shortcuts" (aliases), do
> "dev /aliases" then ".properties"
if someone would send me device-trees for this model i could fix
ofpath.
--
Ethan Benson
http://www.alaska.net/~erbenson/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: install with Debian CD ok, but can't boot any kernel
2002-10-18 18:50 ` Ethan Benson
@ 2002-10-18 22:55 ` Benjamin Herrenschmidt
0 siblings, 0 replies; 12+ messages in thread
From: Benjamin Herrenschmidt @ 2002-10-18 22:55 UTC (permalink / raw)
To: Ethan Benson, linuxppc-dev
>why do that, just boot yaboot manually if thats what happened.
>
>its already there.
Ok, I'm not sure what happened to him exactly, it may well
be a video problem in which case your suggestion of using
ofonly video is correct.
>if someone would send me device-trees for this model i could fix
>ofpath.
I'll get one rsn. Note that in order to make that better, I've
just added to my tree a proc entry for ide-pmac. It appears
under /proc/ide/pmac, and shows, for each interface driven by
this driver, the full OF path (among others). I still need to
do something for PCI based controllers (like Promise) though.
An example of output on my tipb:
ide0 (KeyLargo ATA-4)
of_path : /pci@f2000000/mac-io@17/ata-4@1f000
bus-id : 2
cable : 80 connector
ide1 (KeyLargo ATA-3)
of_path : /pci@f2000000/mac-io@17/ata-3@20000
bus-id : 0
cable : 40 connector
ide2 (KeyLargo ATA-3)
of_path : /pci@f2000000/mac-io@17/ata-3@21000
bus-id : 1
cable : 40 connector
(the algorithm to go from hdX to ideY is basically
(X - 'a') / 2, then remainder beeing the OF unit number
(0 for master, 1 for slave).
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: install with Debian CD ok, but can't boot any kernel
2002-10-18 18:35 ` Benjamin Herrenschmidt
2002-10-18 18:50 ` Ethan Benson
@ 2002-10-19 3:35 ` Segher Boessenkool
2002-10-19 7:15 ` Ethan Benson
1 sibling, 1 reply; 12+ messages in thread
From: Segher Boessenkool @ 2002-10-19 3:35 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: Xavier Grave, linuxppc-dev
> You may have to type the whole path to the ATA/66 disk in
> OF instead of "hd", which is something like
> "/pci@f2000000/mac-io/ata-4" or maybe with an additional
> pci-bridge in between. To see the actual nodes in OF, type
> "dev /" then "ls". To see the "shortcuts" (aliases), do
> "dev /aliases" then ".properties"
The alias for the ata-4 disks are ultra2 and ultra3; the aliases
for the ata-6 disks are ultra0 and ultra1 (hd is the same as ultra0).
So you want ultra2.
Cheers,
Segher
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: install with Debian CD ok, but can't boot any kernel
2002-10-19 3:35 ` Segher Boessenkool
@ 2002-10-19 7:15 ` Ethan Benson
2002-10-21 8:31 ` Xavier Grave
0 siblings, 1 reply; 12+ messages in thread
From: Ethan Benson @ 2002-10-19 7:15 UTC (permalink / raw)
To: linuxppc-dev
On Sat, Oct 19, 2002 at 05:35:02AM +0200, Segher Boessenkool wrote:
>
> > You may have to type the whole path to the ATA/66 disk in
> > OF instead of "hd", which is something like
> > "/pci@f2000000/mac-io/ata-4" or maybe with an additional
> > pci-bridge in between. To see the actual nodes in OF, type
> > "dev /" then "ls". To see the "shortcuts" (aliases), do
> > "dev /aliases" then ".properties"
>
> The alias for the ata-4 disks are ultra2 and ultra3; the aliases
> for the ata-6 disks are ultra0 and ultra1 (hd is the same as ultra0).
>
> So you want ultra2.
so if yaboot doesn't get booted (it should, apples boot-command goes
looking for bootable partitions if boot-device is bogus, so yaboot
should be found anyway) boot ultra2:2,\yaboot
once in yaboot enter:
ultra2:3,/vmlinux root=/dev/hda3 ro
that assumes the bootstrap partition is 2 and root 3.
--
Ethan Benson
http://www.alaska.net/~erbenson/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: install with Debian CD ok, but can't boot any kernel
2002-10-19 7:15 ` Ethan Benson
@ 2002-10-21 8:31 ` Xavier Grave
2002-10-21 8:42 ` Ethan Benson
0 siblings, 1 reply; 12+ messages in thread
From: Xavier Grave @ 2002-10-21 8:31 UTC (permalink / raw)
To: Ethan Benson; +Cc: linuxppc-dev
Hi !
If I do this everithings goes right !
> boot ultra2:2,\yaboot
> once in yaboot enter:
>
> ultra2:3,/vmlinux root=/dev/hda3 ro
ultra2:4,/vmlinux root=/dev/hda4 ro
> that assumes the bootstrap partition is 2 and root 3.
my bootstrap partition is 2 and root is 4 (the third one is swap)
Thanks !
xavier, a happy mac linux addict...
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: install with Debian CD ok, but can't boot any kernel
2002-10-21 8:31 ` Xavier Grave
@ 2002-10-21 8:42 ` Ethan Benson
2002-10-21 9:02 ` Ethan Benson
0 siblings, 1 reply; 12+ messages in thread
From: Ethan Benson @ 2002-10-21 8:42 UTC (permalink / raw)
To: linuxppc-dev
On Mon, Oct 21, 2002 at 10:31:16AM +0200, Xavier Grave wrote:
> Hi !
>
> If I do this everithings goes right !
> > boot ultra2:2,\yaboot
>
> > once in yaboot enter:
> >
> > ultra2:3,/vmlinux root=/dev/hda3 ro
> ultra2:4,/vmlinux root=/dev/hda4 ro
> > that assumes the bootstrap partition is 2 and root 3.
> my bootstrap partition is 2 and root is 4 (the third one is swap)
>
> Thanks !
no problem. see you don't need macos to fix a goobered yaboot.conf.
> xavier, a happy mac linux addict...
until i get ofpath fixed you can add:
ofboot=ultra2:
device=ultra2:
to /etc/yaboot.conf, after ofpath is fixed you can remove the ofboot=
line. rerun ybin and things will work fine without manual fsckery.
--
Ethan Benson
http://www.alaska.net/~erbenson/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: install with Debian CD ok, but can't boot any kernel
2002-10-21 8:42 ` Ethan Benson
@ 2002-10-21 9:02 ` Ethan Benson
0 siblings, 0 replies; 12+ messages in thread
From: Ethan Benson @ 2002-10-21 9:02 UTC (permalink / raw)
To: linuxppc-dev
On Mon, Oct 21, 2002 at 12:42:33AM -0800, Ethan Benson wrote:
> until i get ofpath fixed you can add:
>
> ofboot=ultra2:
er that should be:
ofboot=ultra2:2
--
Ethan Benson
http://www.alaska.net/~erbenson/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2002-10-21 9:02 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-18 9:38 new powermac pb : no hard disk found Xavier Grave
2002-10-18 12:07 ` Benjamin Herrenschmidt
2002-10-18 16:08 ` install with Debian CD ok, but can't boot any kernel Xavier Grave
2002-10-18 18:35 ` Benjamin Herrenschmidt
2002-10-18 18:50 ` Ethan Benson
2002-10-18 22:55 ` Benjamin Herrenschmidt
2002-10-19 3:35 ` Segher Boessenkool
2002-10-19 7:15 ` Ethan Benson
2002-10-21 8:31 ` Xavier Grave
2002-10-21 8:42 ` Ethan Benson
2002-10-21 9:02 ` Ethan Benson
2002-10-18 18:47 ` Ethan Benson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).