LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 08-16-2004, 09:14 AM   #1
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 14.1
Posts: 1,141

Rep: Reputation: 55
external usb zip drive error


Hi,
After a long-time I tried to access some files from a external usb-zip drive (vfat fs) in FC2. Gives me the following error,
block device not found.

Long story short, I read and wrote to this same drive under RH 9 and then I switched to FC2 and since then never tried to mount it. I'm using latest kernel with FC2 (2.6.7-x). I tried to mount it with usual command

mount -t vfat -o rw /dev/sda1 /mnt/zip

and yes, i tried sda0, sda2, sda3, sda4. also tried fd1...anyone has any idea. Should i look for lsmod or load a specific module??
 
Old 08-16-2004, 09:31 AM   #2
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
reboot system to have a clean system
Insert usb device
Use dmesg to look at messages and post them here
 
Old 08-16-2004, 06:34 PM   #3
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 14.1
Posts: 1,141

Original Poster
Rep: Reputation: 55
rebooted and reattached usb-zip drive.
here's a part from dmesg and i think is the problem. Any pointers???

usb 4-1: new full speed USB device using address 2
usb 4-1: control timeout on ep0out
usb 4-1: control timeout on ep0out
usb 4-1: device not accepting address 2, error -110
usb 4-1: new full speed USB device using address 3
usb 4-1: control timeout on ep0out
usb 4-1: control timeout on ep0out
usb 4-1: device not accepting address 3, error -110

Thanks,
Tux.
 
Old 08-17-2004, 04:18 AM   #4
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
Found something on the net,, it is a problem with kernel 2.6.6-1.435 or higher

this could be the sollution
but
/dev/scsi/host1/bus0/target0/lun0/part1
is the location of that mandrake user, for you it could be a different location

The external USB2 harddrive can work at high speed (20MB/s) -- if I mount it by hand, instead of letting supermount do its thing, it works ok. I had the following in my /etc/fstab:
/dev/scsi/host1/bus0/target0/lun0/part1 /mnt/hd-sda1 vfat rw,noauto,user,exec 0 0
which I put instead of what Mandrake automatically created:
none /mnt/hd supermount dev=/dev/sda1,fs=ext2:vfat,--,codepage=850,kudzu,iocharset=iso8859-15 0 0
and like this, I can mount the drive as a user with:
mount /mnt/hd-sda1
and all works fine.

Actually, I found out that supermount wants to enable the user to unplug the drive at basically any moment, so it continuously updates the 'atime' or access time file property. Basically, this means that each time data is read, some data gets written too, tremendously slowing down the system. I did some more tests, following a hint on the buglist, and added 'noatime' to the supermount fstab line for the external harddrive. This fixed things, but the drive would not mount automatically anymore. So one may just as well use the manual way of mounting the drive. Note that for writing to the drive, both methods are equally fast, as far as I can tell (transfer speeds between 12 and 22MB/s according to my gkrellm). Still room for improvement here.
 
Old 08-17-2004, 10:42 AM   #5
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 14.1
Posts: 1,141

Original Poster
Rep: Reputation: 55
I tried to mount the drive in slackware 10 and it too gave the same error messages. After a google search, I found couple of clues regarding this. My machine is a dell dimension 4500 and there are other users with same machine having same problem mounting usb-zip drives. I actually read through their pages but they too dont seem to have an answer and the problem is identified as one inherent to this particular dell machine.

Now, I've used the same drive (usb-zip) under redhat 9 a couple weeks back (before i upgraded to FC2) and it was working perfect under RH9. So I guess, its the problem with the kernel...some bug.

I'll try out your method once I lay my hands on the machine.

Thanks for the info.
Tux,
 
Old 08-22-2004, 05:09 PM   #6
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 14.1
Posts: 1,141

Original Poster
Rep: Reputation: 55
Hi Arno,
Your suggestion didnt work. Actually I am having problems with anything usb. I have a lexmark X63 printer (which worked with RH 9 2.4.x kernel) but now it doesnt work under fedora and gives out the same error messages as follows.

usb 2-2: new full speed USB device using address 2
usb 2-2: control timeout on ep0out
usb 2-2: control timeout on ep0out
usb 2-2: device not accepting address 2, error -110
usb 2-2: new full speed USB device using address 3
usb 2-2: control timeout on ep0out
usb 2-2: control timeout on ep0out
usb 2-2: device not accepting address 3, error -110

does anyone have an idea how to get USB working?? Cant use my printer with linux...
 
Old 08-23-2004, 10:27 AM   #7
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 14.1
Posts: 1,141

Original Poster
Rep: Reputation: 55
Hi LQers,

Please reply if anyone has similar problems with with usb. I am trying to google with all sorts of key words but to no avail. If anyone has similar problems with/fixes for usb please share it.

Thanks,
Tux.
 
Old 08-24-2004, 11:31 AM   #8
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 14.1
Posts: 1,141

Original Poster
Rep: Reputation: 55
okay guys,
I seem to have seen some light at the end of tunnel for this usb-problem. I booted up the suse-9.1 live cd (kernel 2.6.5) and did lsmod. I saw usblp, usbcore, usbserial, uhci_hcd and ehci_hcd modules. I configured my printer and printed out a test page.

Now in my current config (both FC2 and Slack 10) i dont see usblp, usbcore, usbserial modules loaded (when i do lsmod). I think its giving error messages (see above) because it doesnt have those modules.

When i do insmod those additional usb modules, it give a FATAL error saying no such modules. I guess they might be compiled directly into kernel. If thats the case do you guys recommend to recompile with those modules. Problem is I dont know where to find these modules.

If the printer (and for that matter anything usb) works with suse 9.1 kernel 2.6.5 then there is no reason it shouldnt work with 2.6.7 or 2.6.8.

Please reply??? I really need a printer!!!
 
Old 08-24-2004, 11:47 AM   #9
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
Sorry that I have to remind you but Found something on the net,, it is a problem with kernel 2.6.6-1.435 or higher
 
Old 08-24-2004, 11:50 AM   #10
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
I also found that usb settings in your machine´s bios can have an influence on linux
 
Old 08-24-2004, 11:59 AM   #11
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 14.1
Posts: 1,141

Original Poster
Rep: Reputation: 55
Thanks Arno, time to dig deeper. Will get back with more, I promise

Tux,
 
Old 08-28-2004, 12:28 AM   #12
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 14.1
Posts: 1,141

Original Poster
Rep: Reputation: 55
got a patch!

I've found a patch file called bk-acpi.patch. Now how do i apply that patch. I've search around google but cant seem to get a definite answer. I've also read i've to bunzip or untar patch files but the one that i've downloaded is a .patch.
This is the first time i'm trying to patch.

I'll appreciate if someone can give appropriate pointers.

Thanks,
Tux
 
Old 08-28-2004, 01:19 PM   #13
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
cd /usr/src/linux
patch -p1 < /path/to/patchfile.diff

it only changes the sources, so you have to make a new kernel
 
Old 08-28-2004, 01:46 PM   #14
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 14.1
Posts: 1,141

Original Poster
Rep: Reputation: 55
Thanks Arno,
The file I have has an extension .patch. you're suggesting one with .diff. Will that work??? Dont know much about patches so please bear with me.

Thanks,
Tux
 
Old 08-28-2004, 03:59 PM   #15
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
That's oke the label diff and patch indicates a certain patch procedure
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount points on usb devices (dig. camera, zip drive, external hard disk) Impaler Linux - Hardware 3 05-30-2006 12:08 AM
External zip 100 parallel drive Frankj51 Fedora 15 02-04-2005 07:23 PM
Disappearing /dev/sda4 and external USB Zip Drive rps63ifid Mandriva 1 01-08-2005 03:16 PM
usb zip drive user1 Linux - Newbie 3 03-01-2004 01:47 AM
Installing an external Iomega USB powered Zip 250 decster Linux - General 2 09-20-2002 11:34 AM


All times are GMT -5. The time now is 10:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration