Hi,
I have Acer TravelMate 242 serie and I have these problems with 2.4 kernel:
1) Compiling into kernel Local APIC causes kernel not booting after reboot -
Kernel writes Loading kernel and when finished PC freezes. Removing Local
Apic causes working kernel
problem under 2.6.0-test9 too
2) USB 2.0 - notebook has 4 USB 2.0 ports - modprobe usb-ehci causes loading
USB and kernel finds USB ports, but when I plug in mouse or BT adapter or
harddrive into usb ports, those are not recognized anymore.
When I load usb-uhci all works fine, but communication is too slow with my usb
2.0 harddrive
problem under 2.6.0-test9 too
3) IRDA - there is a new version of existing chip - driver is here and works
excellent and is backported from 2.6:
http://nemadema.cz/acer/irda.patch
When will be this patch included into 2.4 vanilla?
Thanks for reply
Michal
Michal Semler (volny.cz) writes:
> Hi,
>
> I have Acer TravelMate 242 serie and I have these problems with 2.4 kernel:
>
> 1) Compiling into kernel Local APIC causes kernel not booting after reboot -
> Kernel writes Loading kernel and when finished PC freezes. Removing Local
> Apic causes working kernel
Please clarify: does the kernel with local APIC support enabled always
fail to boot, or does it only fail at warm (re)boots?
What exact kernel version are you using? A bug which had the effect
of breaking warm (re)boots on some system was fixed semi-recently.
(Power-management related config options are also significant.
Certain APM options are known to cause problems, for instance.)
Note that many many laptops have buggy BIOSen, making local APIC
usage on those laptops impossible. Pass "nolapic" to the kernel if
you have a buggy machine.
/Mikael
On Tuesday 04 November 2003 20:20, Michal Semler (volny.cz) wrote:
> Hi,
>
> I have Acer TravelMate 242 serie and I have these problems with 2.4 kernel:
I also have one.
> 2) USB 2.0 - notebook has 4 USB 2.0 ports - modprobe usb-ehci causes
> loading USB and kernel finds USB ports, but when I plug in mouse or BT
> adapter or harddrive into usb ports, those are not recognized anymore.
> When I load usb-uhci all works fine, but communication is too slow with my
> usb 2.0 harddrive
Only the one of 4 USB ports is USB 2.0 - one farthest away from the RJ45
socket (it's EHCI). The rest are plain USB 1.1 UHCI ports. On my machine the
ehci-hcd module reports one controller with 6 ports hub, but only one of them
is physically present on the backside of the machine (other are purely
virtual). Uhci-hcd (usb-uhci in 2.4) says, that there are 3 UHCI controllers,
each of them having 2 ports (and only one physically present per controller).
So in total, Acer TM242 has 12 USB ports, 4 of them are physically available.
I don't know, why it is done this way.
Greetings
Szymon
>From dmesg:
Linux version 2.6.0-test9-swsusp (root@aclaptop) (gcc version 3.3.1 20030930
(Red Hat Linux 3.3.1-6)) #9 Tue Nov 4 20:29:08 CET 2003
[...]
ehci_hcd 0000:00:1d.7: EHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: irq 10, pci mem cf87e000
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1d.7: enabled 64bit PCI DMA
PCI: cache line size of 128 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-13
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver
v2.1
uhci_hcd 0000:00:1d.0: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: irq 5, io base 00001820
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.1: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: irq 11, io base 00001840
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.2: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: irq 4, io base 00001860
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
[here's my USB mouse plugged into 4th port is being detected]
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
hub 2-0:1.0: new USB device on port 2, assigned address 2
input: USB HID v1.10 Mouse [Logitech USB Mouse] on usb-0000:00:1d.0-2
On Tuesday 04 November 2003 20:47, Mikael Pettersson wrote:
> Michal Semler (volny.cz) writes:
> > Hi,
> >
> > I have Acer TravelMate 242 serie and I have these problems with 2.4
> > kernel:
I also have one.
> > 1) Compiling into kernel Local APIC causes kernel not booting after
> > reboot - Kernel writes Loading kernel and when finished PC freezes.
> > Removing Local Apic causes working kernel
>
> Please clarify: does the kernel with local APIC support enabled always
> fail to boot, or does it only fail at warm (re)boots?
It fails every time. On every boot/reboot. Passing 'nolapic' or 'noapic'
doesn't help.
> What exact kernel version are you using? A bug which had the effect
> of breaking warm (re)boots on some system was fixed semi-recently.
My kernel is 2.6.0-test9 + swsusp-2.6-2.0-alpha2. Compiled with gcc 3.3.1 from
RedHat rawhide running on RedHat 9. It's working, but with
CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y
problem occurs. I'll try tomorrow compiling only with UP_APIC and not
UP_IOAPIC.
> (Power-management related config options are also significant.
> Certain APM options are known to cause problems, for instance.)
I use ACPI. Works quite well. config & full dmesg output attached. [apic not
in kernel of course]
> Note that many many laptops have buggy BIOSen, making local APIC
> usage on those laptops impossible. Pass "nolapic" to the kernel if
> you have a buggy machine.
It doesn't help.
Cheers
Szymon
PS. I'm ready to provide more information, if needed. Don't hesitsate do ask.