linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* PCI daughter card with USB on a 405GP
@ 2004-02-23 16:11 v.sudeep
  2004-02-23 16:29 ` Xavier Miville
  0 siblings, 1 reply; 14+ messages in thread
From: v.sudeep @ 2004-02-23 16:11 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 1501 bytes --]

Hi Everyone !!!

I am finding it a bit difficult to overcome a problem related to the PCI
daughter card with USB on my 405GP IBM Walnut board. If anyone can help me,
I would be greatful to them.

My problem is as follows....
I want to install a USB printer on my 405GP board. Unfortunately the 405GP
does not have a USB port. So I am trying to use a PCI daughter card with
USB. I tried using two different cards  - OPTi 82c861 and ALi M5273. In both
cases it seems to have some problems in booting up. i.e when the kernel is
probing the pci bus, some errors seem to happen. I snooped the kernel code
and identified as to when the error is being thrown out but am not sure what
exactly is wrong and how I can set it right.

This error occurs in :
	file 	- ./drivers/pci/setup-res.c
	function - pci_assign_bus_resource
	line 	- if ((res->flags ^ r->flags) & type_mask)
			continue;

This results in a kernel panic.  I am not sure of how I could go around this
problem. Any suggestions on how to get the USB card up will be greatly
appreciated.

And thanks in advance.


Note:

1.	Our setup over here is as follows:
		Host Machine : Intel x86 having Red Hat 9 installed
		Target Board : IBM Walnut board - 405GP with PowerPC
processor
		Cross-Compiler: MonteVista Hard Hat Linux 2.0  for the
ibm-walnut board

2. 	Also attaching a file containing all the messages that the kernel
pattered out.

 <<booting-up-messages>>

- S u d e e p    V
Don't change horses in mid stream.




 <<booting-up.messages>>

[-- Attachment #2: booting-up-messages --]
[-- Type: application/octet-stream, Size: 2914 bytes --]

Entry point at 0x400000 ...
----------  progress:  0x200 id mach(): done
Linux version 2.4.2_hhl20 (root@cosmos) (gcc version 2.95.3 20010315 (release/MontaVista)) #34
----------  progress:  0x3eab setup_arch: enter
----------  progress:  0x3eab setup_arch: bootmem
----------  progress:  0x3eab arch: exit
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: 
Calibrating delay loop... 199.47 BogoMIPS
Memory: 30420k available (1124k kernel code, 440k data, 176k init, 0k highmem)
Dentry-cache hash table entries: 4096 (order: 3, 32768 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 2048 (order: 2, 16384 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
PCI:pci_assign_resource: type_mask must match<3>PCI: Error while updating region 00:04.0/0 (1)
----------  progress:  0xffff              
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd v1.8
pty: 256 Unix98 ptys configured
block: queued sectors max/low 20117kB/6705kB, 64 slots per queue
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
phy speed read failed 
phy duplex read failed 
<5>eth0: PPC405 EMAC 10 Mbs Half duplex MAC 00:04:ac:e3:10:92
loop: loaded (max 8 devices)
Serial driver version 5.02 (2000-08-09) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x0000 (irq = 0) is a 16550A
ttyS01 at 0x0000 (irq = 1) is a 16550A
PPP generic driver version 2.4.1
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Enabling device 00:04.0 (0000 -> 0002)
usb-ohci.c: USB OHCI at membase 0xc3000000, IRQ 31
usb-ohci.c: usb-00:04.0, OPTi Inc. 82C861
Machine Check: PLB0        bear= 0x10000004 acr=   0x00000000 besr=  0x0c000000
Machine Check: PLB0 to OPB bear= 0x02000020 besr0= 0x00000000 besr1= 0x00000000
Data Machine Check in kernel mode.
Oops: machine check, sig: 7
NIP: C00C5598 XER: 20000000 LR: C016C518 SP: C0279DF0 REGS: c0279d30 TRAP: 0200
MSR: 00009030 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c0278000[1] 'swapper' Last syscall: 120 
last math 00000000 last altivec 00000000
PLB0: bear= 0x02000020 acr=   0x00000000 besr=  0x0c000000
PLB0 to OPB: bear= 0x10000004 besr0= 0x00000000 besr1= 0x00000000

GPR00: 00000000 C0279DF0 C0278000 C02EA000 00001030 00000000 C02EE908 00000000 
GPR08: C02EE040 EEC00000 C01C0000 C3000000 84000022 30000000 000C0804 00000000 
GPR16: 00000000 FFFE21AD 00000000 00000000 00001032 00279D20 00000000 C0002980 
GPR24: 00000000 0000001E 0000001F C02EA000 C0270400 C3000000 00000032 C02EA000 
Call backtrace: 
C00B5280 C016C518 C016C708 C00B47F0 C00B4884 C016C750 C0161810 
C01618B4 C00024F8 C0005064 
Kernel panic: Attempted to kill init!
Rebooting in 180 seconds..


[-- Attachment #3: booting-up.messages --]
[-- Type: application/octet-stream, Size: 2914 bytes --]

Entry point at 0x400000 ...
----------  progress:  0x200 id mach(): done
Linux version 2.4.2_hhl20 (root@cosmos) (gcc version 2.95.3 20010315 (release/MontaVista)) #34
----------  progress:  0x3eab setup_arch: enter
----------  progress:  0x3eab setup_arch: bootmem
----------  progress:  0x3eab arch: exit
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: 
Calibrating delay loop... 199.47 BogoMIPS
Memory: 30420k available (1124k kernel code, 440k data, 176k init, 0k highmem)
Dentry-cache hash table entries: 4096 (order: 3, 32768 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 2048 (order: 2, 16384 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
PCI:pci_assign_resource: type_mask must match<3>PCI: Error while updating region 00:04.0/0 (1)
----------  progress:  0xffff              
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd v1.8
pty: 256 Unix98 ptys configured
block: queued sectors max/low 20117kB/6705kB, 64 slots per queue
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
phy speed read failed 
phy duplex read failed 
<5>eth0: PPC405 EMAC 10 Mbs Half duplex MAC 00:04:ac:e3:10:92
loop: loaded (max 8 devices)
Serial driver version 5.02 (2000-08-09) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x0000 (irq = 0) is a 16550A
ttyS01 at 0x0000 (irq = 1) is a 16550A
PPP generic driver version 2.4.1
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Enabling device 00:04.0 (0000 -> 0002)
usb-ohci.c: USB OHCI at membase 0xc3000000, IRQ 31
usb-ohci.c: usb-00:04.0, OPTi Inc. 82C861
Machine Check: PLB0        bear= 0x10000004 acr=   0x00000000 besr=  0x0c000000
Machine Check: PLB0 to OPB bear= 0x02000020 besr0= 0x00000000 besr1= 0x00000000
Data Machine Check in kernel mode.
Oops: machine check, sig: 7
NIP: C00C5598 XER: 20000000 LR: C016C518 SP: C0279DF0 REGS: c0279d30 TRAP: 0200
MSR: 00009030 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c0278000[1] 'swapper' Last syscall: 120 
last math 00000000 last altivec 00000000
PLB0: bear= 0x02000020 acr=   0x00000000 besr=  0x0c000000
PLB0 to OPB: bear= 0x10000004 besr0= 0x00000000 besr1= 0x00000000

GPR00: 00000000 C0279DF0 C0278000 C02EA000 00001030 00000000 C02EE908 00000000 
GPR08: C02EE040 EEC00000 C01C0000 C3000000 84000022 30000000 000C0804 00000000 
GPR16: 00000000 FFFE21AD 00000000 00000000 00001032 00279D20 00000000 C0002980 
GPR24: 00000000 0000001E 0000001F C02EA000 C0270400 C3000000 00000032 C02EA000 
Call backtrace: 
C00B5280 C016C518 C016C708 C00B47F0 C00B4884 C016C750 C0161810 
C01618B4 C00024F8 C0005064 
Kernel panic: Attempted to kill init!
Rebooting in 180 seconds..


^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: PCI daughter card with USB on a 405GP
@ 2004-02-23 17:01 Laurent Mohin
  0 siblings, 0 replies; 14+ messages in thread
From: Laurent Mohin @ 2004-02-23 17:01 UTC (permalink / raw)
  To: v.sudeep; +Cc: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 2764 bytes --]

Hello,

The pci_assign_bus_resource function checks that your PCI board is able to answer to Memory space and
IO space cycles (PCI:pci_assign_resource: type_mask must match<3>).
Because this check doesn't match, it is unable to map any memory ressource
for your PCI board and thus generate an exception when the ohci driver is
launched.

In your case, I would suspect an hardware problem with your PCI adaptors
on the Walnut board (I used to have a problem with a graphic daughter card
on it and it was due to the lack of one of PCI power supply).

You can check this by deactivating the usb driver in Linux and let the
board booting without any exception. At the prompt try the command : lspci
-xx and check wether the configuration registers of your board are OK or
not.

Hope this helps,

Laurent





v.sudeep@exgate.tek.com
Sent by: owner-linuxppc-embedded@lists.linuxppc.org
23/02/04 17:11


        To:     linuxppc-embedded@lists.linuxppc.org
        cc:
        Subject:        PCI daughter card with USB on a 405GP


Hi Everyone !!!

I am finding it a bit difficult to overcome a problem related to the PCI
daughter card with USB on my 405GP IBM Walnut board. If anyone can help
me,
I would be greatful to them.

My problem is as follows....
I want to install a USB printer on my 405GP board. Unfortunately the 405GP
does not have a USB port. So I am trying to use a PCI daughter card with
USB. I tried using two different cards  - OPTi 82c861 and ALi M5273. In
both
cases it seems to have some problems in booting up. i.e when the kernel is
probing the pci bus, some errors seem to happen. I snooped the kernel code
and identified as to when the error is being thrown out but am not sure
what
exactly is wrong and how I can set it right.

This error occurs in :
                 file            - ./drivers/pci/setup-res.c
                 function - pci_assign_bus_resource
                 line            - if ((res->flags ^ r->flags) &
type_mask)
                                                 continue;

This results in a kernel panic.  I am not sure of how I could go around
this
problem. Any suggestions on how to get the USB card up will be greatly
appreciated.

And thanks in advance.


Note:

1.               Our setup over here is as follows:
                                 Host Machine : Intel x86 having Red Hat 9
installed
                                 Target Board : IBM Walnut board - 405GP
with PowerPC
processor
                                 Cross-Compiler: MonteVista Hard Hat Linux
2.0  for the
ibm-walnut board

2.               Also attaching a file containing all the messages that
the kernel
pattered out.

 <<booting-up-messages>>

- S u d e e p    V
Don't change horses in mid stream.




 <<booting-up.messages>>



[-- Attachment #2: booting-up-messages --]
[-- Type: application/octet-stream, Size: 2853 bytes --]

Entry point at 0x400000 ...
----------  progress:  0x200 id mach(): done
Linux version 2.4.2_hhl20 (root@cosmos) (gcc version 2.95.3 20010315 (release/MontaVista)) #34
----------  progress:  0x3eab setup_arch: enter
----------  progress:  0x3eab setup_arch: bootmem
----------  progress:  0x3eab arch: exit
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: 
Calibrating delay loop... 199.47 BogoMIPS
Memory: 30420k available (1124k kernel code, 440k data, 176k init, 0k highmem)
Dentry-cache hash table entries: 4096 (order: 3, 32768 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 2048 (order: 2, 16384 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
PCI:pci_assign_resource: type_mask must match<3>PCI: Error while updating region 00:04.0/0 (1)
----------  progress:  0xffff              
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd v1.8
pty: 256 Unix98 ptys configured
block: queued sectors max/low 20117kB/6705kB, 64 slots per queue
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
phy speed read failed 
phy duplex read failed 
<5>eth0: PPC405 EMAC 10 Mbs Half duplex MAC 00:04:ac:e3:10:92
loop: loaded (max 8 devices)
Serial driver version 5.02 (2000-08-09) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x0000 (irq = 0) is a 16550A
ttyS01 at 0x0000 (irq = 1) is a 16550A
PPP generic driver version 2.4.1
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Enabling device 00:04.0 (0000 -> 0002)
usb-ohci.c: USB OHCI at membase 0xc3000000, IRQ 31
usb-ohci.c: usb-00:04.0, OPTi Inc. 82C861
Machine Check: PLB0        bear= 0x10000004 acr=   0x00000000 besr=  0x0c000000
Machine Check: PLB0 to OPB bear= 0x02000020 besr0= 0x00000000 besr1= 0x00000000
Data Machine Check in kernel mode.
Oops: machine check, sig: 7
NIP: C00C5598 XER: 20000000 LR: C016C518 SP: C0279DF0 REGS: c0279d30 TRAP: 0200
MSR: 00009030 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c0278000[1] 'swapper' Last syscall: 120 
last math 00000000 last altivec 00000000
PLB0: bear= 0x02000020 acr=   0x00000000 besr=  0x0c000000
PLB0 to OPB: bear= 0x10000004 besr0= 0x00000000 besr1= 0x00000000

GPR00: 00000000 C0279DF0 C0278000 C02EA000 00001030 00000000 C02EE908 00000000 
GPR08: C02EE040 EEC00000 C01C0000 C3000000 84000022 30000000 000C0804 00000000 
GPR16: 00000000 FFFE21AD 00000000 00000000 00001032 00279D20 00000000 C0002980 
GPR24: 00000000 0000001E 0000001F C02EA000 C0270400 C3000000 00000032 C02EA000 
Call backtrace: 
C00B5280 C016C518 C016C708 C00B47F0 C00B4884 C016C750 C0161810 
C01618B4 C00024F8 C0005064 
Kernel panic: Attempted to kill init!
Rebooting in 180 seconds..


[-- Attachment #3: booting-up.messages --]
[-- Type: application/octet-stream, Size: 2853 bytes --]

Entry point at 0x400000 ...
----------  progress:  0x200 id mach(): done
Linux version 2.4.2_hhl20 (root@cosmos) (gcc version 2.95.3 20010315 (release/MontaVista)) #34
----------  progress:  0x3eab setup_arch: enter
----------  progress:  0x3eab setup_arch: bootmem
----------  progress:  0x3eab arch: exit
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: 
Calibrating delay loop... 199.47 BogoMIPS
Memory: 30420k available (1124k kernel code, 440k data, 176k init, 0k highmem)
Dentry-cache hash table entries: 4096 (order: 3, 32768 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 2048 (order: 2, 16384 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
PCI:pci_assign_resource: type_mask must match<3>PCI: Error while updating region 00:04.0/0 (1)
----------  progress:  0xffff              
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd v1.8
pty: 256 Unix98 ptys configured
block: queued sectors max/low 20117kB/6705kB, 64 slots per queue
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
phy speed read failed 
phy duplex read failed 
<5>eth0: PPC405 EMAC 10 Mbs Half duplex MAC 00:04:ac:e3:10:92
loop: loaded (max 8 devices)
Serial driver version 5.02 (2000-08-09) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x0000 (irq = 0) is a 16550A
ttyS01 at 0x0000 (irq = 1) is a 16550A
PPP generic driver version 2.4.1
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Enabling device 00:04.0 (0000 -> 0002)
usb-ohci.c: USB OHCI at membase 0xc3000000, IRQ 31
usb-ohci.c: usb-00:04.0, OPTi Inc. 82C861
Machine Check: PLB0        bear= 0x10000004 acr=   0x00000000 besr=  0x0c000000
Machine Check: PLB0 to OPB bear= 0x02000020 besr0= 0x00000000 besr1= 0x00000000
Data Machine Check in kernel mode.
Oops: machine check, sig: 7
NIP: C00C5598 XER: 20000000 LR: C016C518 SP: C0279DF0 REGS: c0279d30 TRAP: 0200
MSR: 00009030 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c0278000[1] 'swapper' Last syscall: 120 
last math 00000000 last altivec 00000000
PLB0: bear= 0x02000020 acr=   0x00000000 besr=  0x0c000000
PLB0 to OPB: bear= 0x10000004 besr0= 0x00000000 besr1= 0x00000000

GPR00: 00000000 C0279DF0 C0278000 C02EA000 00001030 00000000 C02EE908 00000000 
GPR08: C02EE040 EEC00000 C01C0000 C3000000 84000022 30000000 000C0804 00000000 
GPR16: 00000000 FFFE21AD 00000000 00000000 00001032 00279D20 00000000 C0002980 
GPR24: 00000000 0000001E 0000001F C02EA000 C0270400 C3000000 00000032 C02EA000 
Call backtrace: 
C00B5280 C016C518 C016C708 C00B47F0 C00B4884 C016C750 C0161810 
C01618B4 C00024F8 C0005064 
Kernel panic: Attempted to kill init!
Rebooting in 180 seconds..


^ permalink raw reply	[flat|nested] 14+ messages in thread
* RE: PCI daughter card with USB on a 405GP
@ 2004-02-26 14:05 v.sudeep
  0 siblings, 0 replies; 14+ messages in thread
From: v.sudeep @ 2004-02-26 14:05 UTC (permalink / raw)
  To: samsongshzu, wd, xmiville, mporter, laurent.mohin; +Cc: linuxppc-embedded


Hi !!!

Thanks all for your response... I apologise profusely for the delay in
responding....

I did go through all of your responses and this is what I did ...

1.  lspci -vvx  : the following is the output.  I still am finding out how
to understand this..
00:00.0 Host bridge: IBM 405GP PLB to PCI Bridge (rev 01)

        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: 7

        Interrupt: pin A routed to IRQ 0

        Region 1: Memory at <unassigned> (32-bit, prefetchable)

        Capabilities: [58] 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: 14 10 56 01 06 00 10 22 01 00 00 06 00 07 00 00

10: 00 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00

20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

30: 00 00 00 00 58 00 00 00 00 00 00 00 00 01 00 00


2. ==== arch/ppc/mm/cachemap.c
I found that this file does not exist at all in the montevista Hard hat
Linux ver 2.0.  So I downloaded ver 3.0 as a preview kit and I am checking
to see if it exists ... I suppose it does... I have made the changes
suggested. But have not able to bring it to a workable state.

3. I downloaded and built the tool chain for the 405GP. And am running into
problems trying to compile the linux 2.4.22 kernel. I am not sure of what I
must do to create the treeboot image... I think by default it does not do
it.. it creates only the vmlinux.gz

4.  Both ALi and OPTi are having OHCI support

 I am in the process of procuring a Adaptec card to see if it could make a
difference for me...

- S u d e e p    V
When so many are lonely as seem to be lonely, it would be inexcusably
selfish to be lonely alone.

-----Original Message-----
From: song sam [mailto:samsongshzu@yahoo.com.cn]
Sent: Tuesday, February 24, 2004 8:09 PM
Subject: Re: PCI daughter card with USB on a 405GP

Wolfgang Denk wrote:
> We tested a Adaptec AUA-200LP USB 2.0 card in some PPC sytems. It
> worked fine when the devices were already connected at power-on or
> at least when booting Linux, while hot-plug would reliably crash the
> kernel. As far as I understand such behaviour is typical of some of
> the alignment/cache bugs in the Linux kernel's USB code.

I also met this USB problem on LITE_DW board when using USB keyboard and
mouse.Has it solved or not?

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 14+ messages in thread
* RE: PCI daughter card with USB on a 405GP
@ 2004-02-26 15:22 Laurent Mohin
  0 siblings, 0 replies; 14+ messages in thread
From: Laurent Mohin @ 2004-02-26 15:22 UTC (permalink / raw)
  To: v.sudeep; +Cc: linuxppc-embedded, mporter, samsongshzu, wd, xmiville


Hello,

lspci command gives you a dump of the configuration registers of your
PCI devices. In your example, it detects only the IBM405GP PCI bridge

The initial lines are a text traduction of what was read:

00:00.0 Host bridge: IBM 405GP PLB to PCI Bridge (rev 01)
...

The last four lines are an hex dump
00: 14 10 56 01 06 00 10 22 01 00 00 06 00 07 00 00

10: 00 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00

20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

30: 00 00 00 00 58 00 00 00 00 00 00 00 00 01 00 00

(14 10 and 56 01 are PCI vendor ID and PCI device ID for the 405GP - be
careful PCI is little endian whereas 405GP is big endian)

I don't see any PCI daughter card from your output.
Have you disconnected it to be able to boot?
If yes, try to disable the usb driver in your kernel, and see the result
of the lspci command.

Laurent MOHIN
ACTERNA

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 14+ messages in thread
[parent not found: <AE20493C16DE7F46BC29B257C8D708D30130405C@mail.oerlikon.ca>]
* RE: PCI daughter card with USB on a 405GP
@ 2004-02-27  6:17 v.sudeep
  0 siblings, 0 replies; 14+ messages in thread
From: v.sudeep @ 2004-02-27  6:17 UTC (permalink / raw)
  To: laurent.mohin; +Cc: linuxppc-embedded, mporter, samsongshzu, wd, xmiville


Hi !!!

Mr Laurent ,
yes, I have disconnected the PCI daughter card. And yes, the kernel is
compiled without the usb related drivers (like you mentioned in your first
mail.)

- S u d e e p    V
Knowledge is the only instrument of production that is not subject to
diminishing returns.

-----Original Message-----
From: Laurent Mohin [mailto:laurent.mohin@acterna.com]
Sent: Thursday, February 26, 2004 8:53 PM
Subject: RE: PCI daughter card with USB on a 405GP

lspci command gives you a dump of the configuration registers of your
PCI devices. In your example, it detects only the IBM405GP PCI bridge

The initial lines are a text traduction of what was read:

00:00.0 Host bridge: IBM 405GP PLB to PCI Bridge (rev 01)
...

The last four lines are an hex dump
00: 14 10 56 01 06 00 10 22 01 00 00 06 00 07 00 00
10: 00 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 58 00 00 00 00 00 00 00 00 01 00 00

(14 10 and 56 01 are PCI vendor ID and PCI device ID for the 405GP - be
careful PCI is little endian whereas 405GP is big endian)

I don't see any PCI daughter card from your output. Have you
disconnected it to be able to boot? If yes, try to disable the usb
driver in your kernel, and see the result of the lspci command.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2004-03-08  4:15 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-23 16:11 PCI daughter card with USB on a 405GP v.sudeep
2004-02-23 16:29 ` Xavier Miville
2004-02-23 17:09   ` Wolfgang Denk
2004-02-24 14:38     ` song sam
2004-02-24 15:53       ` Matt Porter
2004-03-01 17:42         ` llandre
2004-03-05 10:54         ` song sam
2004-03-08  2:25           ` song sam
2004-03-08  4:15           ` Solution of USB in HOST mode on RPXLITE DW 823e board song sam
  -- strict thread matches above, loose matches on Subject: below --
2004-02-23 17:01 PCI daughter card with USB on a 405GP Laurent Mohin
2004-02-26 14:05 v.sudeep
2004-02-26 15:22 Laurent Mohin
     [not found] <AE20493C16DE7F46BC29B257C8D708D30130405C@mail.oerlikon.ca>
2004-02-26 16:27 ` Xavier Miville
2004-02-27  6:17 v.sudeep

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).