Chuck Ebbert wrote:

>Andrew Burgess wrote:
>
>> Apr  5 03:45:16 cichlid kernel: 3w-xxxx: scsi2: Command failed: status = 
>> 0xc7, flags = 0x7f, unit #4.
>> Apr  5 03:45:20 cichlid kernel: 3w-xxxx: scsi2: Command failed: status = 
>> 0xc7, flags = 0x80, unit #4.
>> Apr  5 03:47:20 cichlid kernel: 3w-xxxx: scsi0: Command failed: status = 
>> 0xc7, flags = 0x80, unit #0.
>> Apr  5 03:47:20 cichlid kernel: 3w-xxxx: scsi0: Command failed: status = 
>> 0xc7, flags = 0x80, unit #1.
>> Apr  5 04:00:08 cichlid kernel: 3w-xxxx: scsi0: Command failed: status = 
>> 0xc7, flags = 0x80, unit #0.
>...<BUG inside oops handler deleted>...
>> Apr  5 04:00:08 cichlid kernel: 
>> Apr  5 04:00:08 cichlid kernel: general protection fault: 0000 [1] PREEMPT 
>> SMP 
>> Apr  5 04:00:08 cichlid kernel: CPU 1 
>> Apr  5 04:00:08 cichlid kernel: Modules linked in: dm_multipath multipath 
>> linear raid456 xor raid1 md_mod act_police sch_ingress sch_sfq sch_cbq 
>> ipt_TOS cls_u32 sch_htb ipt_MASQUERADE ipt_LOG xt_multiport nf_nat_ftp 
>> nf_conntrack_ftp iptable_mangle iptable_nat nf_nat emi26 w83627hf hwmon_vid 
>> i2c_isa sunrpc ipt_REJECT xt_tcpudp nf_conntrack_ipv4 xt_state nf_conntrack 
>> nfnetlink iptable_filter ip_tables x_tables freq_table sr_mod loop dm_mirror 
>> dm_mod video thermal sbs processor i2c_ec fan dock button battery asus_acpi 
>> ac parport_pc lp parport floppy nvram snd_usb_audio snd_ice1712 
>> snd_ice17xx_ak4xxx snd_via82xx sg gameport snd_seq_dummy pcspkr 
>> snd_ak4xxx_adda snd_cs8427 snd_via82xx_modem snd_seq_oss snd_ac97_codec 
>> sata_via snd_i2c snd_seq_midi_event snd_seq skge i2c_viapro snd_mpu401_uart 
>> i2c_core k8temp ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer 
>> snd_page_alloc dsbr100 snd_usb_lib snd_rawmidi compat_ioctl32 snd_seq_device 
>> videodev v4l2_common v4l1_compat snd_hwdep !
 snd soundcore sisusbvga ftdi_sio usb_stor
>> Apr  5 04:00:08 cichlid kernel: ge serio_raw emi62 usbserial asix usbnet 
>> ata_piix 3w_xxxx ata_generic pata_via libata sd_mod scsi_mod ext3 jbd 
>> ehci_hcd ohci_hcd uhci_hcd
>> Apr  5 04:00:08 cichlid kernel: Pid: 386, comm: scsi_eh_0 Tainted: G   M   
>> 2.6.21-rc5-git10-1-slab-debug #1
>> Apr  5 04:00:08 cichlid kernel: RIP: 0010:[memcpy_c+11/32]  [memcpy_c+11/32] 
>> memcpy_c+0xb/0x20
>> Apr  5 04:00:08 cichlid kernel: RIP: 0010:[<ffffffff8026a7cb>]  
>> [<ffffffff8026a7cb>] memcpy_c+0xb/0x20
>> Apr  5 04:00:08 cichlid kernel: RSP: 0000:ffff8100beebbce8  EFLAGS: 00010246
>> Apr  5 04:00:08 cichlid kernel: RAX: ffff8100b4978140 RBX: 0000000000002003 
>> RCX: 000000000000000c
>> Apr  5 04:00:08 cichlid kernel: RDX: 0000000000000000 RSI: 6ddaa59200000000 
>> RDI: ffff8100b4978140
>> Apr  5 04:00:08 cichlid kernel: RBP: ffff8100beebbe20 R08: 0000000000000002 
>> R09: 0000000000000001
>> Apr  5 04:00:08 cichlid kernel: R10: 0000000000000000 R11: 00000000ffffffff 
>> R12: ffff8100b4978140
>> Apr  5 04:00:08 cichlid kernel: R13: ffffffff8807a1ce R14: ffff8100b4978058 
>> R15: ffff8100beebc000
>> Apr  5 04:00:08 cichlid kernel: FS:  00002b615f4dc240(0000) 
>> GS:ffff8100bffae4c8(0000) knlGS:00000000f795eb90
>> Apr  5 04:00:08 cichlid kernel: CS:  0010 DS: 0018 ES: 0018 CR0: 
>> 000000008005003b
>> Apr  5 04:00:08 cichlid kernel: CR2: 00002b615f4b9000 CR3: 00000000a25ad000 
>> CR4: 00000000000006e0
>> Apr  5 04:00:08 cichlid kernel: Process scsi_eh_0 (pid: 386, threadinfo 
>> ffff8100beeba000, task ffff8100bedd0100)
>> Apr  5 04:00:08 cichlid kernel: Stack:  ffffffff88055efc 0000271000000001 
>> ffff8100b49780b4 ffff8100bef94508
>> Apr  5 04:00:08 cichlid kernel:  0000000200000002 000010000a240001 
>> ffff810013404c78 0000000000000000
>> Apr  5 04:00:08 cichlid kernel:  ffff810000000001 ffffffffdead4ead 
>> ffffffffffffffff 0000000000000000
>> Apr  5 04:00:08 cichlid kernel: Call Trace:
>> Apr  5 04:00:08 cichlid kernel:  [_end+123674792/2126102956] 
>> :scsi_mod:scsi_send_eh_cmnd+0x3fc/0x480
>> Apr  5 04:00:08 cichlid kernel:  [<ffffffff88055efc>] 
>> :scsi_mod:scsi_send_eh_cmnd+0x3fc/0x480
>> Apr  5 04:00:08 cichlid kernel:  [thread_return+230/301] 
>> thread_return+0xe6/0x12d
>> Apr  5 04:00:08 cichlid kernel:  [<ffffffff8026b699>] 
>> thread_return+0xe6/0x12d
>> Apr  5 04:00:08 cichlid kernel:  [_end+123678124/2126102956] 
>> :scsi_mod:scsi_error_handler+0x0/0x540
>> Apr  5 04:00:08 cichlid kernel:  [<ffffffff88056c00>] 
>> :scsi_mod:scsi_error_handler+0x0/0x540
>> Apr  5 04:00:08 cichlid kernel:  [keventd_create_kthread+0/144] 
>> keventd_create_kthread+0x0/0x90
>> Apr  5 04:00:08 cichlid kernel:  [<ffffffff802a21c0>] 
>> keventd_create_kthread+0x0/0x90
>> Apr  5 04:00:08 cichlid kernel:  [kthread+218/272] kthread+0xda/0x110
>> Apr  5 04:00:08 cichlid kernel:  [<ffffffff80237b1a>] kthread+0xda/0x110
>> Apr  5 04:00:08 cichlid autoblacklist[9591]: src= proto= srcport= destport= 
>> srcname= destportname= srcportname= icmptype= icmpcode=
>> Apr  5 04:00:08 cichlid kernel:  [child_rip+10/18] child_rip+0xa/0x12
>> Apr  5 04:00:08 cichlid kernel:  [<ffffffff80268ea8>] child_rip+0xa/0x12
>> Apr  5 04:00:08 cichlid kernel:  [schedule_tail+124/240] 
>> schedule_tail+0x7c/0xf0
>> Apr  5 04:00:08 cichlid kernel:  [<ffffffff8022b90c>] schedule_tail+0x7c/0xf0
>> Apr  5 04:00:08 cichlid kernel:  [restore_args+0/48] restore_args+0x0/0x30
>> Apr  5 04:00:08 cichlid kernel:  [<ffffffff80268590>] restore_args+0x0/0x30
>> Apr  5 04:00:08 cichlid kernel:  [kthread+0/272] kthread+0x0/0x110
>> Apr  5 04:00:08 cichlid kernel:  [<ffffffff80237a40>] kthread+0x0/0x110
>> Apr  5 04:00:08 cichlid kernel:  [child_rip+0/18] child_rip+0x0/0x12
>> Apr  5 04:00:08 cichlid kernel:  [<ffffffff80268e9e>] child_rip+0x0/0x12
>> Apr  5 04:00:08 cichlid kernel: 
>> Apr  5 04:00:08 cichlid kernel: 
>> Apr  5 04:00:08 cichlid kernel: Code: f3 48 a5 89 d1 f3 a4 c3 66 0f 1f 44 00 
>> 00 0f 1f 80 00 00 00 
>> Apr  5 04:00:08 cichlid kernel: RIP  [memcpy_c+11/32] memcpy_c+0xb/0x20
>> Apr  5 04:00:08 cichlid kernel: RIP  [<ffffffff8026a7cb>] memcpy_c+0xb/0x20
>> Apr  5 04:00:08 cichlid kernel:  RSP <ffff8100beebbce8>

> Probably fixed by this:
> 
> Gitweb:     
> http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8cc574a3c5cea70229f243a6b57fd69e60491d82
> Commit:     8cc574a3c5cea70229f243a6b57fd69e60491d82
> Parent:     d80f0a4beb15d817bfbb18a29e5ffc1d9dc353ea
> Author:     David S. Miller <[EMAIL PROTECTED]>
> AuthorDate: Mon Apr 2 14:21:55 2007 -0700
> Committer:  David S. Miller <[EMAIL PROTECTED]>
> CommitDate: Mon Apr 2 14:26:22 2007 -0700
> 
>     [SCSI]: Fix scsi_send_eh_cmnd scatterlist handling
> 
>     This fixes a regression caused by commit:
> 
>     2dc611de5a3fd955cd0298c50691d4c05046db97

Sadly not. That patch was already in git10. I just tried
git13 and got the same memcpy oops in scsi_send_eh_cmnd.

David, do you see any other problems with scsi_send_eh_cmnd?

I've switched back to 2.6.18 which seems to not oops 
and am happy to try patches.

Andrew

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to