jiju peter | 3 Jun 2004 23:34
Picon
Favicon

write system call returning success after SCSI write failure

I am running RHEL3 server connected to a
JBOD using a fiber channel HBA. I mounted
a disk using ext3 file system with -o sync
option on directory /mntb. 

Then I unplugged the fiber channel cable and
did following commands.

echo 1 > /tmp/file1
cp /tmp/file1 /mntb/file
echo $?

The cp command waited for 30 seconds and there
are SCSI and file system error messages on the
console as expected. I am sure that the data
did not reach the fiber channel disk. But the
exit status of cp command is zero.

This is an strace of cp command
====
open("/mntb/file", O_WRONLY|O_TRUNC|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=2, ...}) = 0
read(3, "2\n", 4096)                    = 2
write(4, "2\n", 2)                      = 2
read(3, "", 4096)                       = 0
close(4)                                = 0
close(3)                                = 0
===========

(Continue reading)

Petter Larsen | 7 Jun 2004 10:21
Picon
Favicon

mode data=journal. Is it safe to use?

Hello

I can see several postings on this mailing-list that people have problem
with mounting ext3 partition with mode data=journal.

See URL's:
https://www.redhat.com/archives/ext3-users/2004-March/msg00000.html
https://www.redhat.com/archives/ext3-users/2004-March/msg00050.html

We are going to use ext3 on a Compact Flash disk in true IDE mode. We
need this filesystem to be as safe and consistent as possible. We can
not tolerate any garbage in the files after a crash or sudden power
failures. We have then decided to use ext3 with mode data=journal.

Can I rely on this?
We use kernel 2.6.5 on PowerPC 8260, and may be using newer kernels
later in the project.

Best regards
--

-- 
Petter Larsen
cand. scient.
moreCom as
913 17 222
Kjartan Reynir Hauksson | 8 Jun 2004 12:02
Picon

Directories turned to sockets


A couple of days ago I noticed that a 117 directories in one of my logical volumes had turned to sockets wich fsck does not seem to fix.  All the affected folders(sockets) have the following attributes
srwxr-xr-x  32770 2147516917 2147516917 2147520512 and they all report the same size of 1073758212 (1.1T).
Does anyone have an explanation as to how this could happen and more importandly is there a way to reverse this ?

My system is Mandrake 10 with kernel 2.6.3-8mdk, if you need more info then just ask.

Regards
-Kjartan Reynir Hauksson.
_______________________________________________
Ext3-users mailing list
Ext3-users <at> redhat.com
https://www.redhat.com/mailman/listinfo/ext3-users
Petter Larsen | 10 Jun 2004 10:57
Picon
Favicon

Re: mode data=journal. Is it safe to use?

Hello

I can see that the threads that I have referenced is crash in the 2.4.x
kernel. We use kerrnel 2.6.x. Are there major updates in this kernel for
ext3 or are they much alike the latest 2.4.x kernels?

Petter

On Mon, 2004-06-07 at 10:21, Petter Larsen wrote:
> Hello
> 
> I can see several postings on this mailing-list that people have
> problem
> with mounting ext3 partition with mode data=journal.
> 
> See URL's:
> https://www.redhat.com/archives/ext3-users/2004-March/msg00000.html
> https://www.redhat.com/archives/ext3-users/2004-March/msg00050.html
> 
> We are going to use ext3 on a Compact Flash disk in true IDE mode. We
> need this filesystem to be as safe and consistent as possible. We can
> not tolerate any garbage in the files after a crash or sudden power
> failures. We have then decided to use ext3 with mode data=journal.
> 
> Can I rely on this?
> We use kernel 2.6.5 on PowerPC 8260, and may be using newer kernels
> later in the project.
> 
> 
> Best regards
> --
> Petter Larsen
> cand. scient.
> moreCom as
> 913 17 222
> 
> 
> _______________________________________________
> Ext3-users mailing list
> Ext3-users <at> redhat.com
> https://www.redhat.com/mailman/listinfo/ext3-users
--

-- 
Petter Larsen
cand. scient.
moreCom as
913 17 222
Ralf Hildebrandt | 10 Jun 2004 11:27
Picon
Favicon

ext3 EIP

I hope this EIP can enlightend the developers:

Jun 10 10:28:59 shawarma kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000019
Jun 10 10:28:59 shawarma kernel:  printing eip:
Jun 10 10:28:59 shawarma kernel: c0181d47
Jun 10 10:28:59 shawarma kernel: *pde = 00000000
Jun 10 10:28:59 shawarma kernel: Oops: 0000 [#1]
Jun 10 10:28:59 shawarma kernel: Modules linked in: n_hdlc ppp_synctty ipv6 autofs ipt_TCPMSS
ipt_MASQUERADE iptable_nat ip_conntrack iptable_filter ip_tables snd_ens1371 snd_rawmidi
snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_timer snd_ac97_codec snd
soundcore uhci_hcd usbcore via_agp agpgart 3c59x
Jun 10 10:28:59 shawarma kernel: CPU:    0
Jun 10 10:28:59 shawarma kernel: EIP:    0060:[journal_grab_journal_head+7/32]    Not tainted
Jun 10 10:28:59 shawarma kernel: EFLAGS: 00010213   (2.6.7-rc2-bk5)
Jun 10 10:28:59 shawarma kernel: EIP is at journal_grab_journal_head+0x7/0x20
Jun 10 10:28:59 shawarma kernel: eax: 00000019   ebx: 00000019   ecx: 00000000   edx: 00000019
Jun 10 10:28:59 shawarma kernel: esi: 00000000   edi: d6fee20c   ebp: c10074c0   esp: cdef7be4
Jun 10 10:28:59 shawarma kernel: ds: 007b   es: 007b   ss: 0068
Jun 10 10:28:59 shawarma kernel: Process aide (pid: 14762, threadinfo=cdef7000 task=d45d4810)
Jun 10 10:28:59 shawarma kernel: Stack: c017d58d 00000000 d7fc74b8 c0172300 000001d2 cdef7ce0 c10074c0 c0145f78
Jun 10 10:28:59 shawarma kernel:        d6870324 00000000 c0134c1a cdef7ce0 00000001 00000011 00000000 cdef7d88
Jun 10 10:28:59 shawarma kernel:        000001d2 cdef7c28 cdef7c28 cdef7c70 cdef7c74 c017137e cdef7c74 c01714c5
Jun 10 10:28:59 shawarma kernel: Call Trace:
Jun 10 10:28:59 shawarma kernel:  [journal_try_to_free_buffers+45/160] journal_try_to_free_buffers+0x2d/0xa0
Jun 10 10:28:59 shawarma kernel:  [ext3_releasepage+0/96] ext3_releasepage+0x0/0x60
Jun 10 10:28:59 shawarma kernel:  [try_to_release_page+56/96] try_to_release_page+0x38/0x60
Jun 10 10:28:59 shawarma kernel:  [shrink_list+826/1056] shrink_list+0x33a/0x420
Jun 10 10:28:59 shawarma kernel:  [ext3_get_block_handle+126/704] ext3_get_block_handle+0x7e/0x2c0
Jun 10 10:28:59 shawarma kernel:  [ext3_get_block_handle+453/704] ext3_get_block_handle+0x1c5/0x2c0
Jun 10 10:28:59 shawarma kernel:  [__ide_dma_begin+34/64] __ide_dma_begin+0x22/0x40
Jun 10 10:28:59 shawarma kernel:  [shrink_cache+314/768] shrink_cache+0x13a/0x300
Jun 10 10:28:59 shawarma kernel:  [shrink_zone+170/288] shrink_zone+0xaa/0x120
Jun 10 10:28:59 shawarma kernel:  [shrink_caches+92/128] shrink_caches+0x5c/0x80
Jun 10 10:28:59 shawarma kernel:  [try_to_free_pages+148/384] try_to_free_pages+0x94/0x180
Jun 10 10:28:59 shawarma kernel:  [__alloc_pages+422/768] __alloc_pages+0x1a6/0x300
Jun 10 10:28:59 shawarma kernel:  [do_page_cache_readahead+231/288] do_page_cache_readahead+0xe7/0x120
Jun 10 10:28:59 shawarma kernel:  [filemap_nopage+705/800] filemap_nopage+0x2c1/0x320
Jun 10 10:28:59 shawarma kernel:  [do_no_page+144/672] do_no_page+0x90/0x2a0
Jun 10 10:28:59 shawarma kernel:  [handle_mm_fault+166/256] handle_mm_fault+0xa6/0x100
Jun 10 10:28:59 shawarma kernel:  [do_page_fault+263/1181] do_page_fault+0x107/0x49d
Jun 10 10:28:59 shawarma kernel:  [recalc_task_prio+139/384] recalc_task_prio+0x8b/0x180
Jun 10 10:28:59 shawarma kernel:  [schedule+605/1056] schedule+0x25d/0x420
Jun 10 10:28:59 shawarma kernel:  [do_IRQ+271/352] do_IRQ+0x10f/0x160
Jun 10 10:28:59 shawarma kernel:  [do_page_fault+0/1181] do_page_fault+0x0/0x49d
Jun 10 10:28:59 shawarma kernel:  [error_code+45/64] error_code+0x2d/0x40
Jun 10 10:28:59 shawarma kernel:
Jun 10 10:28:59 shawarma kernel: Code: 8b 00 f6 c4 08 74 06 8b 4a 24 ff 41 04 89 c8 c3 89 f6 8d bc
Jun 10 10:28:59 shawarma kernel:  printing eip:
Jun 10 10:28:59 shawarma kernel: c0181d47
Jun 10 10:28:59 shawarma kernel: Oops: 0000 [#1]
Jun 10 10:28:59 shawarma kernel: Modules linked in: n_hdlc ppp_synctty ipv6 autofs ipt_TCPMSS
ipt_MASQUERADE iptable_nat ip_conntrack iptable_filter ip_tables snd_ens1371 snd_rawmidi
snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_timer snd_ac97_codec snd
soundcore uhci_hcd usbcore via_agp agpgart 3c59x
Jun 10 10:28:59 shawarma kernel: CPU:    0
Jun 10 10:28:59 shawarma kernel: EIP:    0060:[journal_grab_journal_head+7/32]    Not tainted
Jun 10 10:28:59 shawarma kernel: EFLAGS: 00010213   (2.6.7-rc2-bk5)
Jun 10 10:28:59 shawarma kernel: EIP is at journal_grab_journal_head+0x7/0x20
Jun 10 10:28:59 shawarma kernel: eax: 00000019   ebx: 00000019   ecx: 00000000   edx: 00000019
Jun 10 10:28:59 shawarma kernel: esi: 00000000   edi: d6fee20c   ebp: c10074c0   esp: cdef7be4
Jun 10 10:28:59 shawarma kernel: ds: 007b   es: 007b   ss: 0068
Jun 10 10:28:59 shawarma kernel: Process aide (pid: 14762, threadinfo=cdef7000 task=d45d4810)
Jun 10 10:28:59 shawarma kernel: Stack: c017d58d 00000000 d7fc74b8 c0172300 000001d2 cdef7ce0 c10074c0 c0145f78
Jun 10 10:28:59 shawarma kernel:        d6870324 00000000 c0134c1a cdef7ce0 00000001 00000011 00000000 cdef7d88
Jun 10 10:28:59 shawarma kernel:        000001d2 cdef7c28 cdef7c28 cdef7c70 cdef7c74 c017137e cdef7c74 c01714c5
Jun 10 10:28:59 shawarma kernel: Call Trace:
Jun 10 10:28:59 shawarma kernel:  [journal_try_to_free_buffers+45/160] journal_try_to_free_buffers+0x2d/0xa0
Jun 10 10:28:59 shawarma kernel:  [ext3_releasepage+0/96] ext3_releasepage+0x0/0x60
Jun 10 10:28:59 shawarma kernel:  [try_to_release_page+56/96] try_to_release_page+0x38/0x60
Jun 10 10:28:59 shawarma kernel:  [shrink_list+826/1056] shrink_list+0x33a/0x420
Jun 10 10:28:59 shawarma kernel:  [ext3_get_block_handle+126/704] ext3_get_block_handle+0x7e/0x2c0
Jun 10 10:28:59 shawarma kernel:  [ext3_get_block_handle+453/704] ext3_get_block_handle+0x1c5/0x2c0
Jun 10 10:28:59 shawarma kernel:  [__ide_dma_begin+34/64] __ide_dma_begin+0x22/0x40
Jun 10 10:28:59 shawarma kernel:  [shrink_cache+314/768] shrink_cache+0x13a/0x300
Jun 10 10:28:59 shawarma kernel:  [shrink_zone+170/288] shrink_zone+0xaa/0x120
Jun 10 10:28:59 shawarma kernel:  [shrink_caches+92/128] shrink_caches+0x5c/0x80
Jun 10 10:28:59 shawarma kernel:  [try_to_free_pages+148/384] try_to_free_pages+0x94/0x180
Jun 10 10:28:59 shawarma kernel:  [__alloc_pages+422/768] __alloc_pages+0x1a6/0x300
Jun 10 10:28:59 shawarma kernel:  [do_page_cache_readahead+231/288] do_page_cache_readahead+0xe7/0x120
Jun 10 10:28:59 shawarma kernel:  [filemap_nopage+705/800] filemap_nopage+0x2c1/0x320
Jun 10 10:28:59 shawarma kernel:  [do_no_page+144/672] do_no_page+0x90/0x2a0
Jun 10 10:28:59 shawarma kernel:  [handle_mm_fault+166/256] handle_mm_fault+0xa6/0x100
Jun 10 10:28:59 shawarma kernel:  [do_page_fault+263/1181] do_page_fault+0x107/0x49d
Jun 10 10:28:59 shawarma kernel:  [recalc_task_prio+139/384] recalc_task_prio+0x8b/0x180
Jun 10 10:28:59 shawarma kernel:  [schedule+605/1056] schedule+0x25d/0x420
Jun 10 10:28:59 shawarma kernel:  [do_IRQ+271/352] do_IRQ+0x10f/0x160
Jun 10 10:28:59 shawarma kernel:  [do_page_fault+0/1181] do_page_fault+0x0/0x49d
Jun 10 10:28:59 shawarma kernel:  [error_code+45/64] error_code+0x2d/0x40
Jun 10 10:28:59 shawarma kernel:
Jun 10 10:28:59 shawarma kernel: Code: 8b 00 f6 c4 08 74 06 8b 4a 24 ff 41 04 89 c8 c3 89 f6 8d bc
Jun 10 10:28:59 shawarma kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000019
Jun 10 10:28:59 shawarma kernel:  printing eip:
Jun 10 10:28:59 shawarma kernel: c0181d47
Jun 10 10:28:59 shawarma kernel: *pde = 00000000
Jun 10 10:28:59 shawarma kernel: Oops: 0000 [#1]
Jun 10 10:28:59 shawarma kernel: Modules linked in: n_hdlc ppp_synctty ipv6 autofs ipt_TCPMSS
ipt_MASQUERADE iptable_nat ip_conntrack iptable_filter ip_tables snd_ens1371 snd_rawmidi
snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_timer snd_ac97_codec snd
soundcore uhci_hcd usbcore via_agp agpgart 3c59x
Jun 10 10:28:59 shawarma kernel: CPU:    0
Jun 10 10:28:59 shawarma kernel: EIP:    0060:[journal_grab_journal_head+7/32]    Not tainted
Jun 10 10:28:59 shawarma kernel: EFLAGS: 00010213   (2.6.7-rc2-bk5)
Jun 10 10:28:59 shawarma kernel: EIP is at journal_grab_journal_head+0x7/0x20
Jun 10 10:28:59 shawarma kernel: eax: 00000019   ebx: 00000019   ecx: 00000000   edx: 00000019
Jun 10 10:28:59 shawarma kernel: esi: 00000000   edi: d6fee20c   ebp: c10074c0   esp: cdef7be4
Jun 10 10:28:59 shawarma kernel: ds: 007b   es: 007b   ss: 0068
Jun 10 10:28:59 shawarma kernel: Process aide (pid: 14762, threadinfo=cdef7000 task=d45d4810)
Jun 10 10:28:59 shawarma kernel: Stack: c017d58d 00000000 d7fc74b8 c0172300 000001d2 cdef7ce0 c10074c0 c0145f78
Jun 10 10:28:59 shawarma kernel:        d6870324 00000000 c0134c1a cdef7ce0 00000001 00000011 00000000 cdef7d88
Jun 10 10:28:59 shawarma kernel:        000001d2 cdef7c28 cdef7c28 cdef7c70 cdef7c74 c017137e cdef7c74 c01714c5
Jun 10 10:28:59 shawarma kernel: Call Trace:
Jun 10 10:28:59 shawarma kernel:  [journal_try_to_free_buffers+45/160] journal_try_to_free_buffers+0x2d/0xa0
Jun 10 10:28:59 shawarma kernel:  [ext3_releasepage+0/96] ext3_releasepage+0x0/0x60
Jun 10 10:28:59 shawarma kernel:  [try_to_release_page+56/96] try_to_release_page+0x38/0x60
Jun 10 10:28:59 shawarma kernel:  [shrink_list+826/1056] shrink_list+0x33a/0x420
Jun 10 10:28:59 shawarma kernel:  [ext3_get_block_handle+126/704] ext3_get_block_handle+0x7e/0x2c0
Jun 10 10:28:59 shawarma kernel:  [ext3_get_block_handle+453/704] ext3_get_block_handle+0x1c5/0x2c0
Jun 10 10:28:59 shawarma kernel:  [__ide_dma_begin+34/64] __ide_dma_begin+0x22/0x40
Jun 10 10:28:59 shawarma kernel:  [shrink_cache+314/768] shrink_cache+0x13a/0x300
Jun 10 10:28:59 shawarma kernel:  [shrink_zone+170/288] shrink_zone+0xaa/0x120
Jun 10 10:28:59 shawarma kernel:  [shrink_caches+92/128] shrink_caches+0x5c/0x80
Jun 10 10:28:59 shawarma kernel:  [try_to_free_pages+148/384] try_to_free_pages+0x94/0x180
Jun 10 10:28:59 shawarma kernel:  [__alloc_pages+422/768] __alloc_pages+0x1a6/0x300
Jun 10 10:28:59 shawarma kernel:  [do_page_cache_readahead+231/288] do_page_cache_readahead+0xe7/0x120
Jun 10 10:28:59 shawarma kernel:  [filemap_nopage+705/800] filemap_nopage+0x2c1/0x320
Jun 10 10:28:59 shawarma kernel:  [do_no_page+144/672] do_no_page+0x90/0x2a0
Jun 10 10:28:59 shawarma kernel:  [handle_mm_fault+166/256] handle_mm_fault+0xa6/0x100
Jun 10 10:28:59 shawarma kernel:  [do_page_fault+263/1181] do_page_fault+0x107/0x49d
Jun 10 10:28:59 shawarma kernel:  [recalc_task_prio+139/384] recalc_task_prio+0x8b/0x180
Jun 10 10:28:59 shawarma kernel:  [schedule+605/1056] schedule+0x25d/0x420
Jun 10 10:28:59 shawarma kernel:  [do_IRQ+271/352] do_IRQ+0x10f/0x160
Jun 10 10:28:59 shawarma kernel:  [do_page_fault+0/1181] do_page_fault+0x0/0x49d
Jun 10 10:28:59 shawarma kernel:  [error_code+45/64] error_code+0x2d/0x40
Jun 10 10:28:59 shawarma kernel:
Jun 10 10:28:59 shawarma kernel: Code: 8b 00 f6 c4 08 74 06 8b 4a 24 ff 41 04 89 c8 c3 89 f6 8d bc

--

-- 
Ralf Hildebrandt (Im Auftrag des Referat V a)   Ralf.Hildebrandt <at> charite.de
Charite - Universitätsmedizin Berlin            Tel.  +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin    Fax.  +49 (0)30-450 570-916
IT-Zentrum Standort Campus Mitte                          AIM.  ralfpostfix
Petter Larsen | 10 Jun 2004 12:24
Picon
Favicon

Re: ext3 EIP

Which mode are you using?

data=journal|ordered|writeback?

Petter

On Thu, 2004-06-10 at 11:27, Ralf Hildebrandt wrote:
> I hope this EIP can enlightend the developers:
> 
> Jun 10 10:28:59 shawarma kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000019
> Jun 10 10:28:59 shawarma kernel:  printing eip:
> Jun 10 10:28:59 shawarma kernel: c0181d47
> Jun 10 10:28:59 shawarma kernel: *pde = 00000000
> Jun 10 10:28:59 shawarma kernel: Oops: 0000 [#1]
> Jun 10 10:28:59 shawarma kernel: Modules linked in: n_hdlc ppp_synctty ipv6 autofs ipt_TCPMSS
ipt_MASQUERADE iptable_nat ip_conntrack iptable_filter ip_tables snd_ens1371 snd_rawmidi
snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_timer snd_ac97_codec snd
soundcore uhci_hcd usbcore via_agp agpgart 3c59x
> Jun 10 10:28:59 shawarma kernel: CPU:    0
> Jun 10 10:28:59 shawarma kernel: EIP:    0060:[journal_grab_journal_head+7/32]    Not tainted
> Jun 10 10:28:59 shawarma kernel: EFLAGS: 00010213   (2.6.7-rc2-bk5)
> Jun 10 10:28:59 shawarma kernel: EIP is at journal_grab_journal_head+0x7/0x20
> Jun 10 10:28:59 shawarma kernel: eax: 00000019   ebx: 00000019   ecx: 00000000   edx: 00000019
> Jun 10 10:28:59 shawarma kernel: esi: 00000000   edi: d6fee20c   ebp: c10074c0   esp: cdef7be4
> Jun 10 10:28:59 shawarma kernel: ds: 007b   es: 007b   ss: 0068
> Jun 10 10:28:59 shawarma kernel: Process aide (pid: 14762, threadinfo=cdef7000 task=d45d4810)
> Jun 10 10:28:59 shawarma kernel: Stack: c017d58d 00000000 d7fc74b8 c0172300 000001d2 cdef7ce0
c10074c0 c0145f78
> Jun 10 10:28:59 shawarma kernel:        d6870324 00000000 c0134c1a cdef7ce0 00000001 00000011 00000000 cdef7d88
> Jun 10 10:28:59 shawarma kernel:        000001d2 cdef7c28 cdef7c28 cdef7c70 cdef7c74 c017137e cdef7c74 c01714c5
> Jun 10 10:28:59 shawarma kernel: Call Trace:
> Jun 10 10:28:59 shawarma kernel:  [journal_try_to_free_buffers+45/160] journal_try_to_free_buffers+0x2d/0xa0
> Jun 10 10:28:59 shawarma kernel:  [ext3_releasepage+0/96] ext3_releasepage+0x0/0x60
> Jun 10 10:28:59 shawarma kernel:  [try_to_release_page+56/96] try_to_release_page+0x38/0x60
> Jun 10 10:28:59 shawarma kernel:  [shrink_list+826/1056] shrink_list+0x33a/0x420
> Jun 10 10:28:59 shawarma kernel:  [ext3_get_block_handle+126/704] ext3_get_block_handle+0x7e/0x2c0
> Jun 10 10:28:59 shawarma kernel:  [ext3_get_block_handle+453/704] ext3_get_block_handle+0x1c5/0x2c0
> Jun 10 10:28:59 shawarma kernel:  [__ide_dma_begin+34/64] __ide_dma_begin+0x22/0x40
> Jun 10 10:28:59 shawarma kernel:  [shrink_cache+314/768] shrink_cache+0x13a/0x300
> Jun 10 10:28:59 shawarma kernel:  [shrink_zone+170/288] shrink_zone+0xaa/0x120
> Jun 10 10:28:59 shawarma kernel:  [shrink_caches+92/128] shrink_caches+0x5c/0x80
> Jun 10 10:28:59 shawarma kernel:  [try_to_free_pages+148/384] try_to_free_pages+0x94/0x180
> Jun 10 10:28:59 shawarma kernel:  [__alloc_pages+422/768] __alloc_pages+0x1a6/0x300
> Jun 10 10:28:59 shawarma kernel:  [do_page_cache_readahead+231/288] do_page_cache_readahead+0xe7/0x120
> Jun 10 10:28:59 shawarma kernel:  [filemap_nopage+705/800] filemap_nopage+0x2c1/0x320
> Jun 10 10:28:59 shawarma kernel:  [do_no_page+144/672] do_no_page+0x90/0x2a0
> Jun 10 10:28:59 shawarma kernel:  [handle_mm_fault+166/256] handle_mm_fault+0xa6/0x100
> Jun 10 10:28:59 shawarma kernel:  [do_page_fault+263/1181] do_page_fault+0x107/0x49d
> Jun 10 10:28:59 shawarma kernel:  [recalc_task_prio+139/384] recalc_task_prio+0x8b/0x180
> Jun 10 10:28:59 shawarma kernel:  [schedule+605/1056] schedule+0x25d/0x420
> Jun 10 10:28:59 shawarma kernel:  [do_IRQ+271/352] do_IRQ+0x10f/0x160
> Jun 10 10:28:59 shawarma kernel:  [do_page_fault+0/1181] do_page_fault+0x0/0x49d
> Jun 10 10:28:59 shawarma kernel:  [error_code+45/64] error_code+0x2d/0x40
> Jun 10 10:28:59 shawarma kernel:
> Jun 10 10:28:59 shawarma kernel: Code: 8b 00 f6 c4 08 74 06 8b 4a 24 ff 41 04 89 c8 c3 89 f6 8d bc
> Jun 10 10:28:59 shawarma kernel:  printing eip:
> Jun 10 10:28:59 shawarma kernel: c0181d47
> Jun 10 10:28:59 shawarma kernel: Oops: 0000 [#1]
> Jun 10 10:28:59 shawarma kernel: Modules linked in: n_hdlc ppp_synctty ipv6 autofs ipt_TCPMSS
ipt_MASQUERADE iptable_nat ip_conntrack iptable_filter ip_tables snd_ens1371 snd_rawmidi
snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_timer snd_ac97_codec snd
soundcore uhci_hcd usbcore via_agp agpgart 3c59x
> Jun 10 10:28:59 shawarma kernel: CPU:    0
> Jun 10 10:28:59 shawarma kernel: EIP:    0060:[journal_grab_journal_head+7/32]    Not tainted
> Jun 10 10:28:59 shawarma kernel: EFLAGS: 00010213   (2.6.7-rc2-bk5)
> Jun 10 10:28:59 shawarma kernel: EIP is at journal_grab_journal_head+0x7/0x20
> Jun 10 10:28:59 shawarma kernel: eax: 00000019   ebx: 00000019   ecx: 00000000   edx: 00000019
> Jun 10 10:28:59 shawarma kernel: esi: 00000000   edi: d6fee20c   ebp: c10074c0   esp: cdef7be4
> Jun 10 10:28:59 shawarma kernel: ds: 007b   es: 007b   ss: 0068
> Jun 10 10:28:59 shawarma kernel: Process aide (pid: 14762, threadinfo=cdef7000 task=d45d4810)
> Jun 10 10:28:59 shawarma kernel: Stack: c017d58d 00000000 d7fc74b8 c0172300 000001d2 cdef7ce0
c10074c0 c0145f78
> Jun 10 10:28:59 shawarma kernel:        d6870324 00000000 c0134c1a cdef7ce0 00000001 00000011 00000000 cdef7d88
> Jun 10 10:28:59 shawarma kernel:        000001d2 cdef7c28 cdef7c28 cdef7c70 cdef7c74 c017137e cdef7c74 c01714c5
> Jun 10 10:28:59 shawarma kernel: Call Trace:
> Jun 10 10:28:59 shawarma kernel:  [journal_try_to_free_buffers+45/160] journal_try_to_free_buffers+0x2d/0xa0
> Jun 10 10:28:59 shawarma kernel:  [ext3_releasepage+0/96] ext3_releasepage+0x0/0x60
> Jun 10 10:28:59 shawarma kernel:  [try_to_release_page+56/96] try_to_release_page+0x38/0x60
> Jun 10 10:28:59 shawarma kernel:  [shrink_list+826/1056] shrink_list+0x33a/0x420
> Jun 10 10:28:59 shawarma kernel:  [ext3_get_block_handle+126/704] ext3_get_block_handle+0x7e/0x2c0
> Jun 10 10:28:59 shawarma kernel:  [ext3_get_block_handle+453/704] ext3_get_block_handle+0x1c5/0x2c0
> Jun 10 10:28:59 shawarma kernel:  [__ide_dma_begin+34/64] __ide_dma_begin+0x22/0x40
> Jun 10 10:28:59 shawarma kernel:  [shrink_cache+314/768] shrink_cache+0x13a/0x300
> Jun 10 10:28:59 shawarma kernel:  [shrink_zone+170/288] shrink_zone+0xaa/0x120
> Jun 10 10:28:59 shawarma kernel:  [shrink_caches+92/128] shrink_caches+0x5c/0x80
> Jun 10 10:28:59 shawarma kernel:  [try_to_free_pages+148/384] try_to_free_pages+0x94/0x180
> Jun 10 10:28:59 shawarma kernel:  [__alloc_pages+422/768] __alloc_pages+0x1a6/0x300
> Jun 10 10:28:59 shawarma kernel:  [do_page_cache_readahead+231/288] do_page_cache_readahead+0xe7/0x120
> Jun 10 10:28:59 shawarma kernel:  [filemap_nopage+705/800] filemap_nopage+0x2c1/0x320
> Jun 10 10:28:59 shawarma kernel:  [do_no_page+144/672] do_no_page+0x90/0x2a0
> Jun 10 10:28:59 shawarma kernel:  [handle_mm_fault+166/256] handle_mm_fault+0xa6/0x100
> Jun 10 10:28:59 shawarma kernel:  [do_page_fault+263/1181] do_page_fault+0x107/0x49d
> Jun 10 10:28:59 shawarma kernel:  [recalc_task_prio+139/384] recalc_task_prio+0x8b/0x180
> Jun 10 10:28:59 shawarma kernel:  [schedule+605/1056] schedule+0x25d/0x420
> Jun 10 10:28:59 shawarma kernel:  [do_IRQ+271/352] do_IRQ+0x10f/0x160
> Jun 10 10:28:59 shawarma kernel:  [do_page_fault+0/1181] do_page_fault+0x0/0x49d
> Jun 10 10:28:59 shawarma kernel:  [error_code+45/64] error_code+0x2d/0x40
> Jun 10 10:28:59 shawarma kernel:
> Jun 10 10:28:59 shawarma kernel: Code: 8b 00 f6 c4 08 74 06 8b 4a 24 ff 41 04 89 c8 c3 89 f6 8d bc
> Jun 10 10:28:59 shawarma kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000019
> Jun 10 10:28:59 shawarma kernel:  printing eip:
> Jun 10 10:28:59 shawarma kernel: c0181d47
> Jun 10 10:28:59 shawarma kernel: *pde = 00000000
> Jun 10 10:28:59 shawarma kernel: Oops: 0000 [#1]
> Jun 10 10:28:59 shawarma kernel: Modules linked in: n_hdlc ppp_synctty ipv6 autofs ipt_TCPMSS
ipt_MASQUERADE iptable_nat ip_conntrack iptable_filter ip_tables snd_ens1371 snd_rawmidi
snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_timer snd_ac97_codec snd
soundcore uhci_hcd usbcore via_agp agpgart 3c59x
> Jun 10 10:28:59 shawarma kernel: CPU:    0
> Jun 10 10:28:59 shawarma kernel: EIP:    0060:[journal_grab_journal_head+7/32]    Not tainted
> Jun 10 10:28:59 shawarma kernel: EFLAGS: 00010213   (2.6.7-rc2-bk5)
> Jun 10 10:28:59 shawarma kernel: EIP is at journal_grab_journal_head+0x7/0x20
> Jun 10 10:28:59 shawarma kernel: eax: 00000019   ebx: 00000019   ecx: 00000000   edx: 00000019
> Jun 10 10:28:59 shawarma kernel: esi: 00000000   edi: d6fee20c   ebp: c10074c0   esp: cdef7be4
> Jun 10 10:28:59 shawarma kernel: ds: 007b   es: 007b   ss: 0068
> Jun 10 10:28:59 shawarma kernel: Process aide (pid: 14762, threadinfo=cdef7000 task=d45d4810)
> Jun 10 10:28:59 shawarma kernel: Stack: c017d58d 00000000 d7fc74b8 c0172300 000001d2 cdef7ce0
c10074c0 c0145f78
> Jun 10 10:28:59 shawarma kernel:        d6870324 00000000 c0134c1a cdef7ce0 00000001 00000011 00000000 cdef7d88
> Jun 10 10:28:59 shawarma kernel:        000001d2 cdef7c28 cdef7c28 cdef7c70 cdef7c74 c017137e cdef7c74 c01714c5
> Jun 10 10:28:59 shawarma kernel: Call Trace:
> Jun 10 10:28:59 shawarma kernel:  [journal_try_to_free_buffers+45/160] journal_try_to_free_buffers+0x2d/0xa0
> Jun 10 10:28:59 shawarma kernel:  [ext3_releasepage+0/96] ext3_releasepage+0x0/0x60
> Jun 10 10:28:59 shawarma kernel:  [try_to_release_page+56/96] try_to_release_page+0x38/0x60
> Jun 10 10:28:59 shawarma kernel:  [shrink_list+826/1056] shrink_list+0x33a/0x420
> Jun 10 10:28:59 shawarma kernel:  [ext3_get_block_handle+126/704] ext3_get_block_handle+0x7e/0x2c0
> Jun 10 10:28:59 shawarma kernel:  [ext3_get_block_handle+453/704] ext3_get_block_handle+0x1c5/0x2c0
> Jun 10 10:28:59 shawarma kernel:  [__ide_dma_begin+34/64] __ide_dma_begin+0x22/0x40
> Jun 10 10:28:59 shawarma kernel:  [shrink_cache+314/768] shrink_cache+0x13a/0x300
> Jun 10 10:28:59 shawarma kernel:  [shrink_zone+170/288] shrink_zone+0xaa/0x120
> Jun 10 10:28:59 shawarma kernel:  [shrink_caches+92/128] shrink_caches+0x5c/0x80
> Jun 10 10:28:59 shawarma kernel:  [try_to_free_pages+148/384] try_to_free_pages+0x94/0x180
> Jun 10 10:28:59 shawarma kernel:  [__alloc_pages+422/768] __alloc_pages+0x1a6/0x300
> Jun 10 10:28:59 shawarma kernel:  [do_page_cache_readahead+231/288] do_page_cache_readahead+0xe7/0x120
> Jun 10 10:28:59 shawarma kernel:  [filemap_nopage+705/800] filemap_nopage+0x2c1/0x320
> Jun 10 10:28:59 shawarma kernel:  [do_no_page+144/672] do_no_page+0x90/0x2a0
> Jun 10 10:28:59 shawarma kernel:  [handle_mm_fault+166/256] handle_mm_fault+0xa6/0x100
> Jun 10 10:28:59 shawarma kernel:  [do_page_fault+263/1181] do_page_fault+0x107/0x49d
> Jun 10 10:28:59 shawarma kernel:  [recalc_task_prio+139/384] recalc_task_prio+0x8b/0x180
> Jun 10 10:28:59 shawarma kernel:  [schedule+605/1056] schedule+0x25d/0x420
> Jun 10 10:28:59 shawarma kernel:  [do_IRQ+271/352] do_IRQ+0x10f/0x160
> Jun 10 10:28:59 shawarma kernel:  [do_page_fault+0/1181] do_page_fault+0x0/0x49d
> Jun 10 10:28:59 shawarma kernel:  [error_code+45/64] error_code+0x2d/0x40
> Jun 10 10:28:59 shawarma kernel:
> Jun 10 10:28:59 shawarma kernel: Code: 8b 00 f6 c4 08 74 06 8b 4a 24 ff 41 04 89 c8 c3 89 f6 8d bc
--

-- 
Petter Larsen
cand. scient.
moreCom as
913 17 222
Ralf Hildebrandt | 10 Jun 2004 12:27
Picon
Favicon

Re: ext3 EIP

* Petter Larsen <pla <at> morecom.no>:
> Which mode are you using?
> 
> data=journal|ordered|writeback?

The default, ordered

--

-- 
Ralf Hildebrandt (Im Auftrag des Referat V a)   Ralf.Hildebrandt <at> charite.de
Charite - Universitätsmedizin Berlin            Tel.  +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin    Fax.  +49 (0)30-450 570-916
IT-Zentrum Standort Campus Mitte                          AIM.  ralfpostfix
Ingo Köster | 11 Jun 2004 15:09
Picon
Picon

Problems recovering data from broken disk

Hi,

 maybe someone could help me out here:

 I have a broken disk with serveral partitions (1-3 primary, 4
 extended and 5-6 logical). I am able to get access to the primary
 partions and already recovered the data.

 I can see all partitions using fdisk -l /dev/hdc.

 But I cannot mount the logical ones:

     mount -t ext3 /dev/hdc5 /mnt
     mount: wrong fs type, bad option, bad superblock on /dev/hdc5,
     or too many mounted file systems

 As fsck don't run, I tried to look for the backup-superblock with
 mke2fs -n /dev/hdc5 but it says: Device size reported to be zero. ...

 And this is the point where I am lost. Is there still way to mount
 this partitions? Many thanks any ideas.

 Ingo
Petter Larsen | 11 Jun 2004 15:14
Picon
Favicon

Re: Problems recovering data from broken disk


You may want to look at debugfs...

Petter

On Fri, 2004-06-11 at 15:09, Ingo Köster wrote:
> Hi,
> 
>  maybe someone could help me out here:
> 
>  I have a broken disk with serveral partitions (1-3 primary, 4
>  extended and 5-6 logical). I am able to get access to the primary
>  partions and already recovered the data.
> 
>  I can see all partitions using fdisk -l /dev/hdc.
>  
>  But I cannot mount the logical ones:
> 
>      mount -t ext3 /dev/hdc5 /mnt
>      mount: wrong fs type, bad option, bad superblock on /dev/hdc5,
>      or too many mounted file systems
> 
>  As fsck don't run, I tried to look for the backup-superblock with
>  mke2fs -n /dev/hdc5 but it says: Device size reported to be zero. ...
> 
>  And this is the point where I am lost. Is there still way to mount
>  this partitions? Many thanks any ideas.
> 
>  Ingo
> 
> 
> _______________________________________________
> Ext3-users mailing list
> Ext3-users <at> redhat.com
> https://www.redhat.com/mailman/listinfo/ext3-users
--

-- 
Petter Larsen
cand. scient.
moreCom as
913 17 222
Ingo Köster | 11 Jun 2004 15:42
Picon
Picon

Re: Problems recovering data from broken disk


> You may want to look at debugfs...

 Thanks, I already took a look at debugfs...but at starup it says:
 Invalid argument while opening filesystem when typing "debugfs
 /dev/hdc5".

 Ingo

Gmane