Results 1 to 2 of 2

Thread: Major screwed up kernel recompile

Hybrid View

  1. #1
    Junior Member registered user
    Join Date
    Jan 2004
    Posts
    18

    Major screwed up kernel recompile

    Hello,

    I must have really screwed something up because I attempted to compile the latest 2.4 kernel so I could get XFree 4.3 working in hardware 3D mode with my S3 Savage card. I tried to compile the 2.4-22-xfs kernel that comes with Knoppix, but I get an error about __cmpchg being defined twice. A user on the DRI mailing list suggested I use the latest 2.4 from kernel.org because he thought the error was caused by a Knoppix customization. In any case, the 2.4-24 compiles fine on my computer using the Debian way of 'make-kpkg'. I then install it into lilo and reboot. I choose the new selection Linux2.4-24 and it starts to boot. Everything is proceeding normally but eventually, the screen is flooded with error messages that all say something about fork.c (line 139 I think). I get thrown to a login prompt and logging in as root works, but bash is so badly broken any command I type gives me the same fork.c error message. I notice my computer name is none instead of what it should be so it looks like the boot process breaks down somewhere in the networking part.

    I have / on /dev/sdf8 and it is formatted as reiserfs. I have recompiled numerous times trying to compile things into the kernel instead of modules, but I always get the same problem. I have an all SCSI system using two SYmbios 8xx based cards so I compiled this into the kernel. My network is the builtin SIS900 chip on my K7S5A motherboard so I compiled this into the kernel. I know I am missing something stupid, but what is it?

    I have no messages to help in /var/log because I assume the system kernel is broken so badly that logging is not operational yet.

    Can anyone help me out of my stupidity?

  2. #2
    Junior Member registered user
    Join Date
    Jan 2004
    Posts
    18

    followup on compile problem

    I tried some more things tonight. I compiled without an initrd to have the kernel boot off my reiserfs / partition since I read some people say they had more success this way. This is when I get the jillion error messages about fork.c. They start right after the
    INIT version 2.78-knoppix booting message. I am wondering if this is due to not recompiling ash against my new kernel. So I set out to compile ash from Klaus's sources and it will not compile on my machine. It gets stuck trying to compile insmod.c.

    So I reran make xconfig and reenabled initrd and then did another make-kpkg clean and make-kpkg --initrd kernel-image modules_image and then installed them with dpkg. I modified lilo.conf to get a second selection kernel 2.4.24 using the new vmlinuz and initrd.2.4.24. Now when the computer boots, it gets past the INIT line and starts to boot but gets hung with this message
    Kernel BUG buffer.c2571
    invalid operand

    I cannot find any reference to this error message anywhere. I found a few references to this type of error but it always pointed to a different line number of buffer.c. So, I am stuck and cannot get either kernel compile method to work. Anyone have any ideas about either getting ash to compile or what might be wrong with the kernel panic during boot?

    Thank goodness I have not totally hosed up the original 2.4.22-xfs kernel and I can still boot the machine choosing that in lilo.

Similar Threads

  1. Remastering --- how to recompile kernel ?
    By chris-ukl in forum Customising & Remastering
    Replies: 0
    Last Post: 03-30-2005, 11:04 AM
  2. installed 3.4/recompile kernel problems
    By keyvisuals in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 05-17-2004, 04:38 PM
  3. I can't recompile kernel 2.4.22-xfs
    By tmp001 in forum General Support
    Replies: 0
    Last Post: 04-28-2004, 11:48 AM
  4. recompile kernel
    By BoopaMagal in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 03-24-2004, 12:03 PM
  5. How to recompile Knoppix 3.2 kernel for MPPE support
    By Vermyndax in forum General Support
    Replies: 5
    Last Post: 12-05-2003, 04:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Cisco 10G SFP+ Module SFP-10G-SR 10-2415-03 (Lot of 5) picture

Cisco 10G SFP+ Module SFP-10G-SR 10-2415-03 (Lot of 5)

$24.99



Cisco 10-2456-03 Genuine Cisco SFP-10G-LRM V03 10GBASE-LRM SFP+Transceiver picture

Cisco 10-2456-03 Genuine Cisco SFP-10G-LRM V03 10GBASE-LRM SFP+Transceiver

$24.99



Cisco C3KX-NM-10G 4-Port SFP  10G Expansion Module 3750-X / 3560-X Switch picture

Cisco C3KX-NM-10G 4-Port SFP 10G Expansion Module 3750-X / 3560-X Switch

$50.00



Dell EMC FTLF8532P4BNV-E5 019-078-057 32G SFP28 Fiber Channel 850nm Transceiver picture

Dell EMC FTLF8532P4BNV-E5 019-078-057 32G SFP28 Fiber Channel 850nm Transceiver

$57.00



F5 Networks 10GB OPT-0016-00 F5-UPG-SFP+-R 10GBASE/SR SFP Transceiver picture

F5 Networks 10GB OPT-0016-00 F5-UPG-SFP+-R 10GBASE/SR SFP Transceiver

$4.00



Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03  picture

Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03

$8.00



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$18.00



Mellanox Original MFM1T02A-SR 10GbE 10GBASE-SR SFP+ Transceiver picture

Mellanox Original MFM1T02A-SR 10GbE 10GBASE-SR SFP+ Transceiver

$9.00



10 PCS Cisco GLC-LH-SMD 10-2625-01 1310nm SFP Transceiver Module picture

10 PCS Cisco GLC-LH-SMD 10-2625-01 1310nm SFP Transceiver Module

$85.00



Cisco w/ Green Hologram SFP-10G-BXU-I 10GBASE-BX-U BiDi SFP+ Transceiver Module picture

Cisco w/ Green Hologram SFP-10G-BXU-I 10GBASE-BX-U BiDi SFP+ Transceiver Module

$59.99