-
Senior Member
registered user
![Quote](images/misc/quote_icon.png)
Originally Posted by
ruymbeke
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.
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
ruymbeke
...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
-
Senior Member
registered user
![Quote](images/misc/quote_icon.png)
Originally Posted by
kl522
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.
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
kl522
... 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 ...
-
Senior Member
registered user
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.
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
kl522
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![New Precision DWDM SFP+ 10G 80km Tunable Transceiver 50GHz C-Temp DWDM-SFP10G-C picture](/store/img/g/tqEAAOSwkbxmR-l8/s-l225/New-Precision-DWDM-SFP-10G-80km-Tunable-Transceive.jpg)
New Precision DWDM SFP+ 10G 80km Tunable Transceiver 50GHz C-Temp DWDM-SFP10G-C
$90.00
![Lot (10) Dell 0N8TDR 850nm SFP-10G-SR-85C 10Gbs sfp+ FTLX8574D3BNL-FC N8TDR NEW picture](/store/img/g/E7cAAOSw98tljuIT/s-l225/Lot-10-Dell-0N8TDR-850nm-SFP-10G-SR-85C-10Gbs-sfp-.jpg)
Lot (10) Dell 0N8TDR 850nm SFP-10G-SR-85C 10Gbs sfp+ FTLX8574D3BNL-FC N8TDR NEW
$68.00
![SFP-10G-SR CISCO 10G SR SFP+ C-CLASS TRANSCEIVER 10 PACK picture](/store/img/g/qxMAAOSwBBFl62ur/s-l225/SFP-10G-SR-CISCO-10G-SR-SFP-C-CLASS-TRANSCEIVER-10.jpg)
SFP-10G-SR CISCO 10G SR SFP+ C-CLASS TRANSCEIVER 10 PACK
$99.00
![ProLabs 10GBase-TX SFP+ RJ-45 Copper Transceiver Module P/N: SFP-10GBASE-T-C NEW picture](/store/img/g/NbQAAOSws1xmRieZ/s-l225/ProLabs-10GBase-TX-SFP-RJ-45-Copper-Transceiver-Mo.jpg)
ProLabs 10GBase-TX SFP+ RJ-45 Copper Transceiver Module P/N: SFP-10GBASE-T-C NEW
$34.99
![CISCO SFP-10G-LR SFP TRANSCEIVER MODULE GBIC 10G 10GB SFP - 1 Year Warranty picture](/store/img/g/FkQAAOSwtBZbqRX9/s-l225/CISCO-SFP-10G-LR-SFP-TRANSCEIVER-MODULE-GBIC-10G-1.jpg)
CISCO SFP-10G-LR SFP TRANSCEIVER MODULE GBIC 10G 10GB SFP - 1 Year Warranty
$39.99
![Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03 picture](/store/img/g/7yMAAOSwjyBiZxyT/s-l225/Genuine-Cisco-SFP-10G-SR-V03-10GBASE-SR-SFP-Transc.jpg)
Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03
$8.00
![Mellanox Original MFM1T02A-SR 10GbE 10GBASE-SR SFP+ Transceiver picture](/store/img/g/RuoAAOSwZE5k3MnE/s-l225/Mellanox-Original-MFM1T02A-SR-10GbE-10GBASE-SR-SFP.jpg)
Mellanox Original MFM1T02A-SR 10GbE 10GBASE-SR SFP+ Transceiver
$9.00
![IPOLEX ASF-10G-T 10GBase-T 10GbE SFP+ to RJ-45 Copper Optical Transceiver Module picture](/store/img/g/9acAAOSwLvhmJGS2/s-l225/IPOLEX-ASF-10G-T-10GBase-T-10GbE-SFP-to-RJ-45-Copp.jpg)
IPOLEX ASF-10G-T 10GBase-T 10GbE SFP+ to RJ-45 Copper Optical Transceiver Module
$35.99
![New Cisco w/ Green Hologram SFP-25G-SR-S 25G SFP28 SR 850nm 300m LC MMF Module picture](/store/img/g/qSsAAOSw8EJl1Cws/s-l225/New-Cisco-w-Green-Hologram-SFP-25G-SR-S-25G-SFP28-.jpg)
New Cisco w/ Green Hologram SFP-25G-SR-S 25G SFP28 SR 850nm 300m LC MMF Module
$64.39
![New HP HPE Aruba J9150D 10G SFP+ LC SR 850nm 300m MMF XCVR Transceiver Module picture](/store/img/g/SO8AAOSwwW1l1Cr6/s-l225/New-HP-HPE-Aruba-J9150D-10G-SFP-LC-SR-850nm-300m-M.jpg)
New HP HPE Aruba J9150D 10G SFP+ LC SR 850nm 300m MMF XCVR Transceiver Module
$45.99