Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Oct 2002 22:57:07 +0900 (JST)
From:      Takahashi Yoshihiro <nyan@jp.FreeBSD.org>
To:        phk@critter.freebsd.dk
Cc:        current@FreeBSD.org
Subject:   Re: GEOM
Message-ID:  <20021015.225707.74660367.nyan@jp.FreeBSD.org>
In-Reply-To: <13025.1034605675@critter.freebsd.dk>
References:  <20021014.224640.78758544.nyan@jp.FreeBSD.org> <13025.1034605675@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
----Next_Part(Tue_Oct_15_22:57:07_2002_031)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

In article <13025.1034605675@critter.freebsd.dk>
Poul-Henning Kamp <phk@critter.freebsd.dk> writes:

> >After this commit, the wd driver causes panic at wdsleep() via
> >wdopen(). Please fix this problem or back out your change.
> 
> Can you provide some details on this panic ?

I attach panic message.

---
TAKAHASHI Yoshihiro <nyan@FreeBSD.org>

----Next_Part(Tue_Oct_15_22:57:07_2002_031)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename=wd-panic

Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1994-2002 FreeBSD(98) porting team.
Copyright (c) 1992  A.Kojima F.Ukai M.Ishii (KMC).
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #48: Tue Oct 15 22:33:48 JST 2002
    nyan@cerberus.ccs.furiru.org:/usr/src/sys/pc98/compile/YUE
Preloaded elf kernel "/boot/kernel/kernel" at 0xc049f000.
Timecounter "i8254"  frequency 2457600 Hz
CPU: Pentium Pro (198.95-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x616  Stepping = 6
  Features=0xf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV>
real memory  = 134217728 (131072K bytes)
avail memory = 124321792 (121408K bytes)
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
apm0: <APM BIOS> at port 0x6b8e on motherboard
apm0: found APM BIOS v1.11, connected at v1.0
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 6.0 on pci0
isa0: <ISA bus> on isab0
pci0: <display> at device 7.0 (no driver attached)
pci0: <display, VGA> at device 8.0 (no driver attached)
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0x6000-0x601f mem 0x20500000-0x205fffff,0x20410000-0x20410fff irq 3 at device 11.0 on pci0
fxp0: Ethernet address xx:xx:xx:xx:xx:xx
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0x6100-0x61ff mem 0x20411000-0x20411fff irq 3 at device 16.0 on pci0
aic7880: Ultra Single Channel A, SCSI Id=7, 16/253 SCBs
pnpbios: error 0/82 getting device count/size limit
orm0: <Option ROM> at iomem 0xdc000-0xdf7ff on isa0
fdc0 at port 0x4be,0xbe,0x94,0x92,0x90 irq 11 drq 2 on isa0
fd0: <1.44M FDD> on fdc0 drive 0
wdc0 at port 0x640-0x647 irq 9 on isa0
wdc0: unit 0 (wd0): <QUANTUM FIREBALL ST3.2A>
wd0: 3079MB (6306048 sectors), 46368 cyls, 8 heads, 17 S/T, 512 B/S
wdc0: unit 2 (wd1): <WDC AC1425F>
wd1: 407MB (833544 sectors), 6129 cyls, 8 heads, 17 S/T, 512 B/S
wdc0: unit 1 (wd2): <WDC AC21200H>
wd2: 1222MB (2503760 sectors), 18410 cyls, 8 heads, 17 S/T, 512 B/S
wdc0: unit 3 (atapi): <MATSHITA CR-582/108N>, removable, accel, dma, iordis
wcd0: drive speed 1031KB/sec, 128KB cache
wcd0: supported read types: CD-R, CD-DA
wcd0: Audio: play, 256 volume levels
wcd0: Mechanism: ejectable tray
wcd0: Medium: no/blank disc inside, unlocked
wdc0: driver is using old-style compatibility shims
pckbd0: <PC-98 Keyboard> at port 0x43,0x41 irq 1 on isa0
kbd0 at pckbd0
gdc0: <Generic GDC> at port 0xaf,0xad,0xab,0xa9,0xa7,0xa5,0xa3,0xa1,0x7e,0x7c,0x7a,0x78,0x76,0x74,0x72,0x70,0x9ae,0x9ac,0x9aa,0x9a8,0x9a6,0x9a4,0x9a2,0x9a0,0x4ae,0x4ac,0x4aa,0x4a8,0x4a6,0x4a4,0x4a2,0x4a0,0xae,0xac,0xaa,0xa8,0xa6,0xa4,0xa2,0xa0,0x6e,0x6c,0x6a,0x68,0x66,0x64,0x62,0x60 iomem 0xe0000-0xe7fff,0xa8000-0xbffff,0xa0000-0xa4fff on isa0
sc0: <System console> on isa0
sc0: PC-98x1 <16 virtual consoles, flags=0x0>
pmtimer0 on isa0
Found OPTi device OPTi930
pcm0: <OPTi930> at port 0xf8f-0xf97,0xe0e,0xf40-0xf47 irq 12 drq 1 flags 0x1b000 on isa0
drq/irq conf 22
sio0 at port 0x30 irq 4 on isa0
sio0: type (internal fifo v-fast)
sio1 at port 0x238-0x23f irq 5 flags 0x12000010 on isa0
sio1: type 16550A, console
sio2: configured irq 5 not in bitmap of probed irqs 0
sio2: port may not be enabled
sio3: configured irq 5 not in bitmap of probed irqs 0
sio3: port may not be enabled
sio4 at port 0x10be,0x10bc,0x10ba,0x10b8,0x10b6,0x10b4,0x10b2,0x10b0 irq 10 flags 0x15000401 on isa0
sio4: type 16550A (RSB-3000) (multiport master)
sio5: configured irq 10 not in bitmap of probed irqs 0
sio5: port may not be enabled
sio5 at port 0x10bf,0x10bd,0x10bb,0x10b9,0x10b7,0x10b5,0x10b3,0x10b1 flags 0x15000401 on isa0
sio5: type 16550A (RSB-3000) (multiport)
sio6: configured irq 6 not in bitmap of probed irqs 0
sio6: port may not be enabled
sio7: configured irq 6 not in bitmap of probed irqs 0
sio7: port may not be enabled
sio8: configured irq 5 not in bitmap of probed irqs 0
sio8: port may not be enabled
mse0: <Bus/InPort Mouse> at port 0x7fdf,0x7fdd,0x7fdb,0x7fd9 irq 13 on isa0
ppc0: <Parallel port> at port 0x140-0x147 irq 14 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
Timecounters tick every 10.000 msec
Initializing GEOMetry subsystem
Waiting 15 seconds for SCSI devices to settle
g_pc98_taste: error 45 Sectors are 512 bytes
g_error 45 Mediasize is 0 bytes
g_pc98_taste: error 45 guessing 17 sectors
g_pc98_taste: error 45 guessing 8 heads
da0 at ahc0 bus 0 target 0 lun 0
da0: <I-O DATA HDVS-UM20G 200F> Fixed Direct Access SCSI-2 device 
da0: 20.000MB/s transfers (20.000MHz, offset 15)
da0: 19546MB (40031712 512 byte sectors: 8H 128S/T 39092C)
Mounting root from ufs:/dev/da0s1a
Entropy harvesting: interrupts ethernet point_to_point.
kernel dumps on /dev/da0s1b
swapon: adding /dev/da0s1b as swap device
Starting file system checks:
/dev/da0s1a: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/da0s1a: clean, 4909387 free (6939 frags, 612806 blocks, 0.1% fragmentation)
Doing initial network setup: hostname.
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet xxx.xxx.xxx.xxx netmask 0xffffff00 broadcast xxx.xxx.xxx.xxx
        inet6 fe80::xx:xx:xx:xx%fxp0 prefixlen 64 tentative scopeid 0x1 
        ether xx:xx:xx:xx:xx:xx
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128 
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 
        inet 127.0.0.1 netmask 0xff000000 
add net default: gateway xxx.xxx.xxx.xxx
Additional routing options:.
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
net.inet6.ip6.forwarding: 0 -> 0
net.inet6.ip6.accept_rtadv: 0 -> 1
add net fe80::: gateway ::1
add net ff02::: gateway ::1
IPv4 mapped IPv6 address support=NO
Mounting NFS file systems:.
Starting syslogd.
Oct 15 22:41:07 yue syslogd: kernel boot file is /boot/kernel/kernel
Checking for core dump...
savecore: no dumps found
Starting rpcbind.
NFS access cache time=2
ELF ldconfig path: /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout /usr/local/lib/aout
Starting apm.
Starting apmd.
Starting local daemons:.
Starting lpd.
Updating motd.
Starting ntpd.
Configuring syscons: blanktime.
Starting sshd.
Starting sendmail.
Initial i386 initialization:.
Additional ABI support: linux.
Additional TCP options:.
Starting moused:.
Starting inetd.
Starting cron.
Starting background file system checks.

Tue Oct 15 22:41:16 JST 2002
Expensive timeout(9) function: 0xc032dd40(0) 0.001017240O
FreeBSD/i386 (yue.ccs.furiru.org) (ttyd1)

login:
FreeBSD/i386 (yue.ccs.furiru.org) (ttyd1)

login: Expensive timeout(9) function: 0xc032dd40(0) 0.001030668

(yue.ccs.furiru.org) (ttyd1)

login: root
Password:
Oct 15 22:43:21 yue login: ROOT LOGIN (root) ON ttyd1
Last login: Tue Oct 15 00:51:03 on ttyv0
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 5.0-CURRENT (YUE) #48: Tue Oct 15 22:33:48 JST 2002

Welcome to FreeBSD!

Before seeking technical support, please use the following resources:

o  Security advisories and updated errata information for all releases are
   at http://www.FreeBSD.org/releases/ - always consult the ERRATA section
   for your release first as it's updated frequently.

o  The Handbook and FAQ documents are at http://www.FreeBSD.org/ and,
   along with the mailing lists, can be searched by going to
   http://www.FreeBSD.org/search/.  If the doc distribution has
   been installed, they're also available formatted in /usr/share/doc.

If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions@FreeBSD.org mailing list.  If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
man page.  If you are not familiar with man pages, type `man man'.

You may also use sysinstall(8) to re-enter the installation and
configuration utility.  Edit /etc/motd to change this login announcement.

yue# fdisk wd0


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xf6d710e0
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc03500c7
stack pointer           = 0x10:0xc8d7f8e0
frame pointer           = 0x10:0xc8d7f900
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         = 526 (fdisk)
kernel: type 12 trap, code=0
Stopped at      wdsleep+0x27:   cmpl    $0,wdtab+0x20(,%eax,4)
db> stray irq 7
stray irq 7
stray irq 7
stray irq 7
stray irq 7
got 5 stray irq 7's: not logging anymore
Context switches not allowed in the debugger.
db> tr
wdsleep(c1842400,c0388fd2,c0215803,3,10002) at wdsleep+0x27
wdopen(c03e50a0,1,2000,c183ba90,c8d7f954) at wdopen+0xa1
diskopen(c03e50a0,1,2000,c183ba90,c0420100) at diskopen+0xec
spec_open(c8d7fa24,c8d7fac0,c025e451,c8d7fa24,10002) at spec_open+0x275
spec_vnoperate(c8d7fa24,10002,20e,100,c183ba90) at spec_vnoperate+0x18
vn_open_cred(c8d7fbc0,c8d7fcc0,0,c1da5380,c8d7fcac) at vn_open_cred+0x411
vn_open(c8d7fbc0,c8d7fcc0,0,c183ba90,0) at vn_open+0x29
kern_open(c183ba90,80581a0,0,1,0) at kern_open+0x1c5
open(c183ba90,c8d7fd10,c,c1da5380,3) at open+0x30
syscall(2f,2f,2f,8054fd7,bfbffd4f) at syscall+0x3fa
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (5, FreeBSD ELF32, open), eip = 0x8049b63, esp = 0xbfbffb7c, ebp = 0xbfbffbf8 ---


----Next_Part(Tue_Oct_15_22:57:07_2002_031)----

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




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