Great Stuff !! dmesg looks much better now. My problem is still on the SCSI side. The SCSI side will not support sda1 device-node. I do not get:
'SCSI emulation for USB Mass Storage devices' emmited in scsiglue.c Are there any methods to test the driver alone? Which event in the system should occur when plugging an USB-Device? -----Ursprüngliche Nachricht----- Von: Olav Kongas [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 27. Juli 2005 07:07 An: Fukumoto Akira Cc: [email protected] Betreff: Re: AW: [linux-usb-devel] isp116x On Tue, 26 Jul 2005, Fukumoto Akira wrote: > Last first: > brw-rw---- 1 root root 8, 1 Jan 1 00:00 /dev/sda1 > Thanks. > /sys/bus/platform/devices # ls > FEC.0 isp116x-hcd.0 > > /sys/bus/platform/drivers # ls > FEC isp116x-hcd <- without .0 is different > to yours This may still be OK, because for drivers I was asking about /sys/bus/platform/drivers/isp116x-hcd/isp116x-hcd.0/ > > Possibly the way to register plattform-Code with module_init is wrong ? > Using module_init() probably isn't the right way to call it, though I don't think this is the problem. > If you look inside /usb/host/ uhci-hcd.c or ohci_hcd.c or sl811-hcd.c you > will find the function: > > usb_hcd_register_root_hub() -> usb_new_device() -> > > This way delivers the messages what you have around usb: and hub: > > On what way you will get this on your configuration? Good catch! Could you please try the attached patch, which reintroduces usb_hcd_register_root_hub(). > Are there any influences from plattform ppc what I have? Ah yes, MPC852T is a PPC. There are so many ARM derivatives that I assumed for some reason that it is ARM too. The difference is that PPC is (always?) big endian. The driver has been used on a big endian system earlier at least by one person, but the driver has seen a number of changes since then and there may be surprises. I hope not :) Olav
Linux version 2.6.12 ([EMAIL PROTECTED]) (gcc version 3.3.4) #43 Wed Jul 27 09:525 On node 0 totalpages: 4096 DMA zone: 4096 pages, LIFO batch:1 Normal zone: 0 pages, LIFO batch:1 HighMem zone: 0 pages, LIFO batch:1 Built 1 zonelists Kernel command line: console=ttyCPM0, 57600 root=/dev/mtdblock1 rootfstype=cramo PID hash table entries: 128 (order: 7, 2048 bytes) Decrementer Frequency = 187500000/60 m8xx_wdt: wdt disabled (SYPCR: 0xFFFFFF88) Console: colour dummy device 80x25 Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory: 14124k available (1452k kernel code, 536k data, 64k init, 0k highmem) Calibrating delay loop... 48.51 BogoMIPS (lpj=24256) Mount-cache hash table entries: 512 NET: Registered protocol family 16 SCSI subsystem initialized usbcore: registered new driver usbfs usbcore: registered new driver hub isp_resource added JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc. Serial: CPM driver $Revision: 0.01 $ ttyCPM0 at MMIO 0xff000a60 (irq = 43) is a CPM UART io scheduler noop registered loop: loaded (max 8 devices) fec_8xxfec_8xx.c:v0.1 (May 6, 2004) PSTUD: instance: phy_speed = 20 fec_8xx: eth0 Phy @ 0x1f, type AM79C874 (0x0022561b) physmap flash device: 400000 at ffc00000 phys_mapped_flash: Found 1 x16 devices at 0x0 in 16-bit bank Amd/Fujitsu Extended Query Table at 0x0040 number of CFI chips: 1 cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. Creating 5 MTD partitions on "phys_mapped_flash": 0x00000000-0x00100000 : "Kernel" mtd: Giving out device 0 to Kernel 0x00100000-0x00200000 : "RootFS" mtd: Giving out device 1 to RootFS 0x00200000-0x00300000 : "ApplFS1" mtd: Giving out device 2 to ApplFS1 0x00300000-0x00330000 : "U-Boot" mtd: Giving out device 3 to U-Boot 0x00330000-0x00400000 : "ApplFS2" mtd: Giving out device 4 to ApplFS2 slram: not enough parameters. usbmon: debugs is not available 116x: driver isp116x-hcd, 08 Apr 2005 ISP116x probe isp116x-hcd isp116x-hcd.0: ISP116x Host Controller isp116x-hcd isp116x-hcd.0: new USB bus registered, assigned bus number 1 isp116x-hcd isp116x-hcd.0: irq 8, io base 0x04000002 isp116x-hcd isp116x-hcd.0: supports USB remote wakeup usb usb1: default language 0x0409 usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: ISP116x Host Controller usb usb1: Manufacturer: Linux 2.6.12 isp116x-hcd usb usb1: SerialNumber: isp116x-hcd.0 usb usb1: hotplug usb usb1: adding 1-0:1.0 (config #1, interface 0) usb 1-0:1.0: hotplug hub 1-0:1.0: usb_probe_interface hub 1-0:1.0: usb_probe_interface - got id hub 1-0:1.0: USB hub found 116x: GetHubDescriptor hub 1-0:1.0: 1 port detected hub 1-0:1.0: standalone hub hub 1-0:1.0: no power switching (usb 1.0) hub 1-0:1.0: global over-current protection hub 1-0:1.0: power on to power good time: 50ms 116x: GetHubStatus hub 1-0:1.0: local power source is good hub 1-0:1.0: no over-current condition exists 116x: HCREVISION [00]: 00000010 116x: HCCONTROL [01]: 00000480 116x: HCCMDSTAT [02]: 00000000 116x: HCINTSTAT [03]: 00000040 116x: HCINTENB [04]: 80000058 116x: HCFMINTVL [0d]: 27782edf 116x: HCFMREM [0e]: 000013b6 116x: HCFMNUM [0f]: 00000001 116x: HCLSTHRESH [11]: 00000628 116x: HCRHDESCA [12]: 19000201 116x: HCRHDESCB [13]: 00060000 116x: HCRHSTATUS [14]: 00008000 116x: HCRHPORT1 [15]: 00010101 116x: HCRHPORT2 [16]: 00000100 116x: HCHWCFG [20]: 080b 116x: HCDMACFG [21]: 0000 116x: HCXFERCTR [22]: 0000 116x: HCuPINT [24]: 0011 116x: HCuPINTENB [25]: 0012 116x: HCCHIPID [27]: 6123 116x: HCSCRATCH [28]: 0000 116x: HCITLBUFLEN [2a]: 0000 116x: HCATLBUFLEN [2b]: 1000 116x: HCBUFSTAT [2c]: 0000 116x: HCRDITL0LEN [2d]: 0000 116x: HCRDITL1LEN [2e]: 0000 Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. NET: Registered protocol family 2 hub 1-0:1.0: state 5 ports 1 chg 0000 evt 0000 116x: GetPortStatus 116x: GetPortStatus: port[1] 00000000 IP: routing cache hash table of 512 buckets, 4Kbytes TCP established hash table entries: 1024 (order: 1, 8192 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) VFS: Mounted root (cramfs filesystem) readonly. Freeing unused kernel memory: 64k init
