LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-14-2006, 03:25 PM   #1
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Rep: Reputation: 36
SCSI HD device problem...


Hi.

I installed a slackware-current box with 3 SCSI devices. I made several partitions and all went fine... until the box rebooted with an USB disk drive plugged in. After the reboot, the USB disk had become the device "sda" and the other devices were "shifted by one".

Any idea or suggestion? Shouldn't there be a "bus priority" between the SCSI bus and the USB bus when assigning devices? I thought about creating some udev rule but I don't sort of... like this solution.

EDIT: I'm using kernel 2.6.17.13

Last edited by crisostomo_enrico; 09-14-2006 at 03:29 PM.
 
Old 09-15-2006, 06:16 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Not a slack user but one would think the scsi would come before usb. Here are a few of my thoughts.
1. Make sure bios boot squence puts usb last if usb boot is available.
2. In the kernel I would make scsi and usb as modules if already not.
3. Now as modules load the scsi modules first either in /etc/modprobe.conf or if it is /etc/modules.conf.
4. Maybe load usb modules in a script much later during the boot.
5. Othr thought is build scsi into the kernel and leave usb as modules.

Brian1
 
Old 09-15-2006, 08:47 PM   #3
number22
Member
 
Registered: Sep 2006
Location: Earth
Distribution: Slackware 14.1 Slackware64-current multilib
Posts: 278
Blog Entries: 7

Rep: Reputation: Disabled
compile your kernel with scsi support in the bzImage, not as moudle, since you are using it to boot are you? compile the all usb devices support as moudules.

sorry Brian, didn't read through your post at first.

Last edited by number22; 09-15-2006 at 08:50 PM.
 
Old 09-16-2006, 06:18 AM   #4
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Original Poster
Rep: Reputation: 36
Thanks Brian1 and Number22!

Well, I didn't build a new kernel because I could use Pat's kernel in extra/... And I'm not modprobing it in the initrd because I'm now (now...) booting from hda3. And the SCSI adapter module, aic7xxx, is (and I left it) blacklisted in /etc/modprobe.d/blacklist. I load it from /etc/rc.modules-2.6.17.13. The point, probably, is (according to Pat) providing a dynamic /dev and force module probing at the same time. Indeed I was wondering why running rc.udev *before* modprobing modules in rc.modules, which is the real problem I'm having.
 
Old 09-16-2006, 02:11 PM   #5
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
If using an aic7xxx controller based card then I would build that into the kernel as default. In older 2.4 kernels aic7xxx needed to be built into the kernel if I remember correctly. On my zic7xxx controllers the aic7xxx is built into the kernel. Maybe I may build one as a module and see if the USB takes dominace on my system. How well that is for a rainy day project.

Brian1
 
  


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
SCSI controller as a device? tbcpp Linux - Hardware 0 08-29-2005 01:09 PM
cannot ID scsi device: modem Simon Bridge Linux - Hardware 7 05-24-2005 08:10 PM
SCSI Optical device fatzeus Linux - Hardware 0 11-19-2004 10:12 AM
[10] SCSI device not created CRX Mandriva 6 05-14-2004 03:22 PM
SCSI device name glock19 Linux - Software 3 06-10-2003 06:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:27 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
Open Source Consulting | Domain Registration