Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Building a new computer, and have most of the hardware working, but I'm having problems with one of my SATA controllers.
I have 5 HDs:
1 80 GB Western Digital EIDE 7200 RPM (/dev/hda) (OS installed here)
4 160 GB Western Digital SATA 7200 model WD1600JD drives
the 4 SATA drives are split between 2 controllers, the motherboard:
MSI K7N2GM-V nForce2/IGP-64
and a PCI SATA controller card:
SATA CONTROLLER SYBA SD-SATA150 RT
Two of the hard drives are visible. I confirmed 160GB empty drives (non-partitioned) using fdisk -l /dev/sdX. /dev/sda and /dev/sdb are 2 of the 160GB drives.
There is no sign of the other two.
Other pertinent system information:
OS: Slackware 10.1 using kernel from bare.i bootdisk
Only 1 PCI card other than the SATA card which is a NIC:
ETHERNET AMIGO|10/100 ALN-101R RT
The motherboard has on-board SATA/NIC/Video/Audio
Other interesting information:
Knoppix found all 4 drives.
Mar 24 08:47:50 bserver kernel: Linux version 2.4.29 (root@midas) (gcc version 3.3.4) #6 Thu Jan 20 16:30:37 PST 2005
Mar 24 08:47:50 bserver kernel: BIOS-e820: 0000000000000000 - 000000000009f400 (usable)
Mar 24 08:47:50 bserver kernel: BIOS-e820: 000000000009f400 - 00000000000a0000 (reserved)
Mar 24 08:47:50 bserver kernel: BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
Mar 24 08:47:50 bserver kernel: BIOS-e820: 0000000000100000 - 000000001dff0000 (usable)
Mar 24 08:47:50 bserver kernel: BIOS-e820: 000000001dff0000 - 000000001dff3000 (ACPI NVS)
Mar 24 08:47:50 bserver kernel: BIOS-e820: 000000001dff3000 - 000000001e000000 (ACPI data)
Mar 24 08:47:50 bserver kernel: BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
Mar 24 08:47:50 bserver kernel: BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
Mar 24 08:47:50 bserver kernel: BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
Mar 24 08:47:50 bserver kernel: On node 0 totalpages: 122864
Mar 24 08:47:50 bserver kernel: zone(0): 4096 pages.
Mar 24 08:47:50 bserver kernel: zone(1): 118768 pages.
Mar 24 08:47:50 bserver kernel: zone(2): 0 pages.
Mar 24 08:47:50 bserver kernel: Kernel command line: BOOT_IMAGE=Linux ro root=301
Mar 24 08:47:50 bserver kernel: Detected 1660.391 MHz processor.
Mar 24 08:47:50 bserver kernel: Console: colour dummy device 80x25
Mar 24 08:47:50 bserver kernel: Calibrating delay loop... 3316.12 BogoMIPS
Mar 24 08:47:50 bserver kernel: Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
Mar 24 08:47:50 bserver kernel: CPU: AMD Athlon(tm) XP 2000+ stepping 02
Mar 24 08:47:50 bserver kernel: POSIX conformance testing by UNIFIX
Mar 24 08:47:50 bserver kernel: mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
Mar 24 08:47:50 bserver kernel: mtrr: detected mtrr type: Intel
Mar 24 08:47:50 bserver kernel: PCI: Probing PCI hardware (bus 00)
Mar 24 08:47:50 bserver kernel: Initializing RT netlink socket
Mar 24 08:47:50 bserver kernel: Starting kswapd
Mar 24 08:47:50 bserver kernel: Console: switching to colour frame buffer device 128x48
Mar 24 08:47:50 bserver kernel: pty: 512 Unix98 ptys configured
Mar 24 08:47:50 bserver kernel: RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
Mar 24 08:47:50 bserver kernel: NFORCE2-U400R: BIOS didn't set cable bits correctly. Enabling workaround.
Mar 24 08:47:50 bserver kernel: hda: WDC WD800JB-00FMA0, ATA DISK drive
Mar 24 08:47:50 bserver kernel: blk: queue c03ad460, I/O limit 4095Mb (mask 0xffffffff)
Mar 24 08:47:50 bserver kernel: hdc: SONY CD-RW CRX230ED, ATAPI CD/DVD-ROM drive
Mar 24 08:47:50 bserver kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Mar 24 08:47:50 bserver kernel: ide1 at 0x170-0x177,0x376 on irq 15
Mar 24 08:47:50 bserver kernel: hda: attached ide-disk driver.
Mar 24 08:47:50 bserver kernel: hda: host protected area => 1
Mar 24 08:47:50 bserver kernel: hdc: attached ide-cdrom driver.
Mar 24 08:47:50 bserver kernel: kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
Mar 24 08:47:50 bserver last message repeated 2 times
Mar 24 08:47:50 bserver kernel: 8regs : 2380.400 MB/sec
Mar 24 08:47:50 bserver kernel: 32regs : 1594.400 MB/sec
Mar 24 08:47:50 bserver kernel: pIII_sse : 4510.400 MB/sec
Mar 24 08:47:50 bserver kernel: pII_mmx : 3886.800 MB/sec
Mar 24 08:47:50 bserver kernel: p5_mmx : 4966.000 MB/sec
Mar 24 08:47:50 bserver kernel: raid5: using function: pIII_sse (4510.400 MB/sec)
Mar 24 08:47:50 bserver kernel: FAT: bogus logical sector size 0
Mar 24 08:47:50 bserver last message repeated 2 times
Mar 24 08:47:50 bserver kernel: reiserfs: found format "3.6" with standard journal
Mar 24 08:47:50 bserver kernel: reiserfs: checking transaction log (device ide0(3,1)) ...
Mar 24 08:47:50 bserver kernel: for (ide0(3,1))
Mar 24 08:47:50 bserver kernel: ide0(3,1):Using r5 hash to sort names
Mar 24 08:47:50 bserver kernel: VFS: Mounted root (reiserfs filesystem) readonly.
Mar 24 08:47:50 bserver kernel: reiserfs: found format "3.6" with standard journal
Mar 24 08:47:50 bserver kernel: reiserfs: checking transaction log (device ide0(3,3)) ...
Mar 24 08:47:50 bserver kernel: for (ide0(3,3))
Mar 24 08:47:50 bserver kernel: ide0(3,3):Using r5 hash to sort names
Mar 24 08:47:50 bserver kernel: reiserfs: found format "3.6" with standard journal
Mar 24 08:47:50 bserver kernel: reiserfs: checking transaction log (device ide0(3,4)) ...
Mar 24 08:47:50 bserver kernel: for (ide0(3,4))
Mar 24 08:47:50 bserver kernel: ide0(3,4):Using r5 hash to sort names
Mar 24 08:47:51 bserver cardmgr[78]: no pcmcia driver in /proc/devices
Mar 24 08:47:51 bserver kernel: shpchp: shpc_init : shpc_cap_offset == 0
Mar 24 08:47:51 bserver kernel: shpchp: shpc_init : shpc_cap_offset == 0
Mar 24 08:47:51 bserver insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: init_module: No such device
Mar 24 08:47:51 bserver insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO orIRQ parameters. You may find more information in syslog or the output from dmesg
Mar 24 08:47:51 bserver insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: insmod shpchp failed
Mar 24 08:47:51 bserver insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: init_module: No such device
Mar 24 08:47:51 bserver insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO orIRQ parameters. You may find more information in syslog or the output from dmesg
Mar 24 08:47:51 bserver insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: insmod pciehp failed
Mar 24 08:47:52 bserver kernel: Vendor: ATA Model: WDC WD1600JD-22H Rev: 08.0
Mar 24 08:47:52 bserver kernel: Type: Direct-Access ANSI SCSI revision: 05
Mar 24 08:47:52 bserver kernel: Vendor: ATA Model: WDC WD1600JD-22H Rev: 08.0
Mar 24 08:47:52 bserver kernel: Type: Direct-Access ANSI SCSI revision: 05
Mar 24 08:47:52 bserver kernel: Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
Mar 24 08:47:52 bserver kernel: Attached scsi disk sdb at scsi2, channel 0, id 0, lun 0
Mar 24 08:47:52 bserver kernel: SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
Mar 24 08:47:52 bserver kernel: SCSI device sdb: 312581808 512-byte hdwr sectors (160042 MB)
Mar 24 08:47:52 bserver kernel: shpchp: shpc_init : shpc_cap_offset == 0
Mar 24 08:47:52 bserver kernel: shpchp: shpc_init : shpc_cap_offset == 0
Mar 24 08:47:52 bserver insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: init_module: No such device
Mar 24 08:47:52 bserver insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO orIRQ parameters. You may find more information in syslog or the output from dmesg
Mar 24 08:47:52 bserver insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: insmod shpchp failed
those last lines (starting with the "shpchp: shpc_init : shpc_cap_offset == 0" are repeated several times)
I also checked /dev/hd[d-r] with no luck.
Not sure if it is the motherboard or the controller card that is not recognized, but I am thinking it is the controller card. The card is supposed to work on Linux according to the product information on newegg.
The card came with a mini CD and in the following directory, I found possibly some help:
ls /mnt/cdrom/Silicon_Image/SIL3112/Linux -1
siimage.c
siimage.h
After a slocate, I found these guys in the kernel source directory. So now I guess I have to compile the kernel...
Okay, never done this before...
After a few failed attempts of trying to configure the kernel myself I copied the sata.i/config file to my kernel source directory '.config' file. Ran:
make clean
make oldconfig
make bzImage
make install
the vmlinux it created was 3.3 MB (the original sata.i/bzImage file was 1.3 MB). Lilo can't handle the 3.3 MB.
Okay for you kernel hackers out there, what am I doing wrong? I figured this should create a vmlinux file of approximately the same size.
Tried the 2.6.10 Kernel with no luck (it hung too).
Went out and bought an adaptec controller card. That worked right out of the box with the 2.4.29 sata kernel. Should have bought a name brand card from the start.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.