Hi,

I'm in the process of setting up an iSCSI SAN server using Bering-uClibc
3.1-beta1, based on the information in Chapter 16 of the User's Guide.
Mostly it's going OK - just the usual problems identifying all of the
kernel modules required for my hardware.

One snag is that I've got 4 SATA drives, which the kernel sees as SCSI
devices. These would normally be /dev/sda, /dev/sdb, /dev/sdc
and /dev/sdd but by default the device files only exist for /dev/sda
and /dev/sdb.

I've tracked down the creation of these files to script
/var/lib/lrpkg/root.blk.mk within the initrd.lrp disk image, and by
adding extra entries and creating a revised initrd.lrp I've now got the
extra 2 device files that I need.

Would it be possible for one of the developers to add this enhancement
to the standard initrd.lrp files so that I don't have to do a local edit
next time? Personally I use the IDE initrd but I guess they should all
be kept the same in this respect.

Here's the output from "diff -c" on my edited and the original file. I
copied the major and minor numbers from another Linux installation
(Fedora 7):

*** root.blk.mk.orig    2007-09-27 21:48:52.000000000 +0100
--- root.blk.mk 2007-09-25 17:11:28.000000000 +0100
***************
*** 16,21 ****
--- 16,23 ----
  #SCSI
  makedevs sda b 8 0 0 8 s >null 2>&1
  makedevs sdb b 8 16 0 8 s >null 2>&1
+ makedevs sdc b 8 32 0 8 s >null 2>&1
+ makedevs sdd b 8 48 0 8 s >null 2>&1
  #SCSI CD
  mknod scd0 b 11 0 >null 2>&1


Thanks,

davidMbrooke


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to