NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RE: kernel lockup on 6.0 beta2 on cardbus insertion on Dell Inspiron 9100 laptop



bar_tag=da525b1c
bar_size=131072
len=2048
bar_memh=db230000
cis_ptr=da525b20
tuples=0

This is with the new code in the "+" diff.  I suspect if I hard code 512
into len, it won't crash.

How to build 512-hack?  Didn't see that in the config area.  Already set the

#option PCMCIAVERBOSE

in the kernel build, but can set anything you want.

Was booting with -12d

And where to set the pcmciacis_debug ?.  At the shell or ??

Probably need to take a nap now.   3:30 AM here.  Back later...

John R


-----Original Message-----
From: netbsd-users-owner%NetBSD.org@localhost 
[mailto:netbsd-users-owner%NetBSD.org@localhost]
On Behalf Of Martin Husemann
Sent: Thursday, June 07, 2012 2:56 AM
To: John Refling
Cc: netbsd-users%NetBSD.org@localhost; dyoung%NetBSD.org@localhost
Subject: Re: kernel lockup on 6.0 beta2 on cardbus insertion on Dell
Inspiron 9100 laptop

On Thu, Jun 07, 2012 at 02:41:03AM -0700, John Refling wrote:
> The new code with the "+" in the diff still generates a value of 2048,
> unfortunately, which still crashes the kernel (silently).  I did test that
> by recompiling...

Can you please add printfs and tell us what values bar_size, cis_ptr and len
have?

Can you build a kernel (with the 512-hack) with PCMCIACISDEBUG, boot -d
and set pcmciacis_debug to 1? This should dump all of the CIS on the
card.


Martin



Home | Main Index | Thread Index | Old Index