public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4.21-pre2 hdparm Kernel Oops
@ 2002-12-20  8:58 Bob
  2002-12-22 10:28 ` David Luyer
  2002-12-25 21:50 ` Alan Cox
  0 siblings, 2 replies; 4+ messages in thread
From: Bob @ 2002-12-20  8:58 UTC (permalink / raw)
  To: linux-kernel

Hi. I haven't seen any discussions about the 2.4.21-pre1 and pre2
kernels kernel panicing when you execute  
/sbin/hdparm -d1 -c3 -m16 -k1 /dev/hdb
/sbin/hdparm -d1 -c3 -m16 -k1 /dev/hda

(where /dev/hda contains both my boot and root partitions).

I ran this command in a startup script to improve disk performance.  It
would cause the kernel to panic on startup.  I commented it out of the
script, and the newly built kernels would startup and run OK, but when I
went back and re-ran the script (with the now running system), it would
crash the box.  I installed a new version of hdparm (5.3) to make sure
it wasn't an old version problem.

Thanks in advance, apologies if it's already been looked at, or if it's
just me.

Bob   




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

* Re: 2.4.21-pre2 hdparm Kernel Oops
  2002-12-20  8:58 2.4.21-pre2 hdparm Kernel Oops Bob
@ 2002-12-22 10:28 ` David Luyer
  2002-12-25 21:50 ` Alan Cox
  1 sibling, 0 replies; 4+ messages in thread
From: David Luyer @ 2002-12-22 10:28 UTC (permalink / raw)
  To: Bob; +Cc: linux-kernel

On Fri, Dec 20, 2002 at 01:58:27AM -0700, Bob wrote:
> Hi. I haven't seen any discussions about the 2.4.21-pre1 and pre2
> kernels kernel panicing when you execute  
> /sbin/hdparm -d1 -c3 -m16 -k1 /dev/hdb
> /sbin/hdparm -d1 -c3 -m16 -k1 /dev/hda
> 
> (where /dev/hda contains both my boot and root partitions).
> 
> I ran this command in a startup script to improve disk performance.  It
> would cause the kernel to panic on startup.  I commented it out of the
> script, and the newly built kernels would startup and run OK, but when I
> went back and re-ran the script (with the now running system), it would
> crash the box.  I installed a new version of hdparm (5.3) to make sure
> it wasn't an old version problem.
> 
> Thanks in advance, apologies if it's already been looked at, or if it's
> just me.

Is this an oops that looks somewhat like (giving one line of context here):

Freeing unused kernel memory: 88 kbytes.
kernel BUG in header file at line 155
kernel BUG at panic.c:141
invalid operand 0000
CPU: 0

and then traces back with:

>>EIP; c01148df <__out_of_line_bug+f/20>   <=====

Trace; c01a6ce7 <ide_build_sglist+127/160>
Trace; c01a738b <__ide_dma_read+2b/120>

...that's basically what I get with 2.4.21pre2, all drives on the legacy
IDE controller of an A7V333 and a PDC MBFastTrack133Lite RAID controller
configured in but no drives on it.

I'm doing some hdparms during bootup but I don't think it's getting to
them, I should add something to the top of the script to check, but I'd
rather not reboot the machine too often.

Apologies for the partial details of the oops, but my pen ran out. :-/

David.
-- 
David Luyer                                        Phone:   +61 3 9674 7525
Network Development Manager    P A C I F I C       Fax:     +61 3 9699 8693
Pacific Internet (Australia)  I N T E R N E T      Mobile:  +61 4 1111 BYTE
http://www.pacific.net.au/                         NASDAQ:  PCNTF

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

* Re: 2.4.21-pre2 hdparm Kernel Oops
  2002-12-20  8:58 2.4.21-pre2 hdparm Kernel Oops Bob
  2002-12-22 10:28 ` David Luyer
@ 2002-12-25 21:50 ` Alan Cox
  1 sibling, 0 replies; 4+ messages in thread
From: Alan Cox @ 2002-12-25 21:50 UTC (permalink / raw)
  To: Bob; +Cc: Linux Kernel Mailing List

On Fri, 2002-12-20 at 08:58, Bob wrote:
> Hi. I haven't seen any discussions about the 2.4.21-pre1 and pre2
> kernels kernel panicing when you execute  
> /sbin/hdparm -d1 -c3 -m16 -k1 /dev/hdb
> /sbin/hdparm -d1 -c3 -m16 -k1 /dev/hda

Please provide controller and drive info and the call traceback


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

* Re: 2.4.21-pre2 hdparm Kernel Oops
@ 2002-12-30  4:06 Bob
  0 siblings, 0 replies; 4+ messages in thread
From: Bob @ 2002-12-30  4:06 UTC (permalink / raw)
  To: linux-kernel

Ok. This is the oops (recorded with digital camera and re-typed in as
/var/log/messages et. al. had nothing).  The controller is:
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev
d0)

The error message when I run /sbin/hdparm -d1 -c3 -m16 -k1 /dev/hdb
and /sbin/hdparm -d1 -c3 -m16 -k1 /dev/hda is:

 IO_support     =  3 (32-bit w/sync)
 using_dma      =  1 (on)
 keepsettings   =  1 (on)
kernel BUG in header file at line 155
kernel BUG at panic.c:141!
invalid operand: 0000
CPU:    0
EIP:    0010:[<c011af67>]       Not tainted
EFLAGS: 00010282
eax: 00000026   ebx: 00000000   ecx: f7bdc000  edx: 00000000
esi: c031c760   edi: 00001000   ebp: 00000000  esp: f7bddd50
ds: 0018  es: 0018  ss: 0018
Process hdparm (pid: 1160, stackpage=f7bdd000)
Stack: c02560a0 0000009b c01b8181 0000009b 00000000 00000014 0000008c
00000007
       f7eb8000 f7eba000 c031c810 00000000 c031c760 c01b8374 c031c760
f7eb0400
       00000002 c0180579 00000000 c031c760 c031c760 c031c810 f7eb0400
c031c760
Call Trace:    [<c01b8181>] [<c01b8374>] [<c0180579>] [<c01b889f>]
[<c01af8b9>]
  [<c01a543e>] [<c0180579>] [<c01ae511>] [<c01ae68b>] [<c01aebb2>]
[<c01b7f40>]
  [<c01089d5>] [<c0108b54>] [<c0117480>] [<c010b1f8>] [<c0117480>]
[<c01174a3>]
  [<c012ac1b>] [<c012ba86>] [<c012bdd3>] [<c0117480>] [<c0107504>]

Code: 0f 0b 8d 00 bf 6d 25 c0 90 eb fe 8d b4 26 00 00 00 00 8d bc
 <0>Kernel panic: Aiee, killing interrupt handler!
In interrupt handler - not syncing


The results of ksymoops on the above:
[root@localhost bob]# uname -r
2.4.21-pre2
[root@localhost bob]# ksymoops -v /data/kernel/temp/linux/vmlinux -m
/boot/System.map-2.4.21-pre2 /home/bob/oops.file
ksymoops 2.4.8 on i686 2.4.21-pre2.  Options used
     -v /data/kernel/temp/linux/vmlinux (specified)
     -k /proc/ksyms (default)
     -l /proc/modules (default)
     -o /lib/modules/2.4.21-pre2/ (default)
     -m /boot/System.map-2.4.21-pre2 (specified)

kernel BUG in header file at line 155
kernel BUG at panic.c:141!
invalid operand: 0000
CPU:    0
EIP:    0010:[<c011af67>]  Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010282
eax: 00000026   ebx: 00000000     ecx: f7bdc000  edx: 00000000
esi: c031c760   edi: 00001000     ebp: 00000000  esp: f7bddd50
ds: 0018  es: 0018  ss: 0018
Process hdparm (pid: 1160, stackpage=f7bdd000)
Stack: c02560a0 0000009b c01b8181 0000009b 00000000 00000014 0000008c
00000007
       f7eb8000 f7eba000 c031c810 00000000 c031c760 c01b8374 c031c760
f7eb0400
       00000002 c0180579 00000000 c031c760 c031c760 c031c810 f7eb0400
c031c760
Call Trace:    [<c01b8181>] [<c01b8374>] [<c0180579>] [<c01b889f>]
[<c01af8b9>]
  [<c01a543e>] [<c0180579>] [<c01ae511>] [<c01ae68b>] [<c01aebb2>]
[<c01b7f40>]
  [<c01089d5>] [<c0108b54>] [<c0117480>] [<c010b1f8>] [<c0117480>]
[<c01174a3>]
  [<c012ac1b>] [<c012ba86>] [<c012bdd3>] [<c0117480>] [<c0107504>]
Code: 0f 0b 8d 00 bf 6d 25 c0 90 eb fe 8d b4 26 00 00 00 00 8d bc


>>EIP; c011af67 <__out_of_line_bug+17/30>   <=====

>>ecx; f7bdc000 <_end+378b4e8c/3855ae8c>
>>esi; c031c760 <ide_hwifs+0/2af8>
>>esp; f7bddd50 <_end+378b6bdc/3855ae8c>

Trace; c01b8181 <ide_build_sglist+181/1a0>
Trace; c01b8374 <ide_build_dmatable+54/1a0>
Trace; c0180579 <add_timer_randomness+d9/f0>
Trace; c01b889f <__ide_dma_read+3f/150>
Trace; c01af8b9 <do_rw_disk+1f9/760>
Trace; c01a543e <ide_wait_stat+fe/130>
Trace; c0180579 <add_timer_randomness+d9/f0>
Trace; c01ae511 <start_request+1c1/240>
Trace; c01ae68b <ide_do_request+ab/1a0>
Trace; c01aebb2 <ide_intr+f2/130>
Trace; c01b7f40 <ide_dma_intr+0/c0>
Trace; c01089d5 <handle_IRQ_event+45/70>
Trace; c0108b54 <do_IRQ+64/a0>
Trace; c0117480 <do_page_fault+0/523>
Trace; c010b1f8 <call_do_IRQ+5/d>
Trace; c0117480 <do_page_fault+0/523>
Trace; c01174a3 <do_page_fault+23/523>
Trace; c012ac1b <zap_pte_range+eb/110>
Trace; c012ba86 <unmap_fixup+136/150>
Trace; c012bdd3 <do_munmap+283/2a0>
Trace; c0117480 <do_page_fault+0/523>
Trace; c0107504 <error_code+34/3c>

Code;  c011af67 <__out_of_line_bug+17/30>
00000000 <_EIP>:
Code;  c011af67 <__out_of_line_bug+17/30>   <=====
   0:   0f 0b                     ud2a      <=====
Code;  c011af69 <__out_of_line_bug+19/30>
   2:   8d 00                     lea    (%eax),%eax
Code;  c011af6b <__out_of_line_bug+1b/30>
   4:   bf 6d 25 c0 90            mov    $0x90c0256d,%edi
Code;  c011af70 <__out_of_line_bug+20/30>
   9:   eb fe                     jmp    9 <_EIP+0x9> c011af70
<__out_of_line_bug+20/30>
Code;  c011af72 <__out_of_line_bug+22/30>
   b:   8d b4 26 00 00 00 00      lea    0x0(%esi,1),%esi
Code;  c011af79 <__out_of_line_bug+29/30>
  12:   8d bc 00 00 00 00 00      lea    0x0(%eax,%eax,1),%edi

 <0>Kernel panic: Aiee, killing interrupt handler!

[root@localhost root]# 


Thanks,
Bob





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

end of thread, other threads:[~2002-12-30  3:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-20  8:58 2.4.21-pre2 hdparm Kernel Oops Bob
2002-12-22 10:28 ` David Luyer
2002-12-25 21:50 ` Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2002-12-30  4:06 Bob

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