Find the answer to your Linux question:
Page 4 of 4 FirstFirst 1 2 3 4
Results 31 to 40 of 40
Humm... I cant seem to find a configuration file for the kernel. Theres a config-2.6.18-1.2798.fc6, but thats for the other kernel. Heres what files are in the /boot directory: [root@localhost ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #31
    Just Joined! Byroman's Avatar
    Join Date
    Mar 2006
    Location
    St. George, Ontairo, Canada
    Posts
    38

    Humm... I cant seem to find a configuration file for the kernel. Theres a config-2.6.18-1.2798.fc6, but thats for the other kernel.
    Heres what files are in the /boot directory:

    [root@localhost boot]# ls
    config-2.6.18-1.2798.fc6 System.map-2.6.18-1.2798.fc6
    config-2.6.18-1.2798.fc6~ System.map-2.6.19-prep
    grub System.map-2.6.19-prep.old
    initrd-2.6.18-1.2798.fc6.img vmlinuz
    initrd-2.6.19-prep.img vmlinuz-2.6.18-1.2798.fc6
    lost+found vmlinuz-2.6.19-prep
    symvers-2.6.18-1.2798.fc6.gz vmlinuz-2.6.19-prep.old
    System.map

  2. #32
    Linux User cyberinstru's Avatar
    Join Date
    Jan 2007
    Location
    India
    Posts
    362
    Hope this exists on ur system

    [root@localhost linux-2.6.19.i686]#

    Go thr and do

    [root@localhost linux-2.6.19.i686]# cat .config
    in that, u shud find a section like this
    #
    # Multi-device support (RAID and LVM)
    #
    From that line, copy till the last CONFIG_DM_******=* option.

    Can you paste that here?
    ---------------------------------
    Registered Linux User #440311
    HI2ARUN _AT_ GMAIL _DOT_ COM
    ---------------------------------

  3. #33
    Just Joined! Byroman's Avatar
    Join Date
    Mar 2006
    Location
    St. George, Ontairo, Canada
    Posts
    38
    Ok, here it is:

    #
    # Multi-device support (RAID and LVM)
    #
    CONFIG_MD=y
    CONFIG_BLK_DEV_MD=y
    CONFIG_MD_LINEAR=m
    CONFIG_MD_RAID0=m
    CONFIG_MD_RAID1=m
    CONFIG_MD_RAID10=m
    CONFIG_MD_RAID456=m
    CONFIG_MD_RAID5_RESHAPE=y
    CONFIG_MD_MULTIPATH=m
    CONFIG_MD_FAULTY=m
    CONFIG_BLK_DEV_DM=m
    CONFIG_DM_DEBUG=y
    CONFIG_DM_CRYPT=m
    CONFIG_DM_SNAPSHOT=m
    CONFIG_DM_MIRROR=m
    CONFIG_DM_ZERO=m
    CONFIG_DM_MULTIPATH=m
    CONFIG_DM_MULTIPATH_EMC=m

    Hope this helps

  4. #34
    Linux User cyberinstru's Avatar
    Join Date
    Jan 2007
    Location
    India
    Posts
    362
    Ok. Now, change the config options as follows:
    CONFIG_BLK_DEV_DM=y
    CONFIG_DM_DEBUG=y
    CONFIG_DM_CRYPT=y
    CONFIG_DM_SNAPSHOT=y
    CONFIG_DM_MIRROR=y
    CONFIG_DM_ZERO=y
    CONFIG_DM_MULTIPATH=y
    CONFIG_DM_MULTIPATH_EMC=y
    Save it and do
    1. Delete the old initrd file "initrd-2.6.19-prep.img" from /boot directory
    2. make all
    3. make modules_install
    4. make install

    Now reboot and it shud be fine.

    Gud luk
    ---------------------------------
    Registered Linux User #440311
    HI2ARUN _AT_ GMAIL _DOT_ COM
    ---------------------------------

  5. #35
    Just Joined! Byroman's Avatar
    Join Date
    Mar 2006
    Location
    St. George, Ontairo, Canada
    Posts
    38
    Thanks a lot! It booted fine. I will now leave it over night and see how it lasts...

  6. #36
    Linux User cyberinstru's Avatar
    Join Date
    Jan 2007
    Location
    India
    Posts
    362
    Gr8! Also track for abnormal logs.. it wud be useful if it freezes again

    ---------------------------------
    Registered Linux User #440311
    HI2ARUN _AT_ GMAIL _DOT_ COM
    ---------------------------------

  7. #37
    Just Joined! Byroman's Avatar
    Join Date
    Mar 2006
    Location
    St. George, Ontairo, Canada
    Posts
    38
    Dang... nope unforutnatly this morning when I checked the machine, it had crashed. According to host-tracker.com it crashed right around midnight. My logs show that at 12:11 there was a hole wack of error messages, most of which I dont understand, so maybe this could lead us to the problem. Take a look at the new messages log here. I cant seem to find anything else abnormal in the other logs.
    Can you make sense of this log?
    Thanks a lot!
    Byroman

  8. #38
    Linux User cyberinstru's Avatar
    Join Date
    Jan 2007
    Location
    India
    Posts
    362
    Hey,
    From the logs, i doubt if u have really disabled SMP or not. Like u did before, can u open '.config' file, search for
    CONFIG_SMP
    and paste that line here.

    The line should be like this:
    # CONFIG_SMP is not set
    . It means, it is disabled.

    Also do u really need SELinux? If not, u can also disable that. Disabling SELinux doesn't require kernel re-building
    ---------------------------------
    Registered Linux User #440311
    HI2ARUN _AT_ GMAIL _DOT_ COM
    ---------------------------------

  9. #39
    Just Joined! Byroman's Avatar
    Join Date
    Mar 2006
    Location
    St. George, Ontairo, Canada
    Posts
    38
    Ok, heres the section "Processor type and features" from the .config file:

    Code:
    #
    # Processor type and features
    #
    # CONFIG_SMP is not set
    # CONFIG_X86_PC is not set
    # CONFIG_X86_XEN is not set
    # CONFIG_X86_ELAN is not set
    # CONFIG_X86_VOYAGER is not set
    # CONFIG_X86_NUMAQ is not set
    # CONFIG_X86_SUMMIT is not set
    # CONFIG_X86_BIGSMP is not set
    # CONFIG_X86_VISWS is not set
    CONFIG_X86_GENERICARCH=y
    # CONFIG_X86_ES7000 is not set
    CONFIG_X86_CYCLONE_TIMER=y
    # CONFIG_M386 is not set
    # CONFIG_M486 is not set
    # CONFIG_M586 is not set
    # CONFIG_M586TSC is not set
    # CONFIG_M586MMX is not set
    # CONFIG_M686 is not set
    # CONFIG_MPENTIUMII is not set
    # CONFIG_MPENTIUMIII is not set
    # CONFIG_MPENTIUMM is not set
    CONFIG_MPENTIUM4=y
    # CONFIG_MK6 is not set
    # CONFIG_MK7 is not set
    # CONFIG_MK8 is not set
    # CONFIG_MCRUSOE is not set
    # CONFIG_MEFFICEON is not set
    # CONFIG_MWINCHIPC6 is not set
    # CONFIG_MWINCHIP2 is not set
    # CONFIG_MWINCHIP3D is not set
    # CONFIG_MGEODEGX1 is not set
    # CONFIG_MGEODE_LX is not set
    # CONFIG_MCYRIXIII is not set
    # CONFIG_MVIAC3_2 is not set
    CONFIG_X86_GENERIC=y
    CONFIG_X86_CMPXCHG=y
    CONFIG_X86_XADD=y
    CONFIG_X86_L1_CACHE_SHIFT=7
    CONFIG_RWSEM_XCHGADD_ALGORITHM=y
    CONFIG_GENERIC_CALIBRATE_DELAY=y
    CONFIG_X86_WP_WORKS_OK=y
    CONFIG_X86_INVLPG=y
    CONFIG_X86_BSWAP=y
    CONFIG_X86_POPAD_OK=y
    CONFIG_X86_CMPXCHG64=y
    CONFIG_X86_GOOD_APIC=y
    CONFIG_X86_INTEL_USERCOPY=y
    CONFIG_X86_USE_PPRO_CHECKSUM=y
    CONFIG_X86_TSC=y
    CONFIG_HPET_TIMER=y
    CONFIG_HPET_EMULATE_RTC=y
    # CONFIG_PREEMPT_NONE is not set
    CONFIG_PREEMPT_VOLUNTARY=y
    # CONFIG_PREEMPT is not set
    CONFIG_X86_LOCAL_APIC=y
    CONFIG_X86_IO_APIC=y
    CONFIG_X86_MCE=y
    # CONFIG_X86_MCE_NONFATAL is not set
    CONFIG_VM86=y
    CONFIG_TOSHIBA=m
    CONFIG_I8K=m
    # CONFIG_X86_REBOOTFIXUPS is not set
    CONFIG_MICROCODE=m
    CONFIG_MICROCODE_OLD_INTERFACE=y
    CONFIG_X86_MSR=m
    CONFIG_X86_CPUID=m
    # CONFIG_SWIOTLB is not set
    SMP is dissabled, does the rest of the configuration look alright to you?
    No, i guess I really done need selinux, ive dissabled it and will see how that goes.
    Thanks for all the help

  10. #40
    Just Joined! Byroman's Avatar
    Join Date
    Mar 2006
    Location
    St. George, Ontairo, Canada
    Posts
    38
    Well, i guess selinux didnt help, it still crashed.
    One other thing- this morning when I restarted it, I didnt notice that apache gave me some error when it was booting, and didnt start correctly. When I got home today, the machine was running alright. But then mater on when I tried to acess my website, it didnt load, so of course i checked the server, and sure enough apache wasnt started. Could apache be causing me all this trouble?! im using the newest version i beleive.
    Thanks

Page 4 of 4 FirstFirst 1 2 3 4

Posting Permissions

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