Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Nov 2000 04:25:05 -0500
From:      mike ryan <msr@elision.org>
To:        stable@FreeBSD.ORG
Subject:   Re: 4.2-BETA hangs on boot
Message-ID:  <20001119042505.A7076@medianstrip.net>
In-Reply-To: <200011172314.QAA78313@harmony.village.org>; from imp@village.org on Fri, Nov 17, 2000 at 04:14:39PM -0700
References:  <20001117172251.A34915@medianstrip.net> <20001116204344.B62344@bonsai.knology.net> <20001116195957.A62344@bonsai.knology.net> <200011170209.eAH297q51130@drugs.dv.isc.org> <20001116204344.B62344@bonsai.knology.net> <200011172203.PAA77619@harmony.village.org> <20001117172251.A34915@medianstrip.net> <200011172314.QAA78313@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/17/00, Warner Losh wrote:
> In message <20001117172251.A34915@medianstrip.net> mike ryan writes:
> : On 11/17/00, Warner Losh wrote:
> : > This won't be changed.  polling works on more systems than a specific
> : > IRQ, and the IRQ to use varies so widely that any choice is likely to
> : > be wrong.
> : are the reasons why polling doesn't work on some hardware well
> : understood?
> 
> I wasn't aware that polling wasn't working until very recently.  I
> don't have a good idea how many machines this impacts.

in that case, is there anything those of us with affected hardware
can do to help diagnose this?

for what it's worth, here's the behavior i'm seeing: on my vaio
z505hs with a ricoh rl5c475 pci-cardbus bridge, polling mode works
fine with the "plug & play o/s" bios option set to "yes".  when i
set that bios option to "no" (so usb works), the machine will
occasionally (but not always) hang on boot after the pccard0 probe,
with no cards inserted.  i haven't tried booting with cards
inserted.  when the machine boots successfully, it will always hang
on a card insertion.

verbose boot messages are identical, regardless of bios settings:

    pcic-pci0: <Ricoh RL5C475 PCI-CardBus Bridge> at device 12.0 on pci0
    pcic-pci0: Legacy address set to 0x3e0
    PCI Config space:
    00:  04751180 02100007 06070080 00020000
    10:  00000000 020000dc 00000000 00000000
    20:  00000000 00000000 00000000 00000000
    30:  00000000 00000000 00000000 078001ff
    40:  8082104d 000003e1 00000000 00000000
    50:  00000000 00000000 00000000 00000000
    60:  00000000 00000000 00000000 00000000
    70:  00000000 00000000 00000000 00000000
    80:  00000001 00000000 04630463 30000000
    90:  00000000 00000000 00000000 00000000
    Cardbus Socket registers:
    00:  f000ff53: f000ff53: f000e2c3: f000ff53:
    10:  f000ff53: f000ff54: f000a0bd: f000ff53:
    ExCa registers:
    00: eb 88 d5 43 30 d2 66 f7 f3 88 d7 5a 66 3d ff 03
    10: 00 00 fb 77 44 86 c4 c0 c8 02 08 e8 40 91 88 fe
    20: 28 e0 8a 66 02 38 e0 72 02 88 e0 bf 05 00 c4 5e
    30: 04 50 b4 02 cd 13 5b 73 0a 4f 74 1c 30 e4 cd 13
    pcic0: <Intel i82365> at port 0x3e0 iomem 0xd8000 on isa0
    pcic0: Polling mode
    stat is 33
    pccard0: <PC Card bus -- kludge version> on pcic0

when a card insertion does freeze the machine, i can still drop to
ddb.  once in ddb, i can "next" a lot, and eventually ddb will
disappear, the machine will be unfrozen, the freshly inserted card
will probe and attach, and everything will continue normally except
that a random process will have died on SIGTRAP.  same thing on card
removal.  dropping to ddb and hitting "continue" doesn't work, only
"next".  this seems odd.

at this point, i've got no idea how to proceed.  i'm willing to
perform experiments on request, though, if that would help...


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001119042505.A7076>