Olivier Cochard-Labbé
2009-Dec-23 13:38 UTC
FreeBSD 8.0: can't PXE Boot using nvidia nForce4 network card
Hi all, I've got a PC which have 2 bugs with FreeBSD 8.0: It can't boot from USB (usb/139142) neither from PATA hard-drive (kern/139143). But I would boot this PC for giving acces to somes FreeBSD devs for debuging it: Then I've choose boot my buggy PC using PXE, then I've prepared a second PC with a DHCP/TFTP/NFS/serial-cable this bugguy PC. I've posted my problem on the FreeBSD forum some weeks ago, but didn't found usefull help: http://forums.freebsd.org/showthread.php?t=8324 The up-to-date 8.0-STABLE kernel boot fine from PXE/TFTP, but when it tries to mount the rootfilesystem from NFS it display an errror: Trying to mount root from nfs:10.0.0.1:/usr/tftpboot nfs_diskless: no interface ROOT MOUNT ERROR: The network card is a NVIDIA nForce4 CK804 MCP8. I've seen that the pxe loader populate correctly lot's of the needed boot variables (boot.netif.ip, boot.netif.netmask, boot.netif.gateway, etc...) but with the only expection of "boot.netif.name". It seems to have a problem in /usr/src/sys/nfsclient/nfs_diskless.c that can't set this variable. Does some one have any clue for fixing this file ? Thanks, Olivier PS: Here is the full verbose boot messages: SMAP type=01 base=0000000000000000 len=000000000009f800 SMAP type=02 base=00000000000f0000 len=0000000000010000 SMAP type=02 base=00000000fec00000 len=0000000000001000 SMAP type=02 base=00000000fee00000 len=0000000000100000 SMAP type=02 base=00000000fefffc00 len=0000000000000400 SMAP type=02 base=00000000ffff0000 len=0000000000010000 SMAP type=02 base=00000000e0000000 len=0000000010000000 SMAP type=03 base=000000007fff3000 len=000000000000d000 SMAP type=04 base=000000007fff0000 len=0000000000003000 SMAP type=02 base=000000000009f800 len=0000000000000800 SMAP type=01 base=0000000000100000 len=000000007fef0000 Copyright (c) 1992-2009 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 8.0-STABLE #3: Wed Dec 23 01:14:48 CET 2009 root@debugger.bsdrp.net:/usr/obj/usr/src/sys/GENERIC i386 Preloaded elf kernel "/boot/kernel/kernel" at 0xc0f79000. Timecounter "i8254" frequency 1193182 Hz quality 0 Calibrating TSC clock ... TSC clock: 2010313531 Hz CPU: AMD Athlon(tm) 64 Processor 3000+ (2010.31-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x20fc2 Stepping = 2 Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2> Features2=0x1<SSE3> AMD Features=0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow!+,3DNow!> AMD Features2=0x1<LAHF> Data TLB: 32 entries, fully associative Instruction TLB: 32 entries, fully associative L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative L2 internal cache: 512 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative WARNING: This architecture revision has known SMP hardware bugs which may cause random instability real memory = 2147483648 (2048 MB) Physical memory chunk(s): 0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages) 0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages) 0x0000000001026000 - 0x000000007db9afff, 2092388352 bytes (510837 pages) avail memory = 2091081728 (1994 MB) Table 'FACP' at 0x7fff30c0 Table 'MCFG' at 0x7fff96c0 Table 'APIC' at 0x7fff9600 APIC: Found table at 0x7fff9600 MP Configuration Table version 1.4 found at 0xc00f1400 APIC: Using the MADT enumerator. MADT: Found CPU APIC ID 0 ACPI ID 0: enabled SMP: Added CPU 0 (AP) ACPI APIC Table: <Nvidia AWRDACPI> APIC: CPU 0 has ACPI ID 0 bios32: Found BIOS32 Service Directory header at 0xc00fb950 bios32: Entry = 0xf1f80 (c00f1f80) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xf0000+0x1fb0 pnpbios: Found PnP BIOS data at 0xc00fc4d0 pnpbios: Entry = f0000:c500 Rev = 1.0 Other BIOS signatures found: ULE: setup cpu 0 ACPI: RSDP 0xf77b0 00014 (v0 Nvidia) ACPI: RSDT 0x7fff3040 00030 (v1 Nvidia AWRDACPI 42302E31 AWRD 00000000) ACPI: FACP 0x7fff30c0 00074 (v1 Nvidia AWRDACPI 42302E31 AWRD 00000000) ACPI: DSDT 0x7fff3180 06402 (v1 NVIDIA AWRDACPI 00001000 MSFT 0100000E) ACPI: FACS 0x7fff0000 00040 ACPI: MCFG 0x7fff96c0 0003C (v1 Nvidia AWRDACPI 42302E31 AWRD 00000000) ACPI: APIC 0x7fff9600 0006E (v1 Nvidia AWRDACPI 42302E31 AWRD 00000000) MADT: Found IO APIC ID 2, Interrupt 0 at 0xfec00000 ioapic0: Routing external 8259A's -> intpin 0 MADT: Interrupt override: source 0, irq 2 ioapic0: Routing IRQ 0 -> intpin 2 MADT: Interrupt override: source 9, irq 9 ioapic0: intpin 9 trigger: level MADT: Interrupt override: source 14, irq 14 MADT: Interrupt override: source 15, irq 15 lapic0: Routing NMI -> LINT1 lapic0: LINT1 trigger: edge lapic0: LINT1 polarity: high ioapic0 <Version 1.1> irqs 0-23 on motherboard cpu0 BSP: ID: 0x00000000 VER: 0x00050010 LDR: 0x00000000 DFR: 0xffffffff lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff timer: 0x000100ef therm: 0x00010000 err: 0x00010000 pcm: 0x00010400 wlan: <802.11 Link Layer> null: <null device, zero device> random: <entropy source, Software, Yarrow> nfslock: pseudo-device io: <I/O> kbd: new array size 4 kbd1 at kbdmux0 mem: <memory> Pentium Pro MTRR support enabled hptrr: RocketRAID 17xx/2xxx SATA controller driver v1.2 npx0: INT 16 interface acpi0: <Nvidia AWRDACPI> on motherboard PCIe: Memory Mapped configuration base @ 0xe0000000 pcibios: BIOS version 3.00 ioapic0: routing intpin 9 (ISA IRQ 9) to lapic 0 vector 48 acpi0: [MPSAFE] acpi0: [ITHREAD] ACPI Error: Package List length (6) larger than NumElements count (3), truncated 20090521 dsobject-590 acpi0: Power Button (fixed) acpi0: wakeup code va 0xc50c1000 pa 0x1000 AcpiOsDerivePciId: \_SB_.PCI0.VT86.PDEV -> bus 0 dev 1 func 0 AcpiOsDerivePciId: \_SB_.PCI0.VT86.PIRQ -> bus 0 dev 1 func 0 acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 7fef0000 (3) failed ACPI timer: 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 -> 10 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 pci_link0: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 3 4 5 7 9 10 11 12 14 15 Validation 0 255 N 0 3 4 5 7 9 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 7 9 10 11 12 14 15 pci_link1: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 3 4 5 7 9 10 11 12 14 15 Validation 0 255 N 0 3 4 5 7 9 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 7 9 10 11 12 14 15 pci_link2: Index IRQ Rtd Ref IRQs Initial Probe 0 5 N 0 3 4 5 7 9 10 11 12 14 15 Validation 0 5 N 0 3 4 5 7 9 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 7 9 10 11 12 14 15 pci_link3: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 3 4 5 7 9 10 11 12 14 15 Validation 0 255 N 0 3 4 5 7 9 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 7 9 10 11 12 14 15 pci_link4: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 3 4 5 7 9 10 11 12 14 15 Validation 0 255 N 0 3 4 5 7 9 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 7 9 10 11 12 14 15 pci_link5: Index IRQ Rtd Ref IRQs Initial Probe 0 3 N 0 3 4 5 7 9 10 11 12 14 15 Validation 0 3 N 0 3 4 5 7 9 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 7 9 10 11 12 14 15 pci_link6: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 3 4 5 7 9 10 11 12 14 15 Validation 0 255 N 0 3 4 5 7 9 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 7 9 10 11 12 14 15 pci_link7: Index IRQ Rtd Ref IRQs Initial Probe 0 7 N 0 3 4 5 7 9 10 11 12 14 15 Validation 0 7 N 0 3 4 5 7 9 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 7 9 10 11 12 14 15 pci_link8: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 3 4 5 7 9 10 11 12 14 15 Validation 0 255 N 0 3 4 5 7 9 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 7 9 10 11 12 14 15 pci_link9: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 3 4 5 7 9 10 11 12 14 15 Validation 0 255 N 0 3 4 5 7 9 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 7 9 10 11 12 14 15 pci_link10: Index IRQ Rtd Ref IRQs Initial Probe 0 10 N 0 3 4 5 7 9 10 11 12 14 15 Validation 0 10 N 0 3 4 5 7 9 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 7 9 10 11 12 14 15 pci_link11: Index IRQ Rtd Ref IRQs Initial Probe 0 11 N 0 3 4 5 7 9 10 11 12 14 15 Validation 0 11 N 0 3 4 5 7 9 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 7 9 10 11 12 14 15 pci_link12: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 3 4 5 7 9 10 11 12 14 15 Validation 0 255 N 0 3 4 5 7 9 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 7 9 10 11 12 14 15 pci_link13: Index IRQ Rtd Ref IRQs Initial Probe 0 5 N 0 3 4 5 7 9 10 11 12 14 15 Validation 0 5 N 0 3 4 5 7 9 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 7 9 10 11 12 14 15 pci_link14: Index IRQ Rtd Ref IRQs Initial Probe 0 11 N 0 3 4 5 7 9 10 11 12 14 15 Validation 0 11 N 0 3 4 5 7 9 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 7 9 10 11 12 14 15 pci_link15: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 3 4 5 7 9 10 11 12 14 15 Validation 0 255 N 0 3 4 5 7 9 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 7 9 10 11 12 14 15 pci_link16: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 16 Validation 0 255 N 0 16 After Disable 0 255 N 0 16 pci_link17: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 17 Validation 0 255 N 0 17 After Disable 0 255 N 0 17 pci_link18: Index IRQ Rtd Ref IRQs Initial Probe 0 5 N 0 18 Validation 0 255 N 0 18 After Disable 0 255 N 0 18 pci_link19: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 19 Validation 0 255 N 0 19 After Disable 0 255 N 0 19 pci_link20: Index IRQ Rtd Ref IRQs Initial Probe 0 16 N 0 16 Validation 0 16 N 0 16 After Disable 0 255 N 0 16 pci_link21: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 20 21 22 23 Validation 0 255 N 0 20 21 22 23 After Disable 0 255 N 0 20 21 22 23 pci_link22: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 20 21 22 23 Validation 0 255 N 0 20 21 22 23 After Disable 0 255 N 0 20 21 22 23 pci_link23: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 20 21 22 23 Validation 0 255 N 0 20 21 22 23 After Disable 0 255 N 0 20 21 22 23 pci_link24: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 20 21 22 23 Validation 0 255 N 0 20 21 22 23 After Disable 0 255 N 0 20 21 22 23 pci_link25: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 20 21 22 23 Validation 0 255 N 0 20 21 22 23 After Disable 0 255 N 0 20 21 22 23 pci_link26: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 20 21 22 23 Validation 0 255 N 0 20 21 22 23 After Disable 0 255 N 0 20 21 22 23 pci_link27: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 20 21 22 23 Validation 0 255 N 0 20 21 22 23 After Disable 0 255 N 0 20 21 22 23 pci_link28: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 20 21 22 23 Validation 0 255 N 0 20 21 22 23 After Disable 0 255 N 0 20 21 22 23 pci_link29: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 20 21 22 23 Validation 0 255 N 0 20 21 22 23 After Disable 0 255 N 0 20 21 22 23 pci_link30: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 20 21 22 23 Validation 0 255 N 0 20 21 22 23 After Disable 0 255 N 0 20 21 22 23 pci_link31: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 20 21 22 23 Validation 0 255 N 0 20 21 22 23 After Disable 0 255 N 0 20 21 22 23 acpi_button0: <Power Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pci0: domain=0, physical bus=0 found-> vendor=0x10de, dev=0x005e, revid=0xa3 domain=0, bus=0, slot=0, func=0 class=05-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x10de, dev=0x0050, revid=0xa3 domain=0, bus=0, slot=1, func=0 class=06-01-00, hdrtype=0x00, mfdev=1 cmdreg=0x000f, statreg=0x00a0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x10de, dev=0x0052, revid=0xa2 domain=0, bus=0, slot=1, func=1 class=0c-05-00, hdrtype=0x00, mfdev=1 cmdreg=0x0001, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns) intpin=a, irq=10 powerspec 2 supports D0 D3 current D0 map[10]: type I/O Port, range 32, base 0xdc00, size 10, enabled map[20]: type I/O Port, range 32, base 0x4c00, size 10, enabled map[24]: type I/O Port, range 32, base 0x4c40, size 6, enabled pcib0: matched entry for 0.1.INTA (src \_SB_.PCI0.APCS:0) pci_link26: Picked IRQ 20 with weight 0 pcib0: slot 1 INTA routed to irq 20 via \_SB_.PCI0.APCS found-> vendor=0x10de, dev=0x005a, revid=0xa2 domain=0, bus=0, slot=2, func=0 class=0c-03-10, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns) intpin=a, irq=3 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type Memory, range 32, base 0xd3003000, size 12, enabled pcib0: matched entry for 0.2.INTA (src \_SB_.PCI0.APCF:0) pci_link21: Picked IRQ 21 with weight 0 pcib0: slot 2 INTA routed to irq 21 via \_SB_.PCI0.APCF unknown: Lazy allocation of 0x1000 bytes rid 0x10 type 3 at 0x80000000 unknown: Reserved 0x1000 bytes for rid 0x10 type 3 at 0x80000000 ohci early: SMM active, request owner change ohci early: SMM does not respond, resetting found-> vendor=0x10de, dev=0x0053, revid=0xf2 domain=0, bus=0, slot=6, func=0 class=01-01-8a, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns) powerspec 2 supports D0 D3 current D0 map[20]: type I/O Port, range 32, base 0xf000, size 12, enabled found-> vendor=0x10de, dev=0x0054, revid=0xf3 domain=0, bus=0, slot=7, func=0 class=01-01-85, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns) intpin=a, irq=5 powerspec 2 supports D0 D3 current D0 map[10]: type I/O Port, range 32, base 0x9f0, size 4, enabled map[14]: type I/O Port, range 32, base 0xbf0, size 4, enabled map[18]: type I/O Port, range 32, base 0x970, size 4, enabled map[1c]: type I/O Port, range 32, base 0xb70, size 4, enabled map[20]: type I/O Port, range 32, base 0xd800, size 11, enabled map[24]: type Memory, range 32, base 0xd3002000, size 13, enabled pcib0: matched entry for 0.7.INTA (src \_SB_.PCI0.APSI:0) pci_link29: Picked IRQ 22 with weight 0 pcib0: slot 7 INTA routed to irq 22 via \_SB_.PCI0.APSI found-> vendor=0x10de, dev=0x0055, revid=0xf3 domain=0, bus=0, slot=8, func=0 class=01-01-85, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns) intpin=a, irq=11 powerspec 2 supports D0 D3 current D0 map[10]: type I/O Port, range 32, base 0x9e0, size 5, enabled map[14]: type I/O Port, range 32, base 0xbe0, size 5, enabled map[18]: type I/O Port, range 32, base 0x960, size 5, enabled map[1c]: type I/O Port, range 32, base 0xb60, size 5, enabled map[20]: type I/O Port, range 32, base 0xc400, size 10, enabled map[24]: type Memory, range 32, base 0xd3001000, size 12, enabled pcib0: matched entry for 0.8.INTA (src \_SB_.PCI0.APSJ:0) pci_link30: Picked IRQ 23 with weight 0 pcib0: slot 8 INTA routed to irq 23 via \_SB_.PCI0.APSJ found-> vendor=0x10de, dev=0x005c, revid=0xa2 domain=0, bus=0, slot=9, func=0 class=06-04-01, hdrtype=0x01, mfdev=0 cmdreg=0x0107, statreg=0x00a0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x02 (500 ns), maxlat=0x02 (500 ns) found-> vendor=0x10de, dev=0x0056, revid=0xa3 domain=0, bus=0, slot=10, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x01 (250 ns), maxlat=0x14 (5000 ns) intpin=a, irq=7 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type Memory, range 32, base 0xd3000000, size 24, enabled map[14]: type I/O Port, range 32, base 0xb000, size 12, enabled pcib0: matched entry for 0.10.INTA (src \_SB_.PCI0.APCH:0) pci_link23: Picked IRQ 21 with weight 1 pcib0: slot 10 INTA routed to irq 21 via \_SB_.PCI0.APCH found-> vendor=0x10de, dev=0x005d, revid=0xa3 domain=0, bus=0, slot=11, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0107, statreg=0x0010, cachelnsz=8 (dwords) lattimer=0x00 (0 ns), mingnt=0x02 (500 ns), maxlat=0x00 (0 ns) powerspec 2 supports D0 D3 current D0 MSI supports 2 messages, 64 bit found-> vendor=0x10de, dev=0x005d, revid=0xa3 domain=0, bus=0, slot=12, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0107, statreg=0x0010, cachelnsz=8 (dwords) lattimer=0x00 (0 ns), mingnt=0x02 (500 ns), maxlat=0x00 (0 ns) powerspec 2 supports D0 D3 current D0 MSI supports 2 messages, 64 bit found-> vendor=0x10de, dev=0x005d, revid=0xa3 domain=0, bus=0, slot=13, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0107, statreg=0x0010, cachelnsz=8 (dwords) lattimer=0x00 (0 ns), mingnt=0x02 (500 ns), maxlat=0x00 (0 ns) powerspec 2 supports D0 D3 current D0 MSI supports 2 messages, 64 bit found-> vendor=0x10de, dev=0x005d, revid=0xa3 domain=0, bus=0, slot=14, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0107, statreg=0x0010, cachelnsz=8 (dwords) lattimer=0x00 (0 ns), mingnt=0x0a (2500 ns), maxlat=0x00 (0 ns) powerspec 2 supports D0 D3 current D0 MSI supports 2 messages, 64 bit found-> vendor=0x1022, dev=0x1100, revid=0x00 domain=0, bus=0, slot=24, func=0 class=06-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0000, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x1022, dev=0x1101, revid=0x00 domain=0, bus=0, slot=24, func=1 class=06-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x1022, dev=0x1102, revid=0x00 domain=0, bus=0, slot=24, func=2 class=06-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x1022, dev=0x1103, revid=0x00 domain=0, bus=0, slot=24, func=3 class=06-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) pci0: <memory> at device 0.0 (no driver attached) isab0: <PCI-ISA bridge> at device 1.0 on pci0 isa0: <ISA bus> on isab0 pci0: <serial bus, SMBus> at device 1.1 (no driver attached) ohci0: <OHCI (generic) USB controller> mem 0x80000000-0x80000fff irq 21 at device 2.0 on pci0 ioapic0: routing intpin 21 (PCI IRQ 21) to lapic 0 vector 49 ohci0: [MPSAFE] ohci0: [ITHREAD] usbus0: SMM does not respond, resetting usbus0: reset timeout ohci0: USB init failed device_attach: ohci0 attach returned 6 atapci0: <nVidia nForce CK804 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376 at device 6.0 on pci0 atapci0: Lazy allocation of 0x1000 bytes rid 0x20 type 4 at 0x1000 atapci0: Reserved 0x1000 bytes for rid 0x20 type 4 at 0x1000 ata0: <ATA channel 0> on atapci0 atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0 atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6 ata0: reset tp1 mask=00 ostat0=ff ostat1=ff ioapic0: routing intpin 14 (ISA IRQ 14) to lapic 0 vector 49 ata0: [MPSAFE] ata0: [ITHREAD] ata1: <ATA channel 1> on atapci0 atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170 atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376 ata1: reset tp1 mask=00 ostat0=ff ostat1=ff ioapic0: routing intpin 15 (ISA IRQ 15) to lapic 0 vector 50 ata1: [MPSAFE] ata1: [ITHREAD] atapci1: <nVidia nForce CK804 SATA300 controller> irq 22 at device 7.0 on pci0 atapci1: Lazy allocation of 0x800 bytes rid 0x20 type 4 at 0x2000 atapci1: Reserved 0x800 bytes for rid 0x20 type 4 at 0x2000 ioapic0: routing intpin 22 (PCI IRQ 22) to lapic 0 vector 51 atapci1: [MPSAFE] atapci1: [ITHREAD] atapci1: Lazy allocation of 0x2000 bytes rid 0x24 type 3 at 0x80000000 atapci1: Reserved 0x2000 bytes for rid 0x24 type 3 at 0x80000000 ata2: <ATA channel 0> on atapci1 atapci1: Lazy allocation of 0x10 bytes rid 0x10 type 4 at 0x2800 atapci1: Reserved 0x10 bytes for rid 0x10 type 4 at 0x2800 atapci1: Lazy allocation of 0x10 bytes rid 0x14 type 4 at 0x2810 atapci1: Reserved 0x10 bytes for rid 0x14 type 4 at 0x2810 ata2: hardware reset ... ata2: [MPSAFE] ata2: [ITHREAD] ata3: <ATA channel 1> on atapci1 atapci1: Lazy allocation of 0x10 bytes rid 0x18 type 4 at 0x2820 atapci1: Reserved 0x10 bytes for rid 0x18 type 4 at 0x2820 atapci1: Lazy allocation of 0x10 bytes rid 0x1c type 4 at 0x2830 atapci1: Reserved 0x10 bytes for rid 0x1c type 4 at 0x2830 ata3: hardware reset ... ata3: [MPSAFE] ata3: [ITHREAD] atapci2: <nVidia nForce CK804 SATA300 controller> irq 23 at device 8.0 on pci0 atapci2: Lazy allocation of 0x400 bytes rid 0x20 type 4 at 0x2c00 atapci2: Reserved 0x400 bytes for rid 0x20 type 4 at 0x2c00 ioapic0: routing intpin 23 (PCI IRQ 23) to lapic 0 vector 52 atapci2: [MPSAFE] atapci2: [ITHREAD] atapci2: Lazy allocation of 0x1000 bytes rid 0x24 type 3 at 0x80002000 atapci2: Reserved 0x1000 bytes for rid 0x24 type 3 at 0x80002000 ata4: <ATA channel 0> on atapci2 atapci2: Lazy allocation of 0x20 bytes rid 0x10 type 4 at 0x2840 atapci2: Reserved 0x20 bytes for rid 0x10 type 4 at 0x2840 atapci2: Lazy allocation of 0x20 bytes rid 0x14 type 4 at 0x2860 atapci2: Reserved 0x20 bytes for rid 0x14 type 4 at 0x2860 ata4: hardware reset ... ata4: [MPSAFE] ata4: [ITHREAD] ata5: <ATA channel 1> on atapci2 atapci2: Lazy allocation of 0x20 bytes rid 0x18 type 4 at 0x2880 atapci2: Reserved 0x20 bytes for rid 0x18 type 4 at 0x2880 atapci2: Lazy allocation of 0x20 bytes rid 0x1c type 4 at 0x28a0 atapci2: Reserved 0x20 bytes for rid 0x1c type 4 at 0x28a0 ata5: hardware reset ... ata5: [MPSAFE] ata5: [ITHREAD] pcib1: <ACPI PCI-PCI bridge> at device 9.0 on pci0 pcib1: domain 0 pcib1: secondary bus 5 pcib1: subordinate bus 5 pcib1: I/O decode 0xf000-0xfff pcib1: no prefetched decode pcib1: Subtractively decoded bridge. pci5: <ACPI PCI bus> on pcib1 pci5: domain=0, physical bus=5 nfe0: <NVIDIA nForce4 CK804 MCP8 Networking Adapter> irq 21 at device 10.0 on pci0 nfe0: Lazy allocation of 0x1000000 bytes rid 0x10 type 3 at 0x81000000 nfe0: Reserved 0x1000000 bytes for rid 0x10 type 3 at 0x81000000 nfe0: MII without any phy! device_attach: nfe0 attach returned 6 pcib2: <ACPI PCI-PCI bridge> at device 11.0 on pci0 pcib2: domain 0 pcib2: secondary bus 4 pcib2: subordinate bus 4 pcib2: I/O decode 0xf000-0xfff pcib2: no prefetched decode pcib2: could not get PCI interrupt routing table for \_SB_.PCI0.XVR3 - AE_NOT_FOUND pci4: <ACPI PCI bus> on pcib2 pci4: domain=0, physical bus=4 pcib3: <ACPI PCI-PCI bridge> at device 12.0 on pci0 pcib3: domain 0 pcib3: secondary bus 3 pcib3: subordinate bus 3 pcib3: I/O decode 0xf000-0xfff pcib3: no prefetched decode pcib3: could not get PCI interrupt routing table for \_SB_.PCI0.XVR2 - AE_NOT_FOUND pci3: <ACPI PCI bus> on pcib3 pci3: domain=0, physical bus=3 pcib4: <ACPI PCI-PCI bridge> at device 13.0 on pci0 pcib4: domain 0 pcib4: secondary bus 2 pcib4: subordinate bus 2 pcib4: I/O decode 0xf000-0xfff pcib4: no prefetched decode pcib4: could not get PCI interrupt routing table for \_SB_.PCI0.XVR1 - AE_NOT_FOUND pci2: <ACPI PCI bus> on pcib4 pci2: domain=0, physical bus=2 pcib5: <ACPI PCI-PCI bridge> at device 14.0 on pci0 pcib5: domain 0 pcib5: secondary bus 1 pcib5: subordinate bus 1 pcib5: I/O decode 0xf000-0xfff pcib5: memory decode 0xd0000000-0xd2ffffff pcib5: prefetched decode 0xc0000000-0xcfffffff pcib5: could not get PCI interrupt routing table for \_SB_.PCI0.XVR0 - AE_NOT_FOUND pci1: <ACPI PCI bus> on pcib5 pci1: domain=0, physical bus=1 found-> vendor=0x10de, dev=0x01d3, revid=0xa1 domain=0, bus=1, slot=0, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x0010, cachelnsz=8 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=5 powerspec 2 supports D0 D3 current D0 MSI supports 1 message, 64 bit map[10]: type Memory, range 32, base 0xd0000000, size 28, enabled map[14]: type Prefetchable Memory, range 64, base 0xc0000000, size 30, enabled map[1c]: type Memory, range 64, base 0xd1000000, size 24, enabled pcib0: matched entry for 0.14.INTA (src \_SB_.PCI0.APC3:0) pci_link18: Picked IRQ 18 with weight 0 pcib0: slot 14 INTA routed to irq 18 via \_SB_.PCI0.APC3 pcib5: slot 0 INTA is routed to irq 18 vgapci0: <VGA-compatible display> irq 18 at device 0.0 on pci1 acpi_tz0: <Thermal Zone> on acpi0 atrtc0: <AT realtime clock> port 0x70-0x73 irq 8 on acpi0 atrtc0: registered as a time-of-day clock (resolution 1000000us) uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 ioapic0: routing intpin 4 (ISA IRQ 4) to lapic 0 vector 53 uart0: [FILTER] uart0: fast interrupt uart0: console (9600,n,8,1) cpu0: <ACPI CPU> on acpi0 cpu0: switching to generic Cx mode acpi_throttle0: <ACPI CPU Throttling> on cpu0 acpi_throttle0: P_CNT from P_BLK 0x4010 powernow0: <Cool`n'Quiet K8> on cpu0 unknown: status reg test failed ff unknown: status reg test failed ff unknown: status reg test failed ff unknown: status reg test failed ff unknown: status reg test failed ff unknown: status reg test failed ff ahc_isa_probe 1: ioport 0x1c00 alloc failed ahc_isa_probe 2: ioport 0x2c00 alloc failed pnp_identify: Trying Read_Port at 203 pnp_identify: Trying Read_Port at 243 pnp_identify: Trying Read_Port at 283 pnp_identify: Trying Read_Port at 2c3 pnp_identify: Trying Read_Port at 303 pnp_identify: Trying Read_Port at 343 pnp_identify: Trying Read_Port at 383 pnp_identify: Trying Read_Port at 3c3 PNP Identify complete ex_isa_identify() isa_probe_children: disabling PnP devices pmtimer0 on isa0 ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it atrtc: atrtc0 already exists; skipping it sc: sc0 already exists; skipping it uart: uart0 already exists; skipping it isa_probe_children: probing non-PnP devices orm0: <ISA Option ROMs> at iomem 0xd0000-0xd3fff,0xd4000-0xd57ff pnpid ORM0000 on isa0 atkbd: the current kbd controller command byte 0047 atkbd: keyboard ID 0x41ab (2) kbdc: RESET_KBD return code:00fa kbdc: RESET_KBD status:00aa sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sc0: fb0, kbd1, terminal emulator: scteken (teken terminal) vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000 ioapic0: routing intpin 1 (ISA IRQ 1) to lapic 0 vector 54 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: current command byte:0047 kbdc: TEST_AUX_PORT status:0000 kbdc: RESET_AUX return code:00fa kbdc: RESET_AUX status:00aa kbdc: RESET_AUX ID:0000 kbdc: RESET_AUX return code:00fa kbdc: RESET_AUX status:00aa kbdc: RESET_AUX ID:0000 psm: status 00 02 64 psm: status 00 00 64 psm: status 00 03 64 psm: status 00 03 64 psm: data 00 00 00 psm: status 10 00 64 psm: status 00 02 64 psm: status 00 02 64 psm0: <PS/2 Mouse> irq 12 on atkbdc0 ioapic0: routing intpin 12 (ISA IRQ 12) to lapic 0 vector 55 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons psm0: config:00000000, flags:00000008, packet size:3 psm0: syncmask:c0, syncbits:00 fdc0 failed to probe at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 ppc0: parallel port not found. ppc0: <Parallel port> failed to probe at irq 7 on isa0 uart1: <ns8250> failed to probe at port 0x2f8-0x2ff irq 3 on isa0 isa_probe_children: probing PnP devices Device configuration finished. Reducing kern.maxvnodes 134104 -> 100000 procfs registered lapic: Divisor 2, Frequency 100515677 hz Timecounter "TSC" frequency 2010313531 Hz quality 800 Timecounters tick every 1.000 msec lo0: bpf attached hptrr: no controller detected. ata0: Identifying devices: 00000000 ata0: New devices: 00000000 ata1: Identifying devices: 00000000 ata1: New devices: 00000000 ata2: Identifying devices: 00000000 ata2: New devices: 00000000 ata3: Identifying devices: 00000000 ata3: New devices: 00000000 ata4: Identifying devices: 00000000 ata4: New devices: 00000000 ata5: Identifying devices: 00000000 ata5: New devices: 00000000 nfs_diskless: no interface ATA PseudoRAID loaded Trying to mount root from nfs:10.0.0.1:/usr/tftpboot nfs_diskless: no interface ROOT MOUNT ERROR: If you have invalid mount options, reboot, and first try the following from the loader prompt: set vfs.root.mountfrom.options=rw and then remove invalid mount options from /etc/fstab. Loader variables: vfs.root.mountfrom=nfs:10.0.0.1:/usr/tftpboot vfs.root.mountfrom.options=rw Manual root filesystem specification: <fstype>:<device> Mount <device> using filesystem <fstype> eg. ufs:/dev/da0s1a eg. cd9660:/dev/acd0 This is equivalent to: mount -t cd9660 /dev/acd0 / ? List valid disk boot devices <empty line> Abort manual input mountroot>
Pyun YongHyeon
2009-Dec-24 19:58 UTC
FreeBSD 8.0: can't PXE Boot using nvidia nForce4 network card
On Wed, Dec 23, 2009 at 02:07:15PM +0100, Olivier Cochard-Labb? wrote:> Hi all, > > I've got a PC which have 2 bugs with FreeBSD 8.0: It can't boot from > USB (usb/139142) neither from PATA hard-drive (kern/139143). > But I would boot this PC for giving acces to somes FreeBSD devs for debuging it: > Then I've choose boot my buggy PC using PXE, then I've prepared a second PC with > a DHCP/TFTP/NFS/serial-cable this bugguy PC. > > I've posted my problem on the FreeBSD forum some weeks ago, but didn't > found usefull help: > http://forums.freebsd.org/showthread.php?t=8324 > > The up-to-date 8.0-STABLE kernel boot fine from PXE/TFTP, but when it > tries to mount the rootfilesystem from NFS it display an errror: > > Trying to mount root from nfs:10.0.0.1:/usr/tftpboot > nfs_diskless: no interface > ROOT MOUNT ERROR: > > The network card is a NVIDIA nForce4 CK804 MCP8. > > I've seen that the pxe loader populate correctly lot's of the needed > boot variables (boot.netif.ip, boot.netif.netmask, boot.netif.gateway, > etc...) but with the only expection of "boot.netif.name". > It seems to have a problem in /usr/src/sys/nfsclient/nfs_diskless.c > that can't set this variable. > > Does some one have any clue for fixing this file ? > > Thanks, > > Olivier > > PS: Here is the full verbose boot messages: >[...]> nfe0: <NVIDIA nForce4 CK804 MCP8 Networking Adapter> irq 21 at device > 10.0 on pci0 > nfe0: Lazy allocation of 0x1000000 bytes rid 0x10 type 3 at 0x81000000 > nfe0: Reserved 0x1000000 bytes for rid 0x10 type 3 at 0x81000000 > nfe0: MII without any phy!^^^^^^^^^^^^^^^^^^^^^^^^^^ Maybe this is the reason why you can't use NFS. If your BIOS has an option that disables management feature of ethernet controller try toggle the feature.> device_attach: nfe0 attach returned 6