2003-06-04 02:55:30

by Narayan Desai

[permalink] [raw]

2003-06-04 07:18:21

by Luca Montecchiani

[permalink] [raw]
Subject: Re: partition table problem with 2.4.21-rc7

Narayan Desai ha scritto:

> When i boot 2.4.21-rc7, i get the error:
> 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
>
> after this, the system is able to mount a partition on this disk
> properly. can anyone shed any light on this? This didn't happen with
> pre3. btw, devfs is enabled, if that makes any difference. a config is
> attached.

I've have that annoying messages too and I've verified that the
source of the problem is :

> CONFIG_BLK_DEV_IDEDISK=m

the ide code check the partition-table twice, but the first
time without the ide-disk module and so the error...

Alan ?




2003-06-04 11:18:21

by Alan

[permalink] [raw]
Subject: Re: partition table problem with 2.4.21-rc7

On Mer, 2003-06-04 at 08:23, Luca Montecchiani wrote:
> I've have that annoying messages too and I've verified that the
> source of the problem is :
>
> > CONFIG_BLK_DEV_IDEDISK=m
>
> the ide code check the partition-table twice, but the first
> time without the ide-disk module and so the error...

That would make sense. The drive is attached to the null driver at
the point something tried to read the partition table initially. That
errors all I/O requests since they are meaningless.

I guess we shouldnt be partition probing those devices. I'll take a
look

2003-06-04 12:36:19

by Luca Montecchiani

[permalink] [raw]
Subject: Re: partition table problem with 2.4.21-rc7

Alan Cox ha scritto:

>
> That would make sense. The drive is attached to the null driver at
> the point something tried to read the partition table initially. That
> errors all I/O requests since they are meaningless.
>
> I guess we shouldnt be partition probing those devices. I'll take a
> look

Cool,
feel free to test any patch from you

luca