Date: Wed, 26 Nov 1997 14:00:01 -0800 (PST) From: Mike Eberdt <newmike@teleport.com> To: freebsd-bugs Subject: Re: kern/5117: panic: biodone: buffer not busy Message-ID: <199711262200.OAA23390@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/5117; it has been noted by GNATS. From: Mike Eberdt <newmike@teleport.com> To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: kern/5117: panic: biodone: buffer not busy Date: Wed, 26 Nov 1997 13:50:49 -0800 Some additional info: I noticed that the boot output I included in my original report is perhaps a bit misleading, in that it shows the BT946 SCSI controller (a PCI device) being probed along with the other ISA devices. This is because I had enabled the 'bt0' device in the 'Storage' section of the visual kernel config screen to see if that worked better than just allowing the BT946 to be auto-discovered as a PCI device. (It didn't.) So, FWIW, here's a (verbose) boot output reflecting what I assume is the more correct kernel configuration: FreeBSD 2.2.5-RELEASE #0: Tue Oct 21 14:33:00 GMT 1997 jkh@time.cdrom.com:/usr/src/sys/compile/GENERIC Calibrating clock(s) ... i8254 clock: 1456115 Hz 1456115 Hz differs from default of 1193182 Hz by more than 1% CPU: i486DX (486-class CPU) real memory = 33554432 (32768K bytes) Physical memory chunk(s): 0x00001000 - 0x0009ffff, 651264 bytes (159 pages) 0x0025c000 - 0x01ffdfff, 31072256 bytes (7586 pages) avail memory = 30244864 (29536K bytes) pcibus_setup(1): mode 1 addr port (0x0cf8) is 0x00000000 pcibus_setup(1a): mode1res=0x00000000 (0x80000000) pcibus_setup(1b): mode1res=0x00000000 (0xff000001) pcibus_setup(2): mode 2 enable port (0x0cf8) is 0x00 pcibus_setup(2a): mode2res=0x0e (0x0e) pcibus_setup(2a): now trying mechanism 2 pcibus_check: device 0 is there (id=04838086) Probing for devices on PCI bus 0: configuration mode 2 allows 16 devices. chip0 <Intel 82424ZX (Saturn) cache DRAM controller> rev 4 on pci0:0 CPU: 486DX2 or 486DX4, bus=33MHz, CPU->Memory posting ON Warning: NO cache parity! NO DRAM parity! Cache: 256KB writeback, cache clocks=2-1-1-1 DRAM: page mode read, memory clocks=X-1-2-1 CPU->PCI: posting OFF, burst mode ON PCI->Memory: posting ON chip1 <Intel 82378ZB PCI-ISA bridge> rev 3 on pci0:2 Bus Modes: Bus Park, Bus Lock, GAT Coprocessor errors enabled Keyboard controller: 60h,62h,64h,66h RTC: 70h-77h Port 92: enabled vga0 <VGA-compatible display device> rev 3 int a irq ?? on pci0:12 mapreg[10] type=0 addr=fc000000 size=800000. mapreg[14] type=0 addr=fc800000 size=4000. mapreg[18] type=0 addr=fc800000 size=800000. bt0 <Buslogic 946 SCSI host adapter> rev 0 int a irq 11 on pci0:14 mapreg[10] type=1 addr=00000330 size=000c. bt0: Bt946C/ 0-(32bit) bus bt0: reading board settings, busmastering, int=11 bt0: version 4.22, sync, parity, 32 mbxs, 32 ccbs bt0: targ 0 sync rate=10.00MB/s(100ns), offset=08 bt0: targ 2 sync rate=10.00MB/s(100ns), offset=15 bt0: targ 6 async bt0: Using Strict Round robin scheme bt0 waiting for scsi devices to settle (bt0:0:0): "QUANTUM LIGHTNING 540S 241E" type 0 fixed SCSI 2 sd0(bt0:0:0): Direct-Access 525MB (1075649 512 byte sectors) sd0(bt0:0:0): with 3658 cyls, 3 heads, and an average 98 sectors/track (bt0:2:0): "HP C3725S 6019" type 0 fixed SCSI 2 sd1(bt0:2:0): Direct-Access 2047MB (4194058 512 byte sectors) sd1(bt0:2:0): with 3703 cyls, 9 heads, and an average 125 sectors/track (bt0:6:0): "SONY CD-ROM CDU-55S 1.0q" type 5 removable SCSI 2 cd0(bt0:6:0): CD-ROM cd present [300204 x 2048 byte records] pci0: uses 16793600 bytes of memory from fc000000 upto fcffffff. pci0: uses 12 bytes of I/O space from 330 upto 33b. Probing for devices on the ISA bus: sc0: the current keyboard controller command byte 0045 kbdio: DIAGNOSE status:0055 kbdio: TEST_KBD_PORT status:0000 kbdio: RESET_KBD return code:00fa kbdio: RESET_KBD status:00aa sc0 at 0x60-0x6f irq 1 on motherboard sc0: BIOS video mode:3 sc0: VGA registers upon power-up 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff sc0: video mode:24 sc0: VGA registers for mode:24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff sc0: VGA color <16 virtual consoles, flags=0x0> ed0: disabled, not probed. ed1: disabled, not probed. fe0: disabled, not probed. sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A sio2: disabled, not probed. sio3: disabled, not probed. lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface lpt1: disabled, not probed. mse0: disabled, not probed. psm0: disabled, not probed. fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0: disabled, not probed. wdc1: disabled, not probed. bt0: disabled, not probed. uha0: disabled, not probed. aha0: disabled, not probed. aic0: disabled, not probed. nca0: disabled, not probed. nca1: disabled, not probed. sea0: disabled, not probed. wt0: disabled, not probed. mcd0: disabled, not probed. matcdc0: disabled, not probed. scd0: disabled, not probed. ie0: disabled, not probed. ie1: disabled, not probed. ep0: disabled, not probed. ex0: disabled, not probed. le0: disabled, not probed. lnc0: disabled, not probed. ze0: disabled, not probed. zp0: disabled, not probed. npx0 flags 0x1 on motherboard npx0: INT 16 interface apm0: disabled, not probed. imasks: bio c0000840, tty c003009a, net c003009a BIOS Geometries: 0:020c3f20 0..524=525 cylinders, 0..63=64 heads, 1..32=32 sectors 1:03ff3f20 0..1023=1024 cylinders, 0..63=64 heads, 1..32=32 sectors 0 accounted for Device configuration finished. Considering FFS root f/s. changing root device to sd0a configure() finished. sd0s1: type 0x5, start 358400, end = 1075199, size 716800 : OK sd0s2: type 0xa5, start 2048, end = 358399, size 356352 : OK sd0s3: type 0xa, start 32, end = 2047, size 2016 : OK sd0s5: type 0x7, start 358432, end = 1075199, size 716768 : OK sd1s1: type 0xa5, start 178176, end = 4192255, size 4014080 : OK sd1s2: type 0x7, start 32, end = 178175, size 178144 : OK sd1s1: type 0xa5, start 178176, end = 4192255, size 4014080 : OK sd1s2: type 0x7, start 32, end = 178175, size 178144 : OK With this kernel configuration, one sequence of events that happened to culminate in a panic was the following: - boot from floppy, install bin distribution on newfs-ed file systems - reboot from hard disk, enable dump device in rc.conf - reboot again, drop to single-user mode via shutdown(8) - run /stand/sysinstall, select some additional distributions The kernel panicked while installing the selected distributions, resulting in the following stack trace: # gdb -k kernel.0 vmcore.0 GDB is free software and you are welcome to 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. GDB 4.16 (i386-unknown-freebsd), Copyright 1996 Free Software Foundation, Inc...(no debugging symbols found)... IdlePTD 258000 current pcb at 238a64 panic: biodone: buffer not busy #0 0xf0113f83 in boot () (kgdb) where #0 0xf0113f83 in boot () #1 0xf0114242 in panic () #2 0xf012d15c in biodone () #3 0xf019f67c in scsi_done () #4 0xf0223a1d in bt_done () #5 0xf022358a in bt_intr () #6 0xf01c6e5e in vec11 () #7 0xf01ab030 in ffs_sync () #8 0xf01322d7 in sync () #9 0xf012d4cf in vfs_update () #10 0xf010a1ca in kproc_start () #11 0xf010a168 in main () Please let me know if there is something else I should try or additional information I should provide.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711262200.OAA23390>