2 x Pentium II na p

Wszystko związane z jądrem systemowym, sterownikami, sprzętem itp.
mpn105
Posty: 13
Rejestracja: 06 stycznia 2010, 11:08

2 x Pentium II na płycie a Lenny widzi tylko 1 procesor

Post autor: mpn105 »

Witam.
Od razu zaznaczę, że jestem początkujący i temat lub jego rozwiązanie może wydać mi się skomplikowane ale z waszą pomocą zapewne uda się osiągnąć sukces.

A więc do rzeczy. Problem polega na rozpoznawaniu liczby procesorów przez Debiana 5.0.3.

Wczoraj ściągnąłem najnowszą wersję z zamiarem korzystania z serwera www php i mysql i zainstalowałem na starym serwerze wyposażonym w leciwe już pentium II 400Mhz 2 sztuki. No i problem polega na tym iż Debian widzi tylko jeden procesor.

I teraz proszę o pomoc. Jak go zmusić do zobaczenia dwóch procesorów. Nie mam żadnego KDE tylko konsolę. Miał to być typowy serwer bezobsługowy. Cały dostęp mam przez ssh.

Zainstalowany webmin w wersji 5 też pokazuje jeden procesor.

Wersja jądra: 2.6.26-2-686

Dodam Iż Ubuntu z live CD poprawnie pokazuje dwa procesory i z nich korzysta. Pod Ubuntu webmin też pokazuje dwa procesory.

Proszę o pomoc. Pozdrawiam.
nikt11
Posty: 26
Rejestracja: 08 października 2009, 10:46

Post autor: nikt11 »

mpn105 pisze:wersja jądra.
2.6.26-2-686
Czy ta wersja jest SMP?
mpn105
Posty: 13
Rejestracja: 06 stycznia 2010, 11:08

Post autor: mpn105 »

Nie wiem. A jak to sprawdzić?
nikt11
Posty: 26
Rejestracja: 08 października 2009, 10:46

Post autor: nikt11 »

mpn105 pisze:A jak to sprawdzić ?

Kod: Zaznacz cały

uname -a
Jeżeli nie zobaczysz SMP to znaczy, że musisz zainstalować wersję z SMP (np. linux-image-2.6-686-smp).
mpn105
Posty: 13
Rejestracja: 06 stycznia 2010, 11:08

Post autor: mpn105 »

Kod: Zaznacz cały

uname -a 
Linux baza 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2009 i686 GNU/Linux
To znaczy że wersja jądra obsługuje SMP?
nikt11
Posty: 26
Rejestracja: 08 października 2009, 10:46

Post autor: nikt11 »

Tak, a na jakiej podstawie twierdzisz, że debian widzi tylko jeden procesor?

Kod: Zaznacz cały

cat /proc/cpuinfo
mpn105
Posty: 13
Rejestracja: 06 stycznia 2010, 11:08

Post autor: mpn105 »

W webminie widać komunikat:

Kod: Zaznacz cały

Processor information 	Pentium II (Deschutes), 1 cores
W Ubuntu widać wtedy ,,2 cores''.

Kod: Zaznacz cały

cat /proc/cpuinfo

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 5
model name      : Pentium II (Deschutes)
stepping        : 2
cpu MHz         : 391.962
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr up
bogomips        : 785.64
clflush size    : 32
power management:
nikt11
Posty: 26
Rejestracja: 08 października 2009, 10:46

Post autor: nikt11 »

Sprawdź czy podczas startu coś nie wyłącza 1 cpu:

Kod: Zaznacz cały

dmesg
czasami ACPI może coś popsuć, spróbuj uruchomić z wyłączonym ACPI.
mpn105
Posty: 13
Rejestracja: 06 stycznia 2010, 11:08

Post autor: mpn105 »

Kod: Zaznacz cały

dmesg
[    0.196892] system 00:06: iomem range 0xe8000-0xeffff has been reserved
[    0.196910] system 00:06: iomem range 0xf0000-0xf3fff could not be reserved
[    0.196927] system 00:06: iomem range 0xf4000-0xf7fff could not be reserved
[    0.196945] system 00:06: iomem range 0xf8000-0xfffff could not be reserved
[    0.196962] system 00:06: iomem range 0xcd000-0xcffff has been reserved
[    0.196981] system 00:06: iomem range 0xfec00000-0xfec00fff could not be reserved
[    0.197000] system 00:06: iomem range 0xfee00000-0xfee00fff could not be reserved
[    0.197019] system 00:06: iomem range 0xfffe0000-0xffffffff could not be reserved
[    0.197079] system 00:0f: ioport range 0x290-0x297 has been reserved
[    0.197098] system 00:0f: ioport range 0xe400-0xe43f has been reserved
[    0.197116] system 00:0f: ioport range 0xe800-0xe83f could not be reserved
[    0.230033] PCI: Bridge: 0000:00:01.0
[    0.230050]   IO window: d000-dfff
[    0.230067]   MEM window: 0xe5000000-0xe5dfffff
[    0.230083]   PREFETCH window: 0x00000000e5f00000-0x00000000e77fffff
[    0.230221] NET: Registered protocol family 2
[    0.230787] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.232111] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.232816] TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
[    0.233500] TCP: Hash tables configured (established 16384 bind 16384)
[    0.233516] TCP reno registered
[    0.233982] NET: Registered protocol family 1
[    0.234608] checking if image is initramfs...<7>Switched to high resolution mode on CPU 0
[    1.679765]  it is
[    3.328148] Freeing initrd memory: 6021k freed
[    3.329014] Simple Boot Flag at 0x46 set to 0x1
[    3.332269] audit: initializing netlink socket (disabled)
[    3.332347] type=2000 audit(1262757115.332:1): initialized
[    3.333009] Total HugeTLB memory allocated, 0
[    3.333418] VFS: Disk quotas dquot_6.5.1
[    3.333596] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    3.333805] msgmni has been set to 881
[    3.334490] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    3.334512] io scheduler noop registered
[    3.334524] io scheduler anticipatory registered
[    3.334537] io scheduler deadline registered
[    3.334601] io scheduler cfq registered (default)
[    3.334647] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    3.334822] pci 0000:01:00.0: Boot video device
[    3.336887] isapnp: Scanning for PnP cards...
[    3.691915] isapnp: No Plug & Play device found
[    3.711721] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[    3.712199] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    3.712602] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[    3.714309] 00:02: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    3.715062] 00:03: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[    3.726414] brd: module loaded
[    3.727085] PNP: PS/2 Controller [PNP0303,PNP0f13] at 0x60,0x64 irq 1,12
[    3.730406] serio: i8042 KBD port at 0x60,0x64 irq 1
[    3.730439] serio: i8042 AUX port at 0x60,0x64 irq 12
[    3.731437] mice: PS/2 mouse device common for all mice
[    3.732328] rtc_cmos 00:09: rtc core: registered rtc_cmos as rtc0
[    3.732387] rtc0: alarms up to one day
[    3.732645] cpuidle: using governor ladder
[    3.732662] cpuidle: using governor menu
[    3.732690] No iBFT detected.
[    3.735398] TCP cubic registered
[    3.735417] NET: Registered protocol family 17
[    3.735451] Using IPI No-Shortcut mode
[    3.736370] registered taskstats version 1
[    3.736905] rtc_cmos 00:09: setting system clock to 2010-01-06 05:51:56 UTC (1262757116)
[    3.738171] Freeing unused kernel memory: 244k freed
[    3.760356] input: AT Translated Set 2 keyboard as /class/input/input0
[    4.298039] thermal: Unknown symbol acpi_processor_set_thermal_limit
[    6.313665] Uniform Multi-Platform E-IDE driver
[    6.313694] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[    6.646411] usbcore: registered new interface driver usbfs
[    6.646566] usbcore: registered new interface driver hub
[    6.646844] usbcore: registered new device driver usb
[    6.762328] SCSI subsystem initialized
[    6.779712] 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
[    6.779812] 8139cp 0000:00:0b.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
[    6.779909] 8139cp 0000:00:0b.0: Try the "8139too" driver instead.
[    6.786657] PIIX4: IDE controller (0x8086:0x7111 rev 0x01) at  PCI slot 0000:00:04.1
[    6.786717] PIIX4: not 100% native mode: will probe irqs later
[    6.786753]     ide0: BM-DMA at 0xb800-0xb807
[    6.786784]     ide1: BM-DMA at 0xb808-0xb80f
[    6.786804] Probing IDE interface ide0...
[    6.828847] USB Universal Host Controller Interface driver v3.0
[    6.833366] FDC 0 is a post-1991 82077
[    6.852316] 8139too Fast Ethernet driver 0.9.28
[    7.352219] Probing IDE interface ide1...
[    8.088245] hdc: LITE-ON LTR-52327S, ATAPI CD/DVD-ROM drive
[    8.760217] hdc: host max PIO4 wanted PIO255(auto-tune) selected PIO4
[    8.760377] hdc: UDMA/33 mode selected
[    8.760596] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[    8.760687] ide1 at 0x170-0x177,0x376 on irq 15
[    8.761433] uhci_hcd 0000:00:04.2: UHCI Host Controller
[    8.761761] uhci_hcd 0000:00:04.2: new USB bus registered, assigned bus number 1
[    8.761838] uhci_hcd 0000:00:04.2: irq 5, io base 0x0000b400
[    8.762321] usb usb1: configuration #1 chosen from 1 choice
[    8.762495] hub 1-0:1.0: USB hub found
[    8.762554] hub 1-0:1.0: 2 ports detected
[    8.864581] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[    8.864602] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.864618] usb usb1: Product: UHCI Host Controller
[    8.864630] usb usb1: Manufacturer: Linux 2.6.26-2-686 uhci_hcd
[    8.864643] usb usb1: SerialNumber: 0000:00:04.2
[   24.080076] scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
[   24.080088]         <Adaptec aic7890/91 Ultra2 SCSI adapter>
[   24.080096]         aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
[   24.080105]
[   24.084519] uhci_hcd 0000:00:09.0: UHCI Host Controller
[   24.084696] uhci_hcd 0000:00:09.0: new USB bus registered, assigned bus number 2
[   24.084767] uhci_hcd 0000:00:09.0: irq 5, io base 0x0000a800
[   24.085266] usb usb2: configuration #1 chosen from 1 choice
[   24.085442] hub 2-0:1.0: USB hub found
[   24.085500] hub 2-0:1.0: 2 ports detected
[   24.188361] scsi 0:0:0:0: Direct-Access     SEAGATE  ST39236LW        0010 PQ: 0 ANSI: 3
[   24.188409] scsi0:A:0:0: Tagged Queuing enabled.  Depth 8
[   24.188482]  target0:0:0: Beginning Domain Validation
[   24.189114] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[   24.189134] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   24.189150] usb usb2: Product: UHCI Host Controller
[   24.189163] usb usb2: Manufacturer: Linux 2.6.26-2-686 uhci_hcd
[   24.189176] usb usb2: SerialNumber: 0000:00:09.0
[   24.189490] uhci_hcd 0000:00:09.1: UHCI Host Controller
[   24.189639] uhci_hcd 0000:00:09.1: new USB bus registered, assigned bus number 3
[   24.189778] uhci_hcd 0000:00:09.1: irq 11, io base 0x0000a400
[   24.190323] usb usb3: configuration #1 chosen from 1 choice
[   24.190495] hub 3-0:1.0: USB hub found
[   24.190552] hub 3-0:1.0: 2 ports detected
[   24.199303]  target0:0:0: wide asynchronous
[   24.209006]  target0:0:0: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 31)
[   24.209916] libata version 3.00 loaded.
[   24.220187]  target0:0:0: Domain Validation skipping write tests
[   24.220207]  target0:0:0: Ending Domain Validation
[   24.292562] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[   24.292585] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   24.292601] usb usb3: Product: UHCI Host Controller
[   24.292614] usb usb3: Manufacturer: Linux 2.6.26-2-686 uhci_hcd
[   24.292627] usb usb3: SerialNumber: 0000:00:09.1
[   24.292863] ehci_hcd 0000:00:09.2: EHCI Host Controller
[   24.293018] ehci_hcd 0000:00:09.2: new USB bus registered, assigned bus number 4
[   24.293196] ehci_hcd 0000:00:09.2: irq 10, io mem 0xe4000000
[   24.304061] ehci_hcd 0000:00:09.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[   24.304434] usb usb4: configuration #1 chosen from 1 choice
[   24.304617] hub 4-0:1.0: USB hub found
[   24.304675] hub 4-0:1.0: 4 ports detected
[   24.408493] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[   24.408514] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   24.408529] usb usb4: Product: EHCI Host Controller
[   24.408542] usb usb4: Manufacturer: Linux 2.6.26-2-686 ehci_hcd
[   24.408555] usb usb4: SerialNumber: 0000:00:09.2
[   24.414487] eth0: RealTek RTL8139 at 0xa000, 00:06:4f:01:5d:42, IRQ 10
[   24.414506] eth0:  Identified 8139 chip type 'RTL-8139C'
[   24.623100] hdc: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache
[   24.623135] Uniform CD-ROM driver Revision: 3.20
[   25.077623] scsi: waiting for bus probes to complete ...
[   27.927422] Driver 'sd' needs updating - please use bus_type methods
[   27.934183] sd 0:0:0:0: [sda] 17942584 512-byte hardware sectors (9187 MB)
[   27.935903] sd 0:0:0:0: [sda] Write Protect is off
[   27.935924] sd 0:0:0:0: [sda] Mode Sense: 9f 00 10 08
[   27.936792] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, supports DPO and FUA
[   27.936792] sd 0:0:0:0: [sda] 17942584 512-byte hardware sectors (9187 MB)
[   27.938380] sd 0:0:0:0: [sda] Write Protect is off
[   27.938380] sd 0:0:0:0: [sda] Mode Sense: 9f 00 10 08
[   27.938380] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, supports DPO and FUA
[   27.938380]  sda: sda1 sda2 < sda5 >
[   27.948026] sd 0:0:0:0: [sda] Attached SCSI disk
[   28.262076] PM: Starting manual resume from disk
[   28.367572] EXT3-fs: INFO: recovery required on readonly filesystem.
[   28.367595] EXT3-fs: write access will be enabled during recovery.
[   38.868017] kjournald starting.  Commit interval 5 seconds
[   38.868017] EXT3-fs: sda1: orphan cleanup on readonly fs
[   38.868017] ext3_orphan_cleanup: deleting unreferenced inode 48585
[   38.868017] ext3_orphan_cleanup: deleting unreferenced inode 48584
[   38.868017] ext3_orphan_cleanup: deleting unreferenced inode 48583
[   38.868017] ext3_orphan_cleanup: deleting unreferenced inode 48582
[   38.868017] ext3_orphan_cleanup: deleting unreferenced inode 48581
[   38.868017] EXT3-fs: sda1: 5 orphan inodes deleted
[   38.868017] EXT3-fs: recovery complete.
[   39.256018] EXT3-fs: mounted filesystem with ordered data mode.
[   41.354379] udevd version 125 started
[   45.345959] input: PC Speaker as /class/input/input1
[   46.239024] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[   46.382252] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[   46.756640] Linux agpgart interface v0.103
[   46.956155] agpgart: Detected an Intel 440BX Chipset.
[   46.958307] agpgart: AGP aperture is 4M @ 0xe7800000
[   47.020554] piix4_smbus 0000:00:04.3: Found 0000:00:04.3 device
[   47.590846] parport_pc 00:01: reported by Plug and Play BIOS
[   47.591033] parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE,EPP]
[   48.248356] Error: Driver 'pcspkr' is already registered, aborting...
[   48.411820] input: ImPS/2 Generic Wheel Mouse as /class/input/input2
[   50.373515] Adding 425680k swap on /dev/sda5.  Priority:-1 extents:1 across:425680k
[   50.720031] EXT3 FS on sda1, internal journal
[   51.460427] loop: module loaded
[   53.621194] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[   56.763463] NET: Registered protocol family 10
[   56.766062] lo: Disabled Privacy Extensions
[   64.553225] warning: `proftpd' uses 32-bit capabilities (legacy support in use)
[   67.600044] eth0: no IPv6 routers present
[12305.850485] scsi0: PCI error Interrupt at seqaddr = 0x9
[12305.850485] scsi0: Data Parity Error Detected during address or write data phase
[18415.182328] ip_tables: (C) 2000-2006 Netfilter Core Team
nikt11
Posty: 26
Rejestracja: 08 października 2009, 10:46

Post autor: nikt11 »

To ewidentny problem konfiguracji - bo na ubuntu działa.
Próbowałeś uruchomić z wyłączonym acpi (acpi=off w grub)?
ODPOWIEDZ