Date: Fri, 5 Apr 2002 08:45:56 -0800 (PST) From: "Richard S. Conto" <rsc@merit.edu> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/36790: kernel panic in biodone() on boot Message-ID: <200204051645.g35GjuA33498@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 36790
>Category: kern
>Synopsis: kernel panic in biodone() on boot
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Apr 05 08:50:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Richard S. Conto
>Release: STABLE cvsup'd 3/29/02 .. 4/2/02
>Organization:
Merit Network, Inc.
>Environment:
Unavailable
>Description:
Platform: Dell Inspiron 3000 CPU: Pentium/55V (quarter-micron) (cira 1997)
The last time I built a working system was March 19, 2002
(4.5-STABLE FreeBSD) This was based on source's I'd cvsup'd
the day before (I think.) I didn't build a system for several
weeks after that, so I'm not sure when the problem was introduced.
When booting, panic occurs in "biodone()" (/sys/kern/vfs_bio.c).
I don't know how to get a stack trace in this situation.
The messages immediately before are:
IP packet filtering initialized, divert disabled, rule-based forwarding
enabled, default to accept, logging limited to 100 packets/entry
by default
panic: biodone: bp 0xc10f2e00 not busy 0
When I "boot -v", I see:
ad0: Success setting UDMA2 on Intel chip
Creating disk ad0
pcic0: Autodetected 5.0V card
panic: bp 0xc10f2e00 not busy 0
On my old, working kernel, the messages around this area (normal boot)
are:
IP packet filtering initialized, divert disabled, rule-based forwarding enabled,
default to accept, logging limited to 100 packets/entry by default
ad0: 6194MB <IBM-DBCA-206480> [13424/15/63] at ata0-master UDMA33
acd0: CDROM <TOSHIBA CD-ROM XM-1702BC> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s2a
A "boot -v", with the old (working) kernel produces:
bpf: stf0 attached
bpf: faith0 attached
IP packet filtering initialized, divert disabled, rule-based forwarding enabled, de
fault to accept, logging limited to 100 packets/entry by default
bpf: ds0 attached
bpf: vlan0 attached
bpf: lo0 attached
ad0: success setting UDMA2 on Intel chip
Creating DISK ad0
ad0: <IBM-DBCA-206480/BC4OA85F> ATA-4 disk at ata0-master
ad0: 6194MB (12685680 sectors), 13424 C, 15 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, UDMA33
ad0: piomode=4 dmamode=2 udmamode=2 cblid=0
ata1-master: piomode=4 dmamode=2 udmamode=-1 dmaflag=1
ata1-master: success setting PIO4 on generic chip
acd0: <TOSHIBA CD-ROM XM-1702BC/1854> CDROM drive at ata1 as master
acd0: read 4134KB/s (34515KB/s), 128KB buffer, PIO4
acd0: Reads: CD-R, CD-RW, CD-DA stream
acd0: Writes:
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray, unlocked
acd0: Medium: no/blank disc
Mounting root from ufs:/dev/ad0s2a
pcic0: Autodetected 5.0V card
pccard: card inserted, slot 0
pcic0: reset 1 int is 0 stat is 7f
pcic1: Autodetected 5.0V card
pccard: card inserted, slot 1
pcic1: reset 1 int is 0 stat is 7f
pcic0: reset 2 int is 60 stat is 7f
ad0s1: type 0xb, start 63, end = 2101679, size 2101617 : OK
ad0s2: type 0xa5, start 2101680, end = 12685679, size 10584000 : OK
I have tried wiping /usr/src (and /usr/obj/*) and re-cvsuping
and I get similar results. I've tried pruning my kernel config
of some things (that weren't causing problems, even if they
weren't working) with similar results.
I am unable to get a dump of the paniced kernel, even when I
reboot with a known working kernel. I haven't tried booting
without my PCMCIA cards installed.
Because my kernel config is now much changed from GENERIC
(I've been incorporating the comments from LINT about various
features I've been playing with), I am using the following
scripts to compare my kernel config with GENERIC:
--- awk script : kernel.awk ---
/^#/ { next }
/^[ \t\f]*$/ { next }
/^[ \t\f]*\#/ { next }
{ print $1 "\t" $2 }
--- end of awk script : kernel.awk -----
The comparison process:
awk -f kernel.awk <GENERIC | sort -u >GENERIC.d
awk -f kernel.awk <INSPIRON3K | sort -u >INSPIRON3K.d
diff GENERIC.d INSPIRON.d
---- output of diff ---
1,2d0
< cpu I386_CPU
< cpu I486_CPU
4,13d1
< cpu I686_CPU
< device aac
< device adv0
< device adw
< device aha0
< device ahb
< device ahc
< device aic0
< device amd
< device amr
16d3
< device asr
22,23d8
< device atapifd
< device atapist
26,29d10
< device aue
< device awi
< device bge
< device bt0
32,34d12
< device ciss
< device cs0
< device cue
36d13
< device dc
38d14
< device dpt
42d17
< device ex
44d18
< device fd1
46d19
< device fe0
48,49d20
< device ida
< device ie0
51,53d21
< device isp
< device kue
< device lnc0
56,59c24
< device mlx
< device mly
< device ncr
< device ncv
---
> device nmdm
61d25
< device nsp
67d30
< device pcn
73d35
< device rl
77d38
< device sf
80,88d40
< device sio2
< device sio3
< device sis
< device sn0
< device ste
< device stg
< device sym
< device tl
< device twe
98d49
< device urio
102d52
< device vr
104d53
< device wb
107,109c56
< device xe
< device xl
< ident GENERIC
---
> ident INSPIRON3K
110a58
> makeoptions DEBUG=-g
115a64,66
> options DDB
> options DDB_UNATTENDED
> options DIAGNOSTIC
120a72,82
> options INVARIANTS
> options INVARIANT_SUPPORT
> options IPFIREWALL
> options IPFIREWALL_DEFAULT_TO_ACCEPT
> options IPFIREWALL_FORWARD
> options IPFIREWALL_VERBOSE
> options IPFIREWALL_VERBOSE_LIMIT=100
> options IPV6FIREWALL
> options IPV6FIREWALL_DEFAULT_TO_ACCEPT
> options IPV6FIREWALL_VERBOSE
> options IPV6FIREWALL_VERBOSE_LIMIT=100
122a85,86
> options LIBICONV
> options LIBMCHAIN
125a90
> options MROUTING
126a92,99
> options MSGMNB=2049
> options MSGMNI=41
> options MSGSEG=2049
> options MSGSSZ=16
> options MSGTQL=41
> options NETATALK
> options NETSMB
> options NETSMBCRYPTO
129a103,105
> options PPP_BSDCOMP
> options PPP_DEFLATE
> options PPP_FILTER
131c107,120
< options SCSI_DELAY=15000
---
> options SEMMAP=31
> options SEMMNI=11
> options SEMMNS=61
> options SEMMNU=31
> options SEMMSL=61
> options SEMOPM=101
> options SEMUME=11
> options SHMALL=1025
> options SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)"
> options SHMMAXPGS=1025
> options SHMMIN=2
> options SHMMNI=33
> options SHMSEG=9
> options SMBFS
133d121
< options SYM_SETUP_LP_PROBE_MAP=0x40
139a128
> options USER_LDT
140a130
> options XSERVER
142a133
> pseudo-device disc
145a137
> pseudo-device gzip
151a144
> pseudo-device stf
152a146
> pseudo-device vlan
>How-To-Repeat:
cvsup, make buildworld, make installworld, etc.)
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204051645.g35GjuA33498>
