* Still unable to use ReiserFS on PowerPC [Oops]
@ 2004-09-09 22:45 Paavo Hartikainen
2004-09-13 22:33 ` Jeff Mahoney
0 siblings, 1 reply; 3+ messages in thread
From: Paavo Hartikainen @ 2004-09-09 22:45 UTC (permalink / raw)
To: reiserfs-list
On PowerPC, I have never got ReiserFS working. It breaks apart when
trying to copy contents to ReiserFS from existing Ext3 filesystem. I
tried this about one year ago (PowerPC 603e, latest Linux 2.4 kernel
back then), and now again (PowerPC 604e, Linux 2.4.27 kernel) with
same results.
Mounting with
mount /dev/scsi/host1/bus0/target4/lun0/part2 /mnt/
It looks like this on "dmesg":
---
SCSI device sdb: 2134305 512-byte hdwr sectors (1093 MB)
/dev/scsi/host1/bus0/target4/lun0: [mac] p1 p2 p3
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device sd(8,18)) ...
for (sd(8,18))
sd(8,18):Using r5 hash to sort names
---
Then I try to copy filesystem contents with
time nice sudo cp -ax / /mnt/
Everything starts as expected, but after 90 seconds this ends up with
segmentation fault. By using "dmesg | ksymoops", I managed to extract
this:
---
ksymoops 2.4.9 on ppc 2.4.27. Options used
-V (default)
-k /proc/ksyms (default)
-l /proc/modules (default)
-o /lib/modules/2.4.27/ (default)
-m /boot/System.map-2.4.27 (default)
Warning: You did not tell me where to find symbol information. I will
assume that the log matches the kernel and modules that are running
right now and I'll use the default options above for symbol resolution.
If the current kernel and/or modules do not match the log, you can get
more accurate output by telling me the kernel version and where to find
map, modules, ksyms etc. ksymoops -h explains the options.
Warning (compare_maps): mismatch on symbol xchg_u32 , ksyms_base says c000b1c4, System.map says c00062b8. Ignoring ksyms_base entry
Oops: kernel access of bad area, sig: 11
NIP: C90EC0BC XER: 00000000 LR: C90EC708 SP: C3CDFA70 REGS: c3cdf9c0 TRAP: 0300 Not tainted
Using defaults from ksymoops -t elf32-powerpc -a powerpc:common
MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c3cde000[640] 'cp' Last syscall: 4
last math c3cde000 last altivec 00000000
GPR00: C8844000 C3CDFA70 C3CDE000 73000000 00000007 C3CDFAD8 00008000 00000001
GPR08: 00000001 00000038 00000000 00003246 00000000 10025914 00000001 C3CDFE90
GPR16: 00000001 C3CDFD40 00000000 00000000 00000000 C3CDFC10 00000001 00000007
GPR24: 00000001 00000001 00008000 C4354400 C3CDFC10 C3CDFAD8 C8844038 00000007
Call backtrace:
00000000 C90EC708 C90ED780 C90F6358 C003BD38 C003C718 C90FACB4
C002AEE0 C002B540 C003866C C0003C3C 6C696173 10008B8C 100040B4
10005704 10003CC4 10005AEC 10003CC4 10005AEC 10003CC4 10005AEC
100064A4 1000310C 10003ACC 0FE97100 00000000
Warning (Oops_read): Code line not seen, dumping what data is available
>>NIP; c90ec0bc <[reiserfs]scan_bitmap_block+5c/540> <=====
>>GPR0; c8844000 <[advansys].data.end+2b65/6bc5>
>>GPR1; c3cdfa70 <_end+3aae864/85f9e54>
>>GPR2; c3cde000 <_end+3aacdf4/85f9e54>
>>GPR5; c3cdfad8 <_end+3aae8cc/85f9e54>
>>GPR15; c3cdfe90 <_end+3aaec84/85f9e54>
>>GPR17; c3cdfd40 <_end+3aaeb34/85f9e54>
>>GPR21; c3cdfc10 <_end+3aaea04/85f9e54>
>>GPR27; c4354400 <_end+41231f4/85f9e54>
>>GPR28; c3cdfc10 <_end+3aaea04/85f9e54>
>>GPR29; c3cdfad8 <_end+3aae8cc/85f9e54>
>>GPR30; c8844038 <[advansys].data.end+2b9d/6bc5>
Trace; 00000000 Before first symbol
Trace; c90ec708 <[reiserfs]scan_bitmap+168/23c>
Trace; c90ed780 <[reiserfs]reiserfs_allocate_blocknrs+7a8/910>
Trace; c90f6358 <[reiserfs]reiserfs_get_block+488/1660>
Trace; c003bd38 <__block_prepare_write+1f8/384>
Trace; c003c718 <block_prepare_write+34/68>
Trace; c90facb4 <[reiserfs]reiserfs_prepare_write+8c/a0>
Trace; c002aee0 <do_generic_file_write+244/474>
Trace; c002b540 <generic_file_write+1a0/1d4>
Trace; c003866c <sys_write+b4/148>
Trace; c0003c3c <ret_from_syscall_1+0/b4>
Trace; 6c696173 Before first symbol
Trace; 10008b8c Before first symbol
Trace; 100040b4 Before first symbol
Trace; 10005704 Before first symbol
Trace; 10003cc4 Before first symbol
Trace; 10005aec Before first symbol
Trace; 10003cc4 Before first symbol
Trace; 10005aec Before first symbol
Trace; 10003cc4 Before first symbol
Trace; 10005aec Before first symbol
Trace; 100064a4 Before first symbol
Trace; 1000310c Before first symbol
Trace; 10003acc Before first symbol
Trace; 0fe97100 Before first symbol
Trace; 00000000 Before first symbol
3 warnings issued. Results may not be reliable.
---
Same thing happens when I tried to copy
"/usr/src/kernel-source-2.4.27" to empty ReiserFS. Any attempt to
access mounted ReiserFS filesystem will hang after that, and I have to
reboot to get back to it. I have heard that some persons are using
ReiserFS on PowerPC but I have not seen it myself. Also, I have seen
<URL:http://www.namesys.com/faq.html#non-i386> but I have not bothered
to try on my Alpha or SPARC hosts since I prefer uptime.
--
"pienena / Paavo "Rainbow Rat" Hartikainen
minusta / E-mail: pahartik@sci.fi
tulee / URL: http://www.sci.fi/~pahartik/
rotta" / EFnet: pahartik at #Atari and #LionKing
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Still unable to use ReiserFS on PowerPC [Oops]
2004-09-09 22:45 Still unable to use ReiserFS on PowerPC [Oops] Paavo Hartikainen
@ 2004-09-13 22:33 ` Jeff Mahoney
2004-09-14 7:20 ` Oliver Korpilla
0 siblings, 1 reply; 3+ messages in thread
From: Jeff Mahoney @ 2004-09-13 22:33 UTC (permalink / raw)
To: Paavo Hartikainen; +Cc: reiserfs-list
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Paavo Hartikainen wrote:
| On PowerPC, I have never got ReiserFS working. It breaks apart when
| trying to copy contents to ReiserFS from existing Ext3 filesystem. I
| tried this about one year ago (PowerPC 603e, latest Linux 2.4 kernel
| back then), and now again (PowerPC 604e, Linux 2.4.27 kernel) with
| same results.
Paavo -
As the original author of the endian safeness patches, this report
concerns me. This code has been in the kernel for a few years now, and
is considered quite stable. I've tried reproducing on my iBook, and
could not. Though, 2.4.27 won't even boot on my dual g4 powermac.
Do you always get an Oops in the same path?
- -Jeff
| Mounting with
|
| mount /dev/scsi/host1/bus0/target4/lun0/part2 /mnt/
|
| It looks like this on "dmesg":
|
| ---
| SCSI device sdb: 2134305 512-byte hdwr sectors (1093 MB)
| /dev/scsi/host1/bus0/target4/lun0: [mac] p1 p2 p3
| reiserfs: found format "3.6" with standard journal
| reiserfs: checking transaction log (device sd(8,18)) ...
| for (sd(8,18))
| sd(8,18):Using r5 hash to sort names
| ---
|
| Then I try to copy filesystem contents with
|
| time nice sudo cp -ax / /mnt/
|
| Everything starts as expected, but after 90 seconds this ends up with
| segmentation fault. By using "dmesg | ksymoops", I managed to extract
| this:
|
| ---
| ksymoops 2.4.9 on ppc 2.4.27. Options used
| -V (default)
| -k /proc/ksyms (default)
| -l /proc/modules (default)
| -o /lib/modules/2.4.27/ (default)
| -m /boot/System.map-2.4.27 (default)
|
| Warning: You did not tell me where to find symbol information. I will
| assume that the log matches the kernel and modules that are running
| right now and I'll use the default options above for symbol resolution.
| If the current kernel and/or modules do not match the log, you can get
| more accurate output by telling me the kernel version and where to find
| map, modules, ksyms etc. ksymoops -h explains the options.
|
| Warning (compare_maps): mismatch on symbol xchg_u32 , ksyms_base says
c000b1c4, System.map says c00062b8. Ignoring ksyms_base entry
| Oops: kernel access of bad area, sig: 11
| NIP: C90EC0BC XER: 00000000 LR: C90EC708 SP: C3CDFA70 REGS: c3cdf9c0
TRAP: 0300 Not tainted
| Using defaults from ksymoops -t elf32-powerpc -a powerpc:common
| MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
| TASK = c3cde000[640] 'cp' Last syscall: 4
| last math c3cde000 last altivec 00000000
| GPR00: C8844000 C3CDFA70 C3CDE000 73000000 00000007 C3CDFAD8 00008000
00000001
| GPR08: 00000001 00000038 00000000 00003246 00000000 10025914 00000001
C3CDFE90
| GPR16: 00000001 C3CDFD40 00000000 00000000 00000000 C3CDFC10 00000001
00000007
| GPR24: 00000001 00000001 00008000 C4354400 C3CDFC10 C3CDFAD8 C8844038
00000007
| Call backtrace:
| 00000000 C90EC708 C90ED780 C90F6358 C003BD38 C003C718 C90FACB4
| C002AEE0 C002B540 C003866C C0003C3C 6C696173 10008B8C 100040B4
| 10005704 10003CC4 10005AEC 10003CC4 10005AEC 10003CC4 10005AEC
| 100064A4 1000310C 10003ACC 0FE97100 00000000
| Warning (Oops_read): Code line not seen, dumping what data is available
|
|
|
|>>NIP; c90ec0bc <[reiserfs]scan_bitmap_block+5c/540> <=====
|
|
|>>GPR0; c8844000 <[advansys].data.end+2b65/6bc5>
|>>GPR1; c3cdfa70 <_end+3aae864/85f9e54>
|>>GPR2; c3cde000 <_end+3aacdf4/85f9e54>
|>>GPR5; c3cdfad8 <_end+3aae8cc/85f9e54>
|>>GPR15; c3cdfe90 <_end+3aaec84/85f9e54>
|>>GPR17; c3cdfd40 <_end+3aaeb34/85f9e54>
|>>GPR21; c3cdfc10 <_end+3aaea04/85f9e54>
|>>GPR27; c4354400 <_end+41231f4/85f9e54>
|>>GPR28; c3cdfc10 <_end+3aaea04/85f9e54>
|>>GPR29; c3cdfad8 <_end+3aae8cc/85f9e54>
|>>GPR30; c8844038 <[advansys].data.end+2b9d/6bc5>
|
|
| Trace; 00000000 Before first symbol
| Trace; c90ec708 <[reiserfs]scan_bitmap+168/23c>
| Trace; c90ed780 <[reiserfs]reiserfs_allocate_blocknrs+7a8/910>
| Trace; c90f6358 <[reiserfs]reiserfs_get_block+488/1660>
| Trace; c003bd38 <__block_prepare_write+1f8/384>
| Trace; c003c718 <block_prepare_write+34/68>
| Trace; c90facb4 <[reiserfs]reiserfs_prepare_write+8c/a0>
| Trace; c002aee0 <do_generic_file_write+244/474>
| Trace; c002b540 <generic_file_write+1a0/1d4>
| Trace; c003866c <sys_write+b4/148>
| Trace; c0003c3c <ret_from_syscall_1+0/b4>
| Trace; 6c696173 Before first symbol
| Trace; 10008b8c Before first symbol
| Trace; 100040b4 Before first symbol
| Trace; 10005704 Before first symbol
| Trace; 10003cc4 Before first symbol
| Trace; 10005aec Before first symbol
| Trace; 10003cc4 Before first symbol
| Trace; 10005aec Before first symbol
| Trace; 10003cc4 Before first symbol
| Trace; 10005aec Before first symbol
| Trace; 100064a4 Before first symbol
| Trace; 1000310c Before first symbol
| Trace; 10003acc Before first symbol
| Trace; 0fe97100 Before first symbol
| Trace; 00000000 Before first symbol
|
|
| 3 warnings issued. Results may not be reliable.
| ---
|
| Same thing happens when I tried to copy
| "/usr/src/kernel-source-2.4.27" to empty ReiserFS. Any attempt to
| access mounted ReiserFS filesystem will hang after that, and I have to
| reboot to get back to it. I have heard that some persons are using
| ReiserFS on PowerPC but I have not seen it myself. Also, I have seen
| <URL:http://www.namesys.com/faq.html#non-i386> but I have not bothered
| to try on my Alpha or SPARC hosts since I prefer uptime.
|
- --
Jeff Mahoney
SuSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBRiAfLPWxlyuTD7IRAunMAJ4lF/8BFuy+i6Y8d4TERP3Pn2n4bACgn59c
CqyKBP0r3jKbh8q++2ayARo=
=g97E
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Still unable to use ReiserFS on PowerPC [Oops]
2004-09-13 22:33 ` Jeff Mahoney
@ 2004-09-14 7:20 ` Oliver Korpilla
0 siblings, 0 replies; 3+ messages in thread
From: Oliver Korpilla @ 2004-09-14 7:20 UTC (permalink / raw)
To: Jeff Mahoney; +Cc: Paavo Hartikainen, reiserfs-list, Vladimir Saveliev
Hello,
I guess my problem is similar, though I cannot quite verify that.
I'm having a problem exporting Reiser4 over NFS, and Vladimir thought it
possible that the problem has been rooted in endianness. He sent me a patch that
tries to expose the problem, and one of the cases got fired.
Maybe you could both talk - I mean Paavo and Vladimir - coordinate about the
problem, since I'm not in a position to help you beyond having a workstation and
embedded PowerPC targets, where I can test things.
With kind regards,
Oliver Korpilla
Jeff Mahoney wrote:
> Paavo Hartikainen wrote:
> | On PowerPC, I have never got ReiserFS working. It breaks apart when
> | trying to copy contents to ReiserFS from existing Ext3 filesystem. I
> | tried this about one year ago (PowerPC 603e, latest Linux 2.4 kernel
> | back then), and now again (PowerPC 604e, Linux 2.4.27 kernel) with
> | same results.
>
> As the original author of the endian safeness patches, this report
> concerns me. This code has been in the kernel for a few years now, and
> is considered quite stable. I've tried reproducing on my iBook, and
> could not. Though, 2.4.27 won't even boot on my dual g4 powermac.
>
> Do you always get an Oops in the same path?
> - -Jeff
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-09-14 7:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-09 22:45 Still unable to use ReiserFS on PowerPC [Oops] Paavo Hartikainen
2004-09-13 22:33 ` Jeff Mahoney
2004-09-14 7:20 ` Oliver Korpilla
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.