* 7.1 on SX164 [was binutils, modutils, and kernel (2.4.19-pre3)]
@ 2002-03-22 17:10 Rajiv Prasad
2002-03-23 17:51 ` Michal Jaegermann
0 siblings, 1 reply; 4+ messages in thread
From: Rajiv Prasad @ 2002-03-22 17:10 UTC (permalink / raw)
To: axp-list
Hi folks:
I finally got 7.1 installed on my SX164, thanks to all the wonderful help
from you guys. I had to use the 7.0 installation files (bootdisk and
ramdisk). The 7.0 installer would not recognize my burnt 7.1 CDs, nor the
7.1 ISOs (if I used the 7.1 ramdisk along with 7.0 bootdisk). I don't know
why this happened (was it checking for 7.0 md5sums??), but then I pointed the
installer to use ftp.redhat.com -- the 7.1 installation tree. Thirty-four
hours later (these cable modems are cool...) I had 7.1 installed. Looking
back, maybe I should have put the whole 7.1 installation tree on a local
partition for the 7.0 installer to use. Maybe next time...
I built and installed kernel 2.4.19-pre3 using stock 7.1 compilers/binutils,
put it on a floppy and booted. It worked. So installed 2.4.19-pre3 in
/boot, and am now booting directly from disk using milo 2.0.35 without any
problems. Need to rebuild thekernel with cool modules like usb support now...
Now, I have more questions:
1. there are a lot of update files for 7.1 (I downloaded all rpms, it is
worth 301MB). How do I figure out the inter-dependencies for these rpms? Or
is just a brute-force "rpm --force --install *.rpm" okay? Don't want to mess
up *this* installation.
2. I am a little unclear about the layout of /boot. What do System.map and
modules.info files do? They are symlinks to System.map-2.4.3-12 and
module.info-2.4.3-12. Do I have to put System.map and module.info from my
2.4.19-pre3 build in /boot, and modify the symlinks? 2.4.19-pre3 boots
without these files. So why are they there? BTW, I could not find
module.info in my 2.4.19-pre3 build tree. Where is it?
3. dhcp: while I was installing, the hostname was set to dhcp-102-6, and it
is sticking even now. When I was using RH6.1, I used to get hostname and
domainname from dhcp. Why not in 7.1:
[rajiv@dhcp-102-6 rajiv]$ hostname
dhcp-102-6
[rajiv@dhcp-102-6 rajiv]$ domainname
(none)
BTW, dhcpcd is not running. Is that the default? Do I need to run dhcpcd to
get back the 6.1 behavior?
So far, I love 7.1 with KDE 2.x. Konqueror is great, except that on some
websites the fonts get totally messed up (too small/blocky) -- any idea why?
Thanks for the help again, and I do expect to have a lot more questions to
throw out at you guys. ;-))
Cheers,
Rajiv
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 7.1 on SX164 [was binutils, modutils, and kernel (2.4.19-pre3)]
@ 2002-03-23 17:46 Rajiv Prasad
2002-03-24 16:27 ` Michal Jaegermann
0 siblings, 1 reply; 4+ messages in thread
From: Rajiv Prasad @ 2002-03-23 17:46 UTC (permalink / raw)
To: axp-list
Hi folks:
I decided to take Michal's advice -- again! -- :-) -- and stay away from "rpm
--force" -- I'll just be selective upgrading (-Uvh) rpms that I really need
to. (Sorry Michal, with my every post I have a feeling I am pushing you
closer to a heart attack! ;-) Just to make it clear, you have been a *great*
help so far! Thanks!!)
The dhcp issue was resolved by setting "HOSTNAME=" in /etc/sysconfig/network,
which had "HOSTNAME=dhcp-102-6". /etc/hosts was messed up too for the
loopback address -- I removed "dhcp-102-6" from that line, and now I get my
fully qualified hostname just as it was in 6.1.
Here's another question: my "make modules_install" ends with:
cd /lib/modules/2.4.19-pre3; \
mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.19-pre3; fi
depmod: *** Unresolved symbols in
/lib/modules/2.4.19-pre3/kernel/drivers/ide/ide-probe-mod.o
depmod: ide_xlate_1024_hook
Does not look quite right (incomplete to say the least, maybe more
serious...) to me. Did not have any problems with "make boot" and "make
modules". Any ideas?
Thanks for the help.
Rajiv
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 7.1 on SX164 [was binutils, modutils, and kernel (2.4.19-pre3)]
2002-03-22 17:10 7.1 on SX164 [was binutils, modutils, and kernel (2.4.19-pre3)] Rajiv Prasad
@ 2002-03-23 17:51 ` Michal Jaegermann
0 siblings, 0 replies; 4+ messages in thread
From: Michal Jaegermann @ 2002-03-23 17:51 UTC (permalink / raw)
To: axp-list
On Fri, Mar 22, 2002 at 09:10:41AM -0800, Rajiv Prasad wrote:
>
> 1. there are a lot of update files for 7.1 (I downloaded all rpms, it is
> worth 301MB). How do I figure out the inter-dependencies for these rpms? Or
> is just a brute-force "rpm --force --install *.rpm" okay? Don't want to mess
> up *this* installation.
NO! First principle - do not use '--force' on rpm unless there is truly
no other way to install and you are truly convinced that you know what
you are doing. Not a second earlier. An indiscriminate use of
'--force' is a sure way to mess up a system.
Start from typing 'rpm --help | less' and looking over that and rpm
manpage.
If you have "alternative architectures" (like glibc for alpha and
alphaev6) then leave in a directory with stuff to install only those
which you want to install and not others.
Once you did that try 'rpm -Fvh *.rpm' ('-F' is an alternative for
'--freshen' and installs updates only to things which you have
installed). If this will get back with complaints, as it could be when
some packages were split or aquired new unsatisfied dependencies, do
'rpm -Uvh ...' _only_ to resolve these complaints and repeat 'rpm -Fvh
*.rpm'. For example in updates for 7.2 Intel (I do not remember now
what, if any, will cause such problems in updates to 7.1) there is few
perl packages which depend on each other. You do than
'rpm -Uvh perl*.rpm' so they are installed as one group and you _know_
that you need a perl update. If you do not need it (you do) then you
will not see any bitching.
> 2. I am a little unclear about the layout of /boot. What do System.map and
> modules.info files do? They are symlinks to System.map-2.4.3-12 and
> module.info-2.4.3-12. Do I have to put System.map and module.info from my
> 2.4.19-pre3 build in /boot, and modify the symlinks?
You do not have module.info-2.4.19-pre3 (this is Red Hat invention and
do not worry about it) and you add /boot/System.map-2.4.19-pre3.
Suffix is really the same as a name of a directory with your modules.
Links will be updated automatically on boot. Later there is no point
if you do not understand what they are for.
> 2.4.19-pre3 boots
> without these files.
Right.
> So why are they there?
When in doubt check your logs. There is a lot of information there
and for a reason. This map is needed but only in time of troubles.
> BTW, I could not find
> module.info in my 2.4.19-pre3 build tree. Where is it?
See above.
> 3. dhcp: while I was installing, the hostname was set to dhcp-102-6, and it
> is sticking even now. When I was using RH6.1, I used to get hostname and
> domainname from dhcp. Why not in 7.1:
Because you set it that way. Reconfigure your network information.
Buying a boxed set has its uses. Printed manuals are there.
Michal
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 7.1 on SX164 [was binutils, modutils, and kernel (2.4.19-pre3)]
2002-03-23 17:46 Rajiv Prasad
@ 2002-03-24 16:27 ` Michal Jaegermann
0 siblings, 0 replies; 4+ messages in thread
From: Michal Jaegermann @ 2002-03-24 16:27 UTC (permalink / raw)
To: axp-list
On Sat, Mar 23, 2002 at 09:46:57AM -0800, Rajiv Prasad wrote:
>
> Hi folks:
>
> I decided to take Michal's advice -- again! -- :-) -- and stay away from "rpm
> --force" -- I'll just be selective upgrading (-Uvh) rpms that I really need
> to.
Well, no. In general, as exceptions happen, you _should_ do in a
situation like yours a wholesale upgrading but with '-Fvh', and not with
'--install' or simple '--upgrade', after you resolved these few
dependencies that may give you trouble. This may require few tries but
it is not that complicated after all.
>
> Here's another question: my "make modules_install" ends with:
>
> cd /lib/modules/2.4.19-pre3; \
> mkdir -p pcmcia; \
> find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
> if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.19-pre3; fi
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.19-pre3/kernel/drivers/ide/ide-probe-mod.o
> depmod: ide_xlate_1024_hook
This means that after some IDE edits somebody fort to export a symbol
in kernel sources. You have to edit either your kernel/ksyms.c
or arch/alpha/kernel/alpha_ksyms.c. To find out which you have to
check what really wants this missing symbol and why. In this case
probably edits will go to the former.
Reports of this sort, preferably with a patch if possible, should be
posted on linux-kernel@vger.kernel.org mailing list as this is exactly
what it is for. If you will skip that then do not be surprised if your
problem will never be fixed. You do not have to subscribe to post there
but if you are playing with "pre" kernels then most likely you should.
See also REPORTING-BUGS file in your kernel sources.
Michal
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-03-24 16:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-22 17:10 7.1 on SX164 [was binutils, modutils, and kernel (2.4.19-pre3)] Rajiv Prasad
2002-03-23 17:51 ` Michal Jaegermann
-- strict thread matches above, loose matches on Subject: below --
2002-03-23 17:46 Rajiv Prasad
2002-03-24 16:27 ` Michal Jaegermann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox