Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 16 Dec 2002 17:58:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 16 Dec 2002 17:58:40 -0500 Received: from office-NAT.rockwellfirstpoint.com ([199.191.58.7]:31957 "EHLO ecsmtp01.rockwellfirstpoint.com") by vger.kernel.org with ESMTP id ; Mon, 16 Dec 2002 17:58:24 -0500 Subject: i845PE chipset and 20276 Promise Controller boot failure with 2.4.20-ac2 To: linux-kernel@vger.kernel.org Cc: edward.kuns@rockwellfirstpoint.com X-Mailer: Lotus Notes Release 6.0 September 26, 2002 Message-ID: From: edward.kuns@rockwellfirstpoint.com Date: Mon, 16 Dec 2002 17:09:49 -0600 X-MIMETrack: Serialize by Router on ECSMTP01/EC/Rockwell(Release 5.0.11 |July 24, 2002) at 12/16/2002 05:06:37 PM MIME-Version: 1.0 Content-type: multipart/mixed; Boundary="0__=09BBE602DFE814168f9e8a93df938690918c09BBE602DFE81416" Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 51487 Lines: 830 --0__=09BBE602DFE814168f9e8a93df938690918c09BBE602DFE81416 Content-type: text/plain; charset=us-ascii Please CC me at edward.kuns at rockwellfirstpoint.com in your responses. I have a Gigabyte GA-8PE667 Ultra motherboard (aka P4 Titan 667 Ultra) with the i845PE chipset plus a Promise RAID controller (PDC20276). Earlier I sent a message about the sound problems I've been having. (Thanks, Alan, I'll try enabling APIC, etc, tonight. Since I was working with the Red Hat kernels, I didn't deeply investigate the default settings there.) The other problem I'm having is trying to build my own kernel with 2.4.20-ac2 -- where I have APIC et al enabled. It builds fine but does not finish booting. The failure appears related to the Promise RAID controller. I didn't have this problem with earlier 2.4.20-pre*-ac* kernels on an i845G Intel motherboard which has only the IDE controller of the chipset. Booting with the new kernel, it gets to the PDC20276 IDE controller, gives the three lines of 1) controller "not 100% native mode" line and 2,3) two lines for ide2 and ide3, and that is it. At that point the machine is hung solid. CTL-ALT-DEL does nothing, Magic SysRq does nothing. I cannot scroll back. Only the hardware reset button causes a response. In case it matters, the BIOS for the Promise controller is "MBUltra133 (PDC20276) BIOS 2.20.1020.13". This motherboard allows you to set the Promise controller in RAID mode or in ATA mode. I have it set in ATA mode. I tried putting it in RAID mode and after setting up a "striped" RAID array of one disk (grin) grub complained of a disk error and refused to even load. Feh. Grub is very, very picky about that sort of thing I guess. So I set it back to ATA mode where it at least works with the RH8.0 kernels and grub. I've tried building with IDE-RAID in or not in. I've tried building it with each Promise driver separately (pdc202xx_new.c and pdc202xx_old.c if I recall correctly) and with both Promise drivers compiled in at the same time. With and without IDE-RAID. They all acted exactly the same. So then I added a bunch of printk's to see if I could localize where it was hanging and it died immediately after displaying info about the PIIX driver. Hmm. I guess there are places one cannot or should not put a printk? I modified files like ide-disk.c and both pdc202xx_*.c files. I might have added printk's to other files in that same tree. I searched for other complaints about the Promise controller and someone said they had success with pure 2.4.20, so I'll try that tonight. (My understanding is that 2.4.21-pre1 will have essentially the same IDE code as earlier *-ac kernels, so it probably wouldn't add much for me to try that.) The RedHat 8.0 kernels boot perfectly. The dmesg related to IDE drives from the Red Hat kernels is below. Note that I am missing the beginning part. The RAID code generates so many messages that I think my early boot messages have scrolled out of the circular message buffer before klogd starts. (Is the size of that buffer adjustable by #define?) Dec 15 22:35:24 kilroy kernel: ide0: BM-DMA at 0xcc00-0xcc07, BIOS settings: hda:DMA, hdb:pio Dec 15 22:35:24 kilroy kernel: ide1: BM-DMA at 0xcc08-0xcc0f, BIOS settings: hdc:pio, hdd:DMA Dec 15 22:35:24 kilroy kernel: PDC20276: IDE controller on PCI bus 02 dev 60 Dec 15 22:35:24 kilroy kernel: PCI: Found IRQ 11 for device 02:0c.0 Dec 15 22:35:24 kilroy kernel: PCI: Sharing IRQ 11 with 02:00.0 Dec 15 22:35:24 kilroy kernel: PCI: Sharing IRQ 11 with 02:07.1 Dec 15 22:35:24 kilroy kernel: PDC20276: chipset revision 1 Dec 15 22:35:24 kilroy kernel: ide: Found promise 20265 in RAID mode. Dec 15 22:35:24 kilroy kernel: PDC20276: not 100%% native mode: will probe irqs later Dec 15 22:35:24 kilroy kernel: ide2: BM-DMA at 0xa400-0xa407, BIOS settings: hde:pio, hdf:pio Dec 15 22:35:24 kilroy kernel: ide3: BM-DMA at 0xa408-0xa40f, BIOS settings: hdg:pio, hdh:pio Dec 15 22:35:24 kilroy kernel: hda: IC35L060AVER07-0, ATA DISK drive Dec 15 22:35:24 kilroy kernel: hdd: HL-DT-ST RW/DVD GCC-4320B, ATAPI CD/DVD-ROM drive Dec 15 22:35:24 kilroy kernel: hde: IC35L060AVER07-0, ATA DISK drive Dec 15 22:35:24 kilroy kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Dec 15 22:35:24 kilroy kernel: ide1 at 0x170-0x177,0x376 on irq 15 Dec 15 22:35:24 kilroy kernel: ide2 at 0x9400-0x9407,0x9802 on irq 11 Dec 15 22:35:24 kilroy kernel: blk: queue c03afd84, I/O limit 4095Mb (mask 0xffffffff) Dec 15 22:35:24 kilroy kernel: blk: queue c03afd84, I/O limit 4095Mb (mask 0xffffffff) Dec 15 22:35:24 kilroy kernel: hda: 120103200 sectors (61493 MB) w/1916KiB Cache, CHS=7476/255/63, UDMA(33) Dec 15 22:35:24 kilroy kernel: blk: queue c03b040c, I/O limit 4095Mb (mask 0xffffffff) Dec 15 22:35:24 kilroy kernel: blk: queue c03b040c, I/O limit 4095Mb (mask 0xffffffff) Dec 15 22:35:24 kilroy kernel: hde: 120103200 sectors (61493 MB) w/1916KiB Cache, CHS=119150/16/63, UDMA(100) Dec 15 22:35:24 kilroy kernel: ide-floppy driver 0.99.newide Dec 15 22:35:24 kilroy kernel: Partition check: Dec 15 22:35:24 kilroy kernel: hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 > Dec 15 22:35:24 kilroy kernel: hde: hde1 hde2 hde3 hde4 < hde5 hde6 > When I boot with 2.4.20-ac2, it halts after the "ide3: BM-DMA at 0xa408-0xa40f, BIOS settings: hdg:pio, hdh:pio" line. In addition, I do not see the previous lines about finding or sharing IRQ for that controller. Nor do I see "ide: Found promise 20265 in RAID mode." Another interesting fact is that hda and hde are identical models, but the i845PE IDE controller only enabled the drive as UDMA33. Hmm. Curious. But I have not investigated this much yet except to see if the PIIX driver has a "quirk" drive list. I didn't find one. My config file for 2.4.20-ac2 is attached to this message. Given below is output of "lspci -vv": 00:00.0 Host bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset Host Bridge (rev 02) Subsystem: Giga-byte Technology: Unknown device 2560 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- Reset- FastB2B- 00:1d.0 USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 02) (prog-if 00 [UHCI]) Subsystem: Giga-byte Technology: Unknown device 24c2 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- Reset- FastB2B- 00:1f.0 ISA bridge: Intel Corp. 82801DB ISA Bridge (LPC) (rev 02) Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- [disabled] [size=128K] Capabilities: [60] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- Capabilities: [44] AGP version 2.0 Status: RQ=31 SBA- 64bit- FW+ Rate=x1,x2,x4 Command: RQ=31 SBA- AGP+ 64bit- FW- Rate=x4 02:00.0 SCSI storage controller: Adaptec AIC-7892B U160/m (rev 02) Subsystem: Adaptec 19160 Ultra160 SCSI Controller Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- [disabled] [size=128K] Capabilities: [dc] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 02:02.0 Serial controller: US Robotics/3Com 56K FaxModem Model 5610 (rev 01) (prog-if 02 [16550]) Subsystem: US Robotics/3Com: Unknown device 00d7 Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR-