cardbus and kldunload issue

2011-02-26 Thread Bernhard Schmidt
Hi,

while working on a wireless driver for a Cardbus card I stumbled over
an issue which bugs me quite a bit.

The device:

% none3@pci0:22:0:0:  class=0x028000 card=0x107f1043 chip=0x02011814 
rev=0x01 hdr=0x00

Loading the module attaches nicely to the device:

# kldload if_ral
% ral0: Ralink Technology RT2560 mem 0xf480-0xf4801fff irq 16 at device 
0.0 on cardbus0
% ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
% ral0: [ITHREAD]
# pciconf -l
% ral0@pci0:22:0:0:   class=0x028000 card=0x107f1043 chip=0x02011814 
rev=0x01 hdr=0x00

Though, kldunload doesn't detach the device, it doesn't even call the
module's detach function.

# kldunload if_ral
# pciconf -l
% ral0@pci0:22:0:0:   class=0x028000 card=0x107f1043 chip=0x02011814 
rev=0x01 hdr=0x00
# kldstat
% Id Refs AddressSize Name
%  1   27 0x8010 e640a0   kernel
# ifconfig ral0
% ral0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 2290
% ether 00:0e:a6:a6:1b:70
% media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
% status: no carrier

And of course trying to use the device at that point will result in
instant panics. Playing around a bit I've noticed that changing the bus
name in:

% DRIVER_MODULE(ral, pci, ral_pci_driver, ral_devclass, 0, 0);

from pci to cardbus makes a big difference. On module unload the detach
function is then called as expected. So, question is, are we doing some
too strict checks on module unload while matching the bus? Or is this
expected behavior and the drivers are supposed to indiciated that they
support both pci and cardbus? I don't see the later anywhere in tree.

-- 
Bernhard
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


snd_hda(4): speaker DISABLED after update to 9-CURRENT

2011-02-26 Thread Matthias Apitz

Hello,

I've installed 9-CURRENT on a laptop which worked fine before with
7.0-REL, concerning the sound via snd_hda(4). Now there is only sound
coming out from the headphone jack and I don't see how to enable the
speaker again. Btw: Why is this now so different on the same hardware
with the same driver?

$ cat /dev/sndstat 
FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0: HDA Realtek ALC880 PCM #0 Digital (play/rec) default
pcm1: HDA Realtek ALC880 PCM #1 Analog (rec)
pcm2: HDA Realtek ALC880 PCM #2 Analog (rec)

I'm attaching as well the grep'ed dmesg output for 'hdac' and 'pcm'.

Could someone please give me a hint how to get the speaker working again?
Thanks in advance

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
hdac0: OSS: pcm (pcm)
hdac0: OSS: pcm (pcm)
hdac0: OSS: pcm (pcm)
hdac0: OSS: pcm (pcm)
hdac0: OSS: pcm (pcm)
hdac0: OSS: pcm, speaker, line, mic, monitor
hdac0: OSS: pcm, speaker, line, mic, monitor
hdac0: OSS: pcm, speaker, line, mic, monitor
hdac0: OSS: pcm, speaker, line, mic, monitor
pcm0: HDA Realtek ALC880 PCM #0 Digital at cad 1 nid 1 on hdac0
pcm0: +--+
pcm0: | DUMPING PCM Playback/Record Channels |
pcm0: +--+
pcm0: 
pcm0: Playback:
pcm0: 
pcm0:  Stream cap: 0x0001
pcm0:  PCM
pcm0: PCM cap: 0x000e0160
pcm0:  16 20 24 bits, 44 48 96 KHz
pcm0: DAC: 2 4 3 5 6
pcm0: 
pcm0: Record:
pcm0: 
pcm0:  Stream cap: 0x0005
pcm0:  AC3 PCM
pcm0: PCM cap: 0x001e0160
pcm0:  16 20 24 32 bits, 44 48 96 KHz
pcm0: ADC: 10
pcm0: 
pcm0: +---+
pcm0: | DUMPING Playback/Record Paths |
pcm0: +---+
pcm0: 
pcm0: Playback:
pcm0: 
pcm0: nid=20 [pin: Line-out (Green Jack)]
pcm0:   |
pcm0:   + - nid=12 [audio mixer] [src: pcm, speaker, line, mic, monitor]
pcm0:  |
pcm0:  + - nid=2 [audio output] [src: pcm]
pcm0:  + - nid=11 [audio mixer] [src: speaker, line, mic, monitor]
pcm0: |
pcm0: + - nid=24 [pin: Mic (Pink Jack)] [src: mic]
pcm0: + - nid=25 [pin: Mic (Pink Jack)] [src: monitor]
pcm0: + - nid=26 [pin: Line-in (Blue Jack)] [src: line]
pcm0: + - nid=29 [beep widget] [src: speaker]
pcm0: 
pcm0: nid=22 [pin: Line-out (Orange Jack)]
pcm0:   |
pcm0:   + - nid=14 [audio mixer] [src: pcm, speaker, line, mic, monitor]
pcm0:  |
pcm0:  + - nid=4 [audio output] [src: pcm]
pcm0:  + - nid=11 [audio mixer] [src: speaker, line, mic, monitor]
pcm0: |
pcm0: + - nid=24 [pin: Mic (Pink Jack)] [src: mic]
pcm0: + - nid=25 [pin: Mic (Pink Jack)] [src: monitor]
pcm0: + - nid=26 [pin: Line-in (Blue Jack)] [src: line]
pcm0: + - nid=29 [beep widget] [src: speaker]
pcm0: 
pcm0: nid=21 [pin: Line-out (Black Jack)]
pcm0:   |
pcm0:   + - nid=13 [audio mixer] [src: pcm, speaker, line, mic, monitor]
pcm0:  |
pcm0:  + - nid=3 [audio output] [src: pcm]
pcm0:  + - nid=11 [audio mixer] [src: speaker, line, mic, monitor]
pcm0: |
pcm0: + - nid=24 [pin: Mic (Pink Jack)] [src: mic]
pcm0: + - nid=25 [pin: Mic (Pink Jack)] [src: monitor]
pcm0: + - nid=26 [pin: Line-in (Blue Jack)] [src: line]
pcm0: + - nid=29 [beep widget] [src: speaker]
pcm0: 
pcm0: nid=23 [pin: Line-out (Grey Jack)]
pcm0:   |
pcm0:   + - nid=15 [audio mixer] [src: pcm, speaker, line, mic, monitor]
pcm0:  |
pcm0:  + - nid=5 [audio output] [src: pcm]
pcm0:  + - nid=11 [audio mixer] [src: speaker, line, mic, monitor]
pcm0: |
pcm0: + - nid=24 [pin: Mic (Pink Jack)] [src: mic]
pcm0: + - nid=25 [pin: Mic (Pink Jack)] [src: monitor]
pcm0: + - nid=26 [pin: Line-in (Blue Jack)] [src: line]
pcm0: + - nid=29 [beep widget] [src: speaker]
pcm0: 
pcm0: nid=30 [pin: SPDIF-out (Black Jack)]
pcm0:   |
pcm0:   + - nid=6 [audio output] [src: pcm]
pcm0: 
pcm0: Record:
pcm0: 
pcm0: nid=10 [audio input]
pcm0:   |
pcm0:   + - nid=31 [pin: SPDIF-in (Orange Jack)] [src: dig1]
pcm0: 
pcm0: +-+
pcm0: | DUMPING Volume Controls |
pcm0: +-+
pcm0: 
pcm0: Master Volume (OSS: vol)
pcm0:|
pcm0:+- ctl 12 (nid  12 out):-64/0dB (65 steps)
pcm0:+- ctl 13 (nid  12 in   0): mute

[head tinderbox] failure on ia64/ia64

2011-02-26 Thread FreeBSD Tinderbox
TB --- 2011-02-26 17:15:06 - tinderbox 2.6 running on freebsd-current.sentex.ca
TB --- 2011-02-26 17:15:06 - starting HEAD tinderbox run for ia64/ia64
TB --- 2011-02-26 17:15:06 - cleaning the object tree
TB --- 2011-02-26 17:15:18 - cvsupping the source tree
TB --- 2011-02-26 17:15:18 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/ia64/ia64/supfile
TB --- 2011-02-26 17:15:32 - building world
TB --- 2011-02-26 17:15:32 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-02-26 17:15:32 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-02-26 17:15:32 - TARGET=ia64
TB --- 2011-02-26 17:15:32 - TARGET_ARCH=ia64
TB --- 2011-02-26 17:15:32 - TZ=UTC
TB --- 2011-02-26 17:15:32 - __MAKE_CONF=/dev/null
TB --- 2011-02-26 17:15:32 - cd /src
TB --- 2011-02-26 17:15:32 - /usr/bin/make -B buildworld
 World build started on Sat Feb 26 17:15:33 UTC 2011
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Sat Feb 26 18:40:08 UTC 2011
TB --- 2011-02-26 18:40:09 - generating LINT kernel config
TB --- 2011-02-26 18:40:09 - cd /src/sys/ia64/conf
TB --- 2011-02-26 18:40:09 - /usr/bin/make -B LINT
TB --- 2011-02-26 18:40:09 - building LINT kernel
TB --- 2011-02-26 18:40:09 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-02-26 18:40:09 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-02-26 18:40:09 - TARGET=ia64
TB --- 2011-02-26 18:40:09 - TARGET_ARCH=ia64
TB --- 2011-02-26 18:40:09 - TZ=UTC
TB --- 2011-02-26 18:40:09 - __MAKE_CONF=/dev/null
TB --- 2011-02-26 18:40:09 - cd /src
TB --- 2011-02-26 18:40:09 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Sat Feb 26 18:40:09 UTC 2011
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c:641: error: 'SCTPCTL_RTTVAR_EQRET_MAX' 
undeclared (first use in this function)
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c: At top level:
/src/sys/netinet/sctp_sysctl.c:1109: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_bw'
/src/sys/netinet/sctp_sysctl.c:1113: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_rtt'
/src/sys/netinet/sctp_sysctl.c:1117: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
*** Error code 1

Stop in /obj/ia64.ia64/src/sys/LINT.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-02-26 18:55:22 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-02-26 18:55:22 - ERROR: failed to build lint kernel
TB --- 2011-02-26 18:55:22 - 4862.27 user 819.19 system 6015.38 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-ia64-ia64.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: cardbus and kldunload issue

2011-02-26 Thread Paul B. Mahol
On Sat, Feb 26, 2011 at 4:25 PM, Bernhard Schmidt bschm...@freebsd.org wrote:
 Hi,

 while working on a wireless driver for a Cardbus card I stumbled over
 an issue which bugs me quite a bit.

 The device:

 % none3@pci0:22:0:0:      class=0x028000 card=0x107f1043 chip=0x02011814 
 rev=0x01 hdr=0x00

 Loading the module attaches nicely to the device:

 # kldload if_ral
 % ral0: Ralink Technology RT2560 mem 0xf480-0xf4801fff irq 16 at device 
 0.0 on cardbus0
 % ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
 % ral0: [ITHREAD]
 # pciconf -l
 % ral0@pci0:22:0:0:       class=0x028000 card=0x107f1043 chip=0x02011814 
 rev=0x01 hdr=0x00

 Though, kldunload doesn't detach the device, it doesn't even call the
 module's detach function.

 # kldunload if_ral
 # pciconf -l
 % ral0@pci0:22:0:0:       class=0x028000 card=0x107f1043 chip=0x02011814 
 rev=0x01 hdr=0x00
 # kldstat
 % Id Refs Address            Size     Name
 %  1   27 0x8010 e640a0   kernel
 # ifconfig ral0
 % ral0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 2290
 %         ether 00:0e:a6:a6:1b:70
 %         media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
 %         status: no carrier

 And of course trying to use the device at that point will result in
 instant panics. Playing around a bit I've noticed that changing the bus
 name in:

 % DRIVER_MODULE(ral, pci, ral_pci_driver, ral_devclass, 0, 0);

 from pci to cardbus makes a big difference. On module unload the detach
 function is then called as expected. So, question is, are we doing some
 too strict checks on module unload while matching the bus? Or is this
 expected behavior and the drivers are supposed to indiciated that they
 support both pci and cardbus? I don't see the later anywhere in tree.

There is MODULE_DEPEND(), if_ndis depends on pccard, pci and usb
modules and use both MODULE_DEPEND() and DRIVER_MODULE() with them.

If I'm not mistaken pccard depends on cardbus.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: snd_hda(4): speaker DISABLED after update to 9-CURRENT

2011-02-26 Thread Eitan Adler
On Sat, Feb 26, 2011 at 11:58 AM, Matthias Apitz g...@unixarea.de wrote:
 Could someone please give me a hint how to get the speaker working again?

Try changing sysctl hw.snd.default_unit=0/1/2



-- 
Eitan Adler
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on sparc64/sparc64

2011-02-26 Thread FreeBSD Tinderbox
TB --- 2011-02-26 19:25:33 - tinderbox 2.6 running on freebsd-current.sentex.ca
TB --- 2011-02-26 19:25:33 - starting HEAD tinderbox run for sparc64/sparc64
TB --- 2011-02-26 19:25:33 - cleaning the object tree
TB --- 2011-02-26 19:25:49 - cvsupping the source tree
TB --- 2011-02-26 19:25:49 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/sparc64/sparc64/supfile
TB --- 2011-02-26 19:26:03 - building world
TB --- 2011-02-26 19:26:03 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-02-26 19:26:03 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-02-26 19:26:03 - TARGET=sparc64
TB --- 2011-02-26 19:26:03 - TARGET_ARCH=sparc64
TB --- 2011-02-26 19:26:03 - TZ=UTC
TB --- 2011-02-26 19:26:03 - __MAKE_CONF=/dev/null
TB --- 2011-02-26 19:26:03 - cd /src
TB --- 2011-02-26 19:26:03 - /usr/bin/make -B buildworld
 World build started on Sat Feb 26 19:26:03 UTC 2011
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Sat Feb 26 20:30:07 UTC 2011
TB --- 2011-02-26 20:30:07 - generating LINT kernel config
TB --- 2011-02-26 20:30:07 - cd /src/sys/sparc64/conf
TB --- 2011-02-26 20:30:07 - /usr/bin/make -B LINT
TB --- 2011-02-26 20:30:07 - building LINT kernel
TB --- 2011-02-26 20:30:07 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-02-26 20:30:07 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-02-26 20:30:07 - TARGET=sparc64
TB --- 2011-02-26 20:30:07 - TARGET_ARCH=sparc64
TB --- 2011-02-26 20:30:07 - TZ=UTC
TB --- 2011-02-26 20:30:07 - __MAKE_CONF=/dev/null
TB --- 2011-02-26 20:30:07 - cd /src
TB --- 2011-02-26 20:30:07 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Sat Feb 26 20:30:07 UTC 2011
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c:641: error: 'SCTPCTL_RTTVAR_EQRET_MAX' 
undeclared (first use in this function)
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c: At top level:
/src/sys/netinet/sctp_sysctl.c:1109: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_bw'
/src/sys/netinet/sctp_sysctl.c:1113: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_rtt'
/src/sys/netinet/sctp_sysctl.c:1117: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
*** Error code 1

Stop in /obj/sparc64.sparc64/src/sys/LINT.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-02-26 20:41:42 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-02-26 20:41:42 - ERROR: failed to build lint kernel
TB --- 2011-02-26 20:41:42 - 3488.14 user 721.48 system 4569.00 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-sparc64-sparc64.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on powerpc/powerpc

2011-02-26 Thread FreeBSD Tinderbox
TB --- 2011-02-26 18:55:22 - tinderbox 2.6 running on freebsd-current.sentex.ca
TB --- 2011-02-26 18:55:22 - starting HEAD tinderbox run for powerpc/powerpc
TB --- 2011-02-26 18:55:22 - cleaning the object tree
TB --- 2011-02-26 18:55:38 - cvsupping the source tree
TB --- 2011-02-26 18:55:38 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/powerpc/powerpc/supfile
TB --- 2011-02-26 18:55:50 - building world
TB --- 2011-02-26 18:55:50 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-02-26 18:55:50 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-02-26 18:55:50 - TARGET=powerpc
TB --- 2011-02-26 18:55:50 - TARGET_ARCH=powerpc
TB --- 2011-02-26 18:55:50 - TZ=UTC
TB --- 2011-02-26 18:55:50 - __MAKE_CONF=/dev/null
TB --- 2011-02-26 18:55:50 - cd /src
TB --- 2011-02-26 18:55:50 - /usr/bin/make -B buildworld
 World build started on Sat Feb 26 18:55:50 UTC 2011
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Sat Feb 26 20:39:57 UTC 2011
TB --- 2011-02-26 20:39:57 - generating LINT kernel config
TB --- 2011-02-26 20:39:57 - cd /src/sys/powerpc/conf
TB --- 2011-02-26 20:39:57 - /usr/bin/make -B LINT
TB --- 2011-02-26 20:39:57 - building LINT kernel
TB --- 2011-02-26 20:39:57 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-02-26 20:39:57 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-02-26 20:39:57 - TARGET=powerpc
TB --- 2011-02-26 20:39:57 - TARGET_ARCH=powerpc
TB --- 2011-02-26 20:39:57 - TZ=UTC
TB --- 2011-02-26 20:39:57 - __MAKE_CONF=/dev/null
TB --- 2011-02-26 20:39:57 - cd /src
TB --- 2011-02-26 20:39:57 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Sat Feb 26 20:39:57 UTC 2011
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c:641: error: 'SCTPCTL_RTTVAR_EQRET_MAX' 
undeclared (first use in this function)
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c: At top level:
/src/sys/netinet/sctp_sysctl.c:1109: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_bw'
/src/sys/netinet/sctp_sysctl.c:1113: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_rtt'
/src/sys/netinet/sctp_sysctl.c:1117: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
*** Error code 1

Stop in /obj/powerpc.powerpc/src/sys/LINT.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-02-26 20:50:24 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-02-26 20:50:24 - ERROR: failed to build lint kernel
TB --- 2011-02-26 20:50:24 - 5543.39 user 935.51 system 6901.20 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on sparc64/sun4v

2011-02-26 Thread FreeBSD Tinderbox
TB --- 2011-02-26 19:50:18 - tinderbox 2.6 running on freebsd-current.sentex.ca
TB --- 2011-02-26 19:50:18 - starting HEAD tinderbox run for sparc64/sun4v
TB --- 2011-02-26 19:50:18 - cleaning the object tree
TB --- 2011-02-26 19:50:28 - cvsupping the source tree
TB --- 2011-02-26 19:50:28 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/sparc64/sun4v/supfile
TB --- 2011-02-26 19:50:50 - building world
TB --- 2011-02-26 19:50:50 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-02-26 19:50:50 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-02-26 19:50:50 - TARGET=sun4v
TB --- 2011-02-26 19:50:50 - TARGET_ARCH=sparc64
TB --- 2011-02-26 19:50:50 - TZ=UTC
TB --- 2011-02-26 19:50:50 - __MAKE_CONF=/dev/null
TB --- 2011-02-26 19:50:50 - cd /src
TB --- 2011-02-26 19:50:50 - /usr/bin/make -B buildworld
 World build started on Sat Feb 26 19:50:50 UTC 2011
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Sat Feb 26 20:53:58 UTC 2011
TB --- 2011-02-26 20:53:58 - generating LINT kernel config
TB --- 2011-02-26 20:53:58 - cd /src/sys/sun4v/conf
TB --- 2011-02-26 20:53:58 - /usr/bin/make -B LINT
TB --- 2011-02-26 20:53:58 - building LINT kernel
TB --- 2011-02-26 20:53:58 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-02-26 20:53:58 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-02-26 20:53:58 - TARGET=sun4v
TB --- 2011-02-26 20:53:58 - TARGET_ARCH=sparc64
TB --- 2011-02-26 20:53:58 - TZ=UTC
TB --- 2011-02-26 20:53:58 - __MAKE_CONF=/dev/null
TB --- 2011-02-26 20:53:58 - cd /src
TB --- 2011-02-26 20:53:58 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Sat Feb 26 20:53:58 UTC 2011
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c:641: error: 'SCTPCTL_RTTVAR_EQRET_MAX' 
undeclared (first use in this function)
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c: At top level:
/src/sys/netinet/sctp_sysctl.c:1109: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_bw'
/src/sys/netinet/sctp_sysctl.c:1113: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_rtt'
/src/sys/netinet/sctp_sysctl.c:1117: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
*** Error code 1

Stop in /obj/sun4v.sparc64/src/sys/LINT.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-02-26 21:04:04 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-02-26 21:04:04 - ERROR: failed to build lint kernel
TB --- 2011-02-26 21:04:04 - 3453.45 user 712.50 system 4425.70 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-sparc64-sun4v.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on powerpc64/powerpc

2011-02-26 Thread FreeBSD Tinderbox
TB --- 2011-02-26 19:25:04 - tinderbox 2.6 running on freebsd-current.sentex.ca
TB --- 2011-02-26 19:25:04 - starting HEAD tinderbox run for powerpc64/powerpc
TB --- 2011-02-26 19:25:04 - cleaning the object tree
TB --- 2011-02-26 19:25:20 - cvsupping the source tree
TB --- 2011-02-26 19:25:20 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/powerpc64/powerpc/supfile
TB --- 2011-02-26 19:25:33 - building world
TB --- 2011-02-26 19:25:33 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-02-26 19:25:33 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-02-26 19:25:33 - TARGET=powerpc
TB --- 2011-02-26 19:25:33 - TARGET_ARCH=powerpc64
TB --- 2011-02-26 19:25:33 - TZ=UTC
TB --- 2011-02-26 19:25:33 - __MAKE_CONF=/dev/null
TB --- 2011-02-26 19:25:33 - cd /src
TB --- 2011-02-26 19:25:33 - /usr/bin/make -B buildworld
 World build started on Sat Feb 26 19:25:34 UTC 2011
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 stage 5.1: building 32 bit shim libraries
 World build completed on Sat Feb 26 20:59:38 UTC 2011
TB --- 2011-02-26 20:59:38 - generating LINT kernel config
TB --- 2011-02-26 20:59:38 - cd /src/sys/powerpc/conf
TB --- 2011-02-26 20:59:38 - /usr/bin/make -B LINT
TB --- 2011-02-26 20:59:38 - building LINT kernel
TB --- 2011-02-26 20:59:38 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-02-26 20:59:38 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-02-26 20:59:38 - TARGET=powerpc
TB --- 2011-02-26 20:59:38 - TARGET_ARCH=powerpc64
TB --- 2011-02-26 20:59:38 - TZ=UTC
TB --- 2011-02-26 20:59:38 - __MAKE_CONF=/dev/null
TB --- 2011-02-26 20:59:38 - cd /src
TB --- 2011-02-26 20:59:38 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Sat Feb 26 20:59:38 UTC 2011
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c:641: error: 'SCTPCTL_RTTVAR_EQRET_MAX' 
undeclared (first use in this function)
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c: At top level:
/src/sys/netinet/sctp_sysctl.c:1109: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_bw'
/src/sys/netinet/sctp_sysctl.c:1113: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_rtt'
/src/sys/netinet/sctp_sysctl.c:1117: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
*** Error code 1

Stop in /obj/powerpc.powerpc64/src/sys/LINT.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-02-26 21:10:03 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-02-26 21:10:03 - ERROR: failed to build lint kernel
TB --- 2011-02-26 21:10:03 - 4933.44 user 1029.48 system 6299.38 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc64-powerpc.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Fwd: [head tinderbox] failure on .. SCTP

2011-02-26 Thread Michael Butler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


-  Original Message 
Subject: [head tinderbox] failure on ia64/ia64
Date: Sat, 26 Feb 2011 18:55:22 GMT
From: FreeBSD Tinderbox tinder...@freebsd.org
To: FreeBSD Tinderbox tinder...@freebsd.org, curr...@freebsd.org,
i...@freebsd.org

 stage 3.2: building everything
[...]
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no
member named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no
member named 'sctp_rttvar_eqret'

 [ .. snip .. ]

While it's likely that this is not what the author intended, the
attached patch will allow the kernel to be built,

imb
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (FreeBSD)

iEYEARECAAYFAk1ph1wACgkQQv9rrgRC1JJ0kACfYcM/p4w/MoLLcxWENoeih8VN
d60AnRmrl6AnWT59/vwQD9LzIN/1nJJx
=CxgS
-END PGP SIGNATURE-
Index: sys/netinet/sctp.h
===
--- sys/netinet/sctp.h	(revision 219070)
+++ sys/netinet/sctp.h	(working copy)
@@ -42,6 +42,8 @@
 
 #define SCTP_PACKED __attribute__((packed))
 
+#define SCTP_HAS_RTTCC 1
+
 /*
  * SCTP protocol - RFC2960.
  */
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: Fwd: [head tinderbox] failure on .. SCTP

2011-02-26 Thread Dimitry Andric

On 2011-02-27 00:06, Michael Butler wrote:

/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no
member named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no
member named 'sctp_rttvar_eqret'

...

While it's likely that this is not what the author intended, the
attached patch will allow the kernel to be built,


I fixed this a bit differently in r219071, by sprinkling some #ifdefs.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on i386/pc98

2011-02-26 Thread FreeBSD Tinderbox
TB --- 2011-02-26 21:20:00 - tinderbox 2.6 running on freebsd-current.sentex.ca
TB --- 2011-02-26 21:20:00 - starting HEAD tinderbox run for i386/pc98
TB --- 2011-02-26 21:20:00 - cleaning the object tree
TB --- 2011-02-26 21:20:22 - cvsupping the source tree
TB --- 2011-02-26 21:20:22 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/i386/pc98/supfile
TB --- 2011-02-26 21:20:36 - building world
TB --- 2011-02-26 21:20:36 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-02-26 21:20:36 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-02-26 21:20:36 - TARGET=pc98
TB --- 2011-02-26 21:20:36 - TARGET_ARCH=i386
TB --- 2011-02-26 21:20:36 - TZ=UTC
TB --- 2011-02-26 21:20:36 - __MAKE_CONF=/dev/null
TB --- 2011-02-26 21:20:36 - cd /src
TB --- 2011-02-26 21:20:36 - /usr/bin/make -B buildworld
 World build started on Sat Feb 26 21:20:36 UTC 2011
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Sat Feb 26 23:10:54 UTC 2011
TB --- 2011-02-26 23:10:54 - generating LINT kernel config
TB --- 2011-02-26 23:10:54 - cd /src/sys/pc98/conf
TB --- 2011-02-26 23:10:54 - /usr/bin/make -B LINT
TB --- 2011-02-26 23:10:54 - building LINT kernel
TB --- 2011-02-26 23:10:54 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-02-26 23:10:54 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-02-26 23:10:54 - TARGET=pc98
TB --- 2011-02-26 23:10:54 - TARGET_ARCH=i386
TB --- 2011-02-26 23:10:54 - TZ=UTC
TB --- 2011-02-26 23:10:54 - __MAKE_CONF=/dev/null
TB --- 2011-02-26 23:10:54 - cd /src
TB --- 2011-02-26 23:10:54 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Sat Feb 26 23:10:54 UTC 2011
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c:641: error: 'SCTPCTL_RTTVAR_EQRET_MAX' 
undeclared (first use in this function)
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c: At top level:
/src/sys/netinet/sctp_sysctl.c:1109: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_bw'
/src/sys/netinet/sctp_sysctl.c:1113: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_rtt'
/src/sys/netinet/sctp_sysctl.c:1117: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
*** Error code 1

Stop in /obj/pc98.i386/src/sys/LINT.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-02-26 23:22:22 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-02-26 23:22:22 - ERROR: failed to build lint kernel
TB --- 2011-02-26 23:22:23 - 5885.61 user 1019.99 system 7342.19 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-pc98.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on i386/i386

2011-02-26 Thread FreeBSD Tinderbox
TB --- 2011-02-26 21:20:00 - tinderbox 2.6 running on freebsd-current.sentex.ca
TB --- 2011-02-26 21:20:00 - starting HEAD tinderbox run for i386/i386
TB --- 2011-02-26 21:20:00 - cleaning the object tree
TB --- 2011-02-26 21:20:27 - cvsupping the source tree
TB --- 2011-02-26 21:20:27 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/i386/i386/supfile
TB --- 2011-02-26 21:25:52 - building world
TB --- 2011-02-26 21:25:52 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-02-26 21:25:52 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-02-26 21:25:52 - TARGET=i386
TB --- 2011-02-26 21:25:52 - TARGET_ARCH=i386
TB --- 2011-02-26 21:25:52 - TZ=UTC
TB --- 2011-02-26 21:25:52 - __MAKE_CONF=/dev/null
TB --- 2011-02-26 21:25:52 - cd /src
TB --- 2011-02-26 21:25:52 - /usr/bin/make -B buildworld
 World build started on Sat Feb 26 21:25:52 UTC 2011
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Sat Feb 26 23:17:37 UTC 2011
TB --- 2011-02-26 23:17:37 - generating LINT kernel config
TB --- 2011-02-26 23:17:37 - cd /src/sys/i386/conf
TB --- 2011-02-26 23:17:37 - /usr/bin/make -B LINT
TB --- 2011-02-26 23:17:37 - building LINT kernel
TB --- 2011-02-26 23:17:37 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-02-26 23:17:37 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-02-26 23:17:37 - TARGET=i386
TB --- 2011-02-26 23:17:37 - TARGET_ARCH=i386
TB --- 2011-02-26 23:17:37 - TZ=UTC
TB --- 2011-02-26 23:17:37 - __MAKE_CONF=/dev/null
TB --- 2011-02-26 23:17:37 - cd /src
TB --- 2011-02-26 23:17:37 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Sat Feb 26 23:17:37 UTC 2011
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c:641: error: 'SCTPCTL_RTTVAR_EQRET_MAX' 
undeclared (first use in this function)
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c: At top level:
/src/sys/netinet/sctp_sysctl.c:1109: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_bw'
/src/sys/netinet/sctp_sysctl.c:1113: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_rtt'
/src/sys/netinet/sctp_sysctl.c:1117: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
*** Error code 1

Stop in /obj/i386.i386/src/sys/LINT.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-02-26 23:30:44 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-02-26 23:30:44 - ERROR: failed to build lint kernel
TB --- 2011-02-26 23:30:44 - 6012.07 user 999.95 system 7844.14 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-i386.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on amd64/amd64

2011-02-26 Thread FreeBSD Tinderbox
TB --- 2011-02-26 21:20:00 - tinderbox 2.6 running on freebsd-current.sentex.ca
TB --- 2011-02-26 21:20:00 - starting HEAD tinderbox run for amd64/amd64
TB --- 2011-02-26 21:20:00 - cleaning the object tree
TB --- 2011-02-26 21:20:26 - cvsupping the source tree
TB --- 2011-02-26 21:20:26 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/amd64/amd64/supfile
TB --- 2011-02-26 21:20:38 - building world
TB --- 2011-02-26 21:20:38 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-02-26 21:20:38 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-02-26 21:20:38 - TARGET=amd64
TB --- 2011-02-26 21:20:38 - TARGET_ARCH=amd64
TB --- 2011-02-26 21:20:38 - TZ=UTC
TB --- 2011-02-26 21:20:38 - __MAKE_CONF=/dev/null
TB --- 2011-02-26 21:20:38 - cd /src
TB --- 2011-02-26 21:20:38 - /usr/bin/make -B buildworld
 World build started on Sat Feb 26 21:20:43 UTC 2011
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 stage 5.1: building 32 bit shim libraries
 World build completed on Sat Feb 26 23:39:13 UTC 2011
TB --- 2011-02-26 23:39:13 - generating LINT kernel config
TB --- 2011-02-26 23:39:14 - cd /src/sys/amd64/conf
TB --- 2011-02-26 23:39:14 - /usr/bin/make -B LINT
TB --- 2011-02-26 23:39:14 - building LINT kernel
TB --- 2011-02-26 23:39:14 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-02-26 23:39:14 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-02-26 23:39:14 - TARGET=amd64
TB --- 2011-02-26 23:39:14 - TARGET_ARCH=amd64
TB --- 2011-02-26 23:39:14 - TZ=UTC
TB --- 2011-02-26 23:39:14 - __MAKE_CONF=/dev/null
TB --- 2011-02-26 23:39:14 - cd /src
TB --- 2011-02-26 23:39:14 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Sat Feb 26 23:39:14 UTC 2011
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c:641: error: 'SCTPCTL_RTTVAR_EQRET_MAX' 
undeclared (first use in this function)
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c: At top level:
/src/sys/netinet/sctp_sysctl.c:1109: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_bw'
/src/sys/netinet/sctp_sysctl.c:1113: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_rtt'
/src/sys/netinet/sctp_sysctl.c:1117: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
*** Error code 1

Stop in /obj/src/sys/LINT.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-02-26 23:51:29 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-02-26 23:51:29 - ERROR: failed to build lint kernel
TB --- 2011-02-26 23:51:29 - 7207.40 user 1329.92 system 9089.04 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-amd64-amd64.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on ia64/ia64

2011-02-26 Thread FreeBSD Tinderbox
TB --- 2011-02-26 22:15:17 - tinderbox 2.6 running on freebsd-current.sentex.ca
TB --- 2011-02-26 22:15:17 - starting HEAD tinderbox run for ia64/ia64
TB --- 2011-02-26 22:15:17 - cleaning the object tree
TB --- 2011-02-26 22:15:25 - cvsupping the source tree
TB --- 2011-02-26 22:15:25 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/ia64/ia64/supfile
TB --- 2011-02-26 22:15:36 - building world
TB --- 2011-02-26 22:15:36 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-02-26 22:15:36 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-02-26 22:15:36 - TARGET=ia64
TB --- 2011-02-26 22:15:36 - TARGET_ARCH=ia64
TB --- 2011-02-26 22:15:36 - TZ=UTC
TB --- 2011-02-26 22:15:36 - __MAKE_CONF=/dev/null
TB --- 2011-02-26 22:15:36 - cd /src
TB --- 2011-02-26 22:15:36 - /usr/bin/make -B buildworld
 World build started on Sat Feb 26 22:15:37 UTC 2011
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Sat Feb 26 23:40:30 UTC 2011
TB --- 2011-02-26 23:40:30 - generating LINT kernel config
TB --- 2011-02-26 23:40:30 - cd /src/sys/ia64/conf
TB --- 2011-02-26 23:40:30 - /usr/bin/make -B LINT
TB --- 2011-02-26 23:40:30 - building LINT kernel
TB --- 2011-02-26 23:40:30 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-02-26 23:40:30 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-02-26 23:40:30 - TARGET=ia64
TB --- 2011-02-26 23:40:30 - TARGET_ARCH=ia64
TB --- 2011-02-26 23:40:30 - TZ=UTC
TB --- 2011-02-26 23:40:30 - __MAKE_CONF=/dev/null
TB --- 2011-02-26 23:40:30 - cd /src
TB --- 2011-02-26 23:40:30 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Sat Feb 26 23:40:30 UTC 2011
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c:641: error: 'SCTPCTL_RTTVAR_EQRET_MAX' 
undeclared (first use in this function)
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c: At top level:
/src/sys/netinet/sctp_sysctl.c:1109: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_bw'
/src/sys/netinet/sctp_sysctl.c:1113: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_rtt'
/src/sys/netinet/sctp_sysctl.c:1117: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
*** Error code 1

Stop in /obj/ia64.ia64/src/sys/LINT.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-02-26 23:55:33 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-02-26 23:55:33 - ERROR: failed to build lint kernel
TB --- 2011-02-26 23:55:34 - 4868.89 user 816.87 system 6016.24 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-ia64-ia64.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on powerpc/powerpc

2011-02-26 Thread FreeBSD Tinderbox
TB --- 2011-02-26 23:30:45 - tinderbox 2.6 running on freebsd-current.sentex.ca
TB --- 2011-02-26 23:30:45 - starting HEAD tinderbox run for powerpc/powerpc
TB --- 2011-02-26 23:30:45 - cleaning the object tree
TB --- 2011-02-26 23:30:54 - cvsupping the source tree
TB --- 2011-02-26 23:30:54 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/powerpc/powerpc/supfile
TB --- 2011-02-26 23:31:06 - building world
TB --- 2011-02-26 23:31:06 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-02-26 23:31:06 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-02-26 23:31:06 - TARGET=powerpc
TB --- 2011-02-26 23:31:06 - TARGET_ARCH=powerpc
TB --- 2011-02-26 23:31:06 - TZ=UTC
TB --- 2011-02-26 23:31:06 - __MAKE_CONF=/dev/null
TB --- 2011-02-26 23:31:06 - cd /src
TB --- 2011-02-26 23:31:06 - /usr/bin/make -B buildworld
 World build started on Sat Feb 26 23:31:07 UTC 2011
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Sun Feb 27 01:15:02 UTC 2011
TB --- 2011-02-27 01:15:02 - generating LINT kernel config
TB --- 2011-02-27 01:15:02 - cd /src/sys/powerpc/conf
TB --- 2011-02-27 01:15:02 - /usr/bin/make -B LINT
TB --- 2011-02-27 01:15:02 - building LINT kernel
TB --- 2011-02-27 01:15:02 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-02-27 01:15:02 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-02-27 01:15:02 - TARGET=powerpc
TB --- 2011-02-27 01:15:02 - TARGET_ARCH=powerpc
TB --- 2011-02-27 01:15:02 - TZ=UTC
TB --- 2011-02-27 01:15:02 - __MAKE_CONF=/dev/null
TB --- 2011-02-27 01:15:02 - cd /src
TB --- 2011-02-27 01:15:02 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Sun Feb 27 01:15:02 UTC 2011
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c:641: error: 'SCTPCTL_RTTVAR_EQRET_MAX' 
undeclared (first use in this function)
/src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
/src/sys/netinet/sctp_sysctl.c: At top level:
/src/sys/netinet/sctp_sysctl.c:1109: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_bw'
/src/sys/netinet/sctp_sysctl.c:1113: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_rtt'
/src/sys/netinet/sctp_sysctl.c:1117: error: 'struct sctp_sysctl' has no member 
named 'sctp_rttvar_eqret'
*** Error code 1

Stop in /obj/powerpc.powerpc/src/sys/LINT.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-02-27 01:26:04 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-02-27 01:26:04 - ERROR: failed to build lint kernel
TB --- 2011-02-27 01:26:04 - 5557.62 user 924.67 system 6919.16 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [clang] regression: tmpfs is not mounted from fstab

2011-02-26 Thread Dimitry Andric

On 2011-02-25 16:58, Boris Samorodov wrote:

On Fri, 25 Feb 2011 14:33:38 +0100 Dimitry Andric wrote:

For now, please build kernels with -no-integrated-as added to
COPTFLAGS, that should fix it.


FYI unfortunately this does not help. Full build log is here:
ftp://ftp.bsam.ru/pub/tmp/bk.log.bz2


Hm, I was wrong, COPTFLAGS is used for the kernel itself, but CFLAGS for
the modules.  So you had to add -no-integrated-as to both CFLAGS and
COPTFLAGS for it to work...

In any case, in r219077 I imported a new drop of llvm/clang that should
fix the problem without adding those flags.  Can you please try it with
this new version?
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org