Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2006 23:38:10 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        freebsd-stable@freebsd.org
Subject:   ata panic
Message-ID:  <6.2.3.4.0.20060313232855.107fa680@64.7.153.2>

next in thread | raw e-mail | index | archive | help
Hi,
I was trying out a recent RELENG_6 on a VIA mini ITX board with built 
in CF reader. If a CF is present, the box panics at boot (tried with 
2 separate boards and different CFs just in case it was 
hardware).  This is with a RELENG_6 from March 7th


with the flash in I get a panic at bootup.

ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding 
enabled, default to accept, logging limited to 9100 packets/entry by default
lo0: bpf attached
ata0-master: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=80 wire
ad0: setting PIO4 on 8237 chip
ad0: setting UDMA100 on 8237 chip
ad0: 38166MB <Seagate ST340014A 8.54> at ata0-master UDMA100
ad0: 78165360 sectors [77545C/16H/63S] 16 sectors/interrupt 1 depth queue
GEOM: new disk ad0
ad0: VIA check1 failed
ad0: Adaptec check1 failed
ad0: LSI (v3) check1 failed
ad0: LSI (v2) check1 failed
ad0: FreeBSD check1 failed
ata1-master: pio=PIO4 wdma=UNSUPPORTED udma=UNSUPPORTED cable=40 wire
ad2: setting PIO4 on 8237 chip
ad2: 244MB <SanDisk SDCFB-256 Rev 0.00> at ata1-master PIO4


Fatal trap 18: integer divide fault while in kernel mode
instruction pointer     = 0x20:0xc0699c37
stack pointer           = 0x28:0xc0c20b78
frame pointer           = 0x28:0xc0c20c14
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
KDB: stack backtrace:
panic(c06c8ad5,c06f119b,0,0,fffff) at 0xc0511f23 = panic+0x103
trap_fatal(0,0,0,0,c07333c0) at 0xc06910a5 = trap_fatal+0x225
trap(8,28,28,1,0) at 0xc06915d7 = trap+0x20f
calltrap() at 0xc068081a = calltrap+0x5
--- trap 0x12, eip = 0xc0699c37, esp = 0xc0c20b78, ebp = 0xc0c20c14 ---
__qdivrem(7a2b0,0,0,0,0) at 0xc0699c37 = __qdivrem+0x3b
__udivdi3(7a2b0,0,0,0) at 0xc069a0de = __udivdi3+0x16
ad_attach(c3343c80,c3343c80,c32bd800,0,c0c20d24) at 0xc04684af = 
ad_attach+0x44f
device_attach(c3343c80) at 0xc0526c8e = device_attach+0x1be
bus_generic_attach(c3217000,c3217000,ffffffff,2,c3343c80) at 
0xc05278a6 = bus_generic_attach+0x12
ata_identify(c3217000,c3147bd0,c0c20d6c,c0523d00,0) at 0xc045906d = 
ata_identify+0xcd
ata_boot_attach(0,c07206b0,c0c20d88,c04e34c7,0) at 0xc04591e5 = 
ata_boot_attach+0x4d
run_interrupt_driven_config_hooks(0,c31459e8,c1ec00,c1e000,c25000) at 
0xc0523d00 = run_interrupt_driven_config_hooks+0x1c
mi_startup() at 0xc04e34c7 = mi_startup+0xb3
begin() at 0xc0433e55 = begin+0x2c
Uptime: 3s
Cannot dump. No dump device defined.
Automatic reboot in 15 seconds - press a key on the console to abort


Below is a dmesg with the CF slot empty.  Its been a while since I 
tried, but I am pretty sure it used to work

Mar  6 17:03:54 ps9996 kernel: Copyright (c) 1992-2006 The FreeBSD Project.
Mar  6 17:03:54 ps9996 kernel: Copyright (c) 1979, 1980, 1983, 1986, 
1988, 1989, 1991, 1992, 1993, 1994
Mar  6 17:03:54 ps9996 kernel: The Regents of the University of 
California. All rights reserved.
Mar  6 17:03:54 ps9996 kernel: FreeBSD 6.1-PRERELEASE #0: Sat Mar  4 
07:20:49 EST 2006
Mar  6 17:03:54 ps9996 kernel: 
mdtancsa@ps9996.station.sentex.ca:/usr/obj/usr/src/sys/gas
Mar  6 17:03:54 ps9996 kernel: Timecounter "i8254" frequency 1193182 
Hz quality 0
Mar  6 17:03:54 ps9996 kernel: CPU: VIA C3 Nehemiah+RNG+ACE 
(796.77-MHz 686-class CPU)
Mar  6 17:03:54 ps9996 kernel: Origin = "CentaurHauls"  Id = 
0x698  Stepping = 8
Mar  6 17:03:54 ps9996 kernel: 
Features=0x381b03f<FPU,VME,DE,PSE,TSC,MSR,MTRR,PGE,CMOV,PAT,MMX,FXSR,SSE>
Mar  6 17:03:54 ps9996 kernel: real memory  = 517865472 (493 MB)
Mar  6 17:03:54 ps9996 kernel: avail memory = 497393664 (474 MB)
Mar  6 17:03:54 ps9996 kernel: npx0: [FAST]
Mar  6 17:03:54 ps9996 kernel: npx0: <math processor> on motherboard
Mar  6 17:03:54 ps9996 kernel: npx0: INT 16 interface
Mar  6 17:03:54 ps9996 kernel: acpi0: <CM400 AWRDACPI> on motherboard
Mar  6 17:03:54 ps9996 kernel: acpi0: Power Button (fixed)
Mar  6 17:03:54 ps9996 kernel: Timecounter "ACPI-fast" frequency 
3579545 Hz quality 1000
Mar  6 17:03:54 ps9996 kernel: acpi_timer0: <24-bit timer at 
3.579545MHz> port 0x408-0x40b on acpi0
Mar  6 17:03:54 ps9996 kernel: cpu0: <ACPI CPU> on acpi0
Mar  6 17:03:54 ps9996 kernel: acpi_button0: <Power Button> on acpi0
Mar  6 17:03:54 ps9996 kernel: acpi_button1: <Sleep Button> on acpi0
Mar  6 17:03:54 ps9996 kernel: pcib0: <ACPI Host-PCI bridge> port 
0xcf8-0xcff on acpi0
Mar  6 17:03:54 ps9996 kernel: pci0: <ACPI PCI bus> on pcib0
Mar  6 17:03:54 ps9996 kernel: agp0: <VIA PM800/PN800/PM880/PN880 
host to PCI bridge> mem 0xf8000000-0xf9ffffff at device 0.0 on pci
0
Mar  6 17:03:54 ps9996 kernel: pcib1: <PCI-PCI bridge> at device 1.0 on pci0
Mar  6 17:03:54 ps9996 kernel: pci1: <PCI bus> on pcib1
Mar  6 17:03:54 ps9996 kernel: pci1: <display, VGA> at device 0.0 (no 
driver attached)
Mar  6 17:03:54 ps9996 kernel: puc0: <US Robotics (3Com) 3CP5609 PCI 
16550 Modem> port 0xe400-0xe407 irq 12 at device 8.0 on pci0
Mar  6 17:03:54 ps9996 kernel: sio4: <US Robotics (3Com) 3CP5609 PCI 
16550 Modem> on puc0
Mar  6 17:03:54 ps9996 kernel: sio4: type 16550A
Mar  6 17:03:54 ps9996 kernel: sio4: unable to activate interrupt in 
fast mode - using normal mode
Mar  6 17:03:54 ps9996 kernel: rl0: <RealTek 8139 10/100BaseTX> port 
0xd000-0xd0ff mem 0xfc000000-0xfc0000ff irq 7 at device 10.0 on
  pci0
Mar  6 17:03:54 ps9996 kernel: miibus0: <MII bus> on rl0
Mar  6 17:03:54 ps9996 kernel: rlphy0: <RealTek internal media 
interface> on miibus0
Mar  6 17:03:54 ps9996 kernel: rlphy0:  10baseT, 10baseT-FDX, 
100baseTX, 100baseTX-FDX, auto
Mar  6 17:03:54 ps9996 kernel: rl0: Ethernet address: 00:03:1d:02:0b:fd
Mar  6 17:03:54 ps9996 kernel: pci0: <serial bus, FireWire> at device 
11.0 (no driver attached)
Mar  6 17:03:54 ps9996 kernel: atapci0: <VIA 6420 SATA150 controller> 
port 0xeb00-0xeb07,0xe000-0xe003,0xe100-0xe107,0xe200-0xe203,0
xe300-0xe30f,0xd400-0xd4ff irq 10 at device 15.0 on pci0
Mar  6 17:03:54 ps9996 kernel: ata2: <ATA channel 0> on atapci0
Mar  6 17:03:54 ps9996 kernel: ata3: <ATA channel 1> on atapci0
Mar  6 17:03:54 ps9996 kernel: atapci1: <VIA 8237 UDMA133 controller> 
port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe500-0xe50f at devi
ce 15.1 on pci0
Mar  6 17:03:54 ps9996 kernel: ata0: <ATA channel 0> on atapci1
Mar  6 17:03:54 ps9996 kernel: ata1: <ATA channel 1> on atapci1
Mar  6 17:03:54 ps9996 kernel: uhci0: <VIA 83C572 USB controller> 
port 0xe600-0xe61f irq 12 at device 16.0 on pci0
Mar  6 17:03:54 ps9996 kernel: uhci0: [GIANT-LOCKED]
Mar  6 17:03:54 ps9996 kernel: usb0: <VIA 83C572 USB controller> on uhci0
Mar  6 17:03:54 ps9996 kernel: usb0: USB revision 1.0
Mar  6 17:03:54 ps9996 kernel: uhub0: VIA UHCI root hub, class 9/0, 
rev 1.00/1.00, addr 1
Mar  6 17:03:54 ps9996 kernel: uhub0: 2 ports with 2 removable, self powered
Mar  6 17:03:54 ps9996 kernel: uhci1: <VIA 83C572 USB controller> 
port 0xe700-0xe71f irq 12 at device 16.1 on pci0
Mar  6 17:03:54 ps9996 kernel: uhci1: [GIANT-LOCKED]
Mar  6 17:03:54 ps9996 kernel: usb1: <VIA 83C572 USB controller> on uhci1
Mar  6 17:03:54 ps9996 kernel: usb1: USB revision 1.0
Mar  6 17:03:54 ps9996 kernel: uhub1: VIA UHCI root hub, class 9/0, 
rev 1.00/1.00, addr 1
Mar  6 17:03:54 ps9996 kernel: uhub1: 2 ports with 2 removable, self powered
Mar  6 17:03:54 ps9996 kernel: uhci2: <VIA 83C572 USB controller> 
port 0xe800-0xe81f irq 10 at device 16.2 on pci0
Mar  6 17:03:54 ps9996 kernel: uhci2: [GIANT-LOCKED]
Mar  6 17:03:54 ps9996 kernel: usb2: <VIA 83C572 USB controller> on uhci2
Mar  6 17:03:54 ps9996 kernel: usb2: USB revision 1.0
Mar  6 17:03:54 ps9996 kernel: uhub2: VIA UHCI root hub, class 9/0, 
rev 1.00/1.00, addr 1
Mar  6 17:03:54 ps9996 kernel: uhub2: 2 ports with 2 removable, self powered
Mar  6 17:03:54 ps9996 kernel: uhci3: <VIA 83C572 USB controller> 
port 0xe900-0xe91f irq 10 at device 16.3 on pci0
Mar  6 17:03:54 ps9996 kernel: uhci3: [GIANT-LOCKED]
Mar  6 17:03:54 ps9996 kernel: usb3: <VIA 83C572 USB controller> on uhci3
Mar  6 17:03:54 ps9996 kernel: usb3: USB revision 1.0
Mar  6 17:03:54 ps9996 kernel: uhub3: VIA UHCI root hub, class 9/0, 
rev 1.00/1.00, addr 1
Mar  6 17:03:54 ps9996 kernel: uhub3: 2 ports with 2 removable, self powered
Mar  6 17:03:54 ps9996 kernel: pci0: <serial bus, USB> at device 16.4 
(no driver attached)
Mar  6 17:03:54 ps9996 kernel: isab0: <PCI-ISA bridge> at device 17.0 on pci0
Mar  6 17:03:54 ps9996 kernel: isa0: <ISA bus> on isab0
Mar  6 17:03:54 ps9996 kernel: pci0: <multimedia, audio> at device 
17.5 (no driver attached)
Mar  6 17:03:54 ps9996 kernel: vr0: <VIA VT6102 Rhine II 
10/100BaseTX> port 0xdc00-0xdcff mem 0xfc003000-0xfc0030ff irq 12 at device
  18.0 on pci0
Mar  6 17:03:54 ps9996 kernel: miibus1: <MII bus> on vr0
Mar  6 17:03:54 ps9996 kernel: ukphy0: <Generic IEEE 802.3u media 
interface> on miibus1
Mar  6 17:03:54 ps9996 kernel: ukphy0:  10baseT, 10baseT-FDX, 
100baseTX, 100baseTX-FDX, auto
Mar  6 17:03:54 ps9996 kernel: vr0: Ethernet address: 00:03:1d:02:0a:fd
Mar  6 17:03:54 ps9996 kernel: acpi_tz0: <Thermal Zone> on acpi0
Mar  6 17:03:54 ps9996 kernel: fdc0: <floppy drive controller> port 
0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0
Mar  6 17:03:54 ps9996 kernel: fdc0: [FAST]
Mar  6 17:03:54 ps9996 kernel: sio0: <16550A-compatible COM port> 
port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
Mar  6 17:03:54 ps9996 kernel: sio0: type 16550A, console
Mar  6 17:03:54 ps9996 kernel: sio1: <16550A-compatible COM port> 
port 0x2f8-0x2ff irq 3 on acpi0
Mar  6 17:03:54 ps9996 kernel: sio1: type 16550A
Mar  6 17:03:54 ps9996 kernel: sio2: <16550A-compatible COM port> 
port 0x3e8-0x3ef irq 5 on acpi0
Mar  6 17:03:54 ps9996 kernel: sio2: type 16550A
Mar  6 17:03:54 ps9996 kernel: sio3: <16550A-compatible COM port> 
port 0x2e8-0x2ef irq 11 on acpi0
Mar  6 17:03:54 ps9996 kernel: sio3: type 16550A
Mar  6 17:03:54 ps9996 kernel: atkbdc0: <Keyboard controller (i8042)> 
port 0x60,0x64 irq 1 on acpi0
Mar  6 17:03:54 ps9996 kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
Mar  6 17:03:54 ps9996 kernel: kbd0 at atkbd0
Mar  6 17:03:54 ps9996 kernel: atkbd0: [GIANT-LOCKED]
Mar  6 17:03:54 ps9996 kernel: orm0: <ISA Option ROMs> at iomem 
0xc0000-0xcf7ff,0xd0000-0xd3fff on isa0
Mar  6 17:03:54 ps9996 kernel: sc0: <System console> at flags 0x100 on isa0
Mar  6 17:03:54 ps9996 kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Mar  6 17:03:54 ps9996 kernel: vga0: <Generic ISA VGA> at port 
0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Mar  6 17:03:54 ps9996 kernel: Timecounter "TSC" frequency 796770007 
Hz quality 800
Mar  6 17:03:54 ps9996 kernel: Timecounters tick every 1.000 msec
Mar  6 17:03:54 ps9996 kernel: Fast IPsec: Initialized Security 
Association Processing.
Mar  6 17:03:54 ps9996 kernel: ipfw2 (+ipv6) initialized, divert 
loadable, rule-based forwarding enabled, default to accept, logging
  limited to 9100 packets/entry by default
Mar  6 17:03:54 ps9996 kernel: ad0: 38166MB <Seagate ST340014A 8.54> 
at ata0-master UDMA100
Mar  6 17:03:54 ps9996 kernel: Trying to mount root from ufs:/dev/ad0s1a
Mar  6 17:03:55 ps9996 kernel: vr0: link state changed to UP
Mar  6 17:04:00 ps9996 kernel: rl0: promiscuous mode enabled
Mar  6 17:04:00 ps9996 kernel: Loading itxwd module.
Mar  6 17:04:00 ps9996 kernel: itxwd0: <Winbond 83697 watchdog 
device> on motherboard
Mar  6 17:04:00 ps9996 kernel: itxwd0: Watchdog ready...
Mar  6 17:04:00 ps9996 kernel: itxwd0: Watchdog armed



--------------------------------------------------------------------
Mike Tancsa,                                      tel +1 519 651 3400
Sentex Communications,                            mike@sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada                         www.sentex.net/mike




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.2.3.4.0.20060313232855.107fa680>