[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: SATA access beyond end of device - How to fix



--- Dwaine Garden <dwainegarden rogers com> wrote:

> 
> --- dragoran <dragoran feuerpokemon de> wrote:
> 
> > Dwaine Garden wrote:
> > 
> > > Dwaine Garden wrote:
> > >
> > >> I'm getting the following under Fedora 5 and 6
> > rawhide.   Because of 
> > >> this situation, I can not use a kernel higher
> > than 2.6.15-1.2041_FC5smp.
> > >> 2064 kernal complains that device-mapper can
> not
> > divide by chunk 
> > >> size.  Logical volume was created by Fedora 5
> > test2 installation DVD.
> > >>
> > >> How would some sorry soul resolve this?
> > >>
> > >> PCI: Via IRQ fixup for 0000:00:0f.0, from 11 to
> 0
> > >> Mar 21 20:42:30 www kernel: sata_via
> > 0000:00:0f.0: routed to hard irq 
> > >> line 0
> > >> Mar 21 20:42:30 www kernel: ata1: SATA max
> > UDMA/133 cmd 0xBC00 ctl 
> > >> 0xC002 bmdma 0xCC00 irq 16
> > >> Mar 21 20:42:30 www kernel: ata2: SATA max
> > UDMA/133 cmd 0xC400 ctl 
> > >> 0xC802 bmdma 0xCC08 irq 16
> > >> Mar 21 20:42:30 www kernel: ata1: SATA link up
> > 1.5 Gbps (SStatus 113)
> > >> Mar 21 20:42:30 www kernel: ata1: dev 0 ATA-7,
> > max UDMA/133, 
> > >> 156250000 sectors: LBA48
> > >> Mar 21 20:42:30 www kernel: ata1: dev 0
> > configured for UDMA/133
> > >> Mar 21 20:42:30 www kernel: scsi0 : sata_via
> > >> Mar 21 20:42:30 www kernel: ata2: SATA link up
> > 1.5 Gbps (SStatus 113)
> > >> Mar 21 20:42:30 www kernel: ata2: dev 0 ATA-6,
> > max UDMA/133, 
> > >> 156301488 sectors: LBA
> > >> Mar 21 20:42:30 www kernel: ata2: dev 0
> > configured for UDMA/133
> > >> Mar 21 20:42:30 www kernel: scsi1 : sata_via
> > >> Mar 21 20:42:30 www kernel:   Vendor: ATA      
> > Model: WDC 
> > >> WD800JD-75LS  Rev: 09.0
> > >> Mar 21 20:42:30 www kernel:   Type:   
> > >> Direct-Access                      ANSI SCSI
> > revision: 05
> > >> Mar 21 20:42:30 www kernel: SCSI device sda:
> > 156250000 512-byte hdwr 
> > >> sectors (80000 MB)
> > >> Mar 21 20:42:30 www kernel: sda: Write Protect
> is
> > off
> > >> Mar 21 20:42:30 www kernel: SCSI device sda:
> > drive cache: write back
> > >> Mar 21 20:42:30 www kernel: SCSI device sda:
> > 156250000 512-byte hdwr 
> > >> sectors (80000 MB)
> > >> Mar 21 20:42:30 www kernel: sda: Write Protect
> is
> > off
> > >> Mar 21 20:42:30 www kernel: SCSI device sda:
> > drive cache: write back
> > >> Mar 21 20:42:30 www kernel:  sda: sda1 sda2
> sda3
> > >> Mar 21 20:42:30 www kernel: sd 0:0:0:0:
> Attached
> > scsi disk sda
> > >> Mar 21 20:42:30 www kernel:   Vendor: ATA      
> > Model: WDC 
> > >> WD800JD-22JN  Rev: 05.0
> > >> Mar 21 20:42:30 www kernel:   Type:   
> > >> Direct-Access                      ANSI SCSI
> > revision: 05
> > >> Mar 21 20:42:30 www kernel: SCSI device sdb:
> > 156301488 512-byte hdwr 
> > >> sectors (80026 MB)
> > >> Mar 21 20:42:30 www kernel: sdb: Write Protect
> is
> > off
> > >> Mar 21 20:42:30 www kernel: SCSI device sdb:
> > drive cache: write back
> > >> Mar 21 20:42:30 www kernel: SCSI device sdb:
> > 156301488 512-byte hdwr 
> > >> sectors (80026 MB)
> > >> Mar 21 20:42:30 www kernel: sdb: Write Protect
> is
> > off
> > >> Mar 21 20:42:30 www kernel: SCSI device sdb:
> > drive cache: write back
> > >> Mar 21 20:42:30 www kernel:  sdb: unknown
> > partition table
> > >> Mar 21 20:42:30 www kernel: sd 1:0:0:0:
> Attached
> > scsi disk sdb
> > >> Mar 21 20:42:30 www kernel: device-mapper:
> > 4.5.0-ioctl (2005-10-04) 
> > >> initialised: dm-devel redhat com
> > >> Mar 21 20:42:30 www kernel: attempt to access
> > beyond end of device
> > >> Mar 21 20:42:30 www kernel: sda: rw=0,
> > want=156250010, limit=156250000
> > >> Mar 21 20:42:30 www kernel: Buffer I/O error on
> > device dm-0, logical 
> > >> block 156249996
> > >> Mar 21 20:42:30 www kernel: attempt to access
> > beyond end of device
> > >> Mar 21 20:42:30 www kernel: sda: rw=0,
> > want=156250012, limit=156250000
> > >> Mar 21 20:42:30 www kernel: Buffer I/O error on
> > device dm-0, logical 
> > >> block 156249997
> > >> Mar 21 20:42:30 www kernel: attempt to access
> > beyond end of device
> > >> Mar 21 20:42:30 www kernel: sda: rw=0,
> > want=156250014, limit=156250000
> > >> Mar 21 20:42:30 www kernel: Buffer I/O error on
> > device dm-0, logical 
> > >> block 156249998
> > >> Mar 21 20:42:30 www kernel: attempt to access
> > beyond end of device
> > >> Mar 21 20:42:30 www kernel: sda: rw=0,
> > want=156250010, limit=156250000
> > >> Mar 21 20:42:30 www kernel: Buffer I/O error on
> > device dm-0, logical 
> > >> block 156249996
> > >> Mar 21 20:42:30 www kernel: attempt to access
> > beyond end of device
> > >> Mar 21 20:42:30 www kernel: sda: rw=0,
> > want=156250012, limit=156250000
> > >> Mar 21 20:42:30 www kernel: Buffer I/O error on
> > device dm-0, logical 
> > >> block 156249997
> > >> Mar 21 20:42:30 www kernel: attempt to access
> > beyond end of device
> > >> Mar 21 20:42:30 www kernel: sda: rw=0,
> > want=156250014, limit=156250000
> > >> Mar 21 20:42:30 www kernel: Buffer I/O error on
> > device dm-0, logical 
> > >> block 156249998
> > >> Mar 21 20:42:30 www kernel: EXT3-fs: INFO:
> > recovery required on 
> > >> readonly filesystem.
> > >> Mar 21 20:42:30 www kernel: EXT3-fs: write
> access
> > will be enabled 
> > >> during recovery.
> > >> Mar 21 20:42:30 www kernel: kjournald starting.
> 
> > Commit interval 5 
> > >> seconds
> > >> Mar 21 20:42:31 www kernel: EXT3-fs: dm-4:
> orphan
> > cleanup on readonly fs
> > >> Mar 21 20:42:31 www kernel: EXT3-fs: dm-4: 5
> > orphan inodes deleted
> > >> Mar 21 20:42:31 www kernel: EXT3-fs: recovery
> > complete.
> > >> Mar 21 20:42:31 www kernel: EXT3-fs: mounted
> > filesystem with ordered 
> > >> data mode
> > >>
> > > Here is the patch which does not allow me to
> boot.
> >  I would be 
> > > grateful for any help where a reformat and
> install
> > is not needed.
> > >
> > >>
> > >> [PATCH] dm stripe: Fix bounds 
> > >>
> >
>
<http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=8ba32fde2c5be52865b2fd7e5e3752a46971fabe>
> > 
> > >>
> > >> author     Kevin Corry <kevcorry us ibm com>
> > >>
> > >>     Fri, 17 Mar 2006 07:04:03 +0000 (23:04
> -0800)
> > >> committer     Linus Torvalds
> > <torvalds g5 osdl org>
> > >>
> > >>     Fri, 17 Mar 2006 15:51:25 +0000 (07:51
> -0800)
> > >> commit    
> > 8ba32fde2c5be52865b2fd7e5e3752a46971fabe
> > >> tree    
> 91988d69b76b1d142117b0ed827fc20eb11c9360
> > 
> > >>
> >
>
<http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=tree;h=91988d69b76b1d142117b0ed827fc20eb11c9360;hb=8ba32fde2c5be52865b2fd7e5e3752a46971fabe>
> > 
> > >>     tree 
> > >>
> 
=== message truncated ===

Looks like I'm suffering from the bug which was fixed
in dmraid.

    [...stuff removed...]
    CHANGELOG from dmraid 1.0.0.rc8 to 1.0.0.rc9
2005.09.23
   
------------------------------------------------------------------

    FIXES:
    ------
    o via.c: checksum() calculation;
    stride size

Can anyone shed some light why I'm getting this
problem with FC5 when it has dmraid 1.0.0.rc9?

Dwaine


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]