Messages in this thread | | | Date | Tue, 8 Jun 1999 09:49:40 +0300 (EET DST) | From | Kastus Shchuka <> | Subject | Re: ide-cd as a module in RH6.0 (kernel 2.2.9) |
| |
On Mon, 7 Jun 1999, Jens Axboe wrote:
> On Mon, Jun 07 1999, Kastus Shchuka wrote: > > Hi all, > > > > I just upgraded my home box to Red Hat 6.0 and noticed a strange thing. > > Earlier I was running RH 5.2 with 2.2.9 kernel, ide-cd was compiled as a > > module and worked fine. RH 6.0 comes with 2.2.5 kernel with ide-cd > > compiled into the kernel. I recompiled 2.2.9 kernel under RH6.0 and ide-cd > > module seized loading. When compiled into the kernel, ide-cd works. I > > wonder what might be perculiar with RH6.0? Other modules (sound, scsi) > > don't show any problems. > > > > Is it a known issue or have I tackled with something new? > > I gather that it works when inserted manually and that it is the > autoloading that is causing you problems? Check that ide-cd shows > up in a modprobe -l.
It didn't work either way.
Last night I did a couple more of experiments. They definitely show that something weird was with egcs shipping with RH60.
I booted 2.2.7 kernel compiled earlier under RH5.2 (gcc 2.7.2.3), ide-cd as a module--no problem. ide-cd.c hasn't changed since 2.2.7, it's the same in 2.2.9 as in 2.2.7. Then I noticed that ide-cd.o compiled under RH60 had different (bigger) size than that one from 2.2.7.
I was already thinking of falling back to gcc 2.7.2.3 and then gave it one more try with egcs shipped in RH60. To make my experiment cleaner I did 'make mrproper', compiled the kernel and for some mysterious reason the problem with loading ide-cd.o disappeared. I also noticed that the size of ide-cd.o changed. It is still bigger than when compiled with gcc 2.7.2.3 but less than that of ide-cd.o failing to load.
> > -- > * Jens Axboe <axboe@image.dk> > * Linux CD-ROM Maintainer >
-------------------------------------------- Kastus Shchuka <pike@usis.minsk.by> LAN Manager/SysAdmin ph.: +375-17-217-0481 USIS Minsk fax: +375-17-217-8828
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |