USB hard drive and CD-RW

Jason Warm yellowdog-general@lists.terrasoftsolutions.com
Mon Jun 28 10:14:00 2004


I do have the HFS modules loaded.  I am able to mount my HFS partition on
hda1 with no problem.

Jason

<quote who="David Hacker">
> Is the disk you want to mount formated for linux or mac?  If mac is it
> HFS or HFS+.  Either of the mac formats take a module to load.  You
> have to have the 2.4.22-2g kernel for HFS+.
>
> David C. Hacker, DVM
> On Jun 28, 2004, at 11:17 AM, Jason Warm wrote:
>
>> This is what I get when I run /sbin/lsmod:
>> Module                  Size  Used by    Not tainted
>> usbnet                 16232   0  (unused)
>> usb-storage            70340   0  (unused)
>> vfat                   13376   0  (autoclean)
>> fat                    39420   0  (autoclean) [vfat]
>> appletalk              28100  12  (autoclean)
>> dmasound_pmac          76096   0  (autoclean)
>> dmasound_core          15488   0  (autoclean) [dmasound_pmac]
>> i2c-core               19968   0  (autoclean) [dmasound_pmac]
>> soundcore               6920   3  (autoclean) [dmasound_core]
>> autofs                 13376   0  (autoclean) (unused)
>> ehci-hcd               22928   0  (unused)
>> ohci1394               31888   0  (unused)
>> ieee1394               67456   0  [ohci1394]
>> ds                      9984   2
>> yenta_socket           14640   2
>> pcmcia_core            57328   0  [ds yenta_socket]
>> iptable_filter          2544   0  (autoclean) (unused)
>> ip_tables              17328   1  [iptable_filter]
>>
>> As for what is in /dev, I have hda1-hdt9 displayed and sda1-sdz9.  Yes
>> and
>> when I try switching to sda1 it tells me that it is not a block device.
>> When i list all, the only thing that shows is hda1 and my cdrom.
>>
>> Jason
>> <quote who="David Hacker">
>>> Try using lsmod to see what modules are loaded.  If the usb-storage
>>> dirver is already loaded then it should be recognized.  Also, take a
>>> look in your /dev directory and see if there are any other hd? or sd?
>>> files besides the hda for your internal hard drive.  Did you try
>>> looking at the partition maps with pdisk?
>>>
>>> David C. Hacker, DVM
>>> On Jun 28, 2004, at 9:56 AM, Jason Warm wrote:
>>>
>>>> When I type "/sbin/modprobe usb-storage" and hit enter, nothing
>>>> happens (I
>>>> am doing this as root).  I get no error message or response of any
>>>> kind.
>>>> I just get a new command line.  When I did "/sbin/modprobe -l" and
>>>> got
>>>> the
>>>> full list,
>>>> "/lib/modules/2.4.22-2g/kernel/drivers/usb/storage/usb-storage.o" was
>>>> listed.
>>>>
>>>> Jason
>>>>
>>>> <quote who="David Hacker">
>>>>> If you don't see any reference to the drive  being recognized then
>>>>> you
>>>>> will have to load the USB mass storage module.  Try modprobe
>>>>> usb-storage from a root terminal and see if it is recognized then?
>>>>>
>>>>> David C. Hacker, DVM
>>>>> On Jun 28, 2004, at 9:21 AM, Jason Warm wrote:
>>>>>
>>>>>> Well this is turning into a stumper....I have reviewed all those
>>>>>> log
>>>>>> files, and I can not see a reference to any hard drive other the
>>>>>> /dev/hda1
>>>>>> (my main drive).  I know the drive works as I can see the partition
>>>>>> when I
>>>>>> attach it to a Windoze box.  Does 2.4.22-g have the ability to see
>>>>>> a
>>>>>> USB
>>>>>> 2.0 hard drive?
>>>>>>
>>>>>> Jason
>>>>>>
>>>>>> <quote who="David Hacker">
>>>>>>> It is in the message I just sent.
>>>>>>> /var/log/messages is the file that contains all of the boot
>>>>>>> messages
>>>>>>> and other output from the system.  You can open it in emacs or
>>>>>>> pico
>>>>>>> from a console just type emacs /var/log/messages
>>>>>>> You can also find the most recent information in /var/log/dmesg.
>>>>>>>
>>>>>>>
>>>>>>> David C. Hacker, DVM
>>>>>>> On Jun 27, 2004, at 8:36 PM, Jason Warm wrote:
>>>>>>>
>>>>>>>> In which exact log would I be able to find the device name?
>>>>>>>>
>>>>>>>> Jason
>>>>>>>> David Hacker wrote:
>>>>>>>>
>>>>>>>>> You need to see what device they are assigned to first.  Hard
>>>>>>>>> drives
>>>>>>>>> are usually /dev/hd? if they are ata and scsi hard drives, USB
>>>>>>>>> and
>>>>>>>>> firewire hard drives are usually /dev/sd?.  You can look at
>>>>>>>>> /var/log/messages to see the boot text and get the device from
>>>>>>>>> there
>>>>>>>>> or you can use pdisk from a terminal and print out all partiton
>>>>>>>>> maps
>>>>>>>>> and find out from there.  Once you find out what device and
>>>>>>>>> partition
>>>>>>>>> number was assigned to the disk you want to mount you need to
>>>>>>>>> decide
>>>>>>>>> where you want to mount it.  Usually they are mounted in /mnt.
>>>>>>>>> You
>>>>>>>>> can open a terminal and su to become root, then cd /mnt and
>>>>>>>>> mkdir
>>>>>>>>> usb
>>>>>>>>> or mkdir macos or mkdir ??? for whatever you want the mount
>>>>>>>>> point
>>>>>>>>> to
>>>>>>>>> be.  Then from the command line just type mount /dev/hd?
>>>>>>>>> /mnt/usb
>>>>>>>>> for
>>>>>>>>> instance.  Once you are able to mount and access the disk you
>>>>>>>>> can
>>>>>>>>> add
>>>>>>>>> it to your fstab file then you just have to type mount /mnt/usb
>>>>>>>>> or
>>>>>>>>> whatever your mount point is.
>>>>>>>>> Good Luck,
>>>>>>> David C. Hacker, DVM
>>>>>>>>> On Jun 27, 2004, at 6:48 PM, Jason Warm wrote:
>>>>>>>>>
>>>>>>>>>> Could someone please give me some brief instructions on
>>>>>>>>>> mounting
>>>>>>>>>> USB
>>>>>>>>>> hard drive and CD-RW.
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Jason Warm
>>>>>>>>>> jwarm@miasys.com
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> yellowdog-general mailing list
>>>>>>>>>> yellowdog-general@lists.terrasoftsolutions.com
>>>>>>>>>> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-
>>>>>>>>>> general
>>>>>>>>>> HINT: to Google archives, try  '<keywords>
>>>>>>>>>> site:terrasoftsolutions.com'
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> yellowdog-general mailing list
>>>>>>>>> yellowdog-general@lists.terrasoftsolutions.com
>>>>>>>>> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-
>>>>>>>>> general
>>>>>>>>> HINT: to Google archives, try  '<keywords>
>>>>>>>>> site:terrasoftsolutions.com'
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Jason Warm
>>>>>>>> jwarm@miasys.com
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> yellowdog-general mailing list
>>>>>>>> yellowdog-general@lists.terrasoftsolutions.com
>>>>>>>> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-
>>>>>>>> general
>>>>>>>> HINT: to Google archives, try  '<keywords>
>>>>>>>> site:terrasoftsolutions.com'
>>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> yellowdog-general mailing list
>>>>>>> yellowdog-general@lists.terrasoftsolutions.com
>>>>>>> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-
>>>>>>> general
>>>>>>> HINT: to Google archives, try  '<keywords>
>>>>>>> site:terrasoftsolutions.com'
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Jason Warm
>>>>>> jwarm@miasys.com
>>>>>> _______________________________________________
>>>>>> yellowdog-general mailing list
>>>>>> yellowdog-general@lists.terrasoftsolutions.com
>>>>>> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-
>>>>>> general
>>>>>> HINT: to Google archives, try  '<keywords>
>>>>>> site:terrasoftsolutions.com'
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> yellowdog-general mailing list
>>>>> yellowdog-general@lists.terrasoftsolutions.com
>>>>> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-
>>>>> general
>>>>> HINT: to Google archives, try  '<keywords>
>>>>> site:terrasoftsolutions.com'
>>>>>
>>>>
>>>>
>>>> --
>>>> Jason Warm
>>>> jwarm@miasys.com
>>>> _______________________________________________
>>>> yellowdog-general mailing list
>>>> yellowdog-general@lists.terrasoftsolutions.com
>>>> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-
>>>> general
>>>> HINT: to Google archives, try  '<keywords>
>>>> site:terrasoftsolutions.com'
>>>>
>>>
>>> _______________________________________________
>>> yellowdog-general mailing list
>>> yellowdog-general@lists.terrasoftsolutions.com
>>> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
>>> HINT: to Google archives, try  '<keywords>
>>> site:terrasoftsolutions.com'
>>>
>>
>>
>> --
>> Jason Warm
>> jwarm@miasys.com
>> _______________________________________________
>> yellowdog-general mailing list
>> yellowdog-general@lists.terrasoftsolutions.com
>> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
>> HINT: to Google archives, try  '<keywords> site:terrasoftsolutions.com'
>>
>
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> HINT: to Google archives, try  '<keywords> site:terrasoftsolutions.com'
>


-- 
Jason Warm
jwarm@miasys.com