Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 May 2007 16:40:44 +0200
From:      des@des.no (Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?=)
To:        current@freebsd.org
Subject:   UFS close-to-open consistency
Message-ID:  <86abwiauc3.fsf@dwp.des.no>

next in thread | raw e-mail | index | archive | help
I had a very strange experience today involving typeahead and a slow
ssh connection.  Apparently, the second 'make' command below saw the
old version of if_rum.c instead of the new one I checked out from
repoman between the two builds.

des@dma ~% cd /sys/modules/rum
des@dma /sys/modules/rum% make DEBUG_FLAGS=3D-DUSB_DEBUG
Warning: Object directory not changed from original /usr/src/sys/modules/rum
@ -> /usr/src/sys
machine -> /usr/src/sys/amd64/include
:> opt_usb.h
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/usbdevs2h.awk @/dev/usb/usbdevs -h
cc -O -pipe -march=3Dnocona -Werror -D_KERNEL -DKLD_MODULE -std=3Dc99 -nost=
dinc -I-   -I. -I@ -I@/contrib/altq -finline-limit=3D8000 --param inline-un=
it-growth=3D100 --param large-function-growth=3D1000 -fno-common -DUSB_DEBU=
G -fno-omit-frame-pointer -mcmodel=3Dkernel -mno-red-zone  -mfpmath=3D387 -=
mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwin=
d-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-p=
rototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wund=
ef -fformat-extensions -c /usr/src/sys/modules/rum/../../dev/usb/if_rum.c
/usr/src/sys/modules/rum/../../dev/usb/if_rum.c: In function `rum_tx_mgt':
/usr/src/sys/modules/rum/../../dev/usb/if_rum.c:1194: warning: unsigned int=
 format, different type arg (arg 2)
/usr/src/sys/modules/rum/../../dev/usb/if_rum.c: In function `rum_tx_data':
/usr/src/sys/modules/rum/../../dev/usb/if_rum.c:1356: warning: unsigned int=
 format, different type arg (arg 2)
*** Error code 1

Stop in /usr/src/sys/modules/rum.
des@dma /sys/modules/rum% cd /sys/dev/usb=20
des@dma /sys/dev/usb% fncvs up
cd -
P if_rum.c
!ma
des@dma /sys/dev/usb% cd -
/sys/modules/rum
des@dma /sys/modules/rum% !ma
make DEBUG_FLAGS=3D-DUSB_DEBUG
Warning: Object directory not changed from original /usr/src/sys/modules/rum
cc -O -pipe -march=3Dnocona -Werror -D_KERNEL -DKLD_MODULE -std=3Dc99 -nost=
dinc -I-   -I. -I@ -I@/contrib/altq -finline-limit=3D8000 --param inline-un=
it-growth=3D100 --param large-function-growth=3D1000 -fno-common -DUSB_DEBU=
G -fno-omit-frame-pointer -mcmodel=3Dkernel -mno-red-zone  -mfpmath=3D387 -=
mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwin=
d-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-p=
rototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wund=
ef -fformat-extensions -c /usr/src/sys/modules/rum/../../dev/usb/if_rum.c
/usr/src/sys/modules/rum/../../dev/usb/if_rum.c: In function `rum_tx_mgt':
/usr/src/sys/modules/rum/../../dev/usb/if_rum.c:1194: warning: int format, =
different type arg (arg 2)
/usr/src/sys/modules/rum/../../dev/usb/if_rum.c: In function `rum_tx_data':
/usr/src/sys/modules/rum/../../dev/usb/if_rum.c:1356: warning: int format, =
different type arg (arg 2)
*** Error code 1

Stop in /usr/src/sys/modules/rum.
des@dma /sys/modules/rum% cd -
/sys/dev/usb
des@dma /sys/dev/usb% fncvs up
des@dma /sys/dev/usb% cd -
/sys/modules/rum
des@dma /sys/modules/rum% make
Warning: Object directory not changed from original /usr/src/sys/modules/rum
cc -O -pipe -march=3Dnocona -Werror -D_KERNEL -DKLD_MODULE -std=3Dc99 -nost=
dinc -I-   -I. -I@ -I@/contrib/altq -finline-limit=3D8000 --param inline-un=
it-growth=3D100 --param large-function-growth=3D1000 -fno-common -g -fno-om=
it-frame-pointer -mcmodel=3Dkernel -mno-red-zone  -mfpmath=3D387 -mno-sse -=
mno-sse2 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables =
-ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes=
  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -fform=
at-extensions -c /usr/src/sys/modules/rum/../../dev/usb/if_rum.c
ld  -d -warn-common -r -d -o if_rum.ko.debug if_rum.o
:> export_syms
awk -f /usr/src/sys/modules/rum/../../conf/kmod_syms.awk if_rum.ko.debug  e=
xport_syms | xargs -J% objcopy % if_rum.ko.debug
objcopy --only-keep-debug if_rum.ko.debug if_rum.ko.symbols
objcopy --strip-debug --add-gnu-debuglink=3Dif_rum.ko.symbols if_rum.ko.deb=
ug if_rum.ko
des@dma /sys/modules/rum% make clean
rm -f export_syms if_rum.ko if_rum.kld if_rum.o if_rum.ko.debug if_rum.ko.s=
ymbols opt_usb.h bus_if.h device_if.h usbdevs.h
des@dma /sys/modules/rum% make
Warning: Object directory not changed from original /usr/src/sys/modules/rum
:> opt_usb.h
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/usbdevs2h.awk @/dev/usb/usbdevs -h
cc -O -pipe -march=3Dnocona -Werror -D_KERNEL -DKLD_MODULE -std=3Dc99 -nost=
dinc -I-   -I. -I@ -I@/contrib/altq -finline-limit=3D8000 --param inline-un=
it-growth=3D100 --param large-function-growth=3D1000 -fno-common -g -fno-om=
it-frame-pointer -mcmodel=3Dkernel -mno-red-zone  -mfpmath=3D387 -mno-sse -=
mno-sse2 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables =
-ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes=
  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -fform=
at-extensions -c /usr/src/sys/modules/rum/../../dev/usb/if_rum.c
ld  -d -warn-common -r -d -o if_rum.ko.debug if_rum.o
:> export_syms
awk -f /usr/src/sys/modules/rum/../../conf/kmod_syms.awk if_rum.ko.debug  e=
xport_syms | xargs -J% objcopy % if_rum.ko.debug
objcopy --only-keep-debug if_rum.ko.debug if_rum.ko.symbols
objcopy --strip-debug --add-gnu-debuglink=3Dif_rum.ko.symbols if_rum.ko.deb=
ug if_rum.ko
des@dma /sys/modules/rum% df .
Filesystem  1K-blocks    Used    Avail Capacity  Mounted on
/dev/ar0s1f  64995338 8443858 51351854    14%    /usr
des@dma /sys/modules/rum% cd -
/sys/dev/usb
des@dma /sys/dev/usb% df .
Filesystem  1K-blocks    Used    Avail Capacity  Mounted on
/dev/ar0s1f  64995338 8443858 51351854    14%    /usr
des@dma /sys/dev/usb% mount -tufs
/dev/ar0s1a on / (ufs, local, soft-updates)
/dev/ar0s1d on /tmp (ufs, local, soft-updates)
/dev/ar0s1e on /var (ufs, local, soft-updates)
/dev/ar0s1f on /usr (ufs, local, soft-updates)
/dev/ar0s1g on /imap (ufs, local, soft-updates)
/dev/ar0s1h on /home (ufs, local, soft-updates)

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



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