View previous topic :: View next topic |
Author |
Message |
bojo n00b
Joined: 28 Jun 2002 Posts: 5 Location: Fairbanks, Alaska
|
Posted: Fri Jun 28, 2002 7:27 pm Post subject: Kernel sees scsi information, but cannot fdisk the drives |
|
|
I have a spare machine here at work that I am attempting to install Gentoo on. I have installed Gentoo on machines with IDE drives, but this is my first attempt at a machine with SCSI.
dmesg reports the fact that it sees my controller card on bootup, as well as the cdrom and harddrive attatched to it. This is verified when I cat /proc/scsi/scsi
The problem is the fact that I cannot fdisk any /dev/sd* drives (no such devices exist), and when I follow all the paths within /dev/scsi/ there's no device to attatch to at the end.
I think I am overlooking something, and appreciate any help I can find. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Fri Jun 28, 2002 7:38 pm Post subject: |
|
|
Does the SCSI CD drive work? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
bojo n00b
Joined: 28 Jun 2002 Posts: 5 Location: Fairbanks, Alaska
|
Posted: Fri Jun 28, 2002 9:12 pm Post subject: |
|
|
Yes, the cd drive boots the disk fine, but there is no cdrom device to mount (which creates a problem further on into the installation obviously).
Is there a method to make scsi devices register in /dev that I am missing? |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Fri Jun 28, 2002 9:23 pm Post subject: |
|
|
Is this at all helpful?
Note: I found MAKEDEV under /usr/sbin/MAKEDEV _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
bojo n00b
Joined: 28 Jun 2002 Posts: 5 Location: Fairbanks, Alaska
|
Posted: Fri Jun 28, 2002 9:41 pm Post subject: |
|
|
Unfortunately, MAKEDEV doesn't appear to exist on the initial 16mb boot system. Earlier I thought it would be in /dev should it exist, but the command 'which MAKEDEV' returns nothing. I also verified that it does not live in any of the bin or sbin directories (just to be sure that which was actually behaving correctly).
mknod does exist however, and I may have to figure out how to create my scsi hard disk and cdrom fs devices in order to use them during the install itself. I think if I can get that far, and build a new kernel, things might go more smoothly.
Thank you for the help so far. |
|
Back to top |
|
|
bojo n00b
Joined: 28 Jun 2002 Posts: 5 Location: Fairbanks, Alaska
|
Posted: Fri Jun 28, 2002 9:49 pm Post subject: |
|
|
Through a little google research, I was able to build /dev/sda with the following:
mknod /dev/sda b 8 0
From there fdisk recognized the complete drive, and I am now able to partition it, and mount it. I will try the same for the scsi cdrom.
Thanks for pointing me in the right direction. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Fri Jun 28, 2002 10:24 pm Post subject: |
|
|
No problem, glad it was helpful. You'd think the install would do this though. Anyone think this might be a 'bug'? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
Guest
|
Posted: Fri Jun 28, 2002 10:24 pm Post subject: |
|
|
I had this very same problem tonight. The same command worked for me, thanks!!! Now, when I reboot will I still have that node??? |
|
Back to top |
|
|
bojo n00b
Joined: 28 Jun 2002 Posts: 5 Location: Fairbanks, Alaska
|
Posted: Fri Jun 28, 2002 10:42 pm Post subject: |
|
|
Anonymous wrote: | I had this very same problem tonight. The same command worked for me, thanks!!! Now, when I reboot will I still have that node??? |
Well, the node you actually created was in the virtual file system your install creates. If I recall, when you build a new kernel it creates your device files for you, so if you built a new kernel during the install (which it has you do) you shouldn't have any problems.
If you do have problems on the other hand, just boot off your install cd, mount your root system ( mount /dev/sda3 /mnt for example ), and use the mknod command to create /mnt/dev/device. I imagine this will work as intended, but I don't think you'll have to go that far. |
|
Back to top |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Sat Jun 29, 2002 5:29 am Post subject: |
|
|
did you try to modprobe the driver for your host adapter adn load the sd_mod before trying fdisk? |
|
Back to top |
|
|
|