PDA

View Full Version : Il kernel 2.6.7 ha problemi?????


stefanoxjx
13-11-2004, 23:33
Ciao a tutti, ho di recente installato debian sarge e sono dovuto passare dal kernel 2.6.8.1 al 2.6.7 perchè il primo mi dava problemi nel riconoscere il mio hd esterno usb.
Dopo un anno di slackware 9.1 senza mai un blocco di sistema e dopo circa 10 giorni di debian, oggi di punto in bianco, mi sono trovato per ben 2 volte con il pc bloccato.
Ho dovuto anche tribolare perchè dopo un anno di inattività, il tasto di reset del mio pc era arruginito :D
Chiedevo se il kernel 2.6.7 che voi sappiate, può dare problemi simili.

Questo il risultato di dmesg dopo il secondo brutale reset:
: root=/dev/hda1 ro
Initializing CPU#0
PID hash table entries: 4096 (order 12: 32768 bytes)
Detected 2807.384 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
Memory: 1031320k/1047744k available (1515k kernel code, 15504k reserved, 662k data, 148k init, 130240k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 5570.56 BogoMIPS
Security Scaffold v1.0.0 initialized
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000
CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: After all inits, caps: bfebfbff 00000000 00000000 00000080
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU0: Thermal monitoring enabled
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz stepping 09
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
ENABLING IO-APIC IRQs
init IO_APIC IRQs
IO-APIC (apicid-pin) 2-0, 2-16, 2-17, 2-18, 2-19, 2-20, 2-21, 2-22, 2-23 not connected.
..TIMER: vector=0x31 pin1=2 pin2=-1
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 2805.0874 MHz.
..... host bus clock speed is 200.0419 MHz.
checking if image is initramfs...it isn't (ungzip failed); looks like an initrd
Freeing initrd memory: 4592k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xf0031, last bus=2
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P4._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 *11 12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: Found PnP BIOS installation structure at 0xc00f5580
PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0x616a, dseg 0xf0000
PNPBIOS fault.. attempting recovery.
PnPBIOS: Warning! Your PnP BIOS caused a fatal error. Attempting to continue
PnPBIOS: You may need to reboot with the "nobiospnp" option to operate stably
PnPBIOS: Check with your vendor for an updated BIOS
PnPBIOS: get_dev_node: unexpected status 0x28
PnPBIOS: 6 nodes reported by PnP BIOS; 6 recorded by driver
00:00:1f[A] -> 2-18 -> IRQ 18 level low
00:00:1f[B] -> 2-17 -> IRQ 17 level low
00:00:1d[A] -> 2-16 -> IRQ 16 level low
00:00:1d[B] -> 2-19 -> IRQ 19 level low
00:00:1d[D] -> 2-23 -> IRQ 23 level low
00:02:08[A] -> 2-20 -> IRQ 20 level low
00:02:09[A] -> 2-21 -> IRQ 21 level low
00:02:09[B] -> 2-22 -> IRQ 22 level low
number of MP IRQ sources: 15.
number of IO-APIC #2 registers: 24.
testing the IO APIC.......................
IO APIC #2......
.... register #00: 02000000
....... : physical APIC id: 02
....... : Delivery Type: 0
....... : LTS : 0
.... register #01: 00178020
....... : max redirection entries: 0017
....... : PRQ implemented: 1
....... : IO APIC version: 0020
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 001 01 0 0 0 0 0 1 1 39
02 001 01 0 0 0 0 0 1 1 31
03 001 01 0 0 0 0 0 1 1 41
04 001 01 0 0 0 0 0 1 1 49
05 001 01 0 0 0 0 0 1 1 51
06 001 01 0 0 0 0 0 1 1 59
07 001 01 0 0 0 0 0 1 1 61
08 001 01 0 0 0 0 0 1 1 69
09 001 01 0 1 0 0 0 1 1 71
0a 001 01 0 0 0 0 0 1 1 79
0b 001 01 0 0 0 0 0 1 1 81
0c 001 01 0 0 0 0 0 1 1 89
0d 001 01 0 0 0 0 0 1 1 91
0e 001 01 0 0 0 0 0 1 1 99
0f 001 01 0 0 0 0 0 1 1 A1
10 001 01 1 1 0 1 0 1 1 B9
11 001 01 1 1 0 1 0 1 1 B1
12 001 01 1 1 0 1 0 1 1 A9
13 001 01 1 1 0 1 0 1 1 C1
14 001 01 1 1 0 1 0 1 1 D1
15 001 01 1 1 0 1 0 1 1 D9
16 001 01 1 1 0 1 0 1 1 E1
17 001 01 1 1 0 1 0 1 1 C9
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
IRQ16 -> 0:16
IRQ17 -> 0:17
IRQ18 -> 0:18
IRQ19 -> 0:19
IRQ20 -> 0:20
IRQ21 -> 0:21
IRQ22 -> 0:22
IRQ23 -> 0:23
.................................... done.
PCI: Using ACPI for IRQ routing
highmem bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
devfs: 2004-01-31 Richard Gooch ([email protected])
devfs: boot_options: 0x0
Initializing Cryptographic API
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 48 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
serio: i8042 AUX port at 0x60,0x64 irq 12

Tenete presente, che oggi per la prima volta da quando ho installato debian, ho iniziato a masterizzare dei dvd e che nella slackware avevo ancora il kernel 2.4.22.

Thanks.

cdimauro
14-11-2004, 09:46
Su Fedora Core 2 per x86-64, a me il kernel 2.6.8-1521 si pianta a inizio boot, dicendomi di provare a disabilitare l'ACPI e di riportare il bug.
Fortunatamente è rimasto installato il 2.6.5-1358, per cui al boot ho scelto nuovamente questo e continuo a lavorare senza problemi, per cui ti consiglio di utilizzare questo kernel.

P.S. E' quasi un mese che ho questo problema, ma da allora Red Hat non ha rilasciato nessun aggiornamento del kernel per risolverlo.

Cosmo
14-11-2004, 12:38
Del dmesg non ce ne facciamo nulla - se non renderci conto che il supporto PnP del tuo BIOS è buggato - guarda in
/var/log/syslog
/var/log/message
/var/log/debug
se trovi qlcs di interessante e pastalo.
Dicci anche che kernel usi: compilato o immagine?
Se compilato che versione dei sorgenti?
Se immagine quale?
saluti

stefanoxjx
14-11-2004, 13:20
A parte la segnalazione inerente al PNP, non ho visto altro.
Ti allego il syslog, messages e debug del 13 novembre.
Uso un kernel 2.6.7-1 custom, perchè per installare i driver closed nvidia, ho dovuto ricompilarlo.
Non so se il bug del PNP salta fuori con il kernel 2.6.7, perchè finchè usavo slackware con kernel 2.4.22, non ho mai avuto di questi problemi.

Byez.

stefanoxjx
14-11-2004, 13:21
Per motivi di spazio, ti inserisco qui' il terzo file di log.
Ciao.

Cosmo
14-11-2004, 15:53
Cosa stavi facendo quando s'e' piantato?
saluti
ps mi confermi che hai compilato dai sorgenti del pacchetto:
kernel-source-2.6.7-1 ?

stefanoxjx
14-11-2004, 18:35
Questo è il contenuto della mia directory /usr/src, come pui vedere l'archivio dei sorgenti si chiama kernel-source-2.6.7.tar.bz2.

drwxr-xr-x 16 root root 496 2004-11-09 00:05 kernel-headers-2.6.7-1
drwxr-xr-x 3 root root 520 2004-11-09 00:05 kernel-headers-2.6.7-1-686
-rw-r--r-- 1 root src 14823456 2004-11-09 22:24 kernel-image-2.6.7686-nvidia_10.00.Custom_i386.deb
drwxr-xr-x 20 root root 1544 2004-11-09 22:24 kernel-source-2.6.7
-rw-r--r-- 1 root root 34440885 2004-07-13 13:09 kernel-source-2.6.7.tar.bz2
lrwxrwxrwx 1 root src 19 2004-11-09 21:44 linux -> kernel-source-2.6.7
drwxr-xr-x 3 root src 80 2004-08-05 23:09 modules
-rw-r--r-- 1 root src 986868 2004-11-09 21:11 nvidia-kernel-2.6.7_1.0.6111-1+10.00.Custom_i386.deb
-rw-r--r-- 1 root src 986886 2004-11-09 22:24 nvidia-kernel-2.6.7686-nvidia_1.0.6111-1+10.00.Custom_i386.deb
-rw-r--r-- 1 root root 1052357 2004-08-05 23:09 nvidia-kernel-source.tar.gz
drwxr-xr-x 7 root root 168 2004-11-06 12:41 rpm

Stavo masterizzando DVD, ma nel primo caso, stava facendo la verifica, mentre nel secondo caso, ha sicuramente portato a termine la masterizzazione, ma essendo che si è inchiodato nella videata dello screen saver, non so se si è bloccato durante la verifica o dopo.

Cosmo
14-11-2004, 19:17
Originariamente inviato da stefanoxjx
Stavo masterizzando DVD, ma nel primo caso, stava facendo la verifica, mentre nel secondo caso, ha sicuramente portato a termine la masterizzazione, ma essendo che si è inchiodato nella videata dello screen saver, non so se si è bloccato durante la verifica o dopo.

Infatti, s'e' piantato qui:
Nov 13 14:29:43 Goldrake kernel: hdd: irq timeout: status=0xd0 { Busy }
Nov 13 14:29:43 Goldrake kernel: hdd: irq timeout: error=0xd0LastFailedSense 0x0d
Nov 13 14:29:43 Goldrake kernel: hdd: DMA disabled
Nov 13 14:29:43 Goldrake kernel: hdd: ATAPI reset complete

Mi è successo alcune volte quando usavo il 2.4.x, l'emulazione scsi fa abbastanza schifo e infatti non viene più usata: hai utilizzato il .conf del vecchio kernel per compilare il nuovo?
Allega il tuo file di configurazione del kernel che hai in /boot.
Intanto ti consiglio di scaricare il kernel-source-2.6.8-8 che trovi in unstable e di compilare quello - magari aspetta ch'io abbia guardato il file di conf del kernel che usi ora.
saluti

Cosmo
14-11-2004, 19:21
... ma tu hai un biprocessore?
saluti

stefanoxjx
14-11-2004, 19:53
No, non ho un biprocessore, ho un semplice pentium 4 2.8ghz.
Inizialmente, usavo il kernel 2.6.8-1, ma ho dovuto passare al 2.6.7 perchè il primo non riusciva a gestirmi il disco usb esterno.

Ti allego il file di configurazione del kernel.
Grazie dell'aiuto.

ilsensine
15-11-2004, 11:38
Non abilitare entrambi ACPI e PNPBIOS.
Dubito che sia l'origine dei blocchi, ma non è corretto abilitarli entrambi (è stato impedito nel 2.6.10-rc2).