On Mon, Sep 15, 2008 at 09:48:12AM -0400, Jared D. McNeill wrote:
> On Mon, 15 Sep 2008, KIYOHARA Takashi wrote:
>> ld0 at sdmmc0
>> ld0: 122 MB, 248 cyl, 16 head, 63 sec, 512 bytes/sect x 250880 sectors
>
> On amd64 with sdhc I don't quite get so far:
>
> ld0 at sdmmc0
> ld0: 970 MB, 985 cyl, 32 head, 63 sec, 512 bytes/sect x 1987584 sectors
> uvm_fault(0xffffffff80c27b60, 0x0, 1) -> e
> fatal page fault in supervisor mode
> trap type 6 code 0 rip ffffffff804f410d cs 8 rflags 10286 cr2 1 cpl 7
> rsp ffff800044c8c788
> db{0}> tr
> mutex_spin_enter()
The callout is not yet initialised.
Invert the folling lines in ld_sdmmc_attach:
+ ldattach(ld);
+
+ callout_init(&sc->sc_task.task_callout, CALLOUT_MPSAFE);
I have no clue how that could work for other people.
--
Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.
Attachment:
pgp8QK9TVT7qp.pgp
Description: PGP signature