Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jan 2011 22:11:17 +0200
From:      Alexander Motin <mav@FreeBSD.org>
To:        Marek Salwerowicz <marek_sal@wp.pl>
Cc:        current <current@freebsd.org>
Subject:   Re: Soekris net5501-70 problem with loading ATA modules on FreeBSD-Current
Message-ID:  <4D31FF65.6010000@FreeBSD.org>
In-Reply-To: <mailpost.1295099154.9461759.68423.mailing.freebsd.current@FreeBSD.cs.nctu.edu.tw>
References:  <mailpost.1295099154.9461759.68423.mailing.freebsd.current@FreeBSD.cs.nctu.edu.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi.

Marek Salwerowicz wrote:
> I am unable to dynamically load modules to support ATA disks on soekris
> net5501-70.
> 
> I boot via PXE diskless FreeBSD-Current.
> In kernel config there are commented out options:
> 
> #device          ata            #device          atadisk
> 
> After boot, I load modules:
> 
> # kldload ata.ko
> # kldload atapci.ko
> # kldload ataamd
> # kldload atadisk
> 
> after that, in dmesg:
> 
> atapci0: <AMD ATA controller> port
> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 20.2 on pci0
> atapci0: failed to add ata child device
> atapci0: failed to add ata child device

I think these errors caused by devices created for legacy ISA
compatibility via device hints. Go to device.hints and remove all ATA
stuff from there to force ATA to be detected only via PCI.

Another problem I see here with module load order. Loading atapci before
ataadm will make generic driver attach to controller, not specific one.
Unluckily loading in different order won't help, I think, because ataamd
depends on atapci and will load it automatically.

-- 
Alexander Motin



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