Hardware :: Disks Seen In Same Order Than Slot Numbers

Dec 4, 2009

A linux box equipped with LSI MegaRAID SAS1078 controller has 4 SAS disks slots. Slots 1+2 holds disks that have been configured (using the LSI bios interface at boot time) as raid-mirror array (hence exported by the controller as one unique LUN). Slots 3 & 4 each holds disks that are not configured as RAID ("direct attached devices" or "raw devices"). The "scan order" numbers for each disk, as reported by the controller interface, are in the same order than the "slot numbers".

Grub (installed on MBR of slot 1+2 LUN) sees:
* slot 1+2 LUN as hd0
* slot 3 disk as hd1
* slot 4 disk as hd2

The Grub boot command says:
root (hd0,1)
kernel /vmlinuz-2.6.16 root=/dev/sda3
initrd /initrd-2.6.16.img
(hd0,0) is swap
(hd0,1) is /boot
(hd0,2) is /

The linux distro is SUSE (SLES10 SP2). Grub boots correctly (disks in slots 3 & 4 are empty, even no partitions; and as expected, grub tab-auto-completes hd0 with available partitions; on the other hand, grub also sees hd1 and hd2 with the the tab completion, but eventually without partitions behind).

Now the problem: The kernel loads, initrd as well with its bunch of modules, and then harddrives are detected by the scsi driver and there I see: ...
SCSI device sda: ...
sda: unknown partition table ...
SCSI device sdb: ...
sdb: unknown partition table ...
SCSI device sdc: ...
sdc: sdc1 sdc2 sdc3 sdc4 < sdc5 sdc6 sdc7 sdc8 sdc9 > ...

Indeed, shortly after, the sysinit fails mounting FS (because FSTAB addresses directly /dev/sdaN and not UUIDs nor UDEV persistent names). Please note that I do not want to use UUIDs nor LABELs (for personal reasons it's no use to detail here). I tried to change the disk order at the LSI raid bios level, but:
* this interface cannot change priority for LUNs, only for raw devices (and these raw device priorities are set according to slot numbering)
* Grub indeed sees disks correctly, so I think the problem happens only at the linux stage, not earlier.

I tried to look at UDEV persistent rules (in the /etc as well as in the initrd.img/etc after a cpio extract), but there is nothing human readable (nor any obvious aliases, like those we can find for eth cards for instance). It seems that linux sees hardware raid arrays after raw disks, though raw disks are in farther physical slots (and with higher ordering number on the controler) and hence orders them incorrectly. And that's not the behaviour I expect, since I thought the hardware RAID LUNs were seen exactly as raw devices at the linux level, so raid or not should not make any difference in the disks order.

All this story is rigorously reproductible after several boot attempts (i.e. no random discovery here). Is it related to existing udev rules (default rules from SLES10 SP2) I did not find? Or to some missing udev rules (explicit aliases) I should have added? Or to some other udev mechanism I should get rid of (or even get rid of udev completely!)? Or to something else (not udev related... perhaps the fact I also have LVMs and software raid management...)?

View 12 Replies


ADVERTISEMENT

Ubuntu :: PCMan File Manager File/folder Numbers In Wrong Order?

Jul 25, 2011

I have recently switched to using LXDE on my PC and I am on the whole pretty pleased with it. However,PCMan is giving me a really odd problem. Some of the files/folders are being displayed in the wrong order where they contain numbers. They are being ordered by their first digit not the whole number.

[Code]...

View 5 Replies View Related

Programming :: Create Inverted Files To Associate Files To Numbers ( Numbers Being The Index Of My Paths )?

Apr 4, 2011

am writing a small search program for my class. I have decided to use indexing for my program. Ive researched online about indexing and how search engines do it. If im gonno do that I need to create inverted files to associate files to numbers ( numbers being the index of my paths ) . Now I was wondering what would be the best way to create an inverted file ? I was going to create sql tables using mysql api in C but then again there is no array data type or vectors to store few numbers in a single column in mysql and it is not advised to use Enum or SET

View 14 Replies View Related

Debian Hardware :: Servers Which Contain SATA Disks And SAS Disks?

Feb 25, 2010

I have servers which contain SATA disks and SAS disks. I was testing the speed of writing on these servers and I recognized that SAS 10.000 disks much more slowly than the SATA 7200. What do you think about this slowness? What are the reasons of this slowness?

I am giving the below rates (values) which I took from my test (from my comparisons between SAS 10.000 and SATA 7200);

dd if=/dev/zero of=bigfile.txt bs=1024 count=1000000 when this comment was run in SAS disk server, I took this output(10.000 rpm)

(a new server,2 CPU 8 core and 8 gb ram)

1000000+0 records in
1000000+0 records out
1024000000 bytes (1.0 GB) copied, 12.9662 s, 79.0 MB/s (I have not used this server yet) (hw raid1)

[Code].....

View 3 Replies View Related

Ubuntu Installation :: Which Disks Can Be Main Boot Disks

Mar 31, 2010

I have/had a PC with several hard drives, and a mix of ubuntu and windows on multi boot.The old boot drive died screaming, and I need to start again. (But my data is safe! yay!)

Is there anything special about which drive can be the main drive to start booting from? Or to put it another way, can I install to any of the other 3 and expect it to work, or do I need to switch them around so a different drive is on the connections for the recently dead one?

View 2 Replies View Related

General :: Use Sort Command For Its Ascending Order And Descending Order?

Aug 18, 2010

in my text file of 5 columns 2 column is in DDMMYYYY format. (ie DATE OF BIRTH). how to use sort command for its ascending order and descending order.

Is the same can be use for the date format YYYYMMDD ?

View 3 Replies View Related

Ubuntu :: Control The FAN Of My VGA Slot ?

Jan 1, 2011

The Linux have automatically found drivers for my ATI 4850.The only option that i don't see inside the control center of the Linux is where can i control the FAN of my VGA Slot ?

View 9 Replies View Related

Hardware :: Second RAM Slot Not Working.

Feb 27, 2010

My friend recently bought a memory upgrade for another friend, when i was round at his house i tried to install it for him. Usually this thing is fairly simple, just plug it in and go.

The problem is the second ram slot appears to not be working. i have tried each module on their own in the first ram slot, both working fine. I tried them both on the second ram slot, the computer seems to fail POST, (no case speaker or LED display, but the screen stays black)

also, putting them both in has the same effect. sorry about the [DOT] & [SPACE] but the link is broken otherwise Motherboard: Gigabyte GA-945GZM-S2 -- www[DOT]gigabyte.com.tw/Products/Motherboard/Products_Spec.aspx?ClassValue=Motherboard&ProductI[SPACE]D=2467&ProductName=GA-945GZM-S2 RAM: (2x) Corsair VS1GB667D2 -- scan.co.uk/products/1GB-Corsair-Value-Select-DDR2-PC2-5300-%28667%29-240-Pin-Non-ECC-Unbuffered-CAS-5-5-5-15 User Manual: europe.giga-byte.com/FileList/Manual/motherboard_manual_ga-945gzm-s2_3.x_e.pdf

The clock rating on these modules are a little high for that board, but I thought they would automatically underclock at the very least for them to both work.

I tried to reset the CMOS, but couldn't find the jumper, so i just took out the battery for 5 mins, does it have the same effect?

View 7 Replies View Related

Hardware :: PCI-e 1x Card Work In Its 8x Slot?

Aug 24, 2009

My server has 1 - PCI-e 1x slot and 2 - PCI-e 8x slot. Can I plug a 1x sata card into the 8x slot? Will it work? or do you have to have a 8x card?

View 1 Replies View Related

Fedora Installation :: Boot After Hdd Change To Second Slot?

Jan 31, 2009

I tried to install Fedora 10 with an encrypted root-filesystem on my Laptop. The problem was, that I wanted to install to the second hdd which resides in the extension slot of the laptop. I can either have the dvd-drive or the hdd in the slot. So I removed the internal hdd, and inserted the second one in its place. That way I could use the dvd. The installation went fine and I could boot into the OS. Then I removed the hdd again and inserted the original hdd to the internal slot, and the fedora-hdd in the extension slot. I can select during power-on from which hdd i want to boot, but I cannot boot fedora. After the first dialog, where I can enter the password to decrypt the disk, I get an error message (something like drive not found). I tried to change the grub settings in the /boot partition (which is not encrypted), but without success.

So, is there a way to boot the system? Or how do I install Fedora on the second hdd without the dvd-drive?

View 8 Replies View Related

OpenSUSE Hardware :: How To Enable / Disable Pci Slot

Apr 6, 2010

Can somebody tell me how to enable/disable a pci slot.I am trying to do a hotplug on the pci slot.Is it possible in Open SUSE? If its possible can somebody please tell me how to do it.I was doing some research and went over the following topics hwup, hwdown, sysfs, but nothing worked.My confidence on Linux OS is pretty high and am sure there should be a way!

View 1 Replies View Related

Ubuntu :: Green Slot On Desktop Panel?

Feb 26, 2010

Ever since I upgraded to 9.10 I have had 2 green slots on the panel at the top of the desktop. Both slots have a lighter green bar that oscillates back and forth. I attach a screen slot with he slots circled in red. Looking at other desktops posting on the forums I gather this is not normal but I cannot find what causes it.

View 4 Replies View Related

Ubuntu :: Card Slot Not Working - Vista OK

Jul 31, 2011

I have a dual boot HP laptop that has an SD/MMS/XD card slot as well as an Acer Aspire One netbook that has two card slots.

On my HP laptop the card slot works fine with Vista but is not recognised when I boot in to Ubuntu.

On my netbook the original supplied Linpus OS obviously recognised both slots, when I load Ubuntu only one slot is recognised.

I have a USB card reader for the HP and the Acer has two slots anyway

View 3 Replies View Related

Red Hat / Fedora :: Autoload A Module In Pci-express Slot?

Jan 14, 2010

autoload a module in my pci-express slot for every boot.For me to load the module, i need to:(i) enter /ixpio directory in root's home.(ii) type "./ixpio.instCan I do an autoload by doing this?as root: edit /etc/rc.d/rc.local and put the lines:-"cd ixpio""./ixpio.inst"

View 2 Replies View Related

General :: SD Slot Recognition Post Bootup?

Feb 21, 2010

I have an Acer Aspire One "netbook" that has 2 SD slots. If I insert and try to mount an SD card post bootup it can't detect the card (not listed in fdisk -l, and no messages generated to dmesg). Almost as if the slot isn't functioning.

The weird thing is, if I boot the computer up with the SD card IN the slot, it picks it up no problem, shown in fdisk as /dev/mmcblk0p1, and I am able to mount it no problem. I am also able to unmount and remove the card and the SD slot continues to function normally. Although I can boot up the computer with the SD card in the slot with no issues, I'd like to be able to have that "slot" active on boot even if I don't have a card in it.

A few more details, Im running slackware 13 with fluxbox wm.

View 6 Replies View Related

Ubuntu Installation :: Boot With Usb Slot It Doesn't Get Read?

Jan 2, 2011

I have a sandisk cruzer 4gb and everytime i try to boot with it in the usb slot it doesn't get read. after bootup i have to pull it out and put it back in and then it recognizes and reads it. have usb device selected as first boot order and have even hit esc during bootup and selected usb as boot device. trying to install the unbuntu 10.10 on the netbook.

View 1 Replies View Related

Hardware :: Broadband (Integrated SIM Card Slot) Not Recognized?

Jun 5, 2011

I've just installed the latest version of Ubuntu (11.04) on my Lenovo S10-3 netbook. Everything works just fine, except the mobile mobile broadband.

The system doesn't seem to recognize the (integrated) SIM card slot. The SIM card slot is already integrated (it's located under the battery). I can add a new broadband connection manually, but it still doesn't work (I can't select it from the available connections). If I open-up the additional drivers manager, it doesn't show me any available drivers.

View 2 Replies View Related

Networking :: Find Out Download/upload Speed Of Each Slot?

Apr 13, 2010

from vuze(bit torrent client) it shows my total download speed to be 20.56 KB/s....while my network monitor tool shows a speed around 72.41 KB/s. Similar is the case with upload speed. In much simple words the download/upload speed that vuze shows appears to be less than that shown by the network monitor tool.I must mention that at the time vuze was running there was no other simultaneous downloads.I don't understand why this is so?Is there any tool that can give me the exact information of downloading & uploading speed or rather any tool that can give me the details of uploads/downloads presently going on.

View 2 Replies View Related

Fedora Servers :: Condor - Slot Specific Arguments To Jobs?

Mar 28, 2010

We're using condor at work to have cluster processing of java jobs. I know how to tell condor to require that a given job should be run on a particular slot. You can put on the Requirements string in the submit file a "Name" value(s) -->

Example:
Requirements = ".. Name == slot1@host*.domain.net || Name == slot2@host*.domain.net"

Which would tell condor to only run that job on slots 1 or 2. But what I need next is some way to have condor modify the arguments string depending on the slot it used. Our condor blades have 8 slots per machine but only two CUDA Tesla cards per host, so I want to dedicate slots 1 and 2 for using the Teslas and slots 3-8 for not using CUDA.

My java code has a java '-D' property so I can tell it to use CUDA or not, but then I
have to have a way to configure condor to append that to the job arguments if
the slot is 1 or 2 or not append it otherwise; So I want this arguments list passed for slot1 or 2

"Main.start -Djava.library.path=/usr/local/cuda/lib64 -Dcuda"
and this for slots 3-8:
"Main.start -Djava.library.path=/usr/local/cuda/lib64"

I don't want to just make the developers hack their submit files to put the
-Dcuda on the arguments line in combo with their adding the Name entry for
slot1 | slot2 because that seems error prone to me.
I want condor itself to add the JVM -Dcuda argument when it's slot 1 or 2 to reduce errors because these jobs take a long time and a mistake wastes lots of time.

View 1 Replies View Related

Ubuntu / Apple :: Lost Audio IMac Slot Loader?

Jul 8, 2010

MY new install of 10.04 was working great on the iMac G3 . I was so impressed, but then my sound stopped working. I hear the "BONG" at start up but no sound in ubuntu.

View 4 Replies View Related

Hardware :: USB Pendrive Doesn't Mount Unless In USB Slot Prior To Boot

Apr 16, 2011

Acer Aspire One Netbook 532h
Ubuntu 10.10

USB pendrive doesn't mount unless in USB slot prior to boot.

View 2 Replies View Related

Networking :: Find Whether Interface Is (onboard) Or External (attached On Pci Slot )?

Feb 19, 2010

I want to know if there any way to find out interface of Linux Box(Suse 9>)is onboard or externally attached (pci slot)?

Note:- This is a problem which I am facing in my work. In onsite server we need to configure n/w card too. So some time when we configure, I'm confusing which interface should be configured. Client insisting us to configure embedded(onboard) interface. How to find out that.

View 4 Replies View Related

General :: SD Slot Not Working On Acer Aspire One With Ubuntu 10.10 Desktop?

Apr 24, 2011

My sd slot is not working at all, doesn't recognize it. I think it may have something to do with having the desktop version installed but I could be wrong. I was only introduced to linux 4 weeks ago and am not very familiar with it, but already know I like it more than windows! I have tried three different sd cards and they all work in my other laptop with Windows 7.

View 5 Replies View Related

Fedora Installation :: 14 Live CD Freezes On Boot Probing PCMCIA Slot?

Apr 3, 2011

I have a Toshiba a105-s2236 laptop and am trying to install Fedora 14. Is there any way to tell Fedora not to look for the pcmcia slots on boot? My live CD is freezing at the point where it tries to probe the pcmcia socket IO port.

I tried adding the 3 to get to a console, but that fails as well. I had to add acpi=off to the kernel boot args to even get it to go this far.
Even using the nopcmcia option, it still tries to probe the socket's IO port.

View 7 Replies View Related

Ubuntu Networking :: Install The Wireless Card In Desktop's Pcie X16 Slot?

Jan 29, 2010

i am going to buy a netgear wpn311 internal wireless networking card for my desktop i believe it has an atheros chipset.

can i install the wireless card in my desktop's pcie x16 slot?

View 1 Replies View Related

Ubuntu Networking :: Difference In Using Laptops Vs A Pci Slot Desktop Video Card?

Aug 7, 2011

Bought a couple new cards to do some bitcoin mining (just an experiment) and before I hook them up I want to know how to use p2pool. im not that good with ports and was wondering how to correctly configure it. I keep getting Bitcoin is downloading blocks errors.

Edit: Im also getting a low mhash rate of 1.5. Is this correct for a geforce 9400m? Im not too worried about it after I use these new cards. and is there a difference in using laptops vs a pci slot desktop video card?

View 1 Replies View Related

General :: Boot An SD Card On A Notebook That Does Not Have BIOS Support For Booting From The SD Slot?

Feb 9, 2011

I'm trying to boot an SD card on a notebook that does not have BIOS support for booting from the SD slot. Using various how-to's I've figured out how to add additional SD card modules to the initrd.img file on a bootable USB drive such that I can boot Linux installed on the SD card.

However, best I can tell, it loads the kernel and initrd.img from the USB and everything else from the SD card. What I really want is to load the necessary SD modules from the USB and then chainload the SD card such that whatever kernel is on the SD card is loaded instead. Is it possible to chainload to another bootable device after the kernel (with the SD module additions) has already been loaded?

View 14 Replies View Related

Fedora Hardware :: Aspire One (A110) Suspend Fails With SDHC Card In LH Slot.

Dec 25, 2009

F12 on my aspire one (A110, the original 8Gb SSD model) works well with only one significant problem.

Suspend fails; the screen fades to black, backlight stays on, macine stops responding to keyboard/mouse/powerswitch and just hangs (for at least an hour... longest I left it). Only thing that works is a 5 second click of death on the powerswitch. Plus an FSCK on at least one occasion after reboot. I have not been able to check if SSH and shutdown possible (on vacation) plus have logs go to a tmpfs (to save my SSD) so no log info. Similarly I cannot confirm if this affects hibernate because I run without a swapfile (SSD again, i.5Gb ram installed and I have never come even close to running out of memory).

But I think I have the culprit anyway:[url]

As described there; shutdown fails if there is a mounted card in the cardreader slot (/dev/mmcblk0) My system has a 4Gb SDHC card in the LH slot with a single XFS filesystem; which has my homedir on it; if I unmount that filesystem (but do not remove the card) shutdown and restore appear to work properly. But if the filesytem is mounted I get the bsod. Linked bug suggests this is restricted to large filesystems (?SDHC?) but I have not fully confirmed, although that matches my situation.

Posting here to see if anyone has any further info/workarounds, to ensure the fedora crew are aware that this appears to affect F12 (and is a regression, F11 suspended fine) and make sure it is documented somewhere. The linked bug also states similar bad suspend activity on other netbooks.

I'll try some other variations (and see if it also happens with USB sticks/RH cardrader, and report back here.

View 6 Replies View Related

Hardware :: How To Identify "Multi Card Slot"

Jun 29, 2010

How to identify "Multi Card Slot" hardware? The computer is a Samsung N150 netbook which has an optional "Multi Card Slot". Contacts can be seen inside the slot so the option is presumably fitted. According to the N150 manual it can read SD, SDHC and MMC cards.

There's nothing I can identify as a "Multi Card Slot" reader in /var/log/dmesg or messages and nothing in lspci or lsusb output. I'm no expert on such card readers so the device might be there and I can't identify it. There is a UHCI controller but isn't that only for Firewire? I don't have any of these cards so cannot try booting with one plugged in until I can borrow one.

The reason for wanting to identify the card reader is that I'm building a kernel which only has support for the actual hardware. AFAIK the N150 has no PCMCIA devices so I'm thinking to drop that from the kernel. Is it likely that the card reader is supported via PCMCIA in a similar way to USB drives being supported via SCSI?

Here's lspci output

Code:

00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller

[code]....

View 3 Replies View Related

Debian Multimedia :: Can Put PCIE X16 Card In PCIE X1 Slot?

Jun 28, 2010

I have fairly new requirement for a second monitor. My main display is running fine using nvidia proprietary drivers.I do have a pcie (probably x16) video card sitting around, but my motherboard only has 1 x16 slot (used by my main display), 2 x1 slots and a few pci slots. From memory, the second video card is an ATI card.Questions:

1. Can I put a PCIE x16 card in a PCIE x1 slot?

2. Would using 1 Nvidia card and 1 ATI cause trouble?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved