Once again I am posting this question. Sorry for that.

I am running Kernel 2.4.18 on Intel 810E with 2 USB ports. Both the ports
are connected BACK TO BACK by a USB cable. I  have compiled everything as a
part of bzImage (I mean not as a module ) including usbnet.c. But still I am
not able to see any usb virtual adapter usb0  or something like that ...
when I type ifconfig -a.

Whats wrong with the configuration ? :-(

********** Output of  "cat /proc/bus/usb/devices"

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=d000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms

********* Output of "cat /proc/bus/usb/drivers"
         usbdevfs
         hub
         usbnet

********* dmesg shows following lines...

Linux version 2.4.18 (gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81))
#4 SMP Thu Apr 25 20:09:13 IST 2002
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000007ef0000 (usable)
 BIOS-e820: 0000000007ef0000 - 0000000007ef3000 (ACPI NVS)
 BIOS-e820: 0000000007ef3000 - 0000000007f00000 (ACPI data)
 BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
On node 0 totalpages: 32496
zone(0): 4096 pages.
zone(1): 28400 pages.
zone(2): 0 pages.
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Kernel command line: auto BOOT_IMAGE=linux-2.4.18 ro root=309
BOOT_FILE=/boot/vmlinuz-2.4.18
Initializing CPU#0
Detected 735.007 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1468.00 BogoMIPS
Memory: 124912k/129984k available (1526k kernel code, 4684k reserved, 468k
data, 244k init, 0k highmem)
Dentry-cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
CPU: Before vendor init, caps: 0387fbff 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After vendor init, caps: 0387fbff 00000000 00000000 00000000
CPU serial number disabled.
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0383fbff 00000000 00000000 00000000
CPU:             Common caps: 0383fbff 00000000 00000000 00000000
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
CPU: Before vendor init, caps: 0383fbff 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After vendor init, caps: 0383fbff 00000000 00000000 00000000
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0383fbff 00000000 00000000 00000000
CPU:             Common caps: 0383fbff 00000000 00000000 00000000
CPU0: Intel Pentium III (Coppermine) stepping 03
per-CPU timeslice cutoff: 730.63 usecs.
SMP motherboard not detected.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 735.0304 MHz.
..... host bus clock speed is 133.6417 MHz.
cpu: 0, clocks: 1336417, slice: 668208
CPU0<T0:1336416,T1:668208,D:0,S:668208,C:1336417>
Waiting on wait_init_idle (map = 0x0)
All processors have done init_idle
PCI: PCI BIOS revision 2.10 entry at 0xfb0f0, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
Unknown bridge resource 2: assuming transparent
PCI: Using IRQ router PIIX [8086/2410] at 00:1f.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
NTFS driver v1.1.22 [Flags: R/W]
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ
SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
PC110 digitizer pad at 0x15E0, irq 10.
block: 128 slots per queue, batch=32
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller on PCI bus 00 dev f9
PIIX4: chipset revision 2
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
hda: ST320413A, ATA DISK drive
hdb: SAMSUNG CD-ROM SC-148F, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: 39102336 sectors (20020 MB) w/1024KiB Cache, CHS=2586/240/63, UDMA(33)
hdb: ATAPI 48X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
Partition check:
 hda: hda1 hda2 hda3 < hda5 hda6 hda7 hda8 hda9 hda10 >
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Linux video capture interface: v1.00
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 93M
agpgart: Detected an Intel i810 E Chipset.
agpgart: AGP aperture is 64M @ 0xd0000000
[drm] Initialized tdfx 1.0.0 20010216 on minor 0
[drm] AGP 0.99 on Intel i810 @ 0xd0000000 64MB
[drm] Initialized radeon 1.1.1 20010405 on minor 1
SCSI subsystem driver Revision: 1.00
request_module[scsi_hostadapter]: Root fs not mounted
es1371: version v0.30 time 20:12:23 Apr 25 2002
Linux Kernel Card Services 3.1.22
  options:  [pci] [cardbus] [pm]
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 20:12:37 Apr 25 2002
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 5 for device 00:1f.2
PCI: Sharing IRQ 5 with 01:0a.0
PCI: Setting latency timer of device 00:1f.2 to 64
usb-uhci.c: USB UHCI at I/O 0xd000, IRQ 5
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
usb.c: kmalloc IF c7eec5c0, numif 1
usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
usb.c: USB device number 1 default language ID 0x0
Product: USB UHCI Root Hub
SerialNumber: d000
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: global over-current protection
hub.c: Port indicators are not supported
hub.c: power on to power good time: 2ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: RR
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: hub driver claimed interface c7eec5c0
usb.c: call_policy add, num 1 -- no FS yet
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver usbnet
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 8192)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
ds: no socket drivers loaded!
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 244k freed
Adding Swap: 309920k swap-space (priority -1)
8139too Fast Ethernet driver 0.9.24
PCI: Found IRQ 11 for device 01:04.0
PCI: Sharing IRQ 11 with 00:01.0
eth0: RealTek RTL8139 Fast Ethernet at 0xc88c3000, 00:c0:26:2c:eb:e3, IRQ 11
eth0:  Identified 8139 chip type 'RTL-8139C'
eth0: Setting half-duplex based on auto-negotiated partner ability 0000.
memory : c7e57220
memory : 00000000
memory : c7e571e0

Thanks in Advance.

----- Original Message -----
From: "Brad Hards" <[EMAIL PROTECTED]>
To: "Rakesh A. Ughreja" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, April 22, 2002 10:43 AM
Subject: Re: [linux-usb-devel] data transffer over USB cable


> On Mon, 22 Apr 2002 15:12, Rakesh A. Ughreja wrote:
> > > > I have compiled 2.4.18 kernel with USB support and instered the
> > > > usbnet.o module. After insterting the module is the ifconfig command
> > > > supposed to show any USB device ? In my case it is not showing
anything
> > > > yes but the dmesg shows the module is successfully inserted.
> > >
> > > You should see a device "usb0" on each end.
> > >
> > > Are you using the -a (show all) option to ifconfig?
> > > Otherwise you only get the interfaces that are configured.
> >
> > Yes, I am using ifconfig -a option. but it is not showing any usb0
device.
> > Currently I am experimenting on single PC. with no cable connected to
any
> > ports. I am able to successfully load all the necessory modules. lsmod
> > shows usage count 0.
> >
> > What can be the possible reasons for not showing usb0 ?
> UTSL.
>
> How about you provide some of the information you have:
> contents of /proc/bus/usb/devices
> contents of /proc/bus/usb/drivers
> dmesg output when you plug in the device
> output of ifconfig -a
>
> Brad
>
>

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to