Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 2002 09:24:00 -0400 (EDT)
From:      Dave Hummel <dave@webgator.com>
To:        <stable@freebsd.org>
Subject:   ATA still panics
Message-ID:  <20020603091921.D91829-100000@ns1.webgator.com>

next in thread | raw e-mail | index | archive | help
1 - Installed Current from 5.0-DP1-install.iso - No problems.

2 - Installed 4.5-Release from CD - No problems.

3 - Immediately supped the latest code, built world, built kernel. Ran
mergemaster, and rebooted. Did a mount -t cd9660 /dev/acd0c /mnt  - panic.
Rebooted, did mount -t cd9660 /dev/acd0a /mnt - panic.

Mobo Tyan Trinity, AMD K6II 3D 400.

I have been running this configuration for a long time w/o complaints from
NetBSD, QNX, Linux, or earlier FreeBSD - don't know about Win*.

I am willing to provide any information and test any patches.

Thanks,
Dave

----------------------------------------------------------------------------------

FreeBSD 4.6-RC #0: Sun Jun  2 16:39:05 EDT 2002
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD-K6(tm) 3D processor (451.02-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
  Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
  AMD Features=0x80000800<SYSCALL,3DNow!>
real memory  = 805306368 (786432K bytes)
avail memory = 779042816 (760784K bytes)
Preloaded elf kernel "kernel" at 0xc03ee000.
K6-family MTRR support enabled (2 registers)
md0: Malloc disk
Using $PIR table, 6 entries at 0xc00fddf0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on
pci0
pci1: <PCI bus> on pcib2
isab0: <VIA 82C586 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C586 ATA33 controller> port 0xd000-0xd00f at device 7.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <unknown card> (vendor=0x1106, dev=0x3040) at 7.3
pci0: <ATI model 5050 graphics accelerator> at 8.0 irq 11
dc0: <ADMtek AN985 10/100BaseTX> port 0xdc00-0xdcff mem
0xe2004000-0xe20043ff irq 10 at device 10.0 on pci0
dc0: Ethernet address: 00:00:00:00:00:00
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: <RealTek 8139 10/100BaseTX> port 0xe000-0xe0ff mem
0xe2005000-0xe20050ff irq 12 at device 11.0 on pci0
rl0: Ethernet address: 00:00:00:00:00:00B
miibus1: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus1
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib1: <Host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib1
isa0: too many dependant configs (8)
orm0: <Option ROM> at iomem 0xc0000-0xc7fff 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
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: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: IEEE1284 device found /NIBBLE/PS2/ECP
Probing for PnP devices on ppbus0:
ppbus0: <Brother HL-1270N series> PRINTER PJL,PCL,PCLXL,POSTSCRIPT
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sbc1: <Creative SB AWE64 Gold> at port 0x220-0x22f,0x330-0x331,0x388-0x38b
irq 5 drq 1,5 on isa0
pcm0: <SB16 DSP 4.16> on sbc1
IP Filter: v3.4.27 initialized.  Default = block all, Logging = enabled
ad0: READ command timeout tag=0 serv=0 - resetting
ata0: resetting devices .. done
ad0: 10300MB <FUJITSU MPD3108AT> [20928/16/63] at ata0-master UDMA33
ad2: 38182MB <MAXTOR 4K040H2> [77578/16/63] at ata1-master UDMA33
acd0: CD-RW <YAMAHA CRW2100E> at ata1-slave PIO4
Mounting root from ufs:/dev/ad0s3a
ad0: READ command timeout tag=0 serv=0 - resetting
ata0: resetting devices .. done
ad0: READ command timeout tag=0 serv=0 - resetting
ata0: resetting devices .. done
ad0: READ command timeout tag=0 serv=0 - resetting
ad0: trying fallback to PIO mode
ata0: resetting devices .. done
ad0s2: rejecting partition in BSD label: it isn't entirely within the
slice
ad0s2: start 16374960, end 21092399, size 4717440
ad0s2d: start 0, end 21095423, size 21095424
WARNING: / was not properly dismounted



Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xc
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0148a59
stack pointer           = 0x10:0xde8dfd24
frame pointer           = 0x10:0xde8dfd30
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         = 336 (mount_cd9660)
interrupt mask          = none
panic: from debugger
panic: from debugger
Uptime: 3h43m38s

dumping to dev #ad/0x20011, offset 524288
dump ata1: resetting devices .. done

#0  dumpsys () at ../../kern/kern_shutdown.c:487
487             if (dumping++) {
(kgdb) where
#0  dumpsys () at ../../kern/kern_shutdown.c:487
#1  0xc017cb07 in boot (howto=260) at ../../kern/kern_shutdown.c:316
#2  0xc017cf45 in panic (fmt=0xc02cd484 "from debugger")
    at ../../kern/kern_shutdown.c:595
#3  0xc01352dd in db_panic (addr=-1072395687, have_addr=0, count=-1,
    modif=0xde8dfb90 "") at ../../ddb/db_command.c:435
#4  0xc013527d in db_command (last_cmdp=0xc0308ac4, cmd_table=0xc0308904,
    aux_cmd_tablep=0xc034f878) at ../../ddb/db_command.c:333
#5  0xc0135342 in db_command_loop () at ../../ddb/db_command.c:457
#6  0xc013747f in db_trap (type=12, code=0) at ../../ddb/db_trap.c:71
#7  0xc02a89ca in kdb_trap (type=12, code=0, regs=0xde8dfce4)
    at ../../i386/i386/db_interface.c:158
#8  0xc02b8638 in trap_fatal (frame=0xde8dfce4, eva=12)
    at ../../i386/i386/trap.c:961
#9  0xc02b8311 in trap_pfault (frame=0xde8dfce4, usermode=0, eva=12)
    at ../../i386/i386/trap.c:859
#10 0xc02b7e8b in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi
= 0,
      tf_esi = 0, tf_ebp = -561119952, tf_isp = -561119984, tf_ebx =
-1022506752,
      tf_edx = 9, tf_ecx = 0, tf_eax = 3000, tf_trapno = 12, tf_err = 0,
      tf_eip = -1072395687, tf_cs = 8, tf_eflags = 66182, tf_esp =
-1024016384,
      tf_ss = -1023997440}) at ../../i386/i386/trap.c:458
#11 0xc0148a59 in atapi_queue_cmd (atadev=0x0, ccb=0xde8dfd58 "\036",
data=0x0,
    count=0, flags=0, timeout=30, callback=0, driver=0x0)
    at ../../dev/ata/atapi-all.c:187
#12 0xc014cda2 in acd_prevent_allow (cdp=0xc2f6c000, lock=1)
    at ../../dev/ata/atapi-cd.c:1915
#13 0xc014a894 in acdopen (dev=0xc2f70a00, flags=1, fmt=8192,
p=0xda0fca00)
    at ../../dev/ata/atapi-cd.c:499
#14 0xc01b4ef5 in spec_open (ap=0xde8dfdfc)
    at ../../miscfs/specfs/spec_vnops.c:193
#15 0xc01b4df5 in spec_vnoperate (ap=0xde8dfdfc)
    at ../../miscfs/specfs/spec_vnops.c:119
#16 0xc025ca55 in ufs_vnoperatespec (ap=0xde8dfdfc)
    at ../../ufs/ufs/ufs_vnops.c:2440
#17 0xc01b0dc7 in vn_open (ndp=0xde8dfec8, fmode=1, cmode=0) at
vnode_if.h:189
#18 0xc01acccc in open (p=0xda0fca00, uap=0xde8dff80)
    at ../../kern/vfs_syscalls.c:1028
#19 0xc02b8919 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47,
      tf_edi = -1077936837, tf_esi = 2, tf_ebp = -1077938392,
      tf_isp = -561119276, tf_ebx = -1077937056, tf_edx = -1077936827,
      tf_ecx = -1077936827, tf_eax = 5, tf_trapno = 12, tf_err = 2,
      tf_eip = 134526148, tf_cs = 31, tf_eflags = 647, tf_esp =
-1077939252,
      tf_ss = 47}) at ../../i386/i386/trap.c:1167
#20 0xc02a98a5 in Xint0x80_syscall ()
#21 0x804832d in ?? ()
#22 0x8048135 in ?? ()
(kgdb)



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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