Okay, first thankyou for responding. Below is /var/log/kernel's output (dmesg, just unbuffered) from the time i do I start with code: # modprobe sd_mod --
and I end up with the log below.... I would paste more but it ends up to be 90Mb (yah please don't laugh I forgot to enable log-rotation) still that's a lot of log... anyway, I understand what you mean now about the partition table... that does explain the no /dev/sda1,2,3,4 this is what I get from code: # cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: IOMEGA Model: ZIP 100 Rev: 90.J Type: Direct-Access ANSI SCSI revision: 02 -- the log output below, in the same pattern _will not stop_ if i dont remove the "sd_mod" module or unplug the drive altogether. okay. let me answer some ofr your questions.. have i used other disks? yes i have tried it with other disks; however, i dont have any others in my possesion at the moment. --vfat: i tried a FAT disk and it worked horribly, it would have I/O errors when copying and moving files, and did not work half the time without any changes to my system. finally i copied some files onto it at school and brought it back and it stopped. to get the FAT disk I would have to mount /dev/sda although there were actually /dev/sda1,2,3 and 4 but mounting /dev/sda4 gave me a flat out I/O erorr and would go no further. no matter what I did. mounting /dev/sda as vfat or msdos worked, but like i said, porrly. when copying/moving to/from the vfat/msdos disk sometimes it would suddenly tell me that I no longer had permission to do anything and/or that the disk had become read-only. note that i did absolutly nothing different to the system: no module removing or adding of any kind, no remouting of any disks, no moving hardware or anything. i didnt eve start X or anything _AT_ALL_ it just stopped. i should also not that it made loud clicking noises repeatedly, which is not what i get at school or what i got with the hfs disk; --hfs: this particular hfs disk that i have worked before. it worked perfectly without any I/O errors, without any read-writer changing, without any random problems....the reason ive taken the interest in doing all of this kernel/module recompiling is because it stopped working just as randomly as the FAT/dos disk... ive reformated the vfat disk a few times at school on PC's, with different files to test it but no difference. and ive reformatted this hfs disk a few times too.... however; it did work the last time, before i reformatted it. i did this on a MacOS 9 computer and I should mention I formated the former on a WinXP machine. Sorry I don't have an x86 machine running linux at my disposal, but I've read on my distro's forums and other places that this problems has occured elsewhere, on x86 machines. ANYWAY.......Here is the log. No I wont paste/attach the rest, that would be stupid it's 90MB. I will go down a few more hundred lines if you really want to. Let me know.... Thanks again for your interest.... Dec 21 21:08:20 [kernel] Memory BAT mapping: BAT2=128Mb, BAT3=32Mb, residual: 64Mb Dec 21 21:08:23 [kernel] irda_setup timed out on 1st byte Dec 21 21:08:28 [kernel] devfs_register(2): could not append to parent, err: -17Dec 21 21:08:28 [kernel] devfs_register(3): could not append to parent, err: -17Dec 21 21:08:57 [kernel] devfs_register(4): could not append to parent, err: -17Dec 21 21:08:57 [kernel] devfs_register(5): could not append to parent, err: -17Dec 21 21:08:57 [kernel] devfs_register(6): could not append to parent, err: -17Dec 21 21:08:57 [kernel] devfs_register(7): could not append to parent, err: -17Dec 21 21:09:05 [kernel] inserting floppy driver for 2.4.22-ben2 Dec 21 21:09:08 [kernel] floppy0: no floppy controllers found Dec 21 21:11:47 [kernel] hub.c: port 1, portstatus 103, change 0, 12 Mb/s Dec 21 21:11:47 [kernel] hub.c: port 2, portstatus 101, change 1, 12 Mb/s Dec 21 21:11:48 [kernel] hub.c: port 2, portstatus 101, change 0, 12 Mb/s Dec 21 21:11:48 [kernel] hub.c: port 2, portstatus 101, change 0, 12 Mb/s Dec 21 21:11:48 [kernel] hub.c: port 2, portstatus 101, change 0, 12 Mb/s Dec 21 21:11:48 [kernel] hub.c: port 2, portstatus 101, change 0, 12 Mb/s Dec 21 21:11:48 [kernel] hub.c: port 2, portstatus 103, change 10, 12 Mb/s Dec 21 21:11:48 [kernel] hub.c: new USB device 00:14.0-2.2, assigned address 6 Dec 21 21:11:48 [kernel] usb.c: kmalloc IF c6007f00, numif 1 Dec 21 21:11:48 [kernel] usb.c: new device strings: Mfr=1, Product=2, SerialNumber=5 Dec 21 21:11:48 [kernel] usb.c: USB device number 6 default language ID 0x409 Dec 21 21:11:48 [kernel] Manufacturer: Iomega Dec 21 21:11:48 [kernel] Product: USB Zip 100 Dec 21 21:11:48 [kernel] SerialNumber: 00334535E9973823 Dec 21 21:11:48 [kernel] hub.c: port 3, portstatus 303, change 0, 1.5 Mb/s Dec 21 21:11:51 [kernel] Initializing USB Mass Storage driver... Dec 21 21:11:51 [kernel] usb-storage: New GUID 059b003300334535e9973823 Dec 21 21:11:51 [kernel] usb-storage: GetMaxLUN command result is 1, data is 0 Dec 21 21:11:51 [kernel] usb-torage: *** thread sleeping. Dec 21 21:11:51 [kernel] scsi0 : SCSI emulation for USB Mass Storage devices Dec 21 21:11:51 [kernel] usb-storage: *** thread awakened. Dec 21 21:11:51 [kernel] usb-storage: Bulk command transfer result=0 Dec 21 21:11:51 [kernel] usb-storage: usb_stor_bulk_msg() returned 0 xferred 122/255 Dec 21 21:11:51 [kernel] usb-storage: clearing endpoint halt for pipe 0xc0010680Dec 21 21:11:51 [kernel] usb-storage: usb_stor_clear_halt: result=0 Dec 21 21:11:51 [kernel] usb-storage: Bulk status result = 0 Dec 21 21:11:51 [kernel] Vendor: IOMEGA Model: ZIP 100 Rev: 90.J Dec 21 21:11:51 [kernel] usb-storage: *** thread awakened. Dec 21 21:11:51 [kernel] usb-storage: queuecommand() called Dec 21 21:11:51 [kernel] usb-storage: *** thread awakened. Dec 21 21:11:51 [kernel] usb-storage: queuecommand() called Dec 21 21:11:51 [kernel] usb-storage: *** thread awakened. Dec 21 21:11:51 [kernel] usb-storage: queuecommand() called Dec 21 21:11:51 [kernel] usb-storage: *** thread awakened. Dec 21 21:11:51 [kernel] usb-storage: queuecommand() called Dec 21 21:11:51 [kernel] usb-storage: *** thread awakened. Dec 21 21:11:51 [kernel] usb-storage: queuecommand() called Dec 21 21:11:51 [kernel] usb-storage: *** thread awakened. Dec 21 21:11:51 [kernel] usb-storage: queuecommand() called Dec 21 21:11:51 [kernel] usb-storage: *** thread awakened. Dec 21 21:11:51 [kernel] WARNING: USB Mass Storage data integrity not assured Dec 21 21:12:45 [kernel] Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 Dec 21 21:12:45 [kernel] usb-storage: Bulk command transfer result=0 Dec 21 21:12:45 [kernel] usb-storage: Bulk status result = 0 Dec 21 21:12:45 [kernel] usb-storage: Bulk command transfer result=0 Dec 21 21:12:45 [kernel] usb-storage: usb_stor_bulk_msg() returned 0 xferred 18/18 Dec 21 21:12:45 [kernel] usb-storage: Bulk status result = 0 Dec 21 21:12:45 [kernel] usb-storage: queuecommand() called Dec 21 21:12:45 [kernel] usb-storage: Bulk command transfer result=0 Dec 21 21:12:45 [kernel] usb-storage: Bulk status result = 0 Dec 21 21:12:45 [kernel] usb-storage: Bulk command transfer result=0 Dec 21 21:12:45 [kernel] usb-storage: Bulk status result = 0 Dec 21 21:12:45 [kernel] usb-storage: Bulk command transfer result=0 Dec 21 21:12:45 [kernel] usb-storage: usb_stor_transfer_partial(): xfer 18 bytesDec 21 21:12:45 [kernel] usb-storage: usb_stor_bulk_msg() returned 0 xferred 18/18 Dec 21 21:12:45 [kernel] usb-storage: usb_stor_transfer_partial(): transfer complete Dec 21 21:12:45 [kernel] usb-storage: Bulk data transfer result 0x0 Dec 21 21:12:45 [kernel] usb-storage: Attempting to get CSW... Dec 21 21:12:45 [kernel] usb-storage: Bulk status result = 0 Dec 21 21:12:45 [kernel] usb-storage: Bulk status Sig 0x53425355 T 0x9 R 0 Stat 0x0 Dec 21 21:12:45 [kernel] usb-storage: -- Result from auto-sense is 0 Dec 21 21:12:45 [kernel] usb-storage: -- code: 0x70, key: 0x0, ASC: 0x1c, ASCQ: 0x0 Dec 21 21:12:45 [kernel] usb-storage: No Sense: defect list not found Dec 21 21:12:45 [kernel] usb-storage: scsi cmd done, result=0x2 Dec 21 21:12:45 [kernel] usb-storage: *** thread sleeping. Dec 21 21:12:45 [kernel] usb-storage: queuecommand() called Dec 21 21:12:45 [kernel] usb-storage: *** thread awakened. Dec 21 21:12:45 [kernel] usb-storage: Command READ_CAPACITY (10 bytes) Dec 21 21:12:45 [kernel] usb-storage: 25 00 00 00 00 00 00 00 00 00 90 32 Dec 21 21:12:45 [kernel] usb-storage: Bulk command S 0x43425355 T 0xa Trg 0 LUN 0 L 134217728 F 128 CL 10 Dec 21 21:12:45 [kernel] usb-storage: Bulk command transfer result=0 Dec 21 21:12:45 [kernel] usb-storage: usb_stor_transfer_partial(): xfer 8 bytes Dec 21 21:12:45 [kernel] usb-storage: usb_stor_bulk_msg() returned 0 xferred 0/8Dec 21 21:12:45 [kernel] usb-storage: Bulk data transfer result 0x1 Dec 21 21:12:45 [kernel] usb-storage: Attempting to get CSW... Dec 21 21:12:45 [kernel] usb-storage: clearing endpoint halt for pipe 0xc0010680Dec 21 21:12:45 [kernel] usb-storage: usb_stor_clear_halt: result=0 Dec 21 21:12:45 [kernel] usb-storage: Bulk status result = 0 Dec 21 21:12:45 [kernel] usb-storage: Bulk command transfer result=0 Dec 21 21:12:45 [kernel] usb-storage: usb_stor_bulk_msg() returned 0 xferred 18/18 Dec 21 21:12:45 [kernel] usb-storage: Bulk status result = 0 Dec 21 21:12:45 [kernel] usb-storage: queuecommand() called Dec 21 21:12:45 [kernel] usb-storage: Bulk command transfer result=0 Dec 21 21:12:45 [kernel] usb-storage: usb_stor_bulk_msg() returned 0 xferred 0/8Dec 21 21:12:45 [kernel] usb-storage: clearing endpoint halt for pipe 0xc0010680Dec 21 21:12:45 [kernel] usb-storage: usb_stor_clear_halt: result=0 Dec 21 21:12:45 [kernel] usb-storage: Bulk status result = 0 Dec 21 21:12:45 [kernel] usb-storage: Bulk command transfer result=0 Dec 21 21:12:45 [kernel] usb-storage: usb_stor_bulk_msg() returned 0 xferred 18/18 Dec 21 21:12:45 [kernel] usb-storage: Bulk status result = 0 Dec 21 21:12:45 [kernel] sda : READ CAPACITY failed. Dec 21 21:12:45 [kernel] usb-storage: Bulk command transfer result=0 Dec 21 21:12:45 [kernel] usb-storage: usb_stor_bulk_msg() returned 0 xferred 0/4096 Dec 21 21:12:45 [kernel] usb-storage: clearing endpoint halt for pipe 0xc0010680Dec 21 21:12:45 [kernel] usb-storage: usb_stor_clear_halt: result=0 Dec 21 21:12:45 [kernel] usb-storage: Bulk status result = 0 Dec 21 21:12:45 [kernel] usb-storage: Bulk command transfer result=0 Dec 21 21:12:45 [kernel] usb-storage: usb_stor_bulk_msg() returned 0 xferred 18/18 Dec 21 21:12:45 [kernel] usb-storage: Bulk status result = 0 Dec 21 21:12:45 [kernel] usb-storage: Bulk command transfer result=0 Dec 21 21:12:45 [kernel] usb-storage: usb_stor_bulk_msg() returned 0 xferred 0/4096 Dec 21 21:12:45 [kernel] usb-storage: clearing endpoint halt for pipe 0xc0010680Dec 21 21:12:45 [kernel] usb-storage: usb_stor_clear_halt: result=0 Dec 21 21:12:46 [kernel] usb-storage: Bulk status result = 0 Dec 21 21:12:46 [kernel] usb-storage: Bulk command transfer result=0 Dec 21 21:12:46 [kernel] usb-storage: usb_stor_bulk_msg() returned 0 xferred 18/18 Dec 21 21:12:46 [kernel] usb-storage: Bulk status result = 0 Dec 21 21:12:46 [kernel] usb-storage: queuecommand() called Dec 21 21:12:46 [kernel] usb-storage: Bulk command transfer result=0 Dec 21 21:12:46 [kernel] usb-storage: usb_stor_bulk_msg() returned 0 xferred 0/4096 > On Mon, 22 Dec 2003, Anthony de Almeida Lopes wrote: > > > I want to preface this by saying I've posted this on many lists, forums > and > > so on... I'm only resorting to the developers because I've exahusted all > > other resources........ The following is the post that I put to my > distrobutions > > forum.... > > But first my stats: > > Gentoo/PPC > > 266Mhz G3 PPC > > USB Keyboard: working > > USB Mouse: perfect > > USB Printer: works > > Kernel: 2.4.22 also trying 2.6.0 and 2.6.0-test11 > > > > IF YOU WANT MORE ERROR MESSAGES/LOGS or dmesg OUTPUT PLEASE LET ME > KNOW... > > I'm willing to work with anybody who has any idea what iis wrong.... > > For testing purposes, it's better to use 2.6.0 rather than 2.4. > > Normally USB Zip drives work with no trouble at all. However, they may > not have been tested on PPC systems very much. > > > Okay. I've recompiled the kernel litterally DOZENS of times... This is > > insane! > > There's nothing wrong with leaving these things as modules. It makes > rebuilding a lot easier, since you don't have to install a new kernel each > > time you try changing something. > > > I can to get my USB Zip drive to work no matter what I do. I've got > hotplug, > > usbutils, I've got usb-mass storage, scsi (and scsi ide emulation) > > Just to rule out any trivial possibilities, I have to ask: Have you tried > using a different Zip disk in the drive? Have you tried using the drive > on an Intel-based Linux system (or on any other computer at all)? > > > I should mention I've tried on the 2.6.0 and 2.4.22 kerels. I've tried > both > > vfat, msdos and hfs filesystems. > > > > "/dev/scsi/host2/bus0/target0/lun0: I/O error: dev 00:00, sector 0" > > > > at the moment there is no /dev/sda1 or 2 or 3 or 4... only /dev/sda > > fdisk /dev/sda says it can't open it. Sometimes when I put a disk into > the > > zip drive it makes loud disk spinning noises repeatedly, over and over > and > > over... (this is only supposed to happen once) ive researched on google > and > > all > > that and i really am at a loss. > > These error messages indicate that your system is unable to read the > partition table on the Zip disk. Since it doesn't know what partitions > there are, it doesn't let you see /dev/sda1, sda2, etc. It also isn't > able to access any file systems you may have on the disk. > > > Okay.. I do have OHCI (and UHCI) > > heres part of my .config > > Code: > > > > CONFIG_USB=y > > CONFIG_USB_DEBUG=y > > CONFIG_USB_DEVICEFS=y > > CONFIG_USB_UHCI_ALT=y > > CONFIG_USB_OHCI=y > > CONFIG_USB_STORAGE=m > > CONFIG_USB_STORAGE_DEBUG=y > > CONFIG_USB_PRINTER=y > > CONFIG_USB_HID=y > > CONFIG_USB_HIDINPUT=y > > CONFIG_USB_SERIAL=m > > > > > > Like I said before, everything that is a module, has at one point or > another > > also been tried as an in-kernel. > > > > I know for a fact that USB works because my (this)keyboard, mouse and > > printer (which all work) are USB. > > That looks okay. > > > And heres my SCSI > > > > > > Code: > > > > CONFIG_SCSI=m > > CONFIG_SCSI_DEBUG_QUEUES=y > > CONFIG_SCSI_MULTI_LUN=y > > CONFIG_SCSI_CONSTANTS=y > > CONFIG_SCSI_MESH=m > > CONFIG_SCSI_MESH_SYNC_RATE=5 > > CONFIG_SCSI_MESH_RESET_DELAY_MS=4000 > > > > > > and all of these have been tried as in-kernel and module. > > note too that MESH is low-level driver SCSI for my PPC. > > I also have IDE SCSI emulation as M and at other times in-kernel as > wel... > > Also looks okay... > > > Ok here are some more error messages I found.. I'm still hunting for > more in > > my logs > > > > usb-storage: Bad target number (4/0) > > usb-storage: *** thread sleeping. > > usb-storage: queuecommand() called > > usb-storage: *** thread awakened. > > usb-storage: Bad target number (5/0) > > usb-storage: *** thread sleeping. > > usb-storage: queuecommand() called > > usb-storage: *** thread awakened. > > usb-storage: Bad target number (6/0) > > usb-storage: *** thread sleeping. > > usb-storage: queuecommand() called > > > > > > These repeat themselves forever (a while at least). > > That's what we need to see, but more of it and starting earlier. Try to > post all the dmesg output starting from the time you plug in the drive. > > > here are some errors from /var/log/kernel/current > > > and that actually goes on forever until i disconnect the drive and/or > unload > > the modules.... At one point I had a 9MB log file/directory.... > > Those messages aren't as important as the dmesg ones. > > > and just for reference this is mounts output: > > > > Code: > > > > # mount /dev/sda /mnt/usbzip -t hfs > > mount: wrong fs type, bad option, bad superblock on /dev/sda, > > or too many mounted file systems > > > > > > or plain > > Code: > > > > #fdisk /dev/sda > > Unable to read /dev/sda > > That's what you expect to see when the system can't read the partition > table from the disk. > > > Anyway... Thanks for any help you can give...... I'll keep digging on > > google, forums and other lists too.... > > If anyone at all can help me with this I'd soooo appreciate it.... I > just am > > running out of things to try... This is insane...,. > > Like I said, post more of the dmesg log. And use 2.6.0. > > If this really is a PPC-specific problem, the sooner we can find and fix > it the better. > > Alan Stern > -- * * * Anthony de Almeida Lopes [EMAIL PROTECTED] AIM: whatsheon * * * "And someone else might feel something scratching in his mouth. he goes to the mirror opens his mouth: and his tongue is an enormous, live centipede, rubbing its legs together and scraping his palate. He'd like to spit it out, but the centipede is part of him and he will to tear it out with his own hands..." -- Jean Paul Sartre * * * +++ GMX - die erste Adresse f�r Mail, Message, More +++ Neu: Preissenkung f�r MMS und FreeMMS! http://www.gmx.net ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
