Re: [PATCH] include/linux/ptrace.h Re: Kernel 2.5.33 compile errors (Re: Kernel 2.5.33 successfully compiled)

From: Leslie Donaldson (donaldlf@i-55.com)
Date: Wed Sep 04 2002 - 16:41:18 EST


I tried to boot....

Kernel segfault in md.c line 3161 then it dies.
It did not damage my raid though. Also just so every one knows
there is no support for LVM in this kernel.

Leslie D.

Leslie Donaldson wrote:

> From the modules...
>
> o) fix the ide system
>
> FILE: frivers/ide/ide.c LINE: 1248
>
> change:
> ide_get_lock(&ide_intr_lock, ide_intr, hwgroup);/* for atari
> only: POSSIBLY BROKEN HERE(?) */
> to
> #if defined(__mc68000__) || defined(CONFIG_APUS)
> ide_get_lock(&ide_intr_lock, ide_intr, hwgroup);/*
> for atari only: POSSIBLY BROKEN HERE(?) */
> #endif
>
> LINE 3700
> Wrap the function init_module with...
> #ifndef MODULE
> #endif
> NOTE: O yes ide is broken for modules.. There is no
> cleanup_modules etc.
>
> o) Fix radeon FB driver( yes a made it compile only, I just will not
> load the module.)
> FILE: drivers/video/radeonfb.c
>
> comment out line 605 and 606
>
> comment out any line with the text
> disp->line_length
> disp->visual
> disp->type
> disp->type_aux
> disp->ypanstep
> disp->ywrapstep
>
> Note: it appears the drivers are geeting re cored and only half
> the changes
> were checked in. (riviafb has the same issues.)
>
> p) net fixes
>
> FILE: net/ipv4/netfilter/ip_nat_helper.c
> remove __FUNCTION__ from two printk
>
> FILE:net/ipv6/af_inet6.c
> remove __FUNCTION__ from one printk
>
> FILE:net/sctp/sm_make_chunk.c
> LINE:1599 change secon = sign to an *
>
>
> well here is depmod, nothing critical:)
> if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.5.33; fi
> depmod: *** Unresolved symbols in
> /lib/modules/2.5.33/kernel/drivers/ide/ide-mod.o
> depmod: blk_ioctl
> depmod: ide_free_irq
> depmod: ide_ack_intr
> depmod: ide_release_region
> depmod: ide_fix_driveid
> depmod: ide_release_lock
> depmod: *** Unresolved symbols in
> /lib/modules/2.5.33/kernel/drivers/ide/ide-probe-mod.o
> depmod: ide_request_irq
> depmod: ide_request_region
> depmod: ide_fix_driveid
> depmod: ide_check_region
> depmod: *** Unresolved symbols in
> /lib/modules/2.5.33/kernel/drivers/net/dl2k.o
> depmod: crc32_le
> depmod: *** Unresolved symbols in
> /lib/modules/2.5.33/kernel/drivers/usb/input/usbkbd.o
> depmod: usb_kbd_free_buffers
> depmod: *** Unresolved symbols in
> /lib/modules/2.5.33/kernel/drivers/usb/storage/usb-storage.o
> depmod: ata_fix_driveid
> depmod: show_trace
>
>
>
> Leslie Donaldson wrote:
>
>> Hello all,
>> Here is my latest.
>>
>> Steps
>> O) Fix sound support.
>> Add the following line to
>> /usr/src/linux-2.5.X/linux-2.5.33/sound/core/device.c
>>
>> #include <asm-generic/errno-base.h>
>>
>> O) The following file needed to be copied (a quick hack)
>> Luckly the lower end alphas have the same chipsets as pc's
>>
>> cd include/asm-alpha
>> cp ../asm-i386/kmap_types.h .
>>
>> O) Argument list changed to do_fork add another zero. The uid is in
>> a register someplace but I'm not sure which one....
>>
>> FILE: arch/alpha/kernel/process.c
>> add a last argument of zero to the 2 calls to do_fork
>>
>> O) ptrace needs to include sched.h
>>
>> FILE: include/linux/ptrace.h Line: 27
>> add >> #include <linux/sched.h>
>>
>> O) The CIA chipset has a type in the file... sigh...
>>
>> FILE: arch/alpha/kernel/core_cia.c
>> Line:232
>> Line:261
>>
>> change
>> mase = 0x18;
>> to
>> mask = 0x18;
>>
>> O) Delete the following lines from the top of :
>>
>> NOTE: This is a synthetic file so the compile must fail to fix it.
>>
>> FILE: arch/alpha/vmlinux.lds.s
>>
>> # 1 "vmlinux.lds.S"
>> # 1 "<built-in>"
>> # 1 "<command line>"
>> # 1 "vmlinux.lds.S"
>> # 1 "/usr/src/linux-2.5.X/linux-2.5.33/include/linux/config.h" 1
>>
>>
>>
>> # 1 "/usr/src/linux-2.5.X/linux-2.5.33/include/linux/autoconf.h" 1
>> # 5 "/usr/src/linux-2.5.X/linux-2.5.33/include/linux/config.h" 2
>> # 2 "vmlinux.lds.S" 2
>>
>>
>>
>> Okay. I will try a rebbot tomorrow. I also want to try to compile the
>> modules. sigh.
>>
>> just everyone know I run a pure redhat rawhide. therefore.. here are
>> my packages..
>>
>> gcc-3.2-4.src.rpm
>> glibc-2.2.90-26.src.rpm
>> binutils-2.13.90.0.2-2.src.rpm
>>
>> If these numbers don't scare you.....
>>
>> Leslie Donaldson
>>
>
>

-- 
/----------------------------\ Current Contractor: None
|    Leslie F. Donaldson     | Current Customer  : None
|    Computer Contractor     | Skills: Unix/OS9/VMS/Linux/SUN-OS/C/C++/assembly
| Have Computer will travel. | WWW  : http://www.cs.rose-hulman.edu/~donaldlf
\----------------------------/ Email: mail://donaldlf@cs.rose-hulman.edu
Goth Code V1.1: GoCS$$ TYg(T6,T9) B11Bk!^1 C6b-- P0(1,7) M+ a24 n--- b++:+
                H6'11" g m---- w+ r+++ D--~!% h+ s10 k+++ R-- Ssw LusCA++

-- /----------------------------\ Current Contractor: None | Leslie F. Donaldson | Current Customer : None | Computer Contractor | Skills: Unix/OS9/VMS/Linux/SUN-OS/C/C++/assembly | Have Computer will travel. | WWW : http://www.cs.rose-hulman.edu/~donaldlf \----------------------------/ Email: mail://donaldlf@cs.rose-hulman.edu Goth Code V1.1: GoCS$$ TYg(T6,T9) B11Bk!^1 C6b-- P0(1,7) M+ a24 n--- b++:+ H6'11" g m---- w+ r+++ D--~!% h+ s10 k+++ R-- Ssw LusCA++

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 07 2002 - 22:00:23 EST