[announce] OpenBIOS Forth Kernel V1.0 released
Gregg C Levine
hansolofalcon at worldnet.att.net
Wed Sep 17 20:52:00 CEST 2003
Hello (again) from Gregg C Levine
Stefan, it looks as if I was right. The version that's on your site,
does cause an oops, here it is:
invalid operand: 0000
CPU: 0
EIP: 0010:[<c2860072>] Not tainted
EFLAGS: 00010246
eax: c2861e4a ebx: c2860000 ecx: c2860000 edx: c2861e40
esi: 00000000 edi: c2860000 ebp: c1781fbc esp: c1781f1c
ds: 0018 es: 0018 ss: 0018
Process insmod (pid: 1317, stackpage=c1781000)
Stack: c2860000 c28600f5 c0117625 c1780000 40020a40 bfffcabc c011dbaa
c2860000
00004c30 00004664 c09cf000 00000060 c0367000 ffffffea 00000004
c1da093c
00000060 c285d000 c2860060 00004c30 00000000 00000000 00000000
00000000
Call Trace: [<c28600f5>] [<c0117625>] [<c011dbaa>] [<c2860060>]
[<c0108973>]
Code: 0f 45 c2 50 68 60 1e 86 c2 e8 e0 67 8b fd e8 ab 75 95 fd 83
I suspect that the module, is causing insmod to have a bad time.
Here's the decoded one:
ksymoops 2.4.9 on i586 2.4.21. Options used
-V (default)
-k /proc/ksyms (default)
-l /proc/modules (default)
-o /lib/modules/2.4.21/ (default)
-m /usr/src/linux/System.map (default)
Warning: You did not tell me where to find symbol information. I will
assume that the log matches the kernel and modules that are running
right now and I'll use the default options above for symbol
resolution.
If the current kernel and/or modules do not match the log, you can get
more accurate output by telling me the kernel version and where to
find
map, modules, ksyms etc. ksymoops -h explains the options.
Warning (compare_maps): ksyms_base symbol
__ide_do_rw_disk_R__ver___ide_do_rw_disk not found in System.map.
Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol
ide_build_dmatable_R__ver_ide_build_dmatable not found in System.map.
Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol
ide_destroy_dmatable_R__ver_ide_destroy_dmatable not found in
System.map. Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol
ide_dma_intr_R__ver_ide_dma_intr not found in System.map. Ignoring
ksyms_base entry
Warning (compare_maps): ksyms_base symbol
ide_get_best_pio_mode_R__ver_ide_get_best_pio_mode not found in
System.map. Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol
ide_pci_register_driver_R__ver_ide_pci_register_driver not found in
System.map. Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol
ide_pci_unregister_driver_R__ver_ide_pci_unregister_driver not found
in System.map. Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol
ide_pio_timings_R__ver_ide_pio_timings not found in System.map.
Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol
ide_set_xfer_rate_R__ver_ide_set_xfer_rate not found in System.map.
Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol
ide_setup_dma_R__ver_ide_setup_dma not found in System.map. Ignoring
ksyms_base entry
Warning (compare_maps): ksyms_base symbol
ide_setup_pci_device_R__ver_ide_setup_pci_device not found in
System.map. Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol
ide_setup_pci_devices_R__ver_ide_setup_pci_devices not found in
System.map. Ignoring ksyms_base entry
invalid operand: 0000
CPU: 0
EIP: 0010:[<c2860072>] Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010246
eax: c2861e4a ebx: c2860000 ecx: c2860000 edx: c2861e40
esi: 00000000 edi: c2860000 ebp: c1781fbc esp: c1781f1c
ds: 0018 es: 0018 ss: 0018
Process insmod (pid: 1317, stackpage=c1781000)
Stack: c2860000 c28600f5 c0117625 c1780000 40020a40 bfffcabc c011dbaa
c2860000
00004c30 00004664 c09cf000 00000060 c0367000 ffffffea 00000004
c1da093c
00000060 c285d000 c2860060 00004c30 00000000 00000000 00000000
00000000
Call Trace: [<c28600f5>] [<c0117625>] [<c011dbaa>] [<c2860060>]
[<c0108973>]
Code: 0f 45 c2 50 68 60 1e 86 c2 e8 e0 67 8b fd e8 ab 75 95 fd 83
>>EIP; c2860072 <[bios]__module_license+a/88> <=====
>>eax; c2861e4a <[bios].rodata.start+2a/120>
>>ebx; c2860000 <[bios]__module_kernel_version+0/16>
>>ecx; c2860000 <[bios]__module_kernel_version+0/16>
>>edx; c2861e40 <[bios].rodata.start+20/120>
>>edi; c2860000 <[bios]__module_kernel_version+0/16>
>>ebp; c1781fbc <_end+1490fa0/2514fe4>
>>esp; c1781f1c <_end+1490f00/2514fe4>
Trace; c28600f5 <[bios]init_module+5/8>
Trace; c0117625 <sys_init_module+59d/654>
Trace; c011dbaa <timer_bh+26/380>
Trace; c2860060 <[bios]bios_init+0/0>
Trace; c0108973 <system_call+33/38>
Code; c2860072 <[bios]__module_license+a/88>
0000000000000000 <_EIP>:
Code; c2860072 <[bios]__module_license+a/88> <=====
0: 0f 45 c2 cmovne %edx,%eax <=====
Code; c2860075 <[bios]__module_license+d/88>
3: 50 push %eax
Code; c2860076 <[bios]__module_license+e/88>
4: 68 60 1e 86 c2 push $0xc2861e60
Code; c286007b <[bios]__module_license+13/88>
9: e8 e0 67 8b fd call fd8b67ee <_EIP+0xfd8b67ee>
c0116860 <printk+0/11c>
Code; c2860080 <[bios]__module_license+18/88>
e: e8 ab 75 95 fd call fd9575be <_EIP+0xfd9575be>
c01b7630 <pcibios_present+0/18>
Code; c2860085 <[bios]__module_license+1d/88>
13: 83 00 00 addl $0x0,(%eax)
13 warnings issued. Results may not be reliable.
I don't know what ksymoops means about the last line, but its all
there. Everything is as I last posted regarding the kernel project
program. Other then the peculiar complaint from strip it works. Ron,
if your curious, that's from the latest version of Stefan's /dev/bios
module. Why it compiles, but promptly throws that, is why I'm here. If
you want, I'll switch to any other methods of communicating with
Stefan.
-------------------
Gregg C Levine hansolofalcon at worldnet.att.net
------------------------------------------------------------
"The Force will be with you...Always." Obi-Wan Kenobi
"Use the Force, Luke." Obi-Wan Kenobi
(This company dedicates this E-Mail to General Obi-Wan Kenobi )
(This company dedicates this E-Mail to Master Yoda )
> -----Original Message-----
> From: linuxbios-admin at clustermatic.org [mailto:linuxbios-
> admin at clustermatic.org] On Behalf Of Gregg C Levine
> Sent: Wednesday, September 17, 2003 5:59 PM
> To: 'Stefan Reinauer'
> Cc: 'LinuxBIOS'
> Subject: RE: [announce] OpenBIOS Forth Kernel V1.0 released
>
> Hello (again) from Gregg C Levine
> Okay, by adding that flag to the flags region of the make file, made
> it work, sort of. Now the explosion happens when the process reaches
> the steps for creating an image for working with our project here,
> Linux BIOS, that's where it happens, something to do with the strip
> command. GCC is still 2.9.5.3, and binary utilities are still
> 2.11.90.0.19, (my mistake), below this will be my script file, (cut
> and paste):
> Script started on Wed Sep 17 13:21:21 2003
> root at who3:/usr/src/openbios/kernel# make
>
> Welcome to OpenBIOS..
>
> Creating build directory /usr/src/openbios/kernel/obj-x86
> Checking types...found 32bit platform, creating "types.h"
>
> Building common core files for architecture x86
> compiling primitives.c... ok
> compiling stack.c... ok
> compiling dict.c... ok
> compiling lib.c... ok
> compiling openbios.c... ok
>
> Building files for unix hosted bootstrap
> compiling unix.c... ok
> linking unix bootstrap... ok
>
> Bootstrapping dictionary... ok
> Building final dictionary... ok
> Building binary converter... ok
>
> Compiling x86 architecture specific binaries
> assembling mboot.S... ok
> compiling multiboot.c... ok
> assembling boot.S... ok
> compiling plainboot.c... ok
> generating linkable dictionary... ok
> compiling builtin.c... ok
> compiling console.c... ok
>
> Linking:
> native multiboot kernel for grub... ok
> native kernel (for LinuxBIOS)... ok
> Usage: strip <switches> in-file(s)
> The switches are:
> -I --input-target <bfdname> Assume input file is in format
> <bfdname>
> -O --output-target <bfdname> Create an output file in format
> <bfdname>
> -F --target <bfdname> Set both input and output format
to
> <bfdname>
> -p --preserve-dates Copy modified/access timestamps
to
> the output
> -R --remove-section <name> Remove section <name> from the
> output
> -s --strip-all Remove all symbol and relocation
> information
> -g -S --strip-debug Remove all debugging symbols
> --strip-unneeded Remove all symbols not needed by
> relocations
> -N --strip-symbol <name> Do not copy symbol <name>
> -K --keep-symbol <name> Only copy symbol <name>
> -x --discard-all Remove all non-global symbols
> -X --discard-locals Remove any compiler-generated
> symbols
> -v --verbose List all object files modified
> -V --version Display this program's version
> number
> -h --help Display this output
> -o <file> Place stripped output into <file>
> strip: supported targets: elf32-i386 a.out-i386-linux efi-app-ia32
> elf32-little elf32-big srec symbolsrec tekhex binary ihex trad-core
> make[1]: *** [openbios] Error 1
> make: *** [x86] Error 2
> root at who3:/usr/src/openbios/kernel# exit
> Script done on Wed Sep 17 13:23:00 2003
>
> Stefan your guess is as good as mine, as to what happened here. For
> /dev/bios, I found that the version you have there, tended to cause
an
> oops, with my system tools, I'll grab it again, and try it.
Basically
> the earlier ones, 2.9 for example, worked. This is before your site
> migrated to its present home.
>
> Oh and Ron, thank you for quoting me. It makes me feel better to see
> that happen.
> -------------------
> Gregg C Levine hansolofalcon at worldnet.att.net
> ------------------------------------------------------------
> "The Force will be with you...Always." Obi-Wan Kenobi
> "Use the Force, Luke." Obi-Wan Kenobi
> (This company dedicates this E-Mail to General Obi-Wan Kenobi )
> (This company dedicates this E-Mail to Master Yoda )
>
>
>
> > -----Original Message-----
> > From: Stefan Reinauer [mailto:stepan at suse.de]
> > Sent: Wednesday, September 17, 2003 7:18 AM
> > To: Gregg C Levine
> > Cc: 'LinuxBIOS'
> > Subject: Re: [announce] OpenBIOS Forth Kernel V1.0 released
> >
> > * Gregg C Levine <hansolofalcon at worldnet.att.net> [030917 06:03]:
> > > /usr/src/openbios/kernel/obj-x86/dict.o(.text+0x150): undefined
> > > reference to `strncmp'
> > > /usr/src/openbios/kernel/obj-x86/dict.o(.text+0x177): undefined
> > > reference to `memcpy'
> >
> > Ups. What gcc version are you using? Can you try compiling with
> > -DDEBUG_GDB in CFLAGS, this adds some normally builtin functions.
> >
> > > Any suggestions Stefan? Besides I like your ideas regarding the
> Open
> > > BIOS concepts. Incidentally for that project, can you put up the
> older
> > > versions of the /dev/bios files? Say, anything up to 3.*?
> >
> > All old versions I have lying around are in
> > http://www.openbios.info/bin/
> >
> > Do you need some particular code? The CVS version should be better
> in
> > most cases.
> >
> > Stefan
> >
> > --
> > Architecture Team
> > SuSE Linux AG
>
> _______________________________________________
> Linuxbios mailing list
> Linuxbios at clustermatic.org
> http://www.clustermatic.org/mailman/listinfo/linuxbios
More information about the coreboot
mailing list