Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Aug 2003 16:57:14 -0500
From:      Guy Helmer <ghelmer@palisadesys.com>
To:        freebsd-current@freebsd.org
Subject:   ATA-ng, Asus A7V, Promise UDMA-100 controller
Message-ID:  <1062367034.57542.15.camel@volans>

next in thread | raw e-mail | index | archive | help
I just tried to upgrade my 4.8 machine to -current cvsupped Aug 30. 
However, the new kernel (GENERIC) has crashed to the debugger two out of
the three times that I've tried to boot it.  Nothing is attached to ata3
(the second Promise channel). A SAMSUNG SC-140B CD-ROM at at ata0-master
(PIO4), a TOSHIBA DVD-ROM SD-R1002 (CD-RW + DVD-ROM) is at ata0-slave
(PIO4), and a Maxtox 53073H6 [59554/16/63] drive is at ata2-master
(UDMA100) (the first Promise channel).

The messages go like this:

...
ata3-master: WARNING - ATA_IDENTIFY recovered from missing interrupt
ad6: WARNING - SETFEATURES recovered from missing interrupt
ad6: WARNING - SETFEATURES recovered from missing interrupt
ad6: WARNING - SETFEATURES recovered from missing interrupt
Fatal trap 18: integer divide fault while in kernel mode
instruction pointer = 0x8:0xc04d8c1b
stack pointer       = 0x10:0xc0728c2c
frame pointer       = 0x10:0xc0728cac
code segment        = base 0x0, limit 0xfffff, type 0x1b
                    = DPL0, pres 1, def32 1, gran 1
processor eflags    = interrupt enabled, resume, IOPL = 0
current process     = 0 (swapper)
kernel: type 18 trap, code 0
Stopped at __qdivrem+0x3b: divl %ecx,%eax
db> where
__qdivrem(0,0,0,0,0) at __qdivrem+0x3b
__udivi3(0,0,0,0,0) at __udivi3+0x2e
ad_print(c2671400,c2671470,1,0,0) at ad_print+0x1d3
ad_attach(c26198a4,c256c7e0,c05bde50,c0728d80) at ad_attach+0x446
ata_boot_attach(0,0,c0728d80,c03346a6,0) at ata_boot_attach+0x47
run_interrupt_driven_config_hooks(0,725000,725c00,725000,0)
  at run_interrupt_driven_config_hooks+0x2b
mi_startup() at mi_startup_0xb5
begin() at begin+0x2c

Any thoughts?  Maybe I can disable the second channel of the Promise
device somehow so I can get it to boot...


Here is the dmesg from the 4.8 kernel:
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.8-STABLE #8: Thu Jun 12 18:46:57 CDT 2003
    ghelmer@spencer.cs.iastate.edu:/usr/src/sys/compile/SPENCER
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Duron(tm) Processor (706.29-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x630  Stepping = 0
 
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
  AMD Features=0xc0440000<RSVD,AMIE,DSP,3DNow!>
real memory  = 268353536 (262064K bytes)
avail memory = 257290240 (251260K bytes)
Preloaded elf kernel "kernel" at 0xc03ef000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00f1750
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <VIA 8363 (Apollo KT133) PCI-PCI (AGP) bridge> at device 1.0 on
pci0
pci1: <PCI bus> on pcib1
pci1: <ATI Mach64-GB graphics accelerator> at 0.0 irq 11
isab0: <VIA 82C686 PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA66 controller> port 0xb800-0xb80f at device 4.1
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xb400-0xb41f irq 5 at device
4.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr 2
uhub1: 4 ports with 4 removable, self powered
ugen0: Compaq Computers product 0x0003, rev 1.00/0.00, addr 3
uscanner0: Hewlett Packard Scanjet 4300C, rev 1.00/0.00, addr 4
uscanner0: setting config no failed
device_probe_and_attach: uscanner0 attach returned 6
uhub1: port 3, set config at addr 4 failed
uhub1: device problem, disabling port 3
ulpt0: Lexmark Lexmark Z42, rev 1.00/1.00, addr 4, iclass 7/1
uhci1: <VIA 83C572 USB controller> port 0xb000-0xb01f irq 5 at device
4.3 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub3: ALCOR Generic USB Hub, class 9/0, rev 1.10/1.00, addr 2
uhub3: 4 ports with 4 removable, self powered
pci0: <unknown card> (vendor=0x1106, dev=0x3057) at 4.4
dc0: <LC82C115 PNIC II 10/100BaseTX> port 0x9400-0x94ff mem
0xe1800000-0xe18000ff irq 15 at device 10.0 on pci0
dc0: Ethernet address: 00:a0:cc:37:0a:17
miibus0: <MII bus> on dc0
dcphy0: <Intel 21143 NWAY media interface> on miibus0
dcphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tekram_trm0: <Tekram DC395U/UW/F DC315/U Fast20 Wide SCSI Adapter> port
0x9000-0x90ff mem 0xe1000000-0xe1000fff irq 10 at device 11.0 on pci0
tekram_trm0: driver is using old-style compatibility shims
pcm0: <Creative CT5880-C> port 0x8800-0x883f irq 11 at device 12.0 on
pci0
pcm0: <SigmaTel STAC9708/9711 ac97 codec>
atapci1: <Promise ATA100 controller> port
0x7000-0x703f,0x7400-0x7403,0x7800-0x7807,0x8000-0x8003,0x8400-0x8407
mem 0xe0800000-0xe081ffff irq 10 at device 17.0 on pci0
ata2: at 0x8400 on atapci1
ata3: at 0x7800 on atapci1
orm0: <Option ROMs> at iomem
0xc0000-0xcbfff,0xcc000-0xce7ff,0xd0000-0xd7fff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: cannot reserve I/O port range
IP packet filtering initialized, divert enabled, rule-based forwarding
enabled, default to deny, logging limited to 100 packets/entry by
default
ata3-slave: ATA identify retries exceeded
ata3-master: ATA identify retries exceeded
ad4: 29311MB <Maxtor 53073H6> [59554/16/63] at ata2-master UDMA100
acd0: CDROM <SAMSUNG SC-140B> at ata0-master PIO4
acd1: CD-RW <TOSHIBA DVD-ROM SD-R1002> at ata0-slave PIO4
Waiting 5 seconds for SCSI devices to settle
Mounting root from ufs:/dev/ad4s3a
da0 at tekram_trm0 bus 0 target 5 lun 0
da0: <IOMEGA ZIP 100 D.09> Removable Direct Access SCSI-2 device 
da0: 21KB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
dc0: TX underrun -- increasing TX threshold
dc0: TX underrun -- increasing TX threshold

-- 
Guy Helmer <ghelmer@palisadesys.com>



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