* Re: PROBLEM: Kernel 2.4.18 Promise driver (IDE) hangs @ boot with Promise 20267
2002-06-12 19:51 PROBLEM: Kernel 2.4.18 Promise driver (IDE) hangs @ boot with Promise 20267 Braden McGrath
@ 2002-06-12 14:19 ` Samuel Flory
2002-06-12 21:32 ` PROBLEM: Kernel 2.4.18 Promise driver (IDE) hangs @ boot withPromise 20267 Braden McGrath
0 siblings, 1 reply; 7+ messages in thread
From: Samuel Flory @ 2002-06-12 14:19 UTC (permalink / raw)
To: Braden McGrath; +Cc: linux-kernel
You might try Alan Cox's ac kernel. 2.4.19pre10ac2 seems to work bit
better on the Promise controllers for me. You will need to patch in
2.4.19pre10, and then 2.4.19pre10ac2.
http://www.us.kernel.org/pub/linux/kernel/v2.4/testing/
http://www.us.kernel.org/pub/linux/kernel/people/alan/linux-2.4/2.4.19/
PS- What of the PDC options are you using? I generally enable the
following:
CONFIG_BLK_DEV_PDC202XX=y
CONFIG_PDC202XX_BURST=y
CONFIG_PDC202XX_FORCE=y
If CONFIG_PDC202XX_BURST is on try turning it off. Or in the case of
the the reverse turn it on.
On Wed, 2002-06-12 at 12:51, Braden McGrath wrote:
> Uniform Multi-Platform E-IDE driver Revision: 6.31
> ...<snip>...
FYI- The part right here is fairly important as it tells us what
chipset you are using, and bios settings.
> hda: Maxtor 91024U4, ATA DISK drive
> hdc: TOSHIBA DVD-ROM SD-M1212, ATAPI CD/DVD-ROM drive
> hde: Maxtor 91366U4, ATA DISK drive
> hdf: Maxtor 52049U4, ATA DISK drive
> hdg: Maxtor 93073U6, ATA DISK drive
> hdh: MAXTOR 4K080H4, ATA DISK drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> ide2 at 0x9400-0x9407,0x9802 on irq 7
> ide3 at 0x9c00-0x9c07,0xa002 on irq 7
> hda: 19999728 sectors (10240 MB) w/2048KiB Cache, CHS=1244/255/63,
> UDMA(33)
> ***[HANG]***
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: PROBLEM: Kernel 2.4.18 Promise driver (IDE) hangs @ boot withPromise 20267
2002-06-12 21:32 ` PROBLEM: Kernel 2.4.18 Promise driver (IDE) hangs @ boot withPromise 20267 Braden McGrath
@ 2002-06-12 15:00 ` Samuel Flory
2002-06-12 23:42 ` PROBLEM: Kernel 2.4.18 Promise driver (IDE) hangs @ boot with Promise 20267 Braden McGrath
2002-06-13 14:18 ` PROBLEM: Kernel 2.4.18 Promise driver (IDE) hangs @ boot withPromise 20267 J.A. Magallon
1 sibling, 1 reply; 7+ messages in thread
From: Samuel Flory @ 2002-06-12 15:00 UTC (permalink / raw)
To: Braden McGrath; +Cc: linux-kernel
On Wed, 2002-06-12 at 14:32, Braden McGrath wrote:
> > You might try Alan Cox's ac kernel. 2.4.19pre10ac2 seems
> > to work bit better on the Promise controllers for me. You
> > will need to patch in 2.4.19pre10, and then 2.4.19pre10ac2.
> >
> > http://www.us.kernel.org/pub/linux/kernel/v2.4/testing/
> >
> http://www.us.kernel.org/pub/linux/kernel/people/alan/linux-2.4/2.4.19/
>
> Thanks, I'll give it a try... Will I experience any problems trying to
> get XFS into this kernel as well? I start with 2.4.18 to patch to the
> pre* series, correct? (I'm not used to running bleeding edge...) I'm
> guessing the order would be:
> 2.4.18 (stock)
> +XFS
> +.19pre10
> +pre10ac2
>
I doubt you are going to be able to apply the std xfs patch to
pre10ac2. On the other hand if you grab xfs out of cvs you'll have
2.4.19pre10+xfs. You might be able to produce a patch from that
(2.4.19pre10 -> 2.4.19pre10+xfs) applies fairly cleanly to pre10ac2.
I'd check and see if 2.4.18-pre10ac2 even boots before trying that;-)
> CONFIG_PDC202XX_FORCE=n (I read that this is for FastTrak
> controllers, I only have an Ultra100)
Opps my bad. I've got both the ultratraks, and fasttraks floating
around in various systems.
^ permalink raw reply [flat|nested] 7+ messages in thread
* PROBLEM: Kernel 2.4.18 Promise driver (IDE) hangs @ boot with Promise 20267
@ 2002-06-12 19:51 Braden McGrath
2002-06-12 14:19 ` Samuel Flory
0 siblings, 1 reply; 7+ messages in thread
From: Braden McGrath @ 2002-06-12 19:51 UTC (permalink / raw)
To: linux-kernel
This is my first problem ever with the kernel, and also my first mail to
linux-kernel so please be gentle... I have followed the list a bit
though.
The format of this mail is as recommended in "REPORTING-BUGS" in the
kernel source. Sorry about the length, but I'm just following
documented procedure. :P
Without further ado...
** The problem
I was having corruption issues with my onboard highpoint controller
(HPT366, Abit BE6 motherboard) when the PCI bus was being utilized
heavily (reading from the 4 drives and sending over 3com ethernet), and
I've read in several places that the highpoint controller is buggy. I
picked up a Promise Ultra100 controller in hopes that things would work.
I rebooted the machine and realized I hadn't compiled the Promise driver
into my kernel - the machine booted fine at this point and found all of
my drives, but performance was horrible (2-3MB/sec instead of 10+) so I
recompiled and rebooted. When I reboot with the Promise driver
compiled, the boot process looks like so:
Uniform Multi-Platform E-IDE driver Revision: 6.31
...<snip>...
hda: Maxtor 91024U4, ATA DISK drive
hdc: TOSHIBA DVD-ROM SD-M1212, ATAPI CD/DVD-ROM drive
hde: Maxtor 91366U4, ATA DISK drive
hdf: Maxtor 52049U4, ATA DISK drive
hdg: Maxtor 93073U6, ATA DISK drive
hdh: MAXTOR 4K080H4, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide2 at 0x9400-0x9407,0x9802 on irq 7
ide3 at 0x9c00-0x9c07,0xa002 on irq 7
hda: 19999728 sectors (10240 MB) w/2048KiB Cache, CHS=1244/255/63,
UDMA(33)
***[HANG]***
The machine finds the controller and the drives attached to it, but
while attempting to determine the hardware settings from the drives
attached to the promise controller it hangs. /dev/hda is on the intel
chipset controller and thus works fine. Keyboard stops working, can't
reboot, etc. Without the Promise driver compiled, my (relevant) output
after that point looks like:
...
hde: 26684784 sectors (13663 MB) w/2048KiB Cache, CHS=26473/16/63
hdf: 40020624 sectors (20491 MB) w/2048KiB Cache, CHS=39703/16/63
hdg: 60030432 sectors (30736 MB) w/2048KiB Cache, CHS=59554/16/63
hdh: 156301488 sectors (80026 MB) w/2000KiB Cache, CHS=155061/16/63
hdc: ATAPI 32X DVD-ROM drive, 256kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
hda: hda1 hda2 hda3 < hda5 hda6 hda7 >
hde: [PTBL] [1661/255/63] hde1
hdf: hdf1
hdg: hdg1
hdh: hdh1
... etc
Note that booting without the promise driver and just using generic IDE
DOES work, but with dismal performance on the drives attached to the
promise controller along with high CPU usage. They don't claim to be in
PIO mode when I hdparm -i them, but they feel like they are.
I played around a bit and then thought of feeding the drive geometry to
the driver with LILO boot: parameters. I used the following line -
LILO boot: linux-new hde=1661,255,63 hde=noprobe hdf=39703,16,63
hdf=noprobe hdg=155061,16,63 hdg=noprobe hdh=59554,16,63 hdh=noprobe
When I boot like this, the machine gets to the same point in the boot
process (the hda: 19999728 sectors above) and then throws an oops (see
below) and panics. Note that I am not using modules at all, and I
couldn't easily get /proc/ksyms because it happens before I even get a
prompt and the machine is dead hung afterwards. (Thus why I used
ksymoops -K)
I have *not* tried this on older kernels, nor have I tried any of the
-pre* series. If anyone thinks either of these could help I'm willing
to give it a try. I'm waiting on another motherboard from a friend -
the only other possible cause of this that I can think of is that the
HPT366 controller is somehow confusing the Promise controller. I can't
turn off the HPT366 on this motherboard, there is no disable in the
system bios. The Promise card is known-good; it worked fine in my
friend's Windows system and in his linux system a while ago (kernel
unknown) before I bought the card from him.
** Kernel Version:
Linux version 2.4.18-xfs-1.1 (root@how)
** Hardware:
P3 500 Katamai
ABIT BE6 motherboard with builtin Highpoint 366 controller
Promise Ultra100 (20267) PCI controller
1x Maxtor on builtin Intel BX controller
4x Maxtor IDE drives of different sizes and modes (3 are UDMA66, one is
UDMA100) on Promise controller
** ksymoops output (from hand-transcribed oops message at boot):
ksymoops 2.4.5 on i686 2.4.18-xfs-1.1. Options used
-v /usr/src/linux/vmlinux (specified)
-K (specified)
-l /proc/modules (default)
-o /lib/modules/2.4.18-xfs-1.1/ (default)
-m /usr/src/linux/System.map (specified)
No modules in ksyms, skipping objects
No ksyms, skipping lsmod
Unable to handle kernel NULL pointer dereference at virtual address
00000063
c021c800
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<c021c800>] Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010246
eax: c0325bc0 ebx: 00000000 ecx: 0000a400 edx: 0000a402
esi: c0325c00 edi: 00000007 ebp: 0008e000 esp: dbf7df4c
ds: 0018 edi: 0018 ss: 0018
Process swapper (pid: 1, stackpage=dbf7d000)
Stack: c0325bc0 00000004 c0325c00 c021c89a c0325c00 c0325c00 00000286
c02c0b80
c021a44a 00000004 c0325c00 00000007 c0325c00 c0325c00 00000001
c02c0b80
c0221501 c0325c00 c02c0b80 00000001 c03217a0 000000ff c0321f9c
c02d40f4
Call Trace: [<c021c89a>] [<c021a44a>] [<c0221501>] [<c0105037>]
[<c0105478>]
Code: f6 43 63 08 75 06 f6 43 6a 02 74 10 bf 07 00 00 00 6a 05 56
>>EIP; c021c800 <config_drive_xfer_rate+b0/e4> <=====
>>eax; c0325bc0 <ide_hwifs+620/1ea0>
>>ecx; 0000a400 Before first symbol
>>edx; 0000a402 Before first symbol
>>esi; c0325c00 <ide_hwifs+660/1ea0>
>>ebp; 0008e000 Before first symbol
>>esp; dbf7df4c <END_OF_CODE+1bc51bf8/????>
Trace; c021c89a <pdc202xx_dmaproc+52/e4>
Trace; c021a44a <ide_register_subdriver+9a/f4>
Trace; c0221501 <idedisk_init+15/b4>
Trace; c0105037 <init+7/110>
Trace; c0105478 <kernel_thread+28/38>
Code; c021c800 <config_drive_xfer_rate+b0/e4>
00000000 <_EIP>:
Code; c021c800 <config_drive_xfer_rate+b0/e4> <=====
0: f6 43 63 08 testb $0x8,0x63(%ebx) <=====
Code; c021c804 <config_drive_xfer_rate+b4/e4>
4: 75 06 jne c <_EIP+0xc> c021c80c
<config_drive_xfer_rate+bc/
e4>
Code; c021c806 <config_drive_xfer_rate+b6/e4>
6: f6 43 6a 02 testb $0x2,0x6a(%ebx)
Code; c021c80a <config_drive_xfer_rate+ba/e4>
a: 74 10 je 1c <_EIP+0x1c> c021c81c
<config_drive_xfer_rate+c
c/e4>
Code; c021c80c <config_drive_xfer_rate+bc/e4>
c: bf 07 00 00 00 mov $0x7,%edi
Code; c021c811 <config_drive_xfer_rate+c1/e4>
11: 6a 05 push $0x5
Code; c021c813 <config_drive_xfer_rate+c3/e4>
13: 56 push %esi
<0>Kernel panic: Attempted to kill init!
** Software (note that the date on the kernel isn't correct as it isn't
the kernel that I am hanging on boot with, obviously):
Linux how 2.4.18-xfs-1.1 #1 Fri May 17 20:46:54 EDT 2002 i686 unknown
Gnu C 2.95.4
Gnu make 3.79.1
util-linux 2.11n
mount 2.11n
modutils 2.4.15
e2fsprogs 1.27
PPP 2.4.1
Linux C Library 2.2.5
Dynamic linker (ldd) 2.2.5
Procps 2.0.7
Net-tools 1.60
Console-tools 0.2.3
Sh-utils 2.0.11
Modules Loaded
** CPU info
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 7
model name : Pentium III (Katmai)
stepping : 2
cpu MHz : 501.149
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
cmov pat pse36 mmx f
xsr sse
bogomips : 999.42
** modules
NONE
** PCI information
00:00.0 Host bridge: Intel Corp. 440BX/ZX - 82443BX/ZX Host bridge (rev
03)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR
- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort+
>SERR- <PERR-
Latency: 32
Region 0: Memory at d4000000 (32-bit, prefetchable) [size=32M]
Capabilities: [a0] AGP version 1.0
Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2
Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>
00:01.0 PCI bridge: Intel Corp. 440BX/ZX - 82443BX/ZX AGP bridge (rev
03) (prog-if 00 [Nor
mal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR
+ FastB2B-
Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort-
>SERR- <PERR-
Latency: 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
I/O behind bridge: 0000f000-00000fff
Memory behind bridge: d0000000-d3ffffff
Prefetchable memory behind bridge: d6000000-d6ffffff
BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B+
00:07.0 ISA bridge: Intel Corp. 82371AB PIIX4 ISA (rev 02)
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop-
ParErr- Stepping- SERR
- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort-
>SERR- <PERR-
Latency: 0
00:07.1 IDE interface: Intel Corp. 82371AB PIIX4 IDE (rev 01) (prog-if
80 [Master])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR
- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort-
>SERR- <PERR-
Latency: 32
Region 4: I/O ports at f000 [size=16]
00:07.2 USB Controller: Intel Corp. 82371AB PIIX4 USB (rev 01) (prog-if
00 [UHCI])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR
- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort-
>SERR- <PERR-
Latency: 32
Interrupt: pin D routed to IRQ 0
Region 4: I/O ports at 9000 [size=32]
00:07.3 Bridge: Intel Corp. 82371AB PIIX4 ACPI (rev 02)
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR
- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort-
>SERR- <PERR-
Interrupt: pin ? routed to IRQ 9
00:0d.0 Unknown mass storage controller: Promise Technology, Inc. 20267
(rev 02)
Subsystem: Promise Technology, Inc.: Unknown device 4d33
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR
- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort-
>SERR- <PERR-
Latency: 32
Interrupt: pin A routed to IRQ 7
Region 0: I/O ports at 9400 [size=8]
Region 1: I/O ports at 9800 [size=4]
Region 2: I/O ports at 9c00 [size=8]
Region 3: I/O ports at a000 [size=4]
Region 4: I/O ports at a400 [size=64]
Region 5: Memory at d8000000 (32-bit, non-prefetchable)
[size=128K]
Expansion ROM at <unassigned> [disabled] [size=64K]
Capabilities: [58] Power Management version 1
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:0f.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone]
(rev 30)
Subsystem: 3Com Corporation 3C905B Fast Etherlink XL 10/100
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR
- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort-
>SERR- <PERR-
Latency: 32 (2500ns min, 2500ns max), cache line size 08
Interrupt: pin A routed to IRQ 5
Region 0: I/O ports at a800 [size=128]
Region 1: Memory at d8020000 (32-bit, non-prefetchable)
[size=128]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:13.0 Unknown mass storage controller: Triones Technologies, Inc.
HPT366 / HPT370 (rev 0
1)
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR
- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort-
>SERR- <PERR-
Latency: 120 (2000ns min, 2000ns max), cache line size 08
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at ac00 [size=8]
Region 1: I/O ports at b000 [size=4]
Region 4: I/O ports at b400 [size=256]
Expansion ROM at <unassigned> [disabled] [size=128K]
00:13.1 Unknown mass storage controller: Triones Technologies, Inc.
HPT366 / HPT370 (rev 0
1)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR
- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort-
>SERR- <PERR-
Latency: 120 (2000ns min, 2000ns max), cache line size 08
Interrupt: pin B routed to IRQ 10
Region 0: I/O ports at b800 [size=8]
Region 1: I/O ports at bc00 [size=4]
Region 4: I/O ports at c000 [size=256]
01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G100
[Productiva] AGP (rev 02
) (prog-if 00 [VGA])
Subsystem: Matrox Graphics, Inc. MGA-G100 Productiva AGP
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping+ SERR
- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort-
>SERR- <PERR-
Latency: 32
Interrupt: pin A routed to IRQ 0
Region 0: Memory at d6000000 (32-bit, prefetchable) [size=16M]
Region 1: Memory at d0000000 (32-bit, non-prefetchable)
[size=16K]
Region 2: Memory at d1000000 (32-bit, non-prefetchable)
[size=8M]
Expansion ROM at <unassigned> [disabled] [size=64K]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [f0] AGP version 1.0
Status: RQ=1 SBA+ 64bit- FW- Rate=x1
Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>
I hope this helps the people it needs to... I'll be lurking around if
anyone wants clarification on anything or has helpful suggestions to
offer.
Thanks in advance, and I appreciate the work that everyone does to make
this operating system the best *nix (in my eyes).
-Braden McGrath-
bwm3@po.cwru.edu
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: PROBLEM: Kernel 2.4.18 Promise driver (IDE) hangs @ boot withPromise 20267
2002-06-12 14:19 ` Samuel Flory
@ 2002-06-12 21:32 ` Braden McGrath
2002-06-12 15:00 ` Samuel Flory
2002-06-13 14:18 ` PROBLEM: Kernel 2.4.18 Promise driver (IDE) hangs @ boot withPromise 20267 J.A. Magallon
0 siblings, 2 replies; 7+ messages in thread
From: Braden McGrath @ 2002-06-12 21:32 UTC (permalink / raw)
To: 'Samuel Flory'; +Cc: linux-kernel
> You might try Alan Cox's ac kernel. 2.4.19pre10ac2 seems
> to work bit better on the Promise controllers for me. You
> will need to patch in 2.4.19pre10, and then 2.4.19pre10ac2.
>
> http://www.us.kernel.org/pub/linux/kernel/v2.4/testing/
>
http://www.us.kernel.org/pub/linux/kernel/people/alan/linux-2.4/2.4.19/
Thanks, I'll give it a try... Will I experience any problems trying to
get XFS into this kernel as well? I start with 2.4.18 to patch to the
pre* series, correct? (I'm not used to running bleeding edge...) I'm
guessing the order would be:
2.4.18 (stock)
+XFS
+.19pre10
+pre10ac2
> PS- What of the PDC options are you using? I generally enable the
> following:
> CONFIG_BLK_DEV_PDC202XX=y
> CONFIG_PDC202XX_BURST=y
> CONFIG_PDC202XX_FORCE=y
CONFIG_BLK_DEV_PDC202XX=y (at least in the problematic kernel, this
enables the subdriver itself)
CONFIG_PDC202XX_BURST=y,n (I've tried both, neither helps)
CONFIG_PDC202XX_FORCE=n (I read that this is for FastTrak
controllers, I only have an Ultra100)
Thanks, I'll try this when I get home!
--Braden
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: PROBLEM: Kernel 2.4.18 Promise driver (IDE) hangs @ boot with Promise 20267
2002-06-12 15:00 ` Samuel Flory
@ 2002-06-12 23:42 ` Braden McGrath
2002-06-13 4:42 ` Braden McGrath
0 siblings, 1 reply; 7+ messages in thread
From: Braden McGrath @ 2002-06-12 23:42 UTC (permalink / raw)
To: linux-kernel
Well, at Samuel Flory's suggestion I tried 2.4.19-pre10-ac2.
Same problem, it hangs whilst trying to find the drives attached to the
Promise controller. Manually adding the geometries makes it panic,
similar to with 2.4.18.
Mr. Flory mentioned earlier that some of my omitted lines during the
boot process were helpful, so I will include them ALL here...
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:pio
PDC20267: IDE controller on PCI bus 00 dev 68
PCI: Found IRQ 7 for device 00:0d.0
PDC20267: chipset revision 2
PDC20267: not 100% native mode: will probe irqs later
ide2: BM-DMA at 0xa400-0xa407, BIOS settings: hde:pio, hdf:pio
ide3: BM-DMA at 0xa408-0xa40f, BIOS settings: hdg:pio, hdh:pio
HPT366: onboard version of chipset, pin1=1 pin2=2
HPT366: IDE controller on PCI bus 00 dev 98
PCI: Found IRQ 10 for device 00:13.0
PCI: Sharing IRQ 10 with 00:13.1
HPT366: chipset revision 1
HPT366: not 100% native mode: will probe irqs later
ide4: BM-DMA at 0xb400-0xb407, BIOS settings: hdi:pio, hdj:pio
HPT366: IDE controller on PCI bus 00 dev 99
PCI: Found IRQ 10 for device 00:13.1
PCI: Sharing IRQ 10 with 00:13.0
HPT366: chipset revision 1
HPT366: not 100% native mode: will probe irqs later
ide5: BM-DMA at 0xc000-0xc007, BIOS settings: hdk:pio, hdl:pio
hda: Maxtor 91024U4, ATA DISK drive
hdc: TOSHIBA DVD-ROM SD-M1212, ATAPI CD/DVD-ROM drive
hde: Maxtor 91366U4, ATA DISK drive
hdf: Maxtor 52049U4, ATA DISK drive
hdg: Maxtor 93073U6, ATA DISK drive
hdh: MAXTOR 4K080H4, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide2 at 0x9400-0x9407,0x9802 on irq 7
ide3 at 0x9c00-0x9c07,0xa002 on irq 7
hda: 19999728 sectors (10240 MB) w/2048KiB Cache, CHS=1244/255/63,
UDMA(33)
***********
hde: 26684784 sectors (13663 MB) w/2048KiB Cache, CHS=26473/16/63
hdf: 40020624 sectors (20491 MB) w/2048KiB Cache, CHS=39703/16/63
hdg: 60030432 sectors (30736 MB) w/2048KiB Cache, CHS=59554/16/63
hdh: 156301488 sectors (80026 MB) w/2000KiB Cache, CHS=155061/16/63
hdc: ATAPI 32X DVD-ROM drive, 256kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
hda: hda1 hda2 hda3 < hda5 hda6 hda7 >
hde: [PTBL] [1661/255/63] hde1
hdf: hdf1
hdg: hdg1
hdh: hdh1
... [Etc] ...
This is my boot process with my old kernel, which has the standard IDE,
PIIX, and HPT366 compiled in but NO Promise driver. Obviously, the
drives are found fine here and they do work... Just slow. :/ The line
with the ******* is where output stops when I use a kernel with the
Promise driver compiled. I don't WANT to use the HPT366 anymore, but
there is NO way to disable it on my motherboard. Part of me wonders if
it is causing a problem, but I don't see any resources being shared...
--Braden
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: PROBLEM: Kernel 2.4.18 Promise driver (IDE) hangs @ boot with Promise 20267
2002-06-12 23:42 ` PROBLEM: Kernel 2.4.18 Promise driver (IDE) hangs @ boot with Promise 20267 Braden McGrath
@ 2002-06-13 4:42 ` Braden McGrath
0 siblings, 0 replies; 7+ messages in thread
From: Braden McGrath @ 2002-06-13 4:42 UTC (permalink / raw)
To: linux-kernel
> -----Original Message-----
> From: linux-kernel-owner@vger.kernel.org
> [mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of
> Braden McGrath
> Sent: Wednesday, June 12, 2002 7:42 PM
> To: linux-kernel@vger.kernel.org
> Subject: Re: PROBLEM: Kernel 2.4.18 Promise driver (IDE)
> hangs @ boot with Promise 20267
[old message snipped]
> I don't WANT to use the HPT366 anymore, but there
> is NO way to disable it on my motherboard. Part of me
> wonders if it is causing a problem, but I don't see any
> resources being shared...
I've confirmed that my problem in the Promise driver is NOT related to
the HPT366 device. I swapped the promise card (And the drives attached
to it) to another board, and it hung at the same step in the boot
process - right after finding the drive(s) on the system chipset's
controller, where it should then begin finding stuff on the Promise...
but it can't.
At this point I guess I'm down to waiting. I don't want to be stuck
using it with the generic driver and thus getting hideous performance.
I've done everything that I know how to do; I'm not much of a coder
(especially not C). If I thought I could fix it myself I'd try. :)
Hopefully someone becomes my savior before I start looking to *BSD for
an answer... I really don't want to lose all of the data on these drives
(XFS & LVM aren't supported anywhere else) and I have no easy way to
back them up. That's the biggest thing keeping me on linux at the
moment.
I'll wait patiently now, I know that gurus musn't be pestered. ;)
--Braden
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: PROBLEM: Kernel 2.4.18 Promise driver (IDE) hangs @ boot withPromise 20267
2002-06-12 21:32 ` PROBLEM: Kernel 2.4.18 Promise driver (IDE) hangs @ boot withPromise 20267 Braden McGrath
2002-06-12 15:00 ` Samuel Flory
@ 2002-06-13 14:18 ` J.A. Magallon
1 sibling, 0 replies; 7+ messages in thread
From: J.A. Magallon @ 2002-06-13 14:18 UTC (permalink / raw)
To: Braden McGrath; +Cc: 'Samuel Flory', linux-kernel
On 2002.06.12 Braden McGrath wrote:
>> You might try Alan Cox's ac kernel. 2.4.19pre10ac2 seems
>> to work bit better on the Promise controllers for me. You
>> will need to patch in 2.4.19pre10, and then 2.4.19pre10ac2.
>>
>> http://www.us.kernel.org/pub/linux/kernel/v2.4/testing/
>>
>http://www.us.kernel.org/pub/linux/kernel/people/alan/linux-2.4/2.4.19/
>
>Thanks, I'll give it a try... Will I experience any problems trying to
>get XFS into this kernel as well? I start with 2.4.18 to patch to the
>pre* series, correct? (I'm not used to running bleeding edge...) I'm
>guessing the order would be:
>2.4.18 (stock)
>+XFS
>+.19pre10
>+pre10ac2
If you want the changes present in pre10 _and_ xfs _and_ LVM,
get the -aa kernel. Version pre10-aa2 has xfs included.
You can get the original at
http://www.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.19pre10aa2.gz
http://www.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.19pre10aa2/
Or a copy at:
http://giga.cps.unizar.es/~magallon/linux/kernel/2.4.19-pre10-jam2/00-aa-pre10aa2.bz2
I talk about the copy because in the same location you also have Andre's
ide-convert.10 IDE update patch:
http://giga.cps.unizar.es/~magallon/linux/kernel/2.4.19-pre10-jam2/40-ide-10.bz2
You can try with those patches to see if this gives any help (note: IDE's patch
is not the original, it has been edited to merge with -aa, so I can have made
a mistake -- if it works someone could give it a thorough test, I have not
the hardware...)
--
J.A. Magallon \ Software is like sex: It's better when it's free
mailto:jamagallon@able.es \ -- Linus Torvalds, FSF T-shirt
Linux werewolf 2.4.19-pre10-jam3, Mandrake Linux 8.3 (Cooker) for i586
gcc (GCC) 3.1.1 (Mandrake Linux 8.3 3.1.1-0.4mdk)
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2002-06-13 14:18 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-12 19:51 PROBLEM: Kernel 2.4.18 Promise driver (IDE) hangs @ boot with Promise 20267 Braden McGrath
2002-06-12 14:19 ` Samuel Flory
2002-06-12 21:32 ` PROBLEM: Kernel 2.4.18 Promise driver (IDE) hangs @ boot withPromise 20267 Braden McGrath
2002-06-12 15:00 ` Samuel Flory
2002-06-12 23:42 ` PROBLEM: Kernel 2.4.18 Promise driver (IDE) hangs @ boot with Promise 20267 Braden McGrath
2002-06-13 4:42 ` Braden McGrath
2002-06-13 14:18 ` PROBLEM: Kernel 2.4.18 Promise driver (IDE) hangs @ boot withPromise 20267 J.A. Magallon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox