* [parisc-linux] Problems compiling LVM
@ 2001-06-28 18:29 Torsten Neumann
2001-06-28 19:36 ` Helge Deller
[not found] ` <20010628193653.77706115D6@finlandia.infodrom.north.de>
0 siblings, 2 replies; 4+ messages in thread
From: Torsten Neumann @ 2001-06-28 18:29 UTC (permalink / raw)
To: parisc-linux
Hi,
the linux-lvm code was inspired by the hp-ux LVM. So I thougt it would be
real cool if the linux-lvm runs under hppa-linux.
Compiling the kernel with lvm support is no problem, the userspace tools
have some problems with gcc-3 (code uses #ifdef constructs in printf macro),
but then also compiles cleanly.
Now I want to create a VG but I only got the error message
imke kernel: pvcreate(188): unaligned access to 0x40067cf3 at ip=0x400310db
imke kernel: Not-handled unaligned insn 0x48350376
from the program pvcreate.
Could somebody tell what kind of problem this is. Is it a kernel problem or
a userspace problem ?
Is there a way to avoid this problem ?
Torsten
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [parisc-linux] Problems compiling LVM
2001-06-28 18:29 [parisc-linux] Problems compiling LVM Torsten Neumann
@ 2001-06-28 19:36 ` Helge Deller
[not found] ` <20010628193653.77706115D6@finlandia.infodrom.north.de>
1 sibling, 0 replies; 4+ messages in thread
From: Helge Deller @ 2001-06-28 19:36 UTC (permalink / raw)
To: Torsten Neumann, parisc-linux
Hi Torsten,
The problem is that your userspace program tries to do a direct 16 or 32-bit
read- or write-access to address 0x40067cf3 - which lies on a "unaligned
address" (e.g. not a a 32-bit boundary).
On Intel architectures this fault is automatically handled by the hardware,
while you get an unaligned access trap on parisc.
The first parisc-kernel which should handle this trap correctly is 2.4.0-pa39
(in CVS), so I would encourage you to update your kernel.
Greetings,
Helge
On Thursday 28 June 2001 20:29, Torsten Neumann wrote:
> Hi,
>
> the linux-lvm code was inspired by the hp-ux LVM. So I thougt it would be
> real cool if the linux-lvm runs under hppa-linux.
> Compiling the kernel with lvm support is no problem, the userspace tools
> have some problems with gcc-3 (code uses #ifdef constructs in printf
> macro), but then also compiles cleanly.
>
> Now I want to create a VG but I only got the error message
> imke kernel: pvcreate(188): unaligned access to 0x40067cf3 at ip=0x400310db
> imke kernel: Not-handled unaligned insn 0x48350376
>
> >from the program pvcreate.
>
> Could somebody tell what kind of problem this is. Is it a kernel problem or
> a userspace problem ?
> Is there a way to avoid this problem ?
>
> Torsten
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [parisc-linux] Problems compiling LVM
[not found] ` <20010628193653.77706115D6@finlandia.infodrom.north.de>
@ 2001-06-28 20:14 ` Torsten Neumann
2001-06-28 20:26 ` Randolph Chung
0 siblings, 1 reply; 4+ messages in thread
From: Torsten Neumann @ 2001-06-28 20:14 UTC (permalink / raw)
To: Helge Deller; +Cc: parisc-linux
On Thu, Jun 28, 2001 at 09:36:15PM +0200, Helge Deller wrote:
> Hi Torsten,
[ unaligned access problem ]
>
> The problem is that your userspace program tries to do a direct 16 or 32-bit
> read- or write-access to address 0x40067cf3 - which lies on a "unaligned
> address" (e.g. not a a 32-bit boundary).
> On Intel architectures this fault is automatically handled by the hardware,
> while you get an unaligned access trap on parisc.
>
> The first parisc-kernel which should handle this trap correctly is 2.4.0-pa39
> (in CVS), so I would encourage you to update your kernel.
This was with kernel
Linux imke 2.4.0-pa43 #2 Wed Jun 27 20:09:41 CEST 2001 parisc unknown
Any Hints ?
Or could somebody tell me what more info is needed to solve the problem ?
Torsten
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [parisc-linux] Problems compiling LVM
2001-06-28 20:14 ` Torsten Neumann
@ 2001-06-28 20:26 ` Randolph Chung
0 siblings, 0 replies; 4+ messages in thread
From: Randolph Chung @ 2001-06-28 20:26 UTC (permalink / raw)
To: Torsten Neumann; +Cc: Helge Deller, parisc-linux
> This was with kernel
> Linux imke 2.4.0-pa43 #2 Wed Jun 27 20:09:41 CEST 2001 parisc unknown
>
> Any Hints ?
> Or could somebody tell me what more info is needed to solve the problem ?
Torsten, can you send me (not to the list pls) the binary that causes the
trap? I'll take a look. The unaligned trap only handles the common
load/store instructures on unaligned boundaries. Looks like your
application is using one of the (currently) unsupported instructions.
randolph
--
@..@ http://www.TauSq.org/
(----)
( >__< )
^^ ~~ ^^
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-06-28 20:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-28 18:29 [parisc-linux] Problems compiling LVM Torsten Neumann
2001-06-28 19:36 ` Helge Deller
[not found] ` <20010628193653.77706115D6@finlandia.infodrom.north.de>
2001-06-28 20:14 ` Torsten Neumann
2001-06-28 20:26 ` Randolph Chung
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox