Skip to contentSkip to conversation

evms_vgscan crash hppa kernel

parisc-linux [email protected] 3 participants 6 messages Nov 7, 2001 – Dec 12, 2001

lore
Share & tools
lore
#0 lore raw

Hi all,

I just apply evms-0.2.3 patches against hppa kernel 2.4.9-pa78. This kernel compiles, boots and runs also fine on my b180.

But when I launch evms_vgscan the kernel crash with following message:

...
Kernel Fault: Code=15 regs=124fc6c0 (Addr=faf00918)

YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI
PSW: 00000000000001001111111100001111

r0-3     00000000 10117000 1018c314 00000000
r4-7     10085e40 00000001 00000000 faf00908
r8-11    17b57c80 124bf300 00023674 faf00788
r12-15   00000000 ffffffff 000c2310 00000000
r16-19   00000000 000255c8 00014000 00023d60
r20-23   00000200 00000000 00000200 102ac400
r24-27   00000200 124fc808 00000000 1029c010
r28-31   00000000 00000000 124fc6c0 102ac420
sr0-3    00000000 00000000 00000000 000002d5
sr4-7    00000000 00000000 00000000 00000000

IASQ: 00000000 00000000 IAOQ: 1018c350 1018c354
IIR: 48fa0020 ISR: 00000000 IOR: faf00918
CPU: 0 CR30: 124fc000 CR31: 10348000
ORIG_R28: 124fc508

a "grep 1018c3 /boot/System.map"
1018c394 t evms_ioctl_cmd_get_minor

I would like to debug this by obtaining a core dump of the kernel after the reboot but I do not know how? (I did not find back the mail explaining how to do it in detail)

Thanks in advance for help,
Joel

-------------------------------------------------
This mail sent through Tiscalinet Webmail (http://webmail.tiscali.be)

#1 lore raw
Quoted 11 lines · On Wed, Nov 07, 2001 at 03:56:16PM +0100, [email protected] wrote:

IASQ: 00000000 00000000 IAOQ: 1018c350 1018c354
IIR: 48fa0020 ISR: 00000000 IOR: faf00918
CPU: 0 CR30: 124fc000 CR31: 10348000
ORIG_R28: 124fc508

a "grep 1018c3 /boot/System.map"
1018c394 t evms_ioctl_cmd_get_minor

I would like to debug this by obtaining a core dump of the kernel after the reboot but I do not know how? (I did not find back the mail explaining how to do it in detail)

1018c350 is before 1018c394, so it's actually in the previous function.

Signature · 1 line
Revolutions do not require corporate support.
#2 lore raw

Quoting Matthew Wilcox <[email protected]>:

Quoted 9 lines · On Wed, Nov 07, 2001 at 03:56:16PM +0100, [email protected] wrote:
Quoted 8 lines

IASQ: 00000000 00000000 IAOQ: 1018c350 1018c354
IIR: 48fa0020 ISR: 00000000 IOR: faf00918
CPU: 0 CR30: 124fc000 CR31: 10348000
ORIG_R28: 124fc508

a "grep 1018c3 /boot/System.map"
1018c394 t evms_ioctl_cmd_get_minor

Quoted 7 lines
Quoted 1 line

I would like to debug this by obtaining a core dump of the kernel

after the

Quoted 1 line

reboot but I do not know how? (I did not find back the mail explaining

how to do

Quoted 1 line

it in detail)

1018c350 is before 1018c394, so it's actually in the previous function.

Well ... in System.map I found:

1018bfc4 t evms_ioctl_cmd_get_logical_disk
1018c088 t evms_ioctl_cmd_get_logical_disk_info
1018c1c8 t evms_ioctl_cmd_sector_io
1018c394 t evms_ioctl_cmd_get_minor
1018c494 t evms_ioctl_cmd_get_volume_data

So it should be in 'evms_ioctl_cmd_sector_io', is it right?

Thank Matthew,
Joel

Quoted 5 lines
Signature · 2 lines
-- 
Revolutions do not require corporate support.

-------------------------------------------------
This mail sent through Tiscalinet Webmail (http://webmail.tiscali.be)

#3 lore raw
Quoted 1 line · On Wed, Nov 07, 2001 at 04:13:38PM +0100, [email protected] wrote:

So it should be in 'evms_ioctl_cmd_sector_io', is it right?

Correct.

Signature · 1 line
Revolutions do not require corporate support.
#5 lore raw
In reply to [email protected]
Quoted 3 lines · [email protected] wrote:

I would like to debug this by obtaining a core dump of the kernel after the reboot but I do not know how? (I did not find back the mail explaining how to do it in detail)

Linux (from Linus' tree) does not support core dumps. I'm only aware of coredump support patch from SGI.

The folks that manage HPUX core dump tools expresed interest in porting the same tools to parisc-linux...assuming we would dump core in the same format.

If a spec published for that, would anyone commit to implementing it?

FWIW, I think much of the work is portable to ia64-linux in case that would help justify an HP project to pick up/fund this work.

grant

Grant Grundler
parisc-linux {PCI|IOMMU|SMP} hacker
+1.408.447.7253

#4 lore raw

Re: [parisc-linux] evms_vgscan crash hppa kernel ... continue

In reply to [email protected]

Hi all,

I retry now with kernel 2.4.16-pa16 and evms cvs dated 2011-12-11 and unfortunately it still crashes but at crash time I've got he following interesting message to me:

--evms: Sector IO ioctl: Allocating sector buffer. WARNING! Stack pointer and cr30 do not correspond!

.... a dump ...

Can some one explain me what it means and what can be the reason.
I post here the question because I see that it cames from arch/parisc/kernel/traps.c but have no knowledge in the register naming for this processor.

Thanks in advance for help,
Joel

Quoting [email protected]:

Quoted 36 lines

Quoting Matthew Wilcox <[email protected]>:

Quoted 1 line

On Wed, Nov 07, 2001 at 03:56:16PM +0100, [email protected]

Quoted 11 lines · wrote:
Quoted 9 lines

IASQ: 00000000 00000000 IAOQ: 1018c350 1018c354
IIR: 48fa0020 ISR: 00000000 IOR: faf00918
CPU: 0 CR30: 124fc000 CR31: 10348000
ORIG_R28: 124fc508

a "grep 1018c3 /boot/System.map"
1018c394 t evms_ioctl_cmd_get_minor

I would like to debug this by obtaining a core dump of the kernel

after the

Quoted 1 line

reboot but I do not know how? (I did not find back the mail

explaining

Quoted 4 lines

how to do

Quoted 1 line

it in detail)

1018c350 is before 1018c394, so it's actually in the previous

function.

Well ... in System.map I found:

1018bfc4 t evms_ioctl_cmd_get_logical_disk
1018c088 t evms_ioctl_cmd_get_logical_disk_info
1018c1c8 t evms_ioctl_cmd_sector_io
1018c394 t evms_ioctl_cmd_get_minor
1018c494 t evms_ioctl_cmd_get_volume_data

So it should be in 'evms_ioctl_cmd_sector_io', is it right?

Thank Matthew,
Joel

Quoted 1 line
Quoted 9 lines
Quoted 4 lines
Signature · 1 line
Revolutions do not require corporate support.

-------------------------------------------------
This mail sent through Tiscalinet Webmail (http://webmail.tiscali.be)

-------------------------------------------------
This mail sent through Tiscalinet Webmail (http://webmail.tiscali.be)