From nobody@FreeBSD.org  Mon May  3 18:20:32 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 526D5106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  3 May 2010 18:20:32 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 417AA8FC1B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  3 May 2010 18:20:32 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o43IKVxl027227
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 3 May 2010 18:20:31 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o43IKV3q027225;
	Mon, 3 May 2010 18:20:31 GMT
	(envelope-from nobody)
Message-Id: <201005031820.o43IKV3q027225@www.freebsd.org>
Date: Mon, 3 May 2010 18:20:31 GMT
From: Timur <intel@intrans.baku.az>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Divide by zero in ata driver
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         146270
>Category:       kern
>Synopsis:       [ata] Divide by zero in ata driver
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 03 18:30:02 UTC 2010
>Closed-Date:    
>Last-Modified:  Sat Jul  3 15:20:01 UTC 2010
>Originator:     Timur
>Release:        8.0
>Organization:
intrans
>Environment:
FreeBSD 8.0-STABLE #0: Mon May  3 20:08:53 AZST 2010
    intel@proxy1.intrans.baku.az:/usr/obj/nanobsd.pppoe/usr/src/sys/PPPOE i386

>Description:
when i try to boot freebsd from compact flash (using ide-cf convertor)  it' panics
boot from same card using usb-cf cardreader is succesful

i've  compiled kernel with ddebugger. bootlog & backtrace is here

Boot:  1 
/boot.config:  -h
Consoles: serial port  
BIOS drive A: is disk0
BIOS drive C: is disk1
BIOS 638kB/1037184kB available memory

FreeBSD/i386 bootstrap loader, Revision 1.1
(intel@proxy1.intrans.baku.az, Mon May  3 18:00:16 AZST 2010)
Loading /boot/defaults/loader.conf 
/boot/kernel/kernel text=0x4c55b0 data=0xb2cb4+0x618f0 syms=[0x4+0x5cef0+0x4+0x7f851]
-
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...               
/boot/kernel/acpi.ko text=0x59188 data=0x2504+0x1948 syms=[0x4+0x9390+0x4+0xc8ef]
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2010 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 #0: Mon May  3 20:08:53 AZST 2010
    intel@proxy1.intrans.baku.az:/usr/obj/nanobsd.pppoe/usr/src/sys/PPPOE i386
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium(R) Dual-Core  CPU      E5300  @ 2.60GHz (2600.01-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x1067a  Family = 6  Model = 17  Stepping = 10
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x400e3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,XSAVE>
  AMD Features=0x20100000<NX,LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant
real memory  = 1073741824 (1024 MB)
avail memory = 1031294976 (983 MB)
ACPI APIC Table: <GBT    GBTUACPI>
ioapic0: Changing APIC ID to 2
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <GBT GBTUACPI> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 3f4e0000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0xff00-0xff07 mem 0xfdf00000-0xfdf7ffff,0xd0000000-0xdfffffff,0xfdc00000-0xfdcfffff irq 16 at device 2.0 on pci0
pci0: <multimedia, HDA> at device 27.0 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.1 on pci0
pci2: <ACPI PCI bus> on pcib2
alc0: <Atheros AR8131 PCIe Gigabit Ethernet> port 0xbf00-0xbf7f mem 0xfdec0000-0xfdefffff irq 17 at device 0.0 on pci2
alc0: 15872 Tx FIFO, 15360 Rx FIFO
alc0: Using 1 MSI message(s).
miibus0: <MII bus> on alc0
atphy0: <Atheros F1 10/100/1000 PHY> PHY 0 on miibus0
atphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
alc0: Ethernet address: 6c:f0:49:49:cb:c7
alc0: [FILTER]
uhci0: <Intel 82801G (ICH7) USB controller USB-A> port 0xfe00-0xfe1f irq 23 at device 29.0 on pci0
uhci0: [ITHREAD]
usbus0: <Intel 82801G (ICH7) USB controller USB-A> on uhci0
uhci1: <Intel 82801G (ICH7) USB controller USB-B> port 0xfd00-0xfd1f irq 19 at device 29.1 on pci0
uhci1: [ITHREAD]
usbus1: <Intel 82801G (ICH7) USB controller USB-B> on uhci1
uhci2: <Intel 82801G (ICH7) USB controller USB-C> port 0xfc00-0xfc1f irq 18 at device 29.2 on pci0
uhci2: [ITHREAD]
usbus2: <Intel 82801G (ICH7) USB controller USB-C> on uhci2
uhci3: <Intel 82801G (ICH7) USB controller USB-D> port 0xfb00-0xfb1f irq 16 at device 29.3 on pci0
uhci3: [ITHREAD]
usbus3: <Intel 82801G (ICH7) USB controller USB-D> on uhci3
ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0xfdfff000-0xfdfff3ff irq 23 at device 29.7 on pci0
ehci0: [ITHREAD]
usbus4: EHCI version 1.0
usbus4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0
pcib3: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci3: <ACPI PCI bus> on pcib3
re0: <D-Link DGE-528(T) Gigabit Ethernet Adapter> port 0xde00-0xdeff mem 0xfdbff000-0xfdbff0ff irq 20 at device 0.0 on pci3
re0: Chip rev. 0x10000000
re0: MAC rev. 0x00000000
miibus1: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus1
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
re0: Ethernet address: 00:21:91:00:71:0f
re0: [FILTER]
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH7 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf800-0xf80f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
atapci1: <Intel ICH7 SATA300 controller> port 0xf700-0xf707,0xf600-0xf603,0xf500-0xf507,0xf400-0xf403,0xf300-0xf30f irq 19 at device 31.2 on pci0
atapci1: [ITHREAD]
ata2: <ATA channel 0> on atapci1
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci1
ata3: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
atrtc0: <AT realtime clock> port 0x70-0x73 on acpi0
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FILTER]
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xcc000-0xccfff pnpid ORM0000 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppc0: [ITHREAD]
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
plip0: [ITHREAD]
lpt0: <Printer> on ppbus0
lpt0: [ITHREAD]
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
uart0: [FILTER]
uart0: console (9600,n,8,1)
est0: <Enhanced SpeedStep Frequency Control> on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 6160d2506000925
device_attach: est0 attach returned 6
p4tcc0: <CPU Frequency Thermal Control> on cpu0
Timecounter "TSC" frequency 2600013585 Hz quality 800
Timecounters tick every 1.000 msec
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
ugen0.1: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 12Mbps Full Speed USB v1.0
ugen2.1: <Intel> at usbus2
uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <Intel> at usbus3
uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
usbus4: 480Mbps High Speed USB v2.0


Fatal trap 18: integer divide fault while in kernel mode
instruction pointer	= 0x20:0xc085256b
stack pointer	        = 0x28:0xc0c2090c
frame pointer	        = 0x28:0xc0c20980
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 0 (swapper)
[thread pid 0 tid 100000 ]
Stopped at      __qdivrem+0x3b: divl    %ecx,%eax
db> show regs
No such command
db> show reg
cs                0x20
ds                0x28
es          0xc0700028  setfflags+0xf8
fs                 0x8
ss                0x28
eax                0x1
ecx                  0
edx                  0
ebx                0x1
esp         0xc0c2090c
ebp         0xc0c20980
esi                  0
edi                  0
eip         0xc085256b  __qdivrem+0x3b
efl            0x90246
__qdivrem+0x3b: divl    %ecx,%eax
db> bt
Tracing pid 0 tid 100000 td 0xc0991ff0
__qdivrem(0,0,0,0,c0c2099c,...) at __qdivrem+0x3b
__umoddi3(0,0,0,0,0,...) at __umoddi3+0x2d
ata_tf_write(c3f5ae58,c09d9fbc,1,c3c92e00,c3f5ae58,.) at ata_tf_write+0x301
ata_generic_command(c3f5ae58,c056761e,0,1f,1,...) at ata_generic_command+0x305
ata_begin_transaction(c3f5ae58,1,c0c20a78,c066e34d,c3f5aec4,...) at ata_begin_transaction+0x7e
ata_start(c3dabc80,0,c0885147,cd,3300,...) at ata_start+0x21b
ata_queue_request(c3f5ae58,0,101,c0adc,ef490003,...) at ata_queue_request+0x54d
ata_controlcmd(c3dd4500,ef,3,0,0,...) at ata_controlcmd+0xda
ata_setmode(c3dd4500,c0c20b3c,c04acb39,c3dd4500,c3e04c00,...) at ata_setmode+0xfa
ad_init(c3dd4500,c3dbda60,101,fffffff8,c0991ff0,...) at ad_init+0x23
ad_attach(c3dd4500,c3caa05c,c0949738,c08a43c8,80000000,...) at ad_attach+0x2c3
device_attach(c3dd4500) at device_attach+0x36f
device_probe_and_attach(c3dd4500,c3e04c00,c0c20cdc,c04908ce,c3dabc80,...) at device_probe_and_attach+0x2c
bus_generic_attach(c3dabc80,1,0,0,0,...) at bus_generic_attach+0x19
ata_identify(c3dabc80,0,0,0,0,...) at ata_identify+0x32e
ata_boot_attach(0,c0837358,c0c20d20,c0991ff0,c0c20d20,...) at ata_boot_attach+0x6f
run_interrupt_driven_config_hooks(0,c1ec00,c1ec00,c1e000,c25000,...) at run_interrupt_driven_config_hooks+0x91
mi_startup() at mi_startup+0x96
begin() at begin+0x2c
db>     

------





kernel configuration is here
----

#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.12 2006/08/08 09:49:59 yongari Exp $

machine         i386
cpu             I686_CPU
ident           PPPOE

# To statically compile in device wiring instead of /boot/device.hints
#hints          "GENERIC.hints"         # Default places to look for devices.

makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols

options         NO_SWAPPING
options         KDB
options         KDB_TRACE
options         DDB
options         SCHED_ULE               # ULE scheduler
#options        SCHED_4BSD              # 4BSD scheduler
options         PREEMPTION              # Enable kernel thread preemption
options         INET                    # InterNETworking
options         INET6                   # IPv6 communications protocols
options         FFS                     # Berkeley Fast Filesystem
options         SOFTUPDATES             # Enable FFS soft updates support
options         UFS_ACL                 # Support for access control lists
options         UFS_DIRHASH             # Improve performance on big directories
options         MD_ROOT                 # MD is a potential root device
options         NFSCLIENT               # Network Filesystem Client
options         NFS_ROOT                # NFS usable as /, requires NFSCLIENT
options         PROCFS                  # Process filesystem (requires PSEUDOFS)
options         PSEUDOFS                # Pseudo-filesystem framework
#options        GEOM_GPT                # GUID Partition Tables.
options         COMPAT_43               # Compatible with BSD 4.3 [KEEP THIS!]
options         COMPAT_FREEBSD4         # Compatible with FreeBSD4
options         COMPAT_FREEBSD5         # Compatible with FreeBSD5
options         COMPAT_FREEBSD6         # Compatible with FreeBSD5
options         COMPAT_FREEBSD7         # Compatible with FreeBSD5
options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
options         KTRACE                  # ktrace(1) support
options         SYSVSHM                 # SYSV-style shared memory
options         SYSVMSG                 # SYSV-style message queues
options         SYSVSEM                 # SYSV-style semaphores
options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
#options        ADAPTIVE_GIANT          # Giant mutex is adaptive.

device          apic                    # I/O APIC

device          cpufreq
# Bus support.
device          pci

# Floppy drives
device          fdc

# ATA and ATAPI devices
device          ata
device          atadisk         # ATA disk drives
device          ataraid         # ATA RAID drives
device          atapicd         # ATAPI CDROM drives
device          atapifd         # ATAPI floppy drives
device          atapist         # ATAPI tape drives
options         ATA_STATIC_ID   # Static device numbering

# SCSI Controllers
# SCSI peripherals
device          scbus           # SCSI bus (required for SCSI)
device          ch              # SCSI media changers
device          da              # Direct Access (disks)
device          sa              # Sequential Access (tape etc)
device          cd              # CD
device          pass            # Passthrough device (direct SCSI access)
device          ses             # SCSI Environmental Services (and SAF-TE)

# RAID controllers interfaced to the SCSI subsystem
# RAID controllers
# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc          # AT keyboard controller
device          atkbd           # AT keyboard
device          psm             # PS/2 mouse

device          kbdmux          # keyboard multiplexer

device          vga             # VGA video card driver
# syscons is the default console driver, resembling an SCO console
device          sc

# Enable this for the pcvt (VT220 compatible) console driver
#device         vt
#options        XSERVER         # support for X server on a vt console
#options        FAT_CURSOR      # start with block cursor


# Power management support (see NOTES for more options)
#device         apm
# Add suspend/resume support for the i8254.
device          pmtimer

# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support

# Serial (COM) ports
#device         sio             # 8250, 16[45]50 based serial ports
device          uart            # 8250, 16[45]50 based serial ports

# Parallel port
device          ppc
device          ppbus           # Parallel port bus (required)
device          lpt             # Printer
device          plip            # TCP/IP over parallel
device          ppi             # Parallel port interface device
#device         vpo             # Requires scbus and da

# If you've got a "dumb" serial or parallel PCI card that is
# supported by the puc(4) glue driver, uncomment the following
# line to enable it (connects to the sio and/or ppc drivers):
#device         puc

# PCI Ethernet NICs.
device          de              # DEC/Intel DC21x4x (``Tulip'')
device          em              # Intel PRO/1000 adapter Gigabit Ethernet Card
device          ixgb            # Intel PRO/10GbE Ethernet Card
device          igb             # Intel PRO/10GbE Ethernet Card
device          txp             # 3Com 3cR990 (``Typhoon'')
device          vx              # 3Com 3c590, 3c595 (``Vortex'')

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device          miibus          # MII bus support
device         ae              # Attansic/Atheros L2 FastEthernet
device         age             # Attansic/Atheros L1 Gigabit Ethernet
device         alc             # Atheros AR8131/AR8132 Ethernet
device         ale             # Atheros AR8121/AR8113/AR8114 Ethernet

device          bce             # Broadcom BCM5706/BCM5708 Gigabit Ethernet
device          bfe             # Broadcom BCM440x 10/100 Ethernet
device          bge             # Broadcom BCM570xx Gigabit Ethernet
device          dc              # DEC/Intel 21143 and various workalikes
device          fxp             # Intel EtherExpress PRO/100B (82557, 82558)
device          lge             # Level 1 LXT1001 gigabit Ethernet
device          nge             # NatSemi DP83820 gigabit Ethernet
device          pcn             # AMD Am79C97x PCI 10/100(precedence over 'lnc')
device          re              # RealTek 8139C+/8169/8169S/8110S
device          rl              # RealTek 8129/8139
device          sf              # Adaptec AIC-6915 (``Starfire'')
device          sis             # Silicon Integrated Systems SiS 900/SiS 7016
device          sk              # SysKonnect SK-984x & SK-982x gigabit Ethernet
device          ste             # Sundance ST201 (D-Link DFE-550TX)
device          stge            # Sundance/Tamarack TC9021 gigabit Ethernet
#device         ti              # Alteon Networks Tigon I/II gigabit Ethernet
device          tl              # Texas Instruments ThunderLAN
device          tx              # SMC EtherPower II (83c170 ``EPIC'')
device          vge             # VIA VT612x gigabit Ethernet
device          vr              # VIA Rhine, Rhine II
device          wb              # Winbond W89C840F
device          xl              # 3Com 3c90x (``Boomerang'', ``Cyclone'')
device         et              # Agere ET1310 10/100/Gigabit Ethernet
device         jme             # JMicron JMC250 Gigabit/JMC260 Fast Ethernet
device         msk             # Marvell/SysKonnect Yukon II Gigabit Ethernet
device         nfe             # nVidia nForce MCP on-board Ethernet
device         ti              # Alteon Networks Tigon I/II gigabit Ethernet



# ISA Ethernet NICs.  pccard NICs included.
# Wireless NIC cards
# Pseudo devices.
device          loop            # Network loopback
device          random          # Entropy device
device          ether           # Ethernet support
#device         sl              # Kernel SLIP
#device         ppp             # Kernel PPP
device          tun             # Packet tunnel.
device          pty             # Pseudo-ttys (telnet etc)
device          md              # Memory "disks"
device          gif             # IPv6 and IPv4 tunneling
device          faith           # IPv6-to-IPv4 relaying (translation)
device         firmware        # firmware assist module


# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device          bpf             # Berkeley packet filter
# USB support
device          uhci            # UHCI PCI->USB interface
device          ohci            # OHCI PCI->USB interface
device          ehci            # EHCI PCI->USB interface (USB 2.0)
device          usb             # USB Bus (required)
#device         udbp            # USB Double Bulk Pipe devices
#device         ugen            # Generic
device          uhid            # "Human Interface Devices"
device          ukbd            # Keyboard
device          ulpt            # Printer
device          umass           # Disks/Mass storage - Requires scbus and da
# USB Ethernet, requires miibus

# FireWire support

>How-To-Repeat:
boot from cfcard using ide-cf convertor (i don't shure, may depends on cf card)
>Fix:


>Release-Note:
>Audit-Trail:

From: Timur Khanjanov <intel@intrans.baku.az>
To: bug-followup@FreeBSD.org, intel@intrans.baku.az
Cc:  
Subject: Re: kern/146270: [ata] Divide by zero in ata driver
Date: Sat, 15 May 2010 23:40:48 +0500

 This is a multi-part message in MIME format.
 --------------090902070003090802090703
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 1) 6.3 have same problem
 2)
 I seems found where is exception
 file
 /usr/src/sys/dev/ata/ata-lowlevel.c
 function ata_tf_write
 after line 793
   ATA_IDX_OUTB(ch, ATA_SECTOR, (request->u.ata.lba % sectors)+1);
 <------>    ATA_IDX_OUTB(ch, ATA_CYL_LSB,
 <------><------><------> (request->u.ata.lba / (sectors * heads)));
 <------>    ATA_IDX_OUTB(ch, ATA_CYL_MSB,
 <------><------><------> (request->u.ata.lba / (sectors * heads)) >> 8);
 <------>    ATA_IDX_OUTB(ch, ATA_DRIVE, ATA_D_IBM | 
 ATA_DEV(request->unit) |.
 <------><------><------> (((request->u.ata.lba% (sectors * heads)) /
 <------><------><------>   sectors) & 0xf));
 
 seems that in variable heads or sectors is 0
 after I add check (head !=0 && sectors !=0) around this lines exception 
 is gone
 but it still don't mount root fs
 
 logs in attachment
 
 63.log - log from v6.3
 60m.log - log after modification
 
 --------------090902070003090802090703
 Content-Type: text/x-log;
  name="63.log"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="63.log"
 
 /boot.config:  -hConsoles: serial port  
 BIOS drive A: is disk0
 BIOS drive C: is disk1
 BIOS 638kB/1037184kB available memory
 
 FreeBSD/i386 bootstrap loader, Revision 1.1
 (intel@noc.intrans.baku.az, Thu May  1 16:26:33 AZST 2008)
 Loading /boot/defaults/loader.conf 
 /boot/kernel/kernel text=0x334b40 data=0x86860+0x312a8 syms=[0x4+0x48610+0x4+0x5bccd]
 |
 Hit [Enter] to boot immediately, or any other key for command prompt.
 
 
 Type '?' for a list of commands, 'help' for more detailed help.
 OK boot -v
 /boot/kernel/acpi.ko text=0x44b2c data=0x24e0+0x1b8c syms=[0x4+0x7d80+0x4+0xab0b]
 SMAP type=01 base=0000000000000000 len=000000000009f800
 SMAP type=02 base=00000000000f0000 len=0000000000010000
 SMAP type=02 base=00000000fec00000 len=0000000001400000
 SMAP type=02 base=00000000e0000000 len=0000000010000000
 SMAP type=02 base=000000000009f800 len=0000000000000800
 SMAP type=02 base=000000003f5f0000 len=0000000000010000
 SMAP type=01 base=0000000000100000 len=000000003f4e0000
 SMAP type=03 base=000000003f5e3000 len=000000000000d000
 SMAP type=04 base=000000003f5e0000 len=0000000000003000
 Copyright (c) 1992-2008 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 6.3-STABLE #0: Thu May  1 17:39:34 AZST 2008
     intel@noc.intrans.baku.az:/usr/obj/nanobsd.pppoe/usr/src/sys/PPPOE
 Preloaded elf kernel "/boot/kernel/kernel" at 0xc08f0000.
 Preloaded elf module "/boot/kernel/acpi.ko" at 0xc08f0194.
 MP Configuration Table version 1.4 found at 0xc00f0d00
 Table 'FACP' at 0x3f5e30c0
 Table 'HPET' at 0x3f5e73c0
 Table 'MCFG' at 0x3f5e7440
 Table 'TAMG' at 0x3f5e7480
 Table 'APIC' at 0x3f5e72c0
 MADT: Found table at 0x3f5e72c0
 APIC: Using the MADT enumerator.
 MADT: Found CPU APIC ID 0 ACPI ID 0: enabled
 MADT: Found CPU APIC ID 1 ACPI ID 1: enabled
 MADT: Found CPU APIC ID 2 ACPI ID 2: disabled
 MADT: Found CPU APIC ID 3 ACPI ID 3: disabled
 ACPI APIC Table: <GBT    GBTUACPI>
 Calibrating clock(s) ... i8254 clock: 1192028 Hz
 CLK_USE_I8254_CALIBRATION not specified - using default frequency
 Timecounter "i8254" frequency 1193182 Hz quality 0
 Calibrating TSC clock ... TSC clock: 2602611687 Hz
 CPU: Pentium(R) Dual-Core  CPU      E5300  @ 2.60GHz (2602.61-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x1067a  Stepping = 10
   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Features2=0x400e3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,<b26>>
   AMD Features=0x20100000<NX,LM>
   AMD Features2=0x1<LAHF>
   Cores per package: 2
 real memory  = 1063124992 (1013 MB)
 Physical memory chunk(s):
 0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages)
 0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)
 0x0000000000c25000 - 0x000000003e3c4fff, 1031405568 bytes (251808 pages)
 avail memory = 1031438336 (983 MB)
 bios32: Found BIOS32 Service Directory header at 0xc00fab90
 bios32: Entry = 0xfb290 (c00fb290)  Rev = 0  Len = 1
 pcibios: PCI BIOS entry at 0xf0000+0xb2c0
 pnpbios: Found PnP BIOS data at 0xc00fbe20
 pnpbios: Entry = f0000:be50  Rev = 1.0
 Other BIOS signatures found:
 APIC: CPU 0 has ACPI ID 0
 MADT: Found IO APIC ID 2, Interrupt 0 at 0xfec00000
 ioapic0: Changing APIC ID to 2
 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
 lapic0: Routing NMI -> LINT1
 lapic1: Routing NMI -> LINT1
 MADT: Ignoring local NMI routed to ACPI CPU 2
 MADT: Ignoring local NMI routed to ACPI CPU 3
 ioapic0 <Version 2.0> irqs 0-23 on motherboard
 cpu0 BSP:
      ID: 0x00000000   VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff
   lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
   timer: 0x000100ef therm: 0x00010000 err: 0x00010000 pcm: 0x00010000
 nfslock: pseudo-device
 kbd: new array size 4
 kbd1 at kbdmux0
 mem: <memory>
 Pentium Pro MTRR support enabled
 io: <I/O>
 null: <null device, zero device>
 random: <entropy source, Software, Yarrow>
 npx0: INT 16 interface
 acpi0: <GBT GBTUACPI> on motherboard
 ioapic0: routing intpin 9 (ISA IRQ 9) to vector 48
 acpi0: [MPSAFE]
 pci_open(1):	mode 1 addr port (0x0cf8) is 0x80000090
 pci_open(1a):	mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=29c08086)
 pcibios: BIOS version 3.00
 AcpiOsDerivePciId: \_SB_.PCI0.PX40.PIRQ -> bus 0 dev 31 func 0
 AcpiOsDerivePciId: \_SB_.PCI0.PX40.PIR2 -> bus 0 dev 31 func 0
 acpi0: Power Button (fixed)
 acpi0: wakeup code va 0xd8a39000 pa 0x9e000
 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 0x408-0x40b on acpi0
 pci_link0:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0    3   N     0  3 4 5 6 7 9 10 11 12 14 15
   Validation          0    3   N     0  3 4 5 6 7 9 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 9 10 11 12 14 15
 pci_link1:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0   10   N     0  3 4 5 6 7 9 10 11 12 14 15
   Validation          0   10   N     0  3 4 5 6 7 9 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 9 10 11 12 14 15
 pci_link2:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0   11   N     0  3 4 5 6 7 9 10 11 12 14 15
   Validation          0   11   N     0  3 4 5 6 7 9 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 9 10 11 12 14 15
 pci_link3:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0   11   N     0  3 4 5 6 7 9 10 11 12 14 15
   Validation          0   11   N     0  3 4 5 6 7 9 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 9 10 11 12 14 15
 pci_link4:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0    5   N     0  3 4 5 6 7 9 10 11 12 14 15
   Validation          0    5   N     0  3 4 5 6 7 9 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 9 10 11 12 14 15
 pci_link5:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0  255   N     0  3 4 5 6 7 9 10 11 12 14 15
   Validation          0  255   N     0  3 4 5 6 7 9 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 9 10 11 12 14 15
 pci_link6:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0  255   N     0  3 4 5 6 7 9 10 11 12 14 15
   Validation          0  255   N     0  3 4 5 6 7 9 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 9 10 11 12 14 15
 pci_link7:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0    9   N     0  3 4 5 6 7 9 10 11 12 14 15
   Validation          0    9   N     0  3 4 5 6 7 9 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 9 10 11 12 14 15
 acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
 acpi_hpet0: vend: 0x8086 rev: 0x1 num: 2 hz: 14318180 opts: legacy_route 64-bit
 Timecounter "HPET" frequency 14318180 Hz quality 900
 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 0x410
 acpi_button0: <Power Button> on acpi0
 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
 pci0: <ACPI PCI bus> on pcib0
 pci0: physical bus=0
 found->	vendor=0x8086, dev=0x29c0, revid=0x10
 	bus=0, slot=0, func=0
 	class=06-00-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0006, statreg=0x2090, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 found->	vendor=0x8086, dev=0x29c2, revid=0x10
 	bus=0, slot=2, func=0
 	class=03-00-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0007, statreg=0x0090, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=3
 	powerspec 2  supports D0 D3  current D0
 	MSI supports 1 message
 	map[10]: type 1, range 32, base fdf00000, size 19, enabled
 	map[14]: type 4, range 32, base 0000ff00, size  3, enabled
 	map[18]: type 3, range 32, base d0000000, size 28, enabled
 	map[1c]: type 1, range 32, base fdc00000, size 20, enabled
 pcib0: matched entry for 0.2.INTA
 pcib0: slot 2 INTA hardwired to IRQ 16
 found->	vendor=0x8086, dev=0x27d8, revid=0x01
 	bus=0, slot=27, func=0
 	class=04-03-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0006, statreg=0x0010, cachelnsz=1 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=3
 	powerspec 2  supports D0 D3  current D0
 	MSI supports 1 message, 64 bit
 	map[10]: type 1, range 64, base fdff8000, size 14, enabled
 pcib0: matched entry for 0.27.INTA
 pcib0: slot 27 INTA hardwired to IRQ 16
 found->	vendor=0x8086, dev=0x27d0, revid=0x01
 	bus=0, slot=28, func=0
 	class=06-04-00, hdrtype=0x01, mfdev=1
 	cmdreg=0x0007, statreg=0x0010, cachelnsz=1 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=3
 	powerspec 2  supports D0 D3  current D0
 	MSI supports 1 message
 pcib0: matched entry for 0.28.INTA
 pcib0: slot 28 INTA hardwired to IRQ 16
 found->	vendor=0x8086, dev=0x27d2, revid=0x01
 	bus=0, slot=28, func=1
 	class=06-04-00, hdrtype=0x01, mfdev=1
 	cmdreg=0x0007, statreg=0x0010, cachelnsz=1 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=b, irq=10
 	powerspec 2  supports D0 D3  current D0
 	MSI supports 1 message
 pcib0: matched entry for 0.28.INTB
 pcib0: slot 28 INTB hardwired to IRQ 17
 found->	vendor=0x8086, dev=0x27c8, revid=0x01
 	bus=0, slot=29, func=0
 	class=0c-03-00, hdrtype=0x00, mfdev=1
 	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=9
 	map[20]: type 4, range 32, base 0000fe00, size  5, enabled
 pcib0: matched entry for 0.29.INTA
 pcib0: slot 29 INTA hardwired to IRQ 23
 found->	vendor=0x8086, dev=0x27c9, revid=0x01
 	bus=0, slot=29, func=1
 	class=0c-03-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=b, irq=11
 	map[20]: type 4, range 32, base 0000fd00, size  5, enabled
 pcib0: matched entry for 0.29.INTB
 pcib0: slot 29 INTB hardwired to IRQ 19
 found->	vendor=0x8086, dev=0x27ca, revid=0x01
 	bus=0, slot=29, func=2
 	class=0c-03-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=c, irq=11
 	map[20]: type 4, range 32, base 0000fc00, size  5, enabled
 pcib0: matched entry for 0.29.INTC
 pcib0: slot 29 INTC hardwired to IRQ 18
 found->	vendor=0x8086, dev=0x27cb, revid=0x01
 	bus=0, slot=29, func=3
 	class=0c-03-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=d, irq=3
 	map[20]: type 4, range 32, base 0000fb00, size  5, enabled
 pcib0: matched entry for 0.29.INTD
 pcib0: slot 29 INTD hardwired to IRQ 16
 found->	vendor=0x8086, dev=0x27cc, revid=0x01
 	bus=0, slot=29, func=7
 	class=0c-03-20, hdrtype=0x00, mfdev=0
 	cmdreg=0x0006, statreg=0x0290, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=9
 	powerspec 2  supports D0 D3  current D0
 	map[10]: type 1, range 32, base fdfff000, size 10, enabled
 pcib0: matched entry for 0.29.INTA
 pcib0: slot 29 INTA hardwired to IRQ 23
 found->	vendor=0x8086, dev=0x244e, revid=0xe1
 	bus=0, slot=30, func=0
 	class=06-04-01, hdrtype=0x01, mfdev=0
 	cmdreg=0x0007, statreg=0x0010, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 found->	vendor=0x8086, dev=0x27b8, revid=0x01
 	bus=0, slot=31, func=0
 	class=06-01-00, hdrtype=0x00, mfdev=1
 	cmdreg=0x0107, statreg=0x0210, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 found->	vendor=0x8086, dev=0x27df, revid=0x01
 	bus=0, slot=31, func=1
 	class=01-01-8a, hdrtype=0x00, mfdev=0
 	cmdreg=0x0005, statreg=0x0288, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=255
 	map[20]: type 4, range 32, base 0000f800, size  4, enabled
 found->	vendor=0x8086, dev=0x27c0, revid=0x01
 	bus=0, slot=31, func=2
 	class=01-01-8f, hdrtype=0x00, mfdev=0
 	cmdreg=0x0005, statreg=0x02b0, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=b, irq=11
 	powerspec 2  supports D0 D3  current D0
 	map[10]: type 4, range 32, base 0000f700, size  3, enabled
 	map[14]: type 4, range 32, base 0000f600, size  2, enabled
 	map[18]: type 4, range 32, base 0000f500, size  3, enabled
 	map[1c]: type 4, range 32, base 0000f400, size  2, enabled
 	map[20]: type 4, range 32, base 0000f300, size  4, enabled
 pcib0: matched entry for 0.31.INTB
 pcib0: slot 31 INTB hardwired to IRQ 19
 found->	vendor=0x8086, dev=0x27da, revid=0x01
 	bus=0, slot=31, func=3
 	class=0c-05-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=b, irq=11
 	map[20]: type 4, range 32, base 00000500, size  5, enabled
 pcib0: matched entry for 0.31.INTB
 pcib0: slot 31 INTB hardwired to IRQ 19
 pci0: <display, VGA> at device 2.0 (no driver attached)
 pci0: <multimedia> at device 27.0 (no driver attached)
 pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
 pcib1:   secondary bus     1
 pcib1:   subordinate bus   1
 pcib1:   I/O decode        0xc000-0xcfff
 pcib1:   memory decode     0xfd900000-0xfd9fffff
 pcib1:   prefetched decode 0xfd800000-0xfd8fffff
 pci1: <ACPI PCI bus> on pcib1
 pci1: physical bus=1
 pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.1 on pci0
 pcib2:   secondary bus     2
 pcib2:   subordinate bus   2
 pcib2:   I/O decode        0xb000-0xbfff
 pcib2:   memory decode     0xfde00000-0xfdefffff
 pcib2:   prefetched decode 0xfdd00000-0xfddfffff
 pci2: <ACPI PCI bus> on pcib2
 pci2: physical bus=2
 found->	vendor=0x1969, dev=0x1063, revid=0xc0
 	bus=2, slot=0, func=0
 	class=02-00-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0007, statreg=0x0010, cachelnsz=1 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=10
 	powerspec 3  supports D0 D3  current D0
 	MSI supports 1 message, 64 bit
 	map[10]: type 1, range 64, base fdec0000, size 18, enabled
 pcib2: requested memory range 0xfdec0000-0xfdefffff: good
 	map[18]: type 4, range 32, base 0000bf00, size  7, enabled
 pcib2: requested I/O range 0xbf00-0xbf7f: in range
 pcib2: matched entry for 2.0.INTA
 pcib2: slot 0 INTA hardwired to IRQ 17
 pci2: <network, ethernet> at device 0.0 (no driver attached)
 uhci0: <UHCI (generic) USB controller> port 0xfe00-0xfe1f irq 23 at device 29.0 on pci0
 uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0xfe00
 ioapic0: routing intpin 23 (PCI IRQ 23) to vector 49
 uhci0: [GIANT-LOCKED]
 usb0: <UHCI (generic) USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 uhci1: <UHCI (generic) USB controller> port 0xfd00-0xfd1f irq 19 at device 29.1 on pci0
 uhci1: Reserved 0x20 bytes for rid 0x20 type 4 at 0xfd00
 ioapic0: routing intpin 19 (PCI IRQ 19) to vector 50
 uhci1: [GIANT-LOCKED]
 usb1: <UHCI (generic) USB controller> on uhci1
 usb1: USB revision 1.0
 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub1: 2 ports with 2 removable, self powered
 uhci2: <UHCI (generic) USB controller> port 0xfc00-0xfc1f irq 18 at device 29.2 on pci0
 uhci2: Reserved 0x20 bytes for rid 0x20 type 4 at 0xfc00
 ioapic0: routing intpin 18 (PCI IRQ 18) to vector 51
 uhci2: [GIANT-LOCKED]
 usb2: <UHCI (generic) USB controller> on uhci2
 usb2: USB revision 1.0
 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub2: 2 ports with 2 removable, self powered
 uhci3: <UHCI (generic) USB controller> port 0xfb00-0xfb1f irq 16 at device 29.3 on pci0
 uhci3: Reserved 0x20 bytes for rid 0x20 type 4 at 0xfb00
 ioapic0: routing intpin 16 (PCI IRQ 16) to vector 52
 uhci3: [GIANT-LOCKED]
 usb3: <UHCI (generic) USB controller> on uhci3
 usb3: USB revision 1.0
 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub3: 2 ports with 2 removable, self powered
 ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0xfdfff000-0xfdfff3ff irq 23 at device 29.7 on pci0
 ehci0: Reserved 0x400 bytes for rid 0x10 type 3 at 0xfdfff000
 ehci0: [GIANT-LOCKED]
 usb4: EHCI version 1.0
 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
 usb4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0
 usb4: USB revision 2.0
 uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 uhub4: 8 ports with 8 removable, self powered
 pcib3: <ACPI PCI-PCI bridge> at device 30.0 on pci0
 pcib3:   secondary bus     3
 pcib3:   subordinate bus   3
 pcib3:   I/O decode        0xd000-0xdfff
 pcib3:   memory decode     0xfdb00000-0xfdbfffff
 pcib3:   prefetched decode 0xfda00000-0xfdafffff
 pcib3:   Subtractively decoded bridge.
 pci3: <ACPI PCI bus> on pcib3
 pci3: physical bus=3
 found->	vendor=0x1186, dev=0x4300, revid=0x10
 	bus=3, slot=0, func=0
 	class=02-00-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0007, statreg=0x02b0, cachelnsz=1 (dwords)
 	lattimer=0x20 (960 ns), mingnt=0x20 (8000 ns), maxlat=0x40 (16000 ns)
 	intpin=a, irq=5
 	powerspec 2  supports D0 D1 D2 D3  current D0
 	map[10]: type 4, range 32, base 0000de00, size  8, enabled
 pcib3: requested I/O range 0xde00-0xdeff: in range
 	map[14]: type 1, range 32, base fdbff000, size  8, enabled
 pcib3: requested memory range 0xfdbff000-0xfdbff0ff: good
 pcib3: matched entry for 3.0.INTA
 pcib3: slot 0 INTA hardwired to IRQ 20
 re0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xde00
 pcib3: re0 requested I/O range 0xde00-0xdeff: in range
 pcib3: re0 requested I/O range 0xde00-0xdeff: in range
 pcib3: re0 requested I/O range 0xde00-0xdeff: in range
 re0: <D-Link DGE-528(T) Rev.B1 Gigabit Ethernet Adapter> port 0xde00-0xdeff mem 0xfdbff000-0xfdbff0ff irq 20 at device 0.0 on pci3
 pcib3: re0 requested I/O range 0xde00-0xdeff: in range
 miibus0: <MII bus> on re0
 rgephy0: <RTL8169S/8110S/8211B media interface> on miibus0
 rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
 re0: bpf attached
 re0: Ethernet address: 00:21:91:00:71:0f
 ioapic0: routing intpin 20 (PCI IRQ 20) to vector 53
 re0: [MPSAFE]
 re0: [FAST]
 isab0: <PCI-ISA bridge> at device 31.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <Intel ICH7 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf800-0xf80f at device 31.1 on pci0
 atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xf800
 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=03 ostat0=50 ostat1=00
 ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata0: stat1=0x00 err=0x01 lsb=0x00 msb=0x00
 ata0: reset tp2 stat0=50 stat1=00 devices=0x1<ATA_MASTER>
 ioapic0: routing intpin 14 (ISA IRQ 14) to vector 54
 ata0: [MPSAFE]
 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=03 ostat0=7f ostat1=7f
 ata1: stat0=0x7f err=0x7f lsb=0x7f msb=0x7f
 ata1: stat0=0x7f err=0x7f lsb=0x7f msb=0x7f
 ata1: stat0=0x7f err=0x7f lsb=0x7f msb=0x7f
 ata1: stat0=0x7f err=0x7f lsb=0x7f msb=0x7f
 ata1: stat0=0x7f err=0x7f lsb=0x7f msb=0x7f
 ata1: stat0=0x7f err=0x7f lsb=0x7f msb=0x7f
 ata1: stat0=0x7f err=0x7f lsb=0x7f msb=0x7f
 ata1: stat0=0x7f err=0x7f lsb=0x7f msb=0x7f
 ata1: stat0=0x7f err=0x7f lsb=0x7f msb=0x7f
 ata1: stat0=0x7f err=0x7f lsb=0x7f msb=0x7f
 ata1: stat0=0x7f err=0x7f lsb=0x7f msb=0x7f
 ata1: stat0=0x7f err=0x7f lsb=0x7f msb=0x7f
 ata1: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
 ata1: reset tp2 stat0=ff stat1=ff devices=0x0
 ioapic0: routing intpin 15 (ISA IRQ 15) to vector 55
 ata1: [MPSAFE]
 atapci1: <Intel ICH7 SATA300 controller> port 0xf700-0xf707,0xf600-0xf603,0xf500-0xf507,0xf400-0xf403,0xf300-0xf30f irq 19 at device 31.2 on pci0
 atapci1: Reserved 0x10 bytes for rid 0x20 type 4 at 0xf300
 atapci1: [MPSAFE]
 ata2: <ATA channel 0> on atapci1
 atapci1: Reserved 0x8 bytes for rid 0x10 type 4 at 0xf700
 atapci1: Reserved 0x4 bytes for rid 0x14 type 4 at 0xf600
 ata2: reset tp1 mask=03 ostat0=7f ostat1=7f
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat1=0x7f err=0xff lsb=0xff msb=0xff
 ata2: reset tp2 stat0=ff stat1=ff devices=0x0
 ata2: [MPSAFE]
 ata3: <ATA channel 1> on atapci1
 atapci1: Reserved 0x8 bytes for rid 0x18 type 4 at 0xf500
 atapci1: Reserved 0x4 bytes for rid 0x1c type 4 at 0xf400
 ata3: reset tp1 mask=03 ostat0=7f ostat1=7f
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat1=0x7f err=0xff lsb=0xff msb=0xff
 ata3: reset tp2 stat0=ff stat1=ff devices=0x0
 ata3: [MPSAFE]
 pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
 fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
 fdc0: ic_type 90 part_id 80
 ioapic0: routing intpin 6 (ISA IRQ 6) to vector 56
 fdc0: [MPSAFE]
 fdc0: [FAST]
 sio0: irq maps: 0x4c29 0x4c39 0x4c29 0x4c29
 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
 sio0: type 16550A, console
 ioapic0: routing intpin 4 (ISA IRQ 4) to vector 57
 ppc0: using extended I/O port range
 ppc0: SPP
 ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0
 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
 ppbus0: <Parallel port bus> on ppc0
 plip0: <PLIP network interface> on ppbus0
 plip0: bpf attached
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 ioapic0: routing intpin 7 (ISA IRQ 7) to vector 58
 ata: ata0 already exists; skipping it
 ata: ata1 already exists; skipping it
 fdc: fdc0 already exists; skipping it
 ppc: ppc0 already exists; skipping it
 sio: sio0 already exists; skipping it
 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
 sc: sc0 already exists; skipping it
 vga: vga0 already exists; skipping it
 isa_probe_children: disabling PnP devices
 isa_probe_children: probing non-PnP devices
 pmtimer0 on isa0
 orm0: <ISA Option ROM> at iomem 0xcc000-0xccfff on isa0
 adv0: not probed (disabled)
 aha0: not probed (disabled)
 aic0: not probed (disabled)
 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 atkbd: the current kbd controller command byte 0047
 atkbd: keyboard ID 0xffffffff (1)
 kbdc: RESET_KBD return code:00fe
 kbdc: RESET_KBD return code:00fe
 kbdc: RESET_KBD return code:00fe
 kbdc: DIAGNOSE status:0055
 kbdc: TEST_KBD_PORT status:0000
 atkbd: failed to reset the keyboard.
 kbd0 at atkbd0
 kbd0: atkbd0, AT 84 (1), config:0x0, flags:0x1d0000
 ioapic0: routing intpin 1 (ISA IRQ 1) to vector 59
 atkbd0: [GIANT-LOCKED]
 psm0: current command byte:0047
 kbdc: TEST_AUX_PORT status:0000
 kbdc: RESET_AUX return code:00fe
 kbdc: RESET_AUX return code:00fe
 kbdc: RESET_AUX return code:00fe
 kbdc: DIAGNOSE status:0055
 kbdc: TEST_KBD_PORT status:0000
 psm0: failed to reset the aux device.
 bt0: not probed (disabled)
 cs0: not probed (disabled)
 ed0: not probed (disabled)
 fe0: not probed (disabled)
 ie0: not probed (disabled)
 lnc0: not probed (disabled)
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x100>
 sc0: fb0, kbd1, terminal emulator: sc (syscons terminal)
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 sio1: irq maps: 0x4c29 0x4c29 0x4c29 0x4c29
 sio1: probe failed test(s): 0 1 2 4 6 7 9
 sio1 failed to probe at port 0x2f8-0x2ff irq 3 on isa0
 sio2: not probed (disabled)
 sio3: not probed (disabled)
 sn0: not probed (disabled)
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 vt0: not probed (disabled)
 isa_probe_children: probing PnP devices
 Device configuration finished.
 procfs registered
 lapic: Divisor 2, Frequency 100100452 hz
 Timecounter "TSC" frequency 2602611687 Hz quality 800
 Timecounters tick every 1.000 msec
 lo0: bpf attached
 ata0-master: pio=PIO4 wdma=UNSUPPORTED udma=UNSUPPORTED cable=40 wire
 
 
 Fatal trap 18: integer divide fault while in kernel mode
 instruction pointer	= 0x20:0xc06f2a63
 stack pointer	        = 0x28:0xc0c20a50
 frame pointer	        = 0x28:0xc0c20ad8
 code segment		= base 0x0, limit 0xfffff, type 0x1b
 			= DPL 0, pres 1, def32 1, gran 1
 processor eflags	= interrupt enabled, resume, IOPL = 0
 current process		= 0 (swapper)
 trap number		= 18
 panic: integer divide fault
 Uptime: 1s
 Cannot dump. No dump device defined.
 Automatic reboot in 15 seconds - press a key on the console to abort
 --> Press a key on the console to reboot,
 --> or switch off the system now.
 
 
 
 --------------090902070003090802090703
 Content-Type: text/x-log;
  name="80m.log"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="80m.log"
 
 
 1  FreeBSD
 2  FreeBSD
 
 F6 PXE
 Boot:  1 
 /boot.config:  -h
 Consoles: serial port  
 BIOS drive A: is disk0
 BIOS drive C: is disk1
 BIOS 638kB/1037184kB available memory
 
 FreeBSD/i386 bootstrap loader, Revision 1.1
 (intel@proxy1.intrans.baku.az, Wed May 12 18:49:10 AZST 2010)
 Loading /boot/defaults/loader.conf 
 /boot/kernel/kernel text=0x4c5790 data=0xb2e54+0x617f0 syms=[0x4+0x5cec0+0x4+0x7f843]
 \
 Hit [Enter] to boot immediately, or any other key for command prompt.
 Booting [/boot/kernel/kernel] in 5 seconds... 
 
 Type '?' for a list of commands, 'help' for more detailed help.
 OK boot -v
 /boot/kernel/acpi.ko text=0x59188 data=0x2504+0x1948 syms=[0x4+0x9390+0x4+0xc8ef]
 KDB: debugger backends: ddb
 KDB: current backend: ddb
 SMAP type=01 base=0000000000000000 len=000000000009f800
 SMAP type=02 base=00000000000f0000 len=0000000000010000
 SMAP type=02 base=00000000fec00000 len=0000000001400000
 SMAP type=02 base=00000000e0000000 len=0000000010000000
 SMAP type=02 base=000000000009f800 len=0000000000000800
 SMAP type=02 base=000000003f5f0000 len=0000000000010000
 SMAP type=01 base=0000000000100000 len=000000003f4e0000
 SMAP type=03 base=000000003f5e3000 len=000000000000d000
 SMAP type=04 base=000000003f5e0000 len=0000000000003000
 Copyright (c) 1992-2010 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 #1: Thu May 13 18:55:59 AZST 2010
     intel@proxy1.intrans.baku.az:/usr/obj/nanobsd.pppoe/usr/src/sys/PPPOE i386
 Preloaded elf kernel "/boot/kernel/kernel" at 0xc0b2d000.
 Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0b2d194.
 Timecounter "i8254" frequency 1193182 Hz quality 0
 Calibrating TSC clock ... TSC clock: 2602612376 Hz
 CPU: Pentium(R) Dual-Core  CPU      E5300  @ 2.60GHz (2602.61-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x1067a  Family = 6  Model = 17  Stepping = 10
   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Features2=0x400e3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,XSAVE>
   AMD Features=0x20100000<NX,LM>
   AMD Features2=0x1<LAHF>
   TSC: P-state invariant
 
 Instruction TLB: 4 KB Pages, 4-way set associative, 128 entries
 2nd-level cache: 2-MB, 8-way set associative, 64-byte line size
 1st-level instruction cache: 32 KB, 8-way set associative, 64 byte line size
 1st-level data cache: 32 KB, 8-way set associative, 64 byte line size
 L2 cache: 2048 kbytes, 8-way associative, 64 bytes/line
 real memory  = 1073741824 (1024 MB)
 Physical memory chunk(s):
 0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages)
 0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)
 0x0000000000c26000 - 0x000000003e3c1fff, 1031389184 bytes (251804 pages)
 avail memory = 1031294976 (983 MB)
 Table 'FACP' at 0x3f5e30c0
 Table 'HPET' at 0x3f5e73c0
 Table 'MCFG' at 0x3f5e7440
 Table 'TAMG' at 0x3f5e7480
 Table 'APIC' at 0x3f5e72c0
 APIC: Found table at 0x3f5e72c0
 MP Configuration Table version 1.4 found at 0xc00f0d00
 APIC: Using the MADT enumerator.
 MADT: Found CPU APIC ID 0 ACPI ID 0: enabled
 MADT: Found CPU APIC ID 1 ACPI ID 1: enabled
 MADT: Found CPU APIC ID 2 ACPI ID 2: disabled
 MADT: Found CPU APIC ID 3 ACPI ID 3: disabled
 ACPI APIC Table: <GBT    GBTUACPI>
 APIC: CPU 0 has ACPI ID 0
 x86bios:   IVT 0x000000-0x0004ff at 0xc0000000
 x86bios:  SSEG 0x010000-0x01ffff at 0xc3b4e000
 x86bios:  EBDA 0x09f000-0x09ffff at 0xc009f000
 x86bios:   ROM 0x0a0000-0x0effff at 0xc00a0000
 bios32: Found BIOS32 Service Directory header at 0xc00fab90
 bios32: Entry = 0xfb290 (c00fb290)  Rev = 0  Len = 1
 pcibios: PCI BIOS entry at 0xf0000+0xb2c0
 pnpbios: Found PnP BIOS data at 0xc00fbe20
 pnpbios: Entry = f0000:be50  Rev = 1.0
 Other BIOS signatures found:
 ULE: setup cpu 0
 ACPI: RSDP 0xf6db0 00014 (v0 GBT   )
 ACPI: RSDT 0x3f5e3040 0003C (v1 GBT    GBTUACPI 42302E31 GBTU 01010101)
 ACPI: FACP 0x3f5e30c0 00074 (v1 GBT    GBTUACPI 42302E31 GBTU 01010101)
 ACPI: DSDT 0x3f5e3180 040E8 (v1 GBT    GBTUACPI 00001000 MSFT 0100000C)
 ACPI: FACS 0x3f5e0000 00040
 ACPI: HPET 0x3f5e73c0 00038 (v1 GBT    GBTUACPI 42302E31 GBTU 00000098)
 ACPI: MCFG 0x3f5e7440 0003C (v1 GBT    GBTUACPI 42302E31 GBTU 01010101)
 ACPI: TAMG 0x3f5e7480 0625A (v1 GBT    GBT   B0 5455312E BG?? 00020101)
 ACPI: APIC 0x3f5e72c0 00084 (v1 GBT    GBTUACPI 42302E31 GBTU 01010101)
 ACPI: SSDT 0x3f5edd40 003AB (v1  PmRef    CpuPm 00003000 INTL 20040311)
 MADT: Found IO APIC ID 2, Interrupt 0 at 0xfec00000
 ioapic0: Changing APIC ID to 2
 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
 lapic0: Routing NMI -> LINT1
 lapic0: LINT1 trigger: edge
 lapic0: LINT1 polarity: high
 lapic1: Routing NMI -> LINT1
 lapic1: LINT1 trigger: edge
 lapic1: LINT1 polarity: high
 MADT: Ignoring local NMI routed to ACPI CPU 2
 MADT: Ignoring local NMI routed to ACPI CPU 3
 ioapic0 <Version 2.0> irqs 0-23 on motherboard
 cpu0 BSP:
      ID: 0x00000000   VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff
   lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
   timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400
 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
 null: <null device, zero device>
 npx0: INT 16 interface
 acpi0: <GBT GBTUACPI> 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]
 acpi0: Power Button (fixed)
 acpi0: wakeup code va 0xc3b4b000 pa 0x1000
 AcpiOsDerivePciId: \_SB_.PCI0.PX40.PIRQ -> bus 0 dev 31 func 0
 AcpiOsDerivePciId: \_SB_.PCI0.PX40.PIR2 -> bus 0 dev 31 func 0
 acpi0: reservation of 0, a0000 (3) failed
 acpi0: reservation of 100000, 3f4e0000 (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 0x408-0x40b on acpi0
 cpu0: <ACPI CPU> on acpi0
 cpu0: switching to generic Cx mode
 pci_link0:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0    3   N     0  3 4 5 6 7 9 10 11 12 14 15
   Validation          0    3   N     0  3 4 5 6 7 9 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 9 10 11 12 14 15
 pci_link1:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0   10   N     0  3 4 5 6 7 9 10 11 12 14 15
   Validation          0   10   N     0  3 4 5 6 7 9 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 9 10 11 12 14 15
 pci_link2:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0   11   N     0  3 4 5 6 7 9 10 11 12 14 15
   Validation          0   11   N     0  3 4 5 6 7 9 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 9 10 11 12 14 15
 pci_link3:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0   11   N     0  3 4 5 6 7 9 10 11 12 14 15
   Validation          0   11   N     0  3 4 5 6 7 9 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 9 10 11 12 14 15
 pci_link4:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0    5   N     0  3 4 5 6 7 9 10 11 12 14 15
   Validation          0    5   N     0  3 4 5 6 7 9 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 9 10 11 12 14 15
 pci_link5:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0  255   N     0  3 4 5 6 7 9 10 11 12 14 15
   Validation          0  255   N     0  3 4 5 6 7 9 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 9 10 11 12 14 15
 pci_link6:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0  255   N     0  3 4 5 6 7 9 10 11 12 14 15
   Validation          0  255   N     0  3 4 5 6 7 9 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 9 10 11 12 14 15
 pci_link7:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0    9   N     0  3 4 5 6 7 9 10 11 12 14 15
   Validation          0    9   N     0  3 4 5 6 7 9 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 9 10 11 12 14 15
 acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
 acpi_hpet0: vend: 0x8086 rev: 0x1 num: 3 hz: 14318180 opts: legacy_route 64-bit
 Timecounter "HPET" frequency 14318180 Hz quality 900
 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=0x8086, dev=0x29c0, revid=0x10
 	domain=0, bus=0, slot=0, func=0
 	class=06-00-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0006, statreg=0x2090, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 found->	vendor=0x8086, dev=0x29c2, revid=0x10
 	domain=0, bus=0, slot=2, func=0
 	class=03-00-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0007, statreg=0x0090, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=3
 	powerspec 2  supports D0 D3  current D0
 	MSI supports 1 message
 	map[10]: type Memory, range 32, base 0xfdf00000, size 19, enabled
 	map[14]: type I/O Port, range 32, base 0xff00, size  3, enabled
 	map[18]: type Prefetchable Memory, range 32, base 0xd0000000, size 28, enabled
 	map[1c]: type Memory, range 32, base 0xfdc00000, size 20, enabled
 pcib0: matched entry for 0.2.INTA
 pcib0: slot 2 INTA hardwired to IRQ 16
 found->	vendor=0x8086, dev=0x27d8, revid=0x01
 	domain=0, bus=0, slot=27, func=0
 	class=04-03-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0006, statreg=0x0010, cachelnsz=1 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=3
 	powerspec 2  supports D0 D3  current D0
 	MSI supports 1 message, 64 bit
 	map[10]: type Memory, range 64, base 0xfdff8000, size 14, enabled
 pcib0: matched entry for 0.27.INTA
 pcib0: slot 27 INTA hardwired to IRQ 16
 found->	vendor=0x8086, dev=0x27d0, revid=0x01
 	domain=0, bus=0, slot=28, func=0
 	class=06-04-00, hdrtype=0x01, mfdev=1
 	cmdreg=0x0007, statreg=0x0010, cachelnsz=1 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=3
 	powerspec 2  supports D0 D3  current D0
 	MSI supports 1 message
 pcib0: matched entry for 0.28.INTA
 pcib0: slot 28 INTA hardwired to IRQ 16
 found->	vendor=0x8086, dev=0x27d2, revid=0x01
 	domain=0, bus=0, slot=28, func=1
 	class=06-04-00, hdrtype=0x01, mfdev=1
 	cmdreg=0x0007, statreg=0x0010, cachelnsz=1 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=b, irq=10
 	powerspec 2  supports D0 D3  current D0
 	MSI supports 1 message
 pcib0: matched entry for 0.28.INTB
 pcib0: slot 28 INTB hardwired to IRQ 17
 found->	vendor=0x8086, dev=0x27c8, revid=0x01
 	domain=0, bus=0, slot=29, func=0
 	class=0c-03-00, hdrtype=0x00, mfdev=1
 	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=9
 	map[20]: type I/O Port, range 32, base 0xfe00, size  5, enabled
 pcib0: matched entry for 0.29.INTA
 pcib0: slot 29 INTA hardwired to IRQ 23
 unknown: Reserved 0x20 bytes for rid 0x20 type 4 at 0xfe00
 found->	vendor=0x8086, dev=0x27c9, revid=0x01
 	domain=0, bus=0, slot=29, func=1
 	class=0c-03-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=b, irq=11
 	map[20]: type I/O Port, range 32, base 0xfd00, size  5, enabled
 pcib0: matched entry for 0.29.INTB
 pcib0: slot 29 INTB hardwired to IRQ 19
 unknown: Reserved 0x20 bytes for rid 0x20 type 4 at 0xfd00
 found->	vendor=0x8086, dev=0x27ca, revid=0x01
 	domain=0, bus=0, slot=29, func=2
 	class=0c-03-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=c, irq=11
 	map[20]: type I/O Port, range 32, base 0xfc00, size  5, enabled
 pcib0: matched entry for 0.29.INTC
 pcib0: slot 29 INTC hardwired to IRQ 18
 unknown: Reserved 0x20 bytes for rid 0x20 type 4 at 0xfc00
 found->	vendor=0x8086, dev=0x27cb, revid=0x01
 	domain=0, bus=0, slot=29, func=3
 	class=0c-03-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=d, irq=3
 	map[20]: type I/O Port, range 32, base 0xfb00, size  5, enabled
 pcib0: matched entry for 0.29.INTD
 pcib0: slot 29 INTD hardwired to IRQ 16
 unknown: Reserved 0x20 bytes for rid 0x20 type 4 at 0xfb00
 found->	vendor=0x8086, dev=0x27cc, revid=0x01
 	domain=0, bus=0, slot=29, func=7
 	class=0c-03-20, hdrtype=0x00, mfdev=0
 	cmdreg=0x0006, statreg=0x0290, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=9
 	powerspec 2  supports D0 D3  current D0
 	map[10]: type Memory, range 32, base 0xfdfff000, size 10, enabled
 pcib0: matched entry for 0.29.INTA
 pcib0: slot 29 INTA hardwired to IRQ 23
 unknown: Reserved 0x400 bytes for rid 0x10 type 3 at 0xfdfff000
 found->	vendor=0x8086, dev=0x244e, revid=0xe1
 	domain=0, bus=0, slot=30, func=0
 	class=06-04-01, hdrtype=0x01, mfdev=0
 	cmdreg=0x0007, statreg=0x0010, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 found->	vendor=0x8086, dev=0x27b8, revid=0x01
 	domain=0, bus=0, slot=31, func=0
 	class=06-01-00, hdrtype=0x00, mfdev=1
 	cmdreg=0x0107, statreg=0x0210, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 found->	vendor=0x8086, dev=0x27df, revid=0x01
 	domain=0, bus=0, slot=31, func=1
 	class=01-01-8a, hdrtype=0x00, mfdev=0
 	cmdreg=0x0005, statreg=0x0288, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=255
 	map[20]: type I/O Port, range 32, base 0xf800, size  4, enabled
 found->	vendor=0x8086, dev=0x27c0, revid=0x01
 	domain=0, bus=0, slot=31, func=2
 	class=01-01-8f, hdrtype=0x00, mfdev=0
 	cmdreg=0x0005, statreg=0x02b0, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=b, irq=11
 	powerspec 2  supports D0 D3  current D0
 	map[10]: type I/O Port, range 32, base 0xf700, size  3, enabled
 	map[14]: type I/O Port, range 32, base 0xf600, size  2, enabled
 	map[18]: type I/O Port, range 32, base 0xf500, size  3, enabled
 	map[1c]: type I/O Port, range 32, base 0xf400, size  2, enabled
 	map[20]: type I/O Port, range 32, base 0xf300, size  4, enabled
 pcib0: matched entry for 0.31.INTB
 pcib0: slot 31 INTB hardwired to IRQ 19
 found->	vendor=0x8086, dev=0x27da, revid=0x01
 	domain=0, bus=0, slot=31, func=3
 	class=0c-05-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=b, irq=11
 	map[20]: type I/O Port, range 32, base 0x500, size  5, enabled
 pcib0: matched entry for 0.31.INTB
 pcib0: slot 31 INTB hardwired to IRQ 19
 vgapci0: <VGA-compatible display> port 0xff00-0xff07 mem 0xfdf00000-0xfdf7ffff,0xd0000000-0xdfffffff,0xfdc00000-0xfdcfffff irq 16 at device 2.0 on pci0
 pci0: <multimedia, HDA> at device 27.0 (no driver attached)
 pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
 pcib1:   domain            0
 pcib1:   secondary bus     1
 pcib1:   subordinate bus   1
 pcib1:   I/O decode        0xc000-0xcfff
 pcib1:   memory decode     0xfd900000-0xfd9fffff
 pcib1:   prefetched decode 0xfd800000-0xfd8fffff
 pci1: <ACPI PCI bus> on pcib1
 pci1: domain=0, physical bus=1
 pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.1 on pci0
 pcib2:   domain            0
 pcib2:   secondary bus     2
 pcib2:   subordinate bus   2
 pcib2:   I/O decode        0xb000-0xbfff
 pcib2:   memory decode     0xfde00000-0xfdefffff
 pcib2:   prefetched decode 0xfdd00000-0xfddfffff
 pci2: <ACPI PCI bus> on pcib2
 pci2: domain=0, physical bus=2
 found->	vendor=0x1969, dev=0x1063, revid=0xc0
 	domain=0, bus=2, slot=0, func=0
 	class=02-00-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0007, statreg=0x0010, cachelnsz=1 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=10
 	powerspec 3  supports D0 D3  current D0
 	MSI supports 1 message, 64 bit
 	map[10]: type Memory, range 64, base 0xfdec0000, size 18, enabled
 pcib2: requested memory range 0xfdec0000-0xfdefffff: good
 	map[18]: type I/O Port, range 32, base 0xbf00, size  7, enabled
 pcib2: requested I/O range 0xbf00-0xbf7f: in range
 pcib2: matched entry for 2.0.INTA
 pcib2: slot 0 INTA hardwired to IRQ 17
 alc0: <Atheros AR8131 PCIe Gigabit Ethernet> port 0xbf00-0xbf7f mem 0xfdec0000-0xfdefffff irq 17 at device 0.0 on pci2
 alc0: Reserved 0x40000 bytes for rid 0x10 type 3 at 0xfdec0000
 alc0: Read request size : 512 bytes.
 alc0: TLP payload size : 128 bytes.
 alc0: RCB 64 bytes
 alc0: ASPM L0s/L1 disabled
 alc0: PCI device revision : 0x00c0
 alc0: Chip id/revision : 0x4002
 alc0: 15872 Tx FIFO, 15360 Rx FIFO
 alc0: MSIX count : 0
 alc0: MSI count : 1
 alc0: attempting to allocate 1 MSI vectors (1 supported)
 msi: routing MSI IRQ 256 to local APIC 0 vector 49
 alc0: using IRQ 256 for MSI
 alc0: Using 1 MSI message(s).
 alc0: EEPROM not found!
 miibus0: <MII bus> on alc0
 atphy0: <Atheros F1 10/100/1000 PHY> PHY 0 on miibus0
 atphy0: OUI 0x001374, model 0x0001, rev. 11
 atphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
 alc0: bpf attached
 alc0: Ethernet address: 6c:f0:49:49:cb:c7
 alc0: [MPSAFE]
 alc0: [FILTER]
 uhci0: <Intel 82801G (ICH7) USB controller USB-A> port 0xfe00-0xfe1f irq 23 at device 29.0 on pci0
 ioapic0: routing intpin 23 (PCI IRQ 23) to lapic 0 vector 50
 uhci0: [MPSAFE]
 uhci0: [ITHREAD]
 usbus0: <Intel 82801G (ICH7) USB controller USB-A> on uhci0
 uhci1: <Intel 82801G (ICH7) USB controller USB-B> port 0xfd00-0xfd1f irq 19 at device 29.1 on pci0
 ioapic0: routing intpin 19 (PCI IRQ 19) to lapic 0 vector 51
 uhci1: [MPSAFE]
 uhci1: [ITHREAD]
 usbus1: <Intel 82801G (ICH7) USB controller USB-B> on uhci1
 uhci2: <Intel 82801G (ICH7) USB controller USB-C> port 0xfc00-0xfc1f irq 18 at device 29.2 on pci0
 ioapic0: routing intpin 18 (PCI IRQ 18) to lapic 0 vector 52
 uhci2: [MPSAFE]
 uhci2: [ITHREAD]
 usbus2: <Intel 82801G (ICH7) USB controller USB-C> on uhci2
 uhci3: <Intel 82801G (ICH7) USB controller USB-D> port 0xfb00-0xfb1f irq 16 at device 29.3 on pci0
 ioapic0: routing intpin 16 (PCI IRQ 16) to lapic 0 vector 53
 uhci3: [MPSAFE]
 uhci3: [ITHREAD]
 usbus3: <Intel 82801G (ICH7) USB controller USB-D> on uhci3
 ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0xfdfff000-0xfdfff3ff irq 23 at device 29.7 on pci0
 ehci0: [MPSAFE]
 ehci0: [ITHREAD]
 usbus4: EHCI version 1.0
 usbus4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0
 pcib3: <ACPI PCI-PCI bridge> at device 30.0 on pci0
 pcib3:   domain            0
 pcib3:   secondary bus     3
 pcib3:   subordinate bus   3
 pcib3:   I/O decode        0xd000-0xdfff
 pcib3:   memory decode     0xfdb00000-0xfdbfffff
 pcib3:   prefetched decode 0xfda00000-0xfdafffff
 pcib3:   Subtractively decoded bridge.
 pci3: <ACPI PCI bus> on pcib3
 pci3: domain=0, physical bus=3
 found->	vendor=0x1186, dev=0x4300, revid=0x10
 	domain=0, bus=3, slot=0, func=0
 	class=02-00-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0007, statreg=0x02b0, cachelnsz=1 (dwords)
 	lattimer=0x20 (960 ns), mingnt=0x20 (8000 ns), maxlat=0x40 (16000 ns)
 	intpin=a, irq=5
 	powerspec 2  supports D0 D1 D2 D3  current D0
 	map[10]: type I/O Port, range 32, base 0xde00, size  8, enabled
 pcib3: requested I/O range 0xde00-0xdeff: in range
 	map[14]: type Memory, range 32, base 0xfdbff000, size  8, enabled
 pcib3: requested memory range 0xfdbff000-0xfdbff0ff: good
 pcib3: matched entry for 3.0.INTA
 pcib3: slot 0 INTA hardwired to IRQ 20
 re0: <D-Link DGE-528(T) Gigabit Ethernet Adapter> port 0xde00-0xdeff mem 0xfdbff000-0xfdbff0ff irq 20 at device 0.0 on pci3
 re0: Reserved 0x100 bytes for rid 0x14 type 3 at 0xfdbff000
 re0: Chip rev. 0x10000000
 re0: MAC rev. 0x00000000
 miibus1: <MII bus> on re0
 rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus1
 rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
 re0: bpf attached
 re0: Ethernet address: 00:21:91:00:71:0f
 ioapic0: routing intpin 20 (PCI IRQ 20) to lapic 0 vector 54
 re0: [MPSAFE]
 re0: [FILTER]
 isab0: <PCI-ISA bridge> at device 31.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <Intel ICH7 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf800-0xf80f at device 31.1 on pci0
 atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xf800
 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=03 ostat0=50 ostat1=00
 ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata0: stat1=0x00 err=0x01 lsb=0x00 msb=0x00
 ata0: reset tp2 stat0=50 stat1=00 devices=0x1
 ioapic0: routing intpin 14 (ISA IRQ 14) to lapic 0 vector 55
 ata0: [MPSAFE]
 ata0: [ITHREAD]
 atapci1: <Intel ICH7 SATA300 controller> port 0xf700-0xf707,0xf600-0xf603,0xf500-0xf507,0xf400-0xf403,0xf300-0xf30f irq 19 at device 31.2 on pci0
 atapci1: Reserved 0x10 bytes for rid 0x20 type 4 at 0xf300
 atapci1: [MPSAFE]
 atapci1: [ITHREAD]
 ata2: <ATA channel 0> on atapci1
 atapci1: Reserved 0x8 bytes for rid 0x10 type 4 at 0xf700
 atapci1: Reserved 0x4 bytes for rid 0x14 type 4 at 0xf600
 ata2: reset tp1 mask=03 ostat0=7f ostat1=7f
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata2: stat1=0x7f err=0xff lsb=0xff msb=0xff
 ata2: reset tp2 stat0=ff stat1=ff deices=0x0
 ata2: [MPSAFE]
 ata2: [ITHREAD]
 ata3: <ATA channel 1> on atapci1
 atapci1: Reserved 0x8 bytes for rid 0x18 type 4 at 0xf500
 atapci1: Reserved 0x4 bytes for rid 0x1c typeat 0xf400
 ata3: reset tp1 mask=03 ostat0=7f ostat1=7f
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
 ata3: stat1=0x7f err=0xff lsb=0xff msb=0xff
 ata3: reset tp2 stat0=ff stat1=ff devices=0x0
 ata3: [MPSAFE]
 ata3: [ITHREAD]
 pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
 atrtc0: <AT realtime clock> port 0x70-0x73 on acpi0
 atrtc0: registered as a time-of-day clock (resolution 1000000us)
 fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
 fdc0: ic_type 90 part_id 80
 ioapic0: routing intpin 6 (ISA IRQ 6) to lapic 0 vector 56
 fdc0: [FILTER]
 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
 isa_probe_children: disabling PnP devices
 pmtimer0 on isa0
 ata: ata0 already exists; skipping it
 atrtc: atrtc0 already exists; skipping it
 fdc: fdc0 already exists; skipping it
 sc: sc0 already exists; skipping it
 isa_probe_children: probing non-PnP devices
 orm0: <ISA Option ROM> at iomem 0xcc000-0xccfff pnpid ORM0000 on isa0
 atkbd: the current kbd controller command byte 0047
 atkbd: keyboard ID 0xffffffff (1)
 kbdc: RESET_KBD return code:00fe
 kbdc: RESET_KBD return code:00fe
 kbdc: RESET_KBD return code:00fe
 kbdc: DIAGNOSE status:0055
 kbdc: TEST_KBD_PORT status:0000
 atkbd: failed to reset the keyboard.
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x100>
 sc0: fb0, kbd1, terminal emulator: scteken (teken terminal)
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 ata1 failed to probe at port 0x170 irq 15 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 84 (1), config:0x0, flags:0x3d0000
 ioapic0: routing intpin 1 (ISA IRQ 1) to lapic 0 vector 57
 atkbd0: [GIANT-LOCKED]
 atkbd0: [ITHREAD]
 psm0: current command byte:0047
 kbdc: TEST_AUX_PORT status:0000
 kbdc: RESET_AUX return code:00fe
 kbdc: RESET_AUX return code:00fe
 kbdc: RESET_AUX return code:00fe
 kbdc: DIAGNOSE status:0055
 kbdc: TEST_KBD_PORT status:0000
 psm0: failed to reset the aux device.
 ppc0: parallel port found at 0x378
 ppc0: using extended I/O port range
 ppc0: SPP
 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
 ioapic0: routing intpin 7 (ISA IRQ 7) to lapic 0 vector 58
 ppc0: [MPSAFE]
 ppc0: [ITHREAD]
 ppbus0: <Parallel port bus> on ppc0
 plip0: <PLIP network interface> on ppbus0
 plip0: bpf attached
 plip0: [MPSAFE]
 plip0: [ITHREAD]
 lpt0: <Printer> on ppbus0
 lpt0: [MPSAFE]
 lpt0: [ITHREAD]
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 ioapic0: routing intpin 4 (ISA IRQ 4) to lapic 0 vector 59
 uart0: [FILTER]
 uart0: fast interrupt
 uart0: console (9600,n,8,1)
 uart1: <ns8250> failed to probe at port 0x2f8-0x2ff irq 3 on isa0
 isa_probe_children: probing PnP devices
 est0: <Enhanced SpeedStep Frequency Control> on cpu0
 est: CPU supports Enhanced Speedstep, but is not recognized.
 est: cpu_vendor GenuineIntel, msr 6160d2506000925
 device_attach: est0 attach returned 6
 p4tcc0: <CPU Frequency Thermal Control> on cpu0
 Device configuration finished.
 procfs registered
 lapic: Divisor 2, Frequency 100100479 Hz
 Timecounter "TSC" frequency 2602612376 Hz quality 800
 Timecounters tick every 1.000 msec
 lo0: bpf attached
 ata0: Identifying devices: 00000001
 ata0: New devices: 00000001
 usbus0: 12Mbps Full Speed USB v1.0
 usbus1: 12Mbps Full Speed USB v1.0
 ugen0.1: <Intel> at usbus0
 uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
 ugen1.1: <Intel> at usbus1
 uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
 usbus2: 12Mbps Full Speed USB v1.0
 usbus3: 12Mbps Full Speed USB v1.0
 ugen2.1: <Intel> at usbus2
 uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
 ugen3.1: <Intel> at usbus3
 uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
 usbus4: 480Mbps High Speed USB v2.0
 ata0-master: pio=PIO4 wdma=UNSUPPORTED udma=UNSUPPORTED cable=40 wire
 ugen4.1: <Intel> at usbus4
 uhub4: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
 ad0: FAILURE - SETFEATURES SET TRANSFER MODE status=51<READY,DSC,ERROR> error=4<ABORTED>
 ad0: FAILURE setting PIO4
 ad0: 488MB <Hitachi XX.V.3.7.0.0 Rev 0.00> at ata0-master PIO4 
 ad0: 1000944 sectors [993C/16H/63S] 1 sectors/interrupt 1 depth queue
 GEOM: new disk ad0
 ad0G: Intel check1 failed
 uhub0: 2 ports with 2 removable, self powered
 EOM: ad0: partition 3 does not start on a track boundary.
 GEOM: ad0: partition 3 does not end on a track boundary.
 GEOM: ad0: partition uhub1: 2 ports with 2 removable, self powered
 2 does not start on a track boundary.
 GEOM: ad0:uhub2: 2 ports with 2 removable, self powered
  partition 2 does not end on a track boundary.
 GEOM: ad0: partition 1 does not start on a tracuhub3: 2 ports with 2 removable, self powered
 k boundary.
 GEOM: ad0: partition 1 does not end on a track boundary.
 ad0: Adaptec check1 failed
 ad0: LSI (v3) check1 failed
 ad0: LSI (v2) check1 failed
 ad0: FreeBSD check1 failed
 ata2: Identifying devices: 00000000
 ata2: New devices: 00000000
 ata3: Identifying devices: 00000000
 ata3: New devices: 00000000
 ATA PseudoRAD loaded
 Root mount waiting for: usbus4
 Root mount waiting for: usbus4
 Root mount waiting for: usbus4
 uhub4: 8 ports with 8 removable, self powered
 Trying to mount root from ufs:/dev/ad0s1a
 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=ufs:/dev/ad0s1a
 vfs.root.mountfrom.options=ro
 
 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> 
 
 
 --------------090902070003090802090703--

From: Alexander Motin <mav@FreeBSD.org>
To: bug-followup@FreeBSD.org, intel@intrans.baku.az
Cc:  
Subject: Re: kern/146270: [ata] Divide by zero in ata driver
Date: Sat, 03 Jul 2010 18:12:17 +0300

 Hi.
 
 If you got to these lines, it means ATA_D_USE_CHS flag is set. But in
 such case sectors and heads can't be zero, as it will be impossible to
 address device. I think it may be false negative and this device
 supports LBA mode. You may try to comment out whole ATA_D_USE_CHS
 section and look what happen.
 
 -- 
 Alexander Motin
>Unformatted:
