On Mo, 2010-06-07 at 17:11 +0800, [email protected] wrote: > Package: ndiswrapper-common > Version: 1.56-1 > > Using the same .INF file which I installed with -i on a second machine, > I get kernel Oops. Well, that happens. The problem could be in NdisMQueryAdapterResources :
list = &wnd->wd->resource_list->list->partial_resource_list; any part here could be NULL. CCing ndiswrapper-general ML. > > [ 202.378016] usb 2-2.1: USB disconnect, address 3 > [ 202.669976] usb 2-2.1: new low speed USB device using uhci_hcd and address > 5 > [ 202.823944] usb 2-2.1: New USB device found, idVendor=04b4, idProduct=aef9 > [ 202.823955] usb 2-2.1: New USB device strings: Mfr=1, Product=2, > SerialNumber=0 > [ 202.823964] usb 2-2.1: Product: PopStyle Mouse > [ 202.823971] usb 2-2.1: Manufacturer: PopStyle Mouse > [ 202.826034] usb 2-2.1: configuration #1 chosen from 1 choice > [ 202.842966] input: PopStyle Mouse PopStyle Mouse as > /devices/pci0000:00/0000:00:1d.1/usb2/2-2/2-2.1/2-2.1:1.0/input/input9 > [ 202.844218] generic-usb 0003:04B4:AEF9.0002: input,hidraw0: USB HID v1.00 > Mouse [PopStyle Mouse PopStyle Mouse] on usb-0000:00:1d.1-2.1/input0 > [ 203.065929] usb 2-2.2: new full speed USB device using uhci_hcd and > address 6 > [ 203.196880] usb 2-2.2: New USB device found, idVendor=1a40, idProduct=0101 > [ 203.196891] usb 2-2.2: New USB device strings: Mfr=0, Product=1, > SerialNumber=0 > [ 203.196899] usb 2-2.2: Product: USB 2.0 Hub [MTT] > [ 203.197144] usb 2-2.2: configuration #1 chosen from 1 choice > [ 203.199025] hub 2-2.2:1.0: USB hub found > [ 203.200944] hub 2-2.2:1.0: 4 ports detected > [ 203.481829] usb 2-2.2.4: new full speed USB device using uhci_hcd and > address 7 > [ 203.594817] usb 2-2.2.4: config 1 has an invalid interface number: 1 but > max is 0 > [ 203.594829] usb 2-2.2.4: config 1 has no interface number 0 > [ 203.605818] usb 2-2.2.4: New USB device found, idVendor=09aa, > idProduct=3642 > [ 203.605829] usb 2-2.2.4: New USB device strings: Mfr=0, Product=0, > SerialNumber=1 > [ 203.605839] usb 2-2.2.4: SerialNumber: 01190006 > [ 203.606094] usb 2-2.2.4: configuration #1 chosen from 1 choice > [ 203.709806] usb 2-2.2.4: reset full speed USB device using uhci_hcd and > address 7 > [ 203.951094] ndiswrapper: driver sparklan-jidanni (SparkLAN,02/07/2002, > 2.10.37.2037) loaded > [ 203.951702] BUG: unable to handle kernel NULL pointer dereference at > 00000010 > [ 203.951717] IP: [<e0899078>] NdisMQueryAdapterResources+0x1a/0x91 > [ndiswrapper] > [ 203.951757] *pde = 00000000 > [ 203.951765] Oops: 0000 [#1] SMP > [ 203.951773] last sysfs file: > /sys/devices/pci0000:00/0000:00:1d.1/usb2/2-2/2-2.2/2-2.2.4/serial > [ 203.951781] Modules linked in: nls_ascii nls_cp437 vfat fat speedstep_ich > speedstep_lib cpufreq_stats cpufreq_powersave cpufreq_conservative > cpufreq_userspace ndiswrapper loop firewire_sbp2 radeon snd_intel8x0 > snd_intel8x0m snd_ac97_codec ttm drm_kms_helper ac97_bus drm snd_pcm > i2c_algo_bit snd_seq snd_timer video thinkpad_acpi tpm_tis rfkill i2c_i801 > led_class shpchp pci_hotplug i2c_core rng_core snd_seq_device output battery > tpm nsc_ircc psmouse ac snd pcspkr serio_raw evdev tpm_bios nvram processor > button soundcore snd_page_alloc irda crc_ccitt ext3 jbd mbcache usb_storage > usbhid hid sg sr_mod cdrom sd_mod crc_t10dif ata_generic uhci_hcd ata_piix > ehci_hcd e100 firewire_ohci thermal libata mii usbcore firewire_core > crc_itu_t thermal_sys scsi_mod nls_base [last unloaded: scsi_wait_scan] > [ 203.951928] > [ 203.951938] Pid: 181, comm: khubd Tainted: P (2.6.32-5-686 #1) > 2659HT2 > [ 203.951946] EIP: 0060:[<e0899078>] EFLAGS: 00010246 CPU: 0 > [ 203.951973] EIP is at NdisMQueryAdapterResources+0x1a/0x91 [ndiswrapper] > [ 203.951981] EAX: de239540 EBX: dfb97200 ECX: 00000068 EDX: de2396c0 > [ 203.951988] ESI: 00000000 EDI: de2e5b50 EBP: de2e5b5c ESP: de2e5ab4 > [ 203.951996] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 > [ 203.952005] Process khubd (pid: 181, ti=de2e4000 task=de13a200 > task.ti=de2e4000) > [ 203.952010] Stack: > [ 203.952015] dfb97200 00000000 de239778 de2e5b5c e185dad9 de2e5b54 > dfb97200 de2e5ae4 > [ 203.952032] <0> de2e5b50 00000000 00000000 dfb97200 de2e5b74 e089cb55 > e089cb6d dfa122e0 > [ 203.952039] <0> 00000000 e08a199b dfa122e0 de2e5b18 e089aeec de2e5b18 > dfa5d3a0 000f000e > [ 203.952039] Call Trace: > [ 203.952039] [<e089cb55>] ? ExFreePoolWithTag+0x31/0x3e [ndiswrapper] > [ 203.952039] [<e089cb6d>] ? ExFreePool+0xb/0xe [ndiswrapper] > [ 203.952039] [<e08a199b>] ? RtlFreeUnicodeString+0x16/0x2c [ndiswrapper] > [ 203.952039] [<e089aeec>] ? NdisReadNetworkAddress+0x5b/0x12f [ndiswrapper] > [ 203.952039] [<e08a3982>] ? mp_init+0x74/0x149 [ndiswrapper] > [ 203.952039] [<e08a4190>] ? NdisDispatchPnp+0x74/0xb54 [ndiswrapper] > [ 203.952039] [<e08a41a3>] ? NdisDispatchPnp+0x87/0xb54 [ndiswrapper] > [ 203.952039] [<c10aedf5>] ? __kmalloc+0x11c/0x128 > [ 203.952039] [<e089e529>] ? IoAllocateIrp+0x46/0x4e [ndiswrapper] > [ 203.952039] [<e089ef63>] ? IoBuildAsynchronousFsdRequest+0x22/0xf4 > [ndiswrapper] > [ 203.952039] [<c126dc50>] ? _spin_lock_bh+0x8/0x1e > [ 203.952039] [<e089bbb4>] ? get_current_nt_thread+0x3d/0x42 [ndiswrapper] > [ 203.952039] [<e089f040>] ? IoQueueThreadIrp+0xb/0x84 [ndiswrapper] > [ 203.952039] [<e089e7b7>] ? IofCallDriver+0x63/0x85 [ndiswrapper] > [ 203.952039] [<e089f8b1>] ? IoSendIrpTopDev+0x79/0xaa [ndiswrapper] > [ 203.952039] [<e089fa7e>] ? pnp_start_device+0x36/0x70 [ndiswrapper] > [ 203.952039] [<e089fd4d>] ? wrap_pnp_start_device+0x188/0x1ab [ndiswrapper] > [ 203.952039] [<e089fe21>] ? wrap_pnp_start_usb_device+0xb1/0xca > [ndiswrapper] > [ 203.952039] [<c10f3805>] ? sysfs_addrm_finish+0x13/0x199 > [ 203.952039] [<c10f354f>] ? sysfs_add_one+0x11/0xb8 > [ 203.952039] [<c126d2cc>] ? mutex_lock+0xb/0x24 > [ 203.952039] [<e086cf24>] ? usb_match_one_id+0x19/0x6e [usbcore] > [ 203.952039] [<e086d4d4>] ? usb_autopm_do_device+0xaf/0xb6 [usbcore] > [ 203.952039] [<e086dc8c>] ? usb_probe_interface+0xe7/0x130 [usbcore] > [ 203.952039] [<c11b294a>] ? driver_probe_device+0x8a/0x11e > [ 203.952039] [<c11b2178>] ? bus_for_each_drv+0x37/0x5f > [ 203.952039] [<c11b2aca>] ? device_attach+0x4e/0x6a > [ 203.952039] [<c11b2a39>] ? __device_attach+0x0/0x28 > [ 203.952039] [<c11b2021>] ? bus_probe_device+0x19/0x2d > [ 203.952039] [<c11b106e>] ? device_add+0x31b/0x474 > [ 203.952039] [<c113629c>] ? kobject_set_name_vargs+0x45/0x4c > [ 203.952039] [<c11b0578>] ? dev_set_name+0x14/0x15 > [ 203.952039] [<e086cbff>] ? usb_set_configuration+0x47d/0x51e [usbcore] > [ 203.952039] [<e086cc52>] ? usb_set_configuration+0x4d0/0x51e [usbcore] > [ 203.952039] [<e0873053>] ? generic_probe+0x4a/0x7b [usbcore] > [ 203.952039] [<e086ce73>] ? usb_probe_device+0x1b/0x1c [usbcore] > [ 203.952039] [<c11b294a>] ? driver_probe_device+0x8a/0x11e > [ 203.952039] [<c11b2178>] ? bus_for_each_drv+0x37/0x5f > [ 203.952039] [<c11b2aca>] ? device_attach+0x4e/0x6a > [ 203.952039] [<c11b2a39>] ? __device_attach+0x0/0x28 > [ 203.952039] [<c11b2021>] ? bus_probe_device+0x19/0x2d > [ 203.952039] [<c11b106e>] ? device_add+0x31b/0x474 > [ 203.952039] [<e0867919>] ? usb_new_device+0xef/0x13c [usbcore] > [ 203.952039] [<e0868bbc>] ? hub_thread+0x9b1/0xe39 [usbcore] > [ 203.952039] [<c10445ca>] ? autoremove_wake_function+0x0/0x2d > [ 203.952039] [<e086820b>] ? hub_thread+0x0/0xe39 [usbcore] > [ 203.952039] [<c1044398>] ? kthread+0x61/0x66 > [ 203.952039] [<c1044337>] ? kthread+0x0/0x66 > [ 203.952039] [<c1003d47>] ? kernel_thread_helper+0x7/0x10 > [ 203.952039] Code: 1c ff 74 24 1c ff 74 24 1c e8 b9 fe ff ff c2 18 00 55 57 > 56 53 8b 44 24 18 8b 7c 24 20 8b 80 9c 01 00 00 8b 0f 8b 40 04 8b 70 68 <8b> > 6e 10 89 e8 c1 e0 04 83 c0 08 83 f9 17 77 0e 89 07 8b 44 24 > [ 203.952039] EIP: [<e0899078>] NdisMQueryAdapterResources+0x1a/0x91 > [ndiswrapper] SS:ESP 0068:de2e5ab4 > [ 203.952039] CR2: 0000000000000010 > [ 203.953276] ---[ end trace 607b952be02cf208 ]--- > > See also > http://www.google.com/search?q=ndiswrapper+%22BUG:+unable+to+handle+kernel+NULL+pointer+dereference+at%22& > > jidanni4 > description: Notebook > product: 2659HT2 > vendor: IBM > version: Not Available > serial: AKVNCT4 > width: 32 bits > capabilities: smbios-2.31 dmi-2.31 > configuration: boot=normal chassis=notebook > uuid=42199DE0-13A3-11D7-AFF9-C85BB17AAE96 > *-core > description: Motherboard > product: 2659HT2 > vendor: IBM > physical id: 0 > version: Not Available > serial: 1Z74H2CI3FF > *-firmware > description: BIOS > vendor: IBM > physical id: 0 > version: 1MET97WW (2.16 ) (06/16/2006) > size: 144KiB > capacity: 960KiB > capabilities: pci pcmcia pnp apm upgrade shadowing escd cdboot > bootselect edd int13floppy720 int5printscreen int9keyboard int14serial > int17printer int10video acpi usb agp ls120boot smartbattery > biosbootspecification > *-cpu > description: CPU > product: Mobile Intel(R) Pentium(R) 4 - M CPU 1.70GHz > vendor: Intel Corp. > physical id: 6 > bus info: c...@0 > version: 15.2.7 > slot: None > size: 1200MHz > capacity: 1700MHz > width: 32 bits > clock: 400MHz > capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 > sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm > pbe up pebs bts cid cpufreq > configuration: id=0 > *-cache:0 > description: L1 cache > physical id: a > slot: Internal L1 Cache > size: 8KiB > capacity: 8KiB > capabilities: synchronous internal write-back data > *-cache:1 > description: L2 cache > physical id: b > slot: Internal L2 Cache > size: 512KiB > capacity: 512KiB > capabilities: burst internal write-back unified > *-memory > description: System Memory > physical id: 22 > slot: System board or motherboard > size: 512MiB > capacity: 1GiB > *-bank:0 > description: SODIMM SDRAM Synchronous > physical id: 0 > slot: DIMM 1 > size: 256MiB > width: 64 bits > *-bank:1 > description: SODIMM SDRAM Synchronous > physical id: 1 > slot: DIMM 2 > size: 256MiB > width: 64 bits > *-pci > description: Host bridge > product: 82845 845 [Brookdale] Chipset Host Bridge > vendor: Intel Corporation > physical id: 100 > bus info: p...@0000:00:00.0 > version: 04 > width: 32 bits > clock: 33MHz > configuration: driver=agpgart-intel > resources: irq:0 memory:e0000000-e3ffffff(prefetchable) > *-pci:0 > description: PCI bridge > product: 82845 845 [Brookdale] Chipset AGP Bridge > vendor: Intel Corporation > physical id: 1 > bus info: p...@0000:00:01.0 > version: 04 > width: 32 bits > clock: 66MHz > capabilities: pci normal_decode bus_master > resources: ioport:3000(size=4096) memory:d0100000-d01fffff > memory:e8000000-efffffff(prefetchable) > *-display > description: VGA compatible controller > product: Radeon Mobility M6 LY > vendor: ATI Technologies Inc > physical id: 0 > bus info: p...@0000:01:00.0 > version: 00 > width: 32 bits > clock: 66MHz > capabilities: agp agp-2.0 pm vga_controller bus_master > cap_list rom > configuration: driver=radeon latency=66 mingnt=8 > resources: irq:11 memory:e8000000-efffffff(prefetchable) > ioport:3000(size=256) memory:d0100000-d010ffff > memory:d0120000-d013ffff(prefetchable) > *-usb:0 > description: USB Controller > product: 82801CA/CAM USB Controller #1 > vendor: Intel Corporation > physical id: 1d > bus info: p...@0000:00:1d.0 > version: 02 > width: 32 bits > clock: 33MHz > capabilities: uhci bus_master > configuration: driver=uhci_hcd latency=0 > resources: irq:11 ioport:1800(size=32) > *-usb:1 > description: USB Controller > product: 82801CA/CAM USB Controller #2 > vendor: Intel Corporation > physical id: 1d.1 > bus info: p...@0000:00:1d.1 > version: 02 > width: 32 bits > clock: 33MHz > capabilities: uhci bus_master > configuration: driver=uhci_hcd latency=0 > resources: irq:11 ioport:1820(size=32) > *-usb:2 > description: USB Controller > product: 82801CA/CAM USB Controller #3 > vendor: Intel Corporation > physical id: 1d.2 > bus info: p...@0000:00:1d.2 > version: 02 > width: 32 bits > clock: 33MHz > capabilities: uhci bus_master > configuration: driver=uhci_hcd latency=0 > resources: irq:11 ioport:1840(size=32) > *-pci:1 > description: PCI bridge > product: 82801 Mobile PCI Bridge > vendor: Intel Corporation > physical id: 1e > bus info: p...@0000:00:1e.0 > version: 42 > width: 32 bits > clock: 33MHz > capabilities: pci normal_decode bus_master > resources: ioport:4000(size=20480) memory:d0200000-dfffffff > memory:f0000000-f7ffffff(prefetchable) > *-firewire > description: FireWire (IEEE 1394) > product: TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link) > vendor: Texas Instruments > physical id: 3 > bus info: p...@0000:02:03.0 > version: 00 > width: 32 bits > clock: 33MHz > capabilities: pm ohci bus_master cap_list > configuration: driver=firewire_ohci latency=64 maxlatency=4 > mingnt=2 > resources: irq:11 memory:d0205000-d02057ff > memory:d0200000-d0203fff > *-network > description: Ethernet interface > product: 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller > vendor: Intel Corporation > physical id: 8 > bus info: p...@0000:02:08.0 > logical name: eth0 > version: 42 > serial: 00:00:e2:8a:c9:79 > size: 10MB/s > capacity: 100MB/s > width: 32 bits > clock: 33MHz > capabilities: pm bus_master cap_list ethernet physical tp mii > 10bt 10bt-fd 100bt 100bt-fd autonegotiation > configuration: autonegotiation=on broadcast=yes driver=e100 > driverversion=3.5.24-k2-NAPI duplex=half firmware=N/A latency=66 link=no > maxlatency=56 mingnt=8 multicast=yes port=MII speed=10MB/s > resources: irq:11 memory:d0204000-d0204fff > ioport:8000(size=64) > *-pcmcia UNCLAIMED > description: CardBus bridge > product: PCI1410 PC card Cardbus Controller > vendor: Texas Instruments > physical id: 9 > bus info: p...@0000:02:09.0 > version: 02 > width: 32 bits > clock: 33MHz > capabilities: pcmcia bus_master cap_list > configuration: latency=176 maxlatency=3 mingnt=192 > resources: memory:d0206000-d0206fff ioport:4000(size=256) > ioport:4400(size=256) memory:f0000000-f3ffffff(prefetchable) > memory:d4000000-d7ffffff > *-isa > description: ISA bridge > product: 82801CAM ISA Bridge (LPC) > vendor: Intel Corporation > physical id: 1f > bus info: p...@0000:00:1f.0 > version: 02 > width: 32 bits > clock: 33MHz > capabilities: isa bus_master > configuration: latency=0 > *-ide > description: IDE interface > product: 82801CAM IDE U100 Controller > vendor: Intel Corporation > physical id: 1f.1 > bus info: p...@0000:00:1f.1 > logical name: scsi0 > logical name: scsi1 > version: 02 > width: 32 bits > clock: 33MHz > capabilities: ide bus_master emulated > configuration: driver=ata_piix latency=0 > resources: irq:11 ioport:1f0(size=8) ioport:3f6 > ioport:170(size=8) ioport:376 ioport:1860(size=16) memory:20000000-200003ff > *-disk > description: ATA Disk > product: FUJITSU MHR2020A > vendor: Fujitsu > physical id: 0 > bus info: s...@0:0.0.0 > logical name: /dev/sda > version: 70BD > serial: NJ68T2A14S3E > size: 18GiB (20GB) > capabilities: partitioned partitioned:dos > configuration: ansiversion=5 signature=07270726 > *-volume:0 > description: Windows NTFS volume > physical id: 1 > bus info: s...@0:0.0.0,1 > logical name: /dev/sda1 > logical name: /mnt/extra > version: 3.1 > serial: 1e605678-4f60-cb4f-9bc4-788ad90f4ea7 > size: 8999MiB > capacity: 8999MiB > capabilities: primary ntfs initialized > configuration: clustersize=4096 created=2008-09-24 > 02:20:34 filesystem=ntfs label=XP mount.fstype=fuseblk > mount.options=rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096 > state=mounted > *-volume:1 > description: Extended partition > physical id: 2 > bus info: s...@0:0.0.0,2 > logical name: /dev/sda2 > size: 7993MiB > capacity: 7993MiB > capabilities: primary extended partitioned > partitioned:extended > *-logicalvolume:0 > description: Linux swap / Solaris partition > physical id: 5 > logical name: /dev/sda5 > capacity: 556MiB > capabilities: nofs > *-logicalvolume:1 > description: Linux filesystem partition > physical id: 6 > logical name: /dev/sda6 > logical name: / > capacity: 7436MiB > capabilities: bootable > configuration: mount.fstype=ext3 > mount.options=rw,relatime,errors=remount-ro,data=ordered state=mounted > *-volume:2 > description: Windows FAT volume > vendor: MSWIN4.1 > physical id: 3 > bus info: s...@0:0.0.0,3 > logical name: /dev/sda3 > version: FAT32 > serial: 9676-ef82 > size: 2063MiB > capacity: 2074MiB > capabilities: primary hidden fat initialized > configuration: FATs=2 filesystem=fat label=F2 > *-cdrom > description: SCSI CD-ROM > product: CD-224E > vendor: TEAC > physical id: 1 > bus info: s...@1:0.0.0 > logical name: /dev/cdrom1 > logical name: /dev/scd0 > logical name: /dev/sr0 > version: 2.9A > serial: [TEAC CD-224E 2.9A > capabilities: removable audio > configuration: ansiversion=5 status=nodisc > *-serial > description: SMBus > product: 82801CA/CAM SMBus Controller > vendor: Intel Corporation > physical id: 1f.3 > bus info: p...@0000:00:1f.3 > version: 02 > width: 32 bits > clock: 33MHz > configuration: driver=i801_smbus latency=0 > resources: irq:11 ioport:1880(size=32) > *-multimedia > description: Multimedia audio controller > product: 82801CA/CAM AC'97 Audio Controller > vendor: Intel Corporation > physical id: 1f.5 > bus info: p...@0000:00:1f.5 > version: 02 > width: 32 bits > clock: 33MHz > capabilities: bus_master > configuration: driver=Intel ICH latency=0 > resources: irq:11 ioport:1c00(size=256) ioport:18c0(size=64) > *-communication > description: Modem > product: 82801CA/CAM AC'97 Modem Controller > vendor: Intel Corporation > physical id: 1f.6 > bus info: p...@0000:00:1f.6 > version: 02 > width: 32 bits > clock: 33MHz > capabilities: generic bus_master > configuration: driver=Intel ICH Modem latency=0 > resources: irq:11 ioport:2400(size=256) ioport:2000(size=128) > *-scsi > physical id: 1 > bus info: u...@2:2.4 > logical name: scsi2 > capabilities: emulated > *-disk > description: SCSI Disk > product: STORAGE DEVICE > vendor: Generic > physical id: 0.0.0 > bus info: s...@2:0.0.0 > logical name: /dev/sdb > version: 9451 > size: 952MiB (998MB) > capabilities: removable > *-medium > physical id: 0 > logical name: /dev/sdb > size: 952MiB (998MB) > capabilities: partitioned partitioned:dos > configuration: signature=1375f97f > *-volume > description: Windows FAT volume > physical id: 1 > logical name: /dev/sdb1 > logical name: /mnt/usb/cf > version: FAT16 > serial: 20a4-6bbc > size: 952MiB > capacity: 952MiB > capabilities: primary fat initialized > configuration: FATs=2 filesystem=fat label=GREENGIGA > mount.fstype=vfat > mount.options=rw,nosuid,nodev,noexec,noatime,uid=1000,gid=1000,fmask=0133,dmask=0022,codepage=cp437,iocharset=ascii,shortname=mixed,errors=remount-ro > state=mounted > > -- Julian Andres Klode - Debian Developer, Ubuntu Member See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

