floppy drives and ACPI

Sarunas Vancevicius vsarunas at eircom.net
Wed Oct 13 13:21:28 PDT 2004


On 18:41, Tue 12 Oct 04, Matthew Dillon wrote:
>     Ok, people whos floppies aren't recognized, please try this patch.
> 
>     I did not adopt the FreeBSD work, it was such a huge hack that there's
>     no point even trying to decipher the mess.  Instead I rolled a routine
>     to allocate all available resources of a particular type and return
>     information about what it did, and then check that against reasonable
>     values.
> 
> 						-Matt

generic buildkernel fails on a system which is about 2 weeks old.
Here is the error message:


cd /home/sarunas/src/sys ; env
MAKEOBJDIRPREFIX=/usr/obj/home/sarunas/src/sys/GENERIC
MODULES_OVERRIDE="" DEBUG="-g" DEBUG_FLAGS="-g" MACHINE=i386 make -f
Makefile.modules obj ;  env
MAKEOBJDIRPREFIX=/usr/obj/home/sarunas/src/sys/GENERIC
MODULES_OVERRIDE="" DEBUG="-g" DEBUG_FLAGS="-g" MACHINE=i386 make -f
Makefile.modules depend
cd /usr/obj/home/sarunas/src/sys/GENERIC;  make KERNEL=kernel all
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -fformat-extensions -ansi -g -nostdinc -I.
-I/home/sarunas/src/sys -I/home/sarunas/src/sys/../include
-I/home/sarunas/src/sys/contrib/dev/acpica
-I/home/sarunas/src/sys/contrib/ipfilter  -D_KERNEL -include
opt_global.h  -mpreferred-stack-boundary=2 -fno-common
-ffreestanding  /home/sarunas/src/sys/dev/disk/fd/fd_pccard.c
In file included from
/home/sarunas/src/sys/dev/disk/fd/fd_pccard.c:63:
/home/sarunas/src/sys/dev/disk/fd/fdc.h:79: field `res_ioports' has
incomplete type
*** Error code 1

Stop in /usr/obj/home/sarunas/src/sys/GENERIC.
*** Error code 1

Stop in /home/sarunas/src.
*** Error code 1

Stop in /home/sarunas/src.

-- 
Sarunas Vancevicius





More information about the Bugs mailing list