Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Sep 2009 12:29:14 +0600
From:      Dennis Chikin <ornoph@gmail.com>
To:        Alexander Motin <mav@freebsd.org>
Cc:        "Andrey V. Elsukov" <bu7cher@yandex.ru>, FreeBSD Mailing List <freebsd-stable@freebsd.org>, Jung-uk Kim <jkim@freebsd.org>
Subject:   Re: PATA disks/DVD not detected on ATI IXP 700 - cannot boot (dmesg attached)
Message-ID:  <dde89ecd0909292329h7f626d5an533f69e1c893b87@mail.gmail.com>
In-Reply-To: <4AC0FEBD.2020705@FreeBSD.org>
References:  <20090916161327.GB87631@zod.isi.edu> <20090919035214.GA12889@zod.isi.edu> <200909211239.25614.jkim@FreeBSD.org> <4AB9A3CE.4090509@yandex.ru> <dde89ecd0909242239j4ecebc3dsfef5ec265237b5b3@mail.gmail.com> <4ABC5962.80404@yandex.ru> <dde89ecd0909280247t3f14034cj2f81cb5019ee0264@mail.gmail.com> <4AC0FEBD.2020705@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> Here we can see detected: 4 (not 6!) SATA channels on AHCI controller,
> one PATA channel and 2 SATA channels in legacy emulation (why?).

It's "native" mode selected by BIOS setup as "default"

I hope, this diffs can be useful by some way:

===ahci -> "native"===

25c25
< real memory  = 1609236480 (1534 MB)
---
> real memory  = 1610285056 (1535 MB)
29,33c29,33
< 0x0000000000c25000 - 0x000000005e365fff, 1567887360 bytes (382785 pages)
< avail memory = 1569984512 (1497 MB)
< Table 'FACP' at 0x5feb0290
< Table 'APIC' at 0x5feb0390
< MADT: Found table at 0x5feb0390
---
> 0x0000000000c25000 - 0x000000005e460fff, 1568915456 bytes (383036 pages)
> avail memory = 1571012608 (1498 MB)
> Table 'FACP' at 0x5ffb0290
> Table 'APIC' at 0x5ffb0390
> MADT: Found table at 0x5ffb0390
62,70c62,70
< ACPI: XSDT @ 0x0x5feb0100/0x0054 (v  1 092208 XSDT1629 0x20080922
MSFT 0x00000097)
< ACPI: FACP @ 0x0x5feb0290/0x00F4 (v  3 092208 FACP1629 0x20080922
MSFT 0x00000097)
< ACPI: DSDT @ 0x0x5feb0440/0x7214 (v  1  A78GM A78GM922 0x00000004
INTL 0x20051117)
< ACPI: FACS @ 0x0x5febe000/0x0040
< ACPI: APIC @ 0x0x5feb0390/0x006C (v  1 092208 APIC1629 0x20080922
MSFT 0x00000097)
< ACPI: MCFG @ 0x0x5feb0400/0x003C (v  1 092208 OEMMCFG  0x20080922
MSFT 0x00000097)
< ACPI: OEMB @ 0x0x5febe040/0x0071 (v  1 092208 OEMB1629 0x20080922
MSFT 0x00000097)
< ACPI: HPET @ 0x0x5feb7660/0x0038 (v  1 092208 OEMHPET  0x20080922
MSFT 0x00000097)
< ACPI: SSDT @ 0x0x5feb76a0/0x0350 (v  1 A M I  POWERNOW 0x00000001
AMD  0x00000001)
---
> ACPI: XSDT @ 0x0x5ffb0100/0x0054 (v  1 092208 XSDT1629 0x20080922 MSFT 0x00000097)
> ACPI: FACP @ 0x0x5ffb0290/0x00F4 (v  3 092208 FACP1629 0x20080922 MSFT 0x00000097)
> ACPI: DSDT @ 0x0x5ffb0440/0x7214 (v  1  A78GM A78GM922 0x00000004 INTL 0x20051117)
> ACPI: FACS @ 0x0x5ffbe000/0x0040
> ACPI: APIC @ 0x0x5ffb0390/0x006C (v  1 092208 APIC1629 0x20080922 MSFT 0x00000097)
> ACPI: MCFG @ 0x0x5ffb0400/0x003C (v  1 092208 OEMMCFG  0x20080922 MSFT 0x00000097)
> ACPI: OEMB @ 0x0x5ffbe040/0x0071 (v  1 092208 OEMB1629 0x20080922 MSFT 0x00000097)
> ACPI: HPET @ 0x0x5ffb7660/0x0038 (v  1 092208 OEMHPET  0x20080922 MSFT 0x00000097)
> ACPI: SSDT @ 0x0x5ffb76a0/0x0350 (v  1 A M I  POWERNOW 0x00000001 AMD  0x00000001)
134c134
< acpi0: wakeup code va 0x83275000 pa 0x1000
---
> acpi0: wakeup code va 0x8327b000 pa 0x1000
258c258
< acpi0: reservation of 100000, 5fe00000 (3) failed
---
> acpi0: reservation of 100000, 5ff00000 (3) failed
264,267d263
<   Initial Probe       0   11   N     0  4 7 10 11 12 14 15
<   Validation          0   11   N     0  4 7 10 11 12 14 15
<   After Disable       0  255   N     0  4 7 10 11 12 14 15
< pci_link1:        Index  IRQ  Rtd  Ref  IRQs
270a267,270
> pci_link1:        Index  IRQ  Rtd  Ref  IRQs
>   Initial Probe       0   11   N     0  4 7 10 11 12 14 15
>   Validation          0   11   N     0  4 7 10 11 12 14 15
>   After Disable       0  255   N     0  4 7 10 11 12 14 15
321c321
< found->	vendor=0x1002, dev=0x4391, revid=0x00
---
> found->	vendor=0x1002, dev=0x4390, revid=0x00
323c323
< 	class=01-06-01, hdrtype=0x00, mfdev=0
---
> 	class=01-01-8f, hdrtype=0x00, mfdev=0
341c341
< 	intpin=a, irq=11
---
> 	intpin=a, irq=10
350c350
< 	intpin=a, irq=11
---
> 	intpin=a, irq=10
359c359
< 	intpin=b, irq=10
---
> 	intpin=b, irq=11
379c379
< 	map[10]: type Memory, range 32, base 0xfe8f7000, size 12, enabled
---
> 	map[10]: type Memory, range 32, base 0xfe8fb000, size 12, enabled
389c389
< 	map[10]: type Memory, range 32, base 0xfe8f6800, size  8, enabled
---
> 	map[10]: type Memory, range 32, base 0xfe8fa800, size  8, enabled
410c410
< 	intpin=a, irq=11
---
> 	intpin=a, irq=10
412c412
< 	map[10]: type Memory, range 64, base 0xfe8f0000, size 14, enabled
---
> 	map[10]: type Memory, range 64, base 0xfe8f4000, size 14, enabled
431c431
< 	map[10]: type Memory, range 32, base 0xfe8f5000, size 12, enabled
---
> 	map[10]: type Memory, range 32, base 0xfe8f9000, size 12, enabled
541c541
< atapci0: <ATI (ID=43911002) AHCI controller> port
0xc000-0xc007,0xb000-0xb003,0xa000-0xa007,0x9000-0x9003,0x8000-0x800f
mem 0xfe8ff800-0xfe8ffbff irq 22 at device 17.0 on pci0
---
> atapci0: <ATI (ID=43901002) AHCI controller> port 0xc000-0xc007,0xb000-0xb003,0xa000-0xa007,0x9000-0x9003,0x8000-0x800f mem 0xfe8ff800-0xfe8ffbff irq 22 at device 17.0 on pci0
547c547
< atapci0: AHCI Version 01.10 controller with 6 ports detected
---
> atapci0: AHCI Version 01.10 controller with 4 ports detected
569,578d568
< ata6: <ATA channel 4> on atapci0
< ata6: SATA connect status=00000000
< ata6: ahci_reset devices=0x0
< ata6: [MPSAFE]
< ata6: [ITHREAD]
< ata7: <ATA channel 5> on atapci0
< ata7: SATA connect status=00000000
< ata7: ahci_reset devices=0x0
< ata7: [MPSAFE]
< ata7: [ITHREAD]

=== ahci -> ahci + combined mode enabled ===

264,267d263
<   Initial Probe       0   11   N     0  4 7 10 11 12 14 15
<   Validation          0   11   N     0  4 7 10 11 12 14 15
<   After Disable       0  255   N     0  4 7 10 11 12 14 15
< pci_link1:        Index  IRQ  Rtd  Ref  IRQs
270a267,270
> pci_link1:        Index  IRQ  Rtd  Ref  IRQs
>   Initial Probe       0   11   N     0  4 7 10 11 12 14 15
>   Validation          0   11   N     0  4 7 10 11 12 14 15
>   After Disable       0  255   N     0  4 7 10 11 12 14 15
341c341
< 	intpin=a, irq=11
---
> 	intpin=a, irq=10
350c350
< 	intpin=a, irq=11
---
> 	intpin=a, irq=10
359c359
< 	intpin=b, irq=10
---
> 	intpin=b, irq=11
403c403
< 	MSI supports 1 message
---
> 	MSI supports 2 messages
410c410
< 	intpin=a, irq=11
---
> 	intpin=a, irq=10
547c547
< atapci0: AHCI Version 01.10 controller with 6 ports detected
---
> atapci0: AHCI Version 01.10 controller with 4 ports detected
569,578d568
< ata6: <ATA channel 4> on atapci0
< ata6: SATA connect status=00000000
< ata6: ahci_reset devices=0x0
< ata6: [MPSAFE]
< ata6: [ITHREAD]
< ata7: <ATA channel 5> on atapci0
< ata7: SATA connect status=00000000
< ata7: ahci_reset devices=0x0
< ata7: [MPSAFE]
< ata7: [ITHREAD]
647c637,661
< ata0: reset tp1 mask=00 ostat0=ff ostat1=ff
---
> ata0: reset tp1 mask=03 ostat0=7f ostat1=7f
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat1=0x7f err=0xff lsb=0xff msb=0xff
> ata0: reset tp2 stat0=ff stat1=ff devices=0x0

=== native -> native + combined mode enabled ===
403c403
< 	MSI supports 1 message
---
> 	MSI supports 2 messages
637c637,661
< ata0: reset tp1 mask=00 ostat0=ff ostat1=ff
---
> ata0: reset tp1 mask=03 ostat0=7f ostat1=7f
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
> ata0: stat1=0x7f err=0xff lsb=0xff msb=0xff
> ata0: reset tp2 stat0=ff stat1=ff devices=0x0



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dde89ecd0909292329h7f626d5an533f69e1c893b87>