lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 6 Jun 2007 07:29:11 +0400
From:	Andrey Borzenkov <arvidjaar@...l.ru>
To:	Bjorn Helgaas <bjorn.helgaas@...com>
Cc:	"Linus Walleij (LD/EAB)" <linus.walleij@...csson.com>,
	"Samuel Ortiz" <samuel@...tiz.org>, linux-kernel@...r.kernel.org,
	"Michal Piotrowski" <michal.k.k.piotrowski@...il.com>,
	ambx1@....rr.com
Subject: Re: 2.6.22-rc: regression: no irda0 interface (2.6.21 was OK), smsc does not find chip

On Wednesday 06 June 2007, Bjorn Helgaas wrote:
> On Tuesday 05 June 2007 05:57:30 am Linus Walleij (LD/EAB) wrote:
> > You don't need to alter the defaults for the Toshiba ALi, the
> > preconfigure will respect the settings from the commandline,
> > e.g. modprobe smsc-ircc2 ircc_fir=0x100,ircc_sir=0x02e8.
> >
> > BUT this value just won't work: we don't know how to tell the ALi 1533
> > to use any other ports than 0x130,0x178,0x03f8,0x02f8 or 0x02e8.
>
> Something's wrong with this strategy.  The BIOS is telling us that an
> SMCf010 device is present, active, and responds at io ports 0x100-0x107
> and 0x2e8-0x2ef.  The fact that it happens to be on the other side of
> an ISA or LPC bridge should be immaterial to the OS driver.
>

I thought this as well.

> If an ACPI BIOS says the device is active, I don't think the OS should
> have to preconfigure anything to make it work.  I don't know whether
> this is just a broken BIOS on this machine, or whether we don't know
> how to use it correctly yet.  The fact that we *do* have to preconfigure
> so much stuff in smsc-ircc2.c makes me think that Linux is missing
> something important in the way we deal with ISA and LPC bridges.
>
> Andrey, can you collect your ACPI DSDT and "lspnp -vv" [1] output?
> Maybe there will be a clue there.
>

dsdt binary and decoded attached. lspnp:

{pts/1}% lspnp -vv
00:00 PNP0c01 System board
    state = active
    allocated resources:
        mem 0x0-0x9ffff
        mem 0xe0000-0xeffff
        mem 0xf0000-0xfffff
        mem 0x100000-0x1ef5ffff

00:01 PNP0a03 PCI bus
    state = active
    allocated resources:
        io 0xcf8-0xcff

00:02 PNP0200 AT DMA controller
    state = active
    allocated resources:
        io 0x0-0xf
        io 0x81-0x83
        io 0x87-0x87
        io 0x89-0x8b
        io 0x8f-0x8f
        io 0xc0-0xdf
        dma 4

00:03 PNP0800 AT speaker
    state = active
    allocated resources:
        io 0x61-0x61

00:04 PNP0c04 Math coprocessor
    state = active
    allocated resources:
        io 0xf0-0xff
        irq 13

00:05 PNP0303 IBM enhanced keyboard (101/102-key, PS/2 mouse support)
    state = active
    allocated resources:
        io 0x60-0x60
        io 0x64-0x64
        irq 1

00:06 PNP0f13 PS/2 port for PS/2-style mice
    state = active
    allocated resources:
        irq 12

00:07 PNP0b00 AT real-time clock
    state = active
    allocated resources:
        io 0x70-0x71
        irq 8

00:08 PNP0c02 Motherboard resources
    state = active
    allocated resources:
        io 0x2e-0x2f
        io 0x62-0x62
        io 0x66-0x66
        io 0x80-0x80
        io 0x84-0x86
        io 0x88-0x88
        io 0x8c-0x8e
        io 0x92-0x92

00:09 PNP0501 16550A-compatible serial port
    state = active
    allocated resources:
        io 0x3f8-0x3ff
        irq 4
    possible resources:
        irq 3,4,5,6,7,10,11 High-Edge
        Dependent: 01 - Priority acceptable
           port 0x3f8-0x3f8, align 0x0, size 0x8, 16-bit address decoding
        Dependent: 02 - Priority acceptable
           port 0x2f8-0x2f8, align 0x0, size 0x8, 16-bit address decoding
        Dependent: 03 - Priority acceptable
           port 0x2e8-0x2e8, align 0x0, size 0x8, 16-bit address decoding
        Dependent: 04 - Priority acceptable
           port 0x3e8-0x3e8, align 0x0, size 0x8, 16-bit address decoding

00:0a SMCf010 SMC Fast Infrared Port
    state = disabled
    possible resources:
        port 0x100-0x130, align 0xf, size 0x8, 16-bit address decoding
        irq 3,4,5,6,7,10,11 High-Edge
        dma 1,2,3 16-bit compatible
        Dependent: 01 - Priority acceptable
           port 0x3f8-0x3f8, align 0x0, size 0x8, 16-bit address decoding
        Dependent: 02 - Priority acceptable
           port 0x2e8-0x2e8, align 0x0, size 0x8, 16-bit address decoding
        Dependent: 03 - Priority acceptable
           port 0x2f8-0x2f8, align 0x0, size 0x8, 16-bit address decoding
        Dependent: 04 - Priority acceptable
           port 0x3e8-0x3e8, align 0x0, size 0x8, 16-bit address decoding

00:0b PNP0401 ECP printer port
    state = active
    allocated resources:
        io 0x378-0x37a
        io 0x778-0x77a
        irq 7
        dma 3
    possible resources:
        dma 1,2,3 8-bit compatible
        Dependent: 01 - Priority acceptable
           port 0x378-0x378, align 0x0, size 0x3, 16-bit address decoding
           port 0x778-0x778, align 0x0, size 0x3, 16-bit address decoding
           irq 7 High-Edge
        Dependent: 02 - Priority acceptable
           port 0x278-0x278, align 0x0, size 0x3, 16-bit address decoding
           port 0x678-0x678, align 0x0, size 0x3, 16-bit address decoding
           irq 5 High-Edge
        Dependent: 03 - Priority acceptable
           port 0x3bc-0x3bc, align 0x0, size 0x3, 16-bit address decoding
           port 0x7bc-0x7bc, align 0x0, size 0x3, 16-bit address decoding
           irq 7 High-Edge

{pts/1}%

Download attachment "dsdt" of type "application/octet-stream" (26842 bytes)

View attachment "dsdt.dsl" of type "text/x-dsl" (180789 bytes)

Download attachment "signature.asc " of type "application/pgp-signature" (190 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ