no bootloader found, Cannot configure kernel

Shawn Protsman yellowdog-general@lists.terrasoftsolutions.com
Fri Dec 12 07:05:07 2003


Okay, I found the aic7xxx.o in this location:

/lib/modules/2.4.20-8e/kernel/drivers/scsi/aic7xxx/aic7xxx.o

I am unable to boot on the 2.4.20 kernel that is on the YD 3 CD (kernel  
panic).  This is why I'm using the 2.4.23-pre5-ben0 kernel.

The aic7xxx.o did not exist in  
/lib/modules/2.4.22-2g/kernel/drivers/scsi.  So, I created the aic7xxx  
directory in this path and copied the aic7xxx.o from the 2.4.20-8e  
directory to this location.

/lib/modules/2.4.22-2g/kernel/drivers/scsi/aic7xxx/aic7xxx.o

I then rearranged /boot so that 2.4.22-2g vmlinux and systemmap are  
being used:

[root@pyro boot]# ll
total 35088
-rw-r--r--    1 root     root        28184 Dec  2 22:57 config-2.4.20-8e
-rw-r--r--    1 root     root        28241 Dec  2 22:29  
config-2.4.20-8esmp
-rw-r--r--    1 root     root        29601 Dec  2 23:58 config-2.4.22-2g
-rw-r--r--    1 root     root        29658 Dec  2 23:39  
config-2.4.22-2gsmp
-rw-r--r--    1 root     root       727706 Dec  8 15:02  
initrd-2.4.20-8e.img
-rw-r--r--    1 root     root       727366 Dec  8 15:05  
initrd-2.4.20-8esmp.img
-rw-r--r--    1 root     root          802 Aug 20 12:06 kernel.h
lrwxrwxrwx    1 root     root           21 Dec  9 08:09 module-info ->  
module-info-2.4.22-2g
-rw-r--r--    1 root     root        15562 Dec  2 22:57  
module-info-2.4.20-8e
-rw-r--r--    1 root     root        15562 Dec  2 22:29  
module-info-2.4.20-8esmp
-rw-r--r--    1 root     root        15562 Dec  2 23:58  
module-info-2.4.22-2g
-rw-r--r--    1 root     root        15562 Dec  2 23:39  
module-info-2.4.22-2gsmp
lrwxrwxrwx    1 root     root           20 Dec 11 11:42 System.map ->  
System.map-2.4.22-2g
-rw-r--r--    1 root     root       586591 Dec  2 22:57  
System.map-2.4.20-8e
-rw-r--r--    1 root     root       592730 Dec  2 22:29  
System.map-2.4.20-8esmp
-rw-r--r--    1 root     root       642436 Dec  2 23:58  
System.map-2.4.22-2g
-rw-r--r--    1 root     root       648920 Dec  2 23:39  
System.map-2.4.22-2gsmp
-rw-r--r--    1 root     root       656274 Dec 11 11:38  
System.map-2.4.23-pre5-ben0
lrwxrwxrwx    1 root     root           17 Dec 11 11:41 vmlinux ->  
vmlinux-2.4.22-2g
-rwxr-xr-x    1 root     root      3706365 Dec  2 22:57  
vmlinux-2.4.20-8e
-rwxr-xr-x    1 root     root      3943390 Dec  2 22:29  
vmlinux-2.4.20-8esmp
-rwxr-xr-x    1 root     root      4122396 Dec  2 23:58  
vmlinux-2.4.22-2g
-rwxr-xr-x    1 root     root      4376226 Dec  2 23:39  
vmlinux-2.4.22-2gsmp
-rwxr-xr-x    1 root     root      4518031 Dec 11 11:38  
vmlinux-2.4.23-pre5-ben0

I then moved vmlinux-2.4.22-2g over to the Mac OS 9 System Folder:Linux  
Kernels directory and rebooted Linux.

Things are looking much better.  My second NIC (Siemens SpeedStream  
SS1019) is now even recognized.  The 2.4.23-pre5-ben0 kernel would fail  
to load this NIC.

I did notice a problem when I rebooted during the "Finding module  
dependencies" stage.  Something about "*** Unresolved symbols in  
/lib/modules/[didn't catch the rest of the path]".  Then the new  
hardware detector popped up saying that it needs to configure  
"Apple:DMASound".  Did this and rebooted again.  No errors, everything  
is nice and smooth on this old PowerCenter Pro 240 now.

I ran "yum update" and it said everything was up-to-date.  Yet my  
system still displays "Yellow Dog Linux release 3.0 (Sirius)" instead  
of 3.0.1.  Any ideas on why it isn't at 3.0.1?

I have the following line in my yum.conf file:

[updates301]
name=Yellow Dog Linux 3.0.1 updates
baseurl=ftp://ftp.yellowdoglinux.com/pub/yellowdog/yum/3.0.1/update/

I appreciate the help this list has provided.

Shawn

On Wednesday, Dec 10, 2003, at 21:15 US/Central, bruce woller wrote:

> Shaun:
>
> First a disclaimer (or 2).   I have not used YUM to update a kernel so  
> I don't know all the ins and outs of YUM.  I have several kernels on  
> my machine both installed by Anaconda and build by myself.   As you  
> can see below each kernel has an aic7xxx.o associated with it.  In  
> addition I have a new world machine so I don't know where the modules  
> need to live in order for the kernel to completely load in an old  
> world box.  My assumption is that they must reside on the Mac side.   
> Also the initrd.img file should be there too? Perhaps an old world  
> guru can elucidate here?
>
> I wish I could give you a step by step but I don't have the know-how.
>
> Regards,
> Bruce
>
> mellow:/etc/X11>slocate aic7xxx.o
> /usr/src/linux-2.4.20-8d/drivers/scsi/aic7xxx/aic7xxx.o
> /usr/src/benh_kernel/drivers/scsi/aic7xxx/aic7xxx.o
> /lib/modules/2.4.20-8d/kernel/drivers/scsi/aic7xxx/aic7xxx.o
> /lib/modules/2.4.20-8dfirewire/kernel/drivers/scsi/aic7xxx/aic7xxx.o
> /lib/modules/2.4.21-ben1/kernel/drivers/scsi/aic7xxx/aic7xxx.o
> mellow:/etc/X11>cd /lib/modules/2.4.21-ben1/kernel/drivers/scsi/aic7xxx
> mellow:/lib/modules/2.4.21-ben1/kernel/drivers/scsi/aic7xxx>ll
> total 280
> drwxr-xr-x    2 root     adm          4096 Jul  9 19:37 ./
> drwxr-xr-x    5 root     adm          4096 Jul  9 19:37 ../
> -rw-r--r--    1 root     adm        273782 Jul  9 19:37 aic7xxx.o
> mellow:/lib/modules/2.4.21-ben1/kernel/drivers/scsi/aic7xxx>cd ..
> mellow:/lib/modules/2.4.21-ben1/kernel/drivers/scsi>ll
> total 784
> drwxr-xr-x    5 root     adm          4096 Jul  9 19:37 ./
> drwxr-xr-x   13 root     adm          4096 Jul  9 19:37 ../
> -rw-r--r--    1 root     adm        127332 Jul  9 19:37 advansys.o
> drwxr-xr-x    2 root     adm          4096 Jul  9 19:37 aic7xxx/
> -rw-r--r--    1 root     adm        230244 Jul  9 19:37 aic7xxx_old.o
> -rw-r--r--    1 root     adm         17916 Jul  9 19:37 ide-scsi.o
> -rw-r--r--    1 root     adm         55017 Jul  9 19:37 initio.o
> -rw-r--r--    1 root     adm         11412 Jul  9 19:37 mac53c94.o
> -rw-r--r--    1 root     adm         30532 Jul  9 19:37 mesh.o
> drwxr-xr-x    2 root     adm          4096 Jul  9 19:37 pcmcia/
> -rw-r--r--    1 root     adm        135740 Jul  9 19:37 scsi_mod.o
> -rw-r--r--    1 root     adm         21189 Jul  9 19:37 sd_mod.o
> -rw-r--r--    1 root     adm         42120 Jul  9 19:37 sg.o
> -rw-r--r--    1 root     adm         25716 Jul  9 19:37 sr_mod.o
> -rw-r--r--    1 root     adm         39948 Jul  9 19:37 st.o
> drwxr-xr-x    2 root     adm          4096 Jul  9 19:37 sym53c8xx_2/
> mellow:/lib/modules/2.4.21-ben1/kernel/drivers/scsi>
>
> On Wednesday, December 10, 2003, at 08:53  AM, Shawn Protsman wrote:
>
>> Hi Bruce,
>>
>> Would you mind elaborating a little (or a lot).  Here is the output  
>> of the 2.4.22-2g and 2.4.23-pre5-ben0 directories in /lib/modules
>>
>> [sprotsman@pyro 2.4.22-2g]$ pwd
>> /lib/modules/2.4.22-2g
>> [sprotsman@pyro 2.4.22-2g]$ ls -l
>> total 208
>> lrwxrwxrwx    1 root     root           32 Dec  9 08:09 build ->  
>> ../../../usr/src/linux-2.4.22-2g
>> drwxr-xr-x    7 root     root         4096 Dec  9 08:09 kernel  
>> <<===need to go deeper here
>> -rw-r--r--    1 root     root        27628 Dec  9 08:09 modules.dep
>> -rw-r--r--    1 root     root           31 Dec  9 08:09  
>> modules.generic_string
>> -rw-r--r--    1 root     root          443 Dec  9 08:09  
>> modules.ieee1394map
>> -rw-r--r--    1 root     root           81 Dec  9 08:09  
>> modules.isapnpmap
>> -rw-r--r--    1 root     root           29 Dec  9 08:09  
>> modules.parportmap
>> -rw-r--r--    1 root     root        22541 Dec  9 08:09 modules.pcimap
>> -rw-r--r--    1 root     root           24 Dec  9 08:09  
>> modules.pnpbiosmap
>> -rw-r--r--    1 root     root       125209 Dec  9 08:09 modules.usbmap
>> drwxr-xr-x    2 root     root         4096 Dec  9 08:09 pcmcia
>>
>> This is from the 2.4.23-pre5-ben0 kernel:
>>
>> [sprotsman@pyro modules]$ pwd
>> /lib/modules/2.4.23-pre5-ben0/modules
>> [sprotsman@pyro modules]$ ll
>> total 136
>> lrwxrwxrwx    1 root     root           37 Dec  8 16:50 build ->  
>> /home/tmcnulty/gkb/src-linux-2.4-benh
>> drwxr-xr-x    5 root     root         4096 Oct 23 10:17 kernel
>> -rw-r--r--    1 root     root        14237 Oct 23 10:17 modules.dep
>> -rw-r--r--    1 root     root           31 Oct 23 10:17  
>> modules.generic_string
>> -rw-r--r--    1 root     root          443 Oct 23 10:17  
>> modules.ieee1394map
>> -rw-r--r--    1 root     root           81 Oct 23 10:17  
>> modules.isapnpmap
>> -rw-r--r--    1 root     root           29 Oct 23 10:17  
>> modules.parportmap
>> -rw-r--r--    1 root     root         9801 Oct 23 10:17 modules.pcimap
>> -rw-r--r--    1 root     root           24 Oct 23 10:17  
>> modules.pnpbiosmap
>> -rw-r--r--    1 root     root        74073 Oct 23 10:17 modules.usbmap
>> drwxr-xr-x    2 root     root         4096 Oct 23 10:17 pcmcia
>>
>> Where exactly would the aic7xxx.o module be that you refer to?  I've  
>> looked in modules/[kernel name]/kernel/drivers/scsi but there is no  
>> aic7xxx.o found.
>>
>> Again, any assistance is greatly appreciated.
>>
>> Shawn
>>
>> On Tuesday, Dec 9, 2003, at 21:09 US/Central, bruce woller wrote:
>>
>>> FWIW:
>>>
>>> The AIC7xxx drivers are for Adaptec SCSI cards.  I have two (2906  
>>> and 2940) in my machine  (G3 B&W) that both work fine  under YDL3.0.  
>>>  YDL 2.4 had these modules compiled into the kernel but YDL 3.0 has  
>>> them as loadable modules.  mkinitrd is the program that creates the  
>>> .img file that describes the loadable modules and the external  
>>> symbols they require to link.  The aic7xxx.o should be in the  
>>> modules directory that has the same base name as the kernel.
>>>
>>>
>>> On Tuesday, December 9, 2003, at 10:08  AM, Shawn Protsman wrote:
>>>
>>>> Thanks James,
>>>>
>>>> Apparently the aic7xxx are SCSI drivers.  My PowerCenter Pro has an  
>>>> Adaptec UW SCSI card that came with the computer.  I assume that  
>>>> the Yellow Dog kernel doesn't support this card, hence the reason  
>>>> I'm using the 2.4.23-pre5-ben0 kernel from ppckernel.org.  I guess  
>>>> my efforts will cease here if the YD kernel still doesn't support  
>>>> my SCSI card.  YD 2.3 used to work just fine.
>>>>
>>>> Shawn
>>>>
>>>>>>>> kernel 100 % done
>>>>>>>> No module aic7xxx found for kernel 2.4.22-2g, aborting.
>>>>>>>> mkinitrd failed
>>>>>>>> error: execution of %post scriptlet from kernel-2.4.22-2g  
>>>>>>>> failed, exit status 1
>>>>>>>> kernel-smp 100 % done
>>>>>>>> No module aic7xxx found for kernel 2.4.22-2gsmp, aborting.
>>>>>>>> mkinitrd failed
>>>>>>>> error: execution of %post scriptlet from kernel-smp-2.4.22-2g  
>>>>>>>> failed, exit status 1
>>>
>>> _______________________________________________
>>> yellowdog-general mailing list
>>> yellowdog-general@lists.terrasoftsolutions.com
>>> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog- 
>>> general
>>>
>>>
>>
>> _______________________________________________
>> yellowdog-general mailing list
>> yellowdog-general@lists.terrasoftsolutions.com
>> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
>>
>
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
>
>