[Linux-bruxelles] [debian] serveur

Alain BarBason alainbb at village.uunet.be
Mer 4 Sep 01:03:43 CEST 2002


Bonjour,

 > As-tu activé l'option "Quick Boot" dans le BIOS ??
 > Si oui, désactive-la pour que le BIOS effectue d'autres tests de ta
 > machine.
C'est fait, mais rien de détecté.

 > Eventuellement, fais un test de ta RAM avec memtest86
 > (apt-get install memtest86 ;-) )
J'ai fait le test simple (10 minutes) rien.
un test partiel jusque 8 => rien
Je fait le test complet cette nuit.


 > Utilises-tu le paramètre mem=xxxxxx sur la ligne de commande du noyau ??
 > Si oui, vérifie si elle est correcte et qu'elle n'indique pas plus de
 > mémoire que tu en as réellement.
Je ne sais pas où l'on fait ça. Je n'ai en tout cas rien fait d'explicite.


 >  > mem 222336K total, 21548k used, 788k free, 1448k buffers
 >  > swap 48640k total, 0k used, 48640k free, 9756k cached
 > Pas normal: 222336 - (21548 + 788) = *200000K* partis dans la nature
 > ???
Je l'ai pourtant relu trois fois cette ligne et j'ai évidemment mis un
"2" en trop, c'est "mem 22336K" que je devais mettre. désolé.


 > Tu saurais expliquer un peu plus ta configuration ??

Pentium 75, IBM, 24 mégaRam,  HD 850 méga
Une carte PCI Dlink DFE 530 TX (fonctionnait corectement sur mon pentium
habituelle, et detectée par Debian) irq 11 adr 0x1000
Une carte ISA intel EtherExpress 10 (installée avec modconf : eepro)
irq 10 adr 0x300
Rien d'autre comme carte actuellement

"lspci" donne

00:00.0 Host bridge: OPTi Inc. 82C557 [Viper-M] (rev 11)
00:01.0 ISA bridge: OPTi Inc. 82C558 [Viper-M ISA+IDE] (rev 11)
00:02.0 VGA compatible controller: Trident Microsystems TGUI 
9660/968x/968x (rev d3)
00:07.0 Ethernet controller: VIA Technologies, Inc. Ethernet Controller 
(rev 43)
00:14.0 IDE interface: OPTi Inc. 82C621 (rev 11)

var/log/messages donne

Sep  3 22:32:26 sabb syslogd 1.4.1#10: restart.
Sep  3 22:32:27 sabb kernel: klogd 1.4.1#10, log source = /proc/kmsg 
started.
Sep  3 22:32:27 sabb kernel: Inspecting /boot/System.map-2.2.20
Sep  3 22:32:29 sabb kernel: Loaded 8726 symbols from 
/boot/System.map-2.2.20.
Sep  3 22:32:29 sabb kernel: Symbols match kernel version 2.2.20.
Sep  3 22:32:29 sabb kernel: Loaded 37 symbols from 5 modules.
Sep  3 22:32:29 sabb kernel: Linux version 2.2.20 (root at sabb) (gcc 
version 2.95.4 20011002 (Debian prerelease)) #1 SMP Sat Aug 31 16:49:31 
CEST 2002
Sep  3 22:32:29 sabb kernel: BIOS-provided physical RAM map:
Sep  3 22:32:29 sabb kernel:  BIOS-e801: 0009f000 @ 00000000 (usable)
Sep  3 22:32:29 sabb kernel:  BIOS-e801: 01700000 @ 00100000 (usable)
Sep  3 22:32:29 sabb kernel: mapped APIC to ffffe000 (002a2000)
Sep  3 22:32:29 sabb kernel: Detected 75171 kHz processor.
Sep  3 22:32:29 sabb kernel: Console: colour VGA+ 80x25
Sep  3 22:32:29 sabb kernel: Calibrating delay loop... 149.50 BogoMIPS
Sep  3 22:32:29 sabb kernel: Memory: 22252k/24576k available (1260k 
kernel code, 420k reserved, 560k data, 84k init)
Sep  3 22:32:29 sabb kernel: Dentry hash table entries: 4096 (order 3, 32k)
Sep  3 22:32:29 sabb kernel: Buffer cache hash table entries: 32768 
(order 5, 128k)
Sep  3 22:32:29 sabb kernel: Page cache hash table entries: 8192 (order 
3, 32k)
Sep  3 22:32:29 sabb kernel: Checking 386/387 coupling... OK, FPU using 
exception 16 error reporting.
Sep  3 22:32:29 sabb kernel: Checking 'hlt' instruction... OK.
Sep  3 22:32:29 sabb kernel: Checking for popad bug... OK.
Sep  3 22:32:29 sabb kernel: Intel Pentium with F0 0F bug - workaround 
enabled.
Sep  3 22:32:29 sabb kernel: POSIX conformance testing by UNIFIX
Sep  3 22:32:29 sabb kernel: per-CPU timeslice cutoff: 1.54 usecs.
Sep  3 22:32:29 sabb kernel: CPU0: Intel Pentium 75 - 200 stepping 05
Sep  3 22:32:29 sabb kernel: SMP motherboard not detected. Using dummy 
APIC emulation.
Sep  3 22:32:29 sabb kernel: PCI: PCI BIOS revision 2.00 entry at 0xfdadc
Sep  3 22:32:29 sabb kernel: PCI: Using configuration type 1
Sep  3 22:32:29 sabb kernel: PCI: Probing PCI hardware
Sep  3 22:32:29 sabb kernel: PCI: Enabling memory for device 00:38
Sep  3 22:32:29 sabb kernel: Linux NET4.0 for Linux 2.2
Sep  3 22:32:29 sabb kernel: Based upon Swansea University Computer 
Society NET3.039
Sep  3 22:32:29 sabb kernel: NET4: Unix domain sockets 1.0 for Linux NET4.0.
Sep  3 22:32:29 sabb kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Sep  3 22:32:29 sabb kernel: IP Protocols: ICMP, UDP, TCP
Sep  3 22:32:29 sabb kernel: TCP: Hash tables configured (ehash 32768 
bhash 32768)
Sep  3 22:32:29 sabb kernel: Starting kswapd v 1.5
Sep  3 22:32:29 sabb kernel: vga16fb: initializing
Sep  3 22:32:29 sabb kernel: vga16fb: mapped to 0xc00a0000
Sep  3 22:32:29 sabb kernel: Console: switching to colour frame buffer 
device 80x30
Sep  3 22:32:29 sabb kernel: fb0: VGA16 VGA frame buffer device
Sep  3 22:32:29 sabb kernel: Detected PS/2 Mouse Port.
Sep  3 22:32:29 sabb kernel: Serial driver version 4.27 with HUB-6 
MANY_PORTS MULTIPORT SHARE_IRQ enabled
Sep  3 22:32:29 sabb kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
Sep  3 22:32:29 sabb kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A
Sep  3 22:32:29 sabb kernel: pty: 256 Unix98 ptys configured
Sep  3 22:32:29 sabb kernel: RAM disk driver initialized:  16 RAM disks 
of 4096K size
Sep  3 22:32:29 sabb kernel: loop: registered device at major 7
Sep  3 22:32:29 sabb kernel: OPTI621: IDE controller on PCI bus 00 dev a0
Sep  3 22:32:29 sabb kernel: OPTI621: not 100%% native mode: will probe 
irqs later
Sep  3 22:32:29 sabb kernel:     ide0: BM-DMA at 0x80000000-0x80000007, 
BIOS settings: hda:pio, hdb:pio
Sep  3 22:32:29 sabb kernel:     ide1: BM-DMA at 0x80000008-0x8000000f, 
BIOS settings: hdc:pio, hdd:pio
Sep  3 22:32:29 sabb kernel: hda: QUANTUM TRB850A, ATA DISK drive
Sep  3 22:32:29 sabb kernel: hdd: IDE/ATAPI CD-ROM 40X, ATAPI CDROM drive
Sep  3 22:32:29 sabb kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Sep  3 22:32:29 sabb kernel: ide1 at 0x170-0x177,0x376 on irq 15
Sep  3 22:32:29 sabb kernel: hda: QUANTUM TRB850A, 810MB w/96kB Cache, 
CHS=972/28/61
Sep  3 22:32:29 sabb kernel: hdd: ATAPI 17X CD-ROM drive, 128kB Cache
Sep  3 22:32:29 sabb kernel: Uniform CD-ROM driver Revision: 3.11
Sep  3 22:32:29 sabb kernel: Floppy drive(s): fd0 is 1.44M
Sep  3 22:32:29 sabb kernel: FDC 0 is a post-1991 82077
Sep  3 22:32:29 sabb kernel: 3c59x.c 18Feb01 Donald Becker and others 
http://www.scyld.com/network/vortex.html
Sep  3 22:32:29 sabb kernel: pcnet32.c: PCI bios is present, checking 
for devices...
Sep  3 22:32:29 sabb kernel: via-rhine.c:v1.08b-LK1.0.1 12/14/2000 
Written by Donald Becker
Sep  3 22:32:29 sabb kernel:   http://www.scyld.com/network/via-rhine.html
Sep  3 22:32:29 sabb kernel: eth0: VIA VT6102 Rhine-II at 0x1000, 
00:50:ba:27:1c:ae, IRQ 11.
Sep  3 22:32:29 sabb kernel: eth0: MII PHY found at address 8, status 
0x782d advertising 01e1 Link 0021.
Sep  3 22:32:29 sabb kernel:   PCI latency timer (CFLT) is unreasonably 
low at 24.  Setting to 32 clocks.
Sep  3 22:32:29 sabb kernel: Partition check:
Sep  3 22:32:29 sabb kernel:  hda: hda1 hda2 < hda5 >
Sep  3 22:32:29 sabb kernel: apm: BIOS version 1.1 Flags 0x02 (Driver 
version 1.13)
Sep  3 22:32:29 sabb kernel: apm: disabled on user request.
Sep  3 22:32:29 sabb kernel: VFS: Mounted root (ext2 filesystem) readonly.
Sep  3 22:32:29 sabb kernel: Freeing unused kernel memory: 84k freed
Sep  3 22:32:29 sabb kernel: Adding Swap: 48640k swap-space (priority -1)
Sep  3 22:32:29 sabb kernel: nbd: registered device at major 43
Sep  3 22:32:29 sabb kernel: eepro_init_module: Auto-detecting boards 
(May God protect us...)
Sep  3 22:32:29 sabb kernel: CSLIP: code copyright 1989 Regents of the 
University of California
Sep  3 22:32:29 sabb kernel: PPP: version 2.3.7 (demand dialling)
Sep  3 22:32:29 sabb kernel: PPP line discipline registered.
Sep  3 22:32:29 sabb kernel: registered device ppp0
Sep  3 22:32:30 sabb pppd[263]: pppd 2.4.1 started by root, uid 0
Sep  3 22:32:30 sabb pppd[263]: Serial connection established.
Sep  3 22:32:30 sabb pppd[263]: Using interface ppp0
Sep  3 22:32:30 sabb pppd[263]: Connect: ppp0 <--> /dev/pts/0
Sep  3 22:32:33 sabb kernel: PPP BSD Compression module registered
Sep  3 22:32:34 sabb kernel: PPP Deflate Compression module registered
Sep  3 22:32:35 sabb pppd[263]: local  IP address 213.193.170.202
Sep  3 22:32:35 sabb pppd[263]: remote IP address 213.193.168.1
Sep  3 22:32:35 sabb pppd[263]: primary   DNS address 212.100.160.51
Sep  3 22:32:35 sabb pppd[263]: secondary DNS address 212.100.160.52
Sep  3 22:32:38 sabb kernel: SLIP: version 0.8.4-NET3.019-NEWTTY-MODULAR 
(dynamic channels, max=256).
Sep  3 22:32:38 sabb kernel: SLIP linefill/keepalive option.
Sep  3 22:32:38 sabb diald[280]: start sl0: SIOCSIFMETRIC: Operation not 
supported
Sep  3 22:32:38 sabb lpd[337]: restarted
Sep  3 22:33:54 sabb mc: /dev/gpmctl: Connection refused

/proc/interrupts

  CPU0
   0:      52776          XT-PIC  timer
   1:        381          XT-PIC  keyboard
   2:          0          XT-PIC  cascade
  10:        322          XT-PIC  eth1
  11:        330          XT-PIC  eth0
  13:          1          XT-PIC  fpu
  14:     180226          XT-PIC  ide0
  15:          7          XT-PIC  ide1
NMI:          0
ERR:          0

/proc/ioports

0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial(set)
0300-030f : eth1
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(set)
1000-10ff : eth0
80000000-80000007 : ide0
80000008-8000000f : ide1

uname -a

Linux sabb 2.2.20 #1 SMP Sat Aug 31 16:49:31 CEST 2002 i586 unknown


C'est un noyau que j'ai recompilé pour avoir l'ipforwarding. J'ai repris 
le kernel 2.2.20 proposé, la config du 2.2.20-idepci, et rajouté 
l'ipforwarding.

Au boot, il me donne un message (que je ne retrouve pas dans les var/log 
comme quoi il ne peut charger de l'ISDN, et qu'il n'en detecte pas (je 
sais pas lire assez vite ce qu'il dit exactement :-(

un "ps -A" a tout hasard
  PID TTY          TIME CMD
     1 ?        00:00:05 init
     2 ?        00:00:00 kflushd
     3 ?        00:00:00 kupdate
     4 ?        00:00:01 kswapd
     5 ?        00:00:00 keventd
   186 ?        00:00:00 portmap
   251 ?        00:00:00 syslogd
   254 ?        00:00:01 klogd
   262 ?        00:00:00 pppd
   263 ?        00:00:00 pppoe
   269 ?        00:00:00 rpc.statd
   279 ?        00:00:00 diald
   290 ?        00:00:00 inetd
   319 ?        00:00:00 lpd
   334 ?        00:00:00 safe_mysqld
   427 ?        00:00:00 mysqld
   488 ?        00:00:00 mysqld
   489 ?        00:00:00 mysqld
   503 ?        00:00:00 mysqld
   590 ?        00:00:00 wwwoffled
   617 ?        00:00:00 atd
   625 ?        00:00:00 cron
   660 ?        00:00:05 apache
   664 tty1     00:00:00 bash
   665 tty2     00:00:00 getty
   666 tty3     00:00:00 getty
   667 tty4     00:00:00 getty
   668 tty5     00:00:00 getty
   669 tty6     00:00:00 getty
   762 ?        00:00:00 apache
   763 ?        00:00:00 apache
   764 ?        00:00:00 apache
   765 ?        00:00:00 apache
   766 ?        00:00:00 apache
   885 tty1     00:00:03 mc
   887 ?        00:00:00 cons.saver
   892 pts/1    00:00:00 bash
   939 ?        00:00:00 apache
  1031 pts/1    00:00:00 ps

Qu'est ce que je peux virer (pour tester) et comment, car je ne sais 
plus quel est le fichier de démarage de tous ces programmes.

Voila voila voila,

merci d'avance.

-- 
by AlainBB
http://gallery.uunet.be/AlainBB mais aussi http://www.alainbb.easynet.be






Plus d'informations sur la liste de diffusion Linux-bruxelles