* partition table read incorrectly
@ 2001-10-02 18:29 Wichert Akkerman
2001-10-02 18:42 ` Alan Cox
0 siblings, 1 reply; 10+ messages in thread
From: Wichert Akkerman @ 2001-10-02 18:29 UTC (permalink / raw)
To: linux-kernel, linux-lvm
I seem to run into a weird problem. LVM refused to work properly,
after a "vgscan" command "vgchange -a y" would still complain
that things weren't consistent and I got a messages about an
I/O error on 08:11.
Interestingly my sdb does not have any partitions since it's one
big PV, and fdisk agrees with me on that. However the kernel
seems to thing I do have a partition there and as a result LVM
seems to get somewhat confused.
This happens with both 2.4.9-ac17 and 2.4.10-ac3. If anyone has
any ideas on how to go about fixing this don't hestitate to ask
me for more details.
Wichert.
--
_________________________________________________________________
/ Nothing is fool-proof to a sufficiently talented fool \
| wichert@wiggy.net http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: partition table read incorrectly
2001-10-02 18:29 Wichert Akkerman
@ 2001-10-02 18:42 ` Alan Cox
2001-10-02 20:00 ` Wichert Akkerman
0 siblings, 1 reply; 10+ messages in thread
From: Alan Cox @ 2001-10-02 18:42 UTC (permalink / raw)
To: Wichert Akkerman; +Cc: linux-kernel, linux-lvm
> I seem to run into a weird problem. LVM refused to work properly,
> after a "vgscan" command "vgchange -a y" would still complain
> that things weren't consistent and I got a messages about an
> I/O error on 08:11.
Does it complain about wrong block sizes ?
> Interestingly my sdb does not have any partitions since it's one
> big PV, and fdisk agrees with me on that. However the kernel
> seems to thing I do have a partition there and as a result LVM
> seems to get somewhat confused.
The partition code will look for tables. That bit is fine
The exact error would be good too
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: partition table read incorrectly
2001-10-02 18:42 ` Alan Cox
@ 2001-10-02 20:00 ` Wichert Akkerman
2001-10-02 21:08 ` Andreas Dilger
2001-10-02 22:45 ` Alan Cox
0 siblings, 2 replies; 10+ messages in thread
From: Wichert Akkerman @ 2001-10-02 20:00 UTC (permalink / raw)
To: Alan Cox; +Cc: linux-kernel, linux-lvm
Previously Alan Cox wrote:
> Does it complain about wrong block sizes ?
No
> The partition code will look for tables. That bit is fine
If that bit is fine then how can it differ in opinion from fdisk?
> The exact error would be good too
I/O error: dev 08:11, sector 0
Wichert.
--
_________________________________________________________________
/ Nothing is fool-proof to a sufficiently talented fool \
| wichert@wiggy.net http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: partition table read incorrectly
2001-10-02 20:00 ` Wichert Akkerman
@ 2001-10-02 21:08 ` Andreas Dilger
2001-10-03 0:34 ` H. Peter Anvin
2001-10-03 11:22 ` Guest section DW
2001-10-02 22:45 ` Alan Cox
1 sibling, 2 replies; 10+ messages in thread
From: Andreas Dilger @ 2001-10-02 21:08 UTC (permalink / raw)
To: Alan Cox, linux-kernel, linux-lvm
On Oct 02, 2001 22:00 +0200, Wichert Akkerman wrote:
> Previously Alan Cox wrote:
> > Does it complain about wrong block sizes ?
>
> No
>
> > The partition code will look for tables. That bit is fine
>
> If that bit is fine then how can it differ in opinion from fdisk?
What does the first 512 bytes of the disk show (od -Ax -tx1 /dev/)?
Maybe there is still "0xaa55" on the disk at 0x1fe and the kernel
thinks it is a DOS partition?
> > The exact error would be good too
>
> I/O error: dev 08:11, sector 0
Hmm, this is sda11, so you would need both a primary and extended
partition table to get that. What does /proc/partitions show?
Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: partition table read incorrectly
2001-10-02 20:00 ` Wichert Akkerman
2001-10-02 21:08 ` Andreas Dilger
@ 2001-10-02 22:45 ` Alan Cox
2001-10-03 0:57 ` Wichert Akkerman
1 sibling, 1 reply; 10+ messages in thread
From: Alan Cox @ 2001-10-02 22:45 UTC (permalink / raw)
To: Wichert Akkerman; +Cc: Alan Cox, linux-kernel, linux-lvm
> If that bit is fine then how can it differ in opinion from fdisk?
>
> > The exact error would be good too
>
> I/O error: dev 08:11, sector 0
Nothing before or after it ?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: partition table read incorrectly
2001-10-02 21:08 ` Andreas Dilger
@ 2001-10-03 0:34 ` H. Peter Anvin
2001-10-03 11:22 ` Guest section DW
1 sibling, 0 replies; 10+ messages in thread
From: H. Peter Anvin @ 2001-10-03 0:34 UTC (permalink / raw)
To: linux-kernel
Followup to: <20011002150820.N8954@turbolinux.com>
By author: Andreas Dilger <adilger@turbolabs.com>
In newsgroup: linux.dev.kernel
> >
> > If that bit is fine then how can it differ in opinion from fdisk?
>
> What does the first 512 bytes of the disk show (od -Ax -tx1 /dev/)?
> Maybe there is still "0xaa55" on the disk at 0x1fe and the kernel
> thinks it is a DOS partition?
>
Note that that is true for *ANY* partition scheme which is bootable,
since this is a requirement of the boot firmware interface, rather of
any particular partitioning scheme...
-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt <amsp@zytor.com>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: partition table read incorrectly
2001-10-02 22:45 ` Alan Cox
@ 2001-10-03 0:57 ` Wichert Akkerman
0 siblings, 0 replies; 10+ messages in thread
From: Wichert Akkerman @ 2001-10-03 0:57 UTC (permalink / raw)
To: Alan Cox; +Cc: linux-kernel, linux-lvm
Previously Alan Cox wrote:
> Nothing before or after it ?
Nothing at all.
Wichert.
--
_________________________________________________________________
/ Nothing is fool-proof to a sufficiently talented fool \
| wichert@wiggy.net http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: partition table read incorrectly
2001-10-02 21:08 ` Andreas Dilger
2001-10-03 0:34 ` H. Peter Anvin
@ 2001-10-03 11:22 ` Guest section DW
1 sibling, 0 replies; 10+ messages in thread
From: Guest section DW @ 2001-10-03 11:22 UTC (permalink / raw)
To: Alan Cox, linux-kernel, linux-lvm
On Tue, Oct 02, 2001 at 03:08:20PM -0600, Andreas Dilger wrote:
> > I/O error: dev 08:11, sector 0
>
> Hmm, this is sda11
No. These messages give hex values.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: partition table read incorrectly
@ 2001-10-03 16:21 Andries.Brouwer
2001-10-03 17:04 ` Charles Marslett
0 siblings, 1 reply; 10+ messages in thread
From: Andries.Brouwer @ 2001-10-03 16:21 UTC (permalink / raw)
To: hpa, linux-kernel
>> Maybe there is still "0xaa55" on the disk at 0x1fe and the kernel
>> thinks it is a DOS partition?
> Note that that is true for *ANY* partition scheme which is bootable,
> since this is a requirement of the boot firmware interface, rather of
> any particular partitioning scheme...
You mean on i386 hardware? With the most common BIOS versions?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: partition table read incorrectly
2001-10-03 16:21 partition table read incorrectly Andries.Brouwer
@ 2001-10-03 17:04 ` Charles Marslett
0 siblings, 0 replies; 10+ messages in thread
From: Charles Marslett @ 2001-10-03 17:04 UTC (permalink / raw)
To: linux-kernel
Andries.Brouwer@cwi.nl wrote:
>
> >> Maybe there is still "0xaa55" on the disk at 0x1fe and the kernel
> >> thinks it is a DOS partition?
>
> > Note that that is true for *ANY* partition scheme which is bootable,
> > since this is a requirement of the boot firmware interface, rather of
> > any particular partitioning scheme...
>
> You mean on i386 hardware? With the most common BIOS versions?
I think it applies to almost all boot firmware -- the Atari 68000 hard
disk format used it, all the x86 firmware I am familiar with uses it, and
I think Apple uses it in all it's Mac incarnations. That's pretty wide
coverage (I know nothing about Sun or other workstation formats).
If the 0xAA55 marker is not present, the standard interpretation is that
the disk is not partitioned, and the disk may still boot, but you may
just be lucky it works if it really is partitioned.
Or have I missed something (I'm not all that familiar with non-x86 hardware
so I could be missing something big -- and I'd like to know that)?
--Charles
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2001-10-03 17:06 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-03 16:21 partition table read incorrectly Andries.Brouwer
2001-10-03 17:04 ` Charles Marslett
-- strict thread matches above, loose matches on Subject: below --
2001-10-02 18:29 Wichert Akkerman
2001-10-02 18:42 ` Alan Cox
2001-10-02 20:00 ` Wichert Akkerman
2001-10-02 21:08 ` Andreas Dilger
2001-10-03 0:34 ` H. Peter Anvin
2001-10-03 11:22 ` Guest section DW
2001-10-02 22:45 ` Alan Cox
2001-10-03 0:57 ` Wichert Akkerman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox