linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Tried to run 2.6.0-test1
@ 2003-07-20 15:03 Norman Diamond
  2003-07-20 15:26 ` Valdis.Kletnieks
  0 siblings, 1 reply; 12+ messages in thread
From: Norman Diamond @ 2003-07-20 15:03 UTC (permalink / raw)
  To: linux-kernel

I'm sorry, I cannot cope with the volume in this mailing list.
If anyone volunteers to help and/or if anyone has questions,
please e-mail me directly.

On Red Hat 9 without Qt, make xconfig wouldn't run.
Make menuconfig ran.  Compilation ran.
During make modules_install, there were warnings about
undefined symbols for a bunch of wireless LAN card modules.
But at least the thing ran.
It boots, it keeps the screen nearly blank during booting,
then X comes up and the thing runs.
During shutdown, the screen returns to the same nearly blank display
that it had during booting.  I have to guess when it's safe to shut
off the power.  But in between startup and shutdown, it runs.
On Red Hat 9.

Then I moved to SuSE 8.1 and tried configuring a few more options.

On SuSE 8.1, make xconfig ran.  Just before the xconfig windows
appeared, these warnings appeared in the terminal window:
  ./scripts/kconfig/qconf arch/i386/Kconfig
  boolean symbol BINFMT_ZFLAT tested for 'm'? test forced to 'n'
  #
  # using defaults found in arch/i386/defconfig
  #
  arch/i386/defconfig:68: trying to assign nonexistent symbol X86_SSE2
  arch/i386/defconfig:544: trying to assign nonexistent symbol NET_PCMCIA_RADIO
  arch/i386/defconfig:663: trying to assign nonexistent symbol INTEL_RNG
Maybe one of these provides a clue about wireless LAN card modules.

Compilation starts, but this is weird:
    AS      arch/i386/boot/setup.o
  /tmp/ccZht1mp.s: Assembler messages:
  /tmp/ccZht1mp.s:1903: Warning: value 0x37ffffff truncated to 0x37ffffff
That's some truncation, eh?

These look troublesome though:
    CC [M]  drivers/mtd/nftlcore.o
  drivers/mtd/nftlcore.c: In function `NFTL_foldchain':
  drivers/mtd/nftlcore.c:354: warning: passing arg 7 of pointer to function
    makes pointer from integer without a cast
  drivers/mtd/nftlcore.c:358: warning: passing arg 7 of pointer to function
    makes pointer from integer without a cast
  drivers/mtd/nftlcore.c:363: warning: passing arg 7 of pointer to function
    makes pointer from integer without a cast
  drivers/mtd/nftlcore.c: In function `nftl_writeblock':
  drivers/mtd/nftlcore.c:632: warning: passing arg 7 of pointer to function
    makes pointer from integer without a cast
  drivers/mtd/nftlcore.c: In function `nftl_readblock':
  drivers/mtd/nftlcore.c:696: warning: passing arg 7 of pointer to function
    makes pointer from integer without a cast
    CC [M]  drivers/mtd/nftlmount.o
  drivers/mtd/nftlmount.c: In function `find_boot_record':
  drivers/mtd/nftlmount.c:220: warning: passing arg 7 of pointer to function
    makes pointer from integer without a cast

Oh, and then compilation of modules aborts:
    CC [M]  drivers/mtd/devices/doc2000.o
  drivers/mtd/devices/doc2000.c: In function `DoC2k_init':
  drivers/mtd/devices/doc2000.c:567: warning: assignment from incompatible
    pointer type
  drivers/mtd/devices/doc2000.c:568: warning: assignment from incompatible
    pointer type
    CC [M]  drivers/mtd/devices/docprobe.o
    CC [M]  drivers/mtd/devices/docecc.o
    CC [M]  drivers/mtd/devices/slram.o
    CC [M]  drivers/mtd/devices/blkmtd.o
  drivers/mtd/devices/blkmtd.c:52:25: linux/iobuf.h: No such file or directory
  drivers/mtd/devices/blkmtd.c: In function `blkmtd_readpage':
  drivers/mtd/devices/blkmtd.c:219: warning: implicit declaration of function
    `alloc_kiovec'
  drivers/mtd/devices/blkmtd.c:236: dereferencing pointer to incomplete type
  drivers/mtd/devices/blkmtd.c:239: dereferencing pointer to incomplete type
  drivers/mtd/devices/blkmtd.c:240: dereferencing pointer to incomplete type
  drivers/mtd/devices/blkmtd.c:241: dereferencing pointer to incomplete type
  drivers/mtd/devices/blkmtd.c:242: dereferencing pointer to incomplete type
  drivers/mtd/devices/blkmtd.c:243: dereferencing pointer to incomplete type
  drivers/mtd/devices/blkmtd.c:265: warning: implicit declaration of function
    `brw_kiovec'
  drivers/mtd/devices/blkmtd.c:267: dereferencing pointer to incomplete type
  drivers/mtd/devices/blkmtd.c:268: warning: implicit declaration of function
    `free_kiovec'
  drivers/mtd/devices/blkmtd.c:169: warning: unused variable `b'
  drivers/mtd/devices/blkmtd.c: In function `write_queue_task':
  drivers/mtd/devices/blkmtd.c:323: dereferencing pointer to incomplete type
  drivers/mtd/devices/blkmtd.c:351: `KIO_MAX_SECTORS' undeclared (first use
    in this function)
  drivers/mtd/devices/blkmtd.c:351: (Each undeclared identifier is reported
    only once
  drivers/mtd/devices/blkmtd.c:351: for each function it appears in.)
  drivers/mtd/devices/blkmtd.c:369: dereferencing pointer to incomplete type
  drivers/mtd/devices/blkmtd.c:370: dereferencing pointer to incomplete type
  drivers/mtd/devices/blkmtd.c:382: dereferencing pointer to incomplete type
  drivers/mtd/devices/blkmtd.c:384: dereferencing pointer to incomplete type
  drivers/mtd/devices/blkmtd.c:392: dereferencing pointer to incomplete type
  drivers/mtd/devices/blkmtd.c:393: dereferencing pointer to incomplete type
  drivers/mtd/devices/blkmtd.c:407: dereferencing pointer to incomplete type
  drivers/mtd/devices/blkmtd.c: In function `blkmtd_erase':
  drivers/mtd/devices/blkmtd.c:527: warning: unused variable `b'
  drivers/mtd/devices/blkmtd.c: In function `blkmtd_read':
  drivers/mtd/devices/blkmtd.c:640: warning: unused variable `b'
  drivers/mtd/devices/blkmtd.c: In function `blkmtd_write':
  drivers/mtd/devices/blkmtd.c:713: parse error before "e3"
  drivers/mtd/devices/blkmtd.c:712: warning: unused variable `b'
  drivers/mtd/devices/blkmtd.c: At top level:
  drivers/mtd/devices/blkmtd.c:932: parse error before "cleanup_blkmtd"
  drivers/mtd/devices/blkmtd.c:933: warning: return type defaults to `int'
  drivers/mtd/devices/blkmtd.c:1021: parse error before "calc_erase_regions"
  drivers/mtd/devices/blkmtd.c:1022: warning: return type defaults to `int'
  drivers/mtd/devices/blkmtd.c:1047: parse error before "__init"
  drivers/mtd/devices/blkmtd.c:1047: warning: type defaults to `int' in
    declaration of `__init'
  drivers/mtd/devices/blkmtd.c:1047: warning: data definition has no type
    or storage class
  drivers/mtd/devices/blkmtd.c:1050: parse error before "init_blkmtd"
  drivers/mtd/devices/blkmtd.c:1051: warning: return type defaults to `int'
  drivers/mtd/devices/blkmtd.c: In function `init_blkmtd':
  drivers/mtd/devices/blkmtd.c:1199: structure has no member named `module'
  drivers/mtd/devices/blkmtd.c:1060: warning: unused variable `b'
  drivers/mtd/devices/blkmtd.c: At top level:
  drivers/mtd/devices/blkmtd.c:1269: warning: type defaults to `int' in
    declaration of `module_init'
  drivers/mtd/devices/blkmtd.c:1269: warning: parameter names (without
    types) in function declaration
  drivers/mtd/devices/blkmtd.c:1269: warning: data definition has no type
    or storage class
  drivers/mtd/devices/blkmtd.c:1270: warning: type defaults to `int' in
    declaration of `module_exit'
  drivers/mtd/devices/blkmtd.c:1270: warning: parameter names (without
    types) in function declaration
  drivers/mtd/devices/blkmtd.c:1270: warning: data definition has no type
    or storage class
  make[3]: *** [drivers/mtd/devices/blkmtd.o] Error 1
  make[2]: *** [drivers/mtd/devices] Error 2
  make[1]: *** [drivers/mtd] Error 2
  make: *** [drivers] Error 2
  
OK, I made menuconfig again and removed some MTD stuff.  It made but
it wouldn't boot.  The screen was blank for the entire boot process
(after grub selected the kernel to boot).  After a while I pressed
Ctrl-Alt-Del and rebooted my old kernel.
/var/log/messages includes this:
  Jul 20 22:10:20 diamondpana kernel: Loaded 28312 symbols from
    /boot/System.map-2.6.0-test1.
  Jul 20 22:10:20 diamondpana kernel: Symbols match kernel version 2.6.0.
  Jul 20 22:10:20 diamondpana kernel: No module symbols loaded -
    kernel modules not enabled.
Huh???  What about these lines in .config:
  CONFIG_MODULES=y
  CONFIG_MODULE_UNLOAD=y
  CONFIG_MODULE_FORCE_UNLOAD=y
  CONFIG_OBSOLETE_MODPARM=y
  # CONFIG_MODVERSIONS is not set
  CONFIG_KMOD=y
And this output to ls /lib/modules/2.6.0-test1:
  build        modules.generic_string  modules.parportmap  modules.usbmap
  kernel       modules.ieee1394map     modules.pcimap
  modules.dep  modules.isapnpmap       modules.pnpbiosmap
What does the thing need in order to use modules?
Is this the reason why the screen is completely blank during the boot
process instead of only mostly blank?  Is it the reason why X doesn't
come up?  By the way there are also no tones from PCMCIA during the
boot process so I'm pretty sure it's also not recognizing my LAN card,
but when I reboot my old kernel then PCMCIA recognizes the LAN card
just fine during booting.

Oh... the README says:
   - Make sure you have gcc 2.95.3 available.
Unfortunately I only have gcc 3.2 available.  Sigh.
But I think that was the same on Red Hat 9, probably.

So what does the thing need in order to recognize its modules?

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: Tried to run 2.6.0-test1
@ 2003-07-21  6:23 Norman Diamond
  2003-07-21  6:52 ` Brett
  2003-07-21 10:07 ` Gene Heskett
  0 siblings, 2 replies; 12+ messages in thread
From: Norman Diamond @ 2003-07-21  6:23 UTC (permalink / raw)
  To: linux-kernel

Again I cannot keep up with the mailing list.  If anyone wishes to advise or
has questions, please kindly contact me directly.

I wrote:

> I've downloaded modutils-2.4.21-18.src.rpm from Rusty Russell's directory
[...]
> Odds are I can probably gunzip and tar and compile the new modutils, but
> will the resulting executables get installed into the right places without
> using the rpm command and its spec file, I'm not sure I want to chance it.

I read the two README files and started to try building the first one
starting with "./configure --prefix=/" as directed.  It said:
  /home/ndiamond/modutils-2.4.21-18/SOURCES/module-init-tools-0.9.11a/missing: Unknown `--run' option
  Try `/home/ndiamond/modutils-2.4.21-18/SOURCES/module-init-tools-0.9.11a/missing --help' for more information

I tried that command for help.  Indeed it says there's no such thing as a
"--run" option.  Looks like I lied.  I don't know how to compile the new
module utilities.

One thing is interesting though.  This configure script figured out that my
cpu is an i586.

By the way, the last line in that README file says that if this is all too
complicated then install the source RPM.  Gee thanks.  I already tried
"rpm --rebuild" but it assumes an i686.


^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: Tried to run 2.6.0-test1
@ 2003-07-21  6:56 Norman Diamond
  0 siblings, 0 replies; 12+ messages in thread
From: Norman Diamond @ 2003-07-21  6:56 UTC (permalink / raw)
  To: linux-kernel

Again I cannot keep up with the mailing list.  If anyone wishes to advise or
has questions, please kindly contact me directly.

In addition to my previous message quoting myself, I lied yet again:

> I've downloaded modutils-2.4.21-18.src.rpm from Rusty Russell's directory
[...]
> Odds are I can probably gunzip and tar and compile the new modutils, but
> will the resulting executables get installed into the right places without
> using the rpm command and its spec file, I'm not sure I want to chance it.

I read the two README files.  BOTH OF THE GZIPPED TARBALLS
PRODUCE THE SAME EXECUTABLE FILENAMES, such as insmod.
If I can get both of them to build, how can I guess which one to install?

Besides, I tried building module-init-tools-0.9.11a even after its configure
script failed.  There are a lot more differences than just the type of cpu,
from the compilation options when trying "rpm --rebuild".  For example no -D
options for combining various stuff, no URL to explain tainting, etc.  Also
this one's "make install" doesn't install the lsmod command.

I really really lied.  I'll never figure out how to build these things
without help.  As I understand it, all I need at this point is the new
modutils for execution on an i586.


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2003-07-21  9:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-20 15:03 Tried to run 2.6.0-test1 Norman Diamond
2003-07-20 15:26 ` Valdis.Kletnieks
2003-07-20 15:48   ` Norman Diamond
2003-07-20 16:02     ` Diego Calleja García
2003-07-20 19:20     ` Gabor MICSKO
2003-07-21  5:48   ` Norman Diamond
2003-07-21  6:23 Norman Diamond
2003-07-21  6:52 ` Brett
2003-07-21  7:06   ` Norman Diamond
2003-07-21  7:18     ` Brett
2003-07-21 10:07 ` Gene Heskett
2003-07-21  6:56 Norman Diamond

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).