Re: Upgrading from 6.4 to 7.2
On 31 Jul 2009, at 16:36, Louis Mamakos wrote: Also beware that gmirror in RELENG_7 will upgrade the metadata in your mirror when you boot. This could be an issue if you need to revert to a RELENG_6 kernel with the older gmirror. I've done a source upgrade (months ago, though) from 6.x to 7.x successfully, though. I'm pretty sure that was before 6.4 so your metadata has already been upgraded, but it can't hurt to check UPDATING for it. If memory serves me correctly from my own (rather problematic) upgrade 25 days ago that changed in Nov 2006. I remember that date because the metadata upgrade caught me unaware and caused me quite a headache when my 7.2 custom kernel panicked and my old 6.3 kernel couldn't read the mirror anymore. Just in case, you can mount one of the devices in the mirror instead and boot your old root off it, but don't make the same mistake I made fsck-ing it (don't forget to disable background fsck as well to make sure). Alban Hertroys -- If you can't see the forest for the trees, cut the trees and you'll see there is no forest. !DSPAM:363,4a7438a910138351221251! ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Upgrading from 6.4 to 7.2
On Pén, Július 31, 2009 4:44 pm, Willem Jan Withagen wrote: > helge.old...@atosorigin.com wrote: > >> Willem, >> >> >> Willem Jan Withagen wrote on Friday, July 31, 2009 2:07 PM: >> >>> Willem Jan Withagen wrote: >>> Andrey V. Elsukov wrote: > Willem Jan Withagen wrote: > >> With a 6.4 of last night >> >> >> So I guess 6.4 -> 7.2 needs to go via 7.0 ?? >> > It is already fixed. http://svn.freebsd.org/changeset/base/195987 > > cvsupped last night at 1:00 +1 So the apha-particle strikes again. ;) I'll update, and rerun. >>> We'll I got 1 step further. >>> >>> >>> Kernel is build, but refuses to install, >>> >> >> >> >> >>> ===> accf_http (install) install -o root -g wheel -m 555 >>> accf_http.ko /boot/kernel install -o root -g wheel -m 555 >>> accf_http.ko.symbols /boot/kernel kldxref /boot/kernel kldxref: file >>> isn't dynamically-linked kldxref: file isn't dynamically-linked >>> kldxref: file >>> isn't dynamically-linked >> >> Are you sure the kernel does not install? I have recently >> source-upgraded a bunch of systems straight from 6-STABLE to 7-STABLE, >> constantly observed this error, but kernel and modules did install >> properly, and the machines booted up as smoothly as expected. Most of >> them with gmirror, BTW. >> > > Well the server is in a colo, so I'm sort of hesistant to try just that > while I'm not standing next to it > > So one of the suggestions I like is, to actually build with geom hard > fixed in the kernel. But I can not trivially find the option to include in > the kernelconfig > > --WjW I have options GEOM_GPT# GUID Partition Tables. options GEOM_MIRROR in my 6.4 install (just recently upgraded from 6.3). For all possible options and devices run make LINT in the kernel config dir. Do you have remote IP KVM for the machine or some management option? Regards, Andras ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Upgrading from 6.4 to 7.2
Gót András wrote: On Pén, Július 31, 2009 2:06 pm, Willem Jan Withagen wrote: Willem Jan Withagen wrote: Andrey V. Elsukov wrote: Willem Jan Withagen wrote: With a 6.4 of last night So I guess 6.4 -> 7.2 needs to go via 7.0 ?? It is already fixed. http://svn.freebsd.org/changeset/base/195987 cvsupped last night at 1:00 +1 So the apha-particle strikes again. ;) I'll update, and rerun. We'll I got 1 step further. Kernel is build, but refuses to install, which worries me, since I'm using gmirror as loadable module. And I'm not shure what to make of this. Note that at this point both kernel and world are still at 6.4 /usr/src is at 7.2-stable --WjW awk -f /usr/src/sys/conf/kmod_syms.awk accf_http.kld export_syms | xargs -J% objcopy % accf_http.kld ld -Bshareable -d -warn-common -o accf_http.ko.debug accf_http.kld objcopy --only-keep-debug accf_http.ko.debug accf_http.ko.symbols objcopy --strip-debug --add-gnu-debuglink=accf_http.ko.symbols accf_http.ko.debug accf_http.ko -- Kernel build for ASUS completed on Fri Jul 31 13:58:54 CEST 2009 -- 746.476u 93.978s 22:32.04 62.1% 6030+2253k 118+1310io 32pf+0w [/usr/src] r...@www.digiware.nl# make installkernel -- Installing kernel -- .. ===> accf_http (install) install -o root -g wheel -m 555 accf_http.ko /boot/kernel install -o root -g wheel -m 555 accf_http.ko.symbols /boot/kernel kldxref /boot/kernel kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked Hi, I'd try to build minimal 7.2 kernel (gmirror compiled in and without any modules) and boot it to do an installworld. After successful upgrade and reboot I'd compile the the 7.2 kernel to my needs. Regards, Andras I Agree, I would continue as this message is not really an error message and I have received it on every upgrade from 6 to 7 that I have done with no harmful consequences. Ken ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Upgrading from 6.4 to 7.2
On Jul 31, 2009, at 9:43 AM, > wrote: Are you sure the kernel does not install? I have recently source- upgraded a bunch of systems straight from 6-STABLE to 7-STABLE, constantly observed this error, but kernel and modules did install properly, and the machines booted up as smoothly as expected. Most of them with gmirror, BTW. Helge Also beware that gmirror in RELENG_7 will upgrade the metadata in your mirror when you boot. This could be an issue if you need to revert to a RELENG_6 kernel with the older gmirror. I've done a source upgrade (months ago, though) from 6.x to 7.x successfully, though. Louis Mamakos ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Upgrading from 6.4 to 7.2
helge.old...@atosorigin.com wrote: Willem, Willem Jan Withagen wrote on Friday, July 31, 2009 2:07 PM: Willem Jan Withagen wrote: Andrey V. Elsukov wrote: Willem Jan Withagen wrote: With a 6.4 of last night So I guess 6.4 -> 7.2 needs to go via 7.0 ?? It is already fixed. http://svn.freebsd.org/changeset/base/195987 cvsupped last night at 1:00 +1 So the apha-particle strikes again. ;) I'll update, and rerun. We'll I got 1 step further. Kernel is build, but refuses to install, ===> accf_http (install) install -o root -g wheel -m 555 accf_http.ko /boot/kernel install -o root -g wheel -m 555 accf_http.ko.symbols /boot/kernel kldxref /boot/kernel kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked Are you sure the kernel does not install? I have recently source-upgraded a bunch of systems straight from 6-STABLE to 7-STABLE, constantly observed this error, but kernel and modules did install properly, and the machines booted up as smoothly as expected. Most of them with gmirror, BTW. Well the server is in a colo, so I'm sort of hesistant to try just that while I'm not standing next to it So one of the suggestions I like is, to actually build with geom hard fixed in the kernel. But I can not trivially find the option to include in the kernelconfig --WjW ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
RE: Upgrading from 6.4 to 7.2
Willem, Willem Jan Withagen wrote on Friday, July 31, 2009 2:07 PM: > Willem Jan Withagen wrote: >> Andrey V. Elsukov wrote: >>> Willem Jan Withagen wrote: With a 6.4 of last night So I guess 6.4 -> 7.2 needs to go via 7.0 ?? >>> >>> It is already fixed. >>> http://svn.freebsd.org/changeset/base/195987 >>> >> >> cvsupped last night at 1:00 +1 >> So the apha-particle strikes again. ;) >> >> I'll update, and rerun. > > We'll I got 1 step further. > > Kernel is build, but refuses to install, > ===> accf_http (install) > install -o root -g wheel -m 555 accf_http.ko /boot/kernel > install -o root -g wheel -m 555 accf_http.ko.symbols /boot/kernel > kldxref /boot/kernel > kldxref: file isn't dynamically-linked > kldxref: file isn't dynamically-linked > kldxref: file isn't dynamically-linked Are you sure the kernel does not install? I have recently source-upgraded a bunch of systems straight from 6-STABLE to 7-STABLE, constantly observed this error, but kernel and modules did install properly, and the machines booted up as smoothly as expected. Most of them with gmirror, BTW. Helge Atos Origin GmbH, Theodor-Althoff-Straße 47, D-45133 Essen, Postfach 100 123, D-45001 Essen Telefon: +49 201 4305 0, Fax: +49 201 4305 689095, www.atosorigin.de ING Bank AG, Frankfurt/Main: Konto 001 014 0937, BLZ 500 210 00, Swift / BIC INGBDEFF, IBAN DE74 5002 1000 0010 1409 37 Geschäftsführer: Winfried Holz, Handelsregister Essen HRB 19354, Ust.-ID.-Nr.: DE147861238 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Upgrading from 6.4 to 7.2
On Pén, Július 31, 2009 2:06 pm, Willem Jan Withagen wrote: > Willem Jan Withagen wrote: > >> Andrey V. Elsukov wrote: >> >>> Willem Jan Withagen wrote: >>> With a 6.4 of last night So I guess 6.4 -> 7.2 needs to go via 7.0 ?? >>> >>> It is already fixed. >>> http://svn.freebsd.org/changeset/base/195987 >>> >>> >> >> cvsupped last night at 1:00 +1 So the apha-particle strikes again. ;) >> >> >> I'll update, and rerun. >> > > We'll I got 1 step further. > > > Kernel is build, but refuses to install, which worries me, since I'm > using gmirror as loadable module. And I'm not shure what to make of this. > > > Note that at this point > both kernel and world are still at 6.4 /usr/src is at 7.2-stable > > > --WjW > > > awk -f /usr/src/sys/conf/kmod_syms.awk accf_http.kld export_syms | xargs > -J% objcopy % accf_http.kld > ld -Bshareable -d -warn-common -o accf_http.ko.debug accf_http.kld objcopy > --only-keep-debug accf_http.ko.debug accf_http.ko.symbols > objcopy --strip-debug --add-gnu-debuglink=accf_http.ko.symbols > accf_http.ko.debug accf_http.ko > -- > Kernel build for ASUS completed on Fri Jul 31 13:58:54 CEST 2009 > -- > 746.476u 93.978s 22:32.04 62.1% 6030+2253k 118+1310io 32pf+0w > [/usr/src] r...@www.digiware.nl# make installkernel > -- > Installing kernel > -- > > > .. > > > ===> accf_http (install) > install -o root -g wheel -m 555 accf_http.ko /boot/kernel install -o root > -g wheel -m 555 accf_http.ko.symbols /boot/kernel > kldxref /boot/kernel kldxref: file isn't dynamically-linked > kldxref: file isn't dynamically-linked > kldxref: file isn't dynamically-linked > kldxref: file isn't dynamically-linked > kldxref: file isn't dynamically-linked > kldxref: file isn't dynamically-linked > kldxref: file isn't dynamically-linked > kldxref: file isn't dynamically-linked > kldxref: file isn't dynamically-linked > kldxref: file isn't dynamically-linked > kldxref: file isn't dynamically-linked > kldxref: file isn't dynamically-linked > kldxref: file isn't dynamically-linked > kldxref: file isn't dynamically-linked > kldxref: file isn't dynamically-linked > kldxref: file isn't dynamically-linked Hi, I'd try to build minimal 7.2 kernel (gmirror compiled in and without any modules) and boot it to do an installworld. After successful upgrade and reboot I'd compile the the 7.2 kernel to my needs. Regards, Andras ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Upgrading from 6.4 to 7.2
Willem Jan Withagen wrote: Andrey V. Elsukov wrote: Willem Jan Withagen wrote: With a 6.4 of last night So I guess 6.4 -> 7.2 needs to go via 7.0 ?? It is already fixed. http://svn.freebsd.org/changeset/base/195987 cvsupped last night at 1:00 +1 So the apha-particle strikes again. ;) I'll update, and rerun. We'll I got 1 step further. Kernel is build, but refuses to install, which worries me, since I'm using gmirror as loadable module. And I'm not shure what to make of this. Note that at this point both kernel and world are still at 6.4 /usr/src is at 7.2-stable --WjW awk -f /usr/src/sys/conf/kmod_syms.awk accf_http.kld export_syms | xargs -J% objcopy % accf_http.kld ld -Bshareable -d -warn-common -o accf_http.ko.debug accf_http.kld objcopy --only-keep-debug accf_http.ko.debug accf_http.ko.symbols objcopy --strip-debug --add-gnu-debuglink=accf_http.ko.symbols accf_http.ko.debug accf_http.ko -- >>> Kernel build for ASUS completed on Fri Jul 31 13:58:54 CEST 2009 -- 746.476u 93.978s 22:32.04 62.1% 6030+2253k 118+1310io 32pf+0w [/usr/src] r...@www.digiware.nl# make installkernel -- >>> Installing kernel -- .. ===> accf_http (install) install -o root -g wheel -m 555 accf_http.ko /boot/kernel install -o root -g wheel -m 555 accf_http.ko.symbols /boot/kernel kldxref /boot/kernel kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked kldxref: file isn't dynamically-linked ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Upgrading from 6.4 to 7.2
On Fri, 31 Jul 2009 11:41+0200, Trond Endrestøl wrote: > On Fri, 31 Jul 2009 11:27+0200, Willem Jan Withagen wrote: > > > So I guess 6.4 -> 7.2 needs to go via 7.0 ?? > > I'd do a binary upgrade to 7.2-R. gcc doesn't understand the > -Wpointer-sign flag used when compiling RELENG_7_0_0_RELEASE using > 6.4-STABLE as of yesterday. I haven't tried to compile RELENG_7 using > the same 6.4-STABLE system, so maybe I'll try that later today. I was refering to -Wno-pointer-sign, no doubt my memory degrades as I grow older. You/I/We have two options: 1. Run make buildkernel as make -DWITH_GCC3 buildkernel, or 2. Patch src/sys/conf/kern.mk using this patch, which will accomplish the same as above: --- src/sys/conf/kern.mk.orig 2009-03-07 21:39:42.0 +0100 +++ src/sys/conf/kern.mk2009-07-31 12:35:41.0 +0200 @@ -14,7 +14,7 @@ -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ ${_wundef} ${_Wno_pointer_sign} -fformat-extensions .if !defined(WITH_GCC3) -_Wno_pointer_sign=-Wno-pointer-sign +#_Wno_pointer_sign=-Wno-pointer-sign .endif .if !defined(NO_UNDEF) _wundef= -Wundef Is the need of using -DWITH_GCC3 documented somewhere? It's not listed in src/UPDATING as far as I can tell. I'm currently compiling both kernel and world on the aforementioned 6.4-STABLE system and it. Compiling the kernel doesn't stop with error messages such as: -- >>> stage 3.1: making dependencies -- cd /usr/obj/usr/src/sys/ENTERPRISE; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp VERSION="FreeBSD 6.4-STABLE i386 604100" INSTALL="sh /usr/src/tools/install.sh" PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin NO_CTF=1 make KERNEL=kernel depend -DNO_MODULES_OBJ machine -> /usr/src/sys/i386/include gcc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/gnu/fs/xfs/FreeBSD -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs -I/usr/src/sys/contrib/opensolaris/compat -I/usr/src/sys/dev/cxgb -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding /usr/src/sys/i386/i386/genassym.c cc1: error: unrecognized command line option "-Wno-pointer-sign" *** Error code 1 Stop in /usr/obj/usr/src/sys/ENTERPRISE. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. exit Script done on Fri Jul 31 12:06:03 2009 Trond. -- -- Trond Endrestøl | trond.endres...@fagskolen.gjovik.no ACM, NAS, NUUG, SAGE, USENIX | FreeBSD 6.2-STABLE & Pine 4.64___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Upgrading from 6.4 to 7.2
and in 7.2-STABLE (built July 27) cvsuped today and failed with max_iosize error . JeffD _ M 0427565791 jeff.dows...@mac.com On 31/07/2009, at 7:27 PM, Willem Jan Withagen wrote: Compiling the kernel gives me: cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested- externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith - Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions - nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL - DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common - finline-limit=8000 --param inline-unit-growth=100 --param large- function-growth=1000 -fno-omit-frame-pointer -mno-align-long- strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse - mno-sse2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/ata/ata- all.c /usr/src/sys/dev/ata/ata-all.c: In function 'ata_device_ioctl': /usr/src/sys/dev/ata/ata-all.c:454: error: request for member 'max_iosize' in something not a structure or union /usr/src/sys/dev/ata/ata-all.c:454: error: request for member 'max_iosize' in something not a structure or union *** Error code 1 With a 6.4 of last night So I guess 6.4 -> 7.2 needs to go via 7.0 ?? --WjW ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable- unsubscr...@freebsd.org" ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Upgrading from 6.4 to 7.2
In message <4a72b8e4.6060...@withagen.nl>, Willem Jan Withagen (w...@withagen.nl) wrote: > Compiling the kernel gives me: > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. > -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-omit-frame-pointer -mno-align-long-strings > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/ata/ata-all.c > /usr/src/sys/dev/ata/ata-all.c: In function 'ata_device_ioctl': > /usr/src/sys/dev/ata/ata-all.c:454: error: request for member 'max_iosize' > in something not a structure or union > /usr/src/sys/dev/ata/ata-all.c:454: error: request for member 'max_iosize' > in something not a structure or union > *** Error code 1 This was fixed earlier today so update your sources and try again. Cheers, Nick. -- ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Upgrading from 6.4 to 7.2
Andrey V. Elsukov wrote: Willem Jan Withagen wrote: With a 6.4 of last night So I guess 6.4 -> 7.2 needs to go via 7.0 ?? It is already fixed. http://svn.freebsd.org/changeset/base/195987 cvsupped last night at 1:00 +1 So the apha-particle strikes again. ;) I'll update, and rerun. --WjW ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Upgrading from 6.4 to 7.2
Willem Jan Withagen wrote: With a 6.4 of last night So I guess 6.4 -> 7.2 needs to go via 7.0 ?? It is already fixed. http://svn.freebsd.org/changeset/base/195987 -- WBR, Andrey V. Elsukov ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Upgrading from 6.4 to 7.2
On Fri, 31 Jul 2009 11:27+0200, Willem Jan Withagen wrote: > With a 6.4 of last night Michael Butler contributed a patch where ch->max_iosize was changed twice to atadev->max_iosize on line 454 in src/sys/dev/ata/ata-all.c. Either re-cvsup and hope for the best or apply the patch manually. See http://docs.freebsd.org/cgi/getmsg.cgi?fetch=407870+0+current/freebsd-stable for more details if you deleted the email > So I guess 6.4 -> 7.2 needs to go via 7.0 ?? I'd do a binary upgrade to 7.2-R. gcc doesn't understand the -Wpointer-sign flag used when compiling RELENG_7_0_0_RELEASE using 6.4-STABLE¹ as of yesterday. I haven't tried to compile RELENG_7 using the same 6.4-STABLE system, so maybe I'll try that later today. If src/UPDATING could tell us how to get beyond the unrecognized -Wpointer-sign, the upgrade process using source would be a lot smoother. Trond. ¹ The 6.4-STABLE system mentioned is different from the system I'm using to send this mail. -- -- Trond Endrestøl | trond.endres...@fagskolen.gjovik.no ACM, NAS, NUUG, SAGE, USENIX | FreeBSD 6.2-STABLE & Pine 4.64___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Upgrading from 6.4 to 7.2
Compiling the kernel gives me: cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/ata/ata-all.c /usr/src/sys/dev/ata/ata-all.c: In function 'ata_device_ioctl': /usr/src/sys/dev/ata/ata-all.c:454: error: request for member 'max_iosize' in something not a structure or union /usr/src/sys/dev/ata/ata-all.c:454: error: request for member 'max_iosize' in something not a structure or union *** Error code 1 With a 6.4 of last night So I guess 6.4 -> 7.2 needs to go via 7.0 ?? --WjW ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"