Page 4 of 4 FirstFirst ... 234
Results 31 to 36 of 36

Thread: Knoppix 7.0.3 CD & DVD now on mirrors

  1. #31
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Quote Originally Posted by ruymbeke View Post
    Hi kl522,
    Here you go, I remember that Klaus mentioned once that he was using an eepc for development
    and yes Knoppix 7.0.3 is using a more recent version of gcc 4.7.1-2 than the one used to compile
    the kernel (gcc 4.7.1-1) as you read below. So I need to either downgrade gcc to 4.7.1-1 or use
    a previous version of Knoppix which still uses that version of gcc. I would be nice to have installed
    on Knoppix the correct version of gcc to recompile the kernel without complication. I guess this is a
    suggestion for improvement that Klaus may consider to use on his next release.
    Thanks for your help.
    Best Regards,
    Gilles

    root@Knoppix:/# cat /proc/version
    Linux version 3.4.4 (root@eeepc) (gcc version 4.7.0 (Debian 4.7.1-1) ) #14 SMP PREEMPT Sat Jun 23 20:07:21 CEST 2012
    root@Knoppix:/# gcc --version
    gcc (Debian 4.7.1-2) 4.7.1
    Copyright (C) 2012 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    The module file can be edited manually. I have done before, after editing the module using vi, if the length of string remains, the module can be loaded. Or perhaps insmod has a force option to forcefully load a module.

  2. #32
    Moderator Moderator
    Join Date
    Mar 2004
    Location
    Menlo Park, California
    Posts
    674
    Quote Originally Posted by ruymbeke View Post
    ...So I need to either downgrade gcc to 4.7.1-1 or use a previous version of Knoppix...
    Well Knoppix 7.0.2 is using an older version of gcc 4.6.3-7 so I will need to downgrade gcc on Knoppix 7.0.3.
    So what is the easiest way to find and reinstall an older version of gcc ?
    apt-get -y --reinstall install gcc-4.7=4.7.1 does not work: "E: Version '4.7.1' for 'gcc-4.7' was not found"
    Best Regards,
    Gilles

  3. #33
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Quote Originally Posted by kl522 View Post
    The module file can be edited manually. I have done before, after editing the module using vi, if the length of string remains, the module can be loaded. Or perhaps insmod has a force option to forcefully load a module.
    Perhaps can try this :-

    # sed -i -e 's/GCC: (Debian 4.7.1-2) 4.7.1/GCC: (Debian 4.7.1-1) 4.7.0/g' oprofile.ko

    Might be faster than other methods.

  4. #34
    Moderator Moderator
    Join Date
    Mar 2004
    Location
    Menlo Park, California
    Posts
    674
    Quote Originally Posted by kl522 View Post
    ... sed -i -e 's/GCC: (Debian 4.7.1-2) 4.7.1/GCC: (Debian 4.7.1-1) 4.7.0/g' oprofile.ko ...
    Nice trick but the module still does not load because of Unknown symbols.
    I may have to overlay the kernel and all the modules ...

  5. #35
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Too bad then, I think other things are probably changed too. Maybe can still try modprobe -f.
    Last edited by kl522; 08-01-2012 at 09:36 AM.

  6. #36
    Moderator Moderator
    Join Date
    Mar 2004
    Location
    Menlo Park, California
    Posts
    674
    Quote Originally Posted by kl522 View Post
    Too bad then, I think other things are probably changed too. Maybe can still try modprobe -f.
    Hi kl522,
    Nope: # depmod; modprobe -f oprofile ==> ERROR: could not insert 'oprofile': Exec format error
    Thanks for your help !
    Gilles

Page 4 of 4 FirstFirst ... 234

Posting Permissions

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


DT8XJ Dell Intel DC S3700 800GB SATA 6Gb/s 2.5

DT8XJ Dell Intel DC S3700 800GB SATA 6Gb/s 2.5" SSD 0DT8XJ SSDSC2BA800G3R

$59.00



Samsung 870 EVO Series 500GB 2.5

Samsung 870 EVO Series 500GB 2.5" SATA III Internal SSD MZ-77E500B/AM New Sealed

$59.00



SSDSC2BA800G3P Intel SSD DC S3700 Series 800GB 6Gb/s 2.5'' SATA SSD picture

SSDSC2BA800G3P Intel SSD DC S3700 Series 800GB 6Gb/s 2.5'' SATA SSD

$79.00



USB 3.0 to IDE/SATA Converter Adapter Kit For 2.5

USB 3.0 to IDE/SATA Converter Adapter Kit For 2.5"/3.5" SATA/IDE/SSD Hard Drive

$18.04



Crucial BX500 240GB Internal SSD,Micron 3D NAND SATA CT240BX500SSD1 - OEM item picture

Crucial BX500 240GB Internal SSD,Micron 3D NAND SATA CT240BX500SSD1 - OEM item

$16.99



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$13.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$14.99



Intel Optane Memory M10 SSD M.2 2280 16GB MEMPEK1J016GA PCIe 3.0 3D Xpoint NVMe picture

Intel Optane Memory M10 SSD M.2 2280 16GB MEMPEK1J016GA PCIe 3.0 3D Xpoint NVMe

$5.99



Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot picture

Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot

$198.99



Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5

Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5" SATA III 6GB/s for PC/MAC Lot

$197.99