RE: Trouble installing on a iBook2 -- cannot find CDROM


Subject: RE: Trouble installing on a iBook2 -- cannot find CDROM
From: Chan, Edwin (edwin.chan@baesystems.com)
Date: Mon Feb 25 2002 - 06:03:43 MST


Chris,

I ran into the same problem getting YDL installed on my iBook (14-inch LCD),
and after much list-searching and SWAG's, here's what worked for me:

1) First of all, you need to boot up with kernel-2.2, not kernel-2.4 -
2.4.10 won't detect the optical drive in the new iBooks and sometimes won't
see the Hard drive either. (When the boot menu comes up, hit the tab key to
see what choices you have - to be safe, I usually choose
install-kernel22-text or something like that.

2) Once the Disclosure box pops up, hit alt-ctrl-fn-f2 (in that order,
holding each key down) - this should bring you to the second virtual
console, which in my iBook has a Fuji Install> prompt, btu I've seen it
referred to as the busybox> prompt by others (prob because it uses the
busybox embedded toolbox for the command set)

3) do a quick dmesg | more to see what the kernel detected - the lines of
relevance should follow immediately after something like pmac_ide: ... you
should see the harddrive (usually hda) and the CD-ROM (usually hdb, although
sometimes hdb depending on where it is on the bus) you should also see a
couple of lines about UltraDMA being enabled and several lines of info for
each drive detected...
Note: If you're haveing trouble getting the hard drive detected, pass
hda=16383,16,64 to the kernel (at the boot prompt, just tag it on to the
"install-kernel22") there's prob a corresponding magical incantation if the
CD_ROM isnt detected, but being that I don't know how this one was derived
(take a look at the IDE driver code if you're adventurous), I can't help you
here.

4) If the kernel seems to have detected the drives, now it's time to see if
it's actually been added to the device tree... do a ls -l /dev - if you
don't see any hdxxx entries, the installer won't be able to see the drives
(anyone out there, why is that? if the kernel can find it, why isn't it
making devices for it?) Anyway, the solution there is for you to add them
to the device tree yourself using the makedevs command provided by busybox
(type "busybox" by itself to see what the exact syntax is, unfortunately,
I'm typing on my windoze work machine right now, so I'm working from
memory.)

for the hard drive
makedevs b /dev/hda 3 0 0 16 s

and
if your CD-ROM is hdb (according to the kernel)
makedevs b /dev/hdb 3 64 0 16 s

or

if CD-ROM is hdc
makedevs b /dev/hdc 21 0 0 16 s

now that the devices are made, you have to mount the CD-ROM:

mount /dev/hdb /mnt/media

now just hit

alt-ctrl-fn-f1 to go back to the main install script and you should be
golden...

Hope this helps.

Ed

-----Original Message-----
From: Chris Croome [mailto:chris@webarchitects.co.uk]
Sent: Saturday, February 23, 2002 5:52 AM
To: yellowdog-general@lists.yellowdoglinux.com
Subject: Trouble installing on a iBook2 -- cannot find CDROM

Hi

I'm having problems with the instructions on the web site [1] that are
based on messages sent to this list [2].

The workaround suggests that I should:

  echo 0 > /proc/sys/dev/cdrom/check_media
  ... which will change the value from 1 to 0

However /proc/sys/dev/cdrom does not exist, the only directory in
/proc/sys/dev is mac_hid so I can't edit the value in check_media.

Has anyone got any suggestions about how to get around this?

Thanks

Chris

[1] http://www.yellowdoglinux.com/support/hardware/breakdown/ibook.shtml

[2] http://lists.yellowdoglinux.com/yellowdog-general/December01/0293.html
    http://lists.yellowdoglinux.com/yellowdog-general/December01/0294.html
    http://lists.yellowdoglinux.com/yellowdog-general/December01/0295.html

-- 
Chris Croome                               <chris@webarchitects.co.uk>
web design                             http://www.webarchitects.co.uk/ 
web content management                               http://mkdoc.com/   
everything else                               http://chris.croome.net/  



This archive was generated by hypermail 2a24 : Mon Feb 25 2002 - 06:18:40 MST