Steven,
I switch to S4882, because it has via USB chip. And it is UHCI.
Also I got some output. It shows Product: USB Flash Drive Serial: 070B01001340CA0
Can you send me some debug output message to let me figure out which is right or not?
Regards
YH
LinuxBIOS-1.1.62.0_Fallback Thu May 13 15:11:33 PDT 2004 starting... LinuxBIOS-1.1.62.0_Fallback Thu May 13 15:47:33 PDT 2004 booting... Finding PCI configuration type. Enumerating static devices... Enumerating buses... done Allocating resources...ERROR: PNP: 002e.b 70 not allocated done. Enabling resourcess... done. Initializing devices... set power on after power fail Devices initialized totalram: 16128M Initializing CPU #0 Enabling cache...done. Setting up local apic...done. CPU #0 Initialized Initializing CPU #1 Enabling cache...done. Initializing CPU #2 Enabling cache...done. Initializing CPU #3 Waiting for 4 CPUS to stop Enabling cache...done. Setting up local apic...done. CPU #1 Initialized Waiting for 3 CPUS to stop Setting up local apic...done. CPU #2 Initialized Waiting for 2 CPUS to stop Setting up local apic...done. CPU #3 Initialized Checking IRQ routing tables... /home/yhlu/xx/xx/freebios2/src/arch/i386/boot/pirq_routing.c: 41:check_pirq_routing_table() - checksum is: 0x9a but should be: 0x5b done. Copying IRQ routing tables to 0xf0000...done. Verifing copy of IRQ routing tables at 0xf0000...done
Welcome to elfboot, the open sourced starter. January 2002, Eric Biederman. Version 1.3
Loading Etherboot version: 5.2.4 ROM segment 0x0000 length 0x0000 reloc 0x00020000 CPU 2285 Mhz Etherboot 5.2.4 (GPL) http://etherboot.org Tagged ELF for [TG3][FILO] Relocating _text from: [0002d2a0,0008e8d0) to [efe9e9d0,eff00000) Probing pci nic... [tg3-5704]Ethernet addr: 00:E0:81:61:8C:27 Tigon3 [partno(BCM95704A6) rev 2003 PHY(5401)] (PCIX:100MHz:64-bit) <abort> Probing pci nic... [tg3-5704]Ethernet addr: 00:E0:81:61:8C:28 Tigon3 [partno(BCM95704A6) rev 2003 PHY(5704)] (PCIX:100MHz:64-bit) <abort> Probing pci nic... Probing pci disk... [FILO]FILO version 0.4.1 (root@tst2723-rh9) Thu May 13 15:47:25 PDT 2004 Press <Enter> for default boot, or <Esc> for boot prompt... timed out boot: uda1:/ram0_2.5_2.6.5_k8.2_mydisk7.elf LinuxLabs USB bootloader raw frame_list is at 00078560 frame_list is at 00078630 frame_list_link: addr: 00077570 frame_list_link: raw addr: efef5f40 frame_list_link: terminate: 00000000 frame_list_link: queue: 00000001 frame_list_link: depth: 00000000 dummy_td = 0006f500 raw frame_list is at 0007a560 frame_list is at 0007a630 frame_list_link: addr: 00077590 frame_list_link: raw addr: efef5f60 frame_list_link: terminate: 00000000 frame_list_link: queue: 00000001 frame_list_link: depth: 00000000 dummy_td = 0006f540 raw frame_list is at 0007c560 frame_list is at 0007c630 frame_list_link: addr: 000775b0 frame_list_link: raw addr: efef5f80 frame_list_link: terminate: 00000000 frame_list_link: queue: 00000001 frame_list_link: depth: 00000000 dummy_td = 0006f580 raw frame_list is at 0007e560 frame_list is at 0007e630 frame_list_link: addr: 000775d0 frame_list_link: raw addr: efef5fa0 frame_list_link: terminate: 00000000 frame_list_link: queue: 00000001 frame_list_link: depth: 00000000 dummy_td = 0006f5c0 Found OHCI at 0d181630 Resetting OHCI USB HC reset_hc usb-0d181630: ctrl = 0x00000600 ;ohc_init setting framelist to: efef7000 Starting OHCI Found OHCI at 0d182630 Resetting OHCI USB HC reset_hc usb-0d182630: ctrl = 0x00000600 ;ohc_init setting framelist to: efef9000 Starting OHCI Found UHCI at 00002400 Resetting UHCI uhc_init setting framelist to: efefb000 Starting UHCI HCI at 00002400 Found UHCI at 00002420 Resetting UHCI uhc_init setting framelist to: efefd000 Starting UHCI HCI at 00002420 poll_usb1 i=0 poll_o_root_hub1 v=00000100 poll_o_root_hub1 v=00000100 poll_o_root_hub1 v=00000100poll_usb1 i=1 poll_o_root_hub1 v=00000100 poll_o_root_hub1 v=00000100 poll_o_root_hub1 v=00000100poll_usb1 i=2 poll_u_root_hub1 v=00000480 poll_u_root_hub1 v=00001493 poll_u_root_hub2 v=00001493poll_u_root_hub21 v=00001493 Connection on port 00002412 New USB device, setting address 00000003 Fetching device descriptor length Fetching device descriptor Fetching config descriptor length Fetching config descriptor device: bLength: 00000012 type: 00000001 bcdVersion: 0000000200000000 Class: 00000000 SubClass: 00000000 protocol: 00000000 max_packet: 00000040 idVendor: 00001005 idProduct: 0000b113 bcdDeviceVersion: 0000000100000000 iManufacturor: 00000000 iProduct: 00000001 iSerial: 00000002 bNumConfig: 00000001 config: bLength: 00000009 type: 00000002 wTotalLength: 00000020 bNumInterfaces: 00000001 bConfigurationValue: 00000001 iConfiguration: 00000000 bmAttributes: 00000080 bMaxPower: 000000fa
Interface(00081057): bLength: 00000009 type: 00000004 bInterfaceNumber: 00000000 bAlternateSetting: 00000000 bNumEndpoints: 00000002 bInterfaceClass: 00000008 bInterfaceSubClass: 00000006 bInterfaceProtocol: 00000050 iInterface: 00000000
Endpoint (00081060): bLength: 00000007 type: 00000005 bEndpointAddress: 00000081 bmAttributes: 00000002 wMaxPacketSize: 00000040 bInterval: 00000000
Endpoint (00081067): bLength: 00000007 type: 00000005 bEndpointAddress: 00000002 bmAttributes: 00000002 wMaxPacketSize: 00000040 bInterval: 00000000 Selecting Configuration number 00000001: clear stall on ep=00000081 clear stall on ep=00000002 00000008:00000006:00000050 Manufacturor: unknown Product: USB Flash Drive Serial: 070B01001340CA0 Mass storage, bulk only SCSI transparent Requesting initial sense data sense data :00000000:00000000:00000000:00000000:00000000:00000000:00000000:00000000:000 00000:00000000:00000000:00000000:00000000:00000000:00000000:00000000:0000000 0:00000000:00000000:00000000:00000000:00000000:00000000:00000000:00000000:00 000000:00000000:00000000:00000000:00000000:00000000:00000000
code = 00000000 key = 00000000
Info: 00000000 536870913 536870912 byte blocks ll_read_block returns 512 0: boot=00000000, start=00000000 length=00000000 1: boot=00000000, start=00000000 length=00000000 2: boot=00000000, start=00000000 length=00000000 3: boot=00000000, start=00000000 length=00000000 DEVICE CONFIGURED poll_usb1 i=3 poll_u_root_hub1 v=00000480 poll_u_root_hub1 v=00000480 poll_usb1 i=0 poll_o_root_hub1 v=00000100 poll_o_root_hub1 v=00000100 poll_o_root_hub1 v=00000100 poll_usb1 i=1 poll_o_root_hub1 v=00000100 poll_o_root_hub1 v=00000100 poll_o_root_hub1 v=00000100 poll_usb1 i=2 poll_u_root_hub1 v=00000480 poll_u_root_hub1 v=00000495 poll_usb1 i=3 poll_u_root_hub1 v=00000480 poll_u_root_hub1 v=00000480 Found USB block device 3 bulk_transfer( dev= 00000003, ep = 00000081, len = 0b8a0000, buffer = 000810ac) = 2048:short transaction: short_transaction:TD(0006f600): short_transaction:type: IN short_transaction:retries: 00000000 short_transaction:active: 00000000 short_transaction:device_addr: 00000003 short_transaction:endpoint: 00000001 short_transaction:data_toggle: 00000001 short_transaction:max_transfer: 0000003f short_transaction:actual: 000007ff short_transaction:link: short_transaction:STALL short_transaction:addr: 0006f620 short_transaction: raw addr: efeedff0 short_transaction:terminate: 00000000 short_transaction:queue: 00000000 short_transaction:depth: 00000001
Greetings,
I'll see if I can dig up the old debugging captures, I may still have them.
The enumeration of the USB bus looks good. The problems seem to start with: 536870913 536870912 byte blocks ll_read_block returns 512 0: boot=00000000, start=00000000 length=00000000 1: boot=00000000, start=00000000 length=00000000 2: boot=00000000, start=00000000 length=00000000 3: boot=00000000, start=00000000 length=00000000
GEt capacity returned a VERY unreasonable result :-)
The read of the partition block seems to have actually read the block. Does the drive have a partition table on it?
If not, try putting one on it and trying the boot so we can see if it actually read the block correctly or if the data went to the wrong place.
G'day, sjames
-------------------------steven james, director of research, linux labs ... ........ ..... .... 230 peachtree st nw ste 2701 the original linux labs atlanta.ga.us 30303 -since 1995 http://www.linuxlabs.com office & fax 866.545.6306 -----------------------------------------------------------------------
On Thu, 13 May 2004, YhLu wrote:
Steven,
I switch to S4882, because it has via USB chip. And it is UHCI.
Also I got some output. It shows Product: USB Flash Drive Serial: 070B01001340CA0
Can you send me some debug output message to let me figure out which is right or not?
Regards
YH
LinuxBIOS-1.1.62.0_Fallback Thu May 13 15:11:33 PDT 2004 starting... LinuxBIOS-1.1.62.0_Fallback Thu May 13 15:47:33 PDT 2004 booting... Finding PCI configuration type. Enumerating static devices... Enumerating buses... done Allocating resources...ERROR: PNP: 002e.b 70 not allocated done. Enabling resourcess... done. Initializing devices... set power on after power fail Devices initialized totalram: 16128M Initializing CPU #0 Enabling cache...done. Setting up local apic...done. CPU #0 Initialized Initializing CPU #1 Enabling cache...done. Initializing CPU #2 Enabling cache...done. Initializing CPU #3 Waiting for 4 CPUS to stop Enabling cache...done. Setting up local apic...done. CPU #1 Initialized Waiting for 3 CPUS to stop Setting up local apic...done. CPU #2 Initialized Waiting for 2 CPUS to stop Setting up local apic...done. CPU #3 Initialized Checking IRQ routing tables... /home/yhlu/xx/xx/freebios2/src/arch/i386/boot/pirq_routing.c: 41:check_pirq_routing_table() - checksum is: 0x9a but should be: 0x5b done. Copying IRQ routing tables to 0xf0000...done. Verifing copy of IRQ routing tables at 0xf0000...done
Welcome to elfboot, the open sourced starter. January 2002, Eric Biederman. Version 1.3
Loading Etherboot version: 5.2.4 ROM segment 0x0000 length 0x0000 reloc 0x00020000 CPU 2285 Mhz Etherboot 5.2.4 (GPL) http://etherboot.org Tagged ELF for [TG3][FILO] Relocating _text from: [0002d2a0,0008e8d0) to [efe9e9d0,eff00000) Probing pci nic... [tg3-5704]Ethernet addr: 00:E0:81:61:8C:27 Tigon3 [partno(BCM95704A6) rev 2003 PHY(5401)] (PCIX:100MHz:64-bit)
<abort> Probing pci nic... [tg3-5704]Ethernet addr: 00:E0:81:61:8C:28 Tigon3 [partno(BCM95704A6) rev 2003 PHY(5704)] (PCIX:100MHz:64-bit) <abort> Probing pci nic... Probing pci disk... [FILO]FILO version 0.4.1 (root@tst2723-rh9) Thu May 13 15:47:25 PDT 2004 Press <Enter> for default boot, or <Esc> for boot prompt... timed out boot: uda1:/ram0_2.5_2.6.5_k8.2_mydisk7.elf LinuxLabs USB bootloader raw frame_list is at 00078560 frame_list is at 00078630 frame_list_link: addr: 00077570 frame_list_link: raw addr: efef5f40 frame_list_link: terminate: 00000000 frame_list_link: queue: 00000001 frame_list_link: depth: 00000000 dummy_td = 0006f500 raw frame_list is at 0007a560 frame_list is at 0007a630 frame_list_link: addr: 00077590 frame_list_link: raw addr: efef5f60 frame_list_link: terminate: 00000000 frame_list_link: queue: 00000001 frame_list_link: depth: 00000000 dummy_td = 0006f540 raw frame_list is at 0007c560 frame_list is at 0007c630 frame_list_link: addr: 000775b0 frame_list_link: raw addr: efef5f80 frame_list_link: terminate: 00000000 frame_list_link: queue: 00000001 frame_list_link: depth: 00000000 dummy_td = 0006f580 raw frame_list is at 0007e560 frame_list is at 0007e630 frame_list_link: addr: 000775d0 frame_list_link: raw addr: efef5fa0 frame_list_link: terminate: 00000000 frame_list_link: queue: 00000001 frame_list_link: depth: 00000000 dummy_td = 0006f5c0 Found OHCI at 0d181630 Resetting OHCI USB HC reset_hc usb-0d181630: ctrl = 0x00000600 ;ohc_init setting framelist to: efef7000 Starting OHCI Found OHCI at 0d182630 Resetting OHCI USB HC reset_hc usb-0d182630: ctrl = 0x00000600 ;ohc_init setting framelist to: efef9000 Starting OHCI Found UHCI at 00002400 Resetting UHCI uhc_init setting framelist to: efefb000 Starting UHCI HCI at 00002400 Found UHCI at 00002420 Resetting UHCI uhc_init setting framelist to: efefd000 Starting UHCI HCI at 00002420 poll_usb1 i=0 poll_o_root_hub1 v=00000100 poll_o_root_hub1 v=00000100 poll_o_root_hub1 v=00000100poll_usb1 i=1 poll_o_root_hub1 v=00000100 poll_o_root_hub1 v=00000100 poll_o_root_hub1 v=00000100poll_usb1 i=2 poll_u_root_hub1 v=00000480 poll_u_root_hub1 v=00001493 poll_u_root_hub2 v=00001493poll_u_root_hub21 v=00001493 Connection on port 00002412 New USB device, setting address 00000003 Fetching device descriptor length Fetching device descriptor Fetching config descriptor length Fetching config descriptor device: bLength: 00000012 type: 00000001 bcdVersion: 0000000200000000 Class: 00000000 SubClass: 00000000 protocol: 00000000 max_packet: 00000040 idVendor: 00001005 idProduct: 0000b113 bcdDeviceVersion: 0000000100000000 iManufacturor: 00000000 iProduct: 00000001 iSerial: 00000002 bNumConfig: 00000001 config: bLength: 00000009 type: 00000002 wTotalLength: 00000020 bNumInterfaces: 00000001 bConfigurationValue: 00000001 iConfiguration: 00000000 bmAttributes: 00000080 bMaxPower: 000000fa
Interface(00081057): bLength: 00000009 type: 00000004 bInterfaceNumber: 00000000 bAlternateSetting: 00000000 bNumEndpoints: 00000002 bInterfaceClass: 00000008 bInterfaceSubClass: 00000006 bInterfaceProtocol: 00000050 iInterface: 00000000
Endpoint (00081060): bLength: 00000007 type: 00000005 bEndpointAddress: 00000081 bmAttributes: 00000002 wMaxPacketSize: 00000040 bInterval: 00000000 Endpoint (00081067): bLength: 00000007 type: 00000005 bEndpointAddress: 00000002 bmAttributes: 00000002 wMaxPacketSize: 00000040 bInterval: 00000000
Selecting Configuration number 00000001: clear stall on ep=00000081 clear stall on ep=00000002 00000008:00000006:00000050 Manufacturor: unknown Product: USB Flash Drive Serial: 070B01001340CA0 Mass storage, bulk only SCSI transparent Requesting initial sense data sense data :00000000:00000000:00000000:00000000:00000000:00000000:00000000:00000000:000 00000:00000000:00000000:00000000:00000000:00000000:00000000:00000000:0000000 0:00000000:00000000:00000000:00000000:00000000:00000000:00000000:00000000:00 000000:00000000:00000000:00000000:00000000:00000000:00000000
code = 00000000 key = 00000000
Info: 00000000 536870913 536870912 byte blocks ll_read_block returns 512 0: boot=00000000, start=00000000 length=00000000 1: boot=00000000, start=00000000 length=00000000 2: boot=00000000, start=00000000 length=00000000 3: boot=00000000, start=00000000 length=00000000 DEVICE CONFIGURED poll_usb1 i=3 poll_u_root_hub1 v=00000480 poll_u_root_hub1 v=00000480 poll_usb1 i=0 poll_o_root_hub1 v=00000100 poll_o_root_hub1 v=00000100 poll_o_root_hub1 v=00000100 poll_usb1 i=1 poll_o_root_hub1 v=00000100 poll_o_root_hub1 v=00000100 poll_o_root_hub1 v=00000100 poll_usb1 i=2 poll_u_root_hub1 v=00000480 poll_u_root_hub1 v=00000495 poll_usb1 i=3 poll_u_root_hub1 v=00000480 poll_u_root_hub1 v=00000480 Found USB block device 3 bulk_transfer( dev= 00000003, ep = 00000081, len = 0b8a0000, buffer = 000810ac) = 2048:short transaction: short_transaction:TD(0006f600): short_transaction:type: IN short_transaction:retries: 00000000 short_transaction:active: 00000000 short_transaction:device_addr: 00000003 short_transaction:endpoint: 00000001 short_transaction:data_toggle: 00000001 short_transaction:max_transfer: 0000003f short_transaction:actual: 000007ff short_transaction:link: short_transaction:STALL short_transaction:addr: 0006f620 short_transaction: raw addr: efeedff0 short_transaction:terminate: 00000000 short_transaction:queue: 00000000 short_transaction:depth: 00000001 _______________________________________________ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios