Bug 97824
Summary: | (IDE HPT372N) missing second channel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Ronny Buchmann <ronny-rhbugzilla> | ||||||||
Component: | kernel | Assignee: | Arjan van de Ven <arjanv> | ||||||||
Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | 9 | CC: | alan | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | i686 | ||||||||||
OS: | Linux | ||||||||||
URL: | http://www.highpoint-tech.com/hpt3xx-opensource-v131.tgz | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2003-10-07 17:25:26 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
Ronny Buchmann
2003-06-22 16:24:59 UTC
The corruption is a long standing bug. Why it chose to bite you know and nobody before I'm not sure. Fixed in my tree hopefully: Created attachment 92524 [details]
Patch to fix highpoint corruption/loss of second channel
There are two bugs here, one harmless by luck (copying not assigning pointers
to the string) and one nasty (not checking revision out of range cases for old
style 372N with did/rid ident but not the new PCI identifier). The second
caused a random data copy which trashed the detect bits so hid the other
channel.
Added to 2.4.21-ac build tree
the patch only solved the cosmetic problem, second channel is still not there log --- Jun 22 20:25:18 bserv kernel: HPT366: IDE controller at PCI slot 02:00.0 Jun 22 20:25:18 bserv kernel: HPT366: chipset revision 6 Jun 22 20:25:18 bserv kernel: HPT366: not 100%% native mode: will probe irqs later Jun 22 20:25:18 bserv kernel: hpt: HPT372N detected, using 372N timing. Jun 22 20:25:18 bserv kernel: FREQ: 82 PLL: 35 Jun 22 20:25:18 bserv kernel: HPT37X: using 50MHz internal PLL Jun 22 20:25:18 bserv kernel: ide2: BM-DMA at 0x8000-0x8007, BIOS settings: hde:DMA, hdf:pio Jun 22 20:25:18 bserv kernel: HPT372N support is EXPERIMENTAL ONLY. --- /proc/ide/hpt366 --- HighPoint HPT366/368/370/372/374 Controller: 0 Chipset: HPT302 --------------- Primary Channel --------------- Secondary Channel -------------- Enabled: yes yes Cable: ATA-66 ATA-66 --------------- drive0 --------- drive1 ------- drive0 ---------- drive1 ------- DMA capable: yes no no no Mode: UDMA off UDMA off --- the output from the highpoint driver --- Jun 22 20:28:53 bserv kernel: Device Driver for HPT37x2 ATA RAID Controller Jun 22 20:28:53 bserv kernel: Version 1.31, Compiled Jun 21 2003 17:33:13 Jun 22 20:28:53 bserv kernel: Found Controller: HPT372N UDMA/ATA133 RAID Controller Jun 22 20:28:53 bserv kernel: scsi1 : hpt37x2 Jun 22 20:28:53 bserv kernel: Vendor: Maxtor 6 Model: Y060L0 Rev: YAR4 Jun 22 20:28:53 bserv kernel: Type: Direct-Access ANSI SCSI revision: 02 Jun 22 20:28:53 bserv kernel: Vendor: Maxtor 6 Model: Y060L0 Rev: YAR4 Jun 22 20:28:53 bserv kernel: Type: Direct-Access ANSI SCSI revision: 02 --- lspci -v: --- 02:00.0 RAID bus controller: Triones Technologies, Inc. HPT366/368/370/370A/372 (rev 06) Subsystem: Triones Technologies, Inc. HPT370A Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 22 I/O ports at 7000 [size=8] I/O ports at 7400 [size=4] I/O ports at 7800 [size=8] I/O ports at 7c00 [size=4] I/O ports at 8000 [size=256] Expansion ROM at <unassigned> [disabled] [size=128K] Capabilities: [60] Power Management version 2 --- I tested again with 2.4.21-ac4, no change compared to 2.4.20-18.9+patch still no second channel :( second channel still missing in 2.4.21-20.1.2024.2.1.nptl (severn) alan? Created attachment 94485 [details]
typo fix
patch for typo in hpt366.c
Created attachment 94486 [details]
fix for hpt372n (id4,rev6)
patches already went to alan and lkml
Queued for -ac - looks right it's in 2.4.22-ac3 so it should be also in recent rawhide kernels |