#40 Oops on IDE init on iMac with 2.5

hot_flaming_death
open
nobody
Boot Time (8)
5
2003-07-06
2003-07-06
No

I'm testing the 2.5 kernel on my iMac and when I boot it I
get the following:

hda: IC35L040AVER07-0 , ATA DISK drive
Oops: kernel access of bad area , sig: 11 [#1]
TASK = c049f340[1] 'swapper' Last syscall:120
call trace: [c00ee9e0] [c00ef8a0] [c022c154] [c022c1c0]
[c02165c8] [c0003960] [c000abb0]

It's an iMac 266 with extra ram (164) and a 40 GB IBM GX(?)
harddrive.
The kernel version is the latest liunxppc-2.5 synced from
penguinppc.org yesterday.

Discussion

  • Martin Habets

    Martin Habets - 2003-08-25

    Logged In: YES
    user_id=549673

    I also got this today on 2.5.74. Comes from ide-dma.c function
    __ide_dma_off_quietly(). It calls:

    HWIF(drive)->ide_dma_queued_off(drive)

    but that is not initialized. Have not found the root cause
    of this yet,
    but replaced the line with:
    __ide_dma_queued_off(drive)

    which is the default action.
    Seems to me many IDE cards will run into this.

     
  • Martin Habets

    Martin Habets - 2003-08-27

    Logged In: YES
    user_id=549673

    Ben H fixed this problem in 2.5.75:

    drivers/ide/ppc/pmacs.c:

    1517,1518d1516
    < ide_hwifs[ix].ide_dma_queued_on = &__ide_dma_queued_on;
    < ide_hwifs[ix].ide_dma_queued_off = &__ide_dma_queued_off;

     

Log in to post a comment.