Skip to Content.
Sympa Menu

baslinux - Re: [BL] BL 2.1 with bzimage.big

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: sindi keesan <keesan AT sdf.lonestar.org>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] BL 2.1 with bzimage.big
  • Date: Fri, 10 Mar 2006 15:23:09 +0000 (UTC)

What type of USB storage device are you using?
This kernel obviously cannot recognize it on your computer.

Please try it also with David's 2.4.31 kernel and modules, posted at http://keesan.freeshell.org/bl/2.4.31 - bzImage.431.gz (gunzip it first) and the modules are in userspec.tgz.431 - remove the '431', unpack it in /tmp, and just copy over the modules: usbcore.o usb-ohci.o and usb-storage to /lib/modules/2.4.31/misc (make that directory and subdirectory).
The modules are in various subdirectories:

2.4.31/kernel/drivers/usb/usbcore.o
......../usb/host/uhci.o
and ..../usb/storage/usb-storage.o

If anyone wants I can package these three drivers in a .tgz and post them at my site, to install into /lib/modules/2.4.31/misc, if you only want to try David's big kernel with USB storage.

This kernel has built-in scsi, no need for scsi_mod and sd_mod.
loadlin bzimage.431 root=/dev/XXXX ro

You can instead try David's 1-floppy USB boot disk, which you can download and write to a boot floppy disk (make sure it is 100% good first, by formatting in DOS). Get it from:
http://keesan.freeshell.org/usbfloppy/linux-usb.tar.gz
Contains the 1440.img disk image and some other things (I forget what).
dd if=1440.img of=/dev/fd0

Hit 'Enter' after you see a line about sda1 to get the prompt back.

I recall that David's first few attempts at a 2.4.31 USB storage kernel worked with several devices but not my Olympus smartmedia card reader, until he changed something in kernel configuration. Maybe the 2.2.26 kernel could be fixed to work with more storage devices the same way?

Thanks a lot for your help, Sheldon.

After getting some sleep, I checked out the situation more carefully with our memory stick and card reader. The stick works in DOS and with David's two USB kernels, perfectly. The card reader mounts (if it is plugged in all the way, otherwise won't accept an address) with the message: Found FlashCard..... PBA D351 has no logical mapping; reserved area FFFFFFFF.... Bad LBA... for block ....(19 lines of this). Despite the long error message it is quite usable and online research suggests (to me)
something to do with a buggy driver for Sandisk Smartmedia card reader.

I had to be careful to use David's modules and not the ones I had compiled for my 2.4.31 kernel. Sometimes they are interchangeable but not here, which would imply there is a major difference between our USB setups.

My kernel does not work even with the stick. uhci or usb-uhci crash it after 'USB UHCI at I/O 0xef80, IRQ 11'. Back to the drawing board. (Something at some point was assigned IRQ 9 - maybe it depends what IRQs have been used by other devices first).

David, any ideas where I went wrong in my config?

On Fri, 10 Mar 2006, Sheldon Isaac wrote:

Sorry, this will be long.

So far unable to use USB storage on computer "other" (late 1990s? ASUS P5A),
with HD-installed BL2.1 and the new 2.2.26 bzimage.big.

Do you have onboard USB? We were given two loose ASUS P5AB boards and put in add-on USB cards, and I don't think we had USB headers on the boards. Our add-on cards are mostly ohci, our onboard USB is uhci except for Compaq. David's kernel worked with both for us. Have you successfully used USB on this computer with any device and OS?

Have not yet tried with a fresh loop installed BL2.1
I have never install BL2.1 to loop - is it difficult?

Or Steven's 2.2.26 BL3.40 kernel.
It does NOT support USB storage, I checked the config, don't try it.
USB is not mentioned in the config for the big kernel, don't know why, but since Steven provided the modules for it he must have compiled for it.

-------------

Module Size Used by Not tainted
usb-storage 21564 0 (unused)
usb-ohci 11840 0 (unused)
usbcore 44072 0 [usb-storage usb-ohci]
sd_mod 16284 0 (unused)
scsi_mod 37812 2 [usb-storage sd_mod]
-------------

[I deleted his dmesg stuff before the USB parts]

Freeing unused kernel memory: 68k freed
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.237 $ time 17:30:44 Nov 11 2005
usb-uhci.c: High bandwidth mode enabled
PCI: Increasing latency timer of device 00:10 to 64
usb-ohci.c: USB OHCI at membase 0xc4020000, IRQ 9
usb.c: new USB bus registered, assigned bus number 1
usb.c: USB new device connect, assigned device number 1
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: USB new device connect on bus1/1, assigned device number 2
usb.c: USB new device connect, assigned device number 2
usb.c: USB device 2 (vend/prod 0xcf2/0x6220) is not claimed by any active
driver.
usb.c: registered new driver usb-storage
usb-storage.c: Searching unusual device list for (0xcf2, 0x6220, 0x100)...
usb-storage.c: -- did not find a matching device
usb-storage.c: USB Mass Storage device detected
usb-storage.c: Endpoints: In: 0xc3c4d364 Out: 0xc3c4d350 Int: 0x00000000
(Period 0)
usb-storage.c: Result from usb_set_interface is 0
usb-storage.c: New GUID 0cf262200000606569746801
usb-storage.c: GetMaxLUN command result is 1, data is 0
usb-storage.c: Transport: Bulk
usb-storage.c: Protocol: Transparent SCSI
usb-storage.c: *** thread sleeping.
scsi0 : SCSI emulation for USB Mass Storage devices
scsi : 1 host.
usb-storage.c: us_queuecommand() called
usb-storage.c: *** thread awakened.
usb-storage.c: Command TEST_UNIT_READY (6 bytes)
usb-storage.c: 00 00 00 00 00 00 00 00 00 00
usb-storage.c: Bulk command S 0x43425355 T 0x1 LUN 0 L 256 F 0 CL 6
usb-storage.c: Bulk command transfer result=0
usb-storage.c: us_transfer_partial(): xfer 256 bytes
usb-storage.c: usb_stor_bulk_msg() returned -32 xferred 0/256
usb-storage.c: clearing endpoint halt for pipe 0xc0008200
usb-storage.c: us_transfer_partial(): unknown error
usb-storage.c: Bulk data transfer result 0x2
usb-storage.c: Attempting to get CSW...
usb-storage.c: Bulk status result = 0
usb-storage.c: Bulk status S 0x53425355 T 0x1 R 256 V 0x1
usb-storage.c: -- transport indicates command failure
usb-storage.c: Issuing auto-REQUEST_SENSE
usb-storage.c: Bulk command S 0x43425355 T 0x1 LUN 0 L 18 F 128 CL 6
usb-storage.c: Bulk command transfer result=0
usb-storage.c: us_transfer_partial(): xfer 18 bytes
usb-storage.c: usb_stor_bulk_msg() returned 0 xferred 18/18
usb-storage.c: us_transfer_partial(): transfer complete
usb-storage.c: Bulk data transfer result 0x0
usb-storage.c: Attempting to get CSW...
usb-storage.c: Bulk status result = 0
usb-storage.c: Bulk status S 0x53425355 T 0x1 R 0 V 0x0
usb-storage.c: -- Result from auto-sense is 0
usb-storage.c: -- code: 0x70, key: 0x5, ASC: 0x24, ASCQ: 0x0
usb-storage.c: scsi cmd done, result=0x1
usb-storage.c: *** thread sleeping.
usb-storage.c: us_queuecommand() called
usb-storage.c: *** thread awakened.
usb-storage.c: Command INQUIRY (6 bytes)
usb-storage.c: 12 00 00 00 ff 00 00 00 00 00
usb-storage.c: Bulk command S 0x43425355 T 0x2 LUN 0 L 256 F 128 CL 6
usb-storage.c: Bulk command transfer result=0
usb-storage.c: us_transfer_partial(): xfer 256 bytes
usb-storage.c: usb_stor_bulk_msg() returned 0 xferred 0/256
usb-storage.c: Bulk data transfer result 0x1
usb-storage.c: Attempting to get CSW...
usb-storage.c: Bulk status result = 0
usb-storage.c: Bulk status S 0x53425355 T 0x2 R 0 V 0x0
usb-storage.c: Fixing INQUIRY data, setting SCSI rev to 2
usb-storage.c: scsi cmd done, result=0x0
usb-storage.c: *** thread sleeping.
scsi: unknown type 31
Vendor: yÇ - Model: *'+í| - Rev: Ç&+
Type: Unknown ANSI SCSI revision: 07
usb-storage.c: us_queuecommand() called
usb-storage.c: *** thread awakened.
usb-storage.c: Bad device number (1/0)
usb-storage.c: *** thread sleeping.
usb-storage.c: us_queuecommand() called
usb-storage.c: *** thread awakened.

[deleting where it checks 2/0 through 7/0]

resize_dma_pool: unknown device type 31
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.



_______________________________________________
BasLinux mailing list
BasLinux AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/baslinux


keesan AT sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org


Archive powered by MHonArc 2.6.24.

Top of Page