* Pata support for IDE Controller 82801G ICH7 in Linux 2.6.22
@ 2007-07-22 9:59 Bartek
[not found] ` <6bffcb0e0707220311v5b145050hbd911e37b6f14c80@mail.gmail.com>
0 siblings, 1 reply; 7+ messages in thread
From: Bartek @ 2007-07-22 9:59 UTC (permalink / raw)
To: linux-kernel
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]
Regards
Bartek
^ permalink raw reply [flat|nested] 7+ messages in thread[parent not found: <6bffcb0e0707220311v5b145050hbd911e37b6f14c80@mail.gmail.com>]
* Re: Pata support for IDE Controller 82801G ICH7 in Linux 2.6.22 [not found] ` <6bffcb0e0707220311v5b145050hbd911e37b6f14c80@mail.gmail.com> @ 2007-07-22 17:21 ` Bartek 2007-07-22 18:55 ` Michal Piotrowski 0 siblings, 1 reply; 7+ messages in thread From: Bartek @ 2007-07-22 17:21 UTC (permalink / raw) To: linux-kernel; +Cc: Michal Piotrowski 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) Regards Bartek ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Pata support for IDE Controller 82801G ICH7 in Linux 2.6.22 2007-07-22 17:21 ` Bartek @ 2007-07-22 18:55 ` Michal Piotrowski 2007-07-22 20:19 ` Bartek 2007-07-22 20:38 ` Alan Cox 0 siblings, 2 replies; 7+ messages in thread From: Michal Piotrowski @ 2007-07-22 18:55 UTC (permalink / raw) To: Bartek; +Cc: linux-kernel 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/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Pata support for IDE Controller 82801G ICH7 in Linux 2.6.22 2007-07-22 18:55 ` Michal Piotrowski @ 2007-07-22 20:19 ` Bartek 2007-07-22 20:38 ` Alan Cox 1 sibling, 0 replies; 7+ messages in thread From: Bartek @ 2007-07-22 20:19 UTC (permalink / raw) To: linux-kernel; +Cc: Michal Piotrowski 2007/7/22, Michal Piotrowski <michal.k.k.piotrowski@gmail.com>: > Ok, this controller is supported. > > Did you forgot about CONFIG_PATA_MPIIX=y? I did not mention it in my previous message, but I made a few different compilation of Linux, also with that option (compiled directly to the kernel and as a module). And it did not work. But, to be sure I recompiled kernel again with CONFIG_PATA_MPIIX=y and it did not work. So, if the controller is supported, where is the problem? Bartek ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Pata support for IDE Controller 82801G ICH7 in Linux 2.6.22 2007-07-22 18:55 ` Michal Piotrowski 2007-07-22 20:19 ` Bartek @ 2007-07-22 20:38 ` Alan Cox 2007-07-22 22:03 ` Bartek 1 sibling, 1 reply; 7+ messages in thread From: Alan Cox @ 2007-07-22 20:38 UTC (permalink / raw) To: Michal Piotrowski; +Cc: Bartek, linux-kernel > > 00:1f.1 0101: 8086:27df (rev 02) > > Ok, this controller is supported. > Did you forgot about CONFIG_PATA_MPIIX=y? MPIIX is for early Intel laptop (pentium era). If the chip is in AHCI mode then CONFIG_AHCI may be what is missing ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Pata support for IDE Controller 82801G ICH7 in Linux 2.6.22 2007-07-22 20:38 ` Alan Cox @ 2007-07-22 22:03 ` Bartek 2007-07-22 22:12 ` Daniel Hazelton 0 siblings, 1 reply; 7+ messages in thread From: Bartek @ 2007-07-22 22:03 UTC (permalink / raw) To: Alan Cox; +Cc: Michal Piotrowski, linux-kernel 2007/7/22, Alan Cox <alan@lxorguk.ukuu.org.uk>: > > > 00:1f.1 0101: 8086:27df (rev 02) > > > > Ok, this controller is supported. > > Did you forgot about CONFIG_PATA_MPIIX=y? > > MPIIX is for early Intel laptop (pentium era). > > If the chip is in AHCI mode then CONFIG_AHCI may be what is missing > I made a few tests. First I booted my comp with Ubuntu Live Feisty Fawn, checked modules which are loaded, and interesting ones are: ata_piix, ata_generic, libata, scsi_mod, sg, sr_mod, sd_mod ls /dev/sda* showed: /dev/sda{1,2,3,4}. So I recompiled the kernel with these options (marking all these drivers as a modules, in the previous situation they were modules, as well as compiled directly), and tried to boot. Nothing worked. The same situation appeared: Waiting for root file system... Second, I installed a Debian distribution kernel (linux-image-2.6.22-1-686) and booted from it. It used an old IDE driver, not PATA. So again no success. According to AHCI, my chip is rather not that kind. Ubuntu does not load any AHCI modul. In my previous kernel compilations I tried that option as well. It did not work. Bartek ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Pata support for IDE Controller 82801G ICH7 in Linux 2.6.22 2007-07-22 22:03 ` Bartek @ 2007-07-22 22:12 ` Daniel Hazelton 0 siblings, 0 replies; 7+ messages in thread From: Daniel Hazelton @ 2007-07-22 22:12 UTC (permalink / raw) To: Bartek; +Cc: Alan Cox, Michal Piotrowski, linux-kernel On Sunday 22 July 2007 18:03:06 Bartek wrote: > 2007/7/22, Alan Cox <alan@lxorguk.ukuu.org.uk>: > > > > 00:1f.1 0101: 8086:27df (rev 02) > > > > > > Ok, this controller is supported. > > > Did you forgot about CONFIG_PATA_MPIIX=y? > > > > MPIIX is for early Intel laptop (pentium era). > > > > If the chip is in AHCI mode then CONFIG_AHCI may be what is missing > > I made a few tests. First I booted my comp with Ubuntu Live Feisty > Fawn, checked modules which are loaded, and interesting ones are: > ata_piix, ata_generic, libata, scsi_mod, sg, sr_mod, sd_mod > ls /dev/sda* showed: > /dev/sda{1,2,3,4}. > So I recompiled the kernel with these options (marking all these > drivers as a modules, in the previous situation they were modules, as > well as compiled directly), and tried to boot. Nothing worked. The > same situation appeared: Waiting for root file system... > Second, I installed a Debian distribution kernel > (linux-image-2.6.22-1-686) and booted from it. It used an old IDE > driver, not PATA. So again no success. > According to AHCI, my chip is rather not that kind. Ubuntu does not > load any AHCI modul. In my previous kernel compilations I tried that > option as well. It did not work. This sounds like a problem I ran into when I tried to boot a 2.6.21 kernel using libata with Ubuntu Edgy installed. The init script on the initramfs failed at the same point - not a problem with the drivers, but a problem with what the scripts are looking for. I'd suggest looking at the scripts on the initramfs - its been my experience that they are the culprit and not the kernel itself. DRH -- Dialup is like pissing through a pipette. Slow and excruciatingly painful. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-07-22 22:12 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-22 9:59 Pata support for IDE Controller 82801G ICH7 in Linux 2.6.22 Bartek
[not found] ` <6bffcb0e0707220311v5b145050hbd911e37b6f14c80@mail.gmail.com>
2007-07-22 17:21 ` Bartek
2007-07-22 18:55 ` Michal Piotrowski
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
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.