2002-11-05 09:37:39

by Manuel Serrano

[permalink] [raw]
Subject: Problem with USB-OHCI (2.4.20-pre10-ac2) and Sony Picturebook PCG-C1MHP

Hello there,

Here is the description of my third problems with my Sony Picturebook
PCG-C1MHP computer. I'm sorry to annoy everybody with my problems. I'm
afraid that this bug report is not even the last one...


[1.] One line summary of the problem:
=====================================

USB error message at boot-time and the USB mouse randomly disappears.


[2.] Full description of the problem/report:
============================================

At boot time, I have the following error (warning?) messages:

-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
usb-ohci.c: USB OHCI at membase 0xcf85a000, IRQ 9
usb-ohci.c: usb-00:0f.0, Acer Laboratories Inc. [ALi] USB 1.1 Controller
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 9 for device 00:14.0
usb-ohci.c: USB OHCI at membase 0xc00e0000, IRQ 9
usb-ohci.c: usb-00:14.0, Acer Laboratories Inc. [ALi] USB 1.1 Controller (#2)
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <[email protected]>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
Power Resource: found
ACPI: AC Adapter found
ACPI: Battery socket found, battery present
ACPI: Thermal Zone found
hub.c: new USB device 00:0f.0-1, assigned address 2
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,5), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,7), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
8139too Fast Ethernet driver 0.9.26
PCI: Found IRQ 9 for device 00:0b.0
PCI: Sharing IRQ 9 with 00:0a.0
PCI: Sharing IRQ 9 with 00:12.0
eth0: RealTek RTL8139 Fast Ethernet at 0xcf87e800, 08:00:46:47:62:d4, IRQ 9
eth0: Identified 8139 chip type 'RTL-8139C'
eth0: Setting 100mbps half-duplex based on auto-negotiated partner ability 40a1.
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
PCI: Found IRQ 9 for device 00:12.0
PCI: Sharing IRQ 9 with 00:0a.0
PCI: Sharing IRQ 9 with 00:0b.0
Yenta IRQ list 0cb8, PCI irq9
Socket status: 30000006
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb.c: USB device not responding, giving up (error=-110)
hub.c: new USB device 00:0f.0-1, assigned address 3
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb.c: USB device not responding, giving up (error=-110)
-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----

I have no idea of the meaning and the implication of these messages. Does
it means that the USB bus is not handled correctly. I have tried two
USB things. The first is downloading pictures from a camera. This works
perfectly. The second thing I'm doing is using an USB mouse. This
works but at a certain moment I "loose" the mouse. That is, after a
certain amount time that varies from one session to another (it can be
5 minutes or event 5 hours). That is, after a certain period X does not
handle the USB mouse anymore. When this occurs, if I quite X and restart
X, the USB mouse re-work!

[3.] Keywords (i.e., modules, networking, kernel):
==================================================

Sony Picture book, USB, mouse


[4.] Kernel version (from /proc/version):
=========================================

Linux version 2.4.20-pre10-ac2 (root@owens) (gcc version 2.95.4 20011002 (Debian prerelease)) #2 Mon Nov 4 21:12:53 CET 2002

[5.] Output of Oops.. message (if applicable) with symbolic information:
========================================================================

NA

[6.] A small shell script or example program which triggers the problem:
========================================================================

NA

[7.] Environment
================

Sony Picturebook PCG-C1MHP, Crusoe TM5800, ide disk IC25N030ATCS04-0
ATA/ATAPI IDE : IDE PCI Bus Master ALi M5229

[7.1.] Software (add the output of the ver_linux script here):
==============================================================

owens:.../src/linux-2.4.20-rc1> sh scripts/ver_linux
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

Linux owens 2.4.20-pre10-ac2 #2 Mon Nov 4 21:12:53 CET 2002 i686 Transmeta(tm) Crusoe(tm) Processor TM5800 GenuineTMx86 GNU/Linux

Gnu C 2.95.4
Gnu make 3.79.1
util-linux 2.11u
mount 2.11u
modutils 2.4.19
e2fsprogs 1.30-WIP
pcmcia-cs 3.2.1
Linux C Library 2.2.5
Dynamic linker (ldd) 2.2.5
Procps 3.0.0
Net-tools 1.60
Console-tools 0.2.3
Sh-utils 4.5.2
Modules Loaded trident ac97_codec soundcore ds yenta_socket pcmcia_core 8139too mii ospm_thermal ospm_battery ospm_ac_adapter ospm_busmgr

[7.2.] Processor information (from /proc/cpuinfo):
==================================================

owens:.../src/linux-2.4.20-rc1> cat /proc/cpuinfo
processor : 0
vendor_id : GenuineTMx86
cpu family : 6
model : 4
model name : Transmeta(tm) Crusoe(tm) Processor TM5800
stepping : 3
cpu MHz : 860.154
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr cx8 sep cmov mmx longrun lrti
bogomips : 1717.04


[7.3.] Module information (from /proc/modules):
===============================================

Module Size Used by Not tainted
trident 25556 1 (autoclean)
ac97_codec 9640 0 (autoclean) [trident]
soundcore 3364 3 (autoclean) [trident]
ds 6152 1
yenta_socket 8864 1
pcmcia_core 33632 0 [ds yenta_socket]
8139too 13480 1 (autoclean)
mii 2192 0 (autoclean) [8139too]
ospm_thermal 5376 0 (unused)
ospm_battery 5364 0 (unused)
ospm_ac_adapter 1924 0 (unused)
ospm_busmgr 10932 0 [ospm_thermal ospm_battery ospm_ac_adapter]
usb-storage 21208 0 (unused)
mousedev 3672 1
hid 17124 0 (unused)
usb-ohci 17064 0 (unused)
usbcore 54048 0 [usb-storage hid usb-ohci]
scsi_mod 89560 0 [usb-storage]

[7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem):
===========================================================================

owens:.../src/linux-2.4.20-rc1> cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-017f : Acer Laboratories Inc. [ALi] M5229 IDE
01f0-01ff : Acer Laboratories Inc. [ALi] M5229 IDE
01f0-01f7 : ide0
0376-0376 : Acer Laboratories Inc. [ALi] M5229 IDE
03c0-03df : vga+
03f6-03f6 : Acer Laboratories Inc. [ALi] M5229 IDE
03f6-03f6 : ide0
0cf8-0cff : PCI conf1
1400-140f : Acer Laboratories Inc. [ALi] M5229 IDE
1800-18ff : Acer Laboratories Inc. [ALi] M5451 PCI AC-Link Controller Audio Device
1800-18ff : ALi Audio Accelerator
1c00-1cff : Acer Laboratories Inc. [ALi] M5457 AC-Link Modem Interface Controller
2000-20ff : PCI device 10cf:2011 (Citicorp TTI)
2400-24ff : Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
2400-24ff : 8139too
2800-28ff : ATI Technologies Inc Radeon Mobility M6 LY
4000-40ff : PCI CardBus #01
4400-44ff : PCI CardBus #01
8000-803f : Acer Laboratories Inc. [ALi] M7101 PMU
8040-805f : Acer Laboratories Inc. [ALi] M7101 PMU

owens:.../src/linux-2.4.20-rc1> cat /proc/iomem
00000000-0009afff : System RAM
0009b000-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000dc000-000dffff : reserved
000e0000-000e0fff : Acer Laboratories Inc. [ALi] USB 1.1 Controller (#2)
000e0000-000e0fff : usb-ohci
000f0000-000fffff : System ROM
00100000-0eeeffff : System RAM
00100000-001f662e : Kernel code
001f662f-002649df : Kernel data
0eef0000-0eefbfff : ACPI Tables
0eefc000-0eefffff : ACPI Non-volatile Storage
0ef00000-0effffff : System RAM
10000000-10000fff : Ricoh Co Ltd RL5c475
10400000-107fffff : PCI CardBus #01
10800000-10bfffff : PCI CardBus #01
e8000000-e80fffff : Transmeta Corporation LongRun Northbridge
e8100000-e8100fff : Acer Laboratories Inc. [ALi] M5451 PCI AC-Link Controller Audio Device
e8101000-e8101fff : Acer Laboratories Inc. [ALi] M5457 AC-Link Modem Interface Controller
e8102000-e81027ff : Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
e8102800-e81028ff : Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
e8102800-e81028ff : 8139too
e8103000-e8103fff : Acer Laboratories Inc. [ALi] USB 1.1 Controller
e8103000-e8103fff : usb-ohci
e8104000-e8107fff : Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
e8110000-e811ffff : ATI Technologies Inc Radeon Mobility M6 LY
e8200000-e82fffff : PCI device 10cf:2011 (Citicorp TTI)
f0000000-f7ffffff : ATI Technologies Inc Radeon Mobility M6 LY
fff80000-ffffffff : reserved

[7.5.] PCI information ('lspci -vvv' as root)
=============================================

owens:.../src/linux-2.4.20-rc1> sudo lspci -vv

00:00.0 Host bridge: Transmeta Corporation LongRun Northbridge (rev 02)
Subsystem: Sony Corporation: Unknown device 80ec
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 64
Region 0: Memory at e8000000 (32-bit, non-prefetchable) [size=1M]

00:00.1 RAM memory: Transmeta Corporation SDRAM controller
Subsystem: Sony Corporation: Unknown device 80ec
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-

00:00.2 RAM memory: Transmeta Corporation BIOS scratchpad
Subsystem: Sony Corporation: Unknown device 80ec
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-

00:06.0 Multimedia audio controller: Acer Laboratories Inc. [ALi] M5451 PCI AC-Link Controller Audio Device (rev 02)
Subsystem: Sony Corporation: Unknown device 80ec
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR+ <PERR+
Latency: 64 (500ns min, 6000ns max)
Interrupt: pin A routed to IRQ 9
Region 0: I/O ports at 1800 [size=256]
Region 1: Memory at e8100000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:07.0 ISA bridge: Acer Laboratories Inc. [ALi] M1533 PCI to ISA Bridge [Aladdin IV]
Subsystem: Sony Corporation: Unknown device 80ec
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Capabilities: [a0] Power Management version 1
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:08.0 Modem: Acer Laboratories Inc. [ALi] M5457 AC-Link Modem Interface Controller (prog-if 00 [Generic])
Subsystem: Sony Corporation: Unknown device 80ec
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 9
Region 0: Memory at e8101000 (32-bit, non-prefetchable) [size=4K]
Region 1: I/O ports at 1c00 [size=256]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:09.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22 1394a-2000 Controller (prog-if 10 [OHCI])
Subsystem: Sony Corporation: Unknown device 80ec
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (750ns min, 1000ns max), cache line size 08
Interrupt: pin A routed to IRQ 9
Region 0: Memory at e8102000 (32-bit, non-prefetchable) [size=2K]
Region 1: Memory at e8104000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME+

00:0a.0 Multimedia controller: Citicorp TTI: Unknown device 2011
Subsystem: Sony Corporation: Unknown device 80ec
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 9
Region 0: I/O ports at 2000 [disabled] [size=256]
Region 1: Memory at e8200000 (32-bit, non-prefetchable) [disabled] [size=1M]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C (rev 10)
Subsystem: Sony Corporation: Unknown device 80ec
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 128 (8000ns min, 16000ns max)
Interrupt: pin A routed to IRQ 9
Region 0: I/O ports at 2400 [size=256]
Region 1: Memory at e8102800 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0c.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M6 LY (prog-if 00 [VGA])
Subsystem: Sony Corporation: Unknown device 80ec
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 9
Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M]
Region 1: I/O ports at 2800 [size=256]
Region 2: Memory at e8110000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0f.0 USB Controller: Acer Laboratories Inc. [ALi] USB 1.1 Controller (rev 03) (prog-if 10 [OHCI])
Subsystem: Sony Corporation: Unknown device 80ec
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (20000ns max), cache line size 08
Interrupt: pin A routed to IRQ 9
Region 0: Memory at e8103000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [60] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:10.0 IDE interface: Acer Laboratories Inc. [ALi] M5229 IDE (rev c4) (prog-if a0)
Subsystem: Sony Corporation: Unknown device 80ec
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (500ns min, 1000ns max)
Interrupt: pin A routed to IRQ 0
Region 0: [virtual] I/O ports at 01f0 [size=16]
Region 1: [virtual] I/O ports at 03f4
Region 2: [virtual] I/O ports at 0170 [size=16]
Region 3: [virtual] I/O ports at 0374
Region 4: I/O ports at 1400 [size=16]
Capabilities: [60] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:11.0 Non-VGA unclassified device: Acer Laboratories Inc. [ALi] M7101 PMU
Subsystem: Sony Corporation: Unknown device 80ec
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-

00:12.0 CardBus bridge: Ricoh Co Ltd RL5c475 (rev 80)
Subsystem: Sony Corporation: Unknown device 80ec
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 168
Interrupt: pin A routed to IRQ 9
Region 0: Memory at 10000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=01, subordinate=01, sec-latency=176
Memory window 0: 10400000-107ff000 (prefetchable)
Memory window 1: 10800000-10bff000
I/O window 0: 00004000-000040ff
I/O window 1: 00004400-000044ff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
16-bit legacy interface ports at 0001

00:14.0 USB Controller: Acer Laboratories Inc. [ALi] USB 1.1 Controller (rev 03) (prog-if 10 [OHCI])
Subsystem: Sony Corporation: Unknown device 80ec
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (20000ns max), cache line size 08
Interrupt: pin A routed to IRQ 9
Region 0: Memory at 000e0000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [60] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----

Sincerely,

--
Manuel Serrano


2002-11-05 10:30:33

by Jacek Pliszka

[permalink] [raw]
Subject: Re: Problem with USB-OHCI (2.4.20-pre10-ac2) and Sony Picturebook PCG-C1MHP

On Tue, 2002-11-05 at 01:38, Manuel Serrano wrote:
> Hello there,
>
> Here is the description of my third problems with my Sony Picturebook
> PCG-C1MHP computer. I'm sorry to annoy everybody with my problems. I'm
> afraid that this bug report is not even the last one...

There is too much in it.

You got ALI chipset and there is a lot of problems with ALI chipsets
- I got a serious one (no PCMCIA) myself.

I suggest you to search the archive for

ALI and IRQ

There is a patch in pci-irq.c for broken HP Pavilion BIOS (ALI chipset
as well) - if your problem is similar - may work for you.

good luck,

Jacek


2002-11-05 15:37:05

by Michael Dreher

[permalink] [raw]
Subject: Re: Problem with USB-OHCI (2.4.20-pre10-ac2) and Sony Picturebook PCG-C1MHP

Hello,



> Here is the description of my third problems with my Sony Picturebook
> PCG-C1MHP computer.

>
> [1.] One line summary of the problem:
> =====================================
>
> USB error message at boot-time and the USB mouse randomly disappears.


>
> The second thing I'm doing is using an USB mouse.
> This works but at a certain moment I "loose" the mouse. That is, after
> a certain amount time that varies from one session to another (it can
> be 5 minutes or event 5 hours). That is, after a certain period X does
> not handle the USB mouse anymore. When this occurs, if I quite X and
> restart X, the USB mouse re-work!

I know this. (PCG-C1MRX). Did you try unplugging the mouse, and plugging
it back 3 seconds later ? This has always helped for me.


Michael

2002-11-05 18:17:19

by Randy.Dunlap

[permalink] [raw]
Subject: Re: Problem with USB-OHCI (2.4.20-pre10-ac2) and Sony Picturebook PCG-C1MHP

On Tue, 5 Nov 2002, David Brownell wrote:

| Manuel Serrano wrote:
|
| > usb-ohci.c: USB OHCI at membase 0xcf85a000, IRQ 9
| > usb-ohci.c: usb-00:0f.0, Acer Laboratories Inc. [ALi] USB 1.1 Controller
|
| I think Pete Zaitcev had a patch for this. Seems like recent
| incarnations of that silicon need modified init sequences.

See the archived message at
http://marc.theaimsgroup.com/?l=linux-usb-devel&m=103532223326544&w=2

This was designed for ALi in IBM i1200/i1300 notebooks.

--
~Randy

2002-11-05 17:49:05

by David Brownell

[permalink] [raw]
Subject: Re: Problem with USB-OHCI (2.4.20-pre10-ac2) and Sony Picturebook PCG-C1MHP

Manuel Serrano wrote:

> usb-ohci.c: USB OHCI at membase 0xcf85a000, IRQ 9
> usb-ohci.c: usb-00:0f.0, Acer Laboratories Inc. [ALi] USB 1.1 Controller

I think Pete Zaitcev had a patch for this. Seems like recent
incarnations of that silicon need modified init sequences.

- Dave






2002-11-05 19:20:56

by Pete Zaitcev

[permalink] [raw]
Subject: Re: Problem with USB-OHCI (2.4.20-pre10-ac2) and Sony Picturebook PCG-C1MHP

> Date: Tue, 05 Nov 2002 09:57:30 -0800
> From: David Brownell <[email protected]>

> > usb-ohci.c: USB OHCI at membase 0xcf85a000, IRQ 9
> > usb-ohci.c: usb-00:0f.0, Acer Laboratories Inc. [ALi] USB 1.1 Controller
>
> I think Pete Zaitcev had a patch for this. Seems like recent
> incarnations of that silicon need modified init sequences.

No, it's nothing of the sort of thing. Most likely, Manuel's lappy
has broken $PIRQ table, or some other problem with interrupt router.
This is a case for Manfred.

-- Pete

2002-11-06 08:43:53

by Manuel Serrano

[permalink] [raw]
Subject: Re: Problem with USB-OHCI (2.4.20-pre10-ac2) and Sony Picturebook PCG-C1MHP

Hello there,

> On Tue, 5 Nov 2002, David Brownell wrote:
>
> | Manuel Serrano wrote:
> |
> | > usb-ohci.c: USB OHCI at membase 0xcf85a000, IRQ 9
> | > usb-ohci.c: usb-00:0f.0, Acer Laboratories Inc. [ALi] USB 1.1 Controller
> |
> | I think Pete Zaitcev had a patch for this. Seems like recent
> | incarnations of that silicon need modified init sequences.
>
> See the archived message at
> http://marc.theaimsgroup.com/?l=linux-usb-devel&m=103532223326544&w=2
>
> This was designed for ALi in IBM i1200/i1300 notebooks.
I have applied the patch against the linux-2.4.20-pre10-ac2 kernel and I'm
currently testing it. So far, everything seems fine. I'm currently using
the USB mouse and the FireWire IEEE-1394 SPB-2 without incompatibilities.
During the boot, I have had the following trace:

-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
Nov 6 09:33:02 owens syslogd 1.4.1#11: restart.
Nov 6 09:33:02 owens kernel: klogd 1.4.1#11, log source = /proc/kmsg started.
Nov 6 09:33:02 owens kernel: Cannot find map file.
Nov 6 09:33:02 owens kernel: Loaded 297 symbols from 13 modules.
Nov 6 09:33:02 owens kernel: Linux version 2.4.20-pre10-ac2 (root@owens) (gcc v
ersion 2.95.4 20011002 (Debian prerelease)) #19 Wed Nov 6 09:10:30 CET 2002
Nov 6 09:33:02 owens kernel: BIOS-provided physical RAM map:
Nov 6 09:33:02 owens kernel: BIOS-e820: 0000000000000000 - 000000000009a800 (u
sable)
Nov 6 09:33:02 owens kernel: BIOS-e820: 000000000009a800 - 00000000000a0000 (r
eserved)
Nov 6 09:33:02 owens kernel: BIOS-e820: 00000000000c0000 - 00000000000d0000 (r
eserved)
Nov 6 09:33:02 owens kernel: BIOS-e820: 00000000000dc000 - 00000000000e0000 (r
eserved)
Nov 6 09:33:02 owens kernel: BIOS-e820: 00000000000e4000 - 0000000000100000 (r
eserved)
Nov 6 09:33:02 owens kernel: BIOS-e820: 0000000000100000 - 000000000eef0000 (u
sable)
Nov 6 09:33:02 owens kernel: BIOS-e820: 000000000eef0000 - 000000000eefc000 (A
CPI data)
Nov 6 09:33:02 owens kernel: BIOS-e820: 000000000eefc000 - 000000000ef00000 (A
CPI NVS)
Nov 6 09:33:02 owens kernel: BIOS-e820: 000000000ef00000 - 000000000f000000 (u
sable)
Nov 6 09:33:03 owens kernel: BIOS-e820: 00000000fff80000 - 0000000100000000 (r
eserved)
Nov 6 09:33:03 owens kernel: 240MB LOWMEM available.
Nov 6 09:33:03 owens kernel: On node 0 totalpages: 61440
Nov 6 09:33:03 owens kernel: zone(0): 4096 pages.
Nov 6 09:33:03 owens kernel: zone(1): 57344 pages.
Nov 6 09:33:03 owens kernel: zone(2): 0 pages.
Nov 6 09:33:03 owens kernel: Sony Vaio laptop detected.
Nov 6 09:33:03 owens kernel: Kernel command line: ro root=/dev/hda2
Nov 6 09:33:03 owens kernel: Initializing CPU#0
Nov 6 09:33:03 owens kernel: Detected 860.157 MHz processor.
Nov 6 09:33:03 owens kernel: Console: colour VGA+ 80x25
Nov 6 09:33:03 owens kernel: Calibrating delay loop... 1717.04 BogoMIPS
Nov 6 09:33:03 owens kernel: Memory: 238536k/245760k available (985k kernel cod
e, 4832k reserved, 440k data, 56k init, 0k highmem)
Nov 6 09:33:03 owens kernel: Dentry cache hash table entries: 32768 (order: 6,
262144 bytes)
Nov 6 09:33:03 owens kernel: Inode cache hash table entries: 16384 (order: 5, 1
31072 bytes)
Nov 6 09:33:03 owens kernel: Mount cache hash table entries: 512 (order: 0, 409
6 bytes)
Nov 6 09:33:03 owens kernel: ramfs: mounted with options: <defaults>
Nov 6 09:33:03 owens kernel: ramfs: max_pages=30057 max_file_pages=0 max_inodes
=0 max_dentries=30057
Nov 6 09:33:03 owens kernel: Buffer cache hash table entries: 16384 (order: 4,
65536 bytes)
Nov 6 09:33:03 owens kernel: Page-cache hash table entries: 65536 (order: 6, 26
2144 bytes)
Nov 6 09:33:03 owens kernel: CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K
(32 bytes/line)
Nov 6 09:33:03 owens kernel: CPU: L2 Cache: 512K (128 bytes/line)
Nov 6 09:33:03 owens kernel: CPU: Processor revision 1.4.1.0, 867 MHz
Nov 6 09:33:03 owens kernel: CPU: Code Morphing Software revision 4.3.0-9-197
Nov 6 09:33:03 owens kernel: CPU: 20020207 23:55 official release 4.3.0#7
Nov 6 09:33:03 owens kernel: CPU serial number disabled.
Nov 6 09:33:03 owens kernel: CPU: After generic, caps: 0080893f 0081813f 00
00004e 00000000
Nov 6 09:33:03 owens kernel: CPU: Common caps: 0080893f 0081813f 00
00004e 00000000
Nov 6 09:33:03 owens kernel: CPU: Transmeta(tm) Crusoe(tm) Processor TM5800 ste
pping 03
Nov 6 09:33:03 owens kernel: Checking 'hlt' instruction... OK.
Nov 6 09:33:03 owens kernel: POSIX conformance testing by UNIFIX
Nov 6 09:33:03 owens kernel: mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.
csiro.au)
Nov 6 09:33:03 owens kernel: mtrr: detected mtrr type: none
Nov 6 09:33:03 owens kernel: PCI: PCI BIOS revision 2.10 entry at 0xfd85e, last
bus=0
Nov 6 09:33:03 owens kernel: PCI: Using configuration type 1
Nov 6 09:33:03 owens kernel: PCI: Probing PCI hardware
Nov 6 09:33:03 owens kernel: Scanning bus 00
Nov 6 09:33:03 owens kernel: Found 00:00 [1279/0395] 000600 00
Nov 6 09:33:03 owens kernel: Found 00:01 [1279/0396] 000500 00
Nov 6 09:33:03 owens kernel: Found 00:02 [1279/0397] 000500 00
Nov 6 09:33:03 owens kernel: Found 00:30 [10b9/5451] 000401 00
Nov 6 09:33:03 owens kernel: Found 00:38 [10b9/1533] 000601 00
Nov 6 09:33:03 owens kernel: Found 00:40 [10b9/5457] 000703 00
Nov 6 09:33:03 owens kernel: Found 00:48 [104c/8023] 000c00 00
Nov 6 09:33:03 owens kernel: Found 00:50 [10cf/2011] 000480 00
Nov 6 09:33:03 owens kernel: Found 00:58 [10ec/8139] 000200 00
Nov 6 09:33:03 owens kernel: Found 00:60 [1002/4c59] 000300 00
Nov 6 09:33:03 owens kernel: Found 00:78 [10b9/5237] 000c03 00
Nov 6 09:33:03 owens kernel: Found 00:80 [10b9/5229] 000101 00
Nov 6 09:33:03 owens kernel: Found 00:88 [10b9/7101] 000000 00
Nov 6 09:33:03 owens kernel: Found 00:90 [1180/0475] 000607 02
Nov 6 09:33:03 owens kernel: Found 00:a0 [10b9/5237] 000c03 00
Nov 6 09:33:03 owens kernel: Fixups for bus 00
Nov 6 09:33:03 owens kernel: Scanning behind PCI bridge 00:12.0, config 010100,
pass 0
Nov 6 09:33:03 owens kernel: Scanning behind PCI bridge 00:12.0, config 010100,
pass 1
Nov 6 09:33:03 owens kernel: Bus scan for 00 returning with max=01
Nov 6 09:33:03 owens kernel: PCI: Using IRQ router ALI [10b9/1533] at 00:07.0
Nov 6 09:33:03 owens kernel: PCI: Found IRQ 9 for device 00:06.0
Nov 6 09:33:03 owens kernel: PCI: Found IRQ 9 for device 00:08.0
Nov 6 09:33:03 owens kernel: PCI: Found IRQ 9 for device 00:0a.0
Nov 6 09:33:03 owens kernel: PCI: Sharing IRQ 9 with 00:0b.0
Nov 6 09:33:03 owens kernel: PCI: Sharing IRQ 9 with 00:12.0
Nov 6 09:33:03 owens kernel: PCI: Found IRQ 9 for device 00:0f.0
Nov 6 09:33:03 owens kernel: Linux NET4.0 for Linux 2.4
Nov 6 09:33:03 owens kernel: Based upon Swansea University Computer Society NET
3.039
Nov 6 09:33:03 owens kernel: Initializing RT netlink socket
Nov 6 09:33:03 owens kernel: Starting kswapd
Nov 6 09:33:03 owens kernel: Journalled Block Device driver loaded
Nov 6 09:33:03 owens kernel: ACPI: Core Subsystem version [20011018]
Nov 6 09:33:03 owens kernel: ACPI: Subsystem enabled
Nov 6 09:33:03 owens kernel: pty: 256 Unix98 ptys configured
Nov 6 09:33:03 owens kernel: Serial driver version 5.05c (2001-07-08) with MANY
_PORTS SHARE_IRQ SERIAL_PCI enabled
Nov 6 09:33:03 owens kernel: PCI: Enabling device 00:08.0 (0000 -> 0003)
Nov 6 09:33:03 owens kernel: PCI: Found IRQ 9 for device 00:08.0
Nov 6 09:33:03 owens kernel: Redundant entry in serial pci_table. Please send
the output of
Nov 6 09:33:03 owens kernel: lspci -vv, this message (10b9,5457,104d,80ec)
Nov 6 09:33:03 owens kernel: and the manufacturer and name of serial board or m
odem board
Nov 6 09:33:03 owens kernel: to [email protected].
Nov 6 09:33:03 owens kernel: register_serial(): autoconfig failed
Nov 6 09:33:03 owens kernel: Real Time Clock Driver v1.10e
Nov 6 09:33:03 owens kernel: floppy0: no floppy controllers found
Nov 6 09:33:03 owens kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00
alpha2
Nov 6 09:33:03 owens kernel: ide: Assuming 33MHz system bus speed for PIO modes
; override with idebus=xx
Nov 6 09:33:03 owens kernel: ALI15X3: IDE controller at PCI slot 00:10.0
Nov 6 09:33:03 owens kernel: PCI: No IRQ known for interrupt pin A of device 00
:10.0. Please try using pci=biosirq.
Nov 6 09:33:03 owens kernel: ALI15X3: chipset revision 196
Nov 6 09:33:03 owens kernel: ALI15X3: not 100%% native mode: will probe irqs la
ter
Nov 6 09:33:03 owens kernel: ALI15X3: simplex device with no drives: DMA disabl
ed
Nov 6 09:33:03 owens kernel: ide0: ALI15X3 Bus-Master DMA disabled (BIOS)
Nov 6 09:33:03 owens kernel: ALI15X3: simplex device with no drives: DMA disabl
ed
Nov 6 09:33:03 owens kernel: ide1: ALI15X3 Bus-Master DMA disabled (BIOS)
Nov 6 09:33:03 owens kernel: hda: IC25N030ATCS04-0, ATA DISK drive
Nov 6 09:33:03 owens kernel: ide: Assuming 33MHz system bus speed for PIO modes
; override with idebus=xx
Nov 6 09:33:03 owens kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Nov 6 09:33:03 owens kernel: hda: host protected area => 1
Nov 6 09:33:03 owens kernel: hda: 58605120 sectors (30006 MB) w/1768KiB Cache,
CHS=3648/255/63
Nov 6 09:33:03 owens kernel: Partition check:
Nov 6 09:33:03 owens kernel: hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 >
Nov 6 09:33:03 owens kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Nov 6 09:33:03 owens kernel: IP Protocols: ICMP, UDP, TCP, IGMP
Nov 6 09:33:03 owens kernel: IP: routing cache hash table of 2048 buckets, 16Kb
ytes
Nov 6 09:33:03 owens kernel: TCP: Hash tables configured (established 16384 bin
d 16384)
Nov 6 09:33:03 owens kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0
.
Nov 6 09:33:03 owens kernel: kjournald starting. Commit interval 5 seconds
Nov 6 09:33:03 owens kernel: EXT3-fs: mounted filesystem with ordered data mode
.
Nov 6 09:33:03 owens kernel: VFS: Mounted root (ext3 filesystem) readonly.
Nov 6 09:33:03 owens kernel: Freeing unused kernel memory: 56k freed
Nov 6 09:33:03 owens kernel: Adding Swap: 265064k swap-space (priority -1)
Nov 6 09:33:03 owens kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,2), i
nternal journal
Nov 6 09:33:03 owens kernel: SCSI subsystem driver Revision: 1.00
Nov 6 09:33:03 owens kernel: usb.c: registered new driver usbdevfs
Nov 6 09:33:03 owens kernel: usb.c: registered new driver hub
Nov 6 09:33:03 owens kernel: PCI: Enabling device 00:0f.0 (0010 -> 0012)
Nov 6 09:33:03 owens kernel: PCI: Found IRQ 9 for device 00:0f.0
Nov 6 09:33:03 owens kernel: PCI: Enabling bus mastering for device 00:0f.0
Nov 6 09:33:03 owens kernel: usb-ohci.c: USB OHCI at membase 0xcf85a000, IRQ 9
Nov 6 09:33:03 owens kernel: usb-ohci.c: usb-00:0f.0, Acer Laboratories Inc. [A
Li] USB 1.1 Controller
Nov 6 09:33:03 owens kernel: usb.c: new USB bus registered, assigned bus number
1
Nov 6 09:33:03 owens kernel: hub.c: USB hub found
Nov 6 09:33:03 owens kernel: hub.c: 2 ports detected
Nov 6 09:33:03 owens kernel: PCI: Found IRQ 9 for device 00:14.0
Nov 6 09:33:03 owens kernel: usb-ohci.c: USB OHCI at membase 0xc00e0000, IRQ 9
Nov 6 09:33:03 owens kernel: usb-ohci.c: usb-00:14.0, Acer Laboratories Inc. [A
Li] USB 1.1 Controller (#2)
Nov 6 09:33:03 owens kernel: usb.c: new USB bus registered, assigned bus number
2
Nov 6 09:33:03 owens kernel: hub.c: USB hub found
Nov 6 09:33:03 owens kernel: hub.c: 2 ports detected
Nov 6 09:33:03 owens kernel: usb.c: registered new driver hiddev
Nov 6 09:33:03 owens kernel: usb.c: registered new driver hid
Nov 6 09:33:03 owens kernel: hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vo
[email protected]>
Nov 6 09:33:03 owens kernel: hid-core.c: USB HID support drivers
Nov 6 09:33:03 owens kernel: mice: PS/2 mouse device common for all mice
Nov 6 09:33:03 owens kernel: Power Resource: found
Nov 6 09:33:03 owens kernel: ACPI: AC Adapter found
Nov 6 09:33:03 owens kernel: ACPI: Battery socket found, battery present
Nov 6 09:33:03 owens kernel: ACPI: Thermal Zone found
Nov 6 09:33:03 owens kernel: Processor[0]: C0 C1 C2 C3
Nov 6 09:33:03 owens kernel: ACPI: System firmware supports S0 S3 S4 S5
Nov 6 09:33:03 owens kernel: hub.c: new USB device 00:0f.0-1, assigned address
2
Nov 6 09:33:03 owens kernel: usb.c: USB device 2 (vend/prod 0x54c/0x69) is not
claimed by any active driver.
Nov 6 09:33:03 owens kernel: hub.c: new USB device 00:14.0-1, assigned address
2
Nov 6 09:33:03 owens kernel: input0: USB HID v1.00 Mouse [0461:4d03] on usb2:2.
0
Nov 6 09:33:03 owens kernel: kjournald starting. Commit interval 5 seconds
Nov 6 09:33:03 owens kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), i
nternal journal
Nov 6 09:33:03 owens kernel: EXT3-fs: mounted filesystem with ordered data mode
.
Nov 6 09:33:03 owens kernel: kjournald starting. Commit interval 5 seconds
Nov 6 09:33:03 owens kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,5), i
nternal journal
Nov 6 09:33:03 owens kernel: EXT3-fs: mounted filesystem with ordered data mode
.
Nov 6 09:33:03 owens kernel: kjournald starting. Commit interval 5 seconds
Nov 6 09:33:03 owens kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,7), i
nternal journal
Nov 6 09:33:03 owens kernel: EXT3-fs: mounted filesystem with ordered data mode
.
Nov 6 09:33:03 owens kernel: 8139too Fast Ethernet driver 0.9.26
Nov 6 09:33:03 owens kernel: PCI: Found IRQ 9 for device 00:0b.0
Nov 6 09:33:03 owens kernel: PCI: Sharing IRQ 9 with 00:0a.0
Nov 6 09:33:03 owens kernel: PCI: Sharing IRQ 9 with 00:12.0
Nov 6 09:33:03 owens kernel: eth0: RealTek RTL8139 Fast Ethernet at 0xcf87d800,
08:00:46:47:62:d4, IRQ 9
Nov 6 09:33:03 owens kernel: eth0: Identified 8139 chip type 'RTL-8139C'
Nov 6 09:33:03 owens kernel: eth0: Setting 100mbps half-duplex based on auto-ne
gotiated partner ability 40a1.
Nov 6 09:33:03 owens modprobe: modprobe: Can't locate module char-major-10-134
Nov 6 09:33:03 owens lpd[221]: restarted
Nov 6 09:33:04 owens kernel: Linux Kernel Card Services 3.1.22
Nov 6 09:33:04 owens kernel: options: [pci] [cardbus] [pm]
Nov 6 09:33:04 owens kernel: PCI: Found IRQ 9 for device 00:12.0
Nov 6 09:33:04 owens kernel: PCI: Sharing IRQ 9 with 00:0a.0
Nov 6 09:33:04 owens kernel: PCI: Sharing IRQ 9 with 00:0b.0
Nov 6 09:33:04 owens kernel: Yenta IRQ list 0cb8, PCI irq9
Nov 6 09:33:04 owens kernel: Socket status: 30000006
Nov 6 09:33:04 owens cardmgr[244]: watching 1 sockets
Nov 6 09:33:04 owens cardmgr[245]: starting, version is 3.2.2
Nov 6 09:33:07 owens postfix/postfix-script: starting the Postfix mail system
Nov 6 09:33:07 owens postfix/master[332]: daemon started
Nov 6 09:33:09 owens xfs: ignoring font path element /usr/lib/X11/fonts/cyrilli
c/ (unreadable)
Nov 6 09:33:09 owens anacron[356]: Anacron 2.3 started on 2002-11-06
Nov 6 09:33:09 owens xfs: ignoring font path element /usr/lib/X11/fonts/CID (un
readable)
Nov 6 09:33:10 owens xfs-xtt: ignoring font path element /var/lib/defoma/x-ttci
dfont-conf.d/dirs/CID (unreadable)
Nov 6 09:33:10 owens anacron[356]: Will run job `cron.daily' in 5 min.
Nov 6 09:33:10 owens anacron[356]: Will run job `cron.weekly' in 10 min.
Nov 6 09:33:10 owens anacron[356]: Jobs will be executed sequentially
Nov 6 09:33:10 owens /usr/sbin/cron[361]: (CRON) INFO (pidfile fd = 3)
...
-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----

If I happens to have any problem, I will let you know.

Many thanks for your help.

--
Manuel