You are not logged in.
Pages: 1
running ksysguard i realized i have more a hundred process running on my arch linux. some are definitely needed, some i'm not sure they are, some others are definitely useless.
for instance, i notice i have jfs-related processes whereas i don't use this filesystem at all. can i get rid of these ? how ? are they running because the kernel is compiled with jfs support (i use kernel26beyond atm) ?
thanks for sharing your knowledge !
what goes up must come down
Offline
This is definitely awkward. Are the jfs modules loaded? What does lsmod say? Did you install the jfs utilities? What is the exact name of the processes? Anyway, use command line tools to disgnose unuseful processes: start with pstree to see what depends from what.
Mortuus in anima, curam gero cutis
Offline
If you've got unneeded filesystem modules, you need to tweak your initrd. Initrd will help.
Offline
@patroclo7 :
$ lsmod
Module Size Used by
ipv6 207424 10
shpchp 35936 0
pci_hotplug 22340 1 shpchp
snd_seq_oss 26084 0
snd_seq_midi_event 6400 1 snd_seq_oss
snd_seq 42060 4 snd_seq_oss,snd_seq_midi_event
joydev 8000 0
snd_pcm_oss 31904 0
snd_mixer_oss 14080 2 snd_pcm_oss
evdev 7552 0
via_agp 8192 1
i2c_viapro 7572 0
8139cp 17024 0
uhci_hcd 25488 0
bt878 9020 0
usbcore 97696 2 uhci_hcd
tuner 44076 0
tvaudio 20892 0
via686a 14088 0
i2c_isa 4224 1 via686a
8139too 21760 0
mii 4992 2 8139cp,8139too
bttv 152124 2 bt878
video_buf 16388 1 bttv
compat_ioctl32 1920 1 bttv
i2c_algo_bit 8072 1 bttv
v4l2_common 7168 2 tuner,bttv
btcx_risc 4488 1 bttv
ir_common 8580 1 bttv
snd_emu10k1 94756 2
snd_rawmidi 17824 1 snd_emu10k1
snd_ac97_codec 79904 1 snd_emu10k1
snd_ac97_bus 2688 1 snd_ac97_codec
tveeprom 12944 1 bttv
videodev 7552 2 bttv
snd_bt87x 11592 1
snd_pcm 64900 4 snd_pcm_oss,snd_emu10k1,snd_ac97_codec,snd_bt87x
snd_seq_device 6540 4 snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi
snd_timer 17284 3 snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc 7688 3 snd_emu10k1,snd_bt87x,snd_pcm
snd_util_mem 3968 1 snd_emu10k1
snd_hwdep 6916 1 snd_emu10k1
snd 39776 16 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_bt87x,snd_pcm,snd_seq_device,snd_timer,snd_hwdep
soundcore 7520 2 snd
emu10k1_gp 3456 0
nvidia 4530388 12
agpgart 23884 2 via_agp,nvidia
i2c_core 16256 9 i2c_viapro,tuner,tvaudio,via686a,i2c_isa,bttv,i2c_algo_bit,tveeprom,nvidia
ppdev 7172 0
ppp_generic 23060 0
slhc 6144 1 ppp_generic
analog 9376 0
gameport 11144 3 emu10k1_gp,analog
irtty_sir 5504 0
sir_dev 13644 1 irtty_sir
irda 105272 1 sir_dev
crc_ccitt 2688 1 irda
rtc 10164 0
pcspkr 3332 0
ide_cd 32032 0
cdrom 30128 1 ide_cd
rlocate 11044 0
parport_pc 22508 1
lp 8960 0
parport 28616 3 ppdev,parport_pc,lp
xfs 430748 5
reiserfs 207472 0
jfs 150524 0
ext3 105096 0
jbd 47636 1 ext3
reiser4 330456 0
ide_floppy 13952 0
ide_disk 14596 9
via82cxxx 7940 0 [permanent]
trm290 4228 0 [permanent]
triflex 3712 0 [permanent]
slc90e66 4992 0 [permanent]
sis5513 11404 0 [permanent]
siimage 9856 0 [permanent]
serverworks 7560 0 [permanent]
sc1200 6144 0 [permanent]
rz1000 3072 0 [permanent]
piix 8708 0 [permanent]
pdc202xx_old 8832 0 [permanent]
pdc202xx_new 7424 0 [permanent]
ns87415 4140 0 [permanent]
it821x 7172 0 [permanent]
hpt366 15488 0 [permanent]
hpt34x 4608 0 [permanent]
generic 4740 0 [permanent]
cy82c693 4228 0 [permanent]
cs5535 4096 0 [permanent]
cs5530 4736 0 [permanent]
cmd64x 9244 0 [permanent]
atiixp 5264 0 [permanent]
amd74xx 12828 0 [permanent]
alim15x3 9872 0 [permanent]
aec62xx 6400 0 [permanent]
ide_core 101196 28 ide_cd,ide_floppy,ide_disk,via82cxxx,trm290,triflex,slc90e66,sis5513,siimage,serverworks,sc1200,rz1000,piix,pdc202xx_old,pdc202xx_new,ns87415,it821x,hpt366,hpt34x,generic,cy82c693,cs5535,cs5530,cmd64x,atiixp,amd74xx,alim15x3,aec62xxdamn ! i don't need all this stuff !! i think jfsutils have been installed as a dependency of qtparted.
@Cerebral :
i use beyond kernel, so i have an initramfs thing, not initrd. so here it is :
# Initial Ramdisk setup
# Attention:
# You need only the stuff to be able to mount your root device!
# USB/FW are only needed if you boot from such devices!
# REMOVE_IDE: removes the complete IDE subsystem
# REMOVE_SCSI: removes the complete SCSI subsystem
# REMOVE_SATA: removes the complete SATA subsystem
# REMOVE_CDROM: removes cdrom support
# REMOVE_USB: removes the complete USB subsystem
# REMOVE_FW: removes the complete Firewire subsystem
# REMOVE_RAID: removes the complete Software RAID subsystem
# REMOVE_DM: removes the complete device-mapper/LVM subsystem
# REMOVE_FS: removes the complete Filesystems
# (you have to include the filesystem in kernel then!)
# AUTODETECT: enables Arch Linux autodetection
# HOSTCONTROLLER_*: specify the modules you need to setup the subsystem "moduleX moduleY",
# empty means all modules are included
# FILESYSTEMS: specify your filesystem modules here, eg. "ext3 reiserfs"
# empty means all modules are included
# USB_TIMEOUT: value means seconds to wait for bringing up usb disks
# CRYPT_DEVICE: the path to your encrypted root device, if you use one
# RAID_DEVICES: a space-delimited list of the devices belonging in
# your /dev/md0 (root) RAID array
# (eg, "/dev/hda3 /dev/hdc3")
#
# ADD_MODULE: adds modules e.g. "moduleX moduleY"
# REMOVE_MODULE: removes modules e.g. "moduleX moduleY"
#
# To rebuild initramfs for archck kernel just rerun 'mkinitramfs auto'
# Disable whole subsystems by setting to "1"
REMOVE_IDE=
REMOVE_SCSI=1
REMOVE_SATA=1
REMOVE_CDROM=1
REMOVE_USB=1
REMOVE_FW=1
REMOVE_RAID=1
REMOVE_DM=1
REMOVE_FS=
# Enable auto-detection of HOSTCONTROLlER and FILESYSTEMS (set to "1")
# (NOTE: This is still experimental, so it is disabled by default)
AUTODETECT=0
# To use fbsplash/gensplash, you need to install gensplashutils and initscripts-gensplash from community.
# Add a theme to enable fbsplash, Try 'darch', it's included in the gensplashutils.
FBSPLASH_THEME=
# Resolution to use, 1024x768 will be used if left blank. Format is '1024x768'
FBSPLASH_RES=1600x1200
# Custom DSDT support can be included if you include the FULL path to the DSDT file here
# If left empty, it will not be included. If unsure, leave empty.
DSDT=
# Define which modules are needed by adding "moduleX moduleY"
# If left empty, all modules are included if they are not disabled above
HOSTCONTROLLER_IDE=
HOSTCONTROLLER_SCSI=
HOSTCONTROLLER_SATA=
HOSTCONTROLLER_USB=
FILESYSTEMS=
# Number of seconds to wait for USB devices to settle
USB_TIMEOUT=5
# If you have an encrypted root filesystem, set it here (eg, /dev/hda4)
CRYPT_DEVICE=
# If you use software RAID for your root device then list all the devices
# that belong to your root array here. If your root RAID device is
# something other than md0, then change the RAID_ROOT_ARRAY setting.
# eg, RAID_ROOT_DEVICES="/dev/hda3 /dev/hdc3"
RAID_ROOT_ARRAY="md0"
RAID_ROOT_DEVICES=
# If you use LVM on your root device, then specify it here
# eg, LVM_ROOT="/dev/vg_root/lv_root"
LVM_ROOT=
# Define additional modules here
ADD_MODULE=
REMOVE_MODULE=so i suppose i have to fine tune REMOVE_MODULE ...
what goes up must come down
Offline
@Cerebral :
i use beyond kernel, so i have an initramfs thing, not initrd. so here it is :
-snip-
so i suppose i have to fine tune REMOVE_MODULE ...
Yes, I should have known that - though technically you can use an initrd with beyond too, afaik.
Anywho, try enabling auto-detection first - I use it, and it works fine for me.
Offline
You have basically two options: use autodetection (advised, otherwise you need a finer configuration, not only for filesystems); define the filesystem field with the filesystem of your root partition.
Be ready to pass to mkinitcpio.
Mortuus in anima, curam gero cutis
Offline
still the same with autodetection enabled...
fine tuning needed ![]()
what goes up must come down
Offline
In most cases, you simply need to decalre explicitly the modules you need for your root filesystem and for your hard disk. You did not say us which filesystem you actually use, so it is not easy to give a meaningful advice ![]()
Mortuus in anima, curam gero cutis
Offline
Perhaps a fair advice is the following: when the transition from testing to current will be complete, all arch kernels (I guess) will use mkinitcpio nad autodetection will perhaps do a better job. Thus you could wisely wait a couple of days.
Mortuus in anima, curam gero cutis
Offline
for killing all related processes, try killall <procname>
Offline
post your output of:
mkinitramfs kernel=2.6.16-beyond --showand that'll show whats being detected
Note also that autodetection doesn't work for file systems, so where it says:
FILESYSTEMS=
in your mkinitramfs.conf, put your relevant file system u need there.
eg if your using reiserfs put "reiserfs"
or if your using ext3 put "ext3 jbd"
Offline
or if your using ext3 put "ext3 jbd"
$ sudo mkinitramfs kernel=2.6.16-beyond --show
/etc/mkinitramfs.conf: line 66: jbd: command not found/path/to/Truth
Offline
oh cool, something must have gone wrong with the autodetect thing, now i get a kernel panic when booting...
and now i realize arch cd is useless when trying to use it to repair stuff... i suppose i should have made a backup, but now it's too late.
bye
what goes up must come down
Offline
Wh useless? You can mount filesystems, modify anything in them, chroot in the environment. May be it is not the richest recovery tool around (this is not its main purpose), but it is far from unuseful.
Mortuus in anima, curam gero cutis
Offline
*cough* modprobe *cough*
Offline
no, it's not sufficient. i haven't been able to mount my xfs partitions even with xfs modules loaded. i don't know why...
i *really* am tired of linux now...
what goes up must come down
Offline
if you cant mount them from a liveCD when the xfs module is loaded, something is wrong.
what error did you get?
after trying to mount it, post the output of 'dmesg' to pastebin.com and link it here.
Offline
sorry, i can't tell you because i don't use arch anymore...
what goes up must come down
Offline
ArchLinux isnt for the impatient. One can do with XP for that
Be yourself, because you are all that you can be
Offline
come on kid, don't be stupid... try to post something useful instead of foolish primitive linux geek words...
and i think gentoo isn't for the impatient, whereas archlinux is. as a matter of fact, i decided to become patient again. so please think twice before you post your philisophical thoughts. software is a tool, not a way of life... open your mind...
what goes up must come down
Offline
Maybe it will help somebody...
I use mkinitcpio (now in current) and it works well, I don't have useless modules loaded.
mkinitcpio -g yourimage.img and put it in /boot. Then edit /boot/grub/menu.lst and replace initrd26.img by yourimage.img.
Reboot and type lsmod to see the difference !
Écartelé d'azur chargé de trois lys d'or et d'or au dauphin d'azur crêté, barbé, loré, peautré et oreillé de gueules.
Offline
Pages: 1