[Bug 204554] Intel 6300ESB SATA150 cannot find disk and boot rerun of 127391

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Nov 15 07:06:41 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204554

            Bug ID: 204554
           Summary: Intel 6300ESB SATA150 cannot find disk and boot rerun
                    of 127391
           Product: Base System
           Version: 9.3-RELEASE
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: satz at iranger.com

I reported kern/127391 back when I upgraded to 6.3 and 7.1. A patch was
re-discovered after being lost. See

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=127391

for the details. I had to patch sys/dev/ata/chipsets/ata-intel.c to increase
the DELAY value in the reset routine.

*** /usr/src/sys/dev/ata/chipsets/ata-intel.c-  Fri Nov 28 08:47:33 2014
--- /usr/src/sys/dev/ata/chipsets/ata-intel.c   Sat Nov 14 03:08:23 2015
***************
*** 470,476 ****
                mask |= (1 << smap[1]);
        pci_write_config(parent, 0x92,
            pci_read_config(parent, 0x92, 2) & ~mask, 2);
!       DELAY(10);
        pci_write_config(parent, 0x92,
            pci_read_config(parent, 0x92, 2) | mask, 2);

--- 470,476 ----
                mask |= (1 << smap[1]);
        pci_write_config(parent, 0x92,
            pci_read_config(parent, 0x92, 2) & ~mask, 2);
!       DELAY(100);
        pci_write_config(parent, 0x92,
            pci_read_config(parent, 0x92, 2) | mask, 2);

I did notice that the GENERIC kernel worked fine when the console was
redirected to the serial port which led me to think to keep increasing the
DELAY value until it started working.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list