mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Weird bug in kernel (invalid operand?)
@ 2001-05-21 20:11 Carlos Laviola
  2001-05-22 12:52 ` Andrew Morton
  2001-05-23  2:39 ` Carlos Laviola
  0 siblings, 2 replies; 3+ messages in thread
From: Carlos Laviola @ 2001-05-21 20:11 UTC (permalink / raw)
  To: linux-kernel

I was getting the file ias9i_linux.tar from
http://xxx:yyy@download-east.oracle.com/otn/linux/ias/9ias/ias9i_linux.tar
(username and password masked to protect the innocent) and decided to take
a peek at the contents of that (huge) file, using "tar xfv ias9i_linux.tar".
After a few moments, wget segfaulted. I tried to continue the download, using
wget -c yada yada yada, and it locks up, becoming an unkillable process (i.e.
I had to reboot to get rid of the thing). I could reproduce this with another
downloader, who gave me this error:

setting resume on existing file `ias9i_linux.tar' at 1087947248 bytes
http://xxx:yyy@download-east.oracle.com/otn/linux/ias/9ias/ias9i_linux.tar (1233930K)
ias9i_linux.tar           [####################    ] 1062448K |  255.89K/sinvalid operand: 0000
CPU:    0
EIP:    0010:[<c48fb709>]
EFLAGS: 00010282
eax: 00000019   ebx: 00000000   ecx: c1272000   edx: c3f7bc20
esi: 00206c60   edi: c3ca5240   ebp: c0695aa0   esp: c1273e68
ds: 0018   es: 0018   ss: 0018
Process snarf (pid: 324, stackpage=c1273000)
Stack: c48fe965 c48fea27 00000045 000001f0 00000200 00040d8c c1273ec0 c012cf56
       c3ca5240 00206c60 c0695aa0 00000001 000001f0 c1273f64 00040d8c 000002e5
       c0605000 c0695aa0 00000200 00206c60 00000000 c0695aa0 0000004b 0000004b
Call Trace: [<c48fe965>] [<c48fea27>] [<c012cf56>] [<c012d553>] [<c48fb6ac>] [<c48fcf1c>] [<c48fb6ac>]
       [<c012179a>] [<c48fb7d2>] [<c48fb7b0>] [<c012ac5a>] [<c0106a63>]

Code: 0f 0b 83 c4 0c b8 fb ff ff ff eb 6d 8b 87 8c 00 00 00 0f b7
Segmentation fault

This seems to be a bug in the kernel, maybe because the file is too big,
and VFAT partitions don't like that. I don't have any other operating
systems here I can test this on, but I could try installing FreeBSD or
downgrading the kernel to 2.2.19 (I'm running 2.4.4) to attempt to trigger
this bug again. But, I'd like to ask some knowledgeable person to take a
look at that error above to tell me what the hell is going on. I get a
similar error when I strace wget (since this one doesn't give any weird
errors, just locks up).

Please Cc: to me, I'm not subscribed to this list atm.

Thank you,
Carlos.

-- 
 _ _  _| _  _  | _   . _ | _  carlos.debian.net   Debian-BR Project
(_(_|| |(_)_)  |(_|\/|(_)|(_| uin#: 981913 (icq)  debian-br.sf.net

Linux: the choice of a GNU generation - Registered Linux User #103594
Traveller: God has been mighty good to your fields, Mr. Farmer.      
Farmer: You should have seen how he treated them when I wasn't       
around.                                                              

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Weird bug in kernel (invalid operand?)
  2001-05-21 20:11 Weird bug in kernel (invalid operand?) Carlos Laviola
@ 2001-05-22 12:52 ` Andrew Morton
  2001-05-23  2:39 ` Carlos Laviola
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Morton @ 2001-05-22 12:52 UTC (permalink / raw)
  To: Carlos Laviola; +Cc: linux-kernel

Carlos Laviola wrote:
> 
> invalid operand: 0000
> CPU:    0
> EIP:    0010:[<c48fb709>]
> EFLAGS: 00010282
> eax: 00000019   ebx: 00000000   ecx: c1272000   edx: c3f7bc20
> esi: 00206c60   edi: c3ca5240   ebp: c0695aa0   esp: c1273e68
> ds: 0018   es: 0018   ss: 0018
> Process snarf (pid: 324, stackpage=c1273000)
> Stack: c48fe965 c48fea27 00000045 000001f0 00000200 00040d8c c1273ec0 c012cf56
>        c3ca5240 00206c60 c0695aa0 00000001 000001f0 c1273f64 00040d8c 000002e5
>        c0605000 c0695aa0 00000200 00206c60 00000000 c0695aa0 0000004b 0000004b
> Call Trace: [<c48fe965>] [<c48fea27>] [<c012cf56>] [<c012d553>] [<c48fb6ac>] [<c48fcf1c>] [<c48fb6ac>]
>        [<c012179a>] [<c48fb7d2>] [<c48fb7b0>] [<c012ac5a>] [<c0106a63>]
> 
> Code: 0f 0b 83 c4 0c b8 fb ff ff ff eb 6d 8b 87 8c 00 00 00 0f b7
> Segmentation fault
> 
> This seems to be a bug in the kernel, maybe because the file is too big,
> and VFAT partitions don't like that.

It used to be that fatfs would hit the second BUG() in fat_get_block()
when a file reaches two gig.  But I can't make that happen in testing,
because the s_maxbytes stuff restricts it to 2gig-1.  What you *should*
have seen was `wget' locking up because of a different bug :)

Are you sure you got this with 2.4.4?  If so, please run the
output through

	ksymoops -m System.map < oops-text

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Weird bug in kernel (invalid operand?)
  2001-05-21 20:11 Weird bug in kernel (invalid operand?) Carlos Laviola
  2001-05-22 12:52 ` Andrew Morton
@ 2001-05-23  2:39 ` Carlos Laviola
  1 sibling, 0 replies; 3+ messages in thread
From: Carlos Laviola @ 2001-05-23  2:39 UTC (permalink / raw)
  To: linux-kernel

On Tue, 22 May 2001 22:52:47 +1000, Andrew Morton <andrewm@uow.edu.au> wrote:

> Carlos Laviola wrote:
> > 
> > invalid operand: 0000
[ ... oops here ... ]
> > Segmentation fault
> > 
> > This seems to be a bug in the kernel, maybe because the file is too big,
> > and VFAT partitions don't like that.
> 
> It used to be that fatfs would hit the second BUG() in fat_get_block()
> when a file reaches two gig.  But I can't make that happen in testing,
> because the s_maxbytes stuff restricts it to 2gig-1.  What you *should*
> have seen was `wget' locking up because of a different bug :)
> 
> Are you sure you got this with 2.4.4?  If so, please run the
> output through
> 
> 	ksymoops -m System.map < oops-text

Well, in fact, I was using 2.4.5-pre1 when I had this problem. However, since
it doesn't seem like anything within the VFAT subsystem has changed from 2.4.4
to 2.4.5-pre1, 2.4.4 is probably buggy too. The relevant output from ksymoops
is below.

>>EIP; c48fb709 <[fat]fat_get_block+5d/dc>   <=====
Code;  c48fb709 <[fat]fat_get_block+5d/dc>
00000000 <_EIP>:
Code;  c48fb709 <[fat]fat_get_block+5d/dc>   <=====
   0:   0f 0b                     ud2a      <=====
Code;  c48fb70b <[fat]fat_get_block+5f/dc>
   2:   83 c4 0c                  add    $0xc,%esp
Code;  c48fb70e <[fat]fat_get_block+62/dc>
   5:   b8 fb ff ff ff            mov    $0xfffffffb,%eax
Code;  c48fb713 <[fat]fat_get_block+67/dc>
   a:   eb 6d                     jmp    79 <_EIP+0x79> c48fb782 <[fat]fat_get_block+d6/dc>
Code;  c48fb715 <[fat]fat_get_block+69/dc>
   c:   8b 87 8c 00 00 00         mov    0x8c(%edi),%eax
Code;  c48fb71b <[fat]fat_get_block+6f/dc>
  12:   0f b7 00                  movzwl (%eax),%eax

Thanks,
Carlos.

-- 
 _ _  _| _  _  | _   . _ | _  carlos.debian.net   Debian-BR Project
(_(_|| |(_)_)  |(_|\/|(_)|(_| uin#: 981913 (icq)  debian-br.sf.net

Linux: the choice of a GNU generation - Registered Linux User #103594
Shah, shah!  Ayatollah you so!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-05-23  2:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-21 20:11 Weird bug in kernel (invalid operand?) Carlos Laviola
2001-05-22 12:52 ` Andrew Morton
2001-05-23  2:39 ` Carlos Laviola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®