On Fri, Nov 07, 2008 at 12:26:23PM -0800, Gabriele Cecchetti wrote:
> Pyun YongHyeon ha scritto:
> >Would you show me dmesg output?
> >

>
> This is the dmesg output, note that age0 is detected after superuser login
> who start ifconfi-ing.
>
> Nov 5 12:12:35 granpasso kernel: Copyright (c) 1979, 1980, 1983, 1986,
> 1988, 1989, 1991, 1992, 1993, 1994
> Nov 5 12:12:35 granpasso kernel: The Regents of the University of
> California. All rights reserved.
> Nov 5 12:12:35 granpasso kernel: FreeBSD is a registered trademark of The
> FreeBSD Foundation.
> Nov 5 12:12:35 granpasso kernel: FreeBSD 7.1-PRERELEASE #2: Wed Oct 1
> 17:30:35 CEST 2008
> Nov 5 12:12:35 granpasso kernel:
> root@granpasso.retis:/usr/obj/usr/src/sys/GRANPASSOv3
> Nov 5 12:12:35 granpasso kernel: Timecounter "i8254" frequency 1193182 Hz
> quality 0
> Nov 5 12:12:35 granpasso kernel: CPU: Intel(R) Core(TM)2 Quad CPU Q6600
> @ 2.40GHz (2400.10-MHz K8-class CPU)
> Nov 5 12:12:35 granpasso kernel: Origin = "GenuineIntel" Id = 0x6fb
> Stepping = 11
> Nov 5 12:12:35 granpasso kernel:
> Features=0xbfebfbff > H,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> Nov 5 12:12:35 granpasso kernel:
> Features2=0xe3bd
> Nov 5 12:12:35 granpasso kernel: AMD Features=0x20100800
> Nov 5 12:12:35 granpasso kernel: AMD Features2=0x1
> Nov 5 12:12:35 granpasso kernel: Cores per package: 4
> Nov 5 12:12:35 granpasso kernel: usable memory = 4285071360 (4086 MB)
> Nov 5 12:12:35 granpasso kernel: avail memory = 4131549184 (3940 MB)
> Nov 5 12:12:35 granpasso kernel: ACPI APIC Table:
> Nov 5 12:12:35 granpasso kernel: FreeBSD/SMP: Multiprocessor System
> Detected: 4 CPUs


[...]

> Nov 5 12:12:35 granpasso kernel: SMP: AP CPU #1 Launched!
> Nov 5 12:12:35 granpasso kernel: SMP: AP CPU #3 Launched!
> Nov 5 12:12:35 granpasso kernel: SMP: AP CPU #2 Launched!
> Nov 5 12:12:35 granpasso kernel: da0 at twa0 bus 0 target 0 lun 0
> Nov 5 12:12:35 granpasso kernel: da0: Fixed
> Direct Access SCSI-5 device Nov 5 12:12:35 granpasso kernel: da0:
> 100.000MB/s transfers
> Nov 5 12:12:35 granpasso kernel: da0: 1716552MB (3515498496 512 byte
> sectors: 255H 63S/T 218829C)
> Nov 5 12:12:35 granpasso kernel: Trying to mount root from ufs:/dev/da0s1a
> /* - one minute later - */
> Nov 5 12:13:33 granpasso login: ROOT LOGIN (root) ON ttyv0
> /* - ten minutes later - */
> Nov 5 12:23:47 granpasso kernel: age0: > Gigabit Ethernet> mem 0xf7ec0000-0xf7efffff irq 17 at device 0.0 on pci2
> Nov 5 12:23:47 granpasso kernel: age0: PCI device revision : 0x00b0
> Nov 5 12:23:47 granpasso kernel: age0: Chip id/revision : 0x9006
> Nov 5 12:23:47 granpasso kernel: age0: 1280 Tx FIFO, 2364 Rx FIFO
> Nov 5 12:23:47 granpasso kernel: age0: MSIX count : 0
> Nov 5 12:23:47 granpasso kernel: age0: MSI count : 1
> Nov 5 12:23:47 granpasso kernel: age0: Using 1 MSI messages.
> Nov 5 12:23:47 granpasso kernel: age0: Read request size : 512 bytes.
> Nov 5 12:23:47 granpasso kernel: age0: TLP payload size : 128 bytes.
> Nov 5 12:23:47 granpasso kernel: age0: PCI VPD capability not found!
> Nov 5 12:23:47 granpasso kernel: miibus0: on age0
> Nov 5 12:23:47 granpasso kernel: atphy0: PHY
> 0 on miibus0
> Nov 5 12:23:47 granpasso kernel: atphy0: 10baseT, 10baseT-FDX, 100baseTX,
> 100baseTX-FDX, 1000baseT-FDX, auto
> Nov 5 12:23:47 granpasso kernel: age0: Ethernet address: 00:1d:60:cb:07:c5
> Nov 5 12:23:47 granpasso kernel: age0: [FILTER]
> Nov 5 12:23:47 granpasso kernel: age0: link state changed to DOWN
> Nov 5 12:23:48 granpasso kernel: age0: interrupt moderation is 100 us.
> Nov 5 12:23:48 granpasso kernel: age0: interrupt moderation is 100 us.
> Nov 5 12:23:51 granpasso kernel: age0: link state changed to UP
> Nov 5 12:24:00 granpasso kernel: age0: interrupt moderation is 100 us.
> Nov 5 12:24:00 granpasso kernel: age0: link state changed to DOWN
> Nov 5 12:24:04 granpasso kernel: age0: link state changed to UP


I don't see age(4) attach failure message in your output. Does your
kernel configuration file have "device age" entry?

When you don't have "device age" entry in kernel configuration and
if you run "ifconfig age0", ifconfig(8) will try to load age(4)
kernel module.
--
Regards,
Pyun YongHyeon
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"