From 8-stable to 9.0 RC1 iscsi panic
I have a desktop test machine, and i decided to do a upgarde to 9.0RC1. I dis the buildworld, build kernel, and installkernel step, Then the reboot to do the installworld step. But it panics And it stops very early at the boot process. The console looks like the following (typed by hand) Copyright (c) 1992-2011 The FreeBSD project. Copyright (c) 1979 ... The regents of the Uni FreeBSD is a regited trade. FreeBSD 9.0-RC1 #0: Tue Oct 25 08:58:57 CEST 2011 root@beasty.testdomain.local:/usr/obj/usr/src/sys/KRNL amd64 can't re-use a leaf (geom_label)! can't re-use a leaf (iscsi_initiator_max_pdus)! can't re-use a leaf (iscsi_initiator_max_sessions)! can't re-use a leaf (iscsi_initiator)! module_register: module iscsi already excists! Module iscsi failed to register: 17 module_register: module g_label already excists! Module g_label failed to register: 17 CPU: intel(R) Core(TM)2 Quad CPU origen ... Features= ... Features2= AMD Features= AMD Featurres2= .. TSC: P-state invariant, performance statistics real memory = 4294967296 (4096 MB) avail memory = 3298799616 (3145 MB) iscsi: version 2.2.4.2 module_register_init: MOD_LOAD (kdbmux, 0x8058522d, 0) error 6 panic: make_dev_credv: bad si_name (error=17, si_name=iscsi) cpuid = 0 Uptime: 1s Automatic reboot in 15 second - press a key on the console to abort Any idea what i can do? regards Johan ___ 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: From 8-stable to 9.0 RC1 iscsi panic
Johan Hendriks schreef: I have a desktop test machine, and i decided to do a upgarde to 9.0RC1. I dis the buildworld, build kernel, and installkernel step, Then the reboot to do the installworld step. But it panics And it stops very early at the boot process. The console looks like the following (typed by hand) Copyright (c) 1992-2011 The FreeBSD project. Copyright (c) 1979 ... The regents of the Uni FreeBSD is a regited trade. FreeBSD 9.0-RC1 #0: Tue Oct 25 08:58:57 CEST 2011 root@beasty.testdomain.local:/usr/obj/usr/src/sys/KRNL amd64 can't re-use a leaf (geom_label)! can't re-use a leaf (iscsi_initiator_max_pdus)! can't re-use a leaf (iscsi_initiator_max_sessions)! can't re-use a leaf (iscsi_initiator)! module_register: module iscsi already excists! Module iscsi failed to register: 17 module_register: module g_label already excists! Module g_label failed to register: 17 CPU: intel(R) Core(TM)2 Quad CPU origen ... Features= ... Features2= AMD Features= AMD Featurres2= .. TSC: P-state invariant, performance statistics real memory = 4294967296 (4096 MB) avail memory = 3298799616 (3145 MB) iscsi: version 2.2.4.2 module_register_init: MOD_LOAD (kdbmux, 0x8058522d, 0) error 6 panic: make_dev_credv: bad si_name (error=17, si_name=iscsi) cpuid = 0 Uptime: 1s Automatic reboot in 15 second - press a key on the console to abort Any idea what i can do? regards Johan A reply to myself. I booted with the live cd. I removed the iscsi part in /boot/loader.conf and now it is doing the installworld step. The ad10s1a partition was not clean maybe it got something to do with that. I will try to load the iscsi initiator after the installworld part and see how it goes. thanks regards Johan Hendriks ___ 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: From 8-stable to 9.0 RC1 iscsi panic
For installworld you should boot to 'single user mode'. This mode doesn't read loader.conf and much more. Look to the handbook or /usr/src/Makefile for upgrage instructions $ cat /usr/src/Makefile ... # For individuals wanting to upgrade their sources (even if only a # delta of a few days): # # 1. `cd /usr/src' (or to the directory containing your source tree). # 2. `make buildworld' # 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # [steps 3. 4. can be combined by using the kernel target] # 5. `reboot'(in single user mode: boot -s from the loader prompt). # 6. `mergemaster -p' # 7. `make installworld' # 8. `make delete-old' # 9. `mergemaster'(you may wish to use -i, along with -U or -F). # 10. `reboot' # 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) ... -- View this message in context: http://freebsd.1045724.n5.nabble.com/From-8-stable-to-9-0-RC1-iscsi-panic-tp4935512p4935645.html Sent from the freebsd-stable mailing list archive at Nabble.com. ___ 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: From 8-stable to 9.0 RC1 iscsi panic
timp schreef: For installworld you should boot to 'single user mode'. This mode doesn't read loader.conf and much more. Look to the handbook or /usr/src/Makefile for upgrage instructions $ cat /usr/src/Makefile ... # For individuals wanting to upgrade their sources (even if only a # delta of a few days): # # 1. `cd /usr/src' (or to the directory containing your source tree). # 2. `make buildworld' # 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # [steps 3. 4. can be combined by using the kernel target] # 5. `reboot'(in single user mode: boot -s from the loader prompt). # 6. `mergemaster -p' # 7. `make installworld' # 8. `make delete-old' # 9. `mergemaster'(you may wish to use -i, along with -U or -F). # 10. `reboot' # 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) ... -- View this message in context: http://freebsd.1045724.n5.nabble.com/From-8-stable-to-9-0-RC1-iscsi-panic-tp4935512p4935645.html Sent from the freebsd-stable mailing list archive at Nabble.com. ___ 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 Well i did use the single user mode ! And the safe mode ! But they all gave me that error. So the did load the loader.conf file. Gr Johan Hendriks ___ 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: From 8-stable to 9.0 RC1 iscsi panic
Johan Hendriks wrote: timp schreef: For installworld you should boot to 'single user mode'. This mode doesn't read loader.conf and much more. [...] Well i did use the single user mode ! And the safe mode ! But they all gave me that error. So the did load the loader.conf file. I think modules are loaded before displaying boot menu, where you can choose to boot in to single user mode. But you can enter the boot loader prompt, where you can unload already loaded modules or load new modules by its name, so you don't need to edit loader.conf for one time boot option. Miroslav Lachman ___ 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: From 8-stable to 9.0 RC1 iscsi panic
On 25/10/2011, at 22:32, Miroslav Lachman wrote: Well i did use the single user mode ! And the safe mode ! But they all gave me that error. So the did load the loader.conf file. I think modules are loaded before displaying boot menu, where you can choose to boot in to single user mode. But you can enter the boot loader prompt, where you can unload already loaded modules or load new modules by its name, so you don't need to edit loader.conf for one time boot option. They aren't loaded before displaying the menu, but the list of modules to load is worked out then. If you want to boot without loading the modules listed in loader.conf you need to break into the loader and type.. unload boot -s (or whatever options you want) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C ___ 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: From 8-stable to 9.0 RC1 iscsi panic
On Tue, Oct 25, 2011 at 10:46:55PM +1030, Daniel O'Connor wrote: On 25/10/2011, at 22:32, Miroslav Lachman wrote: Well i did use the single user mode ! And the safe mode ! But they all gave me that error. So the did load the loader.conf file. I think modules are loaded before displaying boot menu, where you can choose to boot in to single user mode. But you can enter the boot loader prompt, where you can unload already loaded modules or load new modules by its name, so you don't need to edit loader.conf for one time boot option. They aren't loaded before displaying the menu, but the list of modules to load is worked out then. If you want to boot without loading the modules listed in loader.conf you need to break into the loader and type.. unload boot -s (or whatever options you want) Yup, correct. The person who said single-user mode doesn't read loader.conf! is absolutely incorrect. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB | ___ 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: From 8-stable to 9.0 RC1 iscsi panic
2011/10/25 Jeremy Chadwick free...@jdc.parodius.com On Tue, Oct 25, 2011 at 10:46:55PM +1030, Daniel O'Connor wrote: On 25/10/2011, at 22:32, Miroslav Lachman wrote: Well i did use the single user mode ! And the safe mode ! But they all gave me that error. So the did load the loader.conf file. I think modules are loaded before displaying boot menu, where you can choose to boot in to single user mode. But you can enter the boot loader prompt, where you can unload already loaded modules or load new modules by its name, so you don't need to edit loader.conf for one time boot option. They aren't loaded before displaying the menu, but the list of modules to load is worked out then. If you want to boot without loading the modules listed in loader.conf you need to break into the loader and type.. unload boot -s (or whatever options you want) Yup, correct. The person who said single-user mode doesn't read loader.conf! is absolutely incorrect. Sorry I thought so =( -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB | ___ 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: From 8-stable to 9.0 RC1 iscsi panic
Jeremy Chadwick schreef: On Tue, Oct 25, 2011 at 10:46:55PM +1030, Daniel O'Connor wrote: On 25/10/2011, at 22:32, Miroslav Lachman wrote: Well i did use the single user mode ! And the safe mode ! But they all gave me that error. So the did load the loader.conf file. I think modules are loaded before displaying boot menu, where you can choose to boot in to single user mode. But you can enter the boot loader prompt, where you can unload already loaded modules or load new modules by its name, so you don't need to edit loader.conf for one time boot option. They aren't loaded before displaying the menu, but the list of modules to load is worked out then. If you want to boot without loading the modules listed in loader.conf you need to break into the loader and type.. unload boot -s (or whatever options you want) Yup, correct. The person who said single-user mode doesn't read loader.conf! is absolutely incorrect. I really did select number 4 after the reboot, i even rebooted multiple times! I can imagine myself missing number 4 reading the options and not hitting number 4 within the 10 seconds the first time, but not the second and third time. Or my keyboard did not work at the boot loader menu, wich i can not test now because it is recompiling all my ports and i do not want to interupt a working deamon .. But anyhow it gave me the above error! I did not think about going into the loader and unload the iscsi module, so i did remove it with the live cd using fixit from the laoder.conf file. Now all is fine. regards Johan Hendriks ___ 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