Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
connecting HDD to a raid controller [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
dimdom
n00b
n00b


Joined: 02 Feb 2007
Posts: 6

PostPosted: Thu Feb 15, 2007 12:35 pm    Post subject: connecting HDD to a raid controller [SOLVED] Reply with quote

Hi I am new with Linux... I have some problems. Can anybody help me?


- two HDDs: no1 is primary master /dev/hda (1,2,3) - for the gentoo - no problem
the 2nd HDD is connected to a raid controller on the Abit KG7-RAID motherboard.
With SuSE or Knoppix live CD I could see (and Mount) it as /dev/hde1, /dev/hde2.
In Gentoo I have no /dev/hde, Only /dev/hda (and /dev/hdc, /dev/hdd for the cd/dvd).

- With every restart I have a new /etc/resolve.conf file generated. This way I have to set the nameserver every time I restart the PC.

- Grub works fine, but the graphics is bad -unreadable- during the menu and until about the half of the booting of Gentoo.

- Safely remove USB card-reader/mp3 player - after hitting "safely remove" in KDE (system:/media) the light on the card-reader stays on, the mp3 player still shows the connection... Can I remove them without any damage ???


Thanks a lot!

dimdom


Last edited by dimdom on Sat Mar 03, 2007 12:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Thu Feb 15, 2007 2:15 pm    Post subject: Reply with quote

- maybe you do not have the needed driver in your kernel
- look at /etc/conf.d/net.example
- maybe you have the wrong framebuffer driver in your kernel
- look at dmesg if the device is really unmounted
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Fri Feb 16, 2007 12:53 am    Post subject: Re: connecting HDD to a raid controller Reply with quote

dimdom wrote:
the 2nd HDD is connected to a raid controller on the Abit KG7-RAID motherboard.
...
In Gentoo I have no /dev/hde, Only /dev/hda (and /dev/hdc, /dev/hdd for the cd/dvd).

You want to select this driver in your kernel.
Code:
Device Drivers  --->
  ATA/ATAPI/MFM/RLL support  --->
    <*>         HPT36X/37X chipset support



dimdom wrote:
- Grub works fine, but the graphics is bad -unreadable- during the menu and until about the half of the booting of Gentoo.

This is due to the splashimage line in grub.conf
Any typos here, or an incorrect path will cause a corrupted screen.

The quick and easy solution is to remove the splashimage line, or comment it out.


dimdom wrote:
- Safely remove USB card-reader/mp3 player - after hitting "safely remove" in KDE (system:/media) the light on the card-reader stays on, the mp3 player still shows the connection... Can I remove them without any damage ???

Yes, it is safe to remove them after unmounting.

I think you can make the light go out by unloading the driver, but this is not needed.
Code:
# modprobe -r usb-storage
Back to top
View user's profile Send private message
dimdom
n00b
n00b


Joined: 02 Feb 2007
Posts: 6

PostPosted: Sat Feb 17, 2007 5:27 pm    Post subject: Re: connecting HDD to a raid controller Reply with quote

Thanks! The grub is OK now!



[quote="cyrillic"]
dimdom wrote:
the 2nd HDD is connected to a raid controller on the Abit KG7-RAID motherboard.
...
In Gentoo I have no /dev/hde, Only /dev/hda (and /dev/hdc, /dev/hdd for the cd/dvd).

You want to select this driver in your kernel.
Code:
Device Drivers  --->
  ATA/ATAPI/MFM/RLL support  --->
    <*>         HPT36X/37X chipset support



It is selected. :(
Do you have any idea what else could be missing?
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sat Feb 17, 2007 6:57 pm    Post subject: Re: connecting HDD to a raid controller Reply with quote

dimdom wrote:
It is selected. :(

If your kernel has support for the Highpoint controller, then the kernel should have something to say about it in dmesg (possibly some error messages) when the harddrives are getting detected.
Code:
# dmesg | less
Back to top
View user's profile Send private message
dimdom
n00b
n00b


Joined: 02 Feb 2007
Posts: 6

PostPosted: Sun Feb 18, 2007 10:15 am    Post subject: Re: connecting HDD to a raid controller Reply with quote

cyrillic wrote:
dimdom wrote:
It is selected. :(

If your kernel has support for the Highpoint controller, then the kernel should have something to say about it in dmesg (possibly some error messages) when the harddrives are getting detected.
Code:
# dmesg | less



# dmesg | less

VP_IDE: not 100% native mode: will probe irqs later <<--- could be the problem?

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:07.1
PCI: VIA IRQ fixup for 0000:00:07.1, from 255 to 0
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci0000:00:07.1
ide0: BM-DMA at 0xa400-0xa407, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xa408-0xa40f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
input: AT Translated Set 2 keyboard as /class/input/input0
input: GenPS/2 Genius Mouse as /class/input/input1
hda: MAXTOR 6L040J2, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: HL-DT-ST DVDRAM GSA-4163B, ATAPI CD/DVD-ROM drive
hdd: HL-DT-ST GCE-8160B, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 78177792 sectors (40027 MB) w/1819KiB Cache, CHS=65535/16/63, UDMA(33)
hda: cache flushes supported
hda: hda1 hda2 hda3 hda4
hdc: ATAPI 40X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache, DMA
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11


how can I check the IRQs?
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Sun Feb 18, 2007 10:57 am    Post subject: Reply with quote

Moved from Installing Gentoo to Kernel & Hardware.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sun Feb 18, 2007 5:53 pm    Post subject: Re: connecting HDD to a raid controller Reply with quote

dimdom wrote:
VP_IDE: not 100% native mode: will probe irqs later <<--- could be the problem?

This part is OK, because your VIA IDE controller (hda, hdb, hdc, hdd) is working properly.

The problem is that the kernel you are running does not appear to support your Highpoint IDE controller (or else you would see HPT37x somewhere in the dmesg output).

If you already have reconfigured your kernel to include the Highpoint driver, then you just need to recompile, install, and boot the modified kernel, and then everything should work.
Back to top
View user's profile Send private message
dimdom
n00b
n00b


Joined: 02 Feb 2007
Posts: 6

PostPosted: Fri Feb 23, 2007 12:12 am    Post subject: Re: connecting HDD to a raid controller Reply with quote

cyrillic wrote:

If you already have reconfigured your kernel to include the Highpoint driver, then you just need to recompile, install, and boot the modified kernel, and then everything should work.


Yes, you are right! Thanks!
I did a stupid mistake.
I tried to set up framebuffer support, but I have a problem there (the boot stops at -- vesafb:no monitor limits have been set / vesafb: scrolling: redraw) ...so I had to return to the former kernel (with no framebuffer). This way I had the old kernel, but in the menuconfig I saw the new setup... :)
I tried to do gensplash (following: http://gentoo-wiki.com/HOWTO_fbsplash) but with the same result, so I cancelled framebuffer support, recompiled the kernel - this way I can run the new kernel :) and now I can see /dev/hde
Thanks a lot!


well, I wonder what DMA type it uses.
abit KG7-RAID supports ATA/100 (ultra DMA 100MB/sec data transfer rate)

# dmesg | less only says: HPT37X: using 33MHz PCI clock

How can I check it?
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Fri Feb 23, 2007 5:27 pm    Post subject: Re: connecting HDD to a raid controller Reply with quote

dimdom wrote:
well, I wonder what DMA type it uses.
abit KG7-RAID supports ATA/100 (ultra DMA 100MB/sec data transfer rate)

# dmesg | less only says: HPT37X: using 33MHz PCI clock

A 33MHz PCI bus speed is normal. The DMA speed will be shown further down in dmesg, when the drives are detected.
Back to top
View user's profile Send private message
dimdom
n00b
n00b


Joined: 02 Feb 2007
Posts: 6

PostPosted: Thu Mar 01, 2007 4:25 pm    Post subject: Re: connecting HDD to a raid controller Reply with quote

ok, so it works fine, THANKS!

another stupid question:

Now I can see and execute everything on /dev/hde1,2,3
but everything is owned by root and is in the root group
So as user I can't write to /mnt/data1,2,3 where /dev/hde1,2,3 are mounted (FAT32)
As root I can't change the owner/group. (I can write/delete)

dimdom ~ # cd ~
dimdom ~ # pwd
/root
dimdom ~ # chown -Rv dimdom:dimdom /mnt/data3/11
chown: changing ownership of `/mnt/data3/11': Operation not permitted
failed to change ownership of `/mnt/data3/11' to dimdom:dimdom
dimdom ~ #


dimdom ~ # ls -l /mnt
total 80
drwx------ 2 root root 4096 Aug 3 2006 -cdrom
drwxr-xr-x 2 root root 4096 Jan 25 11:09 cdrw
drwxr-xr-x 14 root root 16384 Jan 1 1970 data1
drwxr-xr-x 21 root root 16384 Jan 1 1970 data2
drwxr-xr-x 10 root root 8192 Jan 1 1970 data3
drwxr-xr-x 2 root root 4096 Jan 25 10:54 dvdrw
drwx------ 2 root root 4096 Aug 3 2006 floppy
drwxr-xr-x 2 root root 4096 Feb 2 11:41 ramfs
drwxr-xr-x 2 root root 4096 Jan 29 16:17 usb
drwxr-xr-x 9 root root 16384 Jan 1 1970 xp
dimdom ~ #


dimdom ~ # mount
/dev/hda3 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
/dev/hda4 on /mnt/xp type vfat (rw,noatime)
/dev/hde1 on /mnt/data1 type vfat (rw,noatime)
/dev/hde2 on /mnt/data2 type vfat (rw,noatime)
/dev/hde3 on /mnt/data3 type vfat (rw,noexec,nosuid,nodev,noatime)
shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
dimdom ~ #

I'd like to own everything by dimdom on /dev/hde.
What did I wrong?

thanks, dimdom
Back to top
View user's profile Send private message
dimdom
n00b
n00b


Joined: 02 Feb 2007
Posts: 6

PostPosted: Sat Mar 03, 2007 9:26 am    Post subject: Re: connecting HDD to a raid controller Reply with quote

SOLVED

/etc/fstab:
uid=1000,gid=1000 ---- was missing
Back to top
View user's profile Send private message
linuxtuxhellsinki
l33t
l33t


Joined: 15 Nov 2004
Posts: 700
Location: Hellsinki

PostPosted: Sat Mar 03, 2007 9:37 am    Post subject: Reply with quote

Maybe you could edit your 1st post's subject line and add [Solved] in it :wink:
_________________
1st use 'Search' & lastly add [Solved] to
the subject of your first post in the thread.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum