From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261590AbVFEQSS (ORCPT ); Sun, 5 Jun 2005 12:18:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261591AbVFEQSS (ORCPT ); Sun, 5 Jun 2005 12:18:18 -0400 Received: from mta1.srv.hcvlny.cv.net ([167.206.4.196]:33121 "EHLO mta1.srv.hcvlny.cv.net") by vger.kernel.org with ESMTP id S261590AbVFEQOs (ORCPT ); Sun, 5 Jun 2005 12:14:48 -0400 Date: Sun, 05 Jun 2005 12:14:44 -0400 From: Mathieu Chouquet-Stringer X-Face: %JOeya=Dg!}[/#Go&*&cQ+)){p1c8}u\Fg2Q3&)kothIq|JnWoVzJtCFo~4X, linux-kernel@vger.kernel.org, linux1394-user@lists.sourceforge.net Message-id: <20050605161444.GA2717@localhost> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hello, [1.] One line summary of the problem: Repeatable oops with firewire/sbp2 in latest 2.6.12-rc5 [2.] Full description of the problem/report: Every time I connect my iPod to my Linux box, the kernel oopses in sbp2.c, function sbp2scsi_queuecommand (I can provide a disassembly of the function if needed). This problem is 100% repeatable across 3 different machines. I'm currently recompiling 2.6.11.11 to see if the problem is present there too. If I can be of any help, just let me know. [3.] Keywords (i.e., modules, networking, kernel): Firewire, ieee1394, sbp2 [4.] Kernel version (from /proc/version): Linux version 2.6.12-rc5 (mchouque@mcs) (gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47.fc4)) #1 Wed Jun 1 15:49:15 EDT 2005 [5.] Output of Oops.. message (if applicable) with symbolic information resolved (see Documentation/oops-tracing.txt) Jun 1 20:30:50 mcs kernel: Unable to handle kernel paging request at virtual address 000700e6 Jun 1 20:30:50 mcs kernel: printing eip: Jun 1 20:30:50 mcs kernel: f8c29f71 Jun 1 20:30:50 mcs kernel: *pde = 00000000 Jun 1 20:30:50 mcs kernel: Oops: 0000 [#1] Jun 1 20:30:50 mcs kernel: Modules linked in: sbp2 nfs lockd sunrpc vicam videodev joydev ohci1394 ieee1394 uhci_hcd via_agp agpgart via686a i2c_sensor i2c_core snd_emu10k1 snd_rawmidi snd_ac97_codec snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_page_alloc snd_util_mem snd_hwdep snd soundcore sr_mod ext3 jbd dm_mod aic7xxx sym53c8xx scsi_transport_spi sd_mod scsi_mod Jun 1 20:30:50 mcs kernel: CPU: 0 Jun 1 20:30:50 mcs kernel: EIP: 0060:[] Not tainted VLI Jun 1 20:30:50 mcs kernel: EFLAGS: 00010002 (2.6.12-rc5) Jun 1 20:30:50 mcs kernel: EIP is at sbp2scsi_queuecommand+0x22/0x121 [sbp2] Jun 1 20:30:50 mcs kernel: eax: 0007003e ebx: f71bc880 ecx: f8c2d2c0 edx: efc41400 Jun 1 20:30:50 mcs kernel: esi: f71bc880 edi: f74cc000 ebp: f8844857 esp: eff67e28 Jun 1 20:30:50 mcs kernel: ds: 007b es: 007b ss: 0068 Jun 1 20:30:50 mcs kernel: Process modprobe (pid: 2680, threadinfo=eff67000 task=efa92560) Jun 1 20:30:50 mcs kernel: Stack: 0007003e 00000297 f71bc880 f74cc000 00000000 f8844610 f750d224 f71bc880 Jun 1 20:30:50 mcs kernel: efc41400 f74cc000 f750d224 f88496a3 f0a55ab0 f750d224 00000000 00000202 Jun 1 20:30:50 mcs kernel: c0209856 f750d224 f0a55a00 f3f4e3c4 f3f4e3a0 f8848660 f0a55a00 00000000 Jun 1 20:30:50 mcs kernel: Call Trace: Jun 1 20:30:50 mcs kernel: [] scsi_dispatch_cmd+0x173/0x248 [scsi_mod] Jun 1 20:30:50 mcs kernel: [] scsi_request_fn+0x199/0x30e [scsi_mod] Jun 1 20:30:50 mcs kernel: [] blk_insert_request+0x6c/0x80 Jun 1 20:30:50 mcs kernel: [] scsi_insert_special_req+0x20/0x26 [scsi_mod] Jun 1 20:30:50 mcs kernel: [] scsi_wait_req+0x51/0x85 [scsi_mod] Jun 1 20:30:50 mcs kernel: [] scsi_wait_done+0x0/0x3a [scsi_mod] Jun 1 20:30:50 mcs kernel: [] scsi_probe_lun+0xc4/0x26b [scsi_mod] Jun 1 20:30:50 mcs kernel: [] scsi_alloc_sdev+0x13b/0x1b3 [scsi_mod] Jun 1 20:30:50 mcs kernel: [] scsi_probe_and_add_lun+0x113/0x1ff [scsi_mod] Jun 1 20:30:50 mcs kernel: [] __scsi_add_device+0x3c/0x6a [scsi_mod] Jun 1 20:30:50 mcs kernel: [] sbp2_start_device+0x1a2/0x309 [sbp2] Jun 1 20:30:50 mcs kernel: [] driver_probe_device+0x21/0x4f Jun 1 20:30:50 mcs kernel: [] driver_attach+0x4d/0x6c Jun 1 20:30:50 mcs kernel: [] bus_add_driver+0x6c/0x91 Jun 1 20:30:50 mcs kernel: [] hpsb_register_protocol+0xc/0x20 [ieee1394] Jun 1 20:30:50 mcs kernel: [] sbp2_module_init+0x3c/0x97 [sbp2] Jun 1 20:30:50 mcs kernel: [] sys_init_module+0x16a/0x184 Jun 1 20:30:50 mcs kernel: [] sysenter_past_esp+0x54/0x75 Jun 1 20:30:50 mcs kernel: Code: eb d6 68 5d ad c2 f8 eb cf 55 89 d5 57 56 53 53 8b 50 04 89 c3 8b 02 8b 80 00 02 00 00 85 c0 89 04 24 0f 84 d6 00 00 00 8b 04 24 <83> b8 a8 00 00 00 00 0f 84 d9 00 00 00 83 7a 40 00 0f 85 bc 00 [6.] A small shell script or example program which triggers the problem (if possible) Just connect the firewire device. [7.] Environment [7.1.] Software (add the output of the ver_linux script here) If some fields are empty or look unusual you may have an old version. Compare to the current minimal requirements in Documentation/Changes. Linux mcs 2.6.12-rc5 #1 Wed Jun 1 15:49:15 EDT 2005 i686 athlon i386 GNU/Linux Gnu C 4.0.0 Gnu make 3.80 binutils 2.15.94.0.2.2 util-linux 2.12p mount 2.12p module-init-tools 3.1 e2fsprogs 1.37 reiserfsprogs line reiser4progs line quota-tools 3.12. PPP 2.4.2 nfs-utils 1.0.7 Linux C Library 2.3.5 Dynamic linker (ldd) 2.3.5 Procps 3.2.5 Net-tools 1.60 Kbd 1.12 Sh-utils 5.2.1 udev 058 Modules Loaded nfs lockd sunrpc vicam videodev joydev ohci1394 ieee1394 uhci_hcd via_agp agpgart via686a i2c_sensor i2c_core snd_emu10k1 snd_rawmidi snd_ac97_codec snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_page_alloc snd_util_mem snd_hwdep snd soundcore sr_mod ext3 jbd dm_mod aic7xxx sym53c8xx scsi_transport_spi sd_mod scsi_mod [7.2.] Processor information (from /proc/cpuinfo): processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 2 model name : AMD Athlon(tm) Processor stepping : 1 cpu MHz : 850.351 cache size : 512 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow bogomips : 1675.26 [7.3.] Module information (from /proc/modules): nfs 177992 1 - Live 0xf8bfb000 lockd 56360 2 nfs, Live 0xf8b85000 sunrpc 125760 3 nfs,lockd, Live 0xf8ba7000 vicam 11392 0 - Live 0xf8ada000 videodev 9088 1 vicam, Live 0xf8ad6000 joydev 9024 0 - Live 0xf8aa5000 ohci1394 31020 0 - Live 0xf8a6a000 ieee1394 292624 1 ohci1394, Live 0xf8afc000 uhci_hcd 28424 0 - Live 0xf8a51000 via_agp 9344 1 - Live 0xf89aa000 agpgart 32328 1 via_agp, Live 0xf8a48000 via686a 17172 0 - Live 0xf89a4000 i2c_sensor 3456 1 via686a, Live 0xf881c000 i2c_core 19968 2 via686a,i2c_sensor, Live 0xf897a000 snd_emu10k1 94468 0 - Live 0xf89af000 snd_rawmidi 23168 1 snd_emu10k1, Live 0xf892a000 snd_ac97_codec 70776 1 snd_emu10k1, Live 0xf8980000 snd_seq_dummy 3712 0 - Live 0xf891a000 snd_seq_oss 28800 0 - Live 0xf8960000 snd_seq_midi_event 7296 1 snd_seq_oss, Live 0xf8864000 snd_seq 44912 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event, Live 0xf8954000 snd_seq_device 8200 5 snd_emu10k1,snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq, Live 0xf891e000 snd_pcm_oss 45952 0 - Live 0xf8947000 snd_mixer_oss 16384 1 snd_pcm_oss, Live 0xf88fd000 snd_pcm 80256 3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss, Live 0xf8932000 snd_timer 22016 3 snd_emu10k1,snd_seq,snd_pcm, Live 0xf8906000 snd_page_alloc 9476 2 snd_emu10k1,snd_pcm, Live 0xf8902000 snd_util_mem 4480 1 snd_emu10k1, Live 0xf8867000 snd_hwdep 8576 1 snd_emu10k1, Live 0xf888f000 snd 48132 11 snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep, Live 0xf890d000 soundcore 8800 1 snd, Live 0xf8870000 sr_mod 16928 0 - Live 0xf886a000 ext3 120840 2 - Live 0xf88de000 jbd 48664 1 ext3, Live 0xf8882000 dm_mod 50972 2 - Live 0xf8874000 aic7xxx 147508 0 - Live 0xf8894000 sym53c8xx 72972 4 - Live 0xf882f000 scsi_transport_spi 17408 2 aic7xxx,sym53c8xx, Live 0xf8829000 sd_mod 16896 7 - Live 0xf8823000 scsi_mod 124232 5 sr_mod,aic7xxx,sym53c8xx,scsi_transport_spi,sd_mod, Live 0xf8844000 [7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem) 0000-001f : dma1 0020-0021 : pic1 0040-0043 : timer0 0050-0053 : timer1 0060-006f : keyboard 0070-0077 : rtc 0080-008f : dma page reg 00a0-00a1 : pic2 00c0-00df : dma2 00f0-00ff : fpu 02f8-02ff : serial 0378-037a : parport0 03c0-03df : vga+ 03f8-03ff : serial 0cf8-0cff : PCI conf1 8000-8007 : 0000:00:0d.1 8400-841f : 0000:00:0d.0 8400-841f : EMU10K1 8800-88ff : 0000:00:0b.0 8800-88ff : sym53c8xx 9000-901f : 0000:00:0a.0 9000-901f : e100 9400-94ff : 0000:00:09.0 b000-b01f : 0000:00:04.3 b000-b01f : uhci_hcd b400-b41f : 0000:00:04.2 b400-b41f : uhci_hcd b800-b80f : 0000:00:04.1 d000-dfff : PCI Bus #01 d800-d8ff : 0000:01:00.0 e400-e4ff : 0000:00:04.4 e400-e47f : motherboard e400-e403 : PM1a_EVT_BLK e404-e405 : PM1a_CNT_BLK e408-e40b : PM_TMR e410-e415 : ACPI CPU throttle e420-e423 : GPE0_BLK e800-e80f : 0000:00:04.4 e800-e80f : motherboard e800-e80f : pnp 00:02 00000000-0009f7ff : System RAM 0009f800-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000ccfff : Video ROM 000d0000-000d23ff : Adapter ROM 000f0000-000fffff : System ROM 00100000-3ffebfff : System RAM 00100000-002d5f4c : Kernel code 002d5f4d-003bf3ff : Kernel data 3ffec000-3ffeefff : ACPI Tables 3ffef000-3fffefff : reserved 3ffff000-3fffffff : ACPI Non-volatile Storage c3000000-c3003fff : 0000:00:0c.0 c3800000-c38007ff : 0000:00:0c.0 c3800000-c38007ff : ohci1394 c4000000-c4000fff : 0000:00:0b.0 c4000000-c4000fff : sym53c8xx c4800000-c48000ff : 0000:00:0b.0 c4800000-c48000ff : sym53c8xx c5000000-c50fffff : 0000:00:0a.0 c5000000-c50fffff : e100 c5800000-c5800fff : 0000:00:09.0 c5800000-c5800fff : aic7xxx c6000000-c75fffff : PCI Bus #01 c6000000-c600ffff : 0000:01:00.1 c6800000-c680ffff : 0000:01:00.0 c7800000-c7800fff : 0000:00:0a.0 c7800000-c7800fff : e100 c8000000-dfffffff : PCI Bus #01 c8000000-cfffffff : 0000:01:00.1 d8000000-dfffffff : 0000:01:00.0 e0000000-e7ffffff : 0000:00:00.0 ffff0000-ffffffff : reserved [7.5.] PCI information ('lspci -vvv' as root) 00:00.0 Host bridge: VIA Technologies, Inc. VT8371 [KX133] (rev 02) Subsystem: ASUSTeK Computer Inc.: Unknown device 8023 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- 00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP] (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- Reset- FastB2B- Capabilities: [80] Power Management version 2 Flags: PMEClk- DSI+ D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:04.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 21) Subsystem: ASUSTeK Computer Inc.: Unknown device 8023 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- Capabilities: [50] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 01:00.1 Display controller: ATI Technologies Inc Radeon R350 [Radeon 9800 Pro] (Secondary) Subsystem: ATI Technologies Inc: Unknown device 0003 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR-