Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 May 2002 20:47:17 -0400 (EDT)
From:      Dave Hummel <dave@webgator.com>
To:        <stable@FreeBSD.ORG>
Subject:   Re: burncd, panic ATA woes -Serious
Message-ID:  <20020514202627.C7815-100000@ns1.webgator.com>
In-Reply-To: <20020512141840.B99097-100000@ns1.webgator.com>

next in thread | previous in thread | raw e-mail | index | archive | help

I hope I'm overlooking something...

I verfied this with a clean install - seems like it may be a serious
problem.

I did more testing:

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 (o-clocked to 450).

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

On Sun, 12 May 2002, Dave Hummel wrote:

> ---------------------------------------------------------------------------------------
> # dmesg
>
> Copyright (c) 1992-2002 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.6-PRERELEASE #0: Fri May 10 00:27:54 EDT 2002
>     dave@amy.webgator.com:/export/cvsup/freebsd4/src/sys/compile/AMY.debug
> 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 = 779034624 (760776K bytes)
> Preloaded elf kernel "kernel" at 0xc03f0000.
> Preloaded elf module "splash_pcx.ko" at 0xc03f009c.
> K6-family MTRR support enabled (2 registers)
> md0: Malloc disk
> module_register_init: MOD_LOAD (splash_pcx, c03ec6c8, 0) error 2
> 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: <Intel 21143 10/100BaseTX> port 0xdc00-0xdc7f mem 0xe2004000-0xe20043ff irq 10 at device 10.0 on pci0
> dc0: Ethernet address: 00:88:86:88:86:88
> 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:88:86:88:86:88
> 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 WDMA2
> 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
>
>
> $ gdb -k ./kernel.debug /var/crash/vmcore.3
> GNU gdb 4.18
> Copyright 1998 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i386-unknown-freebsd"...
> IdlePTD at phsyical address 0x0040f000
> initial pcb at physical address 0x00360200
> panicstr: from debugger
> panic messages:
> ---
> Fatal trap 12: page fault while in kernel mode
> fault virtual address   = 0xc
> fault code              = supervisor read, page not present
> instruction pointer     = 0x8:0xc0148a7d
> stack pointer           = 0x10:0xde88ed24
> frame pointer           = 0x10:0xde88ed30
> 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         = 192 (burncd)
> interrupt mask          = none
> panic: from debugger
>
>
> Fatal trap 12: page fault while in kernel mode
> fault virtual address   = 0xc
> fault code              = supervisor read, page not present
> instruction pointer     = 0x8:0xc0148a7d
> stack pointer           = 0x10:0xde88ed24
> frame pointer           = 0x10:0xde88ed30
> 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         = 192 (burncd)
> interrupt mask          = none
>
>
> Fatal trap 12: page fault while in kernel mode
> fault virtual address   = 0xc
> fault code              = supervisor read, page not present
> instruction pointer     = 0x8:0xc0148a7d
> stack pointer           = 0x10:0xde88ed24
> frame pointer           = 0x10:0xde88ed30
> 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         = 192 (burncd)
> interrupt mask          = none
>
>
> Fatal trap 12: page fault while in kernel mode
> fault virtual address   = 0xc
> fault code              = supervisor read, page not present
> instruction pointer     = 0x8:0xc0148a7d
> stack pointer           = 0x10:0xde88ed24
> frame pointer           = 0x10:0xde88ed30
> 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         = 192 (burncd)
> interrupt mask          = none
>
>
> Fatal trap 12: page fault while in kernel mode
> fault virtual address   = 0xc
> fault code              = supervisor read, page not present
> instruction pointer     = 0x8:0xc0148a7d
> stack pointer           = 0x10:0xde88ed24
> frame pointer           = 0x10:0xde88ed30
> 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         = 192 (burncd)
> interrupt mask          = none
> panic: from debugger
> Uptime: 7m20s
>
> #0  dumpsys () at ../../kern/kern_shutdown.c:487
> 487             if (dumping++) {
> (kgdb) where
> #0  dumpsys () at ../../kern/kern_shutdown.c:487
> #1  0xc017cb2b in boot (howto=260) at ../../kern/kern_shutdown.c:316
> #2  0xc017cf69 in panic (fmt=0xc02cd204 "from debugger") at ../../kern/kern_shutdown.c:595
> #3  0xc013530d in db_panic (addr=-1072395651, have_addr=0, count=-1, modif=0xde88eb90 "")
>     at ../../ddb/db_command.c:435
> #4  0xc01352ad in db_command (last_cmdp=0xc0308244, cmd_table=0xc0308084, aux_cmd_tablep=0xc034ef98)
>     at ../../ddb/db_command.c:333
> #5  0xc0135372 in db_command_loop () at ../../ddb/db_command.c:457
> #6  0xc01374af in db_trap (type=12, code=0) at ../../ddb/db_trap.c:71
> #7  0xc02a89e2 in kdb_trap (type=12, code=0, regs=0xde88ece4) at ../../i386/i386/db_interface.c:158
> #8  0xc02b8638 in trap_fatal (frame=0xde88ece4, eva=12) at ../../i386/i386/trap.c:961
> #9  0xc02b8311 in trap_pfault (frame=0xde88ece4, 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 = -561451728, tf_isp = -561451760, tf_ebx = -1023039488, tf_edx = 9, tf_ecx = 0, tf_eax = 3000,
>       tf_trapno = 12, tf_err = 0, tf_eip = -1072395651, tf_cs = 8, tf_eflags = 66182, tf_esp = -1023961088,
>       tf_ss = -1024001792}) at ../../i386/i386/trap.c:458
> #11 0xc0148a7d in atapi_queue_cmd (atadev=0x0, ccb=0xde88ed58 "\036", data=0x0, count=0, flags=0, timeout=30,
>     callback=0, driver=0x0) at ../../dev/ata/atapi-all.c:187
> #12 0xc014cdc6 in acd_prevent_allow (cdp=0xc2f79800, lock=1) at ../../dev/ata/atapi-cd.c:1915
> #13 0xc014a8b8 in acdopen (dev=0xc2f6f900, flags=3, fmt=8192, p=0xda0fd8a0) at ../../dev/ata/atapi-cd.c:499
> #14 0xc01b4f0d in spec_open (ap=0xde88edfc) at ../../miscfs/specfs/spec_vnops.c:193
> #15 0xc01b4e0d in spec_vnoperate (ap=0xde88edfc) at ../../miscfs/specfs/spec_vnops.c:119
> #16 0xc025ca6d in ufs_vnoperatespec (ap=0xde88edfc) at ../../ufs/ufs/ufs_vnops.c:2440
> #17 0xc01b0ddf in vn_open (ndp=0xde88eec8, fmode=3, cmode=0) at vnode_if.h:189
> #18 0xc01acce4 in open (p=0xda0fd8a0, uap=0xde88ef80) at ../../kern/vfs_syscalls.c:1028
> #19 0xc02b8919 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = -1077937084,
>       tf_esi = -1077937096, tf_ebp = -1077937180, tf_isp = -561451052, tf_ebx = -1077936858,
>       tf_edx = -1077937096, tf_ecx = 672014976, tf_eax = 5, tf_trapno = 12, tf_err = 2, tf_eip = 671966436,
>       tf_cs = 31, tf_eflags = 663, tf_esp = -1077938328, tf_ss = 47}) at ../../i386/i386/trap.c:1167
> #20 0xc02a98b5 in Xint0x80_syscall ()
> #21 0x8048985 in ?? ()
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
>


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?20020514202627.C7815-100000>