Re: No ATA disks on 9.1-RC3

From: Alex Keda <admin_at_lissyara.su>
Date: Mon, 19 Nov 2012 17:01:41 +0400
19.11.2012 13:19, Volodymyr Kostyrko пишет:
> 19.11.2012 10:59, Volodymyr Kostyrko wrote:
>> 19.11.2012 10:24, Alex Keda wrote:
>>> ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
>>> ada0: <WDC WD1600BEVT-00A0RT0 01.01A01> ATA-8 SATA 2.x device
>>> ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
>>> ada0: Command Queueing enabled
>>> ada0: 152627MB (312581809 512 byte sectors: 16H 63S/T 16383C)
>>> ada0: Previously was known as ad4
>>
>> Looking for this one? ATA_CAM was made default for now.
>
> Damn I'm sorry. Looks like I need my coffee back...
>
> The change actually is at:
>
> > ahci0: <ATI IXP600 AHCI SATA controller> port
> 0x9000-0x9007,0x9008-0x900b,0x9010-0x9017,0x5018-0x501b,0x5020-0x502f
> mem 0xd0409000-0xd04093ff irq 16 at device 18.0 on pci0
> > ahci0: AHCI v1.10 with 4 3Gbps ports, Port Multiplier not supported
>
> and
>
> > ahci0: <ATI IXP600 AHCI SATA controller> port
> 0x9000-0x9007,0x9008-0x900b,0x9010-0x9017,0x5018-0x501b,0x5020-0x502f
> mem 0xd0409000-0xd04093ff irq 16 at device 18.0 on pci0
> > ioapic0: routing intpin 16 (PCI IRQ 16) to lapic 0 vector 52
> > ahci0: AHCI v0.00 with 1 ?Gbps ports, Port Multiplier not supported
> with FBS
> > ahci0: Caps: ?Gbps FBS 2cmd 1ports
>
> The bad thing about that is that there was no major rewrite of ahci
> code in this timeframe. There are some point that can be checked though:
>
> 1. What is your BIOS settings for controller? Can you try switching it
> between Legacy/Compatible mode? There was a change that fixed behavior
> for detecting different BIOS settings.
>
> 2. You can try using modular driver for this one, this means adding
> this to kernel:
>
> nodevice ata
> device atacore
> device ataati
> device ataahci
>
It's not build
config:
===========
root_at_HP:/usr/src # vim /usr/src/sys/amd64/conf/HP
#
include GENERIC
ident HPKERNEL

nodevice ata
nodevice siis
device atacore
device ataati
device ataahci
=============

error:
=============
MAKE=make sh /usr/src/sys/conf/newvers.sh HPKERNEL
/usr/local/bin/svnversion
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g
-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef
-Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs
-fdiagnostics-show-option -nostdinc -I. -I/usr/src/sys
-I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
-include opt_global.h -fno-common -finline-limit=8000 --param
inline-unit-growth=100 --param large-function-growth=1000
-fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse
-msoft-float -fno-asynchronous-unwind-tables -ffreestanding
-fstack-protector vers.c
linking kernel.debug
ata-ahci.o: In function `ata_ahci_ata_attach':
/usr/src/sys/dev/ata/chipsets/ata-ahci.c:128: undefined reference to
`ata_pci_ch_attach'
/usr/src/sys/dev/ata/chipsets/ata-ahci.c:129: undefined reference to
`ata_pci_ch_detach'
ata-ahci.o: In function `ata_ahci_probe':
/usr/src/sys/dev/ata/chipsets/ata-ahci.c:97: undefined reference to
`ata_pcivendor2str'
/usr/src/sys/dev/ata/chipsets/ata-ahci.c:100: undefined reference to
`ata_pcivendor2str'
ata-ahci.o: In function `ata_ahci_chipinit':
/usr/src/sys/dev/ata/chipsets/ata-ahci.c:165: undefined reference to
`ata_generic_intr'
/usr/src/sys/dev/ata/chipsets/ata-ahci.c:165: undefined reference to
`ata_setup_interrupt'
ata-ahci.o:(.data+0x1c0): undefined reference to `ata_pci_devclass'
ata-ahci.o:(.data+0x200): undefined reference to `ata_pci_devclass'
ata-ahci.o:(.data+0x2c8): undefined reference to `ata_pci_detach'
ata-ahci.o:(.data+0x2d8): undefined reference to `ata_pci_suspend'
ata-ahci.o:(.data+0x2e8): undefined reference to `ata_pci_resume'
ata-ahci.o:(.data+0x308): undefined reference to `ata_pci_read_ivar'
ata-ahci.o:(.data+0x318): undefined reference to `ata_pci_write_ivar'
ata-ahci.o:(.data+0x328): undefined reference to `ata_pci_alloc_resource'
ata-ahci.o:(.data+0x338): undefined reference to `ata_pci_release_resource'
ata-ahci.o:(.data+0x368): undefined reference to `ata_pci_setup_intr'
ata-ahci.o:(.data+0x378): undefined reference to `ata_pci_teardown_intr'
ata-ahci.o:(.data+0x3b8): undefined reference to `ata_pci_attach'
ata-ahci.o:(.data+0x3c8): undefined reference to `ata_pci_detach'
ata-ahci.o:(.data+0x3d8): undefined reference to `ata_pci_suspend'
ata-ahci.o:(.data+0x3e8): undefined reference to `ata_pci_resume'
ata-ahci.o:(.data+0x408): undefined reference to `ata_pci_read_ivar'
ata-ahci.o:(.data+0x418): undefined reference to `ata_pci_write_ivar'
ata-ahci.o:(.data+0x428): undefined reference to `ata_pci_alloc_resource'
ata-ahci.o:(.data+0x438): undefined reference to `ata_pci_release_resource'
ata-ahci.o:(.data+0x468): undefined reference to `ata_pci_setup_intr'
ata-ahci.o:(.data+0x478): undefined reference to `ata_pci_teardown_intr'
ata-ahci.o:(.data+0x488): undefined reference to `ata_pci_read_config'
ata-ahci.o:(.data+0x498): undefined reference to `ata_pci_write_config'
ata-ahci.o:(.data+0x4a8): undefined reference to `ata_pci_print_child'
ata-ahci.o:(.data+0x4b8): undefined reference to
`ata_pci_child_location_str'
ata-ati.o: In function `ata_ati_chipinit':
/usr/src/sys/dev/ata/chipsets/ata-ati.c:131: undefined reference to
`ata_generic_intr'
/usr/src/sys/dev/ata/chipsets/ata-ati.c:131: undefined reference to
`ata_setup_interrupt'
ata-ati.o: In function `ata_ati_ixp700_ch_attach':
/usr/src/sys/dev/ata/chipsets/ata-ati.c:195: undefined reference to
`ata_pci_ch_attach'
ata-ati.o: In function `ata_ati_dumb_ch_attach':
/usr/src/sys/dev/ata/chipsets/ata-ati.c:181: undefined reference to
`ata_pci_ch_attach'
ata-ati.o: In function `ata_ati_probe':
/usr/src/sys/dev/ata/chipsets/ata-ati.c:99: undefined reference to
`ata_match_chip'
/usr/src/sys/dev/ata/chipsets/ata-ati.c:102: undefined reference to
`ata_set_desc'
ata-ati.o: In function `ata_ati_setmode':
/usr/src/sys/dev/ata/chipsets/ata-ati.c:254: undefined reference to
`ata_mode2idx'
ata-ati.o:(.data+0x1c0): undefined reference to `ata_pci_devclass'
ata-ati.o:(.data+0x238): undefined reference to `ata_pci_attach'
ata-ati.o:(.data+0x248): undefined reference to `ata_pci_detach'
ata-ati.o:(.data+0x258): undefined reference to `ata_pci_suspend'
ata-ati.o:(.data+0x268): undefined reference to `ata_pci_resume'
ata-ati.o:(.data+0x288): undefined reference to `ata_pci_read_ivar'
ata-ati.o:(.data+0x298): undefined reference to `ata_pci_write_ivar'
ata-ati.o:(.data+0x2a8): undefined reference to `ata_pci_alloc_resource'
ata-ati.o:(.data+0x2b8): undefined reference to `ata_pci_release_resource'
ata-ati.o:(.data+0x2e8): undefined reference to `ata_pci_setup_intr'
ata-ati.o:(.data+0x2f8): undefined reference to `ata_pci_teardown_intr'
ata-ati.o:(.data+0x308): undefined reference to `ata_pci_read_config'
ata-ati.o:(.data+0x318): undefined reference to `ata_pci_write_config'
ata-ati.o:(.data+0x328): undefined reference to `ata_pci_print_child'
ata-ati.o:(.data+0x338): undefined reference to `ata_pci_child_location_str'
ata-siliconimage.o: In function `ata_sii_probe':
/usr/src/sys/dev/ata/chipsets/ata-siliconimage.c:112: undefined
reference to `ata_match_chip'
/usr/src/sys/dev/ata/chipsets/ata-siliconimage.c:115: undefined
reference to `ata_set_desc'
ata-siliconimage.o: In function `ata_cmd_ch_attach':
/usr/src/sys/dev/ata/chipsets/ata-siliconimage.c:237: undefined
reference to `ata_pci_ch_attach'
ata-siliconimage.o: In function `ata_sii_ch_detach':
/usr/src/sys/dev/ata/chipsets/ata-siliconimage.c:358: undefined
reference to `ata_pci_dmafini'
ata-siliconimage.o: In function `ata_sii_ch_attach':
/usr/src/sys/dev/ata/chipsets/ata-siliconimage.c:344: undefined
reference to `ata_pci_hw'
/usr/src/sys/dev/ata/chipsets/ata-siliconimage.c:349: undefined
reference to `ata_pci_dmainit'
ata-siliconimage.o: In function `ata_sii_chipinit':
/usr/src/sys/dev/ata/chipsets/ata-siliconimage.c:125: undefined
reference to `ata_generic_intr'
/usr/src/sys/dev/ata/chipsets/ata-siliconimage.c:125: undefined
reference to `ata_setup_interrupt'
/usr/src/sys/dev/ata/chipsets/ata-siliconimage.c:223: undefined
reference to `ata_pci_ch_detach'
ata-siliconimage.o: In function `ata_sii_setmode':
/usr/src/sys/dev/ata/chipsets/ata-siliconimage.c:448: undefined
reference to `ata_mode2idx'
ata-siliconimage.o: In function `ata_cmd_setmode':
/usr/src/sys/dev/ata/chipsets/ata-siliconimage.c:295: undefined
reference to `ata_mode2idx'
ata-siliconimage.o: In function `ata_sii_status':
/usr/src/sys/dev/ata/chipsets/ata-siliconimage.c:376: undefined
reference to `ata_pci_status'
ata-siliconimage.o: In function `ata_cmd_status':
/usr/src/sys/dev/ata/chipsets/ata-siliconimage.c:260: undefined
reference to `ata_pci_status'
ata-siliconimage.o:(.data+0x140): undefined reference to `ata_pci_devclass'
ata-siliconimage.o:(.data+0x1b8): undefined reference to `ata_pci_attach'
ata-siliconimage.o:(.data+0x1c8): undefined reference to `ata_pci_detach'
ata-siliconimage.o:(.data+0x1d8): undefined reference to `ata_pci_suspend'
ata-siliconimage.o:(.data+0x1e8): undefined reference to `ata_pci_resume'
ata-siliconimage.o:(.data+0x208): undefined reference to `ata_pci_read_ivar'
ata-siliconimage.o:(.data+0x218): undefined reference to
`ata_pci_write_ivar'
ata-siliconimage.o:(.data+0x228): undefined reference to
`ata_pci_alloc_resource'
ata-siliconimage.o:(.data+0x238): undefined reference to
`ata_pci_release_resource'
ata-siliconimage.o:(.data+0x268): undefined reference to
`ata_pci_setup_intr'
ata-siliconimage.o:(.data+0x278): undefined reference to
`ata_pci_teardown_intr'
ata-siliconimage.o:(.data+0x288): undefined reference to
`ata_pci_read_config'
ata-siliconimage.o:(.data+0x298): undefined reference to
`ata_pci_write_config'
ata-siliconimage.o:(.data+0x2a8): undefined reference to
`ata_pci_print_child'
ata-siliconimage.o:(.data+0x2b8): undefined reference to
`ata_pci_child_location_str'
*** [kernel.debug] Error code 1

Stop in /usr/obj/usr/src/sys/HP.
*** [buildkernel] Error code 1

Stop in /usr/src.
*** [buildkernel] Error code 1

Stop in /usr/src.
Received on Mon Nov 19 2012 - 12:01:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:32 UTC