Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2005 11:33:46 +1000 (EST)
From:      Robert Backhaus <robbak@dodo.com.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/76080: "bio_completed .. greater than bio_length" panic using SONY CRX1611 CD/RW
Message-ID:  <200501110133.j0B1XkbJ004079@swegg.robbak.com>
Resent-Message-ID: <200501110140.j0B1eLWs007670@freefall.freebsd.org>

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

>Number:         76080
>Category:       kern
>Synopsis:       "bio_completed .. greater than bio_length" panic using SONY CRX1611 CD/RW
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 11 01:40:21 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Robert Backhaus
>Release:        FreeBSD 6.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD swegg.robbak.com 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Sun Jan 9 18:55:24 EST 2005 robbak@swegg.robbak.com:/usr/obj/usr/src6/src/sys/GENERIC i386


Athlon XP2400, SIS 748FX, Sony CRX1611 CD-RW
dmesg:
	acd0: CDRW <SONY CD-RW CRX1611/TYS3> at ata1-master PIO4
>Description:
Attempts to access this drive cause a panic with the GENERIC kernel (debugging enabled). With my custom (no debugging) kernel it posts the errors (below). This locks the drive, and causes instability.

[/var/log/messages, custom kernel, mount attempt]
kernel: acd0: WARNING - READ_BIG DONEDRQ non conformant device
Jan  9 15:02:01 swegg kernel: acd0: WARNING - READ_BIG read data overrun 24>0
Jan  9 15:02:01 swegg kernel: acd0: timeout sending command=a0
Jan  9 15:02:01 swegg kernel: acd0: error issuing ATA PACKET command
Jan  9 15:02:01 swegg kernel: g_vfs_done():acd0[READ(offset=34816, length=2048)] error = 5
Jan  9 15:02:01 swegg kernel: acd0: timeout sending command=a0
Jan  9 15:02:01 swegg kernel: acd0: error issuing ATA PACKET command
Jan  9 15:02:06 swegg kernel: acd0: timeout sending command=a0
Jan  9 15:02:06 swegg kernel: acd0: error issuing ATA PACKET command

[backtrace, GERNERIC kernel, mount attempt in single-user]
(kgdb) bt
#0  doadump () at pcpu.h:159
#1  0xc066bee5 in boot (howto=260)
    at /usr/src6/src/sys/kern/kern_shutdown.c:398
#2  0xc066b969 in panic (
    fmt=0xc08d1ccc "bio_completed can't be greater than bio_length")
    at /usr/src6/src/sys/kern/kern_shutdown.c:554
#3  0xc062dcb9 in g_io_deliver (bp=0xc1731b58, error=5)
    at /usr/src6/src/sys/geom/geom_io.c:308
#4  0xc04ed33c in acd_done (request=0xc1719264)
    at /usr/src6/src/sys/dev/ata/atapi-cd.c:1210
#5  0xc04d55b2 in ata_completed (context=0xc1719264, dummy=1)
    at /usr/src6/src/sys/dev/ata/ata-queue.c:399
#6  0xc0690671 in taskqueue_run (queue=0xc1602200)
    at /usr/src6/src/sys/kern/subr_taskqueue.c:192
#7  0xc0690988 in taskqueue_thread_loop (arg=0x0)
    at /usr/src6/src/sys/kern/subr_taskqueue.c:251
#8  0xc0653fb6 in fork_exit (callout=0xc0690950 <taskqueue_thread_loop>,
    arg=0x0, frame=0x0) at /usr/src6/src/sys/kern/kern_fork.c:790
#9  0xc0853a3c in fork_trampoline ()
    at /usr/src6/src/sys/i386/i386/exception.s:208
(kgdb)


Notes:
This is the same issue as in i386/75090. This new PR commemerates it's discovery in CURRENT
I have the coredump from which I retrieved that bt, and would be happy to send it somewhere, but it bzips to 15MB, which would be quite an endeavour on dial-up...
>How-To-Repeat:

Attempt to use drive in 6.CURRENT
>Fix:
Use a different drive....


>Release-Note:
>Audit-Trail:
>Unformatted:



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