From: Bruce S. <bw...@ar...> - 2007-11-01 19:31:42
|
> >>> I just stuck an IDE hard drive in the box, and it shows up as hda: > >> It probably depends on the chipset. > >> I guess the one Serge is using is only supported by a newer driver which > >> is only in libata. > > > > My emulated IDE CDROM drive in VMware-workstation also shows up > > as /dev/hda (FWIW). > > Yes, you are absolutely right. Your hardware doesn't require libata, so you see > devices in "non scsi" notation. As for me, my box requires ata_piix module not > only for sata but for pata devices as well. Till I don't see your messages I > thought that _all_ pata devices are working through libata in 2.6.23.1, that's > why I was so surprised when you post your configuration. Sorry for confusing. OK, makes sense. > I found the reason of crashes - it's my own addition. I added it to be able to > load my box without usb-drive. It may be useful but I haven't checked in the > following code, because the executing of it crashes kernel every time. > > PS. construction [ -n "$CONFIG_SRC_LIST" ] doesn't work for some reason. > ---------------------------------------------------------------------------------- > diff -aur ./linuxrc.orig ./linuxrc > --- ./linuxrc.orig 2007-10-25 15:37:57.000000000 +0400 > +++ ./linuxrc 2007-11-01 12:49:21.000000000 +0300 > @@ -231,6 +223,17 @@ > > CDROMS=$(grep -i "drive name" /proc/sys/dev/cdrom/info) > > +if echo $CONFIG_SRC_LIST | grep "/dev" > /dev/null ; then > + echo "Devices: $CONFIG_SRC_LIST" > +else > + echo "No devices were found" > + echo -n "Would you like to probe for SCSI/ATA controllers now?" > + if ask_yes_no ; then > + /probe_all_scsi_modules > + fi > +fi Is it the /probe_all_scsi_modules script that crashes your system? - BS |