BUG: 2.4.19 and Promise 20267 doesn't recognise ide raid

BUG: 2.4.19 and Promise 20267 doesn't recognise ide raid

Post by Ricardo Gall » Sun, 18 Aug 2002 03:40:07



Just upgraded a server from 2.4.17 to 2.4.19, had to go down to 2.4.18.

It doesn't boot with 2.4.19, the error is (ish, messages are not logged
because the disk cannot be mounted, neither the root filesystem):

- RAID cannot be found.
- Cannot mount root FS.

I checked that drivers/ide/pdc202xx.c has been changed extensively from
2.4.18 to 2.4.19.

I believes the config is the right one (at least similar to the working
2.4.17 and 2.4.18):

CONFIG_BLK_DEV_PDC202XX=y
CONFIG_PDC202XX_BURST=y
CONFIG_PDC202XX_FORCE=y
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_IDEDMA_IVB is not set
# CONFIG_DMA_NONPCI is not set
CONFIG_BLK_DEV_IDE_MODES=y
CONFIG_BLK_DEV_ATARAID=y
CONFIG_BLK_DEV_ATARAID_PDC=y
CONFIG_BLK_DEV_ATARAID_HPT=y

Hope this helps.

--
  ricardo
       A paperless office has about as much a chance as a paperless bathroom
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

BUG: 2.4.19 and Promise 20267 doesn't recognise ide raid

Post by Ricardo Gall » Mon, 19 Aug 2002 02:20:05




> > Just upgraded a server from 2.4.17 to 2.4.19, had to go down to 2.4.18.

> > It doesn't boot with 2.4.19, the error is (ish, messages are not logged
> > because the disk cannot be mounted, neither the root filesystem):

> What disks do you have?
>                    Roger.

Sorry...

Disks:

# dmesg
hde: ST320410A, ATA DISK drive
hdg: ST320410A, ATA DISK drive
...
Drive 0 is 19092 Mb (33 / 0)
Drive 1 is 19092 Mb (34 / 0)
Raid1 array consists of 2 drives.
Promise Fasttrak(tm) Softwareraid driver for linux version 0.03beta
Highpoint HPT370 Softwareraid driver for linux version 0.01
No raid array found
^^^^^^^^^^^^^^^^^^^
...
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
...
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ataraid(114,5), internal journal
EXT3-fs: mounted filesystem with writeback data mode.

# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/ataraid/d0p2      4805760   1971804   2589836  44% /
/dev/ataraid/d0p1        13863      5391      7756  42% /boot
/dev/ataraid/d0p5     13931584   1874316  11349584  15% /home

Promise:
# lspci -v
00:0c.0 RAID bus controller: Promise Technology, Inc. 20267 (rev 02)
        Subsystem: Promise Technology, Inc.: Unknown device 4d39
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at b000 [size=8]
        I/O ports at b400 [size=4]
        I/O ports at b800 [size=8]
        I/O ports at bc00 [size=4]
        I/O ports at c000 [size=64]
        Memory at f8100000 (32-bit, non-prefetchable) [size=128K]
        Expansion ROM at <unassigned> [disabled] [size=64K]
        Capabilities: [58] Power Management version 1

--
  ricardo
       A paperless office has about as much a chance as a paperless bathroom
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. Promise 20267 hangs with 2.4.19-pre3 and 2.4.19-pre3-ac3

With 2.4.18 everything works fine:

  Mar 13 13:56:13 athlon kernel: PDC20267: IDE controller on PCI bus 00 dev 48
  Mar 13 13:56:13 athlon kernel: PDC20267: chipset revision 2
  Mar 13 13:56:13 athlon kernel: PDC20267: not 100%% native mode: will probe irqs later
  Mar 13 13:56:13 athlon kernel: PDC20267: (U)DMA Burst Bit ENABLED Primary PCI Mode Secondary PCI Mode.
  Mar 13 13:56:13 athlon kernel:     ide2: BM-DMA at 0x1800-0x1807, BIOS settings: hde:pio, hdf:pio
  Mar 13 13:56:13 athlon kernel:     ide3: BM-DMA at 0x1808-0x180f, BIOS settings: hdg:pio, hdh:pio

  Mar 13 13:56:13 athlon kernel: hde: Maxtor 4G120J6, ATA DISK drive
  Mar 13 13:56:13 athlon kernel: hdf: Maxtor 4G160J8, ATA DISK drive
  Mar 13 13:56:13 athlon kernel: hdg: TOSHIBA CD-ROM XM-6602B, ATAPI CD/DVD-ROM drive

  Mar 13 13:56:14 athlon kernel: hde: 240121728 sectors (122942 MB) w/2048KiB Cache, CHS=238216/16/63, UDMA(100)
  Mar 13 13:56:14 athlon kernel: hdf: 268435455 sectors (137439 MB) w/2048KiB Cache, CHS=266305/16/63, UDMA(100)

  Mar 13 13:56:14 athlon kernel: Partition check:
  Mar 13 13:56:14 athlon kernel:  hde: hde1 hde2 hde3 hde4
  Mar 13 13:56:14 athlon kernel:  hdf: hdf1

With 2.4.19-pre3 and pre3-ac3 the disk type and size are reported correctly
but the systems hangs at the partition check (I couldn't find a copy of the log on
the disk so I edited the above to match what I remembered on the screen):

  Mar 13 13:56:13 athlon kernel: hde: Maxtor 4G120J6, ATA DISK drive
  Mar 13 13:56:14 athlon kernel: hde: 240121728 sectors (122942 MB) w/2048KiB Cache, CHS=238216/16/63, UDMA(100)
  Mar 13 13:56:14 athlon kernel: Partition check:
  Mar 13 13:56:14 athlon kernel:  hde:

I tried the experiental ide timeout workaround and that does print a timeout message
after a few seconds but the system still hangs there.

Its a Tyan 2462 athlon SMP with real SMP CPUs. There is another disk and a cdrom on
this controller but due to cable lengths I can't switch things around.

I am willing to try any patch or suggestion...

Andrew

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. httpd fails. When it restarts, it's no good.

3. Fix for promise RAID controllers not working as IDE controllers in 2.4.19

4. suid ...

5. kernel 2.4.19-rc1-ac2 ide BUG: maybe related to promise 20268 ?

6. Linux and Power Management

7. PROBLEM: Kernel 2.4.18 Promise driver (IDE) hangs @ boot with Promise 20267

8. KDE Help !

9. Possible bug and question about ide_notify_reboot in drivers/ide/ide.c (2.4.19)

10. Raid not working: Promise PDC20276+kernel 2.4.19

11. FW: Problems with 2.4.19 Kernel and Promise FastTrak100 RAID Controller (2.4.18 works)

12. DMA timeouts on Promise 20267 IDE card

13. IDE Promise hang on 2.4.19-pre2.