RE: [expert] external usb hard drive problems
In a nutshell run lsmod and look at all the modules that your USB drive is using. You'll notice that the interrelated modules are listed making things a bit easier for you. Then use mkinitrd and it's preload and fstab option to tell mkinitrd which modules to load into the boot image, and how they are mounted. Doing this gets everything loaded into ram during the boot and before any other services are started or called. -JMS |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]] On Behalf Of |[EMAIL PROTECTED] |Sent: Saturday, October 20, 2001 11:34 PM |To: Jose M. Sanchez |Cc: [EMAIL PROTECTED] |Subject: RE: [expert] external usb hard drive problems | | |Hi, | |I read the man page and looked around a bit on the net, but am |not sure what I should do; should I use the --preload switch, |and if so, then for which modules? | |Thanks, |David Charles | |On Sat, 20 Oct 2001, Jose M. Sanchez wrote: | | | | | |I wish *SOMEBODY* would include a USB kernel as an install option! | |USB keyboard and mouse work a lot better if they are available all | |through the boot process. Also in regard to your first |question, it | |seems that the USB has gotten a whole lot less |unpluggable in 2.4. | |Hint: this is a step | |backwards! | | | |mg | | | | Including it in the kernel is not needed and/or superfluous... | | You can utilize mkinitrd to create a boot image (used |automatically by | the boot loader) that incorporates any modules that you need present | and loaded during the first stage of the boot. Booting from a SCSI | device requires this. | | There is no reason that you can use this to add in the USB drivers | either. You could go as far as booting Linux from a USB hard drive | (ugh!!). | | | -JMS | | | | Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] external usb hard drive problems
Hi, I have an external USB hard drive made by LaCie, which worked out of the box, was automatically detected during installation, and is set up with scsi emulation. If I boot with the drive turned on, it is accessible as sda1 sda5 (it is partitioned into 2 FAT32 partitions). There are errors when it first tries to mount, saying that the 2 devices do not exist, but then (I think because it only turns on scsi emulation AFTER trying to mount the drives) it tries a few seconds later in the boot sequence and is successful. My problem is as follows: if the drive is NOT turned on at boot time, I can NOT mount either of the partitions on the drive, getting an error message saying that the devices do not exist. The kernel modules for usb scsi emulation are loaded (and I even tried removing and reinserting the modules which I think are needed), but it just does not work. I think (and please tell me if I am wrong or omitting something) the modules that are used are usb-scsi usb-ohci and usb-storage (I think, am not at home and doing this from memory). The other question I have, although not as bad because it still works, is the error message I get when the system boots (that I mentioned at the beginning) where the mounting of the usb drive's partitions fails and then a few seconds later succeeds. Is this because the system tries to mount the scsi drives (sda1 sda5) BEFORE the usb-scsi emulation is loaded? I DO hope that someone can help me. TIA, David Charles Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] external usb hard drive problems
On Saturday 20 October 2001 18:14, [EMAIL PROTECTED] wrote: Hi, I have an external USB hard drive made by LaCie, which worked out of the box, was automatically detected during installation, and is set up with scsi emulation. If I boot with the drive turned on, it is accessible as sda1 sda5 (it is partitioned into 2 FAT32 partitions). There are errors when it first tries to mount, saying that the 2 devices do not exist, but then (I think because it only turns on scsi emulation AFTER trying to mount the drives) it tries a few seconds later in the boot sequence and is successful. My problem is as follows: if the drive is NOT turned on at boot time, I can NOT mount either of the partitions on the drive, getting an error message saying that the devices do not exist. The kernel modules for usb scsi emulation are loaded (and I even tried removing and reinserting the modules which I think are needed), but it just does not work. I think (and please tell me if I am wrong or omitting something) the modules that are used are usb-scsi usb-ohci and usb-storage (I think, am not at home and doing this from memory). The other question I have, although not as bad because it still works, is the error message I get when the system boots (that I mentioned at the beginning) where the mounting of the usb drive's partitions fails and then a few seconds later succeeds. Is this because the system tries to mount the scsi drives (sda1 sda5) BEFORE the usb-scsi emulation is loaded? I DO hope that someone can help me. TIA, David Charles Content-Type: text/plain; charset=us-ascii; name=message.footer Content-Transfer-Encoding: 8bit Content-Description: I wish *SOMEBODY* would include a USB kernel as an install option! USB keyboard and mouse work a lot better if they are available all through the boot process. Also in regard to your first question, it seems that the USB has gotten a whole lot less unpluggable in 2.4. Hint: this is a step backwards! mg Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [expert] external usb hard drive problems
| |I wish *SOMEBODY* would include a USB kernel as an install |option! USB keyboard and mouse work a lot better if they are |available all through the boot process. Also in regard to |your first question, it seems that the |USB has gotten a whole lot less unpluggable in 2.4. Hint: |this is a step |backwards! | |mg | Including it in the kernel is not needed and/or superfluous... You can utilize mkinitrd to create a boot image (used automatically by the boot loader) that incorporates any modules that you need present and loaded during the first stage of the boot. Booting from a SCSI device requires this. There is no reason that you can use this to add in the USB drivers either. You could go as far as booting Linux from a USB hard drive (ugh!!). -JMS Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [expert] external usb hard drive problems
Hi, I read the man page and looked around a bit on the net, but am not sure what I should do; should I use the --preload switch, and if so, then for which modules? Thanks, David Charles On Sat, 20 Oct 2001, Jose M. Sanchez wrote: | |I wish *SOMEBODY* would include a USB kernel as an install |option! USB keyboard and mouse work a lot better if they are |available all through the boot process. Also in regard to |your first question, it seems that the |USB has gotten a whole lot less unpluggable in 2.4. Hint: |this is a step |backwards! | |mg | Including it in the kernel is not needed and/or superfluous... You can utilize mkinitrd to create a boot image (used automatically by the boot loader) that incorporates any modules that you need present and loaded during the first stage of the boot. Booting from a SCSI device requires this. There is no reason that you can use this to add in the USB drivers either. You could go as far as booting Linux from a USB hard drive (ugh!!). -JMS Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com