public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* panic at boot with 2.5.25 with Jens's IDE patch
@ 2002-07-09 13:26 Roy Sigurd Karlsbakk
  2002-07-09 13:36 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Roy Sigurd Karlsbakk @ 2002-07-09 13:26 UTC (permalink / raw)
  To: Kernel mailing list

[-- Attachment #1: Type: text/plain, Size: 3421 bytes --]

hi all

running (or trying to boot) 2.5.25, I get this little, cute panic :-)

Attached is .config.gz in case anyone would want to see it.

please tell me if more info is needed.

roy
--
ksymoops 2.4.5 on i686 2.4.19-pre10-ac2.  Options used
     -v vmlinux (specified)
     -K (specified)
     -L (specified)
     -o /lib/modules/2.4.19-pre10-ac2/ (default)
     -m System.map (specified)

No modules in ksyms, skipping objects
Unable to handle kernel paging request at virtual address 1c9f9490
c0158a1f
*pde = 00000000
Oops: 0000
CPU:    0
EIP:    0010:[<c0158a1f>]    Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010206
eax: 1c9f9490   ebx: 00000006   ecx: 00000006   edx: 00000000
esi: 00000000   edi: ffffffff   ebp: f72641c0   esp: f7687ddc
ds: 0018   es: 0018   ss: 0018
Stack: 00000000 c03a6900 c0347908 c010a62c f7686000 c03c73a0 c03b1aca f7686000 
       c01090d9 000f417f 00000005 000003fd c03c73a0 c03c73a0 00000005 c03c7320 
       00000018 00000018 ffffffef c0202d85 00000010 00000202 c0207848 c03c73a0 
Call Trace: [<c010a62c>] [<c01090d9>] [<c0202d85>] [<c0207848>] [<c01194c6>] 
   [<c0137549>] [<c013b84b>] [<c014b93a>] [<c013f543>] [<c0158e5d>] 
[<c022a233>]
   [<c023aacf>] [<c0158fab>] [<c0152100>] [<c022b7b8>] [<c0105000>] 
[<c0105029>]
   [<c0105000>] [<c01070d6>] [<c0105020>] 
Code: 8b 34 90 8b 84 24 24 01 00 00 8b 48 20 85 c9 74 0d 8b 2c 91 


>>EIP; c0158a1f <driverfs_create_partitions+2f/200>   <=====

>>eax; 1c9f9490 Before first symbol
>>edi; ffffffff <END_OF_CODE+3fc11503/????>
>>ebp; f72641c0 <END_OF_CODE+36e756c4/????>
>>esp; f7687ddc <END_OF_CODE+372992e0/????>

Trace; c010a62c <do_IRQ+9c/b0>
Trace; c01090d9 <apic_timer_interrupt+21/28>
Trace; c0202d85 <serial_in+25/30>
Trace; c0207848 <serial_console_write+168/1e0>
Trace; c01194c6 <__call_console_drivers+46/60>
Trace; c0137549 <mempool_free+49/50>
Trace; c013b84b <invalidate_inode_buffers+b/50>
Trace; c014b93a <clear_inode+7a/b0>
Trace; c013f543 <bdput+93/a0>
Trace; c0158e5d <check_partition+1ad/1e0>
Trace; c022a233 <ide_raw_taskfile+13/20>
Trace; c023aacf <write_cache+5f/80>
Trace; c0158fab <grok_partitions+db/130>
Trace; c0152100 <load_elf_interp+20/2f0>
Trace; c022b7b8 <ide_geninit+68/90>
Trace; c0105000 <_stext+0/0>
Trace; c0105029 <init+9/140>
Trace; c0105000 <_stext+0/0>
Trace; c01070d6 <kernel_thread+26/30>
Trace; c0105020 <init+0/140>

Code;  c0158a1f <driverfs_create_partitions+2f/200>
00000000 <_EIP>:
Code;  c0158a1f <driverfs_create_partitions+2f/200>   <=====
   0:   8b 34 90                  mov    (%eax,%edx,4),%esi   <=====
Code;  c0158a22 <driverfs_create_partitions+32/200>
   3:   8b 84 24 24 01 00 00      mov    0x124(%esp,1),%eax
Code;  c0158a29 <driverfs_create_partitions+39/200>
   a:   8b 48 20                  mov    0x20(%eax),%ecx
Code;  c0158a2c <driverfs_create_partitions+3c/200>
   d:   85 c9                     test   %ecx,%ecx
Code;  c0158a2e <driverfs_create_partitions+3e/200>
   f:   74 0d                     je     1e <_EIP+0x1e> c0158a3d 
<driverfs_create_partitions+4d/200>
Code;  c0158a30 <driverfs_create_partitions+40/200>
  11:   8b 2c 91                  mov    (%ecx,%edx,4),%ebp

 <0>Kernel panic: Attempted to kill init!
-- 
Roy Sigurd Karlsbakk, Datavaktmester

Computers are like air conditioners.
They stop working when you open Windows.

[-- Attachment #2: .config.gz --]
[-- Type: application/x-gzip, Size: 5052 bytes --]

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

* Re: panic at boot with 2.5.25 with Jens's IDE patch
  2002-07-09 13:26 panic at boot with 2.5.25 with Jens's IDE patch Roy Sigurd Karlsbakk
@ 2002-07-09 13:36 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2002-07-09 13:36 UTC (permalink / raw)
  To: Roy Sigurd Karlsbakk; +Cc: Kernel mailing list

On Tue, Jul 09 2002, Roy Sigurd Karlsbakk wrote:
> hi all
> 
> running (or trying to boot) 2.5.25, I get this little, cute panic :-)

Probably passing unitialized stuff to driversfs, please try and memset
gd in drivers/ide24/ide-probe.c:init_gendisk()

        gd        = kmalloc (sizeof(struct gendisk), GFP_KERNEL);
        if (!gd)
                goto err_kmalloc_gd;
+	memset(gd, 0, sizeof(*gd));

pseudo patch. Does that work?

-- 
Jens Axboe


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

end of thread, other threads:[~2002-07-09 13:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-09 13:26 panic at boot with 2.5.25 with Jens's IDE patch Roy Sigurd Karlsbakk
2002-07-09 13:36 ` Jens Axboe

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