Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gotchas in clean install of 2004.3-r1 on ASUS A8V Deluxe
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
wiktorw
n00b
n00b


Joined: 14 Dec 2004
Posts: 39
Location: Lodz, Poland

PostPosted: Tue Dec 14, 2004 2:19 pm    Post subject: Gotchas in clean install of 2004.3-r1 on ASUS A8V Deluxe Reply with quote

Hello everyone.

This is my first attempt to post something useful on the Gentoo/amd64 forums. Hope this won't be the last time :)
And sorry for long post.

Now back to the point. Recently I bought a new ASUS A8V Deluxe mo-bo with Athlon64 3000+ 939-pin CPU, 2x512MB dual channel DDR400 and 120GB Seagate ST3120026AS SATA HDD. Having done several installations of Gentoo/x86 on my machines I tried to install the newest Gentoo 2004.3-r1 on the slick one this time.

I knew there are potential problems that might arise because of the following components:
* VIA VT8237 chipset for SATA / RAID
* Promise PDC20378 chipset for PATA / RAID
* Realtek ALC850 sound chip
* Marvell 88E8001 Gb Ethernet controller
* Motorola SURFboard Cable Modem SB5100 on USB

And this is what happened:

1) Gentoo LiveCD 2004.3-r1 / amd64 didn't recognize SATA at first.
2) gpm was not working for Logitech USB mouse.
3) Cable modem was not recognized.
4) After doing Stage1 -> Stage2 -> Stage3 installation (which went smoothly) I was unable to compile 2.6.9-r9 kernel using genkernel.
5) I was unable to boot using "gentoo doscsi" - the machine hung on probing the 'sata_sis' module.
6) I had no success in connecting PATA drives to the Promise controller working in IDE (non-RAID) mode.

After some tinkering I found simple solutions:

==========
Problem 1) - Gentoo LiveCD 2004.3-r1 / amd64 didn't recognize SATA at first.
Loaded the right module by hand, which gave me /dev/sdaX devices:
Code:
# modprobe sata_via

==========
Problem 2) - gpm was not working for Logitech USB mouse.
A small edit:
Code:
# nano -w /etc/conf.d/gpm

I uncommented the lines:
Quote:
MOUSE=imps2
MOUSEDEV=/dev/input/mice

and gpm started smoothly (that one was easy):
Code:
# /etc/init.d/gpm start

==========
Problem 3) - Cable modem was not recognized.
Similar solution:
Code:
# nano -w /etc/conf.d/net

comments, comments...
Quote:
#iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
iface_eth0=dhcp

luckily the right module was there already (at last), so I got access to the net in a snap:
Code:
# modprobe usbnet

==========
Problem 4) - I was unable to compile 2.6.9-r9 kernel using genkernel.
Now that was hard. Trying:
Code:
# emerge -av genkernel gentoo-dev-sources
# cd /usr/src/linux
# genkernel --udev --menuconfig --install all


gave me strange errors:
Quote:
ld --static --nostdlib -nostartfiles -nodefaultlibs -o udevd /var/tmp/genkernel/udev-039/klibc/klibc/crt0.o udevd.o udev_lib.o libc_fixups/klibc_fixups.o /var/tmp/genkernel/udev-039/klibc/klibc/libc.a
udevd.o(.text+0x39c): In function `main':
: undefined reference to `__FD_ZERO'
udevd.o(.text+0x3ac): In function `main':
: undefined reference to `__FD_SET'
udevd.o(.text+0x3bc): In function `main':
: undefined reference to `__FD_SET'
udevd.o(.text+0x40c): In function `main':
: undefined reference to `__FD_ISSET'
udevd.o(.text+0x6c0): In function `main':
: undefined reference to `__FD_ISSET'

It took me two days trying different udev versions, hacking genkernel script and doing several compilations by "genkernel --udev --kernel-config=mycfg --install initrd".
Finally I tried to build a 2.6.9-r1 kernel which came on the LiveCD:
Code:
# emerge "=gentoo-dev-sources-2.6.9-r1"
# cd /usr/src/linux
# genkernel --udev --menuconfig --install all

And this worked! Now I was able to install grub - also with some hiccups (I had to remove 'root (hd0,0)' from grub.conf) - but this is neglectable.
I think I will test newer kernels soon to see if the problem persists.

==========
Problem 5) - The machine hung on probing the 'sata_sis' module while booting using "gentoo doscsi".
I mounted initrd image on the loop device, made some small changes to the generated initrd and we were all set:
Code:
# mount /boot
# cd /boot
# mkdir initrd
# cp initrd-2.6.9-gentoo-r1 initrd.img.gz
# gunzip initrd.img.gz
# mount -o loop initrd.img initrd
# nano -w initrd/etc/modules/scsi

I removed from mounted /etc/modules/scsi the line with problematic 'sata_sis' module. Then compressed back the initrd:
Code:
# umount initrd
# rmdir initrg
# gzip initrd.img
# mv initrd.img.gz initrd-2.6.9-gentoo-r1

Then I just needed to append doscsi in /boot/grub/grub.conf to the kernel line:
Code:
kernel /kernel-2.6.9-gentoo-r1 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 doscsi vga=0x317

==========
Problem 6) - PATA drives don't work when connected to PDC20378 controller working in IDE (non-RAID) mode.
I still have no solution for this yet. I have seen on the other forums that Jeff Garzik is working towards providing preliminary support for this chipset.
So far, everything works only under the_other_O$ :?

Well, that's it for now. I may yet post some more solutions to the obstacles I got into, concerning sound and software installation (xorg, gnome, gensplash, etc).

Regards,
Wiktor Wandachowicz
_________________
Change is the only constant in the universe.
Heraclitus
Back to top
View user's profile Send private message
stealthy
Tux's lil' helper
Tux's lil' helper


Joined: 08 Aug 2002
Posts: 118
Location: ONTARIO CANADA

PostPosted: Tue Dec 14, 2004 2:38 pm    Post subject: re: Gotchas in clean install of 2004.3-r1 on ASUS A8V Deluxe Reply with quote

I have exact same motherboard, albeit more sata drives etc and no usb modem. But I didn't even have single problem with the 2004.3 cd.
All the drives were detected correctly.
Are you sure you haven't touched the bios to make things fancy or something.

Although after everything was said & done the sk98lin modules giving me some headaches with the onboard marvell 1G NIC.
_________________
All your Gentoo are belong to us.
Back to top
View user's profile Send private message
wiktorw
n00b
n00b


Joined: 14 Dec 2004
Posts: 39
Location: Lodz, Poland

PostPosted: Wed Dec 15, 2004 9:46 am    Post subject: Re: re: Gotchas in clean install of 2004.3-r1 on ASUS A8V De Reply with quote

stealthy wrote:
I have exact same motherboard, albeit more sata drives etc and no usb modem. But I didn't even have single problem with the 2004.3 cd.

Please note that I specifically refer to the 2004.3-r1 livecd. But on the other hand this gives me an idea to try the previous 2004.3 version.
Maybe all the auto-detection is going to work? Because it should. Right? :D
_________________
Change is the only constant in the universe.
Heraclitus
Back to top
View user's profile Send private message
robak
Apprentice
Apprentice


Joined: 14 Jan 2004
Posts: 209
Location: Germany

PostPosted: Thu Dec 16, 2004 9:10 pm    Post subject: Reply with quote

Hi !

i have the same mb and my problem is that i can't even install from 2004.3 cd because the promise controller is found but no hd can be mounted.
i have my boot-hd on the promise (in IDE mode btw) because all other channels (Primary & Secondary) are full.

anybody any idea?

thanks in advance
greez robak
Back to top
View user's profile Send private message
tliou
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2004
Posts: 108
Location: Salt Lake City, UT

PostPosted: Fri Dec 17, 2004 2:40 am    Post subject: Reply with quote

wiktorw's code to solve problem 5 was very useful in getting around reported bug 72055. I used his method to get around hanging on boot with module tmscsim when booting with kernel-2.6.9-gentoo-r1. I used his method to delete the tmscsi line in initrd/etc/modules/scsi in the gunzipped and mounted initrd.img. My machine no longer hung there but ran into problems with sym53c8xx. This led to another investigation of problems.

I couldn't solve this one easily so I eventually emerged kernel-2.4.9-gentoo-r9 and configured the kernel by hand. I now have a booting system.

Anyway, I found your note to be very educational and helpful.
Back to top
View user's profile Send private message
chovy
Guru
Guru


Joined: 03 Dec 2004
Posts: 453

PostPosted: Fri Dec 24, 2004 7:10 am    Post subject: Reply with quote

Please keep this thread updated! I have the same mb, and will be installing gentoo64 soon on it.

Thanks for the good info, hopefully I won't have much trouble now.
_________________
Woof, Woof! Add "[solved]" to the title! Woof, Woof!
Back to top
View user's profile Send private message
nukem996
l33t
l33t


Joined: 13 Nov 2003
Posts: 776

PostPosted: Fri Dec 24, 2004 9:05 am    Post subject: Reply with quote

I have the same mobo and I have not had one problem with it. Ethernet worked, except I had to modprobe the module. Promise SATA drives worked fine, though you have to change some things in the BIOS for it to work. I forgot exactly what but its the mode that the Promise device is in.
Back to top
View user's profile Send private message
thechris
Veteran
Veteran


Joined: 12 Oct 2003
Posts: 1203

PostPosted: Fri Dec 24, 2004 9:10 am    Post subject: Reply with quote

i have the same board. hotplug loads ethernet over firewire modules, so after the install, eth0 is eth1. nothing major. also i had an issues with the mouse and paths not working on the second reboot after install. the error corrected itself on the third reboot. not sure why i couldn't find apps in /bin or /sbin, but it seems i can now.
Back to top
View user's profile Send private message
nukem996
l33t
l33t


Joined: 13 Nov 2003
Posts: 776

PostPosted: Fri Dec 24, 2004 9:28 am    Post subject: Reply with quote

ahh yes for some reason hotplug/coldplug did NOT work for me. I had to add all the modules I wanted to autoprobe at boot in /etc/modules.autoload.d/kernel-2.6. I dont have that firewire problem but I would assume it could be fixed by removing ethernet over firewire or what ever its called in the kernel.
Back to top
View user's profile Send private message
koroumel
Guru
Guru


Joined: 17 Jun 2004
Posts: 339
Location: Athens, Greece

PostPosted: Fri Dec 24, 2004 10:12 am    Post subject: Reply with quote

This may help in generall installation issues:
https://forums.gentoo.org/viewtopic.php?t=216498&

I have asus a8v too, and I used this guide as a8v and k8v doesn't differ that much. For the SATA problem, if u search through the forum you will see too many people having this problem, and possibly a proportional number of answers. Not being able to use hotplug/coldplug is anything but normal. I never had isues by following the above guide.
_________________
"Yep linux is an alternative. Windows on the other hand isn't even an option"
Registered Linux User No #242616
Back to top
View user's profile Send private message
spOOwn
Apprentice
Apprentice


Joined: 02 Nov 2002
Posts: 259
Location: Belgium

PostPosted: Mon Jan 24, 2005 1:17 pm    Post subject: Reply with quote

which modules or hardcoded stuff i have to activate in kernel to enable sata disk to work ?? this is my only disk
thanks a lot :)
Back to top
View user's profile Send private message
mping
n00b
n00b


Joined: 24 Jan 2005
Posts: 3

PostPosted: Mon Jan 24, 2005 3:46 pm    Post subject: Reply with quote

Well I activated some of SCSI modules for sata emulation, cant remeber them right know...
anyway i got this on dmesg:

aggressor root # dmesg | grep sata_nv
sata_nv version 0.03
scsi0 : sata_nv
scsi1 : sata_nv
scsi2 : sata_nv
scsi3 : sata_nv

so u try to find the modules related to your motherboard, i got a msi k8n nforce3. I think u need to turn that kernel module autoloading feature on too
Back to top
View user's profile Send private message
marvin rouge
Veteran
Veteran


Joined: 01 Aug 2004
Posts: 1422
Location: Villa Lumierrante, Zonelibre

PostPosted: Mon Jan 24, 2005 5:13 pm    Post subject: Reply with quote

spOOwn wrote:
which modules or hardcoded stuff i have to activate in kernel to enable sata disk to work ?? this is my only disk
thanks a lot :)


Asus A8V Deluxe here, with 2 SATA HD on the VIA chipset:
Code:
Device Drivers  ---> ATA/ATAPI/MFM/RLL support  ---> 
<*> ATA/ATAPI/MFM/RLL support
<*>   Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
...
<*>     Include IDE/ATA-2 DISK support                                                                                                     
[*]       Use multi-mode by default                                                                                                       
<*>     Include IDE/ATAPI CDROM support
...
[*]     PCI IDE chipset support
...
[*]       Generic PCI bus-master DMA support
...
[*]         Use PCI DMA by default when available 
...
<*>         VIA82CXXX chipset support


Device Drivers  ---> SCSI device support  --->   <*>   SCSI disk support

Device Drivers  ---> SCSI device support  ---> SCSI low-level drivers  ---> 
[*] Serial ATA (SATA) support
...
<*>   VIA SATA support
I'm not using the Promise controler. Everything must be hardcoded, no module for HD !
Back to top
View user's profile Send private message
spOOwn
Apprentice
Apprentice


Joined: 02 Nov 2002
Posts: 259
Location: Belgium

PostPosted: Mon Jan 24, 2005 11:39 pm    Post subject: Reply with quote

thanks a lot, all is working for the moment, i'm using fluxbox, and it's wonderfull on this AMD 3000+ :)

I still must tweak some apps !!
Back to top
View user's profile Send private message
karma_vipaka
n00b
n00b


Joined: 04 Feb 2005
Posts: 1

PostPosted: Fri Feb 04, 2005 11:21 pm    Post subject: Reply with quote

I am unable to get the sound card on this board detected in alsa. Can someone please provide kernel/alsa configuration details for their own successful setup?

Thanks
Back to top
View user's profile Send private message
martap
n00b
n00b


Joined: 06 Aug 2003
Posts: 29

PostPosted: Tue Feb 08, 2005 8:53 pm    Post subject: Reply with quote

Be sure to emerge media-sound/alsa-utils and rc-update alsasound.
Back to top
View user's profile Send private message
Xithix
Apprentice
Apprentice


Joined: 31 Dec 2004
Posts: 228

PostPosted: Tue Feb 08, 2005 9:25 pm    Post subject: Reply with quote

I'm a bit concerned, about the failure to read IDE drives in non-raid mode ... because that's what my hard drive's setup is going to be when my computer arrives. Has this issue been solved?
Back to top
View user's profile Send private message
o5gmmob8
Guru
Guru


Joined: 17 Oct 2003
Posts: 465

PostPosted: Thu Feb 10, 2005 2:16 pm    Post subject: soundcard, ASUS A8V Reply with quote

Hi,

For the soundcard, I compiled in support for:

Device Drivers -> Sound -> Advanced Linux Sound Architecture -> PCI devices -> VIA 82C686A/B, 8233/8235 AC97 Controller

Make sure you unmute the devices as it defaults to muted on startup if you haven't adjusted the volume previously.

PATA RAID question:

Did you guys get the PATA RAID working, and if so, what are the speed differences you guys are seeing? I am using LVM2 with striping instead and may consider RAID if that works.

Walter
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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