2003-08-31 06:05:24

by Jeff Chua

[permalink] [raw]
Subject: [BUG] hda:end_request: I/O error, dev 03:00 (hda), sector 0


What do I need to get rid of these errors ...

dmesg after boot up ...

Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
ICH3M: IDE controller at PCI slot 00:1f.1
PCI: Enabling device 00:1f.1 (0005 -> 0007)
PCI: Found IRQ 11 for device 00:1f.1
PCI: Sharing IRQ 11 with 00:1d.2
PCI: Sharing IRQ 11 with 01:00.2
PCI: Sharing IRQ 11 with 01:02.0
ICH3M: chipset revision 2
ICH3M: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1860-0x1867, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0x1868-0x186f, BIOS settings: hdc:pio, hdd:pio
hda: IC25N040ATCS05-0, ATA DISK drive
blk: queue c02a99c0, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Partition check:
hda:end_request: I/O error, dev 03:00 (hda), sector 0
end_request: I/O error, dev 03:00 (hda), sector 2
end_request: I/O error, dev 03:00 (hda), sector 4
end_request: I/O error, dev 03:00 (hda), sector 6
end_request: I/O error, dev 03:00 (hda), sector 0
end_request: I/O error, dev 03:00 (hda), sector 2
end_request: I/O error, dev 03:00 (hda), sector 4
end_request: I/O error, dev 03:00 (hda), sector 6
unable to read partition table


Thanks,
Jeff
[ [email protected] ]



2003-08-31 07:54:33

by Gerardo Exequiel Pozzi

[permalink] [raw]
Subject: Re: [BUG] hda:end_request: I/O error, dev 03:00 (hda), sector 0

On Sun, 31 Aug 2003 12:24:29 +0800 (SGT), Jeff Chua wrote:
>
>What do I need to get rid of these errors ...
>
>dmesg after boot up ...
>
*snip*
>Partition check:
> hda:end_request: I/O error, dev 03:00 (hda), sector 0
>end_request: I/O error, dev 03:00 (hda), sector 2
>end_request: I/O error, dev 03:00 (hda), sector 4
>end_request: I/O error, dev 03:00 (hda), sector 6
>end_request: I/O error, dev 03:00 (hda), sector 0
>end_request: I/O error, dev 03:00 (hda), sector 2
>end_request: I/O error, dev 03:00 (hda), sector 4
>end_request: I/O error, dev 03:00 (hda), sector 6
> unable to read partition table

I suppose that your disk will be in good state, ok,
A time ago I had the same error (with hdc), and was that had forgotten
to clear the hdc=ide-scsi from of the line append in lilo.

Possibly it is your problem, although it is strange to me with hda.

Please check your command line at boot, and remove the bad apppend line in lilo.conf

chau,
djgera


--
Gerardo Exequiel Pozzi ( djgera )
http://www.vmlinuz.com.ar http://www.djgera.com.ar
KeyID: 0x1B8C330D
Key fingerprint = 0CAA D5D4 CD85 4434 A219 76ED 39AB 221B 1B8C 330D

2003-08-31 08:35:35

by Jeff Chua

[permalink] [raw]
Subject: Re: [BUG] hda:end_request: I/O error, dev 03:00 (hda), sector 0


On Sun, 31 Aug 2003, Gerardo Exequiel Pozzi wrote:
> >Partition check:
> > hda:end_request: I/O error, dev 03:00 (hda), sector 0
> > unable to read partition table
>
> I suppose that your disk will be in good state, ok,

works perfectly. The same problems show up on all systems. All kernel
version 2.4.x.


> A time ago I had the same error (with hdc), and was that had forgotten
> to clear the hdc=ide-scsi from of the line append in lilo.

I check that. Don't have this defined.


I guess it could be my .config

CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=m
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=m
CONFIG_BLK_DEV_IDEFLOPPY=m
CONFIG_BLK_DEV_IDESCSI=m
CONFIG_BLK_DEV_CMD640=y
CONFIG_BLK_DEV_CMD640_ENHANCED=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDEDMA=y


I wanted ID to be loaded as a module, but couldn't set CONFIG_IDE=m as
that would prevent "hdparm -d1 /dev/hda" from working.

Thanks,
Jeff


2003-08-31 13:13:11

by Alan

[permalink] [raw]
Subject: Re: [BUG] hda:end_request: I/O error, dev 03:00 (hda), sector 0

On Sul, 2003-08-31 at 05:24, Jeff Chua wrote:
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> Partition check:
> hda:end_request: I/O error, dev 03:00 (hda), sector 0
> end_request: I/O error, dev 03:00 (hda), sector 2
> end_request: I/O error, dev 03:00 (hda), sector 4

You don't have IDE hard disk support included so the kernel finds
it has no way to read the partition table.

2003-08-31 16:46:47

by Jeff Chua

[permalink] [raw]
Subject: Re: [BUG] hda:end_request: I/O error, dev 03:00 (hda), sector 0


On Sun, 31 Aug 2003, Alan Cox wrote:

> On Sul, 2003-08-31 at 05:24, Jeff Chua wrote:
> > end_request: I/O error, dev 03:00 (hda), sector 2
>
> You don't have IDE hard disk support included so the kernel finds
> it has no way to read the partition table.

You're right. After recompiling with CONFIG_BLK_DEV_IDEDISK=y instead of
"m" (module), the error went away.

But, that means IDE still can't be compile as a module. I would like to
be able to load and unload ide from ramdisk. Is there a patch to make ide
modular?

Thanks,
Jeff