Bug #1596

installer segfaults on AMD64 while configuring nfe0 DHCP

Added by saifikhan about 5 years ago. Updated over 2 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:swildner% Done:

0%

Category:-
Target version:-

Description

Hi:

Summary:
The DragonFlyBSD installer seg-faults on AMD64 while configuring
a nfe0 interface with DHCP.

Version:
DragonFlyBSD 2.4.1

Reproducible:
always

Stack trace:
Script started on Wed Nov 4 22:33:08 2009

# gdb /usr/sbin/dfuibe_installer ./dfuibe_installer.core
gdb 6.7.1
This GDB was configured as "amd64-dragonfly"...
(no debugging symbols found)
Reading symbols from /usr/lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libc.so.7
Reading symbols from /usr/libexec/ld-elf.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/libexec/ld-elf.so.2

Core was generated by `dfuibe_installer'.
Program terminated with signal 11, Segmentation fault.
#0 0x00000008006ff8b2 in __vfprintf () from /usr/lib/libc.so.7
(gdb) bt
#0 0x00000008006ff8b2 in __vfprintf () from /usr/lib/libc.so.7
#1 0x00000008006f4fe3 in vasprintf () from /usr/lib/libc.so.7
#2 0x000000000040fc82 in ?? ()
#3 0x00000000004053c7 in ?? ()
#4 0x00000000004086b5 in ?? ()
#5 0x00000000004051b7 in ?? ()
#6 0x000000000040245d in ?? ()
#7 0x000000000040e71f in ?? ()
#8 0x0000000000402360 in ?? ()
#9 0x0000000800554000 in ?? ()
#10 0x0000000000000000 in ?? ()
(gdb) q
# exit
exit

Script done on Wed Nov 4 22:34:02 2009

thanks
Saifi.

History

#1 Updated by saifikhan over 4 years ago

This bug is still present in the latest build as well (april 3, 2010).

#2 Updated by swildner over 4 years ago

grab

#3 Updated by swildner over 4 years ago

I've been unable to reproduce the issue so far (but I'm testing in VirtualBox
because I don't have an nfe(4)).

Saifi, can you put up the /var/run/dmesg.boot of the machine somewhere?
Also, if you boot the ISO without installing, switch to a different vty, log in
as root and do "dhclient nfe0", does it work?

Regards,
Sascha

#4 Updated by saifikhan over 4 years ago

On Sun, 4 Apr 2010, Sascha Wildner (via DragonFly issue tracker) wrote:

>
> Also, if you boot the ISO without installing, switch to a different vty, log in
> as root and do "dhclient nfe0", does it work?
>

Yes.

In fact, thats how i bypassed the installer crash and still
could configure the machine to use DHCP.

Later added in /mnt/etc/rc.conf the line
ifconfig_nfe0="DHCP"

#5 Updated by saifikhan over 4 years ago

On Sun, 4 Apr 2010, Sascha Wildner (via DragonFly issue tracker) wrote:

>
> Saifi, can you put up the /var/run/dmesg.boot of the machine somewhere?
>

Hi Sascha:

Please find the entire dmesg.boot text below.

----
Copyright (c) 2003-2010 The DragonFly Project.
Copyright (c) 1992-2003 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.
DragonFly v2.7.0.47.g3f16d-DEVELOPMENT #2: Sun Apr 4 20:30:35 IST 2010
root@:/usr/obj/usr/src/sys/X86_64_GENERIC
Calibrating clock(s) ... TSC clock: 2310379571 Hz, i8254 clock: 1193131 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ (2310.49-MHz K8-class CPU)
Origin = "AuthenticAMD" Id = 0x60fb1 Stepping = 1
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
Features2=0x2001<SSE3,CX16>
AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
AMD Features2=0x11f<LAHF,CMP,SVM,ExtAPIC,CR8,Prefetch>
Cores per package: 2
L1 2MB data TLB: 8 entries, fully associative
L1 2MB instruction TLB: 8 entries, fully associative
L1 4KB data TLB: 32 entries, fully associative
L1 4KB 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 2MB unified TLB: 0 entries, disabled/not present
L2 4KB data TLB: 512 entries, 4-way associative
L2 4KB instruction TLB: 512 entries, 4-way associative
L2 unified cache: 512 kbytes, 64 bytes/line, 1 lines/tag, 16-way associative
real memory = 2013003776 (1919 MB)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x01016000 - 0x77faffff, 1996070912 bytes (487322 pages)
avail memory = 1882218496 (1795 MB)
Preloaded elf kernel "/kernel" at 0xffffffff80f86000.
Preloaded elf obj module "/modules/acpi.ko" at 0xffffffff80f86290.
wlan: <802.11 Link Layer>
md0: Malloc disk
kbd: new array size 4
kbd1 at kbdmux0
crypto: <crypto core>
md0: invalid primary partition table: no magic
ACPI: RSDP 0xfb840 00024 (v2 ACPIAM)
ACPI: XSDT 0x77fc0100 0005C (v1 _ASUS_ Notebook 04000730 MSFT 00000097)
ACPI: FACP 0x77fc0290 000F4 (v3 A_M_I_ OEMFACP 04000730 MSFT 00000097)
ACPI: DSDT 0x77fc05c0 04D44 (v1 A0557 A0557000 00000000 INTL 20051117)
ACPI: FACS 0x77fce000 00040
ACPI: APIC 0x77fc0390 00070 (v1 A_M_I_ OEMAPIC 04000730 MSFT 00000097)
ACPI: MCFG 0x77fc0400 0003C (v1 A_M_I_ OEMMCFG 04000730 MSFT 00000097)
ACPI: SLIC 0x77fc0440 00176 (v1 _ASUS_ Notebook 04000730 MSFT 00000097)
ACPI: OEMB 0x77fce040 00060 (v1 A_M_I_ AMI_OEM 04000730 MSFT 00000097)
ACPI: HPET 0x77fc5310 00038 (v1 A_M_I_ OEMHPET0 04000730 MSFT 00000097)
ACPI: SSDT 0x77fc5350 00248 (v1 A_M_I_ POWERNOW 00000001 AMD 00000001)
cryptosoft0.nexus0.root0
cryptosoft0: <software crypto> [tentative] on motherboard
crypto: assign cryptosoft0 driver id 0, flags 100663296
crypto: cryptosoft0 registers alg 1 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 2 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 3 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 4 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 5 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 16 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 6 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 7 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 18 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 19 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 20 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 8 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 15 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 9 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 10 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 13 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 14 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 11 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 21 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 17 flags 0 maxoplen 0
cryptosoft0: <software crypto> [attached!] on motherboard
acpi0.nexus0.root0
acpi0: <_ASUS_ Notebook> [tentative] on motherboard
acpi0: Power Button (fixed)
Warning: ACPI is disabling APM's device. You can't run both
pci_open(1): mode 1 addr port (0x0cf8) is 0x8000c060
pci_open(1a): mode1res=0x80000000 (0x80000000)
pci_cfgcheck: device 0 [class=050000] [hdr=00] is there (id=03ea10de)
AcpiOsDerivePciId: bus 0 dev 1 func 0
ACPI timer looks GOOD min = 5, max = 6, width = 1
ACPI timer looks GOOD min = 5, max = 6, width = 1
ACPI timer looks GOOD min = 5, max = 6, width = 1
ACPI timer looks GOOD min = 5, max = 6, width = 1
ACPI timer looks GOOD min = 5, max = 6, width = 1
ACPI timer looks GOOD min = 5, max = 6, width = 1
ACPI timer looks GOOD min = 5, max = 7, width = 2
ACPI timer looks GOOD min = 5, max = 6, width = 1
ACPI timer looks GOOD min = 5, max = 7, width = 2
ACPI timer looks GOOD min = 5, max = 6, width = 1
acpi_timer0.acpi0.nexus0.root0
acpi_timer0: <24-bit timer at 3.579545MHz> [tentative] port 0x508-0x50b on acpi0
acpi_timer0: <24-bit timer at 3.579545MHz> [attached!] port 0x508-0x50b on acpi0
acpi_hpet0.acpi0.nexus0.root0
acpi_hpet0: <High Precision Event Timer> [tentative] iomem 0xfed00000-0xfed003ff on acpi0
acpi_hpet0: vend: 0x10de, rev: 0x1, num: 2, opts: legacy_route
acpi_hpet0: frequency 25000000
acpi_hpet0: <High Precision Event Timer> [attached!] iomem 0xfed00000-0xfed003ff on acpi0
acpi_button0.acpi0.nexus0.root0
acpi_button0: <Power Button> [tentative] on acpi0
acpi_button0: <Power Button> [attached!] on acpi0
unknown: not probed (disabled)
unknown: not probed (disabled)
atkbdc0.acpi0.nexus0.root0
atkbdc0: <Keyboard controller (i8042)> [tentative] port 0x64,0x60 irq 1 on acpi0
atkbd0.atkbdc0.acpi0.nexus0.root0
atkbd0: <AT Keyboard> [tentative] flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0065
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
atkbd0: <AT Keyboard> [attached!] flags 0x1 irq 1 on atkbdc0
psm0: current command byte:0065
psm0.atkbdc0.acpi0.nexus0.root0
psm0: <PS/2 Mouse> [tentative] irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4-00, 5 buttons
psm0: config:00000000, flags:00000000, packet size:4
psm0: syncmask:08, syncbits:08
psm0: <PS/2 Mouse> [attached!] irq 12 on atkbdc0
atkbdc0: <Keyboard controller (i8042)> [attached!] port 0x64,0x60 irq 1 on acpi0
sio0: configured irq 3 not in bitmap of probed irqs 0
sio0: irq maps: 0 0 0 0
sio0.acpi0.nexus0.root0
sio0: <16550A-compatible COM port> [tentative] port 0x2f8-0x2ff irq 3 on acpi0
sio0: type 16550A
sio0: <16550A-compatible COM port> [attached!] port 0x2f8-0x2ff irq 3 on acpi0
cpu0.acpi0.nexus0.root0
cpu0: <ACPI CPU> [tentative] on acpi0
cpu_cst0.cpu0.acpi0.nexus0.root0
cpu_cst0: <ACPI CPU C-State> [tentative] on cpu0
cpu_cst0: switching to generic Cx mode
cpu_cst0: <ACPI CPU C-State> [attached!] on cpu0
cpu_pst0.cpu0.acpi0.nexus0.root0
cpu_pst0: <ACPI CPU P-State> [tentative] on cpu0
cpu_pst0: create domain0
cpu_pst0: control reg 127 0
cpu_pst0: status reg 127 0
cpu_pst0: freq 2300, pwr 100000, xlat 100, blat 9, cv e8202a8f, sv 0000028f
cpu_pst0: freq 2200, pwr 92008, xlat 100, blat 9, cv e8202ace, sv 000002ce
cpu_pst0: freq 2000, pwr 77212, xlat 100, blat 9, cv e8202b4c, sv 0000034c
cpu_pst0: freq 1800, pwr 63934, xlat 100, blat 9, cv e8202bca, sv 000003ca
cpu_pst0: freq 1000, pwr 31129, xlat 100, blat 9, cv e8202c82, sv 00000482
cpu_pst0: _PPC 0
cpu_pst0: <ACPI CPU P-State> [attached!] on cpu0
cpu0: <ACPI CPU> [attached!] on acpi0
unknown: not probed (disabled)
unknown: not probed (disabled)
acpi0: <_ASUS_ Notebook> [attached!] at port 0x230-0x23f,0x290-0x29f,0xa00-0xa0f,0xa10-0xa1f,0x10-0x1f,0x22-0x3f,0x44-0x4d,0x50-0x5f,0x62-0x63,0x65-0x6f,0x72-0x7f,0x80,0x84-0x86,0x88,0x8c-0x8e,0x90-0x9f,0xa2-0xbf,0xe0-0xef,0x4d0-0x4d1,0x800-0x80f,0x500-0x57f,0x580-0x5ff,0x800-0x87f,0x880-0x8ff,0xd00-0xd7f,0xd80-0xdff,0x2000-0x207f,0x2080-0x20ff iomem 0-0x9ffff,0xc0000-0xcffff,0xe0000-0xfffff,0x100000-0x77ffffff,0xff780000-0xffffffff,0xe0000000-0xefffffff,0xfec00000-0xfec00fff,0xfee00000-0xfee00fff,0x78000000-0x7fffffff,0xfefe0000-0xfefe01ff,0xfefe1000-0xfefe1fff,0xfee01000-0xfeefffff,0xffb80000-0xffffffff,0xff300000-0xff3fffff irq 9 on motherboard
pcib0.legacy0.nexus0.root0
pcib0: <Host to PCI bridge> [tentative] pcibus 0 on motherboard
pci0.pcib0.legacy0.nexus0.root0
pci0: <PCI bus> [tentative] on pcib0
pci0: domain=0, physical bus=0
found-> vendor=0x10de, dev=0x03ea, revid=0xa1
domain=0, bus=0, slot=0, func=0
class=05-00-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=0x03e0, revid=0xa2
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=0x03eb, 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=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=10
powerspec 2 supports D0 D3 current D0
map[10]: type I/O Port, range 32, base 0xdc00, size 6, enabled
map[20]: type I/O Port, range 32, base 0x600, size 6, enabled
map[24]: type I/O Port, range 32, base 0x700, size 6, enabled
found-> vendor=0x10de, dev=0x03f5, revid=0xa2
domain=0, bus=0, slot=1, func=2
class=05-00-00, hdrtype=0x00, mfdev=1
cmdreg=0x0400, statreg=0x00a0, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x10de, dev=0x03f1, revid=0xa2
domain=0, bus=0, slot=2, func=0
class=0c-03-10, hdrtype=0x00, mfdev=1
cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns)
intpin=a, irq=7
powerspec 2 supports D0 D1 D2 D3 current D0
map[10]: type Memory, range 32, base 0xdfeff000, size 12, enabled
found-> vendor=0x10de, dev=0x03f2, revid=0xa2
domain=0, bus=0, slot=2, func=1
class=0c-03-20, hdrtype=0x00, mfdev=1
cmdreg=0x0006, statreg=0x00b0, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns)
intpin=b, irq=11
powerspec 2 supports D0 D1 D2 D3 current D0
map[10]: type Memory, range 32, base 0xdfefec00, size 8, enabled
found-> vendor=0x10de, dev=0x03f3, revid=0xa1
domain=0, bus=0, slot=4, func=0
class=06-04-01, hdrtype=0x01, mfdev=0
cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x02 (500 ns), maxlat=0x02 (500 ns)
found-> vendor=0x10de, dev=0x03f0, revid=0xa2
domain=0, bus=0, slot=5, func=0
class=04-03-00, hdrtype=0x00, mfdev=1
cmdreg=0x0006, statreg=0x00b0, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x02 (500 ns), maxlat=0x05 (1250 ns)
intpin=b, irq=10
powerspec 2 supports D0 D3 current D0
MSI supports 1 message, 64 bit, vector masks
map[10]: type Memory, range 32, base 0xdfef8000, size 14, enabled
found-> vendor=0x10de, dev=0x03ec, revid=0xa2
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 0xffa0, size 4, enabled
found-> vendor=0x10de, dev=0x03ef, revid=0xa2
domain=0, bus=0, slot=7, func=0
class=06-80-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
MSI supports 8 messages, 64 bit, vector masks
map[10]: type Memory, range 32, base 0xdfefd000, size 12, enabled
map[14]: type I/O Port, range 32, base 0xd480, size 3, enabled
found-> vendor=0x10de, dev=0x03f6, revid=0xa2
domain=0, bus=0, slot=8, func=0
class=01-01-85, hdrtype=0x00, mfdev=1
cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns)
intpin=a, irq=15
powerspec 2 supports D0 D3 current D0
MSI supports 4 messages, 64 bit
map[10]: type I/O Port, range 32, base 0xd400, size 3, enabled
map[14]: type I/O Port, range 32, base 0xd080, size 2, enabled
map[18]: type I/O Port, range 32, base 0xd000, size 3, enabled
map[1c]: type I/O Port, range 32, base 0xcc00, size 2, enabled
map[20]: type I/O Port, range 32, base 0xc880, size 4, enabled
map[24]: type Memory, range 32, base 0xdfefc000, size 12, enabled
found-> vendor=0x10de, dev=0x03e8, revid=0xa2
domain=0, bus=0, slot=9, func=0
class=06-04-00, hdrtype=0x01, mfdev=0
cmdreg=0x0004, statreg=0x0010, cachelnsz=16 (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
PCI Express ver.1 cap=0x0141[ROOT], slotcap=0x00082580
found-> vendor=0x10de, dev=0x03e9, revid=0xa2
domain=0, bus=0, slot=11, func=0
class=06-04-00, hdrtype=0x01, mfdev=0
cmdreg=0x0004, statreg=0x0010, cachelnsz=16 (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
PCI Express ver.1 cap=0x0141[ROOT], slotcap=0x00100500
found-> vendor=0x10de, dev=0x03e9, revid=0xa2
domain=0, bus=0, slot=12, func=0
class=06-04-00, hdrtype=0x01, mfdev=0
cmdreg=0x0004, statreg=0x0010, cachelnsz=16 (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
PCI Express ver.1 cap=0x0141[ROOT], slotcap=0x00180500
found-> vendor=0x10de, dev=0x03d0, revid=0xa2
domain=0, bus=0, slot=13, func=0
class=03-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=11
powerspec 2 supports D0 D3 current D0
MSI supports 1 message, 64 bit
map[10]: type Memory, range 32, base 0xde000000, size 24, enabled
map[14]: type Prefetchable Memory, range 64, base 0xc0000000, size 28, enabled
map[1c]: type Memory, range 64, base 0xdd000000, size 24, enabled
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=0x0010, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
pci0: <memory, RAM> (vendor 0x10de, dev 0x03ea) at device 0.0
isab0.pci0.pcib0.legacy0.nexus0.root0
isab0: <PCI-ISA bridge> [tentative] at device 1.0 on pci0
isa0.isab0.pci0.pcib0.legacy0.nexus0.root0
isa0: <ISA bus> [tentative] on isab0
isa0: <ISA bus> [attached!] on isab0
isab0: <PCI-ISA bridge> [attached!] at device 1.0 on pci0
pci0: <serial bus, SMBus> (vendor 0x10de, dev 0x03eb) at device 1.1 irq 10
pci0: <memory, RAM> (vendor 0x10de, dev 0x03f5) at device 1.2
ohci0.pci0.pcib0.legacy0.nexus0.root0
ohci0: <OHCI (generic) USB controller> [tentative] mem 0xdfeff000-0xdfefffff irq 7 at device 2.0 on pci0
ohci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xdfeff000
usb0: OHCI version 1.0, legacy support
usb0.ohci0.pci0.pcib0.legacy0.nexus0.root0
usb0: <OHCI (generic) USB controller> [tentative] on ohci0
usb0: USB revision 1.0
uhub0.usb0.ohci0.pci0.pcib0.legacy0.nexus0.root0
uhub0: <nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> [tentative] on usb0
uhub0: 10 ports with 10 removable, self powered
uhub0: <nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> [attached!] on usb0
usb0: <OHCI (generic) USB controller> [attached!] on ohci0
ohci0: <OHCI (generic) USB controller> [attached!] mem 0xdfeff000-0xdfefffff irq 7 at device 2.0 on pci0
pci0: <serial bus, USB> (vendor 0x10de, dev 0x03f2) at device 2.1 irq 11
pcib1.pci0.pcib0.legacy0.nexus0.root0
pcib1: <PCI-PCI bridge> [tentative] at device 4.0 on pci0
pcib1: domain 0
pcib1: secondary bus 1
pcib1: subordinate bus 1
pcib1: I/O decode 0xe000-0xefff
pcib1: memory decode 0xdff00000-0xdfffffff
pcib1: no prefetched decode
pcib1: Subtractively decoded bridge.
pci1.pcib1.pci0.pcib0.legacy0.nexus0.root0
pci1: <PCI bus> [tentative] on pcib1
pci1: domain=0, physical bus=1
found-> vendor=0x1106, dev=0x3106, revid=0x8b
domain=0, bus=1, slot=6, func=0
class=02-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0117, statreg=0x0210, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x03 (750 ns), maxlat=0x08 (2000 ns)
intpin=a, irq=11
powerspec 2 supports D0 D1 D2 D3 current D0
map[10]: type I/O Port, range 32, base 0xe800, size 8, enabled
pcib1: requested I/O range 0xe800-0xe8ff: in range
map[14]: type Memory, range 32, base 0xdffffc00, size 8, enabled
pcib1: requested memory range 0xdffffc00-0xdffffcff: good
found-> vendor=0x1106, dev=0x3044, revid=0x46
domain=0, bus=1, slot=7, func=0
class=0c-00-10, hdrtype=0x00, mfdev=0
cmdreg=0x0117, statreg=0x0210, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x20 (8000 ns)
intpin=a, irq=11
powerspec 2 supports D0 D2 D3 current D0
map[10]: type Memory, range 32, base 0xdffff000, size 11, enabled
pcib1: requested memory range 0xdffff000-0xdffff7ff: good
map[14]: type I/O Port, range 32, base 0xec00, size 7, enabled
pcib1: requested I/O range 0xec00-0xec7f: in range
vr0.pci1.pcib1.pci0.pcib0.legacy0.nexus0.root0
vr0: <VIA VT6105 Rhine III 10/100BaseTX> [tentative] port 0xe800-0xe8ff mem 0xdffffc00-0xdffffcff irq 11 at device 6.0 on pci1
vr0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xe800
miibus0.vr0.pci1.pcib1.pci0.pcib0.legacy0.nexus0.root0
miibus0: <MII bus> [tentative] on vr0
ukphy0.miibus0.vr0.pci1.pcib1.pci0.pcib0.legacy0.nexus0.root0
ukphy0: <Generic IEEE 802.3u media interface> [tentative] on miibus0
ukphy0: OUI 0x004063, model 0x0034, rev. 9
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ukphy0: <Generic IEEE 802.3u media interface> [attached!] on miibus0
miibus0: <MII bus> [attached!] on vr0
ACPI: domain0 misses processors, should be 2, got 1
vr0: bpf attached
vr0: MAC address: 00:1e:58:9c:6d:7b
vr0: <VIA VT6105 Rhine III 10/100BaseTX> [attached!] port 0xe800-0xe8ff mem 0xdffffc00-0xdffffcff irq 11 at device 6.0 on pci1
fwohci0.pci1.pcib1.pci0.pcib0.legacy0.nexus0.root0
fwohci0: <VIA Fire II (VT6306)> [tentative] port 0xec00-0xec7f mem 0xdffff000-0xdffff7ff irq 11 at device 7.0 on pci1
fwohci0: latency timer 64 -> 64.
fwohci0: cache size 16 -> 16.
fwohci0: Reserved 0x800 bytes for rid 0x10 type 3 at 0xdffff000
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channel is 4.
fwohci0: EUI64 00:11:06:66:00:00:42:6f
fwohci0: resetting OHCI...done (loop=0)
fwohci0: fwphy_rddata: 0x2 loop=1, retry=0
fwohci0: fwphy_rddata: 0x3 loop=1, retry=0
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: fwphy_rddata: 0x5 loop=1, retry=0
fwohci0: Enable 1394a Enhancements
fwohci0: fwphy_rddata: 0x5 loop=1, retry=0
fwohci0: fwphy_rddata: 0x2 loop=1, retry=0
fwohci0: fwphy_rddata: 0x4 loop=1, retry=0
fwohci0: fwphy_rddata: 0x4 loop=1, retry=0
fwohci0: fwphy_rddata: 0x4 loop=1, retry=0
fwohci0: Link S400, max_rec 2048 bytes.
fwohci0: BUS_OPT 0xf800a202 -> 0xf800a202
fwohci0: fwohci_set_intr: 1
firewire0.fwohci0.pci1.pcib1.pci0.pcib0.legacy0.nexus0.root0
firewire0: <IEEE1394(FireWire) bus> [tentative] on fwohci0
fwe0.firewire0.fwohci0.pci1.pcib1.pci0.pcib0.legacy0.nexus0.root0
fwe0: <Ethernet over FireWire> [tentative] on firewire0
fwe0: bpf attached
fwe0: MAC address: 02:11:06:00:42:6f
fwe0: <Ethernet over FireWire> [attached!] on firewire0
sbp0.firewire0.fwohci0.pci1.pcib1.pci0.pcib0.legacy0.nexus0.root0
sbp0: <SBP-2/SCSI over FireWire> [tentative] on firewire0
sbp_attach (cold=1)
sbp0: <SBP-2/SCSI over FireWire> [attached!] on firewire0
sbp_post_busreset
fwohci0: Initiate bus reset
fwohci0: fwphy_rddata: 0x1 loop=1, retry=0
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
fwohci0: fw_set_bus_manager: 0->0 (loop=0)
firewire0: bus manager 0 (me)
send phy_config root_node=-1 gap_count=5
fwohci0: maxdesc: 2
fwohci0: start AT DMA status=0
Current DB 0
ch = 0
Current OP KEY INT BR len Addr Depend Stat: Cnt
6fec9000 OUTL ST2 ALL ALL 12 00000000 6fec9080 8411:000b RUN,ACTIVE, ack complete(11)
0x000000e0 0x00450000 0xffbaffff 0x00000000
fwohci0: fwphy_rddata: 0x1 loop=1, retry=0
firewire0: <IEEE1394(FireWire) bus> [attached!] on fwohci0
fwohci0: <VIA Fire II (VT6306)> [attached!] port 0xec00-0xec7f mem 0xdffff000-0xdffff7ff irq 11 at device 7.0 on pci1
pci1: <PCI bus> [attached!] on pcib1
pcib1: <PCI-PCI bridge> [attached!] at device 4.0 on pci0
pci0: <multimedia, HDA> (vendor 0x10de, dev 0x03f0) at device 5.0 irq 10
atapci0.pci0.pcib0.legacy0.nexus0.root0
atapci0: <nVidia nForce MCP61 UDMA133 controller> [tentative] port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 6.0 on pci0
atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xffa0
ata0.atapci0.pci0.pcib0.legacy0.nexus0.root0
ata0: <ATA channel 0> [tentative] 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=03 ostat0=50 ostat1=00
ata0: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb
ata0: stat1=0x00 err=0x00 lsb=0x00 msb=0x00
ata0: reset tp2 stat0=00 stat1=00 devices=0x4<ATAPI_MASTER>
ata0-master: pio=PIO4 wdma=WDMA2 udma=UDMA33 cable=40 wire
acd0: setting PIO4 on nForce MCP61 chip
acd0: setting UDMA33 on nForce MCP61 chip
acd0: <TSSTcorpDVD-ROM SH-D162C/TS04> DVDROM drive at ata0 as master
acd0: read 8268KB/s (8268KB/s), 256KB buffer, UDMA33
acd0: Reads: CDR, CDRW, CDDA stream, DVDROM, DVDR, DVDRAM, packet
acd0: Writes:
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray, unlocked
acd0: Medium: no/blank disc
ata0: <ATA channel 0> [attached!] on atapci0
ata1.atapci0.pci0.pcib0.legacy0.nexus0.root0
ata1: <ATA channel 1> [tentative] 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
ata1: <ATA channel 1> [attached!] on atapci0
atapci0: <nVidia nForce MCP61 UDMA133 controller> [attached!] port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 6.0 on pci0
nfe0.pci0.pcib0.legacy0.nexus0.root0
nfe0: <NVIDIA MCP61 Gigabit Ethernet> [tentative] port 0xd480-0xd487 mem 0xdfefd000-0xdfefdfff irq 7 at device 7.0 on pci0
nfe0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xdfefd000
miibus1.nfe0.pci0.pcib0.legacy0.nexus0.root0
miibus1: <MII bus> [tentative] on nfe0
atphy0.miibus1.nfe0.pci0.pcib0.legacy0.nexus0.root0
atphy0: <Atheros F1 10/100/1000 PHY> [tentative] on miibus1
atphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
atphy0: <Atheros F1 10/100/1000 PHY> [attached!] on miibus1
miibus1: <MII bus> [attached!] on nfe0
nfe0: bpf attached
nfe0: MAC address: 00:1b:fc:18:c8:01
nfe0: <NVIDIA MCP61 Gigabit Ethernet> [attached!] port 0xd480-0xd487 mem 0xdfefd000-0xdfefdfff irq 7 at device 7.0 on pci0
atapci1.pci0.pcib0.legacy0.nexus0.root0
atapci1: <nVidia nForce MCP61 SATA300 controller> [tentative] port 0xc880-0xc88f,0xcc00-0xcc03,0xd000-0xd007,0xd080-0xd083,0xd400-0xd407 mem 0xdfefc000-0xdfefcfff irq 15 at device 8.0 on pci0
atapci1: Reserved 0x10 bytes for rid 0x20 type 4 at 0xc880
atapci1: Reserved 0x1000 bytes for rid 0x24 type 3 at 0xdfefc000
ata2.atapci1.pci0.pcib0.legacy0.nexus0.root0
ata2: <ATA channel 0> [tentative] on atapci1
atapci1: Reserved 0x8 bytes for rid 0x10 type 4 at 0xd400
atapci1: Reserved 0x4 bytes for rid 0x14 type 4 at 0xd080
ata2: SATA connect time=0ms
ata2: reset tp1 mask=01 ostat0=50 ostat1=00
ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata2: reset tp2 stat0=50 stat1=00 devices=0x1<ATA_MASTER>
bus_explore done
sbp_post_explore
ata2-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire
ad4: nVidia check1 failed
ad4: Adaptec check1 failed
ad4: LSI (v3) check1 failed
ad4: LSI (v2) check1 failed
ad4: FreeBSD check1 failed
ad4: 305245MB <Seagate ST3320620AS 3.AAE> at ata2-master SATA300
ad4: 625142448 sectors [620181C/16H/63S] 16 sectors/interrupt 1 depth queue
ata2: <ATA channel 0> [attached!] on atapci1
ata3.atapci1.pci0.pcib0.legacy0.nexus0.root0
ata3: <ATA channel 1> [tentative] on atapci1
atapci1: Reserved 0x8 bytes for rid 0x18 type 4 at 0xd000
atapci1: Reserved 0x4 bytes for rid 0x1c type 4 at 0xcc00
ata3: SATA connect status=00000000
ata3: <ATA channel 1> [attached!] on atapci1
atapci1: <nVidia nForce MCP61 SATA300 controller> [attached!] port 0xc880-0xc88f,0xcc00-0xcc03,0xd000-0xd007,0xd080-0xd083,0xd400-0xd407 mem 0xdfefc000-0xdfefcfff irq 15 at device 8.0 on pci0
pcib2.pci0.pcib0.legacy0.nexus0.root0
pcib2: <PCI-PCI bridge> [tentative] at device 9.0 on pci0
pcib2: domain 0
pcib2: secondary bus 2
pcib2: subordinate bus 2
pcib2: I/O decode 0x0-0x0
pcib2: no prefetched decode
pci2.pcib2.pci0.pcib0.legacy0.nexus0.root0
pci2: <PCI bus> [tentative] on pcib2
pci2: domain=0, physical bus=2
pci2: <PCI bus> [attached!] on pcib2
pcib2: <PCI-PCI bridge> [attached!] at device 9.0 on pci0
pcib3.pci0.pcib0.legacy0.nexus0.root0
pcib3: <PCI-PCI bridge> [tentative] at device 11.0 on pci0
pcib3: domain 0
pcib3: secondary bus 3
pcib3: subordinate bus 3
pcib3: I/O decode 0x0-0x0
pcib3: no prefetched decode
pci3.pcib3.pci0.pcib0.legacy0.nexus0.root0
pci3: <PCI bus> [tentative] on pcib3
pci3: domain=0, physical bus=3
pci3: <PCI bus> [attached!] on pcib3
pcib3: <PCI-PCI bridge> [attached!] at device 11.0 on pci0
pcib4.pci0.pcib0.legacy0.nexus0.root0
pcib4: <PCI-PCI bridge> [tentative] at device 12.0 on pci0
pcib4: domain 0
pcib4: secondary bus 4
pcib4: subordinate bus 4
pcib4: I/O decode 0x0-0x0
pcib4: no prefetched decode
pci4.pcib4.pci0.pcib0.legacy0.nexus0.root0
pci4: <PCI bus> [tentative] on pcib4
pci4: domain=0, physical bus=4
pci4: <PCI bus> [attached!] on pcib4
pcib4: <PCI-PCI bridge> [attached!] at device 12.0 on pci0
vgapci0.pci0.pcib0.legacy0.nexus0.root0
vgapci0: <VGA-compatible display> [tentative] mem 0xdd000000-0xddffffff,0xc0000000-0xcfffffff,0xde000000-0xdeffffff irq 11 at device 13.0 on pci0
vgapci0: <VGA-compatible display> [attached!] mem 0xdd000000-0xddffffff,0xc0000000-0xcfffffff,0xde000000-0xdeffffff irq 11 at device 13.0 on pci0
pci0: <PCI bus> [attached!] on pcib0
pcib0: <Host to PCI bridge> [attached!] pcibus 0 on motherboard
ex_isa_identify()
ahc_isa_probe 12: ioport 0xcc00 alloc failed
ahc_isa_probe 13: ioport 0xdc00 alloc failed
ahc_isa_probe 14: ioport 0xec00 alloc failed
atkbdc-: atkbdc0 exists, using next available unit number
sio-: sio0 exists, using next available unit number
sio-: sio1 exists, using next available unit number
sio-: sio2 exists, using next available unit number
sio-: sio3 exists, using next available unit number
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
aps_identify: will specify the port
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
orm0.isa0.isab0.pci0.pcib0.legacy0.nexus0.root0
orm0: <Option ROMs> [tentative] at iomem 0xc0000-0xcefff,0xcf000-0xd07ff on isa0
orm0: <Option ROMs> [attached!] at iomem 0xc0000-0xcefff,0xcf000-0xd07ff on isa0
pmtimer0.isa0.isab0.pci0.pcib0.legacy0.nexus0.root0
pmtimer0 [tentative] on isa0
pmtimer0 [attached!] on isa0
adv0 [tentative] failed to probe on isa0
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x330
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x334
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x230
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x234
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x130
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x134
bt0 [tentative] failed to probe at port 0x134-0x137 on isa0
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0 [tentative] failed to probe at port 0x134-0x137 on isa0
aic0 [tentative] failed to probe on isa0
atkbdc1: <Keyboard controller (i8042)> [tentative] failed to probe at port 0x60 on isa0
vga0.isa0.isab0.pci0.pcib0.legacy0.nexus0.root0
vga0: <Generic ISA VGA> [tentative] at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xffffffff800b8000 size:32k gran:32k, buf:0 size:32k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 54 80
bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 54 80
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 54 80
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
vga0: <Generic ISA VGA> [attached!] at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0.isa0.isab0.pci0.pcib0.legacy0.nexus0.root0
sc0: <System console> [tentative] at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd1, terminal emulator: sc (syscons terminal)
sc0: <System console> [attached!] at flags 0x100 on isa0
aps0 [tentative] failed to probe at port 0x1600-0x161e on isa0
lm0 [tentative] failed to probe at port 0x290-0x297 on isa0
it0.isa0.isab0.pci0.pcib0.legacy0.nexus0.root0
it0 [tentative] at port 0x290-0x297 on isa0
it0 [attached!] at port 0x290-0x297 on isa0
it1 [tentative] failed to probe at port 0xc00 on isa0
it2 [tentative] failed to probe at port 0xd00-0xd07 on isa0
it3 [tentative] failed to probe at port 0x228-0x22f on isa0
wbsio0 [tentative] failed to probe at port 0x2e-0x2f on isa0
wbsio1 [tentative] failed to probe at port 0x4e-0x4f on isa0
sio1: can't drain, serial port might not exist, disabling
sio1 [tentative] failed to probe at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio2 [tentative] failed to probe at port 0x2f8 irq 3 on isa0
sio3: not probed (disabled)
sio4: not probed (disabled)
ppc0: cannot reserve I/O port range
ppc0: <Parallel port> [tentative] failed to probe at irq 7 on isa0
ed0: not probed (disabled)
lnc0: not probed (disabled)
cs0: not probed (disabled)
sn0: not probed (disabled)
isa_probe_children: probing PnP devices
ppp0: bpf attached
sl0: bpf attached
(probe0:ata0:0:0:0): error 22
(probe0:ata0:0:0:0): Unretryable Error
faith0: bpf attached
lo0: bpf attached
ip: MPSAFE
arp: MPSAFE
CAM: Configuring bus: sbp0
CAM: Configuring bus: ata0
CAM: Configuring bus: ata1
CAM: Configuring bus: ata2
CAM: Configuring bus: ata3
CAM: Configuring 5 busses
CAM: Finished configuring bus: ata1
CAM: Finished configuring bus: ata2
CAM: Finished configuring bus: ata3
(probe7:ata0:0:0:0): error 6
(probe7:ata0:0:0:0): Unretryable Error
(probe7:ata0:0:0:0): error 22
(probe7:ata0:0:0:0): Unretryable Error
CAM: Finished configuring bus: ata0
ad4: type 0xa5, start 63, end = 625137407, size 625137345 : OK
ad4: type 0xa5, start 167771520, end = 377485919, size 209714400 : OK
(probe0:sbp0:0:0:0): error 22
(probe0:sbp0:0:0:0): Unretryable Error
(probe1:sbp0:0:1:0): error 22
(probe1:sbp0:0:1:0): Unretryable Error
(probe2:sbp0:0:2:0): error 22
(probe2:sbp0:0:2:0): Unretryable Error
(probe3:sbp0:0:3:0): error 22
(probe3:sbp0:0:3:0): Unretryable Error
(probe4:sbp0:0:4:0): error 22
(probe4:sbp0:0:4:0): Unretryable Error
(probe5:sbp0:0:5:0): error 22
(probe5:sbp0:0:5:0): Unretryable Error
(probe6:sbp0:0:6:0): error 22
(probe6:sbp0:0:6:0): Unretryable Error
CAM: Finished configuring bus: sbp0
CAM: finished configuring all busses (0 left)
pass0 at ata0 bus 0 target 0 lun 0
pass0: <TSSTcorp DVD-ROM SH-D162C TS04> Removable CD-ROM SCSI-0 device
pass0: 33.000MB/s transfers
sg0 at ata0 bus 0 target 0 lun 0
sg0: <TSSTcorp DVD-ROM SH-D162C TS04> Removable CD-ROM SCSI-0 device
sg0: 33.000MB/s transfers
no B_DEVMAGIC (bootdev=0)
ATA PseudoRAID loaded
(cd0:ata0:0:0:0): error 6
(cd0:ata0:0:0:0): Unretryable Error
cd0 at ata0 bus 0 target 0 lun 0
cd0: <TSSTcorp DVD-ROM SH-D162C TS04> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
Mounting root from hammer:serno/5QF53R7T.s2d
tryroot serno/5QF53R7T.s2d
HAMMER(ROOT) recovery check seqno=0012b439
HAMMER(ROOT) recovery range 3000000000b27ad0-3000000000b27ad0
HAMMER(ROOT) recovery nexto 3000000000b27ad0 endseqno=0012b43a
HAMMER(ROOT) mounted clean, no recovery needed
Mounting devfs
start_init: trying /sbin/init
Loading configuration files.
Loading devfs rules:
/etc/defaults/devfs.conf
.
dumpon: crash dumps to /dev/serno/5QF53R7T.s2b (21, 0x30021)
swapon: adding /dev/serno/5QF53R7T.s2b as swap device
Starting file system checks:
/dev/serno/5QF53R7T.s2a:
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/serno/5QF53R7T.s2a:
clean, 293889 free
(529 frags, 36670 blocks, 0.1% fragmentation)

Setting hostname: .
kern.bootfile:
/kernel
->
/boot/kernel

nfe0: use non-jumbo frames
DHCPREQUEST on nfe0 to 255.255.255.255 port 67

ip length 318 disagrees with bytes received 534.

accepting packet with data after udp payload.

DHCPACK from 10.10.10.1

bound to 10.10.10.30 -- renewal in 2147483647 seconds.

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
options=3<RXCSUM,TXCSUM>
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
nfe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=8<VLAN_MTU>
inet6 fe80::21b:fcff:fe18:c801%nfe0 prefixlen 64 scopeid 0x3
inet 10.10.10.30 netmask 0xffffff00 broadcast 10.10.10.255
ether 00:1b:fc:18:c8:01
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
Additional routing options:
.
hw.bus.devctl_disable:
0
->
1

Mounting NFS file systems:
.
Building databases...
Starting syslogd.
Apr 5 01:31:40 syslogd: kernel boot file is /boot/kernel
Checking for core dump...
savecore: no dumps found
.
ELF ldconfig path: /usr/lib /usr/lib/gcc41 /usr/lib/gcc44 /usr/lib/compat /usr/pkg/lib
Starting local daemons:
.
Updating motd.
Configuring syscons:
blanktime
.
Starting sshd.
Additional ABI support:
.
Starting cron.
Local package initialization:
.
Additional TCP options:
.

Mon Apr 5 01:31:41 IST 2010
Apr 5 01:33:41 login: ROOT LOGIN (root) ON ttyv0
Apr 5 01:44:37 login: ROOT LOGIN (root) ON ttyv0
Apr 5 01:49:48 login: ROOT LOGIN (root) ON ttyv1
Apr 5 03:30:26 login: ROOT LOGIN (root) ON ttyv2
seg-fault accessing address 0xffffffffffffe000 rip=0x486442 pid=1414 p_comm=git
pid 1414 (git), uid 1001: exited on signal 11
Apr 5 03:32:41 kernel: pid 1414 (git), uid 1001: exited on signal 11
Apr 5 03:41:55 login: ROOT LOGIN (root) ON ttyv3
----

#6 Updated by swildner over 4 years ago

The ISO where it fails is v2.7.0.45.g5d6a9 (as shown in uname -v), right?

#7 Updated by swildner over 4 years ago

Sorry, never mind, it's in the dmesg.

#8 Updated by brettmahar over 2 years ago

  • Description updated (diff)

Hi Dragoners,
This same crash happened to me today with AMD Athlon X2 5050e and nfe ethernet, on dfly x86-64-3.0.1. Restarting computer and running dhclient nfe0 worked fine, though.

#9 Updated by swildner over 2 years ago

  • Status changed from New to In Progress

Okay, I'm really at a loss here.

Brett or Saifi, or anyone else who has this issue. I would like to put up an .iso or .img with debug symbols for you, and you could try again configuring nfe(4) from it, which requires no reinstallation. Then you could give us a usable trace and put up the .core for review.

Tell me if it is possible for you and I'll prepare the ISO.

#10 Updated by y0n3t4n1 over 2 years ago

Hi,

I don't have any nForce NIC here, but I guess show_ifconfig() is
responsible to this crash, because it passes the string returned by
ifconfig command as the format string.

in dfuibe_installer/fn_diagnostic.c:
void
show_ifconfig(struct dfui_connection *c, char *ifname)
{
struct aura_buffer *e;

e = aura_buffer_new(1024);
aura_buffer_cat_pipe(e, "/sbin/ifconfig %s", ifname);
inform(c, aura_buffer_buf(e));
aura_buffer_free(e);
}

Since GENERIC kernel has IPv6 enabled, the output from ifconfig command
contains an auto-configured address for nfe0, like this:

inet6 fe80::290:ccff:feef:93a8%nfe0 prefixlen 64 scopeid 0x3
^^
The `%n', by the way, has special meaning to *printf functions:

n The number of characters written so far is stored into the inte-
ger indicated by the int * (or variant) pointer argument. No
argument is converted.

which attempts to store the number to the memory location pointed to
by some garbage on the stack. So the fix is simple: just add `"%s"' as
the second argument in the call to inform().

On Wed, Mar 07, 2012 at 02:12:01AM -0800, Sascha Wildner via Redmine wrote:
>
> Issue #1596 has been updated by Sascha Wildner.
>
> Status changed from New to In Progress
>
> Okay, I'm really at a loss here.
>
> Brett or Saifi, or anyone else who has this issue. I would like to put up an .iso or .img with debug symbols for you, and you could try again configuring nfe(4) from it, which requires no reinstallation. Then you could give us a usable trace and put up the .core for review.
>
> Tell me if it is possible for you and I'll prepare the ISO.
>
> ----------------------------------------
> Bug #1596: installer segfaults on AMD64 while configuring nfe0 DHCP
> http://bugs.dragonflybsd.org/issues/1596
>
> Author: Saifi Khan
> Status: In Progress
> Priority: Normal
> Assignee: Sascha Wildner
> Category:
> Target version:
>
>
> Hi:
>
> Summary:
> The DragonFlyBSD installer seg-faults on AMD64 while configuring
> a nfe0 interface with DHCP.
>
> Version:
> DragonFlyBSD 2.4.1
>
> Reproducible:
> always
>
> Stack trace:
> Script started on Wed Nov 4 22:33:08 2009
>
> # gdb /usr/sbin/dfuibe_installer ./dfuibe_installer.core
> gdb 6.7.1
> This GDB was configured as "amd64-dragonfly"...
> (no debugging symbols found)
> Reading symbols from /usr/lib/libc.so.7...(no debugging symbols found)...done.
> Loaded symbols for /usr/lib/libc.so.7
> Reading symbols from /usr/libexec/ld-elf.so.2...(no debugging symbols found)...done.
> Loaded symbols for /usr/libexec/ld-elf.so.2
>
> Core was generated by `dfuibe_installer'.
> Program terminated with signal 11, Segmentation fault.
> #0 0x00000008006ff8b2 in __vfprintf () from /usr/lib/libc.so.7
> (gdb) bt
> #0 0x00000008006ff8b2 in __vfprintf () from /usr/lib/libc.so.7
> #1 0x00000008006f4fe3 in vasprintf () from /usr/lib/libc.so.7
> #2 0x000000000040fc82 in ?? ()
> #3 0x00000000004053c7 in ?? ()
> #4 0x00000000004086b5 in ?? ()
> #5 0x00000000004051b7 in ?? ()
> #6 0x000000000040245d in ?? ()
> #7 0x000000000040e71f in ?? ()
> #8 0x0000000000402360 in ?? ()
> #9 0x0000000800554000 in ?? ()
> #10 0x0000000000000000 in ?? ()
> (gdb) q
> # exit
> exit
>
> Script done on Wed Nov 4 22:34:02 2009
>
> thanks
> Saifi.
>
>
> --
> You have received this notification because you have either subscribed to it, or are involved in it.
> To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

#11 Updated by swildner over 2 years ago

Wow, good catch!

Thanks! :)

#12 Updated by swildner over 2 years ago

Should we fix the inform() in commands_preview() (in libinstaller/commands.c) in the same fashion?

#13 Updated by y0n3t4n1 over 2 years ago

On Wed, Mar 07, 2012 at 07:44:09AM -0800, Sascha Wildner via Redmine wrote:
> Should we fix the inform() in commands_preview() (in libinstaller/commands.c) in the same fashion?

Thanks, committed that too!

#14 Updated by jaydg over 2 years ago

  • Status changed from In Progress to Resolved

I can confirm that the installer no longer crashes when configuring a nfe interface via DHCP with these commits.

#15 Updated by swildner over 2 years ago

  • Status changed from Resolved to Closed

Thanks to everyone who helped.

Also available in: Atom PDF