View previous topic :: View next topic |
Author |
Message |
cynric Guru
Joined: 08 Oct 2004 Posts: 439
|
Posted: Thu Aug 18, 2005 1:47 am Post subject: |
|
|
I was pondering that (vm.swappiness) as well. I recall reading an article recently (I read it recently, but not sure how recent it was written) that said gentoo-sources, and others, has memory management built-in that negates the need for swappiness. Perhaps that's true? _________________ "This Snow Crash thing -- is it a virus, a drug, or a religion?" "What's the difference?"
-- Neal Stephenson - Snow Crash |
|
Back to top |
|
|
Cinder6 l33t
Joined: 05 Aug 2004 Posts: 767 Location: California
|
Posted: Thu Aug 18, 2005 4:51 am Post subject: |
|
|
That is what I am assuming, but I hope to get some more "official" answer _________________ Knowledge is power.
Power corrupts.
Study hard.
Be evil.
Ugly Overload |
|
Back to top |
|
|
cynric Guru
Joined: 08 Oct 2004 Posts: 439
|
Posted: Thu Aug 18, 2005 4:57 am Post subject: |
|
|
Well, so much for tiding you over until them *hmph* :P _________________ "This Snow Crash thing -- is it a virus, a drug, or a religion?" "What's the difference?"
-- Neal Stephenson - Snow Crash |
|
Back to top |
|
|
lavacano Apprentice
Joined: 29 May 2005 Posts: 190 Location: Poulsbo, WA
|
Posted: Thu Aug 18, 2005 5:04 am Post subject: |
|
|
Cinder6 wrote: | I've been trying to set my swappiness in /etc/sysctl.conf (vm.swappiness=30), and it says that is an unrecognized key. What's up? |
try putting spaces between =
also another problem you might run into is everywhere I look its 33,66,0 so maybe that might help too. _________________ Sincerely,
Chadwick Ferguson |
|
Back to top |
|
|
blue666man n00b
Joined: 01 Mar 2005 Posts: 15
|
Posted: Thu Aug 18, 2005 6:31 am Post subject: Hotplug problems |
|
|
Hi all,
I just finished installing nitro-5 and it's awesome!! I'm having just one issue. In /var/log/messages :
Quote: | * CONFIG_HOTPLUG not enabled for this kernel! |
And indeed, I forgot to set it to "yes," so I changed it, made sure that both CONFIG_HOTPLUG=y AND CONFIG SYSCTL=y (I swear it, I checked twice now). And recompiled. Well, I'm at a loss now b/c hotplug is still not enabled for whatever reason.
Any help would be much appreciated! |
|
Back to top |
|
|
bollucks l33t
Joined: 27 Oct 2004 Posts: 606
|
Posted: Thu Aug 18, 2005 1:39 pm Post subject: |
|
|
cynric wrote: | I was pondering that (vm.swappiness) as well. I recall reading an article recently (I read it recently, but not sure how recent it was written) that said gentoo-sources, and others, has memory management built-in that negates the need for swappiness. Perhaps that's true? |
There is no swappiness knob in -ck based kernels. There is the "mapped" knob which works in the opposite direction (higher is less swappy) and 66 is the default value. However with mapped watermark it is recommended not to raise it any further because it is already very aggressive at avoiding swap and will cause out-of-memory conditions. See http://kernel.kolivas.org for some more info on the mapped watermark patch. |
|
Back to top |
|
|
b3cks Veteran
Joined: 23 Mar 2004 Posts: 1481 Location: Bremen (GER)
|
Posted: Thu Aug 18, 2005 1:56 pm Post subject: Re: Hotplug problems |
|
|
blue666man wrote: | Hi all,
I just finished installing nitro-5 and it's awesome!! I'm having just one issue. In /var/log/messages :
Quote: | * CONFIG_HOTPLUG not enabled for this kernel! |
And indeed, I forgot to set it to "yes," so I changed it, made sure that both CONFIG_HOTPLUG=y AND CONFIG SYSCTL=y (I swear it, I checked twice now). And recompiled. Well, I'm at a loss now b/c hotplug is still not enabled for whatever reason.
Any help would be much appreciated! |
Do you still have the same error message or does hotplug just don't work? AFAIK you have to do following to get hotplug fully working:
Code: | emerge hotplug && rc-update add hotplug default
emerge coldplug && rc-update add coldplug default |
_________________ I am /root and if you see me laughing you better have a backup. |
|
Back to top |
|
|
cynric Guru
Joined: 08 Oct 2004 Posts: 439
|
Posted: Thu Aug 18, 2005 2:35 pm Post subject: |
|
|
@boollucks: Thanks for the explanation. That's the "article" I was trying to remember. Skimmed over it yesterday and didn't see it (should have used find).
@Cinder6: I think I hijacked your questions ... anyway, thanks for asking. That's one less thing I'd have to remember to ask/lookup. _________________ "This Snow Crash thing -- is it a virus, a drug, or a religion?" "What's the difference?"
-- Neal Stephenson - Snow Crash |
|
Back to top |
|
|
Deadog n00b
Joined: 16 Jan 2005 Posts: 25 Location: Angers | ESEO
|
Posted: Thu Aug 18, 2005 6:01 pm Post subject: |
|
|
Code: | lexa@dekarion ~ $ uname -a
Linux dekarion 2.6.12-nitro5 #1 Thu Aug 4 18:58:42 CEST 2005 i686 AMD Athlon(tm) XP 2500+ AuthenticAMD GNU/Linux
lexa@dekarion ~ $ cat /proc/sys/kernel/timeslice
4
lexa@dekarion ~ $ cat /proc/sys/kernel/timeslice_factor
18
lexa@dekarion ~ $ cat /proc/sys/kernel/burst_factor
1
|
ram : 512Mb
dualscreen with xinerama (both in 1280x1024) and two graphic cards
nvidia version : 1.0.6629-r4
gentoo x86 (stable)
full reiser4
timeslice* parameters experience :
for reactivity : a small timeslice (I don't go under 4) and a high timeslice_factor
for stability : I havn't tested, suppose the opposite of reactivity
I started with (6, 15, 1) some sound jerks when switching between full screen windows, mozilla crach sometimes.
I finished with (4, 18, 1), sound jerks are not (or rarely), I waiting for mozilla crashs ...
burst_factor still at 1. |
|
Back to top |
|
|
blue666man n00b
Joined: 01 Mar 2005 Posts: 15
|
Posted: Fri Aug 19, 2005 3:04 am Post subject: |
|
|
b3cks,
As you can see:
Code: |
encephalon / # emerge -s coldplug hotplug
Searching...
[ Results for search key : coldplug ]
[ Applications found : 1 ]
* sys-apps/coldplug
Latest version available: 20040920
Latest version installed: 20040920
Size of downloaded files: 43 kB
Homepage: http://linux-hotplug.sourceforge.net
Description: coldplug init.d program to load modules at bootime
License: GPL-2
Searching...
[ Results for search key : hotplug ]
[ Applications found : 2 ]
* sys-apps/hotplug
Latest version available: 20040923-r1
Latest version installed: 20040923-r1
Size of downloaded files: 43 kB
Homepage: http://linux-hotplug.sourceforge.net
Description: USB and PCI hotplug scripts
License: GPL-2
* sys-apps/hotplug-base
Latest version available: 20040401
Latest version installed: 20040401
Size of downloaded files: 40 kB
Homepage: http://linux-hotplug.sourceforge.net
Description: Base Hotplug framework
License: GPL-2
encephalon / # rc-update show
acpid | default
alsasound |
bootmisc | boot
checkfs | boot
checkroot | boot
clock | boot
coldplug | default
consolefont | boot
crypto-loop |
cupsd |
dante-sockd |
dbus |
domainname | default
esound |
famd |
gpm | default
hald |
hdparm | boot
hostname | boot
hotplug | default
keymaps | boot
local | default nonetwork
localmount | boot
mdadm |
modules | boot
mysql |
net.eth0 | default
net.lo | boot
netmount | default
nscd |
ntp-client |
ntpd | default
numlock | default
portmap |
rmnologin | boot
rsyncd |
samba |
splash | default
sshd | default
syndaemon |
syslog-ng | default
urandom | boot
vixie-cron | default
xdm |
xinetd | default
|
Coldplug is working fine, albeit, I'm running it at boot not default (should it be the other way around?) And hotplug is emerged and trying to run at the default rc. Still having the same problem tho. I'm really thinking that this is a kernel issue. Thanks! |
|
Back to top |
|
|
Cinder6 l33t
Joined: 05 Aug 2004 Posts: 767 Location: California
|
Posted: Fri Aug 19, 2005 5:29 am Post subject: |
|
|
I *think* you want coldplug and hotplug running at default. That was how I had them, before I got rid of the necessity to have them. _________________ Knowledge is power.
Power corrupts.
Study hard.
Be evil.
Ugly Overload |
|
Back to top |
|
|
b3cks Veteran
Joined: 23 Mar 2004 Posts: 1481 Location: Bremen (GER)
|
Posted: Fri Aug 19, 2005 11:08 am Post subject: |
|
|
I have both running on default and it works flawlessy with nitro5. _________________ I am /root and if you see me laughing you better have a backup. |
|
Back to top |
|
|
J0KeRZ n00b
Joined: 04 Jul 2005 Posts: 10 Location: Los Angeles
|
Posted: Fri Aug 19, 2005 6:47 pm Post subject: |
|
|
I still seem to have trouble getting Wireless setup up with ipw2200.
It seems I can connect to open network [ my school network works fine ]. When I try to connect to my home network I cant get connected to the WEP network.
Here is my relavent configuration information:
Relavent Configuration for:
# /etc/conf.d/net
Code: |
iface_eth1="dhcp"
dhcpcd_eth1="-t 10" |
# Relavent Information From file:
# /etc/conf.d/wireless:
Code: |
mode_eth1="auto"
sleep_scan_eth1="2" #[Ive Tried Disabling This Option also]
sleep_associate_eth1="5" #[ This one two]
key_PHanTOM="xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xx"
preferred_aps_eth1=( "PHanTOM" "mobilenet" )
associate_order="forcepreferredonly"
blacklist_aps_eth1=( "tmobile" "default" "linksys" ) |
# Relavent Kernel Options:
Code: |
#
# Linux InfraRed Controller
#
# CONFIG_LIRC_SUPPORT is not set
# CONFIG_BLK_DEV_IT821X is not set
# CONFIG_IPW2100 is not set
# CONFIG_IPW_DEBUG is not set
CONFIG_IPW2200=m
# CONFIG_IP_NF_MATCH_LAYER7 is not set
CONFIG_IP_NF_MATCH_LAYER7_MAXDATALEN=2048
#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
# CONFIG_HAMRADIO is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
CONFIG_IEEE80211=m
# CONFIG_IEEE80211_DEBUG is not set
CONFIG_IEEE80211_CRYPT_WEP=m
CONFIG_IEEE80211_CRYPT_CCMP=m
CONFIG_IEEE80211_CRYPT_TKIP=m
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_NET_SB1000 is not set
|
Dmesg Output:
Code: |
PHanTOM j0kerz # dmesg | grep -i ipw2200
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.0.4
ipw2200: Copyright(c) 2003-2004 Intel Corporation
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
PHanTOM j0kerz # dmesg | grep -i ieee80211
ieee80211_crypt: registered algorithm 'NULL'
ieee80211_crypt: registered algorithm 'WEP'
ieee80211_crypt: registered algorithm 'CCMP'
ieee80211_crypt: registered algorithm 'TKIP'
|
Code: |
PHanTOM j0kerz # iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
eth1 IEEE 802.11g ESSID:"PHanTOM" Nickname:"PHanTOM"
Mode:Managed Frequency:2.457 GHz Access Point: 00:13:10:E2:41:BA
Bit Rate=54 Mb/s Tx-Power=20 dBm
RTS thr:off Fragment thr:off
Encryption key:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xx Security mode:open
Power Management:off
Link Quality=94/100 Signal level=-33 dBm Noise level=-83 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:1 Missed beacon:0
eth2 no wireless extensions.
cipsec0 no wireless extensions.
|
From the looks of it I can see the network, even though broadcasting is dissabled [which I hope is a good thing]
Here is the info I pull when I try starting /etc/init.d/net.eth1:
Code: | PHanTOM j0kerz # /etc/init.d/net.eth1 start
* Starting eth1
* Loading networking modules for eth1
* modules: iwconfig essidnet iptunnel ifconfig dhcpcd apipa
* iwconfig provides wireless
* ifconfig provides interface
* dhcpcd provides dhcp
* Configuring wireless network for eth1
* Trying to force preferred in case they are hidden
* Connecting to "PHanTOM" (WEP enabled - open) ... [ ok ]
* eth1 connected to "PHanTOM" at 00:13:10:E2:41:BA
* in managed mode (WEP enabled - open)
* Configuring eth1 for "PHanTOM" ... [ ok ]
* Bringing up eth1
* dhcp
* Running dhcpcd ... [ !! ]
PHanTOM j0kerz # |
This is my first time using nitro-sources, and I must admit, this kernel makes my system FLY! It would be ashame to go back to a "supported" kernel. Any constructive help would be grately apprececiated, thanks in advance! |
|
Back to top |
|
|
jsrlepage Tux's lil' helper
Joined: 28 Sep 2003 Posts: 98
|
Posted: Fri Aug 19, 2005 10:12 pm Post subject: |
|
|
I have problems (d'uh).
System : AMD Athlon64 3200+ socket 754 on a K8N-E Deluxe, using the on-board firewire ports.
The firewire works flawlessly.
But Scsi doesn't.
The following happens when i try to modprobe scsi_mod, required by sr_mod and/or sd_mod, in turn required for sbp2.
Code: | kobject_register failed for scsi_mod (-17)
Call Trace:<ffffffff802434a6>{kobject_register+70} <ffffffff8014f49a>{load_module+5274}
<ffffffff80163b15>{unmap_vmas+1365} <ffffffff80167ffa>{unmap_region+314}
<ffffffff8016ad6d>{anon_vma_unlink+93} <ffffffff8016835b>{do_munmap+491}
<ffffffff80245986>{__up_write+278} <ffffffff8014f7f6>{sys_init_module+134}
<ffffffff8010e8b6>{system_call+126}
sbp2: $Rev: 1219 $ Ben Collins <bcollins@debian.org>
kobject_register failed for scsi_mod (-17)
Call Trace:<ffffffff802434a6>{kobject_register+70} <ffffffff8014f49a>{load_module+5274}
<ffffffff80163b15>{unmap_vmas+1365} <ffffffff80167ffa>{unmap_region+314}
<ffffffff8016ad6d>{anon_vma_unlink+93} <ffffffff8016835b>{do_munmap+491}
<ffffffff80245986>{__up_write+278} <ffffffff8014f7f6>{sys_init_module+134}
<ffffffff8010e8b6>{system_call+126}
register_blkdev: cannot get major 8 for sd
register_blkdev: cannot get major 65 for sd
register_blkdev: cannot get major 66 for sd
register_blkdev: cannot get major 67 for sd
register_blkdev: cannot get major 68 for sd
register_blkdev: cannot get major 69 for sd
register_blkdev: cannot get major 70 for sd
register_blkdev: cannot get major 71 for sd
register_blkdev: cannot get major 128 for sd
register_blkdev: cannot get major 129 for sd
register_blkdev: cannot get major 130 for sd
register_blkdev: cannot get major 131 for sd
register_blkdev: cannot get major 132 for sd
register_blkdev: cannot get major 133 for sd
register_blkdev: cannot get major 134 for sd
register_blkdev: cannot get major 135 for sd
kobject_register failed for scsi_mod (-17)
Call Trace:<ffffffff802434a6>{kobject_register+70} <ffffffff8014f49a>{load_module+5274}
<ffffffff80163b15>{unmap_vmas+1365} <ffffffff80167ffa>{unmap_region+314}
<ffffffff8016ad6d>{anon_vma_unlink+93} <ffffffff8016835b>{do_munmap+491}
<ffffffff80245986>{__up_write+278} <ffffffff8014f7f6>{sys_init_module+134}
<ffffffff8010e8b6>{system_call+126}
kobject_register failed for scsi_mod (-17)
Call Trace:<ffffffff802434a6>{kobject_register+70} <ffffffff8014f49a>{load_module+5274}
<ffffffff80163b15>{unmap_vmas+1365} <ffffffff80167ffa>{unmap_region+314}
<ffffffff8016ad6d>{anon_vma_unlink+93} <ffffffff8016835b>{do_munmap+491}
<ffffffff80245986>{__up_write+278} <ffffffff8014f7f6>{sys_init_module+134}
<ffffffff8010e8b6>{system_call+126}
kobject_register failed for scsi_mod (-17)
Call Trace:<ffffffff802434a6>{kobject_register+70} <ffffffff8014f49a>{load_module+5274}
<ffffffff80163b15>{unmap_vmas+1365} <ffffffff80167ffa>{unmap_region+314}
<ffffffff8016ad6d>{anon_vma_unlink+93} <ffffffff8016835b>{do_munmap+491}
<ffffffff80245986>{__up_write+278} <ffffffff8014f7f6>{sys_init_module+134}
<ffffffff8010e8b6>{system_call+126}
|
i want my ipod back! _________________ cybikbase::~cybik() |
|
Back to top |
|
|
albyjr n00b
Joined: 24 Aug 2005 Posts: 31
|
Posted: Wed Aug 24, 2005 11:58 pm Post subject: |
|
|
What would the echo command look like for these >>> /proc/sys/kernel/{timeslice,timeslice_factor,burst_factor} with an echo command too ?
ie timeslice=3 or timeslice = 3 ? I dont want to experiment and screw something up.
The reason I'm trying to adjust these since the upgrade to nitro5 I'm have display problems with VDR on my tv takes several seconds before the picture and osd displays correctly when changing channels. fyi 2.6.12 nitro2 did not have this problem. |
|
Back to top |
|
|
Phlogiston Veteran
Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Thu Aug 25, 2005 12:05 am Post subject: |
|
|
I'm not sure, but I think its:
echo "NR" > /proc/sys/kernel/whatever
But hey I'm not sure, so can anyone confirm this...
CU _________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
Back to top |
|
|
albyjr n00b
Joined: 24 Aug 2005 Posts: 31
|
Posted: Thu Aug 25, 2005 12:30 am Post subject: |
|
|
that worked thankyou |
|
Back to top |
|
|
priestjim Tux's lil' helper
Joined: 09 Jan 2005 Posts: 100 Location: Never never land
|
Posted: Tue Aug 30, 2005 10:07 pm Post subject: |
|
|
Any news concerning .13-nitro development? _________________ My soul is my antenna, I am the instrument + the guitar is my amplifier.
-- Ottmar Liebert |
|
Back to top |
|
|
Cinder6 l33t
Joined: 05 Aug 2004 Posts: 767 Location: California
|
Posted: Tue Aug 30, 2005 11:08 pm Post subject: |
|
|
AFAIK, tiger is on vacation right now, and he said to bother seppe if we want one. _________________ Knowledge is power.
Power corrupts.
Study hard.
Be evil.
Ugly Overload |
|
Back to top |
|
|
SchAmane Tux's lil' helper
Joined: 11 Sep 2004 Posts: 107
|
Posted: Wed Aug 31, 2005 9:26 am Post subject: |
|
|
Cinder6 wrote: | AFAIK, tiger is on vacation right now, and he said to bother seppe if we want one. |
If Tiger comes back from vacations i am interested in .13-nitroX too |
|
Back to top |
|
|
John5788 Advocate
Joined: 06 Apr 2004 Posts: 2140 Location: 127.0.0.1
|
Posted: Wed Aug 31, 2005 5:24 pm Post subject: |
|
|
why dont we just bother seppe for it? _________________ John5788 |
|
Back to top |
|
|
priestjim Tux's lil' helper
Joined: 09 Jan 2005 Posts: 100 Location: Never never land
|
Posted: Thu Sep 01, 2005 10:31 am Post subject: |
|
|
Seppeeeee...oh Seppeee where are thou? _________________ My soul is my antenna, I am the instrument + the guitar is my amplifier.
-- Ottmar Liebert |
|
Back to top |
|
|
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
|
Back to top |
|
|
SchAmane Tux's lil' helper
Joined: 11 Sep 2004 Posts: 107
|
Posted: Thu Sep 01, 2005 4:37 pm Post subject: |
|
|
vipernicus wrote: | Roll your own, it's not that hard. |
Share your with us |
|
Back to top |
|
|
a13x Apprentice
Joined: 05 Jan 2005 Posts: 215
|
Posted: Thu Sep 01, 2005 6:50 pm Post subject: |
|
|
Did anyone contact Seppe or Darckness by PM/email/whatever ? |
|
Back to top |
|
|
|