Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 33

Thread: Kernel upgrade problem.

  1. #11
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by massai
    Right now it also bugs me that xconfig won't start (it never did since day one actually and that is why I have been using menuconfig). It complains about "unable to find QT installation... bla..bla..bla" I tried to adjust the QTDIR to /etc/lib/qt3 but didn't work.
    Please disregard the above,
    After reinstaling QT the xconfig seems to work ok now.
    Good to hear you got it going you should change the message of the day file ( /etc/motd ) to the proper settings to avoid anymore confusion what it should look like for the format that was being used incorrectly.
    Code:
    Welcome to $HOSTNAME (Kernel $(uname -r))
    And you can undo the changes in your XF86Config-4 file and go back to using the "nv" driver until you compile your nvidia driver so you can login graphically also if you want to get rid of that nvidia logo when you get it going put this underneath the driver line.
    Code:
    Driver      "nvidia"
    Option      "NoLogo" "on"
    Note: Now that I look at the motd line in the preview it looks like there is a space between the $ and the ( there is none.

  2. #12
    Member registered user
    Join Date
    Dec 2003
    Location
    Wilmington Delaware
    Posts
    41
    I did "uname -a" after the login prompt and true enough it is indeed kernel 2.6.1.
    AWESOME !! (cheers...turned up the music... jumped up and down in joy and then opened a can beer and kicked back for five minutes...)

    Man, you are on the ball ! Thank for hanging around with this newbie (that's me) for as long as you did !

    Now... after all the excitment toned down, I am finding out that there is no network conection under the new kernel (2.6.1). (Shoot, I had a nagging feeling that something would spoil the fan...and true enough here it goes). It looks like another Kernel recompile is coming and I dread it.

    The original knoppix kernel .config file had all networking options enabled (and the kitchen sink). I wish there was a way to pin it down to my hardware instead of having to resort to such a "shotgun" approach.

    I am on a Lynk-sys 10-100 ethernet card, connected to a Lynk-sys router, connected to a Lynksys cable modem.

    Off I go to compare the .config files again....


    P.S. I notice that your .config file is much more compact than mine (That is probably because I chickened out and didn't dare trim as much fat as you did)

  3. #13
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by massai
    I did "uname -a" after the login prompt and true enough it is indeed kernel 2.6.1.
    AWESOME !! (cheers...turned up the music... jumped up and down in joy and then opened a can beer and kicked back for five minutes...)

    Man, you are on the ball ! Thank for hanging around with this newbie (that's me) for as long as you did !

    Now... after all the excitment toned down, I am finding out that there is no network conection under the new kernel (2.6.1). (Shoot, I had a nagging feeling that something would spoil the fan...and true enough here it goes). It looks like another Kernel recompile is coming and I dread it.

    The original knoppix kernel .config file had all networking options enabled (and the kitchen sink). I wish there was a way to pin it down to my hardware instead of having to resort to such a "shotgun" approach.

    I am on a Lynk-sys 10-100 ethernet card, connected to a Lynk-sys router, connected to a Lynksys cable modem.

    Off I go to compare the .config files again....


    P.S. I notice that your .config file is much more compact than mine (That is probably because I chickened out and didn't dare trim as much fat as you did)
    If you are getting the IP by DHCP (where the problem usually happens) you may want to hold off on the recompile and try either noapic or acpi=off when you boot at the lilo screen. You would just start typing in the name that is displayed at the lilo screen and the boot option to pass in your case Kernel(2.6.1) noapic then enter key to boot if either of them work then you would add the parameter to the append= line in the lilo.conf to have it used every time on boot. To start to track down what you need in the kernel use your favorite seach engine to check on your componets in the system with a linux on the end of the search and the hardware how-to at the Linux Documentation Project is always good to check as well.

  4. #14
    Member registered user
    Join Date
    Dec 2003
    Location
    Wilmington Delaware
    Posts
    41
    during boot there is a lot of text that flies by.

    Is that text saved anywhere for later inspection ?

    I would like to compare the boot processes between the two kernels.

    .....
    Also, the /usr/src/linux/arch/i386/config.in file is missing from both kernels ? Is this normal ?


    ......
    Neither noapic or acpi=off worked

    ......
    After checking the Lynksys website it looks like my ethernet card requires "Tulip" and that is the one thing I did *not* include in my kernel config.
    Recompiling the kernel again (I guess I can use the practice)

    .....
    SUCCESS !!
    After enabling the tulip networking support and recompiling the kernel I finaly have online access.


    ......
    SUCCESS !!
    The nvidia driver is up and running (and better than before) thanks to kano's script.
    I opened up the script and noticed that there is a provision for kernel 2.6. Veeeerry nice (the script is up to date)

    THANK YOU Stephen for *all* your help.
    Your contribution/effort is appriciated.

  5. #15
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by massai
    during boot there is a lot of text that flies by.

    Is that text saved anywhere for later inspection ?

    I would like to compare the boot processes between the two kernels.

    .....
    Also, the /usr/src/linux/arch/i386/config.in file is missing from both kernels ? Is this normal ?


    ......
    Neither noapic or acpi=off worked

    ......
    After checking the Lynksys website it looks like my ethernet card requires "Tulip" and that is the one thing I did *not* include in my kernel config.
    Recompiling the kernel again (I guess I can use the practice)

    .....
    SUCCESS !!
    After enabling the tulip networking support and recompiling the kernel I finaly have online access.


    ......
    SUCCESS !!
    The nvidia driver is up and running (and better than before) thanks to kano's script.
    I opened up the script and noticed that there is a provision for kernel 2.6. Veeeerry nice (the script is up to date)

    THANK YOU Stephen for *all* your help.
    Your contribution/effort is appriciated.
    Your welcome, the messages can be found by using dmesg | less in a console window for the current boot or in the file /var/log/messages for the boots since the last log rotation. Your right about the config.in being missing in 2.6 however it is there in my old 2.4.24 it looks like it has been changed in 2.6.? Kconfig, you do not have the source installed for the Knoppix kernel (or do you) so you can not find the old one.
    Code:
    >$ locate config.in
    /usr/src/linux-2.4.24/arch/alpha/config.in
    /usr/src/linux-2.4.24/arch/arm/config.in
    /usr/src/linux-2.4.24/arch/cris/config.in
    /usr/src/linux-2.4.24/arch/i386/config.in
    /usr/src/linux-2.4.24/arch/ia64/config.in
    /usr/src/linux-2.4.24/arch/m68k/config.in
    /usr/src/linux-2.4.24/arch/mips/config.in
    /usr/src/linux-2.4.24/arch/mips64/config.in
    /usr/src/linux-2.4.24/arch/parisc/config.in
    /usr/src/linux-2.4.24/arch/ppc/config.in
    /usr/src/linux-2.4.24/arch/ppc64/config.in
    /usr/src/linux-2.4.24/arch/s390/config.in
    /usr/src/linux-2.4.24/arch/s390x/config.in
    /usr/src/linux-2.4.24/arch/sh/config.in
    /usr/src/linux-2.4.24/arch/sh64/config.in
    /usr/src/linux-2.4.24/arch/sparc/config.in
    /usr/src/linux-2.4.24/arch/sparc64/config.in
    /usr/src/linux-2.4.24/arch/x86_64/config.in
    /usr/src/modules/alsa-drivers/toplevel.config.in

  6. #16
    Member registered user
    Join Date
    Dec 2003
    Location
    Wilmington Delaware
    Posts
    41
    Thanks, I tried dmesg... and discovered...

    what it looks like there is a hick-up: There is an obsolete "update daemon" running and causes an error message: "process 'update' used the obsolete bdflush system call, Fix your initscripts"

    So, I dug deeper, and found out that in 2.6 the old "update daemon" is replaced by a new thread "pdflush" (instead of bdflush) .

    What I have to do is somehow remove the command that invokes bdflush somewhere in the boot scripts. The problem is that I don't know how to do this just yet.

  7. #17
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611
    Should be a file in /etc/init.d... perhaps by the name of of update or updated?

  8. #18
    Member registered user
    Join Date
    Dec 2003
    Location
    Wilmington Delaware
    Posts
    41
    I don't think "update" is a file, plus I can't find it under /etc/init.d

    The curious thing is why did it tell me to fix the initscripts? Does it mean I have to reinstall initscripts ?

    It looks like initscripts depents on "mount" and "mount" cannot be updated because it conflicts with "mount-aes".

    I suspect mount-aes is a knoppix custom thing ?

    Both mount and mount-aes are discribing the same functions (as seen in their descriptions in Kpacage)

    ........
    Couldn't find "mount-aes" in the debian package lists.
    I will go ahead and replace it with "mount" testing (ver 2.12-3)
    (I will overide the "skull and bones" warning and see what hapens)

    .......
    "Mount" has now been installed (no carnage occured dispite the spooky warning)
    However.... initscripts still does not get fixed:

    Code:
    root@ThisKnoppixBox:/# apt-get install initscripts
    Reading Package Lists... Done
    Building Dependency Tree... Done
    The following NEW packages will be installed:
      initscripts
    0 upgraded, 1 newly installed, 0 to remove and 20 not upgraded.
    Need to get 0B/16.6kB of archives.
    After unpacking 176kB of additional disk space will be used.
    (Reading database ... 134106 files and directories currently installed.)
    Unpacking initscripts (from .../initscripts_2.85-9_all.deb) ...
    dpkg: error processing /var/cache/apt/archives/initscripts_2.85-9_all.deb (--unpack):
     trying to overwrite `/etc/init.d/halt', which is also in package sysvinit
    Errors were encountered while processing:
     /var/cache/apt/archives/initscripts_2.85-9_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  9. #19
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    You may want to check this thread here it m_yates describes how to get rid of the knoppix variants and get real the Debian files.

  10. #20
    Member registered user
    Join Date
    Dec 2003
    Location
    Wilmington Delaware
    Posts
    41
    Yup, it worked !
    Hey Steff what would I do without your help ! (you didn't have to make extremely detailed instructions for me, but just pointing me to the right direction has helped imensely. Thanks again)

    I followed the instructions of "m_yates" and I was able to reinstall initscripts:

    OK, I tried it again on a different computer and I wrote the order of things wrong:

    download sysvinit<something>.deb package.

    dpkg -x sysvinit<something>.deb /tmp

    apt-get install mount

    "Yes, do as I say!"

    apt-get install installscripts

    That brings an error, override with:

    dpkg -i --force-overwrite /var/cache/apt/archives/initscripts<something>.deb

    cp /tmp/usr/share/sysvinit/update-rc.d /usr/sbin

    apt-get install sysv-rc

    dpkg -i sysvinit<something>.deb

    Everything works using the standard sysvinit with initscripts. I replaced bootmisc.sh with the standard version as well and everything works fine.
    Erata: where he said: apt-get install installscripts
    he ment: apt-get install initscripts

    I had a problem doing "apt-get install sysv-rc"
    so I forced it with "dpkg -i --force-overwrite ........"

    Rebooted and did "dmesg" and the error message ("process 'update' used the obsolete bdflush system call, Fix your initscripts" ) is not longer there ! Woohooo !

    ..........
    In retrospect, it was imperative that I completed this step after the kernel upgrade because the system call to the obsolete bdflush had caused several of the kernel modules to remain unloaded and some devices were left undetected.

    Now (after inspecting the boot messages) the boot process seems to flow much more smoothly.

    ...........
    This whole upgrade process is a bitch (forgive the expression). If I wanted Debian, I should have gotten Debian in the first place and be done with it. (However, the learning experience from this silly knoppix-to-debian exercise is the only good asset and it compensates for the effort.... or at least I hope so...)

Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Kernel upgrade 2.4 -> 2.6
    By eris_pluvia in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 04-19-2005, 06:52 PM
  2. kernel upgrade lilo problem
    By rusty in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 02-02-2004, 05:41 AM
  3. No CD burner after kernel upgrade
    By balaclavabob in forum Hardware & Booting
    Replies: 1
    Last Post: 09-07-2003, 08:39 PM
  4. kernel upgrade
    By ferreter in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 08-19-2003, 10:23 PM
  5. problem using apt-get with upgrade/dist-upgrade
    By vesselinpeev in forum General Support
    Replies: 0
    Last Post: 05-26-2003, 09:03 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
  •  


Dell PowerEdge R730xd Server 2.60Ghz 32-Core 64GB 800GB SSD Debian Linux picture

Dell PowerEdge R730xd Server 2.60Ghz 32-Core 64GB 800GB SSD Debian Linux

$836.80



Watchguard XCS 570 Firewall SuperMicro 1U Server Intel 4GB VPN Router LINUX 🍁 picture

Watchguard XCS 570 Firewall SuperMicro 1U Server Intel 4GB VPN Router LINUX 🍁

$146.29



1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00



POGO Linux WEBWARE 1150 Rack-Mount Server Pentium 4 2.8GHz 512MB - No Drives picture

POGO Linux WEBWARE 1150 Rack-Mount Server Pentium 4 2.8GHz 512MB - No Drives

$179.99



2 x HP ProLiant BL460c (447707-B21) Blade Servers No RAM No HDD picture

2 x HP ProLiant BL460c (447707-B21) Blade Servers No RAM No HDD

$30.00



IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8 picture

IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8

$449.96



IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E picture

IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E

$674.96



Custom Server PFSENSE 15

Custom Server PFSENSE 15" Depth Supermicro X11SSH-F E3-1240 V5 32GB RAM X540-T2

$430.00



32GB Web HTML HTTP Server, Great tool for eBay seller & kids to host web site picture

32GB Web HTML HTTP Server, Great tool for eBay seller & kids to host web site

$229.99



IBM System X 3250 M5 Single Xeon Quad Core E3-1220 v3 @3.1GHz,8GB RAM,Linux SUSE picture

IBM System X 3250 M5 Single Xeon Quad Core E3-1220 v3 @3.1GHz,8GB RAM,Linux SUSE

$159.00