Re: USB harddisk problem
2012/4/25 Sian Mountbatten poenik...@fastmail.co.uk: On 24/04/12 23:00, Josep Llauradó wrote: [..snip..] - When I try to format a partition already created on another computer on command line it says nothing (the usual stuff with no errors) but it doesn't work. If I do it using Disk Utility (graphical tool) I get an error [300333.589032] usb 2-1: new high speed USB device using ehci_hcd and address 7 [300333.721585] usb 2-1: New USB device found, idVendor=14cd, idProduct=6116 [300333.721594] usb 2-1: New USB device strings: Mfr=1, Product=3, SerialNumber=2 A similar malfunction has been recently reported [0] for your hard disk enclosure (idVendor=14cd, idProduct=6116) . You could send a comment to the existing bug report [0] with all required data [1]. [0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663164 [1] http://www.debian.org/Bugs/Reporting -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAHSpYy3kDncAC8evG+vp_5ig-VrO2h=+klhyqpn3kbihpzs...@mail.gmail.com
Re: USB harddisk problem
On 24/04/12 23:00, Josep Llauradó wrote: Hello, I have a serious problem with external usb hard drives and a new debian squeeze on a laptop. The symptoms are What it works: - When I mount a previously an usb hard drive formatted using another computer (linux or windows) the first time it mounts well, either by command line as root or using user-space mounting under gnome, but when I dismount it and mout again the partiition is unusable - When I partition an usb hard drive I get all the disc corrupted despite gparted or fdisk works well without error. If I try to mount again on another computer it says that there is not partition table. - When I try to format a partition already created on another computer on command line it says nothing (the usual stuff with no errors) but it doesn't work. If I do it using Disk Utility (graphical tool) I get an error at the end saying the following: snip I have just bought a 2TB USB HDD and, after copying 19GB files to it and unplugging it, I connected it again and the partition is still there and the backup files are there as well. No problems. It is a USB hard disk drive. Buffalo Systems. I am running siduction distro (based on Debian sid) with a 3.3 kernel. -- Sian Mountbatten ex-Algol 68 specialist -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jn9i4v$bik$2...@speranza.aioe.org
USB harddisk problem
Hello, I have a serious problem with external usb hard drives and a new debian squeeze on a laptop. The symptoms are What it works: - When I mount a previously an usb hard drive formatted using another computer (linux or windows) the first time it mounts well, either by command line as root or using user-space mounting under gnome, but when I dismount it and mout again the partiition is unusable - When I partition an usb hard drive I get all the disc corrupted despite gparted or fdisk works well without error. If I try to mount again on another computer it says that there is not partition table. - When I try to format a partition already created on another computer on command line it says nothing (the usual stuff with no errors) but it doesn't work. If I do it using Disk Utility (graphical tool) I get an error at the end saying the following: 8 Error creating file system: helper exited with exit code 1: cannot mount /dev/sdb1 at /tmp/job-mkfs-dyPZfO: Invalid argument Filesystem label=BACKUP1 OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 61054976 inodes, 244189952 blocks 12209497 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=0 7453 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 2048, 23887872, 71663616, 78675968, 10240, 214990848 Writing inode tables:0/7453 ... 7452/7453done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 33 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. 8 What it works: - The funny thing: I have reinstalled twice the computer, each time the same. If I make the same using the netboot debian cd install, under installation I can format, mount and use the disk on this computer without problem - If using vmware player I use any usb hard drive using linux or windows as guest operating systems without problems - If I use flash usb drives I can do everything without problem (partiiton, format, ...) - I have tried 3 hard drives of 2 different vendors, and on other computers all of then work The dmesg output of an usb flash is the following: -- [297333.792573] usb 1-1: new high speed USB device using ehci_hcd and address 5 [297333.924957] usb 1-1: New USB device found, idVendor=0781, idProduct=5151 [297333.924966] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [297333.924973] usb 1-1: Product: Cruzer Micro [297333.924978] usb 1-1: Manufacturer: SanDisk [297333.924983] usb 1-1: SerialNumber: 1741031395038477 [297333.925197] usb 1-1: configuration #1 chosen from 1 choice [297333.926674] scsi11 : SCSI emulation for USB Mass Storage devices [297333.926915] usb-storage: device found at 5 [297333.926920] usb-storage: waiting for device to settle before scanning [297338.924943] usb-storage: device scan complete [297338.925485] scsi 11:0:0:0: Direct-Access SanDisk Cruzer 7.01 PQ: 0 ANSI: 0 CCS [297338.926671] sd 11:0:0:0: Attached scsi generic sg3 type 0 [297338.927557] sd 11:0:0:0: [sdc] 15794175 512-byte logical blocks: (8.08 GB/7.53 GiB) [297338.928053] sd 11:0:0:0: [sdc] Write Protect is off [297338.928061] sd 11:0:0:0: [sdc] Mode Sense: 45 00 00 08 [297338.928067] sd 11:0:0:0: [sdc] Assuming drive cache: write through [297338.929923] sd 11:0:0:0: [sdc] Assuming drive cache: write through [297338.929930] sdc: unknown partition table [297338.934278] sd 11:0:0:0: [sdc] Assuming drive cache: write through - The usb harddrive when I mount is the following: [300333.589032] usb 2-1: new high speed USB device using ehci_hcd and address 7 [300333.721585] usb 2-1: New USB device found, idVendor=14cd, idProduct=6116 [300333.721594] usb 2-1: New USB device strings: Mfr=1, Product=3, SerialNumber=2 [300333.721601] usb 2-1: Product: USB Mass Storage Device [300333.721606] usb 2-1: Manufacturer: Generic [300333.721611] usb 2-1: SerialNumber: 116AC2101219 [300333.721828] usb 2-1: configuration #1 chosen from 1 choice [300333.723542] scsi12 : SCSI emulation for USB Mass Storage devices [300333.723864] usb-storage: device found at 7 [300333.723869] usb-storage: waiting for device to settle before scanning [300338.720282] usb-storage: device scan complete [300338.720870] scsi 12:0:0:0: Direct-AccessMass Storage DevicePQ: 0 ANSI: 0 [300338.722245] sd 12:0:0:0: Attached scsi generic sg2 type 0 [300338.726135] sd 12:0:0:0: [sdb] 1953525166 512-byte logical blocks: (1.00 TB/931 GiB) [300338.726701] sd 12:0:0:0:
When USB Harddisk connected, nothing happens
Hi, When i connect my Maxtor OneTouch 500GB III EXT3 , dmesg says there is a new device connected: Apr 21 21:31:12 localhost kernel: usb 5-5: new high speed USB device using address 2 What happens then is a mistry for me: 1. When i run top: id = 100% load 2. System load goes up exactly to 2.0 2.0 2.0 3. No dev is given to the external harddisk 4. I have to reboot to see the external harddisk 5. cat /proc/usb/devices my terminal hangs 6. lsusb my terminal hangs This is not the way it should be. The disk is 100% ok and tested on a Ubuntu Laptop, and i have run fschk. Server: Debian Sarge (updated) kernel-image-2 2.6.8-16 2x 160GB (Software Mirror) md0 2x 200GB (Software Mirror) md1 2GB Memory -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: When USB Harddisk connected, nothing happens
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lars de Bruin wrote: Hi, When i connect my Maxtor OneTouch 500GB III EXT3 , dmesg says there is a new device connected: Apr 21 21:31:12 localhost kernel: usb 5-5: new high speed USB device using address 2 What happens then is a mistry for me: 1. When i run top: id = 100% load 2. System load goes up exactly to 2.0 2.0 2.0 3. No dev is given to the external harddisk 4. I have to reboot to see the external harddisk 5. cat /proc/usb/devices my terminal hangs 6. lsusb my terminal hangs This is not the way it should be. The disk is 100% ok and tested on a Ubuntu Laptop, and i have run fschk. Server: Debian Sarge (updated) kernel-image-2 2.6.8-16 2x 160GB (Software Mirror) md0 2x 200GB (Software Mirror) md1 2GB Memory I would suggest upgrading the Sarge Server to Etch. Etch uses udev, which should work much better with newer hardware. Comparing a process on Ubuntu and a process on Sarge is not really fair because Ubuntu has much newer packages than Sarge does, even when it is fully updated. Joe - -- Registerd Linux user #443289 at http://counter.li.org/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGLivWiXBCVWpc5J4RAtKwAJ93yDvGp5uDPi3OPGgtUnSMxX+0EgCfVNxh puGQJxuv+4N2Yx+/IAY7qCo= =Oid1 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: When USB Harddisk connected, nothing happens
Hello Lars, Lars de Bruin wrote: When i connect my Maxtor OneTouch 500GB III EXT3 , dmesg says there is a new device connected: Apr 21 21:31:12 localhost kernel: usb 5-5: new high speed USB device using address 2 What happens then is a mistry for me: 1. When i run top: id = 100% load 2. System load goes up exactly to 2.0 2.0 2.0 3. No dev is given to the external harddisk 4. I have to reboot to see the external harddisk 5. cat /proc/usb/devices my terminal hangs 6. lsusb my terminal hangs According to your subject line: all this == nothing What does fdisk -l tell you? Could it be that there are some hardware problems with usb on your sarge system? I had some 'funny' problems with usb hard drives on one of my (older) computers and it turned out that those disappeared, when I connected the usb disk to another computer (different hardware, but same installation/configuration). Otherwise it could also be a configuration issue. I have used many different usb disks on many different sarge systems without problems. HTH, regards, Johannes This is not the way it should be. The disk is 100% ok and tested on a Ubuntu Laptop, and i have run fschk. Server: Debian Sarge (updated) kernel-image-2 2.6.8-16 2x 160GB (Software Mirror) md0 2x 200GB (Software Mirror) md1 2GB Memory -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
When USB Harddisk connected, nothing happens
Hi, When i connect my Maxtor OneTouch 500GB III EXT3 , dmesg says there is a new device connected: Apr 21 21:31:12 localhost kernel: usb 5-5: new high speed USB device using address 2 What happens then is a mistry for me: 1. When i run top: id = 100% load 2. System load goes up exactly to 2.0 2.0 2.0 3. No dev is given to the external harddisk 4. I have to reboot to see the external harddisk 5. cat /proc/usb/devices my terminal hangs 6. lsusb my terminal hangs This is not the way it should be. The disk is 100% ok and tested on a Ubuntu Laptop, and i have run fschk. Server: Debian Sarge (updated) kernel-image-2 2.6.8-16 2x 160GB (Software Mirror) md0 2x 200GB (Software Mirror) md1 2GB Memory
Re: When USB Harddisk connected, nothing happens
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lars de Bruin Johansen wrote: Hi, When i connect my Maxtor OneTouch 500GB III EXT3 , dmesg says there is a new device connected: Apr 21 21:31:12 localhost kernel: usb 5-5: new high speed USB device using address 2 What happens then is a mistry for me: 1. When i run top: id = 100% load 2. System load goes up exactly to 2.0 2.0 2.0 3. No dev is given to the external harddisk 4. I have to reboot to see the external harddisk 5. cat /proc/usb/devices my terminal hangs 6. lsusb my terminal hangs This is not the way it should be. The disk is 100% ok and tested on a Ubuntu Laptop, and i have run fschk. Server: Debian Sarge (updated) kernel-image-2 2.6.8-16 2x 160GB (Software Mirror) md0 2x 200GB (Software Mirror) md1 2GB Memory Sorry to sound rude, but I can tell you that you're now less likely to get replies. It is not a good idea to send the same message withing a few hours of each other, and to boot in HTML format on a list that doesn't like HTML messages, even if you're using different email addresses. Instead of asking the same question over again, reply to those of us who have asked more questions of you or have proposed solutions that you don't understand. Joe - -- Registerd Linux user #443289 at http://counter.li.org/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGLmzLiXBCVWpc5J4RAnTyAKDGHZSMwY1UE4Xq3RHN3PNeeo8WMACfX1CH Yu9ZdUMEnTDn7zQnlJhwcH8= =rW0e -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
USB harddisk not recognized after upgrade
Hello, I am running debian testing and I did a upgrade last week and after that my usb harddisk is nog recognized anymore. Last time it did work was november 10, so it has happend after that date. A older linux on a other partition still does recognize this usb drive, so it is not a hardware problem. But I want to use my new big disk also with debian testing because that is the distro I use daily. What did happen and how do I sove it ? thanks in advance, Martin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: USB harddisk not recognized after upgrade
Le Mardi 15 Novembre 2005 21:41, [EMAIL PROTECTED] a écrit : Hello, I am running debian testing and I did a upgrade last week and after that my usb harddisk is nog recognized anymore. Last time it did work was november 10, so it has happend after that date. A older linux on a other partition still does recognize this usb drive, so it is not a hardware problem. But I want to use my new big disk also with debian testing because that is the distro I use daily. What did happen and how do I sove it ? thanks in advance, Martin Hi! i had this pb too! I don't know if that might help you, but I reinstalled hotplug (but it removed udev... ) and i got everything running like before... So maybe you should look into udev or/and hotplug... I don't really know what happened, but now everything works fine... last thing : I am running unstable, so maybe the pb is not quite the same... good luck!
Re: USB harddisk not recognized after upgrade
Op dinsdag 15 november 2005 22:53, schreef Philippe Grenard: Le Mardi 15 Novembre 2005 21:41, [EMAIL PROTECTED] a écrit : Hello, I am running debian testing and I did a upgrade last week and after that my usb harddisk is nog recognized anymore. Last time it did work was november 10, so it has happend after that date. A older linux on a other partition still does recognize this usb drive, so it is not a hardware problem. But I want to use my new big disk also with debian testing because that is the distro I use daily. What did happen and how do I sove it ? thanks in advance, Martin Hi! i had this pb too! I don't know if that might help you, but I reinstalled hotplug (but it removed udev... ) and i got everything running like before... So maybe you should look into udev or/and hotplug... I don't really know what happened, but now everything works fine... last thing : I am running unstable, so maybe the pb is not quite the same... good luck! I did reinstall hotplug and my problem is gone. Thanks a lot. greetings, Martin
Re: USB harddisk not recognized after upgrade
What did happen and how do I sove it ? I had a similar problem couple of days ago after updating my Etch system. In my case, some modules were not more loaded automatically. I had to do it by hand with modprobe. So check if all your modules are loaded after boot-up. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Usb harddisk trouble...
Hi Uwe, List, No ist has its own PSU, so thats no trouble... Strangely my 64MB usb memory stick works perfectly... regards, Peter Does it have an extra power supply or is it powered by the ibook? I had similar problems with my external 2.5 disk which drew to much current. Uwe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: externe usb harddisk kann nicht gemountet werden - bitte um Hinweise
On Mon, 8 Nov 2004 00:24:18 +0100 Andreas Pakulat [EMAIL PROTECTED] wrote: Aber noch keinen Zeilenumbruch nach 70 Zeichen, kannst du das bitte aendern? Sorry, hoffentlich ist es jetzt besser Zu deiner Beruhigung: Ich hab heute gemerkt, dass mein USB-Kartenleser ebenfalls nicht mehr gemountet werden kann. Das Device existiert und ich kanns partitionieren und formatieren, aber nicht mehr mounten. Nur das er mir erzaehlt das er keine Superblock finden kann... Ich hab hier 2.6.9, aber noch nicht in mein syslog geguckt ob die Devices wirklich korrekt angelegt werden ... Bei Problemen würde ich mir mal den Patch 2.6.10-rc1 anschauen, da geht es, wenn ich es richtig verstanden habe um solche Probleme. Hmm, da fehlt mir das sd_mod und eventuell auch sg_mod Modul bei dir... sd_mod reichte, Danke für die Hilfe! Alex
Re: externe usb harddisk kann nicht gemountet werden - bitte um Hinweise
On 08.Nov 2004 - 20:51:32, Alex Blum wrote: On Mon, 8 Nov 2004 00:24:18 +0100 Andreas Pakulat [EMAIL PROTECTED] wrote: Aber noch keinen Zeilenumbruch nach 70 Zeichen, kannst du das bitte aendern? Sorry, hoffentlich ist es jetzt besser Ach und wenn wir schon dabei sind, ich kenne die RFC's nicht aber du bist der erste bei dem diese Zeile: On Mon, 8 Nov 2004 00:24:18 +0100 Andreas Pakulat [EMAIL PROTECTED] wrote: auf 2 verteilt wird und ich wuerde auch da behaupten wollen das das falsch ist. Bei Problemen würde ich mir mal den Patch 2.6.10-rc1 anschauen, da geht es, wenn ich es richtig verstanden habe um solche Probleme. Na mein Problem ist eine Unstimmigkeit zwischen der Kerneldoku und der tatsaechlichen Funktionsweise der Optionen mit mount. Ich bin mittlerweile schlauer und wundere mich immernoch, warum nicht alle FSe gleich gehandelt werden - ntfs hatte mal die utf8 Option so wie sie jetzt bei vfat existiert, ntfs hat mittlerweile aber eine nls Option bekommen Ausserdem habe ich etwas gegen RCX Kernel/Programme und so weiter, wenn ich die Wahl habe nehme ich lieber nur die vollendete Version. Und der 2.6.9er wurde auch nur installiert um mal zu schauen ob das Problem mit dem Brennen mittlerweile behoben ist... sd_mod reichte, Danke für die Hilfe! Hast du ein Glueck das ich vor nicht allzulanger Zeit noch USB+SCSI fuer USB-Storage modular in den Kernel gebaut hab, sonst wuesste ich das naemlich nicht mehr ;-) Andreas -- Hate is like acid. It can damage the vessel in which it is stored as well as destroy the object on which it is poured. -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
externe usb harddisk kann nicht gemountet werden - bitte um Hinweise
Hallo Liste Seit kurzem besitze ich eine externe usb harddisk. ich glaube, ich bin soweit, dass die harddisk reibungslos erkannt wird beim ein und ausstecken. Was mir aber nicht gelingen will, ist das teil zu mounten. ich würde die harddisk unter /dev/sda1 erwarten, da ich sonst keine anderen scsi geräte im einsatz habe. ein mount /dev/sda1 /mnt/usb/ führt zu mount: /dev/sda1 is not a valid block device gibt es hinweise, wo die externe harddisk zu finden ist? Vielen Dank! Alex ich verwende kernel 2.6.9 mit dem patch 2.6.10-rc1 wenn ich die harddisk einstecke kann man folgende meldungen lesen tail -50f /var/log/messages Nov 7 21:27:10 jupiter kernel: usb 1-1: new full speed USB device using address 2 Nov 7 21:27:10 jupiter kernel: usb 1-1: Product: OneTouch Nov 7 21:27:10 jupiter kernel: usb 1-1: Manufacturer: Maxtor Nov 7 21:27:10 jupiter kernel: usb 1-1: SerialNumber: Y357P7RE Nov 7 21:27:10 jupiter kernel: scsi0 : SCSI emulation for USB Mass Storage devices Nov 7 21:27:15 jupiter kernel: Vendor: MaxtorModel: OneTouch Rev: 0201 Nov 7 21:27:15 jupiter kernel: Type: Direct-Access ANSI SCSI revision: 00 tail -50f /var/log/syslog Nov 7 21:27:02 jupiter kernel: uhci_hcd :00:1d.0: wakeup_hc Nov 7 21:27:03 jupiter kernel: uhci_hcd :00:1d.0: port 1 portsc 0082,00 Nov 7 21:27:03 jupiter kernel: hub 1-0:1.0: port 1, status 0100, change 0001, 12 Mb/s Nov 7 21:27:03 jupiter kernel: hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100 Nov 7 21:27:05 jupiter kernel: uhci_hcd :00:1d.0: suspend_hc Nov 7 21:27:10 jupiter kernel: uhci_hcd :00:1d.0: wakeup_hc Nov 7 21:27:10 jupiter kernel: uhci_hcd :00:1d.0: port 1 portsc 0093,00 Nov 7 21:27:10 jupiter kernel: hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s Nov 7 21:27:10 jupiter kernel: hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101 Nov 7 21:27:10 jupiter kernel: usb 1-1: new full speed USB device using address 2 Nov 7 21:27:10 jupiter kernel: usb 1-1: new device strings: Mfr=1, Product=3, SerialNumber=2 Nov 7 21:27:10 jupiter kernel: usb 1-1: default language 0x0409 Nov 7 21:27:10 jupiter kernel: usb 1-1: Product: OneTouch Nov 7 21:27:10 jupiter kernel: usb 1-1: Manufacturer: Maxtor Nov 7 21:27:10 jupiter kernel: usb 1-1: SerialNumber: Y357P7RE Nov 7 21:27:10 jupiter kernel: usb 1-1: hotplug Nov 7 21:27:10 jupiter kernel: usb 1-1: adding 1-1:1.0 (config #1, interface 0) Nov 7 21:27:10 jupiter kernel: usb 1-1:1.0: hotplug Nov 7 21:27:10 jupiter kernel: usb-storage 1-1:1.0: usb_probe_interface Nov 7 21:27:10 jupiter kernel: usb-storage 1-1:1.0: usb_probe_interface - got id Nov 7 21:27:10 jupiter kernel: scsi0 : SCSI emulation for USB Mass Storage devices Nov 7 21:27:10 jupiter kernel: usb-storage: device found at 2 Nov 7 21:27:10 jupiter kernel: usb-storage: waiting for device to settle before scanning Nov 7 21:27:15 jupiter kernel: Vendor: MaxtorModel: OneTouch Rev: 0201 Nov 7 21:27:15 jupiter kernel: Type: Direct-Access ANSI SCSI revision: 00 Nov 7 21:27:15 jupiter kernel: usb-storage: device scan complete jupiter:~# lsmod Module Size Used by usbmouse4480 0 usb_storage27520 0 scsi_mod 71136 1 usb_storage ehci_hcd 37124 0 uhci_hcd 29580 0 psmouse19592 0 snd_intel8x0 27556 0 snd_ac97_codec 65872 1 snd_intel8x0 snd_pcm77064 1 snd_intel8x0 snd_timer 19716 1 snd_pcm snd_page_alloc 7556 2 snd_intel8x0,snd_pcm snd_mpu401_uart 5888 1 snd_intel8x0 snd_rawmidi18464 1 snd_mpu401_uart snd42340 6 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi soundcore 7008 1 snd af_packet 12552 0
Re: externe usb harddisk kann nicht gemountet werden - bitte um Hinweise
On 07.Nov 2004 - 21:34:28, Alex Blum wrote: Hallo Liste Seit kurzem besitze ich eine externe usb harddisk. Aber noch keinen Zeilenumbruch nach 70 Zeichen, kannst du das bitte aendern? ich glaube, ich bin soweit, dass die harddisk reibungslos erkannt wird beim ein und ausstecken. Was mir aber nicht gelingen will, ist das teil zu mounten. ich würde die harddisk unter /dev/sda1 erwarten, da ich sonst keine anderen scsi geräte im einsatz habe. Nicht Erwartung nur Wissen ist Macht ;-) Im Ernst, ein huebsches Tool um die vorhanden SCSI-Disk's zu finden ist sg_map aus den sg3-utils, ansonsten sollte auch im syslog, bzw. mittels dmesg die Partition mit ausgegeben werden. Zu deiner Beruhigung: Ich hab heute gemerkt, dass mein USB-Kartenleser ebenfalls nicht mehr gemountet werden kann. Das Device existiert und ich kanns partitionieren und formatieren, aber nicht mehr mounten. Nur das er mir erzaehlt das er keine Superblock finden kann... gibt es hinweise, wo die externe harddisk zu finden ist? Siehe oben, syslog/dmesg/sg_map, ach ja und natuerlich sysfs (meistens und /sys gemountet). Dort muesstest du mal nach bus/usb gucken... ich verwende kernel 2.6.9 mit dem patch 2.6.10-rc1 Ich hab hier 2.6.9, aber noch nicht in mein syslog geguckt ob die Devices wirklich korrekt angelegt werden ... tail -50f /var/log/messages [...] Nov 7 21:27:15 jupiter kernel: Vendor: MaxtorModel: OneTouch Rev: 0201 Nov 7 21:27:15 jupiter kernel: Type: Direct-Access ANSI SCSI revision: 00 Mit anderen Worten, mehr ist da nicht? Nach dieser Zeile kommt nichts mehr? tail -50f /var/log/syslog Nov 7 21:27:10 jupiter kernel: scsi0 : SCSI emulation for USB Mass Storage devices Nov 7 21:27:10 jupiter kernel: usb-storage: device found at 2 Nov 7 21:27:10 jupiter kernel: usb-storage: waiting for device to settle before scanning Nov 7 21:27:15 jupiter kernel: Vendor: MaxtorModel: OneTouch Rev: 0201 Nov 7 21:27:15 jupiter kernel: Type: Direct-Access ANSI SCSI revision: 00 Nov 7 21:27:15 jupiter kernel: usb-storage: device scan complete Und hier genauso, an dieser Stelle muesste erscheinen welches Device erzeugt wird dafuer... usbmouse4480 0 usb_storage27520 0 scsi_mod 71136 1 usb_storage ehci_hcd 37124 0 uhci_hcd 29580 0 Hmm, da fehlt mir das sd_mod und eventuell auch sg_mod Modul bei dir... Andreas -- In matters of principle, stand like a rock; in matters of taste, swim with the current. -- Thomas Jefferson -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: 'hotplug stop' mit noch gemounteter usb-harddisk
Peter Kuechler wrote: Am Sa, den 15.05.2004 schrieb Reinhard Weiss um 17:32: Hallo Newsgroup, folgendes Problem habe ich mit meiner Debian-3.0-Installation: Gleich zu Anfang: Ich bin nicht sicher ob ich dein Problem richig verstanden habe... Ich habe eine USB-Harddisk in einem externen Gehaeuse, die mit den Hotplug-Skripten und den entsprechenden Kernel-Modulen (2.4.20, selbst-kompiliert mit make-kpkg) eigentlich sehr gut funktioniert (auf 2 verschiedenen Rechnern). Sie wird als /dev/sda eingebunden. Falls beim Aufruf von /etc/init.d/hotplug stop Warum sollte denn HotPlug angehalten werden? Oder meinst Du beim runterfahren des Rechners? Ich meine beim Herunterfahren des Rechners. Es ist (derzeit) fuer mich eher ein theoretisches Problem, das gebe ich ja zu. Die pragmatische Loesung besteht darin, beim Runlevel-Wechsel in den zugehoerigen rc-Verzeichnissen ein passendes Skript zum unmounten zu platzieren. Jedoch garantiert mir doch niemand, dass beim 'runterfahren nicht noch irgendein Prozess in einem Mount ist und somit diesen Unmount verhindert. Es gibt zwar, soweit ich weiss, irgendeine Moeglichkeit, alle Prozesse zu killen, die in einem bestimmten Verzeichnis(-baum) sich befinden bzw. dort Dateien geoeffnet haben, jedoch bin ich halt an einer Loesung auf Modulebene interessiert. Dabei ist mir jedoch aufgefallen (schreibe ich am besten noch in einem anderen Thread), dass Zeilen wie pre-remove MODULNAME BEFEHL in /etc/modules.conf bei der Eingabe von rmmod irgendwie ignoriert werden, sonst koennte man ja auf diesem Wege irgendwie verhindern, dass die HCD-Treiber vor dem usb-storage-Treiber entfernt werden. jedoch noch eine Partition auf der Platte gemounted ist, gibt es jedoch Probleme, was vordergruendig ja ganz verstaendlich ist. Hintergruendig jedoch liegt das ganze _nicht_ daran, dass hotplug einfach das Modul usb-storage entfernt und _deshalb_ der mount in der Luft haengt, sondern usb-storage wird nicht entfernt mit der vernuenftigen Meldung device busy (o.ae.). [...] Wenn es sich ums runterfahren des Rechners dreht, so muß doch eigentlich nur gewärleistet sein, das die lokalen mounts vorher abgehängt werden. Damit dürfte das doch in Ordnung sein, oder? siehe oben. Ich betreibe sowas auch und habe mir über die Sache mit dem mounten/unmounten auch schon meine Gedanken gemacht. Allerdings ist die Problemstellung etwas anders. Ich gehe vom normalen Betrieb aus, also HopPlug läuft und wird auch nicht wärend des Betriebs angehalten. Ich stecke die USB-Platte an, das HotPlugsystem erkennts sie, läd usb-storage und ein automatischer mount lässt sich sicher auch einrichten. Was passiert wenn die Platte einfach rausgezogen wird? Das HotPlugsystem erkennt das zwar, aber was soll es tun? Für einen Umount ist es zu spät, die Hardware ist schon weg... Beim runterfahren sollte das aber kein Problem sein, zumindest bei mir funktioniert es so (SID, Kernel 2.6.6) Reinhard -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: 'hotplug stop' mit noch gemounteter usb-harddisk
Am Sa, den 15.05.2004 schrieb Reinhard Weiss um 17:32: Hallo Newsgroup, folgendes Problem habe ich mit meiner Debian-3.0-Installation: Gleich zu Anfang: Ich bin nicht sicher ob ich dein Problem richig verstanden habe... Ich habe eine USB-Harddisk in einem externen Gehaeuse, die mit den Hotplug-Skripten und den entsprechenden Kernel-Modulen (2.4.20, selbst-kompiliert mit make-kpkg) eigentlich sehr gut funktioniert (auf 2 verschiedenen Rechnern). Sie wird als /dev/sda eingebunden. Falls beim Aufruf von /etc/init.d/hotplug stop Warum sollte denn HotPlug angehalten werden? Oder meinst Du beim runterfahren des Rechners? jedoch noch eine Partition auf der Platte gemounted ist, gibt es jedoch Probleme, was vordergruendig ja ganz verstaendlich ist. Hintergruendig jedoch liegt das ganze _nicht_ daran, dass hotplug einfach das Modul usb-storage entfernt und _deshalb_ der mount in der Luft haengt, sondern usb-storage wird nicht entfernt mit der vernuenftigen Meldung device busy (o.ae.). [...] Wenn es sich ums runterfahren des Rechners dreht, so muß doch eigentlich nur gewärleistet sein, das die lokalen mounts vorher abgehängt werden. Damit dürfte das doch in Ordnung sein, oder? Ich betreibe sowas auch und habe mir über die Sache mit dem mounten/unmounten auch schon meine Gedanken gemacht. Allerdings ist die Problemstellung etwas anders. Ich gehe vom normalen Betrieb aus, also HopPlug läuft und wird auch nicht wärend des Betriebs angehalten. Ich stecke die USB-Platte an, das HotPlugsystem erkennts sie, läd usb-storage und ein automatischer mount lässt sich sicher auch einrichten. Was passiert wenn die Platte einfach rausgezogen wird? Das HotPlugsystem erkennt das zwar, aber was soll es tun? Für einen Umount ist es zu spät, die Hardware ist schon weg... Beim runterfahren sollte das aber kein Problem sein, zumindest bei mir funktioniert es so (SID, Kernel 2.6.6) -- mfg Peter Küchler
'hotplug stop' mit noch gemounteter usb-harddisk
Hallo Newsgroup, folgendes Problem habe ich mit meiner Debian-3.0-Installation: Ich habe eine USB-Harddisk in einem externen Gehaeuse, die mit den Hotplug-Skripten und den entsprechenden Kernel-Modulen (2.4.20, selbst-kompiliert mit make-kpkg) eigentlich sehr gut funktioniert (auf 2 verschiedenen Rechnern). Sie wird als /dev/sda eingebunden. Falls beim Aufruf von /etc/init.d/hotplug stop jedoch noch eine Partition auf der Platte gemounted ist, gibt es jedoch Probleme, was vordergruendig ja ganz verstaendlich ist. Hintergruendig jedoch liegt das ganze _nicht_ daran, dass hotplug einfach das Modul usb-storage entfernt und _deshalb_ der mount in der Luft haengt, sondern usb-storage wird nicht entfernt mit der vernuenftigen Meldung device busy (o.ae.). Das eigentliche Problem ist jedoch, dass der HCD-Treiber (also ehci-hcd bzw. als Fallback usb-ohci) sich problemlos mit rmmod entfernen laesst, was vom hotplug-Skript auch gemacht wird. Ist jedoch kein HCD-Treiber mehr da, haengt usb-storage und damit der mount irgendwie in der Luft und darum gibts read-errors oder Aehnliches beim Zugriff auf den Mount. Die Ursache fuer das Problem liegt meiner Ansicht nach darin, dass zwar usbcore von usb-storage und usb-storage wiederum vom Mount abhaengt sowie usbcore vom hcd-Treiber abhaengt, jedoch nicht der hcd-Treiber von usb-storage. Eine solche (wie auch immer geartete) Abhaengigkeit muesste aber bei mir bestehen, damit der HCD erst dann entfernt werden kann, wenn kein anderes Modul ihn mehr benoetigt; bei mir benoetigt ja usb-storage anscheinend das HCD-Modul. Bevor ich hier ueber meine bisherigen Loesungsansaetze berichte, die allesamt fehlschlugen, moechte ich erst mal wissen, wie Ihr so darueber denkt. Fuer hilfreiche Tipps waere ich sehr dankbar. Reinhard -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: USB HardDisk?
On Wed, Jun 12, 2002 at 08:40:35PM -0600, Robert L. Harris wrote: I just bought a 10Gig Archos MP3 player. Very nice so far. Plug it in to the USB, open explorer and start copying files over. Yeah windows. My home machine will be re-compiling with USB support very soon (aka as soon as copy done). The MP3 player shows out it's internal disk as a usb disk and works great. To access this under linux (2.4.18) exactly what do I need to compile in, and what device will I mount? /dev/usb/hda? I had a AJB6000 (Original 6GB player) which I recently upgraded to the 20 GB recorder. All of the AJBs except the 20 GB recorder use the ISD-200 interface which has its own special driver module. You should have CONFIG_USB_STORAGE_ISD200=y in your kernel config file. You will also need the general USB stuff. Your choice of OCHI vs UCHI modules will depend upon your chipset: ``lspci'', ``cat /proc/pci'' and ``cat /proc/bus/pci/devices'' may yield some clues as to which driver is appropriate. I have the following in my /etc/fstab (minus the linebreak): /dev/sda1 /mnt.dir/jukebox vfat \ defaults,user,gid=1005,fmask=664,dmask=775,noauto I find it easiest to maintain the directories on the AJB by setting up a mirror system under my home directory and using rsync to update the jukebox. As a side note, the 20 GB recorder is supported with the standard usb mass storage drivers, and has usb 2.0 support under 2.4.19-pre kernels. It will hang your USB stack if you plug it in without first turning it on, however. HTH, dt -- Dave Thayer | If trees could scream, would we be so cavalier about Denver, Colorado USA | cutting them down? We might, if they screamed all [EMAIL PROTECTED] | the time, for no good reason. - Jack Handey -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
USB HardDisk?
I just bought a 10Gig Archos MP3 player. Very nice so far. Plug it in to the USB, open explorer and start copying files over. Yeah windows. My home machine will be re-compiling with USB support very soon (aka as soon as copy done). The MP3 player shows out it's internal disk as a usb disk and works great. To access this under linux (2.4.18) exactly what do I need to compile in, and what device will I mount? /dev/usb/hda? Robert :wq! --- Robert L. Harris| Micros~1 : Senior System Engineer |For when quality, reliability at RnD Consulting | and security just aren't \_ that important! DISCLAIMER: These are MY OPINIONS ALONE. I speak for no-one else. FYI: perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);' -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: USB HardDisk?
Robert == Robert L Harris [EMAIL PROTECTED] writes: [...] Robert My home machine will be re-compiling with USB support very soon Robert (aka as soon as copy done). The MP3 player shows out it's Robert internal disk as a usb disk and works great. To access this Robert under linux (2.4.18) exactly what do I need to compile in, and Robert what device will I mount? /dev/usb/hda? I have an IBM USB key, which AFAIK uses the same protocol as normal USB disks. You'll need USB support (obviously), OHCI support, and USB Mass Store support. You'll also need SCSI support and SCSI disk support, because the disk will claim to be a SCSI disk. Hmm. Looking at lsmod, I also seem to have the SCSI cdrom module loaded, but I don't think it's related to the USB key. I have pretty much all the USB drivers compiled as modules. It just takes a little longer to compile, doesn't slow down the kernel (since they won't be used if they're not needed), and if I, for some reason or other get some new hardware, I just plug it in, and it's there. When I plug in my USB key, it gets mapped to /dev/scsi/host0/bus0/target0/lun0/*, which according to the devfs compatibility symlinks maps to /dev/sda*. I get partitions 1, 2, and 4 on my USB key. /dev/sda4 contains the data, which I can also get by mounting /dev/sda. I don't know what /dev/sda1 and /dev/sda2 are. It probably varies by device what partitions you get, but you can probably try mounting /dev/sda. -- Hubert Chan [EMAIL PROTECTED] - http://www.uhoreg.ca/ PGP/GnuPG key: 1024D/124B61FA Fingerprint: 96C5 012F 5F74 A5F7 1FF7 5291 AF29 C719 124B 61FA Key available at wwwkeys.pgp.net. Encrypted e-mail preferred. pgp9BfWHFGjlu.pgp Description: PGP signature