View previous topic :: View next topic |
Author |
Message |
NSpacer n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Marvel/movie_x-men_professor_x_2.gif)
Joined: 31 Mar 2003 Posts: 72 Location: Frisco, TX, USA
|
Posted: Sun Jun 11, 2006 6:43 am Post subject: HPT RAID error. [SOLVED] |
|
|
I've got an older DFI LanParty NFII-Ultra board with an HPT RAID controller built on that I'm trying to get to work.
From lspci:
Code: | 01:0b.0 RAID bus controller: Triones Technologies, Inc. HPT372A/372N (rev 02) |
The current kernel that I'm using is the Gentoo 2.6.16-r9 kernel. I've downloaded the opensource driver from the highpoint site to compile. I've disabled the in-kernel hpt366 driver since it just has not worked because it just throws a kernel panic. Even the liveCD will throw a kernel panic and I've read elsewhere that it just doesn't seem to work for anyone.
I modified the makefile for this so that it will default build to facilitate PATA RAID. Here is the output from the make:
Code: | cp -f raid.o raid.obj
make -C /usr/src/linux SUBDIRS="'pwd' modules
make[1]: Entering directory '/usr/src/linux-2.6.16-gentoo-r9'
CC [M] /home/dan/RAID/hpt.o
LD [M] /home/dan/RAID/hpt374.o
Building modules, stage 2.
MODPOST
CC /home/dan/RAID/hpt374.mod.o
LD [M] /home/dan/RAID/hpt374.ko
make[1]: Leaving directory '/usr/src/linux-2.6.16-gentoo-r9'
|
But, when I do and insmod I get the following error:
Code: | PartyBoy RAID # insmod ./hpt374.ko
insmod: error inserting './hpt374.ko': -1 No such device
|
Anybody have any idea where to go from here?
Last edited by NSpacer on Mon Jun 12, 2006 2:06 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54830 Location: 56N 3W
|
Posted: Sun Jun 11, 2006 9:53 am Post subject: |
|
|
NSpacer,
Your raid controller is BIOS or fakeraid. Unless you need to share the raid with Windows, you should use the controller as any other IDE drive controller and use kernel raid. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NSpacer n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Marvel/movie_x-men_professor_x_2.gif)
Joined: 31 Mar 2003 Posts: 72 Location: Frisco, TX, USA
|
Posted: Sun Jun 11, 2006 10:38 pm Post subject: |
|
|
Well, I was trying that first... But, people had run into similar issues of SERIOUS hanging when compiling hpt366.o into the kernel. And, I'd run across the same as well.
So, I tried compiling it as a module to add after boot... Only it seems to puke pretty hard.
From dmesg :
Code: | HPT372A: IDE controller at PCI slot 0000:01:0b.0
ACPI: PCI Interrupt 0000:01:0b.0[A] -> Link [LNK4] -> GSI 11 (level, low) -> IRQ 11
HPT372A: chipset revision 2
HPT372A: 100% native mode on irq 11
hpt: HPT372N detected, using 372N timing.
FREQ: 123 PLL: 45
No Clock Stabilization!!!
hpt: no known IDE timings, disabling DMA.
hpt: HPT372N detected, using 372N timing.
FREQ: 158 PLL: 66
No Clock Stabilization!!!
hpt: no known IDE timings, disabling DMA.
Probing IDE interface ide2...
hde: WDC WD2500LB-55EDA0, ATA DISK drive
hdf: WDC WD2500LB-55EDA0, ATA DISK drive
Unable to handle kernel NULL pointer dereference at virtual address 00000000
printing eip:
f886e3a9
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: hpt366 rt2500
CPU: 0
EIP: 0060:[<f886e3a9>] Not tainted VLI
EFLAGS: 00010286 (2.6.16-gentoo-r9 #4)
EIP is at pci_bus_clock_list+0x9/0x30 [hpt366]
eax: 00000000 ebx: 00000051 ecx: 0000000c edx: f78213e0
esi: 30070000 edi: c2311400 ebp: 00000040 esp: f76c3de8
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 5857, threadinfo=f76c2000 task=f77aba50)
Stack: <0>f886e7a5 0000000c 00000000 00000051 00000000 0000000c 0c006c3e f78213e0
00000000 005c1d3c c05c1d3c c049e479 f7006c3e c05c1ca8 c03359f8 c05c1d3c
0000000c 00000001 0000000b 0000000b 0000000b 00000282 00000001 c033949b
Call Trace:
[<f886e7a5>] hpt372_tune_chipset+0xe5/0x160 [hpt366]
[<c03359f8>] probe_hwif+0x328/0x4c0
[<c033949b>] do_ide_setup_pci_device+0x9b/0x1a0
[<c0335ba5>] probe_hwif_init_with_fixup+0x15/0x80
[<c03395fc>] ide_setup_pci_device+0x5c/0xa0
[<c0293275>] __pci_device_probe+0x65/0x80
[<c02932bf>] pci_device_probe+0x2f/0x60
[<c0318e09>] driver_probe_device+0x99/0xf0
[<c0318ee0>] __driver_attach+0x0/0x70
[<c0318f47>] __driver_attach+0x67/0x70
[<c031821d>] bus_for_each_dev+0x5d/0x80
[<c0318f76>] driver_attach+0x26/0x30
[<c0318ee0>] __driver_attach+0x0/0x70
[<c03187d3>] bus_add_driver+0x83/0xe0
[<c03194b1>] driver_register+0x61/0xa0
[<c0319430>] klist_devices_get+0x0/0x10
[<c0319440>] klist_devices_put+0x0/0x10
[<c0293564>] __pci_register_driver+0x54/0x90
[<f8870487>] hpt366_ide_init+0x17/0x1c [hpt366]
[<c01358a9>] sys_init_module+0x109/0x170
[<c010316b>] sysenter_past_esp+0x54/0x75
Code: 26 00 89 74 24 04 83 c5 04 89 1c 24 e8 71 ec a1 c7 85 c0 75 c3 8b 75 00 85 f6 75 e6 eb a4 8d 74 26 00 8b 44 24 08 0f b6 4c 24 04 <0f> b6 10 84 d2 74 0e 38 ca 74 0e 83 c0 08 0f b6 10 84 d2 75 f2
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54830 Location: 56N 3W
|
Posted: Sun Jun 11, 2006 11:35 pm Post subject: |
|
|
NSpacer,
There is some bad news ... this issue is all over the Linux Kernel Mailing List (lkml) lots of people are having this problem
and there is some good news You need a kernel patch.
Its only a few weeks old. You can look at the change log for the latest -rc kernel to see if its in, if so, try that kernel, or you can apply the patch to the kernel you already have. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NSpacer n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Marvel/movie_x-men_professor_x_2.gif)
Joined: 31 Mar 2003 Posts: 72 Location: Frisco, TX, USA
|
Posted: Mon Jun 12, 2006 1:27 am Post subject: |
|
|
Thanks for pointing me to that.
And since WHEN is having YOUR issue all over the Linux Kernel Mailing List BAD news? The more people that scream about it, the faster it gets fixed... Well, usually... And the less likely that the short exists between the keyboard and the chair.
I'm gonna try out mm-sources since it looks like it has been applied there. Then once it makes it into the main kernel and then into gentoo-sources I'll switch back. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NSpacer n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Marvel/movie_x-men_professor_x_2.gif)
Joined: 31 Mar 2003 Posts: 72 Location: Frisco, TX, USA
|
Posted: Mon Jun 12, 2006 2:06 am Post subject: |
|
|
The patch works on my system.
Thanks for your help. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|