View previous topic :: View next topic |
Author |
Message |
Staedtler n00b
Joined: 08 Feb 2004 Posts: 3
|
Posted: Sun Feb 08, 2004 8:52 pm Post subject: AMD64 + Promise SATA |
|
|
Yes, i know. Its been asked a million times before, but i got some questions that i feel never got answered very good.
I have:
Athlon64 3200+
MSI K8TNEO FIS2R (VIA K8T800)
Promise 20378 RAID controller chip
1x 250gb Maxtor SATA hd.
Now i obviously dont need RAID support as i only have one SATA Drive. I saw that the PDC3xx series should be supported by the new gentoo (got my liveCD+tarballs from ftp today - so should be newest).
However when i boot with:
gentoo doscsi doataraid
I have no /hda or /sda. I have used linux for years, however avoiding doing too much under the hood. So im not very experienced, and when people just tell me to "load device->scsi->promise" or similar, i dont know where? And how?.
Could someone please give a little step-by-step on howto install Gentoo on a SATA drive, like "Cd in drive, reboot, gentoo -bootoptions"->setup network->get driver etc.
I dont have a floppy drive in my machine either, i read some workarounds useing knoppix? And also some makeing a costum kernel and initrd. Could anyone please shed some more light on these issues, ive spent weeks searching forums and reading but so far ive heard success stories but no one details their install very much.
Many thanks in advance |
|
Back to top |
|
|
pross Apprentice
Joined: 30 Jul 2003 Posts: 156 Location: Ireland
|
Posted: Sun Feb 08, 2004 9:24 pm Post subject: |
|
|
my SATA drive becomes /dev/hde when i use the install cd.... _________________ My Overlay [pross] | bfs-sources |
|
Back to top |
|
|
Staedtler n00b
Joined: 08 Feb 2004 Posts: 3
|
Posted: Sun Feb 08, 2004 9:30 pm Post subject: |
|
|
All i got is /dev/hdb - i think its the ramdisk?
When i do: fdisk /dev/hdb i get this:
cdimage root # fdisk /dev/hdb
and print partiton table it is only 8.2mb in size
How did you go about useing the install CD? What boot options?
I use the LiveCD for AMD64. And no luck so far. |
|
Back to top |
|
|
Staedtler n00b
Joined: 08 Feb 2004 Posts: 3
|
Posted: Sun Feb 08, 2004 10:12 pm Post subject: |
|
|
Ok i found out the following:
dmesg i get this where it loads the fasttrak driver:
Promise Fasttrak(tm) Softwareraid driver 0.03beta: No raid array found
As i dont have raid but only one disk this make sense. So my question is, how do i work around this? Thanks |
|
Back to top |
|
|
scoobydu Veteran
Joined: 16 Feb 2003 Posts: 1076 Location: 'Mind the Gap'
|
Posted: Sun Feb 08, 2004 10:45 pm Post subject: |
|
|
Your SATA driver should appear under scsi > low level drivers when you select your options in the kernel and select SATA support;
SCSI_SATA_PROMISE
So your drive should appear under /dev/sdx, mine are sda & sdb.
Once you've go the right driver loaded then you should be ok to finish the install.
What modules are loaded when you boot the latest livecd with no options? [lsmod] _________________ Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective| |
|
Back to top |
|
|
dkaplowitz Guru
Joined: 22 Nov 2003 Posts: 596 Location: Philadelphia, PA
|
Posted: Thu Mar 11, 2004 12:06 am Post subject: |
|
|
scoobydu wrote: |
What modules are loaded when you boot the latest livecd with no options? [lsmod] |
I use the FIS2R too:
Code: |
Module Size Used by
ohci_hcd 17220 0
r8169 12416 0
sata_promise 12740 0
sata_via 4292 0
libata 35776 2 sata_promise,sata_via,[permanent]
uhci_hcd 28768 0
snd_via82xx 23392 0
snd_ac97_codec 63556 1 snd_via82xx
gameport 3904 1 snd_via82xx
snd_mpu401_uart 6400 1 snd_via82xx
snd_rawmidi 20896 1 snd_mpu401_uart
parport_pc 36696 0
parport 39532 1 parport_pc
sbp2 21896 0
ohci1394 30788 0
ieee1394 71880 2 sbp2,ohci1394
usb_storage 67008 0
hid 23616 0
ehci_hcd 23364 0
usbcore 96048 7 ohci_hcd,uhci_hcd,usb_storage,hid,ehci_hcd
|
Doing research on install now...have never installed on SATA before. I've got FreeBSD 5.2.1 working on this box (version for 64 and i386 both working), but haven't tried Gentoo yet. _________________ http://dkap.info |
|
Back to top |
|
|
scoobydu Veteran
Joined: 16 Feb 2003 Posts: 1076 Location: 'Mind the Gap'
|
Posted: Thu Mar 11, 2004 9:42 am Post subject: |
|
|
@dkaplowitz
Looking at your board specs, you have two sata controllers (I don't have the board myself, so you'll know better than me on this)
The first controller is 'Serial ATA/150 controller integrated by VT8237' and the second a 'Promise 20378 On-Board'.
That matches the modules you have loaded:
sata_promise 12740 0
sata_via 4292 0
libata 35776 2 sata_promise,sata_via,[permanent]
I would guess your VT8237 disks would show up at /dev/hde & /dev/hdg, and you promise drives show up at /dev/sda & /dev/sdb.
That said, I may be completely wrong here, but the modules that are loaded look fine, and I would expect your disks to show up. _________________ Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective| |
|
Back to top |
|
|
dkaplowitz Guru
Joined: 22 Nov 2003 Posts: 596 Location: Philadelphia, PA
|
Posted: Thu Mar 11, 2004 12:38 pm Post subject: |
|
|
Thanks for the reply, Scoobydu. The raptor I have installed on the RAID controller shows up as hdg. I was able to partition it, though it partitioned them as /hdg1p1, /hdg1p2, etc. etc. And when I try to format with for instance, it says it can't find /dev/hdg1p1. Probably just a quirk that I'm not used to looking at. I'm searching around for an answer. _________________ http://dkap.info |
|
Back to top |
|
|
scoobydu Veteran
Joined: 16 Feb 2003 Posts: 1076 Location: 'Mind the Gap'
|
Posted: Thu Mar 11, 2004 4:56 pm Post subject: |
|
|
dkaplowitz wrote: | Thanks for the reply, Scoobydu. The raptor I have installed on the RAID controller shows up as hdg. I was able to partition it, though it partitioned them as /hdg1p1, /hdg1p2, etc. etc. And when I try to format with for instance, it says it can't find /dev/hdg1p1. Probably just a quirk that I'm not used to looking at. I'm searching around for an answer. |
Well that's a new one 'hdg1p1', I haven't seen that before now ...
What did you partition the drive with? cfdisk?
Have you had a look in /dev to see what is there? around hdg ... it might be there as hdg1 & hdg2 as you'd expect. _________________ Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective| |
|
Back to top |
|
|
dkaplowitz Guru
Joined: 22 Nov 2003 Posts: 596 Location: Philadelphia, PA
|
Posted: Thu Mar 11, 2004 6:15 pm Post subject: |
|
|
[quote="scoobydu"] dkaplowitz wrote: |
What did you partition the drive with? cfdisk?
Have you had a look in /dev to see what is there? around hdg ... it might be there as hdg1 & hdg2 as you'd expect. |
I was in the liveCD installation prompt. I did an and followed the instructions on the Gentoo Install Doc.
I thought it was weird how they came out too. Anyway, I'm not with the box right now, I'm at work. I'll look into it some more when I get home.
Thanks for the reply.
Dave _________________ http://dkap.info |
|
Back to top |
|
|
scoobydu Veteran
Joined: 16 Feb 2003 Posts: 1076 Location: 'Mind the Gap'
|
Posted: Thu Mar 11, 2004 7:08 pm Post subject: |
|
|
Ok, try;
cfdisk /dev/hdg
then you can create whatever partitions you need, write them to disk, and they should appear as hdg1, hdg2 etc ....
then create the filesystems on /dev/hdg1 etc ... _________________ Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective| |
|
Back to top |
|
|
C.M Tux's lil' helper
Joined: 14 Mar 2003 Posts: 132 Location: Göteborg - Sweden
|
Posted: Thu Mar 11, 2004 9:35 pm Post subject: |
|
|
I have the exact same motherboard, and a Seagate SATA disk. The VIA chip have worked perfectly for me. My disk showed up as /dev/hdg when using a live-cd with the 2.6 kernel. I've seen in other forums that everyone says you should stay away from the Promise controller. |
|
Back to top |
|
|
infinii n00b
Joined: 05 Dec 2003 Posts: 15
|
|
Back to top |
|
|
dkaplowitz Guru
Joined: 22 Nov 2003 Posts: 596 Location: Philadelphia, PA
|
Posted: Thu Mar 11, 2004 10:32 pm Post subject: |
|
|
scoobydu wrote: | Ok, try;
cfdisk /dev/hdg
|
Aha. Thanks! I've not used it before. cfdisk's a pretty slick app. I like the interface. It worked for me. _________________ http://dkap.info |
|
Back to top |
|
|
bsolar Bodhisattva
Joined: 12 Jan 2003 Posts: 2764
|
Posted: Thu Mar 11, 2004 11:33 pm Post subject: |
|
|
Moved from Installing Gentoo. _________________ I may not agree with what you say, but I'll defend to the death your right to say it. |
|
Back to top |
|
|
scoobydu Veteran
Joined: 16 Feb 2003 Posts: 1076 Location: 'Mind the Gap'
|
Posted: Fri Mar 12, 2004 8:13 am Post subject: |
|
|
dkaplowitz wrote: | scoobydu wrote: | Ok, try;
cfdisk /dev/hdg
|
Aha. Thanks! I've not used it before. cfdisk's a pretty slick app. I like the interface. It worked for me. |
Cool.
Glad you got it sorted ... _________________ Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective| |
|
Back to top |
|
|
dkaplowitz Guru
Joined: 22 Nov 2003 Posts: 596 Location: Philadelphia, PA
|
Posted: Sat Mar 13, 2004 1:14 pm Post subject: |
|
|
Now I'm having a problem getting grub on this partition.
If I give grub the command root (hdg0,0), I get an "Error 23: Error while parsing number". I've tried other combinations of (hd...) or (hg...), but keep getting that error. I'm not sure if it's a quirk with SATA drives and grub, or if it's a problem with grub.
Note: I've had to use grub-static, since this is on a 64-bit box.
Thanks for any clues.
Dave _________________ http://dkap.info |
|
Back to top |
|
|
dkaplowitz Guru
Joined: 22 Nov 2003 Posts: 596 Location: Philadelphia, PA
|
Posted: Sat Mar 13, 2004 1:31 pm Post subject: |
|
|
dkaplowitz wrote: | Now I'm having a problem getting grub on this partition... |
Was my bad. I read the grub manual and found the grub command:
Code: | find /boot/grub/stage1 |
and it told me that it was on (hd1,0) problem solved. _________________ http://dkap.info |
|
Back to top |
|
|
|