ath(4) major update

Ja'far Railton ibn.richard at gmail.com
Mon Feb 5 12:19:15 PST 2007


> I don't think HAL can return such a large error code, there must be
> something out of sync.  Can you post the full dmesg?

(First, I think there may have been a problem with the TERM setting.
I have it back on cons25 now. I don't know if that could have been
responsible for the weird HAL error.)

Here's the last two dmesgs (they differ). Do you smell a hardware
problem here?

Copy\M-*Ugh(c) 2003, 2004, 2005, 2006, 2007 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 1.9.0-PREVIEW #2: Mon Feb  5 16:39:40 AST 2007
    root at think.makhraj.net:/usr/obj/usr/src/sys/MYKERNEL
TSC clock: 996295240 Hz, i8254 clock: 1193167 Hz
CPU: Intel Pentium III (996.32-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
  Features=0x387f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory  = 259915776 (253824K bytes)
config> en apm0
config> q
avail memory = 243277824 (237576K bytes)
Preloaded elf kernel "/kernel" at 0xc04db000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc04db210.
Preloaded elf module "/modules/if_ath.ko" at 0xc04db260.
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
Preloaded elf module "/modules/ath_rate.ko" at 0xc04db308.
Preloaded elf module "/modules/ath_hal.ko" at 0xc04db3b4.
Preloaded elf module "/modules/sound.ko" at 0xc04db45c.
Pentium Pro MTRR support enabled
pcibios: BIOS version 2.10
Using $PIR table, 10 entries at 0xc00fb9d0
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
Using MMX optimized bcopy/copyin/copyout
legacypci0 on motherboard
pcib0: <Host to PCI bridge> on legacypci0
pci0: <PCI bus> on pcib0
agp0: <Ali Generic host to PCI bridge> mem 0xf0000000-0xf3ffffff at device 0.0 on pci0
agp0: bad initial aperture size, disabling
agp: ops removed
device_probe_and_attach: agp0 attach returned 6
pcib1: <AcerLabs M5247 PCI-PCI(AGP Supported) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <Trident model 8620 VGA-compatible display device> at 0.0 irq 11
pci0: <unknown card> (vendor=0x10b9, dev=0x5451) at 6.0 irq 11
isab0: <AcerLabs M1533 portable PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
fxp0: <Intel 82550 Pro/100 Ethernet> port 0x9000-0x903f mem 0x81a20000-0x81a3ffff,0x81a00000-0x81a00fff irq 11 at device 10.0 on pci0
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: MAC address: 00:00:e2:56:c1:da
atapci0: <AcerLabs Aladdin ATA66 controller> port 0x7050-0x705f irq 15 at device 16.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <AcerLabs M15x3 Power Management Unit> at 17.0
cbb0: <O2Micro OZ6912/6972 PCI-CardBus Bridge> irq 11 at device 19.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0x81e00000-0x81e00fff irq 10 at device 20.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: 4 ports with 4 removable, self powered
orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: can't drain, serial port might not exist, disabling
sio1: can't drain, serial port might not exist, disabling
ad0: 38154MB <FUJITSU MHT2040AS> [77520/16/63] at ata0-master UDMA66
acd0: CDROM <CD-224E> at ata1-master PIO4
cardbus0: Expecting link target, got 0xff
cardbus0: Resource not specified in CIS: id=10, size=10000
ath0: <Atheros 5212> mem 0x88010000-0x8801ffff irq 11 at device 0.0 on cardbus0
ath0: unable to attach hardware; HAL status 14
device_probe_and_attach: ath0 attach returned 6
pass0 at ata1 bus 0 target 0 lun 0
pass0: <TEAC CD-224E 2.7B> Removable CD-ROM SCSI-0 device
pass0: 16.000MB/s transfers
Mounting root from ufs:/dev/ad0s2a
ad0s4: rejecting partition in BSD label: it isn't entirely within the slice
ad0s4: start 25114383, end 78140159, size 53025777
ad0s4d: start 0, end 78140159, size 78140160
ad0s4: rejecting partition in BSD label: it isn't entirely within the slice
ad0s4e: start 63, end 12292559, size 12292497
ad0s4: rejecting partition in BSD label: it isn't entirely within the slice
ad0s4f: start 12292560, end 24509519, size 12216960
ad0s4: rejecting partition in BSD label: it isn't entirely within the slice
ad0s4i: start 24509583, end 25114319, size 604737
cardbus0: Expecting link target, got 0xff
cardbus0: Resource not specified in CIS: id=10, size=10000
ath0: <Atheros 5212> mem 0x88010000-0x8801ffff irq 11 at device 0.0 on cardbus0
ath0: unable to attach hardware; HAL status 14
device_probe_and_attach: ath0 attach returned 6
cardbus0: Expecting link target, got 0xff
cardbus0: Resource not specified in CIS: id=10, size=10
cardbus0: Resource not specified in CIS: id=14, size=10
cardbus0: Resource not specified in CIS: id=18, size=10
cardbus0: Resource not specified in CIS: id=1c, size=10
cardbus0: Resource not specified in CIS: id=20, size=20
cardbus0: Resource not specified in CIS: id=24, size=20
cardbus0: <unknown card> (vendor=0x0800, dev=0x0000) at 0.0 irq 222
cardbus0: Expecting link target, got 0xff
cardbus0: Resource not specified in CIS: id=10, size=10
cardbus0: Resource not specified in CIS: id=14, size=10
cardbus0: Resource not specified in CIS: id=18, size=10
cardbus0: Resource not specified in CIS: id=1c, size=10
cardbus0: Resource not specified in CIS: id=20, size=20
cardbus0: Resource not specified in CIS: id=24, size=20
cardbus0: <unknown card> (vendor=0x0800, dev=0x0000) at 0.0 irq 222
Waiting (max 60 seconds) for system thread vnlru to stop...stopped
Waiting (max 60 seconds) for system thread bufdaemon to stop...stopped
Waiting (max 60 seconds) for system thread syncer to stop...stopped

syncing disks... 2
done
Uptime: 27m43s
Rebooting...
Copyright (c) 2003, 2004, 2005, 2006, 2007 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 1.9.0-PREVIEW #2: Mon Feb  5 16:39:40 AST 2007
    root at think.makhraj.net:/usr/obj/usr/src/sys/MYKERNEL
TSC clock: 996292750 Hz, i8254 clock: 1193164 Hz
CPU: Intel Pentium III (996.32-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
  Features=0x387f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory  = 259915776 (253824K bytes)
config> en apm0
config> q
avail memory = 243171328 (237472K bytes)
Preloaded elf kernel "/kernel" at 0xc04f5000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc04f5210.
Preloaded elf module "/modules/if_ath.ko" at 0xc04f5260.
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
Preloaded elf module "/modules/ath_rate.ko" at 0xc04f5308.
Preloaded elf module "/modules/ath_hal.ko" at 0xc04f53b4.
Preloaded elf module "/modules/if_ral.ko" at 0xc04f545c.
Preloaded elf module "/modules/sound.ko" at 0xc04f5504.
Pentium Pro MTRR support enabled
pcibios: BIOS version 2.10
Using $PIR table, 10 entries at 0xc00fb9d0
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
Using MMX optimized bcopy/copyin/copyout
legacypci0 on motherboard
pcib0: <Host to PCI bridge> on legacypci0
pci0: <PCI bus> on pcib0
agp0: <Ali Generic host to PCI bridge> mem 0xf0000000-0xf3ffffff at device 0.0 on pci0
agp0: bad initial aperture size, disabling
agp: ops removed
device_probe_and_attach: agp0 attach returned 6
pcib1: <AcerLabs M5247 PCI-PCI(AGP Supported) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <Trident model 8620 VGA-compatible display device> at 0.0 irq 11
pci0: <unknown card> (vendor=0x10b9, dev=0x5451) at 6.0 irq 11
isab0: <AcerLabs M1533 portable PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
fxp0: <Intel 82550 Pro/100 Ethernet> port 0x9000-0x903f mem 0x81a20000-0x81a3ffff,0x81a00000-0x81a00fff irq 11 at device 10.0 on pci0
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: MAC address: 00:00:e2:56:c1:da
atapci0: <AcerLabs Aladdin ATA66 controller> port 0x7050-0x705f irq 15 at device 16.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <AcerLabs M15x3 Power Management Unit> at 17.0
cbb0: <O2Micro OZ6912/6972 PCI-CardBus Bridge> irq 11 at device 19.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0x81e00000-0x81e00fff irq 10 at device 20.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: 4 ports with 4 removable, self powered
orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: can't drain, serial port might not exist, disabling
sio1: can't drain, serial port might not exist, disabling
ad0: 38154MB <FUJITSU MHT2040AS> [77520/16/63] at ata0-master UDMA66
acd0: CDROM <CD-224E> at ata1-master PIO4
cardbus0: Expecting link target, got 0xff
cardbus0: Resource not specified in CIS: id=10, size=10
cardbus0: Resource not specified in CIS: id=14, size=10
cardbus0: Resource not specified in CIS: id=18, size=10
cardbus0: Resource not specified in CIS: id=1c, size=10
cardbus0: Resource not specified in CIS: id=20, size=20
cardbus0: Resource not specified in CIS: id=24, size=20
cardbus0: <unknown card> (vendor=0x0800, dev=0x0000) at 0.0 irq 222
pass0 at ata1 bus 0 target 0 lun 0
pass0: <TEAC CD-224E 2.7B> Removable CD-ROM SCSI-0 device
pass0: 16.000MB/s transfers
Mounting root from ufs:/dev/ad0s2a
ad0s4: rejecting partition in BSD label: it isn't entirely within the slice
ad0s4: start 25114383, end 78140159, size 53025777
ad0s4d: start 0, end 78140159, size 78140160
and0s4: rejecting partition in BSD label: it isn't entirely within the slice
ad0s4e: start 63, end 12292559, size 12292497
ad0s4: rejecting partition in BSD label: it isn't entirely within the slice
ad0s4f: start 12292560, end 24509519, size 12216960
ad0s4: rejecting partition in BSD label: it isn't entirely within the slice
ad0s4i: start 24509583, end 25114319, size 604737

I would also like to check something. You may have noted that I'm using
Preview now instead of Release. I applied the ath0 and cbb patches but
not the sample.h.diff patch. Is that right?

Many thanks.
	-jr





More information about the Users mailing list