Summary: | Intel SATA not recognized by gentoo-sources-2.6.22 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jiri Pittner <jiri.pittner> |
Component: | [OLD] Core system | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | giovanni.bobbio |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
kernel .config
working .config |
Description
Jiri Pittner
2007-07-10 11:48:43 UTC
Here's the change that removed the combined option (including rationale): http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=8cdfb29c0cd801 I'm assuming you were using libata (ata_piix) for your root disk, and your disk was /dev/sda or similar (as opposed to hda). Compile CONFIG_ATA_PIIX into your kernel but NOT CONFIG_BLK_DEV_PIIX If your cdrom was previously /dev/hdc (or similar), it will now become /dev/sr0. Remember to compile SCSI CDROM support into your kernel. Created attachment 124505 [details]
kernel .config
currently employed kernel config
Comment on attachment 124505 [details] kernel .config the suggestion in comment #1 did not help; in the attachment is my .config file. I have tried 2.6.22-r1, problem remains the same. J.P. What is the command line you boot your kernel with? In particular, what device do you tell it to use for your root partition? (In reply to comment #5) > What is the command line you boot your kernel with? In particular, what device > do you tell it to use for your root partition? > I had the same problem and the following worked for me: grub.conf changed root=/dev/sda7 to root=/dev/hda7 /etc/fstab changed /boot / and swap from /dev/sdaX to /dev/hdaX .config followed dsd's suggestions: CONFIG_ARA_PIIX=y #CONFIG_BLK_DEV is not set Hope this helps you Created attachment 124747 [details]
working .config
Here's my working .config
(In reply to comment #6) > (In reply to comment #5) > > What is the command line you boot your kernel with? In particular, what device > > do you tell it to use for your root partition? > > > > I had the same problem and the following worked for me: > > grub.conf > changed root=/dev/sda7 to root=/dev/hda7 > > /etc/fstab > changed /boot / and swap from > /dev/sdaX to /dev/hdaX > > .config > followed dsd's suggestions: > CONFIG_ARA_PIIX=y > #CONFIG_BLK_DEV is not set > > Hope this helps you > dsd has responded that this is an incorrect solution. Please don't follow this. (In reply to comment #4) > I have tried 2.6.22-r1, problem remains the same. > J.P. > Could you please post your /boot/grub/grub.conf and your /etc/fstab ? here is grub.conf: # For booting GNU/Linux title GNU/Linux default root (hd0,2) kernel /boot/kernel root=/dev/sda5 libata.atapi_enabled=1 hdc=noprobe #initrd /initrd.img # title GNU/Linux runlevel 1 root (hd0,2) kernel /boot/kernel root=/dev/sda5 libata.atapi_enabled=1 hdc=noprobe 1 title GNU/Linux 2.6.22-r1 root (hd0,2) kernel /boot/kernel-gentoo-2.6.22-r1 root=/dev/sda5 title GNU/Linux 2.6.21-r1 root (hd0,2) kernel /boot/kernel-gentoo-2.6.21-r1 root=/dev/sda5 libata.atapi_enabled=1 hdc=noprobe title GNU/Linux 2.6.21 root (hd0,2) kernel /boot/kernel-gentoo-2.6.21 root=/dev/sda5 libata.atapi_enabled=1 hdc=noprobe ...some more entries skipped... and /etc/fstab: /dev/sda3 /boot ext2 auto,noatime 1 2 /dev/sda5 / ext3 noatime 0 1 /dev/sda2 none swap sw 0 0 /dev/vg0/usr /usr ext3 auto,noatime 0 1 /dev/vg0/opt /opt ext3 auto,noatime 0 1 /dev/vg0/local /local ext3 auto,noatime 0 1 /dev/vg0/quantchem /quantchem ext3 auto,noatime 0 1 /dev/vg0/scratch /scratch xfs auto,noatime 0 1 /dev/mapper/cryptohome /home ext3 auto,noatime 0 1 /dev/cdrom /mnt/cdrom iso9660 user,noatime,noauto,ro 0 0 /dev/cdrom /mnt/udf udf user,noatime,noauto,rw 0 0 /dev/mapper/cryptodisk /mnt/disk0 xfs user,noatime,noauto,rw 0 0 /dev/sdb /mnt/nokiausb auto user,noatime,noauto,rw 0 0 /dev/sdb1 /mnt/disk1 auto user,noatime,noauto,rw 0 0 /dev/sdc1 /mnt/disk2 auto user,noatime,noauto,rw 0 0 /dev/sdd1 /mnt/disk3 auto user,noatime,noauto,rw 0 0 /dev/sda1 /c ntfs-3g rw,auto,codepage=852,iocharset=iso8859-2,noatime,umask=00 0 0 #/dev/sda1 /c captive-ntfs rw,auto,noatime,umask=00 0 0 /dev/sda7 /f vfat rw,codepage=852,iocharset=iso8859-2,quiet,umask=00,auto,noatime 0 0 jiri@bohr.jh-inst.cas.cz /mnt/bhome sshfs user,noauto,noatime,rw 0 0 obexfs#00:12:D2:AD:FE:A7#11 /mnt/nokia fuse user,noauto,noatime,rw 0 0 #/dev/fd0 /mnt/floppy auto noauto 0 0 # NOTE: The next line is critical for boot! proc /proc proc defaults 0 0 # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for # POSIX shared memory (shm_open, shm_unlink). # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will # use almost no memory if not populated with files) shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 ...nfs skipped... Is this thread related to this issue? http://lkml.org/lkml/2007/4/29/188 You're using both the old ide and the new ata drivers. It's possible that these conflict, and anyway I don't think it's needed since CONFIG_ATA_PIIX also supports PATA drives on the Intel ICH controller. So please disable CONFIG_IDE in your .config, and remove the hdc=noprobe option from your grub.conf and see if that works for you. > So please disable CONFIG_IDE
> in your .config, and remove the hdc=noprobe option from your grub.conf and see
> if that works for you.
This works!
Thanks,
Jiri
|