View previous topic :: View next topic |
Author |
Message |
Dragonix Apprentice
Joined: 21 May 2006 Posts: 253 Location: Germany
|
Posted: Fri Sep 08, 2006 3:41 pm Post subject: kernel > 2.6.16 problem with Promise TX2 |
|
|
Hi,
I reinstalled gentoo on my machen and also updated my kernel to 2.6.17-r7 but with this kernel it crashes when i activate:
Device Drivers --->
SCSI device support --->
<*> SCSI disk support
SCSI low-level drivers --->
<*> Serial ATA (SATA) support
<*> Promise SATA [b]TX2[b]/TX4 support
I get an kernel panic on the next reboot (sorry that i can only post the last line, but the font is to big and syslog isn't started yet (at least i think that^^): <0> kernel panic - not syncing: attempted to kill init! [afair that doesnt tell you anything, right?])
When i compile it as a module, i get the following error when loading it:
Quote: |
Sep 8 16:55:23 LPhoenix sata_promise 0000:00:0d.0: version 1.04
Sep 8 16:55:23 LPhoenix GSI 19 sharing vector 0xC1 and IRQ 19
Sep 8 16:55:23 LPhoenix ACPI: PCI Interrupt 0000:00:0d.0[A] -> GSI 17 (level, low) -> IRQ 193
Sep 8 16:55:23 LPhoenix sata_promise PATA port found
Sep 8 16:55:23 LPhoenix ata1: SATA max UDMA/133 cmd 0xFFFFC200001E2200 ctl 0xFFFFC200001E2238 bmdma 0x0 irq 193
Sep 8 16:55:23 LPhoenix ata2: SATA max UDMA/133 cmd 0xFFFFC200001E2280 ctl 0xFFFFC200001E22B8 bmdma 0x0 irq 193
Sep 8 16:55:23 LPhoenix ata3: SATA max UDMA/133 cmd 0xFFFFC200001E2300 ctl 0xFFFFC200001E2338 bmdma 0x0 irq 193
Sep 8 16:55:23 LPhoenix ata1: SATA link up 1.5 Gbps (SStatus 113)
Sep 8 16:55:23 LPhoenix ata1: dev 0 cfg 49:2f00 82:746b 83:7f01 84:4023 85:7469 86:3c01 87:4023 88:80ff
Sep 8 16:55:23 LPhoenix ata1: dev 0 ATA-7, max UDMA7, 390721968 sectors: LBA48
Sep 8 16:55:23 LPhoenix ata1: dev 0 configured for UDMA/133
Sep 8 16:55:23 LPhoenix scsi0 : sata_promise
Sep 8 16:55:24 LPhoenix ata2: SATA link up 1.5 Gbps (SStatus 113)
Sep 8 16:55:24 LPhoenix ata2: dev 0 cfg 49:2f00 82:746b 83:7f01 84:4023 85:7469 86:3c01 87:4023 88:80ff
Sep 8 16:55:24 LPhoenix ata2: dev 0 ATA-7, max UDMA7, 488397168 sectors: LBA48
Sep 8 16:55:24 LPhoenix ata2: dev 0 configured for UDMA/133
Sep 8 16:55:24 LPhoenix scsi1 : sata_promise
Sep 8 16:55:24 LPhoenix Unable to handle kernel NULL pointer dereference at 0000000000000008 RIP:
Sep 8 16:55:24 LPhoenix <ffffffff880025bb>{:sata_promise:pdc_sata_scr_write+21}
Sep 8 16:55:24 LPhoenix PGD 3f6b7067 PUD 3e80b067 PMD 0
Sep 8 16:55:24 LPhoenix Oops: 0002 [1]
Sep 8 16:55:24 LPhoenix CPU 0
Sep 8 16:55:24 LPhoenix Modules linked in: sata_promise
Sep 8 16:55:24 LPhoenix Pid: 4575, comm: modprobe Not tainted 2.6.17-gentoo-r7 #5
Sep 8 16:55:24 LPhoenix RIP: 0010:[<ffffffff880025bb>] <ffffffff880025bb>{:sata_promise:pdc_sata_scr_write+21}
Sep 8 16:55:24 LPhoenix RSP: 0018:ffff81003f70dc80 EFLAGS: 00010202
Sep 8 16:55:24 LPhoenix RAX: 0000000000000008 RBX: ffff81003e885c68 RCX: 00000000a6918944
Sep 8 16:55:24 LPhoenix RDX: 0000000000000300 RSI: 0000000000000002 RDI: ffff81003e885c68
Sep 8 16:55:24 LPhoenix RBP: 00000000ffff4f0f R08: 0000000000000000 R09: ffff81000220ae60
Sep 8 16:55:24 LPhoenix R10: ffff81003ffeeb00 R11: 000000000000000c R12: ffff81003f438000
Sep 8 16:55:24 LPhoenix R13: ffff81003f68c540 R14: ffff81003f454dd0 R15: ffff81003f454d88
Sep 8 16:55:24 LPhoenix FS: 00002ac1018d8ae0(0000) GS:ffffffff80706000(0000) knlGS:0000000000000000
Sep 8 16:55:24 LPhoenix CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Sep 8 16:55:24 LPhoenix CR2: 0000000000000008 CR3: 000000003fd92000 CR4: 00000000000006e0
Sep 8 16:55:24 LPhoenix Process modprobe (pid: 4575, threadinfo ffff81003f70c000, task ffff81003ff9a710)
Sep 8 16:55:24 LPhoenix Stack: ffffffff8041acd3 ffff81003e885c68 ffff81003e885c68 ffff81003f454dc8
Sep 8 16:55:24 LPhoenix ffffffff8041ad9f ffff81003e885c68 ffffffff8041c6a1 0000000000000000
Sep 8 16:55:24 LPhoenix ffff81000205f870 00000001ffff4971
Sep 8 16:55:24 LPhoenix Call Trace: <ffffffff8041acd3>{__sata_phy_reset+100}
Sep 8 16:55:24 LPhoenix <ffffffff8041ad9f>{sata_phy_reset+9} <ffffffff8041c6a1>{ata_device_add+947}
Sep 8 16:55:24 LPhoenix <ffffffff8022d2e1>{process_timeout+0} <ffffffff88002b20>{:sata_promise:pdc_ata_init_one+917}
Sep 8 16:55:24 LPhoenix <ffffffff8035afa8>{pci_device_probe+76} <ffffffff803be90c>{driver_probe_device+82}
Sep 8 16:55:24 LPhoenix <ffffffff803bea37>{__driver_attach+107} <ffffffff803be9cc>{__driver_attach+0}
Sep 8 16:55:24 LPhoenix <ffffffff803be311>{bus_for_each_dev+67} <ffffffff803bdf7f>{bus_add_driver+126}
Sep 8 16:55:24 LPhoenix <ffffffff8035b117>{__pci_register_driver+65} <ffffffff8023b089>{sys_init_module+4401}
Sep 8 16:55:24 LPhoenix <ffffffff8020940a>{system_call+126}
Sep 8 16:55:24 LPhoenix
Sep 8 16:55:24 LPhoenix Code: 89 10 c3 41 55 41 54 55 48 89 fd 53 48 83 ec 08 9c 41 5d fa
Sep 8 16:55:24 LPhoenix RIP <ffffffff880025bb>{:sata_promise:pdc_sata_scr_write+21} RSP <ffff81003f70dc80>
Sep 8 16:55:24 LPhoenix CR2: 0000000000000008
|
What can I do, is that a known problem?
With 2.6.16-r13 everythings working, but I can't use it (of course i can, but it's useless to me to work without it...) because the "via-agpgart" is missing(???...). But the sd* are there...
My Hardware:
-MSI K8TNeo 2 FIR (including a Promise controller, PDC20579 (aka TX2))
-Via K8t800Pro chipset
-AMD Athlon64 3200+ (Winchester)
German Translation:
Hallo,
Ich hab neulich gentoo auf meinem Rechner neuinstalliert, dabei hab ich auch den neuen 2.6.17-r7 kernel verwendet. Allerdings crasht der kernel (beim booten) mit einem Kernel Panic wenn ich folgendes (für meinen promise sx2 / pdc 20579 controller) aktiviere:
Device Drivers --->
SCSI device support --->
<*> SCSI disk support
SCSI low-level drivers --->
<*> Serial ATA (SATA) support
<*> Promise SATA [b]TX2[b]/TX4 support
Der Kernel Panic lautet wiefolgt:
<0> kernel panic - not syncing: attempted to kill init! [afair hilft euch das allerdings nicht viel...]
Wenn ichs als module kompilere, entsteht obiges (beim modproben)(die lange quote oben, wills nicht nochmal einfügen...)
Könnt ihr mir helfen (muss ich vlt nochwas mitkompilern?)? Ist das ein bekanntes Problem?
Mit dem 2.6.16-r13 kernel geht (fast) alles, aber ich kann ihn nicht verwenden, da der "via agpgart" nicht vorhanden ist (oder muss ich noch was aktivieren das er sichtbar wird, atm ist da blos intel). Die sd* von ihm sind aber da...
Hardware steht oben.
Thx!
Edit\ I've installed the last Vanilla sources (the last 2.6.17) and there's no error, but 1 hdd missing (the 2 satas are there, but not the ide device)... |
|
Back to top |
|
|
lesserwhirls n00b
Joined: 11 Sep 2006 Posts: 5
|
Posted: Mon Sep 11, 2006 2:37 am Post subject: |
|
|
Greetings!
I was getting the same kernel panic when I tried to go from 2.6.16-r13 to 2.6.17-r4 and I could never get it to work. I had hopes that things would work when I saw 2.6.17-r7 marked as stable, but I still have the same problem. It looks like the sata_promise.c code under the 'kernel'/drivers/scsi/ directory was updated from version 1.03 to 1.04 and it now explicitly handles the pdc 2057x controller (among the addition of a few other controllers). Is it possible that there is an error in the sata_promise.c code? I'm new to gentoo, so I am not sure where to go from here.
My basic setup is:
Soltek SL-K8TPro-939
AMD64 3000+
North Bridge VIA K8T800
SATA RAID CONTROLLER PDC20579 |
|
Back to top |
|
|
Dragonix Apprentice
Joined: 21 May 2006 Posts: 253 Location: Germany
|
Posted: Wed Sep 13, 2006 12:49 pm Post subject: |
|
|
Yes, that could be, but I'm also not that leet to know that^^
Some other people with that controller have the same probleme...
btw, have you tried the vanilla kernel? He's working for me (at least i can boot with him^^, one hdd is missing...) |
|
Back to top |
|
|
lesserwhirls n00b
Joined: 11 Sep 2006 Posts: 5
|
Posted: Wed Sep 13, 2006 1:26 pm Post subject: |
|
|
The newest stable vanilla kernel (2.6.16.19) works fine, but it uses the older version (1.03) of the sata_promise driver. I'm going to try one of the newer vanilla kernels, hopefully tonight. |
|
Back to top |
|
|
Dragonix Apprentice
Joined: 21 May 2006 Posts: 253 Location: Germany
|
Posted: Wed Sep 13, 2006 5:47 pm Post subject: |
|
|
I tried the last stable 2.17.* and it worked, but as already mentioned: The HDDs at the IDE port are not recorgnized... |
|
Back to top |
|
|
lesserwhirls n00b
Joined: 11 Sep 2006 Posts: 5
|
Posted: Thu Sep 14, 2006 3:04 am Post subject: |
|
|
I was able to use the vanilla kernel 2.6.17.7 without any problems (sata only, I do not have any ide hdds), but the 2.6.17-r7 gentoo kernel does not work...I think things are above my head now. There are differences in the sata_promise.c code between the two kernel sources, but debugging a driver is beyond me. |
|
Back to top |
|
|
Dragonix Apprentice
Joined: 21 May 2006 Posts: 253 Location: Germany
|
Posted: Sat Sep 23, 2006 6:19 pm Post subject: |
|
|
No new ideas?
Can someone tell me what happend to via-agpgart in 2.6.16?
btw, with the marked 2.6.18 same problem.... |
|
Back to top |
|
|
lesserwhirls n00b
Joined: 11 Sep 2006 Posts: 5
|
Posted: Tue Sep 26, 2006 2:25 pm Post subject: |
|
|
Sorry to leave you hanging! I've posted a bug report about the sata_promise driver on bugzilla and the developers are looking into it.
https://bugs.gentoo.org/show_bug.cgi?id=148059
Unfortunately, I do not know anything about via-agpgart so I can't offer any help. |
|
Back to top |
|
|
Dragonix Apprentice
Joined: 21 May 2006 Posts: 253 Location: Germany
|
Posted: Fri Sep 29, 2006 9:23 pm Post subject: |
|
|
Thanx
The agpgart problem solved itself, i misinterpreted [(did something wrong)] something |
|
Back to top |
|
|
|