View previous topic :: View next topic |
Author |
Message |
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Mon Aug 19, 2002 11:25 am Post subject: some errors after installing Gentoo 1.3b |
|
|
I have some errors after installing Gentoo 1.3b.
Maybe someone knows the answers???
first:
When booting it gives a message about DEVFS not being loaded (or something like that) and it tell's me I should compile it in the kernel.
I did this en made a new bzImage which I put in the /boot directory like it is done in the manual.
Still I get this message. I'm a bit out of options here so does anyone know what this is?
second:
I get this message:
Code: | Setting system clock to hardware clock [UTC] ...
modprobe: modprobe: Can't locate module char-major-10-135
modprobe: modprobe: Can't locate module char-major-10-135 [ok] |
I must say I have other problems loading modules to like the one in "third".
third:
It won't load my SCSI device. it's a AIC7xxx which I compiled in the kernel. Will look int this later since I forgot to compile it in the kernel so I'll refresh that one later here.
Funny part is that when I do "modprobe aic7xxx" it says it can't find the module. But I think that's normal...?
anyways, does anyone have answers to my problems?
thanks in advance!
freshy98 _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
kirill Apprentice
Joined: 01 Aug 2002 Posts: 183 Location: Finland
|
Posted: Mon Aug 19, 2002 11:50 am Post subject: Re: some errors after installing Gentoo 1.3b |
|
|
freshy98 wrote: |
When booting it gives a message about DEVFS not being loaded (or something like that) and it tell's me I should compile it in the kernel.
|
As adviced in the Installation guide, You should have configured support for /dev file system in the kernel:
Code: |
File systems --->
[*] /dev file system support (EXPERIMENTAL)
|
...if it's not there, make sure you have Code maturity level options enabled.
freshy98 wrote: |
I get this message:
Code: | Setting system clock to hardware clock [UTC] ...
modprobe: modprobe: Can't locate module char-major-10-135
modprobe: modprobe: Can't locate module char-major-10-135 [ok] |
|
this one is:
Code: |
Character devices ---->
<M> Enhanced Real Time Clock Support
|
freshy98 wrote: |
Will look int this later since I forgot to compile it in the kernel so I'll refresh that one later here.
|
you'd better!
Quote: |
AMD XP2200+ / 768MB RAM / MSI K3T Ultra
using a 13,6GB as /dev/hdc for Gentoo (testing Gentoo and linux)
|
wow, nice comp indeed _________________ --kirill |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Aug 19, 2002 7:05 pm Post subject: Re: some errors after installing Gentoo 1.3b |
|
|
freshy98 wrote: | I have some errors after installing Gentoo 1.3b. |
In the future, please separate multiple question posts like this into different threads, each with their own subject line. It makes the threads turn out cleaner, different people have an easier time answering different questions, and people who come across the thread later can find what they want without also getting what they don't. Thanks.
Quote: | I did this en made a new bzImage which I put in the /boot directory like it is done in the manual.
Still I get this message. |
Whenever you do something to the kernel, and it doesn't appear to change anything, the first question to ask yourself (if you have a separate /boot partition and it's entered noauto in /etc/fstab, as it is by default) is "did I really remember to mount /boot before I copied the kernel image in there?"
Quote: | Code: | Setting system clock to hardware clock [UTC] ...
modprobe: modprobe: Can't locate module char-major-10-135
modprobe: modprobe: Can't locate module char-major-10-135 [ok] |
|
This one is your RTC (real-time clock) device. You may be getting this message because you disabled it in your kernel. If you want it, compile support for it. If you don't, and you want this message to go away, see the file in /etc/modules.d (probably i386) that is looking for it.
Quote: | Funny part is that when I do "modprobe aic7xxx" it says it can't find the module. But I think that's normal...?
|
It's "normal" in two cases: - You have the aic7xxx driver compiled directly into your kernel, in which case modprobe is not needed, and you would probably be happy
- aic7xxx is totally missing; not in the kernel, not available as a module. In this case even modprobe won't be able to help you. Kernel reconfiguration and recompilation required.
_________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Tue Aug 20, 2002 10:18 am Post subject: |
|
|
kirill:
I have /dev file system supoort enabled in the kernel. first thing I checked after I got the message.
I will check menuconfig for the UTC option. can't believe I have it not enabled.
about my system I know..it's quite cool hehe.
gonna overclock to at least 2GHz+
rac:
In the future I will make separate threads for them. The reason I put it in one thread was because it was all 1.3b and that one s not out officially yet.
I will check about the /boot being mounted as soon as I get into Gentoo again. But what I think is strange is why it gives no error about writing then?
Like I said to kirill I will look in menuconfig voor the UTC option
I did forget to compile aic7xxx in the kernel, but after doing that it still gave the error. But I have to check if the bzImage is copied correctly, so I will be coming back on that later.
One thing I completely forgot to mention (I'm very sorry for this) is that I used the Gentoo-sources this time instead of the mjc-sources which I used last time under 1.2.
thanks alot for the info guys! _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Tue Aug 20, 2002 12:14 pm Post subject: |
|
|
yes! I have got everything working perfect now!
I even updated GCC 3.1.1 to GCC 3.2 without a problem using sciack's webpage.
after mounting /dev/hdc1 /boot and redo the menuconfig for UTC and doing the things needed after that, it worked like a charm
what I still find strange is why there is no error when bzImage is transferred to /boot even if you do not mount /dev/hdc1 /boot. being /dev/hdc1 offcourse whatever HDD/partition you have as boot.
thanks anyways for the answers!
freshy98 _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Aug 20, 2002 6:28 pm Post subject: |
|
|
freshy98 wrote: | what I still find strange is why there is no error when bzImage is transferred to /boot even if you do not mount /dev/hdc1 /boot. |
There's no error because you're copying it to the /boot directory of the root partition. I agree that it's confusing for newcomers to Unix; see this thread. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Wed Aug 21, 2002 8:35 am Post subject: |
|
|
Indeed confusing.
I read the thread, and I agree what is posted over there.
I made a little help for myself to use when I want to re-compile the kernel.
Code: | mount /dev/hdc1 /boot
cd /usr/src/linux
make menuconfig
make dep && make clean bzImage modules modules_install
mv /boot/bzImage /boot/bzImage.orig
cp /usr/src/linux/arch/i386/boot/bzImage /boot
reboot |
This may seem logically to you, but for me this is safer than trashing my system _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha.
Last edited by freshy98 on Wed Aug 21, 2002 10:38 am; edited 1 time in total |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Aug 21, 2002 8:41 am Post subject: |
|
|
freshy98 wrote: | Code: | make dep && make clean vzImage modules modules_install |
|
I don't know if it's a typo in your post or your script, but I think you mean 'bzImage', not 'vzImage'. Of course, there is a zImage target (that uses gzip), and for all I know there may now be some new vzip algorithm that compresses things even better. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Wed Aug 21, 2002 10:38 am Post subject: |
|
|
rac wrote: | freshy98 wrote: | Code: | make dep && make clean vzImage modules modules_install |
|
I don't know if it's a typo in your post or your script, but I think you mean 'bzImage', not 'vzImage'. Of course, there is a zImage target (that uses gzip), and for all I know there may now be some new vzip algorithm that compresses things even better. |
I didn't even noticed it when I checked the line after I typed it hehehe
But it is a reall pain in the ass line to type
I edited the post.
thanks! hehe
btw: if it compresses even better now, what's in it for me??? _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
nE0 Tux's lil' helper
Joined: 08 Aug 2002 Posts: 146 Location: The Netherlands, Breda
|
Posted: Wed Aug 21, 2002 12:29 pm Post subject: |
|
|
last time I checked, bzip compressed a tarfile (of about 40Mb) to 28Mb, and gzip did it to 32Mb. Therefore I always use bzip2 to compress something.
If there will come a newer gzip algoritm, wich compresses better, I might turn to gzip _________________ All things considerring! I'm considerring to...never mind! |
|
Back to top |
|
|
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Wed Aug 21, 2002 12:54 pm Post subject: |
|
|
heuh, I'm not that deep into linux. will do that in the very far future sometime
for now I have to get X and KDE working. (other thread in Desktop Enviroment)
c ya _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
water Guru
Joined: 19 Jun 2002 Posts: 387 Location: Zierikzee, The Netherlands
|
Posted: Wed Aug 21, 2002 1:06 pm Post subject: |
|
|
nE0 wrote: | last time I checked, bzip compressed a tarfile (of about 40Mb) to 28Mb, and gzip did it to 32Mb. Therefore I always use bzip2 to compress something.
If there will come a newer gzip algoritm, wich compresses better, I might turn to gzip |
But what has this to do with bzImage? Is this also compressed? _________________ Groeten uit Holland |
|
Back to top |
|
|
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Wed Aug 21, 2002 1:18 pm Post subject: |
|
|
water wrote: | nE0 wrote: | last time I checked, bzip compressed a tarfile (of about 40Mb) to 28Mb, and gzip did it to 32Mb. Therefore I always use bzip2 to compress something.
If there will come a newer gzip algoritm, wich compresses better, I might turn to gzip |
But what has this to do with bzImage? Is this also compressed? |
water, this has to do with a typo I made in an earlier post.
rac responded to that as of a joke. nE0 did to _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
water Guru
Joined: 19 Jun 2002 Posts: 387 Location: Zierikzee, The Netherlands
|
Posted: Wed Aug 21, 2002 1:56 pm Post subject: |
|
|
I did read that, but i don't understand what Rac means. My question is that the kernel's name is bzImage, because it's compressed (at least, this is what i understand from Rac), or has this nothing to do with? _________________ Groeten uit Holland |
|
Back to top |
|
|
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Wed Aug 21, 2002 2:27 pm Post subject: |
|
|
as far as I know (and that's not much) bzImage only refers to boot.
like in the b in bzImage stands for boot and nothing else.
I do believe there is a way to compress that file, but I could be mistaken with something else. _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
kirill Apprentice
Joined: 01 Aug 2002 Posts: 183 Location: Finland
|
Posted: Wed Aug 21, 2002 4:59 pm Post subject: |
|
|
freshy98 wrote: | as far as I know (and that's not much) bzImage only refers to boot.
like in the b in bzImage stands for boot and nothing else.
I do believe there is a way to compress that file, but I could be mistaken with something else. |
man, bzImage is already compressed
b refers to compression method used by bzip2 (bz(ip2)Image)
You could also make zImage, which would use gzip compression method and make your kernel either smaller or bigger (im really not sure about that )
--kirill "Wanna 2200+ XP" kirill _________________ --kirill |
|
Back to top |
|
|
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Wed Aug 21, 2002 9:39 pm Post subject: |
|
|
Well, there you have it!
I didn't know that. I'm not into Linux that much.
Thanks for the explenation _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
|