Toshiba Satellite M50 and ndis

Ferruccio Zamuner nonsolosoft at diff.org
Wed Sep 13 04:37:28 PDT 2006


.org>
In-Reply-To: <4507ad29$0$786$415eb37d at xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 82
Message-ID: <4507ecc8$0$786$415eb37d at xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
NNTP-Posting-Host: 81.174.26.135
X-Trace: 1158147272 crater_reader.dragonflybsd.org 786 81.174.26.135
Xref: crater_reader.dragonflybsd.org dragonfly.bugs:5827

Sascha Wildner wrote:
> Ferruccio Zamuner wrote:
>> There was still a malloc() and I've replace malloc() with kmalloc() once
>> in if_ndis.c. Rebuilt and installed.
> 
> That is fixed now.
> 
> 
>> kldload doesn't fail to load, but it kernel panic. :-(
> 
> Can you post a backtrace? Maybe it will give us a clue what the problem is.
> 
> Sascha
> 

% kldload /modules/if_ndis.ko
yk50: <Marvell Yukon 88E8036 PCI-E Fast Ethernet Controller> port 0x3000-0x30ff mem 0xb4000000-0xb4003fff irp 10 at device 0.0 on pci2
can't re-use a leaf (TcpLargeSend)!
no match for NdisIMGetCurrentPacketStack
no match for ExUnregisterCallback
no match for ZwPowerInformation
no match for ExRegisterCallback
no match for ExCreateCallback
no match for ZwUnmapViewOfSection
no match for ZwMapViewOfSection
no match for ZwOpenSection
no match for wcslen
yk50: NDIS API version: 5.1
ntoskrnl dummy called...
ntoskrnl dummy called...


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0x0
stack pointer           = 0x10:0xcea149ac
frame pointer           = 0x10:0xcea149c4
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, grain 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 698 (kldload)
current thread          = pri 6

kernel: type 12 trap, code=0
Stopped at       0:

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code              = supervisor read, page not found
instruction pointer     = 0x8:0xc04b6e99
stack pointer           = 0x10:0xcea147ec
frame pointer           = 0x10:0xcea147f0
code segment            = base 0x0, limit 0xffffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enable, resume, IOPL = 0
current process         = 698 (kldload)
current thread          = pri 6

           kernel: type 12 trap, code=0
db> trace


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code              = supervisor read, page not found
instruction pointer     = 0x8:0xc04b6e99
stack pointer           = 0x10:0xcea14710
frame pointer           = 0x10:0xcea14714
code segment            = base 0x0, limit 0xffffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enable, resume, IOPL = 0
current process         = 698 (kldload)
current thread          = pri 6

kernel: type 12 trap, code=0


If you need more info, I'll be happy to be useful.


Bye,                          \fer





More information about the Bugs mailing list