[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

PReP install



I'm trying to install 3.0r2 on a Motorola MVME2600.  I have had 
all sorts of problems with the default kernel for PReP machines,
and replaced the kernels on the install CD with versions I 
have cross compiled on my own.  As such, I've had to change or
overwrite a number of files including linux.bin, sys_map.gz, 
config.gz, rescue.bin, root.bin, and drivers.tgz

I've just about got this thing whipped, but I'm having problems
at the "Install Kernel and Driver Modules" step.  I select the 
cdrom as the installation medium, and it finds the path to 
drivers.tgz and rescue.bin:

dists/woody/main/disks-powerpc/3.0.23-2002-05-21/prep
dists/woody/main/disks-powerpc/3.0.23-2002-05-21/prep/images-1.44

It then proceeds to try to install the drivers, but fails with 
error code 1 when trying to install drivers.tgz.  Since this 
step is failing, the installer won't let me proceed to the other
steps of the installation. 

                                                                           
+ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ+ Please Wait +ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ+         
|                                                            |         
| Installing Drivers from                                    |         
| /instmnt/dists/woody/main/disks-powerpc/3.0.23-2002-05-21/p|         
| rep/drivers.tgz...                                         |         
|                                                            |         
+ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ+         

                                                                                
+ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ+ Installation Error +ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ+         
|                                                             |         
| There was a problem installing the Drivers from             |         
| /instmnt/dists/woody/main/disks-powerpc/3.0.23-2002-05-21/pr|         
| ep/drivers.tgz                                              |         
|                                                             |         
|                        <Continue>                           |         
+ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ+         
                                                                                
                                                                                
I dropped to a shell prompt and poked around and found the following in
/var/log/messages:
                                                                                
syslog.info syslogd started: BusyBox v0.60.3-pre (2002.01.19-22:40+0000)
user.info init: Starting pid 52, console /dev/console: '/sbin/udbootstrap' 
user.info : dbootstrap starting; built 2002.05.16-14:09+0000 for powerpc
user.info : serial console found on line 0
user.info : Initializing partition /dev/sda3 as Ext3 for kernel 2.2 or 
            better
user.info : Mounting ext3 partition /dev/sda3 on /target
user.info : making symlink from /dev/sr0 to /dev/cdrom
user.err  : Please place the first Debian CD-ROM in the CD-ROM drive.
user.info : installing kernel and modules from 
            /instmnt/dists/woody/main/disks-powerpc/3.0.23-2002-05-21
user.info : loop: can't get info on device /dev/loop0: No such device 
            or address 
user.info : ./install.sh: not found 
user.err  : There was a problem installing the Drivers from 
            /instmnt/dists/woody/main/disks-powerpc/3.0.23-2002-05-21/\
            prep/drivers.tgz
user.info : Unmounting partition mounted at /instmnt
user.err  : extracting Drivers from non-floppy device 
            /instmnt/dists/woody/main/disks-powerpc/3.0.23-2002-05-21 
            failed with 1
user.info : can't make symlink from /lib/modules to /target/lib/modules, 
            the latter does not exist
user.info : depmod: Can't open /lib/modules/2.4.22/modules.dep for writing 


                                                                                

It looks to me like it's failing because the install.sh script from the
drivers.tgz file is not found.  From the log messages, I would have 
guessed something to do with loop device, however, I can mount the cdrom 
explicitly using the loop device just fine:

mount -t iso9660 -o loop,ro /dev/sr0 /mnt

I checked and all the loop devices (/dev/loop[0-7]) are there and correct


I then copied the drivers.tgz file from the CD (through the loop device)
to /tmp and extracted it.  From the drivers directory, I ran 
"./install.sh /target" and it runs just fine.  Then when I exit out of the 
shell and back to the installer, it recognizes that the kernel and drivers 
have been installed and moves me along to the next step.  Everything 
seemed to work just fine after this and the full install succeeds.


I don't think that I've broken anything with the changes that I made, 
but I have nothing to compare against - for all I know, other PReP users
could have the same problem with the default install CD. 

I (obviously) don't want to have to jump through these hoops every time 
myself or someone else needs to install a machine.

Is there some way I can get more verbose output from dbootstrap or
somehow debug this problem deeper?  Better yet, anyone have any 
suggestions as to what might be wrong here?  I really just have this
one hurdle to get over and I think I'm home free.


thanks in advance
-Drew
                                                                                



Reply to: