Skip to contentSkip to conversation

hpt366 under hpt372N oops

DISCUSSION João Luis Meloni Assirati 3 participants 4 messages Oct 5, 2004 – Oct 6, 2004

lore
Share & tools
lore
#0 lore raw

Hello,

I have an off board HighPoint RocketRAID 133 pci card. The chip is identified as HPT372N and there is a tag in the board printed V2.35.

I'm using the kernel 2.6.8.1 with no patches. I compiled the driver hpt366 as a module, and when I modprobe it, I get a segmentation fault. The kernel outputs the message at the end of this e-mail.

Strange things:
* lspci reports
0000:01:08.0 RAID bus controller: Triones Technologies, Inc. HPT372A (rev 02) The oops message below also identifies it as an HPT372A
* I have just one hard disk at the first controller (it makes no difference if I use the second). I didn't test with two hard disks, but with NO hard disks the driver doesn't oops.

General information:
Mother board: Asus A7N266-VM (I'm not using nvidia's proprietary driver)
Processor: AMD Athlon(TM) XP 2000+
Gcc version: 3.3.4

I will be glad to send any other necessary information and do some testing.

Please CC to me as I'm not subscribed to the list.

Thank you,
Joao Luis.

Kernel oops:

HPT372A: IDE controller at PCI slot 0000:01:08.0
ACPI: PCI interrupt 0000:01:08.0[A] -> GSI 18 (level, high) -> IRQ 18
HPT372A: chipset revision 2
hpt: HPT372N detected, using 372N timing.
FREQ: 125 PLL: 45
HPT372A: 100% native mode on irq 18
hpt: no known IDE timings, disabling DMA.
hpt: no known IDE timings, disabling DMA.
hde: ST380011A, ATA DISK drive

Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
de96c719
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: hpt366 binfmt_misc autofs button processor quota_v2 nfsd 

exportfs lockd sunrpc dm_snapshot loop non_fatal w83781d i2c_sensor i2c_amd756 i2c_dev i2c_core ohci_hcd usbcore snd_intel8x0 snd_ac97_codec snd_pcm snd_timer snd_page_alloc gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd evdev soundcore rtc psmouse 8250 serial_core 8139too mii crc32 forcedeth unix

CPU:    0
EIP:    0060:[<de96c719>]    Not tainted
EFLAGS: 00210286   (2.6.8.1-test)

EIP is at pci_bus_clock_list+0x9/0x30 [hpt366]
eax: 0000000c ebx: 00000051 ecx: 0000000c edx: 00000000
esi: 30070000 edi: 00000040 ebp: c14fec00 esp: d057de28
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 5622, threadinfo=d057c000 task=d92ce6a0)

Stack: de96caff 0000000c 00000000 00000051 00000000 0000000c 0c4fec00 00000000
       004fec00 c038a84c c02b3d4f c159563e c038a7a0 c02186f7 c038a84c 0000000c
       d057deb8 de971334 c021bebe 00000012 00200286 00000000 00000012 c038a7a0
Call Trace:
 [<de96caff>] hpt372_tune_chipset+0xdf/0x160 [hpt366]
 [<c02186f7>] probe_hwif+0x237/0x440
 [<c021bebe>] do_ide_setup_pci_device+0x9e/0x170
 [<c0218917>] probe_hwif_init+0x17/0x60
 [<c021bfe6>] ide_setup_pci_device+0x56/0x90
 [<de96e8ae>] hpt366_init_one+0x1e/0x30 [hpt366]
 [<c01c4342>] pci_device_probe_static+0x52/0x70
 [<c01c439b>] __pci_device_probe+0x3b/0x50
 [<c01c43dc>] pci_device_probe+0x2c/0x50
 [<c01f8f8f>] bus_match+0x3f/0x70
 [<c01f90b9>] driver_attach+0x59/0x90
 [<c01f9561>] bus_add_driver+0x91/0xb0
 [<c01f9b1f>] driver_register+0x2f/0x40
 [<c01c465c>] pci_register_driver+0x5c/0x90
 [<c021c15d>] ide_pci_register_driver+0x3d/0x50
 [<de96e8cf>] hpt366_ide_init+0xf/0x14 [hpt366]
 [<c0132054>] sys_init_module+0x114/0x230
 [<c0106107>] syscall_call+0x7/0xb
Code: 0f b6 02 84 c0 74 0e 38 c8 74 0e 83 c2 08 0f b6 02 84 c0 75
#1 lore raw

try 2.6.9-rc3

Quoted 8 lines · João Luis Meloni Assirati

Hello,

I have an off board HighPoint RocketRAID 133 pci card. The chip is identified as HPT372N and there is a tag in the board printed V2.35.

I'm using the kernel 2.6.8.1 with no patches. I compiled the driver hpt366 as a module, and when I modprobe it, I get a segmentation fault. The kernel outputs the message at the end of this e-mail.

#2 lore raw
In reply to João Luis Meloni Assirati
Quoted 4 lines · João Luis Meloni Assirati

Hello,

I have an off board HighPoint RocketRAID 133 pci card. The chip is identified as HPT372N and there is a tag in the board printed V2.35.

Is this crash fixed by 2.6.9rc3 for you - its my fault I'm afraid I slightly screwed up merging 2.4.2x HPT372N into 2.6.x

#3 lore raw

Sorry, it looks that my e-mail didn't find its way... I'm resending it.

Hello,

Quoted 1 line · Bartlomiej Zolnierkiewicz

try 2.6.9-rc3

Quoted 2 lines · Alan Cox

Is this crash fixed by 2.6.9rc3 for you - its my fault I'm afraid I slightly screwed up merging 2.4.2x HPT372N into 2.6.x

Unfortunately it is not, but at least the HPT372N chipset gets detected. Modprobe still ends with a segmentation fault. Below is the kernel message for 2.6.9-rc3.

Regards,
João.

HPT372A: IDE controller at PCI slot 0000:01:08.0
ACPI: PCI interrupt 0000:01:08.0[A] -> GSI 18 (level, high) -> IRQ 18
HPT372A: chipset revision 2
hpt: HPT372N detected, using 372N timing.
FREQ: 124 PLL: 45
HPT372A: 100% native mode on irq 18
hpt: no known IDE timings, disabling DMA.
hpt: no known IDE timings, disabling DMA.
Probing IDE interface ide2...
hde: ST380011A, ATA DISK drive

Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
de92b719
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: hpt366 binfmt_misc autofs button processor quota_v2 nfsd 

exportfs lockd sunrpc dm_snapshot loop non_fatal w83781d i2c_sensor i2c_amd756 i2c_dev i2c_core ohci_hcd usbcore snd_intel8x0 snd_ac97_codec snd_pcm snd_timer snd_page_alloc gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore rtc evdev psmouse 8250 serial_core 8139too mii crc32 forcedeth unix

CPU:    0
EIP:    0060:[<de92b719>]    Not tainted VLI
EFLAGS: 00210282   (2.6.9-rc3)

EIP is at pci_bus_clock_list+0x9/0x30 [hpt366]
eax: 0000000c ebx: 00000051 ecx: 0000000c edx: 00000000
esi: 30070000 edi: 00000040 ebp: c14fb000 esp: d2017e1c
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 5494, threadinfo=d2016000 task=d8cc0560)

Stack: de92baff 0000000c 00000000 00000051 00000000 0000000c 0c4fb000 00000000
       004fb000 c039ae1c c039aaa4 ddfdfc3e c039a9f8 c0221c97 c039aaa4 0000000c
       00000001 00000012 00000001 d2017eb8 de930214 c02253be 00000012 00200286
Call Trace:
 [<de92baff>] hpt372_tune_chipset+0xdf/0x160 [hpt366]
 [<c0221c97>] probe_hwif+0x267/0x560
 [<c02253be>] do_ide_setup_pci_device+0x9e/0x170
 [<c0221fa7>] probe_hwif_init+0x17/0x60
 [<c02254e7>] ide_setup_pci_device+0x57/0x90
 [<de92d86e>] hpt366_init_one+0x1e/0x30 [hpt366]
 [<c01c8142>] pci_device_probe_static+0x52/0x70
 [<c01c819b>] __pci_device_probe+0x3b/0x50
 [<c01c81dc>] pci_device_probe+0x2c/0x50
 [<c0201c4f>] bus_match+0x3f/0x70
 [<c0201d79>] driver_attach+0x59/0x90
 [<c0202221>] bus_add_driver+0x91/0xb0
 [<c02027df>] driver_register+0x2f/0x40
 [<c01c846c>] pci_register_driver+0x5c/0x90
 [<c022565d>] ide_pci_register_driver+0x3d/0x50
 [<de92d88f>] hpt366_ide_init+0xf/0x14 [hpt366]
 [<c0133cee>] sys_init_module+0x17e/0x230
 [<c010621b>] syscall_call+0x7/0xb
Code: 86 89 e1 ba 01 00 00 00 85 c0 75 d1 8b 75 00 85 f6 75 e1 eb c6 8d b6 00 

00 00 00 8d bc 27 00 00 00 00 8b 54 24 08 0f b6 4c 24 04 <0f> b6 02 84 c0 74 0e 38 c8 74 0e 83 c2 08 0f b6 02 84 c0 75 f2

Em Ter 05 Out 2004 19:48, você escreveu:

Quoted 8 lines · João Luis Meloni Assirati
Quoted 4 lines

Hello,

I have an off board HighPoint RocketRAID 133 pci card. The chip is identified as HPT372N and there is a tag in the board printed V2.35.

Is this crash fixed by 2.6.9rc3 for you - its my fault I'm afraid I slightly screwed up merging 2.4.2x HPT372N into 2.6.x