From: "Michal Piotrowski" <michal.k.k.piotrowski@gmail.com>
To: Bartek <poemann@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Pata support for IDE Controller 82801G ICH7 in Linux 2.6.22
Date: Sun, 22 Jul 2007 20:55:27 +0200 [thread overview]
Message-ID: <6bffcb0e0707221155l5bf7702r449846be48940a42@mail.gmail.com> (raw)
In-Reply-To: <19061b0b0707221021p4ca776d9k737121ddf553b1ce@mail.gmail.com>
On 22/07/07, Bartek <poemann@gmail.com> wrote:
> On 22/07/07, Bartek <poemann@gmail.com> wrote:
> > Hi
> >
> > I have a laptop Asus A6JM with Intel IDE Controller 82801G ICH7
> > Family. I wanna give a try a new PATA driver instead the old one
> > (IDE), so I compiled these modules in the Linux 2.6.22 (CONFIG_IDE is
> > not set) :
> > # SCSI device support
> > CONFIG_SCSI=y
> > CONFIG_SCSI_TGT=m
> > CONFIG_SCSI_NETLINK=y
> > CONFIG_SCSI_PROC_FS=y
> >
> > # SCSI support type (disk, tape, CD-ROM)
> > CONFIG_BLK_DEV_SD=y
> > CONFIG_BLK_DEV_SR=m
> > CONFIG_CHR_DEV_SCH=m
> >
> > # Some SCSI devices (e.g. CD jukebox) support multiple LUNs
> > CONFIG_SCSI_MULTI_LUN=y
> > CONFIG_SCSI_SCAN_ASYNC=y
> > CONFIG_SCSI_WAIT_SCAN=m
> >
> > # SCSI Transports
> > CONFIG_SCSI_SPI_ATTRS=m
> > CONFIG_SCSI_FC_ATTRS=m
> > CONFIG_SCSI_ISCSI_ATTRS=m
> > CONFIG_SCSI_SAS_ATTRS=m
> > CONFIG_SCSI_SAS_LIBSAS=m
> >
> > # SATA/PATA driver configuration
> > CONFIG_ATA=m
> > CONFIG_ATA_ACPI=y
> > CONFIG_SATA_AHCI=m
> > CONFIG_ATA_PIIX=m
> > CONFIG_ATA_GENERIC=m
> > CONFIG_PATA_PCMCIA=m
> >
> > Then I added to /etc/initramfs-tools/modules these modules:
> > ata_generic, libata, ata_piix
> > After installing the new kernel and rebooting, the system stopped
> > showing a message:
> > "Waiting for root file system..."
> > Then, after 2 or 3 minutes initramfs shell appeared. So I checked if
> > 82801G controller is supported, and I found this in
> > linux/drivers/ata/ata_piix.c
> > /* 82801GB/GR/GH (ICH7, identical to ICH6) */
> > { 0x8086, 0x27c0, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich6_sata_ahci },
> > /* 2801GBM/GHM (ICH7M, identical to ICH6M) */
> > { 0x8086, 0x27c4, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich6m_sata_ahci },
> >
> > My question is there a Linux PATA driver for the IDE Controller 82801G
> > ICH7 Family or is there any plan to support it?
> >
> > My /etc/fstab looks like:
> > # /etc/fstab: static file system information.
> > #
> > # <file system> <mount point> <type> <options> <dump> <pass>
> > proc /proc proc defaults 0 0
> > LABEL=ROOT / ext3 defaults,errors=remount-ro 0 1
> > LABEL=BOOT /boot ext3 defaults 0 2
> > LABEL=HOME /home ext3
> > noatime,defaults,errors=remount-ro 0 2
> > LABEL=SWAP none swap sw 0 0
> >
> > The fragment of /boot/grub/menu.lst
> > title Debian GNU/Linux, kernel 2.6.22
> > root (hd0,0)
> > kernel /vmlinuz-2.6.22 root=LABEL=ROOT ro vga=792
> > initrd /initrd.img-2.6.22
> > savedefault
> >
> > Output of lspci -vvv
> > 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE
> > Controller (rev 02) (prog-if 8a [Master SecP PriP])
> > Subsystem: ASUSTeK Computer Inc. Unknown device 1237
> > 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
> > Interrupt: pin A routed to IRQ 20
> > Region 0: I/O ports at 01f0 [size=8]
> > Region 1: I/O ports at 03f4 [size=1]
> > Region 2: I/O ports at 0170 [size=8]
> > Region 3: I/O ports at 0374 [size=1]
> > Region 4: I/O ports at ffa0 [size=16]
>
> Hi again,
>
> Michal Piotrowski (thanks Michal :)) took me a private notice that I
> should send output of lspci -n instead of lspci -vvv, so here it is
> (part of, I hope that's enough):
>
> 00:1f.1 0101: 8086:27df (rev 02)
Ok, this controller is supported.
Did you forgot about CONFIG_PATA_MPIIX=y?
>
> Regards
> Bartek
>
Regards,
Michal
--
LOG
http://www.stardust.webpages.pl/log/
next prev parent reply other threads:[~2007-07-22 18:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-22 9:59 Bartek
[not found] ` <6bffcb0e0707220311v5b145050hbd911e37b6f14c80@mail.gmail.com>
2007-07-22 17:21 ` Bartek
2007-07-22 18:55 ` Michal Piotrowski [this message]
2007-07-22 20:19 ` Bartek
2007-07-22 20:38 ` Alan Cox
2007-07-22 22:03 ` Bartek
2007-07-22 22:12 ` Daniel Hazelton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6bffcb0e0707221155l5bf7702r449846be48940a42@mail.gmail.com \
--to=michal.k.k.piotrowski@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=poemann@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®