Re: Linux 2.6.0-test9

From: Patrik Wallstrom (pawal_at_blipp.com)
Date: 10/26/03

  • Next message: Hans Reiser: "Re: Blockbusting news, results get worse"
    Date:	Sun, 26 Oct 2003 13:05:21 +0100
    To: Kernel Mailing List <linux-kernel@vger.kernel.org>
    
    

    On Sat, 25 Oct 2003, Linus Torvalds wrote:

    > Jeff Garzik:
    > o [libata] Merge Serial ATA core, and drivers for
    > o [libata] Integrate Serial ATA driver into kernel tree

    I am happy to see these in the kernel now, but I have yet to get them
    working on my KT6 Delta KT600 motherboard with the VT8237 SATA
    southbridge controller or even the Promise controller.

    These are the devices:

      Bus 0, device 13, function 0:
        RAID bus controller: PCI device 105a:3373 (Promise Technology, )
        (rev 2).
          IRQ 19.
          Master Capable. Latency=96. Min Gnt=4.Max Lat=18.
          I/O at 0xec00 [0xec3f].
          I/O at 0xe800 [0xe80f].
          I/O at 0xe400 [0xe47f].
          Non-prefetchable 32 bit memory at 0xdffdb000 [0xdffdbfff].
          Non-prefetchable 32 bit memory at 0xdffa0000 [0xdffbffff].

    Bus 0, device 15, function 0:
        RAID bus controller: PCI device 1106:3149 (VIA Technologies, In)
        (rev 128).
          IRQ 16.
          Master Capable. Latency=32.
          I/O at 0xd800 [0xd807].
          I/O at 0xd400 [0xd403].
          I/O at 0xd000 [0xd007].
          I/O at 0xcc00 [0xcc03].
          I/O at 0xc800 [0xc80f].
          I/O at 0xc400 [0xc4ff].

    And I am booting the kernel with these parameters to not let the IDE
    drivers catch the SATA-drives:
    ide2=noprobe ide3=noprobe hde=noprobe hdg=noprobe apm=power-off

    I am booting from a working IDE drive, to see if I can get the
    SATA-drives working:

    ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    VP_IDE: IDE controller at PCI slot 0000:00:0f.1
    VP_IDE: chipset revision 6
    VP_IDE: not 100% native mode: will probe irqs later
    VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
        ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:DMA
        ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:pio
    hda: IBM-DPTA-372050, ATA DISK drive
    hdb: HL-DT-STDVD-ROM GDR8162B, ATAPI CD/DVD-ROM drive
    ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    hda: max request size: 128KiB
    hda: 40088160 sectors (20525 MB) w/1961KiB Cache, CHS=39770/16/63, UDMA(33)
     hda: hda1 hda2 hda3
    hdb: ATAPI 48X DVD-ROM drive, 256kB Cache, UDMA(33)

    And here is the SATA on the Promise chipset (SATA378 TX2plus):
    libata version 0.75 loaded.
    sata_via version 0.11
    ata1: SATA max UDMA/133 cmd 0xD800 ctl 0xD402 bmdma 0xC800 irq 16
    ata2: SATA max UDMA/133 cmd 0xD000 ctl 0xCC02 bmdma 0xC808 irq 16
    ATA: abnormal status 0x7F on port 0xD807
    scsi0 : sata_via
    ata1: thread exiting
    ATA: abnormal status 0x7F on port 0xD007
    ata2: thread exiting
    scsi1 : sata_via
    (kernel continues)

    SATA on the VIA-chipset (VIA Serial ATA RAID):
    ata1: SATA max UDMA/133 cmd 0xD800 ctl 0xD402 bmdma 0xC800 irq 16
    ata2: SATA max UDMA/133 cmd 0xD000 ctl 0xCC02 bmdma 0xC808 irq 16
    ata1: dev 0 ATA, max UDMA/133, 156301488 sectors (lba48)
    ata1: dev 0 configured for UDMA/133
    scsi0 : sata_via
    ata2: dev 0 ATA, max UDMA/133, 156301488 sectors (lba48)
    ata2: dev 0 configured for UDMA/133
    scsi1 : sata_via
      Vendor: ATA Model: ST380013AS Rev: 0.75
      Type: Direct-Access ANSI SCSI revision: 05
      Vendor: ATA Model: ST380013AS Rev: 0.75
      Type: Direct-Access ANSI SCSI revision: 05
    SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
    SCSI device sda: drive cache: write through
     sda:<3>ata1: DMA timeout, stat 0x4
    (then hangs the kernel)

    What can I do to make either the Promise or the VIA interface work
    fine with the SATA disks?

    -- 
    patrik_wallstrom->foodfight->pawal@blipp.com->+46-733173956
                    `-> http://www.gnuheter.com/
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Hans Reiser: "Re: Blockbusting news, results get worse"

    Relevant Pages

    • Changes in SATA, IDE and ATAPI configuration
      ... At the risk of getting flamed for asking a basic question here, could I suggest that a kernel and/or driver developer provide a brief "how-to acticle" somehere that explains the way things have changed from the early 2.6.x days to more recent kernels like 2.6.14 or 2.6.15 with respect to configuring fundamental devices like IDE drives, SATA drives, and ATAPI drives. ... I have been struggling for about two weeks to move an image of an IDE OS Drive that's running a 2.6.14 kernel over to a SATA drive. ... When making fresh installs onto SATA drives, some distributions seem to load the AHCI module and some don't, on exactly the same hardware with the same kernel. ...
      (Linux-Kernel)
    • Re: Re: module load sequence
      ... The ata_piix SATA driver grabs ownership over the IDE ports when it is loaded, but does not support PATA ATAPI devices such as the Ultrabay optical drives. ... Compile IDE into the kernel. ... I took the dvd rom out from the bay. ...
      (Debian-User)
    • Re: SATA DVD not recognized
      ... Should SATA have been tackled earlier? ... > somehow this makes the install program not see the IDE CD drive it is ... And hopefully, the Linux kernel ...
      (Debian-User)
    • SATA and 2.6.0-test9
      ... And I am booting the kernel with these parameters to not let the IDE ... And here is the SATA on the Promise chipset: ... ATA: abnormal status 0x7F on port 0xD807 ...
      (Linux-Kernel)
    • Re: ATA 100/133 und SATA (2)
      ... Überall wird bei IDE sehr schnell auf die Standards von ATA verwiesen. ... beide ATA in Baneb, soinst haette man SATA ja auch ... auch bei SATA von ATA oder IDE zu sprechen. ...
      (de.comp.hardware.laufwerke.festplatten)