Asus EEE, acpi and nata driver

Sepherosa Ziehau sepherosa at gmail.com
Sun Dec 14 23:31:36 PST 2008


2008/12/15 Dmitry Komissaroff <dxi at mail.ru>:
> Hi All.
>
> At last time I trying to adopt DF for work on Asus EEE 701.
> Basically it work with acpi driver disabled and when EEE in "OS install
> mode". This mean, what usb controllers change state from USB 2.0 to 1.1.
> It not enough for comfortable work.
>
> There are many variants of mode and loaded drivers which I try to boot, and
> I found some weird things happend...
>
> 1. Loading acpi driver switch usb controllers to normal mode.
> 2. ehci driver don't won't work. It can't assign address on any device
> attached to usb ports. It do some attempts to assign address and finally
>  just give up...
> 3. When acpi on, nata driver just hang. Trying localize place, I found some
> strange thing. If I add device_printf() in some place(patch included) then
> all ok, commenting this and all hang...
>
> Point 3 is really trouble, because all other I can around installing DF on
> main EEE disk.
>
> --- ata-lowlevel.c.old  Fri Dec 22 23:26:16 2006
> +++ ata-lowlevel.c      Mon Dec 15 06:37:58 2008
> @@ -511,6 +511,7 @@
>     ATA_IDX_OUTB(ch, ATA_CONTROL, ATA_A_IDS | ATA_A_RESET);
>     ata_udelay(10000);
>     ATA_IDX_OUTB(ch, ATA_CONTROL, ATA_A_IDS);
> +device_printf(dev,"Antihang magic string :)\n"); //there!!!
>     ata_udelay(100000);

What will happen if you increase the value, say, to 500000, in the
above ata_udelay() and remove the device_printf()?

Best Regards,
sephe

-- 
Live Free or Die





More information about the Kernel mailing list