linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* bio too big device
@ 2003-03-12  2:55 scott thomason
  2003-03-12  3:17 ` scott thomason
                   ` (2 more replies)
  0 siblings, 3 replies; 38+ messages in thread
From: scott thomason @ 2003-03-12  2:55 UTC (permalink / raw)
  To: Linux Kernel Mailing List

I frequently receive this message in my syslog, apparently 
whenever there are periods of significant write activity:

    bio too big device ide0(3,7) (256 > 255)
    bio too big device ide1(22,6) (256 > 255)

It's worth noting that on this system I have had ongoing trouble 
with system stability during write activity as well, using a 
wide variety of 2.5.x kernels, even though at the time of this 
symptom things are apparently running fine.

Filesystems are all ext3 on top soft raid0 devices. This happens 
to be 2.5.64, but it has been happening for at least the last 
5-6 versions.

Ideas? Any further debugging output I can provide?
---scott

^ permalink raw reply	[flat|nested] 38+ messages in thread
* Re: bio too big device
@ 2003-03-12 18:19 Manfred Spraul
  2003-03-12 21:40 ` Alan Cox
  0 siblings, 1 reply; 38+ messages in thread
From: Manfred Spraul @ 2003-03-12 18:19 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Andre Hedrick, linux-kernel

Jens wrote:

>On Wed, Mar 12 2003, Andre Hedrick wrote:
>> 
>> So lets dirty list the one drive by Paul G. and be done.
>> Can we do that?
>
>Who cares, really? There's not much point in doing it, we're talking 248
>vs 256 sectors in reality. I think it's a _bad_ idea, lets just keep it
>at 255 and avoid silly drive bugs there.
>  
>
I think a black list would be the right thing:

linux/drivers/ide/ide-probe.c:

>#ifdef CONFIG_BLK_DEV_PDC4030
>	max_sectors = 127;
>#else
>	max_sectors = 255;
>#endif
>	blk_queue_max_sectors(q, max_sectors);
>
>  
>
IDE uses 127 sector requests if support for PDC4030 is compiled it, 
otherwise 255. It seems someone started with a blacklist, but never 
completed it.
Does any distro enable PDC4030 support?

--
    Manfred


^ permalink raw reply	[flat|nested] 38+ messages in thread
[parent not found: <20030416172122.M65357@gw>]
* RE: bio too big device
@ 2003-04-16 18:43 Mudama, Eric
  0 siblings, 0 replies; 38+ messages in thread
From: Mudama, Eric @ 2003-04-16 18:43 UTC (permalink / raw)
  To: 'Anders Larsson', linux-kernel



> -----Original Message-----
> From: Anders Larsson [mailto:anders@dio.jll.se]
> Sent: Wednesday, April 16, 2003 12:32 PM
>
> hdg: WDC WD1200JB-00DUA0, ATA DISK drive  
> hdg: host protected area => 1
> hdg: 234441648 sectors (120034 MB) w/8192KiB Cache, 
> CHS=14593/255/63,       
> UDMA(100)
> 
> hdh: WDC WD1200JB-75CRA0, ATA DISK drive
> hdh: host protected area => 1
> hdh: setmax LBA 234441648, native  234375000
> hdh: 234375000 sectors (120000 MB) w/8192KiB Cache, 
> CHS=232514/16/63,       
> UDMA(100)


On hdh, it appears you're setting the max lba > the native size.  Maybe this
is the problem.

For RAID on two drives, I would imagine your RAID size would need to be the
size of the smaller device, not the larger device.  (Note that they aren't
identical).

Not sure if the two different CHS translation modes on each drive is
important or not (probably not), that legacy bios stuff is something that
has always confused me...

--eric

^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2003-04-17 14:23 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-12  2:55 bio too big device scott thomason
2003-03-12  3:17 ` scott thomason
2003-03-12  8:18   ` Jens Axboe
2003-03-12  3:37 ` Neil Brown
2003-03-12  3:49   ` scott thomason
2003-03-12  8:30   ` Jens Axboe
2003-03-12  5:01 ` Andre Hedrick
2003-03-12  8:47   ` Andries Brouwer
2003-03-12  8:59     ` Andre Hedrick
2003-03-12  8:51   ` Jens Axboe
2003-03-12  9:01     ` Andre Hedrick
2003-03-12  9:09       ` Jens Axboe
2003-03-12 10:07         ` Andre Hedrick
2003-03-12 10:14           ` Jens Axboe
2003-03-12 15:44             ` Andries Brouwer
2003-03-12 15:51               ` Jens Axboe
2003-03-12 16:02                 ` Andries Brouwer
2003-03-12 16:06                   ` Jens Axboe
2003-03-12 16:14                 ` John Bradford
2003-03-12 17:59               ` Linus Torvalds
2003-03-12 19:05                 ` John Bradford
2003-03-12 19:14                   ` Linus Torvalds
2003-03-12 22:20                     ` John Bradford
2003-03-12 21:28                 ` Andries Brouwer
2003-03-14 11:19                   ` Paul Gortmaker
2003-03-12 21:45                 ` Alan Cox
2003-03-12 14:54           ` scott thomason
2003-03-12 14:58             ` Jens Axboe
2003-03-12 17:09             ` Alan Cox
2003-03-12 16:14         ` Alan Cox
2003-03-12 15:11           ` Jens Axboe
2003-03-12 17:12             ` Alan Cox
2003-03-12 16:06               ` Jens Axboe
2003-03-12 18:19 Manfred Spraul
2003-03-12 21:40 ` Alan Cox
     [not found] <20030416172122.M65357@gw>
     [not found] ` <20030416181944.M32238@gw>
2003-04-16 18:32   ` Anders Larsson
2003-04-17 13:36     ` Alan Cox
2003-04-16 18:43 Mudama, Eric

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).