atacontrol broken in 7.1-PR

Bruce Cran bruce at cran.org.uk
Mon Sep 29 02:08:16 UTC 2008


On Sun, 28 Sep 2008 17:36:03 -0700
Jeremy Chadwick <koitsu at FreeBSD.org> wrote:
> Bruce and Pegasus,
> 
> Can you please apply the below patch to src/sbin/atacontrol.c and let
> me know what the output is when doing "atacontrol list"?
> 
> This won't solve the problem, but it will help in determining which
> piece of code in src/sys/dev/ata/ata-all.c is returning an error to
> ioctl() (different pieces of the code return different errors, either
> ENXIO, ENODEV, or another error depending upon what gets returned
> from ata_raid_ioctl_func()).

ATA channel 0:
    Master: acd0 <HL-DT-ST DVD+/-RW GSA-T11N/A102> ATA/ATAPI revision 5
    Slave:       no device present
atacontrol: ioctl(IOCATADEVICES) returned -1: Device not configured

This laptop's running GENERIC, so ATA_STATIC_ID is in my kernel config.

-- 
Bruce Cran


More information about the freebsd-hackers mailing list