[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: USB and IDE-SCSI devices not showing up (migration from Mandrake to Debian testing).



Hello

Adam (<a24061@yahoo.com>) wrote:

> On Friday 23 January 2004 23:00, Andreas Janssen wrote:
> 
>> Did you mount the usbdevfs? Add this to your fstab:
>> 
>> usbdevfs /proc/bus/usb usbdevfs defaults 0 0
> 
> I'll try it and report back.  For info, my old (Mandrake) fstab
> contained the following "special" (other than floppy and HDD) entries:
> 
> none /dev/pts devpts mode=0620 0 0
> none /dev/shm tmpfs defaults 0 0
> /dev/hdb /mnt/cdrom iso9660 users,iocharset=iso8859-15,ro,noauto 0 0
> /dev/scd0 /mnt/cdrom2 iso9660 users,iocharset=iso8859-15,ro,noauto 0 0
> none /proc proc defaults 0 0
> 
> whereas my current fstab has these:
> 
> /dev/hdc        /cdrom  auto    ro,user,noauto  0 0
> proc    /proc   proc    defaults        0 0

You need to add the line for usbdvfs to make is accessible under
/proc/bus/usb.

>> Did you rerun lilo?
> 
> Well, I rebooted!

That doesn't mean anything. You must rerun lilo to save the changes to
your bootloader configuration.

>> What does dmesg | grep cd say? What does dmesg |
>> grep command say?
> 
> /home/adam $ dmesg |grep cd
> hdc: attached ide-cdrom driver.
> hdd: attached ide-cdrom driver.

This shows that your system uses the ide-cd driver indtead of ide-scsi.
That is why they aren't listed in /proc/scsi/scsi.

> /home/adam $ dmesg |grep command
> Kernel command line: auto BOOT_IMAGE=Linux root=301

See? That should be "auto BOOT_IMAGE=Linux root=301 hdc=ide-scsi
hdd=ide-scsi". Obviously it isn't. Rerun lilo. Or, as you use a module
configuration, add the following line to some file in /etc/modutils/
(/etc/modutils/ide-cd for erxample):

options ide-cd ignore=hdc ignore=hdd

next, run update-modules to save the changes to /etc/modules.conf and
unload the ide-cd driver: 

#rmmod ide-cd

Unload the ide-scsi driver:

#rmmod ide-scsi

Now reload the ide-scsi driver:

#modprobe ide-scsi.

best regards
        Andreas Janssen

-- 
Andreas Janssen
andreas.janssen@bigfoot.com
PGP-Key-ID: 0xDC801674
Registered Linux User #267976



Reply to: