PDA

View Full Version : Cleanup startup



bob58
04-12-2004, 03:31 AM
Below is a copy of my DMESG file. I did an apt-get-install of some things and noticed that my startup has some errors.....some things not found. How can I clean up the items that do not exist during start up? thanks....

root@Home:/home/knoppix# dmesg
Linux version 2.4.24-xfs (root@Knoppix) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 SMP Mi Feb 4 01:03:50 CET 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000027ff0000 (usable)
BIOS-e820: 0000000027ff0000 - 0000000027ff3000 (ACPI NVS)
BIOS-e820: 0000000027ff3000 - 0000000028000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
639MB LOWMEM available.
On node 0 totalpages: 163824
zone(0): 4096 pages.
zone(1): 159728 pages.
zone(2): 0 pages.
ACPI: RSDP (v000 KT266 ) @ 0x000f7570
ACPI: RSDT (v001 KT266 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x27ff3000
ACPI: FADT (v001 KT266 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x27ff3040
ACPI: DSDT (v001 KT266 AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000
Kernel command line: BOOT_IMAGE=Linux ro root=342 hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi apm=power-off nomce
ide_setup: hda=scsi
ide_setup: hdb=scsi
ide_setup: hdc=scsi
ide_setup: hdd=scsi
ide_setup: hde=scsi
ide_setup: hdf=scsi
ide_setup: hdg=scsi
ide_setup: hdh=scsi
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
Detected 999.298 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 1992.29 BogoMIPS
Memory: 644592k/655296k available (1278k kernel code, 10316k reserved, 547k data, 136k init, 0k highmem)
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode cache hash table entries: 65536 (order: 7, 524288 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 65536 (order: 6, 262144 bytes)
Page-cache hash table entries: 262144 (order: 8, 1048576 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After generic, caps: 0183fbff c1c7fbff 00000000 00000000
CPU: Common caps: 0183fbff c1c7fbff 00000000 00000000
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After generic, caps: 0183fbff c1c7fbff 00000000 00000000
CPU: Common caps: 0183fbff c1c7fbff 00000000 00000000
CPU0: AMD Athlon(tm) processor stepping 04
per-CPU timeslice cutoff: 730.98 usecs.
SMP motherboard not detected.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 999.3504 MHz.
..... host bus clock speed is 199.8700 MHz.
cpu: 0, clocks: 1998700, slice: 999350
CPU0<T0:1998688,T1:999328,D:10,S:999350,C:1998700>
Waiting on wait_init_idle (map = 0x0)
All processors have done init_idle
PCI: PCI BIOS revision 2.10 entry at 0xfb470, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router default [1106/3099] at 00:00.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
vesafb: framebuffer at 0xd0000000, mapped to 0xe880d000, size 3072k
vesafb: mode is 1024x768x16, linelength=2048, pages=4
vesafb: protected mode interface info at cc66:0000
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
pty: 256 Unix98 ptys configured
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 00:11.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8233a (rev 00) IDE UDMA133 controller on pci00:11.1
ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:DMA, hdd:DMA
hda: MAXTOR 6L040J2, ATA DISK drive
hdb: WDC WD400BB-00CAA1, ATA DISK drive
hdc: SONY CD-RW CRX215E1, ATAPI CD/DVD-ROM drive
hdd: CRD-8322B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
spurious 8259A interrupt: IRQ7.
hda: host protected area => 1
hda: 78177792 sectors (40027 MB) w/1819KiB Cache, CHS=4866/255/63
hdb: attached ide-disk driver.
hdb: host protected area => 1
hdb: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=4865/255/63
ide-cd: passing drive hdc to ide-scsi emulation.
ide-cd: passing drive hdd to ide-scsi emulation.
hdc: attached ide-scsi driver.
hdd: attached ide-scsi driver.
Partition check:
hda: hda1
hdb: hdb1 hdb2
ide: late registration of driver.
Promise Fasttrak(tm) Softwareraid driver 0.03beta: No raid array found
Highpoint HPT370 Softwareraid driver for linux version 0.02
Guestimating sector 78176431 for superblock
Guestimating sector 78164335 for superblock
driver for Silicon Image(tm) Medley(tm) hardware version 0.0.1: No raid array found
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: SONY Model: CD-RW CRX215E1 Rev: SYS2
Type: CD-ROM ANSI SCSI revision: 02
Vendor: LG Model: CD-ROM CRD-8322B Rev: 1.05
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
sr0: scsi3-mmc drive: 100x/40x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
sr1: scsi3-mmc drive: 32x/32x cd/rw xa/form2 cdda tray
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 145k freed
VFS: Mounted root (ext2 filesystem).
Journalled Block Device driver loaded
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,66), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 136k freed
Adding Swap: 971892k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,66), internal journal
Real Time Clock Driver v1.10e
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 01:17:44 Feb 4 2004
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0xdc00, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: USB UHCI at I/O 0xe000, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)
eth0: ADMtek Comet rev 17 at 0xd400, 00:04:5A:7D:FB:E0, IRQ 5.
Via 686a/8233/8235 audio driver 1.9.1-ac3
via82cxxx: Six channel audio available
PCI: Setting latency timer of device 00:11.5 to 64
ac97_codec: AC97 Audio codec, id: ALG48 (Unknown)
via82cxxx: Codec rate locked at 48Khz
via82cxxx: board #1 at 0xE400, IRQ 5
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 564M
agpgart: Detected Via Apollo Pro KT266 chipset
agpgart: AGP aperture is 64M @ 0xe0000000
NTFS driver v1.1.22 [Flags: R/W MODULE]
usb.c: registered new driver usbscanner
scanner.c: 0.4.15:USB Scanner Driver
LVM version 1.0.7(28/03/2003) module loaded
loop: loaded (max 8 devices)
blk: queue c033ec00, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c033ed48, I/O limit 4095Mb (mask 0xffffffff)
NET4: Linux IPX 0.47 for NET4.0
IPX Portions Copyright (c) 1995 Caldera, Inc.
IPX Portions Copyright (c) 2000, 2001 Conectiva, Inc.
CAPI-driver Rev 1.1.4.1: loaded
capifs: Rev 1.1.4.1
capi20: started up with major 68
kcapi: capi20 attached
capi20: Rev 1.1.4.2: started up with major 68 (middleware+capifs)
b1: revision 1.1.4.1
b1dma: revision 1.1.4.1
b1pci: revision 1.1.4.1
kcapi: driver b1pci attached
b1pciv4: revision 1.1.4.1
kcapi: driver b1pciv4 attached
b1pci: NO B1-PCI card detected
kcapi: driver b1pci detached
kcapi: driver b1pciv4 detached
b1: revision 1.1.4.1
c4: revision 1.1.4.1
kcapi: driver c4 attached
c2: revision 1.1.4.1
kcapi: driver c2 attached
c4: NO C4/C2 card detected
kcapi: driver c4 detached
kcapi: driver c2 detached
b1: revision 1.1.4.1
c4: revision 1.1.4.1
kcapi: driver c4 attached
c2: revision 1.1.4.1
kcapi: driver c2 attached
c4: NO C4/C2 card detected
kcapi: driver c4 detached
kcapi: driver c2 detached
b1: revision 1.1.4.1
c4: revision 1.1.4.1
kcapi: driver c4 attached
c2: revision 1.1.4.1
kcapi: driver c2 attached
c4: NO C4/C2 card detected
kcapi: driver c4 detached
kcapi: driver c2 detached
b1: revision 1.1.4.1
c4: revision 1.1.4.1
kcapi: driver c4 attached
c2: revision 1.1.4.1
kcapi: driver c2 attached
c4: NO C4/C2 card detected
kcapi: driver c4 detached
kcapi: driver c2 detached
mtrr: no more MTRRs available
mtrr: no more MTRRs available
mtrr: no more MTRRs available
mtrr: no more MTRRs available
mtrr: no more MTRRs available
mtrr: no more MTRRs available
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
sr1: CDROM (ioctl) reports ILLEGAL REQUEST.
via_audio: ignoring drain playback error -11
root@Home:/home/knoppix#

Stephen
04-12-2004, 05:34 AM
LVM version 1.0.7(28/03/2003) module loaded
loop: loaded (max 8 devices)


That would be the lvm package(s) you should be able to get a list with dpkg -l | grep lvm* then apt-get --purge remove.





CAPI-driver Rev 1.1.4.1: loaded
capifs: Rev 1.1.4.1
capi20: started up with major 68
kcapi: capi20 attached
capi20: Rev 1.1.4.2: started up with major 68 (middleware+capifs)
b1: revision 1.1.4.1
b1dma: revision 1.1.4.1


dpkg -l | grep isdn* and then get rid of the packages unless of course you have an ISDN connection..




sr1: CDROM (ioctl) reports ILLEGAL REQUEST.

root@Home:/home/knoppix#

Something weird with the CD-Rom did you have a disk in it when you booted.


Some other server packages to think about purging.

bind9, dhcp3-server, ftpd, nfs-kernel-server, nis, samba, sslwrap, squid, telnetd-ssl, lisa, apache, brltty, portmap, distcc, nessus (dpkg -l | grep nessus*), shaper and nvtv.

Plus some cleanup of the HD for the unnecessary packages installed.

Kde internationalizations.



apt-get --purge remove kde-i18n-cs kde-i18n-da kde-i18n-de kde-i18n-es kde-i18n-fr kde-i18n-it kde-i18n-ja kde-i18n-nl kde-i18n-pl kde-i18n-ru kde-i18n-tr



X servers not used.



apt-get --purge remove xserver-3dlabs xserver-8514 xserver-agx xserver-common-v3 xserver-i128 xserver-mach32 xserver-mach64 xserver-mach8 xserver-p9000 xserver-s3 xserver-s3v xserver-svga xserver-vga16 xserver-w32




Plus a small package you should install is localepurge to get rid of the excess locales and man pages on the system during the configuration you must unselect all the items marked with a * you do not want I usually leave the en and en_US ones then when it asks you if you want to delete the man pages say yes. You will have to edit the file /etc/locale.gen and remove all the locales except the the ones you selected to keep during the configuration to stop the locales from being regenerated.

bob58
04-12-2004, 12:31 PM
Hi Stephen...wow....Lets see.....I probably DID have a music CD in the machine when I booted. So that solves that one.

First, that "LVM" package....I don't know what it is, so I am assuming I can safely remove it with:

dpkg -l | grep lvm* then apt-get --purge remove.

The next one, for an ISDN connection, I assume I can rid myself of by using:


Those other server packages I really dont think I need:

dpkg -l | grep isdn*
bind9, dhcp3-server, ftpd, nfs-kernel-server, nis, samba, sslwrap, squid, telnetd-ssl, lisa, apache, brltty, portmap, distcc, nessus (dpkg -l | grep nessus*), shaper and nvtv.

Next, those KDE internationilizations I will dump with:




apt-get --purge remove kde-i18n-cs kde-i18n-da kde-i18n-de kde-i18n-es kde-i18n-fr kde-i18n-it kde-i18n-ja kde-i18n-nl kde-i18n-pl kde-i18n-ru kde-i18n-tr

Next X-Servers....I dont know anything about those so I assume I can safely dump them with:


apt-get --purge remove xserver-3dlabs xserver-8514 xserver-agx xserver-common-v3 xserver-i128 xserver-mach32 xserver-mach64 xserver-mach8 xserver-p9000 xserver-s3 xserver-s3v xserver-svga xserver-vga16 xserver-w32

I am sure I have the localepurge but wasnt sure how to use it. Well I will do all of the above and hopefully the errors will be gone. Thank you for the advice Stephen....bob

OErjan
04-12-2004, 01:14 PM
if you remove the Xservers you wil be left with console alone. not very good. you can remove unused ones but...

bob58
04-12-2004, 01:37 PM
OK I havent done anything yet, but how do i know which x servers i dont need? Or should I just leave them alone and do the other stuff?

OErjan
04-12-2004, 07:10 PM
remove the ones you get errors on, should be ok, you could always reinstall them if nesesary (from console in worst case).

Stephen
04-12-2004, 08:22 PM
OK I havent done anything yet, but how do i know which x servers i dont need? Or should I just leave them alone and do the other stuff?

Unless you have went out of your way to start using Xfree 3.3 instead of the X 4.3 that is normally used then you have nothing to worry about. Oh and the lvm is a logical volume manager (IIRC) and unless you have set one up then you have no worries there either.