Comment 16 for bug 238118

Revision history for this message
Timm Essigke (essigke) wrote :

I deinstalled linux-image-2.6.20-xen with dpkg -r and installed your kernel with dpkg -i

ls -l /root/linux-image-2.6.24-20-xen_2.6.24-20.37_i386.deb
-rw-r--r-- 1 root root 18747646 2008-07-23 22:21 /root/linux-image-2.6.24-20-xen_2.6.24-20.37_i386.deb

I was a bit confused because the kernel is much older than the deb:
ls -l /boot/vmlinuz-2.6.24-20-xen
-rw-r--r-- 1 root root 1732665 2008-07-18 01:06 /boot/vmlinuz-2.6.24-20-xen

uname -a
Linux xenserver2 2.6.24-20-xen #1 SMP Thu Jul 17 23:00:58 UTC 2008 i686 GNU/Linux

and also the modules

ls -l /lib/modules/2.6.24-20-xen/kernel/drivers/scsi/aic7xxx/
-rw-r--r-- 1 root root 356352 2008-07-18 01:07 aic79xx.ko
-rw-r--r-- 1 root root 220892 2008-07-18 01:07 aic7xxx.ko

I also do not get the message with XXX, but

[ 132.833341] PCI-DMA: Out of SW-IOMMU space for 65536 bytes at device 0000:03:04.0
[ 132.833565] ------------[ cut here ]------------
[ 132.833694] kernel BUG at /home/smb/hardy-i386/ubuntu-2.6/debian/build/custom-source-xen/drivers/scsi/aic7xxx/aic79xx_os!
[ 132.833851] invalid opcode: 0000 [#1] SMP
[ 132.834218] Modules linked in: 8021q bridge ipv6 iptable_filter ip_tables x_tables lp loop evdev 8250_pnp container parpe
[ 132.904801]
[ 132.904926] Pid: 4882, comm: kjournald Not tainted (2.6.24-20-xen #1)
[ 132.908861] EIP: 0061:[<de9df951>] EFLAGS: 00010082 CPU: 0
[ 132.929660] EIP is at ahd_linux_queue+0x661/0x670 [aic79xx]
[ 132.946306] EAX: fffffff4 EBX: dcfd7d2a ECX: dcf0a200 EDX: 00000006
[ 132.962920] ESI: dd4f4cbe EDI: dd59320a EBP: dbaa0000 ESP: dcfd7cd4
[ 132.979601] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0069
[ 133.000383] Process kjournald (pid: 4882, ti=dcfd6000 task=dba69210 task.ti=dcfd6000)
[ 133.016995] Stack: dd6fdb54 dd4f4c80 014d3523 00000000 00080000 c0208a3d 00000000 00000000
[ 133.062812] 00000000 00008000 dd4b94a8 dd4f4c80 dbaa0000 db2b3e48 c0130a67 de8cb6a0
[ 133.087893] db8fff40 c049ce80 fffffff4 00000001 00000000 10200000 dd4f4c80 00000000
[ 133.112828] Call Trace:
[ 133.113086] [<c0208a3d>] cfq_dispatch_requests+0x6d/0x2f0
[ 133.129685] [<c0130a67>] lock_timer_base+0x27/0x60
[ 133.146212] [<de8cb6a0>] scsi_times_out+0x0/0x80 [scsi_mod]
[ 133.158699] [<de8c7da7>] scsi_dispatch_cmd+0x147/0x280 [scsi_mod]
[ 133.175333] [<de8ce1ac>] scsi_request_fn+0x1fc/0x3e0 [scsi_mod]
[ 133.196209] [<c0130de4>] del_timer+0x64/0x80
[ 133.212851] [<c02003a5>] __generic_unplug_device+0x25/0x30
[ 133.225327] [<c0201cc8>] __make_request+0xb8/0x6f0
[ 133.242081] [<c01fe015>] generic_make_request+0x235/0x4d0
[ 133.258698] [<c018180e>] kmem_cache_alloc+0xee/0x100
[ 133.275326] [<c01fe31c>] submit_bio+0x6c/0x100
[ 133.287802] [<c0108333>] sched_clock+0x23/0x70
[ 133.304443] [<c01aadc1>] bio_alloc_bioset+0x81/0x150
[ 133.316922] [<c01a9ca0>] end_buffer_write_sync+0x0/0x70
[ 133.329401] [<c01a6df7>] submit_bh+0xd7/0x120
[ 133.346041] [<dea6ebba>] journal_do_submit_data+0x2a/0x40 [jbd]
[ 133.358549] [<dea6f943>] journal_commit_transaction+0xd53/0xda0 [jbd]
[ 133.379326] [<c0130a67>] lock_timer_base+0x27/0x60
[ 133.396089] [<c0130ae5>] try_to_del_timer_sync+0x45/0x50
[ 133.412742] [<dea72760>] kjournald+0xa0/0x200 [jbd]
[ 133.429373] [<c013bb90>] autoremove_wake_function+0x0/0x40
[ 133.441847] [<dea726c0>] kjournald+0x0/0x200 [jbd]
[ 133.458561] [<c013b8d2>] kthread+0x42/0x70
[ 133.475225] [<c013b890>] kthread+0x0/0x70
[ 133.487704] [<c0105bb7>] kernel_thread_helper+0x7/0x10
[ 133.500210] =======================
[ 133.508477] Code: ff f6 40 1c 20 0f 84 f2 fe ff ff 80 4f 12 22 c7 40 5c 00 00 00 00 e9 1e fb ff ff 89 54 24 04 c7 04 24
[ 133.575163] EIP: [<de9df951>] ahd_linux_queue+0x661/0x670 [aic79xx] SS:ESP 0069:dcfd7cd4
[ 133.591681] ---[ end trace d031de3635cfbcd0 ]---

Since the kernel BUG line refers to a file in /home/smb and not anymore to /build/buildd/ I assume that I didn't make a mistake when installing the kernel. Could it be that something went wrong when compiling the kernel/building the package? Maybe no make clean before?

Please let me know it I should do something different or if you have a new deb for me.

I will also try the kernel options when you tell me which parameters I should test. I found the swiotlb option in some mailing list before and tried 65536, but I got a crash during boot time...

Thanks,

Timm

P.S.: Sorry if you receive this twice. I was not sure if my mail went through...