[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#532562: linux-image-2.6.26-2-versatile: Kernel panics randomly while using apt-get



Axel Allende Lira a écrit :
> 
> Axel Allende Lira escreveu:
>> Hi there.
>> I managed to track the error while doing a removal for orphaned 
>> packages. Here's the log:
>>
>> root@terrier:/home/axel# deborphan
>> libart-2.0-2
>> libgnomecups1.0-1
>> libgnomeprint2.2-data
>> libaiksaurus-1.2-data
>> libgail-common
>> root@terrier:/home/axel# apt-get remove `deborphan`
>> Lendo listas de pacotes... Pronto
>> Construindo árvore de dependências
>> Lendo informação de estado... Pronto
>> [    0.000000] sym0: unexpected disconnect
>> lsi_scsi: error: Reselect with pending DMA
>> [    0.000000] Unable to handle kernel NULL pointer dereference at 
>> virtual address 00000358
>> [    0.000000] pgd = c7f4c000
>> [    0.000000] [00000358] *pgd=07f4b031, *pte=00000000, *ppte=00000000
>> [    0.000000] Internal error: Oops: 17 [#1]
>> [    0.000000] Modules linked in: nls_utf8 isofs zlib_inflate udf 
>> nls_base crc_itu_t smc91x psmouse ext3 jbd mbcache sg sr_mod cdrom 
>> sd_mod sym53c8xx scsi_transport_spi scsi_mod
>> [    0.000000] CPU: 0    Not tainted  (2.6.26-2-versatile #1)
>> [    0.000000] PC is at sym_interrupt+0x968/0x18d8 [sym53c8xx]
>> [    0.000000] LR is at sym_interrupt+0x348/0x18d8 [sym53c8xx]
>> [    0.000000] pc : [<bf033854>]    lr : [<bf033234>]    psr: 80000113
>> [    0.000000] sp : c7247e38  ip : c7247e38  fp : c7247e9c
>> [    0.000000] r10: c0850c00  r9 : ffd00084  r8 : 00000001
>> [    0.000000] r7 : bf03d640  r6 : 00000000  r5 : ffd00000  r4 : 0000000b
>> [    0.000000] r3 : 0000000a  r2 : 0000002c  r1 : 00000000  r0 : 00000000
>> [    0.000000] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM 
>> Segment user
>> [    0.000000] Control: 00093177  Table: 07f4c000  DAC: 00000015
>> [    0.000000] Process apt-get (pid: 1770, stack limit = 0xc7246268)
>> [    0.000000] Stack: (0xc7247e38 to 0xc7248000)
>> [    0.000000] 7e20:    c7247e5c c7247e48
>> [    0.000000] 7e40: bf000604 bf000558 205d3030 c7c11800 c7247e74 
>> c7247e60 bf02e6bc bf0005e8
>> [    0.000000] 7e60: 00000000 c085cbc0 c7247e94 c7247e78 bf0322a4 
>> c0850c00 00000000 bf03d640
>> [    0.000000] 7e80: 0000001b 000258f0 c7246000 bec95e24 c7247ebc 
>> c7247ea0 bf02e8e4 bf032ef8
>> [    0.000000] 7ea0: c7247ecc c086c2c0 00000000 00000000 c7247edc 
>> c7247ec0 c006f934 bf02e8a8
>> [    0.000000] 7ec0: c02897f8 0000001b c7247fb0 bec95e38 c7247ef4 
>> c7247ee0 c0071250 c006f8fc
>> [    0.000000] 7ee0: 0000001b c02897f8 c7247f14 c7247ef8 c0024048 
>> c00711c8 bf000540 ffffffff
>> [    0.000000] 7f00: f1140000 00000001 c7247f7c c7247f18 c00246b4 
>> c002400c 0000001b c7246000
>> [    0.000000] 7f20: c02bbba0 20000113 00000010 c02897f8 0000000a 
>> bec95e38 000258f0 c7246000
>> [    0.000000] 7f40: bec95e24 c7247f7c c7247f80 c7247f60 c0047680 
>> c00472cc 20000113 ffffffff
>> [    0.000000] 7f60: c7246000 0000001b c02897f8 00000000 c7247f8c 
>> c7247f80 c0047680 c0047290
>> [    0.000000] 7f80: c7247fac c7247f90 c002404c c0047648 403a4064 
>> ffffffff f1140000 00000001
>> [    0.000000] 7fa0: 00000000 c7247fb0 c00248a4 c002400c 00026760 
>> 404f1000 408715e0 0000003b
>> [    0.000000] 7fc0: 00000000 00000001 bec95e30 bec95e38 000258f0 
>> 400d7b1c bec95e24 00000d20
>> [    0.000000] 7fe0: 0000003b bec95d08 4005f36c 4005f36c 80000010 
>> ffffffff 00000000 00000000
>> [    0.000000] Backtrace:
>> [    0.000000] [<bf032eec>] (sym_interrupt+0x0/0x18d8 [sym53c8xx]) from 
>> [<bf02e8e4>] (sym53c8xx_intr+0x48/0x74 [sym53c8xx])
>> [    0.000000] [<bf02e89c>] (sym53c8xx_intr+0x0/0x74 [sym53c8xx]) from 
>> [<c006f934>] (handle_IRQ_event+0x44/0x84)
>> [    0.000000]  r6:00000000 r5:00000000 r4:c086c2c0
>> [    0.000000] [<c006f8f0>] (handle_IRQ_event+0x0/0x84) from 
>> [<c0071250>] (handle_level_irq+0x94/0xec)
>> [    0.000000]  r7:bec95e38 r6:c7247fb0 r5:0000001b r4:c02897f8
>> [    0.000000] [<c00711bc>] (handle_level_irq+0x0/0xec) from 
>> [<c0024048>] (__exception_text_start+0x48/0x64)
>> [    0.000000]  r5:c02897f8 r4:0000001b
>> [    0.000000] [<c0024000>] (__exception_text_start+0x0/0x64) from 
>> [<c00246b4>] (__irq_svc+0x34/0xa0)
>> [    0.000000] Exception stack(0xc7247f18 to 0xc7247f60)
>> [    0.000000] 7f00:    0000001b c7246000
>> [    0.000000] 7f20: c02bbba0 20000113 00000010 c02897f8 0000000a 
>> bec95e38 000258f0 c7246000
>> [    0.000000] 7f40: bec95e24 c7247f7c c7247f80 c7247f60 c0047680 
>> c00472cc 20000113 ffffffff
>> [    0.000000]  r6:00000001 r5:f1140000 r4:ffffffff
>> [    0.000000] [<c0047284>] (__do_softirq+0x0/0xd4) from [<c0047680>] 
>> (irq_exit+0x44/0x4c)
>> [    0.000000]  r6:00000000 r5:c02897f8 r4:0000001b
>> [    0.000000] [<c004763c>] (irq_exit+0x0/0x4c) from [<c002404c>] 
>> (__exception_text_start+0x4c/0x64)
>> [    0.000000] [<c0024000>] (__exception_text_start+0x0/0x64) from 
>> [<c00248a4>] (__irq_usr+0x44/0xa0)
>> [    0.000000] Exception stack(0xc7247fb0 to 0xc7247ff8)
>> [    0.000000] 7fa0:                                     00026760 
>> 404f1000 408715e0 0000003b
>> [    0.000000] 7fc0: 00000000 00000001 bec95e30 bec95e38 000258f0 
>> 400d7b1c bec95e24 00000d20
>> [    0.000000] 7fe0: 0000003b bec95d08 4005f36c 4005f36c 80000010 ffffffff
>> [    0.000000]  r6:00000001 r5:f1140000 r4:ffffffff
>> [    0.000000] Code: e1a01000 e5932000 e59f06fc ea00002f (e5963358)
>> [    0.000000] Kernel panic - not syncing: Fatal exception in interrupt
>>
> 
> Qemu also outputs this on the terminal:
> lsi_scsi: error: Reselect with pending DMA

This looks like the disk emulation is not fast enough for the kernel.
Which kind of hard drive are you using (2.5" or 3.5")? On which kind of
partition are the images? Encrypted one?

In that case you can try to run qemu with "-drive
file=your_image,cache=writeback" instead of "-hda". You will lose on the
data integrity side in case of crash of the host, but you will get a
higher throughput.

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net



Reply to: