Date: Sat, 7 Jul 2012 22:54:35 -0400 From: Kurt Lidl <lidl@pix.net> To: freebsd-sparc64@freebsd.org Subject: zfs booting feedback Message-ID: <20120708025435.GA12487@pix.net>
next in thread | raw e-mail | index | archive | help
I built a full 9.0-stable distribution on Friday night, and got to play with installing it on a spare Netra T1-105 today. Mostly I was interested in testing out the integrated ZFS boot support that was commited recently. First of all -- it works! Thanks very much to all who made it possible! After working through a couple of nits in my script that installs it all, I've got a fully functioning, ZFS-only sparc64 machine. Nice. The zfsboot bootblock's warning about not being able to open non-existant devices are pretty extranous, but other than that, it seems to function OK. The other thing that seems wrong is the 'bootpath="zfs:zroot:"' output -- notice the trailing ":" in the output, that's not there in the /boot/loader.conf file. And finally, the device attachment messages for da0 and cd0 seem to have gotten interspersed in the output on the kernel. A little confusing, but not the end of the world. Serial console capture from a boot is below. -Kurt ok boot disk Resetting ... Netra t1 (UltraSPARC-IIi 440MHz), No Keyboard OpenBoot 3.10.27 ME, 1024 MB memory installed, Serial #14313546. Ethernet address 8:0:20:da:68:4a, Host ID: 80da684a. Initializing Memory Executing last command: boot disk Boot device: /pci@1f,0/pci@1,1/scsi@2/disk@0,0 File and args: >> FreeBSD/sparc64 ZFS boot block Boot path: /pci@1f,0/pci@1,1/scsi@2/disk@0,0:a Consoles: Open Firmware console HDrive not ready ofwd_open: Could not open disk2: Drive not ready ofwd_open: Could not open disk3: Drive not ready ofwd_open: Could not open disk4: Drive not ready ofwd_open: Could not open disk5: Drive not ready ofwd_open: Could not open disk6: Drive not ready ofwd_open: Could not open disk7: Drive not ready ofwd_open: Could not open disk8: Drive not ready ofwd_open: Could not open disk9: FreeBSD/sparc64 ZFS enabled bootstrap loader, Revision 1.0 (lidl@spork.pix.net, Fri Jul 6 21:43:11 EDT 2012) bootpath="zfs:zroot:" Loading /boot/defaults/loader.conf /boot/kernel/kernel data=0xb979d8+0xa9108 syms=[0x8+0xc7638+0x8+0xb8cec] /boot/kernel/zfs.ko text=0x20c498 data=0x5980+0x16f20 syms=[0x8+0x16968] loading required module 'opensolaris' /boot/kernel/opensolaris.ko text=0x2e48 data=0x2c8+0x2030 syms=[0x8+0xd50+0x8+0x90c] /boot/kernel/geom_mirror.ko text=0x37a10 data=0x5a0+0x18 syms=[0x8+0x1650+0x8+0x1159] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... jumping to kernel entry at 0xc0098000. Copyright (c) 1992-2012 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.0-STABLE #0: Fri Jul 6 23:03:53 EDT 2012 lidl@spork.pix.net:/usr/obj/usr/src/sys/GENERIC sparc64 real memory = 1073741824 (1024 MB) avail memory = 1021321216 (974 MB) cpu0: Sun Microsystems UltraSparc-IIi Processor (440.02 MHz CPU) kbd0 at kbdmux0 ctl: CAM Target Layer loaded nexus0: <Open Firmware Nexus device> pcib0: <U2P UPA-PCI bridge> mem 0x1fe00000000-0x1fe0000ffff,0x1fe01000000-0x1fe010000ff irq 2032,2030,2031,2021 on nexus0 pcib0: Sabre, impl 0, version 0, IGN 0x1f, bus A, 66MHz pcib0: DVMA map: 0xc0000000 to 0xc3ffffff 8192 entries pcib0: [GIANT-LOCKED] pci0: <OFW PCI bus> on pcib0 pcib1: <APB PCI-PCI bridge> at device 1.1 on pci0 pci1: <OFW PCI bus> on pcib1 ebus0: <PCI-EBus2 bridge> mem 0xf0000000-0xf0ffffff,0xf1000000-0xf17fffff at device 1.0 on pci1 pcib2: <APB PCI-PCI bridge> at device 1.0 on pci0 pci2: <OFW PCI bus> on pcib2 pcib3: <OFW PCI-PCI bridge> at device 1.0 on pci2 pci3: <OFW PCI bus> on pcib3 pcib4: <OFW PCI-PCI bridge> at device 15.0 on pci3 pci4: <OFW PCI bus> on pcib4 auxio0: <Sun Auxiliary I/O> addr 0x1400726000-0x1400726003,0x1400728000-0x1400728003,0x140072a000-0x140072a003,0x140072c000-0x140072c003,0x140072f000-0x140072f003 on ebus0 ebus0: <power> addr 0x1400724000-0x1400724003 irq 37 (no driver attached) ebus0: <power> addr 0x1400724000-0x1400724003 irq 37 (no driver attached) ebus0: <SUNW,pll> addr 0x1400504000-0x1400504002 (no driver attached) uart0: <16550 or compatible> addr 0x14003803f8-0x14003803ff irq 28 on ebus0 uart0: console (9600,n,8,1) uart1: <16550 or compatible> addr 0x14003602f8-0x14003602ff irq 20 on ebus0 ebus0: <ecpp> addr 0x1400340278-0x1400340287,0x140030015c-0x140030015d,0x1400700000-0x140070000f irq 34 (no driver attached) ebus0: <fdthree> addr 0x14003203f0-0x14003203f7,0x1400706000-0x140070600f,0x1400720000-0x1400720003 irq 39 (no driver attached) eeprom0: <EEPROM/clock> addr 0x1400000000-0x1400001fff on ebus0 eeprom0: model mk48t59 ebus0: <flashprom> addr 0x1000000000-0x10000fffff (no driver attached) ebus0: <watchdog> addr 0x1400200000-0x140020003f irq 4 (no driver attached) ebus0: <display7seg> addr 0x1400200040 (no driver attached) ebus0: <beeper> addr 0x1400722000-0x1400722003 (no driver attached) ebus0: <flashprom> addr 0x1000400000-0x10005fffff (no driver attached) ebus0: <flashprom> addr 0x1000800000-0x10009fffff (no driver attached) ebus0: <i2c> addr 0x1400600000-0x1400600003 irq 40 (no driver attached) ebus0: <i2c> addr 0x1400100000-0x1400100003 irq 27 (no driver attached) ebus0: <SUNW,lom> addr 0x1400400000-0x1400400063 (no driver attached) hme0: <Sun HME 10/100 Ethernet> mem 0xe0000000-0xe0007fff at device 1.1 on pci1 miibus0: <MII bus> on hme0 ukphy0: <Generic IEEE 802.3u media interface> PHY 0 on miibus0 ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ukphy1: <Generic IEEE 802.3u media interface> PHY 1 on miibus0 ukphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto hme0: Ethernet address: 08:00:20:da:68:4a sym0: <875> port 0xc00000-0xc000ff mem 0xe0008000-0xe00080ff,0xe000a000-0xe000afff at device 2.0 on pci1 sym0: No NVRAM, ID 7, Fast-20, SE, parity checking hme1: <Sun HME 10/100 Ethernet> mem 0xe0010000-0xe0017fff at device 3.1 on pci1 miibus1: <MII bus> on hme1 ukphy2: <Generic IEEE 802.3u media interface> PHY 0 on miibus1 ukphy2: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto hme1: Ethernet address: 08:00:20:da:68:4b atapci0: <SiI (CMD) 646 WDMA2 controller> port 0x1000-0x1007,0x1008-0x100b,0x1010-0x1017,0x1018-0x101b,0x1020-0x102f at device 14.0 on pci3 ata2: <ATA channel> at channel 0 on atapci0 ata3: <ATA channel> at channel 1 on atapci0 pci4: <bridge> at device 0.0 (no driver attached) hme2: <Sun HME 10/100 Ethernet> mem 0x2800000-0x2807fff at device 0.1 on pci4 miibus2: <MII bus> on hme2 ukphy3: <Generic IEEE 802.3u media interface> PHY 1 on miibus2 ukphy3: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto hme2: Ethernet address: 08:00:20:ce:7d:9d pci4: <bridge> at device 1.0 (no driver attached) hme3: <Sun HME 10/100 Ethernet> mem 0x4800000-0x4807fff at device 1.1 on pci4 miibus3: <MII bus> on hme3 ukphy4: <Generic IEEE 802.3u media interface> PHY 1 on miibus3 ukphy4: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto hme3: Ethernet address: 08:00:20:ce:7d:9e pci4: <bridge> at device 2.0 (no driver attached) hme4: <Sun HME 10/100 Ethernet> mem 0x6800000-0x6807fff at device 2.1 on pci4 miibus4: <MII bus> on hme4 ukphy5: <Generic IEEE 802.3u media interface> PHY 1 on miibus4 ukphy5: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto hme4: Ethernet address: 08:00:20:ce:7d:9f pci4: <bridge> at device 3.0 (no driver attached) hme5: <Sun HME 10/100 Ethernet> mem 0x8800000-0x8807fff at device 3.1 on pci4 miibus5: <MII bus> on hme5 ukphy6: <Generic IEEE 802.3u media interface> PHY 1 on miibus5 ukphy6: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto hme5: Ethernet address: 08:00:20:ce:7d:a0 nexus0: <syscons> type unknown (no driver attached) ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present; to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf. ZFS WARNING: Recommended minimum kmem_size is 512MB; expect unstable behavior. Consider tuning vm.kmem_size and vm.kmem_size_max in /boot/loader.conf. ZFS filesystem version 5 ZFS storage pool version 28 Timecounter "tick" frequency 440024812 Hz quality 1000 Event timer "tick" frequency 440024812 Hz quality 1000 Timecounters tick every 1.000 msec da0 at sym0 bus 0 scbus0 target 0 lun 0 da0: <SEAGATE ST318305LSUN18G 0340> Fixed Direct Access SCSI-3 device da0: 40.000MB/s transfers (20.000MHz, offset 16, cd0 at ata3 bus 0 scbus2 target 0 lun 0 cd0: <TOSHIBA ODD-DVD SD-R6372 1030> Removable CD-ROM SCSI-0 device cd0: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes) cd0: cd present [249910 x 2048 byte records] 16bit) da0: Command Queueing enabled da0: 17274MB (35378533 512 byte sectors: 255H 63S/T 2202C) da1 at sym0 bus 0 scbus0 target 1 lun 0 da1: <SEAGATE ST318305LSUN18G 0340> Fixed Direct Access SCSI-3 device da1: 40.000MB/s transfers (20.000MHz, offset 16, 16bit) da1: Command Queueing enabled da1: 17274MB (35378533 512 byte sectors: 255H 63S/T 2202C) GEOM_MIRROR: Device mirror/gswap launched (1/2). GEOM_MIRROR: Device gswap: rebuilding provider da1b. Trying to mount root from zfs:zroot []...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120708025435.GA12487>