Updated isboot 0.2.6 and FreeBSD 9.1-RC1
John Nielsen
lists at jnielsen.net
Sat Aug 25 02:47:54 UTC 2012
Thank you for the quick response!
On Aug 23, 2012, at 6:25 PM, Daisuke Aoyama <aoyama at peach.ne.jp> wrote:
> It seems a bug of isboot. Your NIC is link down, but isboot never retry
> on first connection. Because of this, it failed to find the boot device.
>
> I have updated isboot and created 9.1-RC based image.
> Please try it:
>
> http://www.peach.ne.jp/archives/isboot/isboot-0.2.6.tar.gz
Working great with the new version of the module. It retries 3-4 times until the link comes up then continues. Performing pretty well, too--this is over a 1Gbps LAN on somewhat dated consumer hardware, with istgt and a ZFS zvol on the other end.
> http://www.peach.ne.jp/archives/isboot/demo/FreeBSD-9.1-RC1-amd64-memstick-isboot-0.2.6.img
>
>> I have a few questions for you (or other knowledgeable people on the list):
>> 1) Does iBFT require hardware support in the NIC?
>> 2) Does iBFT require NIC driver support?
>
> NO. You can use both iBFT software like gPXE and NIC's rom like Intel iSCSI boot agent.
> The isboot should work with any NIC supported by FreeBSD.
Fantastic.
>> 3) Is anything required in loader.conf besides isboot_load="YES"?
>
> If your NIC driver is within the kernel, you need only isboot_load="YES".
>
>> 4) Is it likely to work (better) if I find an em(4) card instead?
>
> I have tested with Intel cards/onboard. If you want the maximum performance,
> I recommend you to use Intel card, but other cards should work with isboot.
I'll stick with what I have for this machine since it's working. In case you're interested, here is the dmesg output from the machine:
mptable_probe: MP Config Table has bad signature: 4\^C\^_
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 10.0-CURRENT #2 r239337M: Fri Aug 24 12:58:51 EDT 2012
root at stealth.jnielsen.net:/usr/obj/i386.i386/usr/src/sys/BUFF i386
CPU: AMD Athlon(tm) XP 2800+ (2079.60-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x6a0 Family = 6 Model = a Stepping = 0
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
AMD Features=0xc0400800<SYSCALL,MMX+,3DNow!+,3DNow!>
real memory = 1342177280 (1280 MB)
avail memory = 1300516864 (1240 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <Nvidia AWRDACPI>
ioapic0 <Version 1.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <Nvidia AWRDACPI> on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 4fef0000 (3) failed
cpu0: <ACPI CPU> on acpi0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x73 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
Correcting nForce2 C1 CPU disconnect hangs
agp0: <NVIDIA nForce2 AGP Controller> on hostb0
pci0: <memory, RAM> at device 0.1 (no driver attached)
pci0: <memory, RAM> at device 0.2 (no driver attached)
pci0: <memory, RAM> at device 0.3 (no driver attached)
pci0: <memory, RAM> at device 0.4 (no driver attached)
pci0: <memory, RAM> at device 0.5 (no driver attached)
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
nfsmb0: <nForce2/3/4 MCP SMBus Controller> port 0xd800-0xd81f irq 23 at device 1.1 on pci0
smbus0: <System Management Bus> on nfsmb0
nfsmb1: <nForce2/3/4 MCP SMBus Controller> on nfsmb0
smbus1: <System Management Bus> on nfsmb1
ohci0: <OHCI (generic) USB controller> mem 0xe5085000-0xe5085fff irq 20 at device 2.0 on pci0
usbus0 on ohci0
ohci1: <OHCI (generic) USB controller> mem 0xe5081000-0xe5081fff irq 21 at device 2.1 on pci0
usbus1 on ohci1
ehci0: <NVIDIA nForce2 USB 2.0 controller> mem 0xe5082000-0xe50820ff irq 22 at device 2.2 on pci0
usbus2: EHCI version 1.0
usbus2 on ehci0
pci0: <multimedia, audio> at device 5.0 (no driver attached)
pcm0: <nVidia nForce2> port 0xdc00-0xdcff,0xe000-0xe07f mem 0xe5086000-0xe5086fff irq 21 at device 6.0 on pci0
pcm0: <Avance Logic ALC650 AC97 Codec>
pcib1: <ACPI PCI-PCI bridge> at device 8.0 on pci0
pci1: <ACPI PCI bus> on pcib1
skc0: <Marvell Gigabit Ethernet> port 0x9000-0x90ff mem 0xe4020000-0xe4023fff irq 17 at device 4.0 on pci1
skc0: Marvell Yukon Lite Gigabit Ethernet rev. A3(0x7)
sk0: <Marvell Semiconductor, Inc. Yukon> on skc0
sk0: Ethernet address: 00:11:2f:57:f4:bf
miibus0: <MII bus> on sk0
e1000phy0: <Marvell 88E1011 Gigabit PHY> PHY 0 on miibus0
e1000phy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto
pci1: <simple comms, UART> at device 7.0 (no driver attached)
ath0: <Atheros 9220> mem 0xe4010000-0xe401ffff irq 18 at device 8.0 on pci1
[ath] enabling AN_TOP2_FIXUP
ath0: DMA setup: legacy
ath0: [HT] enabling HT modes
ath0: [HT] 2 RX streams; 2 TX streams
ath0: AR9220 mac 128.2 RF5133 phy 13.0
ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0
atapci0: <SiI 3112 SATA150 controller> port 0x9400-0x9407,0x9800-0x9803,0x9c00-0x9c07,0xa000-0xa003,0xa400-0xa40f mem 0xe4024000-0xe40241ff irq 18 at device 11.0 on pci1
ata2: <ATA channel> at channel 0 on atapci0
ata3: <ATA channel> at channel 1 on atapci0
atapci1: <nVidia nForce2 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 9.0 on pci0
ata0: <ATA channel> at channel 0 on atapci1
ata1: <ATA channel> at channel 1 on atapci1
fwohci0: <1394 Open Host Controller Interface> mem 0xe5083000-0xe50837ff,0xe5084000-0xe508403f irq 22 at device 13.0 on pci0
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:e0:18:00:00:8e:25:12
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwohci0: Initiate bus reset
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci3: <ACPI PCI bus> on pcib2
vgapci0: <VGA-compatible display> port 0xc000-0xc0ff mem 0xd8000000-0xdfffffff,0xe2000000-0xe207ffff irq 19 at device 0.0 on pci3
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: does not respond
device_attach: fdc0 attach returned 6
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
orm0: <ISA Option ROMs> at iomem 0xc0000-0xcbfff,0xcc000-0xcffff,0xd0000-0xd0fff pnpid ORM0000 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fdc0: No FDOUT register!
ctl: CAM Target Layer loaded
fwohci0: fwohci_intr_core: BUS reset
firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me)
firewire0: bus manager 0
Timecounters tick every 1.000 msec
iSCSI boot driver version 0.2.6
IS: Initiator name: iqn.2000-09.org.etherboot:UNKNOWN
NIC0: IP address: 192.168.2.8
NIC0: Prefix: 24
NIC0: Gateway: 192.168.2.10
NIC0: MAC address: 00:11:2f:57:f4:bf
TGT0: Target IP address: 192.168.2.10
TGT0: Target Port: 3260
TGT0: Target LUN: 0
TGT0: Target name: iqn.2007-09.jp.ne.peach.istgt:bsdvol
Boot NIC: sk0
Configure IPv4 by NIC0
Attempting to login to iSCSI target and scan all LUNs.
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 480Mbps High Speed USB v2.0
connect error
connect failed
ugen0.1: <nVidia> at usbus0
uhub0: <nVidia OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <nVidia> at usbus1
uhub1: <nVidia OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <nVidia> at usbus2
uhub2: <nVidia EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
uhub0: 3 ports with 3 removable, self powered
uhub1: 3 ports with 3 removable, self powered
connect error
connect failed
connect error
connect failed
uhub2: 6 ports with 6 removable, self powered
fwohci0: fwohci_intr_core: BUS reset
connect error
connect failed
ugen1.2: <Microsoft> at usbus1
ukbd0: <Microsoft Microsoft Wireless Optical Desktop 2.10, class 0/0, rev 2.00/0.41, addr 2> on usbus1
kbd2 at ukbd0
ada0 at ata0 bus 0 scbus2 target 0 lun 0
cd0 at ata1 bus 0 scbus3 target 0 lun 0
cd0: <_NEC DVD_RW ND-3550A 1.05> Removable CD-ROM SCSI-0 device
cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0 at isboot0 bus 0 scbus5 target 0 lun 0
da0: <FreeBSD iSCSI DISK 0001> Fixed Direct Access SCSI-5 device
da0: 300.000MB/s transfers
da0: 12288MB (25165824 512 byte sectors: 255H 63S/T 1566C)
ada0: <Maxtor 6Y080P0 YAR41BW0> ATA-7 device
ada0: 133.000MB/s transfers (UDMA6, PIO 8192bytes)
ada0: 78167MB (160086528 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad0
ada1 at ata1 bus 0 scbus3 target 1 lun 0
ada1: <Maxtor 6L080P0 BAH41G10> ATA-7 device
ada1: 133.000MB/s transfers (UDMA6, PIO 8192bytes)
ada1: 78167MB (160086528 512 byte sectors: 16H 63S/T 16383C)
ada1: Previously was known as ad3
Boot device: da0
Timecounter "TSC" frequency 2079598782 Hz quality 800
Trying to mount root from ufs:/dev/gpt/bsdroot [rw]...
uhid0: <Microsoft Microsoft Wireless Optical Desktop 2.10, class 0/0, rev 2.00/0.41, addr 2> on usbus1
JN
More information about the freebsd-scsi
mailing list