Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Round 2 (or is this 8?) with Arch
New Posts  All Forums:Forum Nav:

Round 2 (or is this 8?) with Arch - Page 11

post #101 of 128
I don't know if CONCURRENCY_LEVEL actually does much in this case. I would think that the makeflags defined in /etc/makepkg.conf would determine the number of jobs anyway.
    
CPUMotherboardGraphicsRAM
i7 920 D0 MSI X58 Pro-E GTX 560 Ti 448 3x2GB G.Skill DDR3-1333 9-9-9-24 
Hard DriveHard DriveOptical DriveOS
840 Pro Caviar Black LG BD-ROM Windows 8.1 Pro x64 
MonitorMonitorKeyboardPower
Dell U2713HM Dell U2311H Turbo-Trak (Google it :D) Corsair HX-520 
CaseMouseMouse PadAudio
CM690 Mionix Avior 7000 Everglide Titan AKG K 242 HD 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
i7 920 D0 MSI X58 Pro-E GTX 560 Ti 448 3x2GB G.Skill DDR3-1333 9-9-9-24 
Hard DriveHard DriveOptical DriveOS
840 Pro Caviar Black LG BD-ROM Windows 8.1 Pro x64 
MonitorMonitorKeyboardPower
Dell U2713HM Dell U2311H Turbo-Trak (Google it :D) Corsair HX-520 
CaseMouseMouse PadAudio
CM690 Mionix Avior 7000 Everglide Titan AKG K 242 HD 
  hide details  
Reply
post #102 of 128
Quote:
Originally Posted by randomizer View Post
I don't know if CONCURRENCY_LEVEL actually does much in this case. I would think that the makeflags defined in /etc/makepkg.conf would determine the number of jobs anyway.
No it works, I've used it ever since I found it and it worked on Arch too. It's what I've always used when doing kernels, I could try the -j4 one but I never remember.

[edit] If you think about it, makepkg shouldn't be directly tied to make. It also shouldn't default to multiple threads, that would bunk compatibility with single core machines. Yes they exist! In all my Arch time nothing compiled with multiple threads until I told it to do so. I don't find it odd either, due to mentioned compatibility.

[final edit due to sleep] I'm going to be heading out after this, but I thought I'd add one last bit. A lot of the debate behind CONCURRENCY_LEVEL is that it might be machine specific, which also applies to -jX as well. Some have said it doesn't do much for kernel compilation, while others say it does. I found it used more of my cores, in fact it used all of them at 100%. That would make me to believe it would be doing more work and reducing times, though I didn't try 1/2/3/4, I just set it to 4. Either way it helped me, so I'm going to keep using it. Whether or not it helps you is entirely different, though it doesn't hurt to try it.
Edited by mushroomboy - 1/16/11 at 12:13am
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #103 of 128
Thread Starter 
Quote:
Originally Posted by mushroomboy View Post
You shouldn't, you probably had to download linux-firmware to get it to work. That so happens to be a dependency in the kernel26-mainline. I'm pretty sure that is how you got wireless working. And lets just say on the crazy side should you lose wireless, you'll only lose it for the kernel26-mainline and not for your initial kernel. =P

You will of course have to re-install your graphics drivers, as Xorg will crash without them. Well, it won't load and you'll only get console login.

http://aur.archlinux.org/packages.php?ID=39965
http://www.archlinux.org/packages/co...inux-firmware/

[edit] I would recommend editing the PKGBUILD to at least have either CONCURRENCY_LEVEL=4 (or # cores, that's what I do and some say #cores+1 but I just do 4 I haven't seen 5 max my cpu any faster). You would do this before make, or do it in the form of "make -j4", here is an excerpt of the linux26-mainline PKGBUILD so you know what I'm talking about:

Concurrency:
Code:
 export CONCURRENCY_LEVEL=4 make ${MAKEFLAGS} bzImage modules
  package_kernel26
  package_kernel26-headers
}
or

Make flag:
Code:
  make -j4 ${MAKEFLAGS} bzImage modules
  package_kernel26
  package_kernel26-headers
}
That just speeds up compilation and isn't required but is very handy. I'm not sure if you need the export or not, I don't remember if I did it last time but I know it works. =P

[original]
Code:
  make ${MAKEFLAGS} bzImage modules
  package_kernel26
  package_kernel26-headers
}
[final edit] I've really got to stop editing and re-editing. Dang 1:30am bull.
I don't see any of this in the pkgbuild anywhere.
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
post #104 of 128
Quote:
Originally Posted by mushroomboy View Post
It also shouldn't default to multiple threads, that would bunk compatibility with single core machines.
It doesn't. The makeflags are commented out by default. However I uncomment them and add -j9 and get a considerable boost in compilation speed (unlike with Debian's packaging tools). I'll have to compare times with different combinations of CONCURRENCY_LEVEL and makeflags the next time I get around to building a kernel. It will be interesting to see what takes precedence when both are set.
    
CPUMotherboardGraphicsRAM
i7 920 D0 MSI X58 Pro-E GTX 560 Ti 448 3x2GB G.Skill DDR3-1333 9-9-9-24 
Hard DriveHard DriveOptical DriveOS
840 Pro Caviar Black LG BD-ROM Windows 8.1 Pro x64 
MonitorMonitorKeyboardPower
Dell U2713HM Dell U2311H Turbo-Trak (Google it :D) Corsair HX-520 
CaseMouseMouse PadAudio
CM690 Mionix Avior 7000 Everglide Titan AKG K 242 HD 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
i7 920 D0 MSI X58 Pro-E GTX 560 Ti 448 3x2GB G.Skill DDR3-1333 9-9-9-24 
Hard DriveHard DriveOptical DriveOS
840 Pro Caviar Black LG BD-ROM Windows 8.1 Pro x64 
MonitorMonitorKeyboardPower
Dell U2713HM Dell U2311H Turbo-Trak (Google it :D) Corsair HX-520 
CaseMouseMouse PadAudio
CM690 Mionix Avior 7000 Everglide Titan AKG K 242 HD 
  hide details  
Reply
post #105 of 128
Thread Starter 
Alright, I found the make part. I added the j4 flag. If this breaks my machine, I break you

It's going all 4 cores are at 99-100% and I'm not even breaking 40C lol
Edited by TFB - 1/16/11 at 12:49am
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
post #106 of 128
Thread Starter 
One last issue. I cannot get grub to auto-update. I see "kernel26-ck.img", "kernel26-ck-fallback.img" and "vmlinuz26-ck" in /boot.

Should I just replace:

Code:
kernel /vmlinuz26 root=/dev/disk/by-uuid/00ed1d80-ac43-48c9-8e59-f748cd32e96e ro
initrd /kernel26.img
with:

Code:
kernel /vmlinuz26-ck root=/dev/disk/by-uuid/00ed1d80-ac43-48c9-8e59-f748cd32e96e ro
initrd /kernel26-ck.img
and the same with the fallback entry?
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
post #107 of 128
Arch uses GRUB legacy (unless you replace it), so it never auto-updates. Just add additional entries by copying the existing ones and replacing any reference to the old kernel and initrd with the new one. Don't overwrite the original entries, otherwise you'll have trouble if you can't boot the new kernel You don't necessarily need the fallback entry, the only difference is that it's a much larger and complete initrd.
Edited by randomizer - 1/16/11 at 1:12am
    
CPUMotherboardGraphicsRAM
i7 920 D0 MSI X58 Pro-E GTX 560 Ti 448 3x2GB G.Skill DDR3-1333 9-9-9-24 
Hard DriveHard DriveOptical DriveOS
840 Pro Caviar Black LG BD-ROM Windows 8.1 Pro x64 
MonitorMonitorKeyboardPower
Dell U2713HM Dell U2311H Turbo-Trak (Google it :D) Corsair HX-520 
CaseMouseMouse PadAudio
CM690 Mionix Avior 7000 Everglide Titan AKG K 242 HD 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
i7 920 D0 MSI X58 Pro-E GTX 560 Ti 448 3x2GB G.Skill DDR3-1333 9-9-9-24 
Hard DriveHard DriveOptical DriveOS
840 Pro Caviar Black LG BD-ROM Windows 8.1 Pro x64 
MonitorMonitorKeyboardPower
Dell U2713HM Dell U2311H Turbo-Trak (Google it :D) Corsair HX-520 
CaseMouseMouse PadAudio
CM690 Mionix Avior 7000 Everglide Titan AKG K 242 HD 
  hide details  
Reply
post #108 of 128
Thread Starter 
Good advice because I can't get the kernel to load GDM. I can't remember which driver I have installed for my video card.
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
post #109 of 128
If you are using the NVIDIA proprietary drive you'll need to compile the kernel module for it. The AUR nvidia-all package makes this pretty simple as it will build modules for all detected kernels (providing you also have the kernel headers for each). Otherwise you can just install them however you normally do once you drop to the command line.
    
CPUMotherboardGraphicsRAM
i7 920 D0 MSI X58 Pro-E GTX 560 Ti 448 3x2GB G.Skill DDR3-1333 9-9-9-24 
Hard DriveHard DriveOptical DriveOS
840 Pro Caviar Black LG BD-ROM Windows 8.1 Pro x64 
MonitorMonitorKeyboardPower
Dell U2713HM Dell U2311H Turbo-Trak (Google it :D) Corsair HX-520 
CaseMouseMouse PadAudio
CM690 Mionix Avior 7000 Everglide Titan AKG K 242 HD 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
i7 920 D0 MSI X58 Pro-E GTX 560 Ti 448 3x2GB G.Skill DDR3-1333 9-9-9-24 
Hard DriveHard DriveOptical DriveOS
840 Pro Caviar Black LG BD-ROM Windows 8.1 Pro x64 
MonitorMonitorKeyboardPower
Dell U2713HM Dell U2311H Turbo-Trak (Google it :D) Corsair HX-520 
CaseMouseMouse PadAudio
CM690 Mionix Avior 7000 Everglide Titan AKG K 242 HD 
  hide details  
Reply
post #110 of 128
Thread Starter 
That worked. I kept getting an error that the nvidia module was not found in /proc/module when I tried to reinstall nvidia-utils and nvidia.

Now... what exactly does the ck kernel do?
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Round 2 (or is this 8?) with Arch