Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ASUS A8N-VM CSM guide
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Januszzz
Guru
Guru


Joined: 04 Feb 2006
Posts: 367
Location: Opole, Poland

PostPosted: Sun Apr 09, 2006 4:53 pm    Post subject: Reply with quote

Quote:
Since ACPI assigns the IRQ's (among other things), I am not sure if that will lead to problems or not. Since you haven't dug into that yet, maybe you can let us all know.


Yes, definetly, lack of ACPI could be a problem :D . I also use (shiny new) ASUS A8N-VM CSM with 1 gb TwinMos RAM, and besides all of previously mentioned problems I have two other, which are driving me really mad:

- after some time (1-4 hours) Logitech UltraxFlat USB keyboard stops working, so I cannot use anything more than mouse (but I can always copy some text to konsole and check some more interesting syslog entries, so I did...)
- the network interface integrated with mainboard goes insane while in promiscous mode (I use Vmware to test some unusual configurations - Linux integrated with AD, etc.)
Generally the network is ok, but when I try to connect with rdesktop to windows machine it crashes.
- the problem not occures while acpi is enabled.

So on my fresh Gentoo instalation I started ssh and found that when the keyboard goes down, I cannot even ping the machine so those events goes together.

Until now I managed to get acpi working (without the last part - system cannot shut down itself) and I'm waiting for crash with hope it never happens :D
Back to top
View user's profile Send private message
RubyFan
n00b
n00b


Joined: 04 Apr 2006
Posts: 17

PostPosted: Mon Apr 10, 2006 3:09 am    Post subject: Reply with quote

brento wrote:
RubyFan,
To be honest, I am not sure what won't work if ACPI doesn't work. I am 99% sure that if you don't dig into the DSDT, IASL and PmTools, you will find that ACPI gets disabled during the boot ("dmesg | grep ACPI"). Since ACPI assigns the IRQ's (among other things), I am not sure if that will lead to problems or not.


Now I've gotten KDE installed and running so the tally of working items is: booting, network and X. The only thing I noticed was that when I did a shutdown it got to a certain point and just hung... then I did alt-ctrl-del and it continued to shutdown. But overall, things seem to working well enough (haven't tried sound or USB yet, though)

Quote:
As for SMP, I thought it was included in genkernel, but I am not using genkernel, so I can't be sure. I am not sure on this, but I am guessing that you won't see more processors unless you are running a dual core (or greater) processor setup. I honestly haven't delved into SMP at all, so that is just my guess.


I've got an Athlon64 x2 so I would have expected to see two processors in cpuinfo. I need to check into the genkernel config.
Back to top
View user's profile Send private message
hafark
n00b
n00b


Joined: 24 Dec 2004
Posts: 20
Location: Rochester, MN

PostPosted: Mon Apr 10, 2006 11:55 pm    Post subject: Reply with quote

I notice that ASUS has a new, beta, version of the bios for the A8N-VM, 0902. Anyone tried it or know if it fixes the ACPI problem?
Back to top
View user's profile Send private message
supun
n00b
n00b


Joined: 27 Nov 2002
Posts: 28

PostPosted: Tue Apr 11, 2006 6:44 am    Post subject: Reply with quote

This thread has been most informative ..

When I used "37FCE064", it resulted in ...
Code:

pr 11 09:24:08 mythtv _system_memory_space: Could not map memory at 0000000037FCE064, size FF
Apr 11 09:24:08 mythtv evregion-0412: *** Error: Handler for [SystemMemory] returned AE_NO_MEMORY
Apr 11 09:24:08 mythtv dswexec-0460 [13] ds_exec_end_op        : [ShiftLeft]: Could not resolve operands, AE_NO
_MEMORY
Apr 11 09:24:08 mythtv psparse-0508: *** Error: Method execution failed [\GPRW] (Node ffff810001ed8970), AE_NO_
MEMORY
Apr 11 09:24:08 mythtv psparse-0508: *** Error: Method execution failed [\_SB_.PCI0.P0P1._PRW] (Node ffff810001
ec86f0), AE_NO_MEMORY
Apr 11 09:24:08 mythtv scan-0324 [04] bus_get_wakeup_device_: Error evaluating _PRW
Apr 11 09:24:08 mythtv ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
Apr 11 09:24:08 mythtv exregion-0165 [22] ex_system_memory_space: Could not map memory at 0000000037FCE064, siz
e FF
Apr 11 09:24:08 mythtv evregion-0412: *** Error: Handler for [SystemMemory] returned AE_NO_MEMORY
Apr 11 09:24:08 mythtv dswexec-0460 [13] ds_exec_end_op        : [ShiftLeft]: Could not resolve operands, AE_NO
_MEMORY
Apr 11 09:24:08 mythtv psparse-0508: *** Error: Method execution failed [\GPRW] (Node ffff810001ed8970), AE_NO_
MEMORY
Apr 11 09:24:08 mythtv psparse-0508: *** Error: Method execution failed [\_SB_.PCI0.HDAC._PRW] (Node ffff810001
ec84f0), AE_NO_MEMORY
Apr 11 09:24:08 mythtv scan-0324 [04] bus_get_wakeup_device_: Error evaluating _PRW
Apr 11 09:24:08 mythtv exregion-0165 [22] ex_system_memory_space: Could not map memory at 0000000037FCE064, siz
e FF
Apr 11 09:24:08 mythtv evregion-0412: *** Error: Handler for [SystemMemory] returned AE_NO_MEMORY
Apr 11 09:24:08 mythtv dswexec-0460 [13] ds_exec_end_op        : [ShiftLeft]: Could not resolve operands, AE_NO
_MEMORY
Apr 11 09:24:08 mythtv psparse-0508: *** Error: Method execution failed [\GPRW] (Node ffff810001ed8970), AE_NO_
MEMORY
Apr 11 09:24:08 mythtv psparse-0508: *** Error: Method execution failed [\_SB_.PCI0.MC97._PRW] (Node ffff810001
ec8370), AE_NO_MEMORY
Apr 11 09:24:08 mythtv scan-0324 [04] bus_get_wakeup_device_: Error evaluating _PRW


So I used "0x3BFCE000" from "ASUS-A8N-VM_CSM-0702_1GB_64M-custom.asl" from acpi.sourceforge.net, which resulted in ...
Code:

Apr 11 09:34:32 mythtv ACPI: Subsystem revision 20050902
Apr 11 09:34:32 mythtv evgpeblk-0988 [06] ev_create_gpe_block   : GPE 00 to 1F [_GPE] 4 regs on int 0x9
Apr 11 09:34:32 mythtv evgpeblk-0996 [06] ev_create_gpe_block   : Found 11 Wake, Enabled 0 Runtime GPEs in this
 block
Apr 11 09:34:32 mythtv Completing Region/Field/Buffer/Package initialization:..................................
....................................................................................................
Apr 11 09:34:32 mythtv Initialized 16/18 Regions 26/26 Fields 53/53 Buffers 39/41 Packages (823 nodes)
Apr 11 09:34:32 mythtv Executing all Device _STA and_INI methods:..............................................
...............................
Apr 11 09:34:32 mythtv 77 Devices found containing: 77 _STA, 0 _INI methods
Apr 11 09:34:32 mythtv ACPI: Interpreter enabled
Apr 11 09:34:32 mythtv ACPI: Using IOAPIC for interrupt routing
Apr 11 09:34:32 mythtv ACPI: PCI Root Bridge [PCI0] (0000:00)
Apr 11 09:34:32 mythtv PCI: Probing PCI hardware (bus 00)
Apr 11 09:34:32 mythtv Boot video device is 0000:00:05.0
Apr 11 09:34:32 mythtv PCI: Transparent bridge - 0000:00:10.0
Apr 11 09:34:32 mythtv ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
Apr 11 09:34:32 mythtv ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCE0._PRT]
Apr 11 09:34:32 mythtv ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCE1._PRT]
Apr 11 09:34:32 mythtv ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCE2._PRT]
Apr 11 09:34:32 mythtv ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]


Not sure why it would be different from everyone else.
_________________
supun
Back to top
View user's profile Send private message
RubyFan
n00b
n00b


Joined: 04 Apr 2006
Posts: 17

PostPosted: Tue Apr 11, 2006 6:56 am    Post subject: Reply with quote

Latest report:
SMP is working now. It's not the default option in genkernel. Turned it on by using:
genkernel --xconfig all

I have still not done anything with ACPI. I tried plugging in a USB memory stick (DOS formatted) but got:

Code:
usb 1-7: new high speed USB device using ehci_hcd and address 2
scsi4 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
  Vendor: JetFlash  Model: TS512MJF2B        Rev: 2.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
ready
SCSI device sdb: 1024000 512-byte hdwr sectors (524 MB)
sdb: Write Protect is off
sdb: Mode Sense: 03 00 00 00
sdb: assuming drive cache: write through
SCSI device sdb: 1024000 512-byte hdwr sectors (524 MB)
sdb: Write Protect is off
sdb: Mode Sense: 03 00 00 00
sdb: assuming drive cache: write through
 sdb: unknown partition table
sd 4:0:0:0: Attached scsi removable disk sdb
sd 4:0:0:0: Attached scsi generic sg1 type 0
usb-storage: device scan complete
UDF-fs: No VRS found


Then when I tried to mount it I got a message about it not being a block device.
Back to top
View user's profile Send private message
gerick
n00b
n00b


Joined: 20 Feb 2006
Posts: 13

PostPosted: Tue Apr 11, 2006 2:22 pm    Post subject: Reply with quote

I have been able to successfully mount a FAT16 formatted USB stick and copy files from/to it on my A8N-VM CSM.
Back to top
View user's profile Send private message
cato`
Guru
Guru


Joined: 03 Jun 2002
Posts: 430
Location: Norway, Trondheim

PostPosted: Tue Apr 11, 2006 2:59 pm    Post subject: Reply with quote

hafark wrote:
I notice that ASUS has a new, beta, version of the bios for the A8N-VM, 0902. Anyone tried it or know if it fixes the ACPI problem?

It's 0901 and it fixes the ACPI problems. You can get it at http://www.yourfilelink.com/get.php?fid=62980
_________________
Don't mess with the Penguin.
Back to top
View user's profile Send private message
brento
n00b
n00b


Joined: 12 Feb 2006
Posts: 25

PostPosted: Tue Apr 11, 2006 10:54 pm    Post subject: Reply with quote

Supun - something I failed to post (I have since fixed this) is that I am using 128MB for video. If you are using 64MB, there would definitely be a difference in our memory addresses. Sorry for the trouble.

RubyFan - not that this really helps, but I do my have card reader on the ARIA case working with a CF card that has bounced around numerous computers. I originally tried to mount it by "mount /deb/sdb /mnt/usb", but reading through dmesg reminded me to use "mount /dev/sdb1 /mnt/usb". However, where yours says:
Code:

sdb: assuming drive cache: write through
 sdb: unknown partition table


mine says:
Code:

sdb: assuming drive cache: write through
 sdb: sdb1


I was reading through the USB documentation and I saw a lot of info about "hotplug". I remember having to emerge hotplug seperately to get my PVR cards to work, so that is one thing you can check - "emerge -s hotplug" and see if it is on your system. Not really sure that will fix your problem, but it is a thought.

-brento
Back to top
View user's profile Send private message
RubyFan
n00b
n00b


Joined: 04 Apr 2006
Posts: 17

PostPosted: Wed Apr 12, 2006 1:08 am    Post subject: Reply with quote

brento wrote:


I was reading through the USB documentation and I saw a lot of info about "hotplug". I remember having to emerge hotplug seperately to get my PVR cards to work, so that is one thing you can check - "emerge -s hotplug" and see if it is on your system. Not really sure that will fix your problem, but it is a thought.


Ah, that's probably it. I'll give it a try tonight.

BTW: I compiled KDE without including hal in USE... (the instructions mention that a little late)
How can I get KDE to recompile with it? Is there some sort of:
emerge --force kde
?
(something that will force kde to recompile even though it's already installed)
Back to top
View user's profile Send private message
brento
n00b
n00b


Joined: 12 Feb 2006
Posts: 25

PostPosted: Wed Apr 12, 2006 2:11 am    Post subject: Reply with quote

I am pretty sure you can just do it again: "emerge kde". I have done it numerous times with mplayer to add additional options/codecs.

-brento
Back to top
View user's profile Send private message
RubyFan
n00b
n00b


Joined: 04 Apr 2006
Posts: 17

PostPosted: Wed Apr 12, 2006 5:57 am    Post subject: Reply with quote

brento wrote:
I am pretty sure you can just do it again: "emerge kde". I have done it numerous times with mplayer to add additional options/codecs.



I tried that. It basically says that there were no outdated packages found on the system. Must be some way to force a recompile.
Back to top
View user's profile Send private message
hafark
n00b
n00b


Joined: 24 Dec 2004
Posts: 20
Location: Rochester, MN

PostPosted: Wed Apr 12, 2006 6:26 am    Post subject: Reply with quote

RubyFan wrote:
brento wrote:
I am pretty sure you can just do it again: "emerge kde". I have done it numerous times with mplayer to add additional options/codecs.



I tried that. It basically says that there were no outdated packages found on the system. Must be some way to force a recompile.


emerge --newuse kde
Back to top
View user's profile Send private message
RubyFan
n00b
n00b


Joined: 04 Apr 2006
Posts: 17

PostPosted: Wed Apr 12, 2006 6:31 am    Post subject: Reply with quote

cato` wrote:
hafark wrote:
I notice that ASUS has a new, beta, version of the bios for the A8N-VM, 0902. Anyone tried it or know if it fixes the ACPI problem?

It's 0901 and it fixes the ACPI problems. You can get it at http://www.yourfilelink.com/get.php?fid=62980


I noticed on another forum earlier today that someone was reporting that while 0901 fixed the ACPI problems it introduced some USB problems for them (USB mouse problems if I recall correctly). Have you noticed this?

So what's the procedure? I unrar the file from the link above and I get a .ROM file. Can I just burn that file on to a CDROM (somehow creating an iso) and then try to boot with it?
Back to top
View user's profile Send private message
RubyFan
n00b
n00b


Joined: 04 Apr 2006
Posts: 17

PostPosted: Wed Apr 12, 2006 7:04 am    Post subject: Reply with quote

brento wrote:


I was reading through the USB documentation and I saw a lot of info about "hotplug". I remember having to emerge hotplug seperately to get my PVR cards to work, so that is one thing you can check - "emerge -s hotplug" and see if it is on your system. Not really sure that will fix your problem, but it is a thought.

-brento


Tried that but it didn't do anything... Then I tried the following:
Code:

mount -t vfat /dev/sdb /mnt/usbdrive


...and it worked fine. Previously I tried mount with -t msdos which didn't work. vfat is the ticket.
Back to top
View user's profile Send private message
cato`
Guru
Guru


Joined: 03 Jun 2002
Posts: 430
Location: Norway, Trondheim

PostPosted: Wed Apr 12, 2006 10:47 am    Post subject: Reply with quote

RubyFan wrote:
cato` wrote:
hafark wrote:
I notice that ASUS has a new, beta, version of the bios for the A8N-VM, 0902. Anyone tried it or know if it fixes the ACPI problem?

It's 0901 and it fixes the ACPI problems. You can get it at http://www.yourfilelink.com/get.php?fid=62980


I noticed on another forum earlier today that someone was reporting that while 0901 fixed the ACPI problems it introduced some USB problems for them (USB mouse problems if I recall correctly). Have you noticed this?

So what's the procedure? I unrar the file from the link above and I get a .ROM file. Can I just burn that file on to a CDROM (somehow creating an iso) and then try to boot with it?


My USB mouse still works ...

Yes, you can burn it to a CD. There is a very good guide on how at https://forums.gentoo.org/viewtopic-t-136726.html
_________________
Don't mess with the Penguin.
Back to top
View user's profile Send private message
j4ck455
n00b
n00b


Joined: 16 Mar 2006
Posts: 7

PostPosted: Wed Apr 12, 2006 8:44 pm    Post subject: Reply with quote

I have upgraded my BIOS to 0901, and it appears to sort out most if not all ACPI issues, but I still don't get any sound using ALSA and snd-hda-intel - no errors generated either from what I can see in /var/log/messages

How can I test ALSA? - I have tried running alsamixer but I still don't get any sound, speakers plugged into the line-out [light greenish colour] - doesn't work in line-in either though...

Is it still a mainboard issue or should I have ALSA under a microscope?

Alternatively should I ditch ALSA and try OSS again with nvsound?
Back to top
View user's profile Send private message
blinx
n00b
n00b


Joined: 19 Sep 2002
Posts: 7

PostPosted: Wed Apr 12, 2006 9:02 pm    Post subject: Reply with quote

All I had to do to get sound working proberly was patch alsa to remove surround (I only use spdif anyway).
Today however it mysteriously stopped working, wonder what I emerged wrong...
Back to top
View user's profile Send private message
cato`
Guru
Guru


Joined: 03 Jun 2002
Posts: 430
Location: Norway, Trondheim

PostPosted: Wed Apr 12, 2006 9:59 pm    Post subject: Reply with quote

You probably emerged alsa-driver-1.0.11rc5 ...

j4ck455: You have to patch hda_codec.c to remove surround. My patch does not apply clean on the rc4 so you have to manualy patch it ... http://www.student.uib.no/~hmy079/Linux_on_asus_csm/alsa_asus_csm-steroe.patch.txt
_________________
Don't mess with the Penguin.
Back to top
View user's profile Send private message
brento
n00b
n00b


Joined: 12 Feb 2006
Posts: 25

PostPosted: Thu Apr 13, 2006 8:08 pm    Post subject: Reply with quote

I put alsa 1.0.11rc5 on the system today and it has apparently fixed all the sound problems. I no longer apply any patches to get sound to work. This was done on kernels 2.6.16 and 2.6.16.5. I am only using 2 speakers, so I can't comment on surround or SPDIF, but it is working great for me.

On a side note, I had to go back to 2.6.16 after 2.6.16.5 because I am running the ivtv drivers and currently ivtv-0.6.1 only installs on 2.6.16. It makes sense considering the migration process of ivtv, but I thought I would save others the time of finding out the way I did.

-brento
Back to top
View user's profile Send private message
cato`
Guru
Guru


Joined: 03 Jun 2002
Posts: 430
Location: Norway, Trondheim

PostPosted: Thu Apr 13, 2006 11:05 pm    Post subject: Reply with quote

brento wrote:
I put alsa 1.0.11rc5 on the system today and it has apparently fixed all the sound problems. I no longer apply any patches to get sound to work. This was done on kernels 2.6.16 and 2.6.16.5. I am only using 2 speakers, so I can't comment on surround or SPDIF, but it is working great for me.

-brento


Fantastic, now everything works as it should without patching :)
_________________
Don't mess with the Penguin.
Back to top
View user's profile Send private message
RubyFan
n00b
n00b


Joined: 04 Apr 2006
Posts: 17

PostPosted: Fri Apr 14, 2006 4:25 am    Post subject: Reply with quote

brento wrote:
I put alsa 1.0.11rc5 on the system today and it has apparently fixed all the sound problems. I no longer apply any patches to get sound to work. This was done on kernels 2.6.16 and 2.6.16.5. I am only using 2 speakers, so I can't comment on surround or SPDIF, but it is working great for me.

On a side note, I had to go back to 2.6.16 after 2.6.16.5 because I am running the ivtv drivers and currently ivtv-0.6.1 only installs on 2.6.16. It makes sense considering the migration process of ivtv, but I thought I would save others the time of finding out the way I did.


A couple of questions:
1) did you emerge the new alsa version or download from an alsa site?
2) Will it work with the 2.6.15 (I believe it's r5) kernel as well or do I need to get 2.6.16?
Back to top
View user's profile Send private message
RubyFan
n00b
n00b


Joined: 04 Apr 2006
Posts: 17

PostPosted: Fri Apr 14, 2006 5:39 am    Post subject: Reply with quote

Did the following, but still don't have sound:

Code:

#lspci -v | grep -i audio
 00:10.1 Class 0403: nVidia Corporation MCP51 High Definition Audio (rev a2)


added: ALSA_CARDS="hda-intel" to /etc/make.conf
emerged alsa-driver (1.0.11_r5):
Code:

ACCEPT_KEYWORDS="~amd64" emerge -p alsa-driver


Then emerged alsa-utils, ran alsaconf and added to boot:
Code:

# emerge alsa-utils
# alsaconf
# rc-update add alsasound boot
# /etc/init.d/alsasound start


ran the alsamixer and then tried to play a CD... nothing... Rebooted just to make sure and then tried again.... still nothing.
Back to top
View user's profile Send private message
RubyFan
n00b
n00b


Joined: 04 Apr 2006
Posts: 17

PostPosted: Fri Apr 14, 2006 6:35 am    Post subject: Reply with quote

Actually, When I played an mp3 file the sound _did_ work.... so sound is apparently working after all (yay!) However, since CDs don't play I'm suspecting that when my box was built they didn't hook up that cable that goes from the sound output of the CD drive to the motherboard....
Back to top
View user's profile Send private message
blinx
n00b
n00b


Joined: 19 Sep 2002
Posts: 7

PostPosted: Sat Apr 15, 2006 12:57 pm    Post subject: Reply with quote

RubyFan wrote:
Actually, When I played an mp3 file the sound _did_ work.... so sound is apparently working after all (yay!) However, since CDs don't play I'm suspecting that when my box was built they didn't hook up that cable that goes from the sound output of the CD drive to the motherboard....


Sounds very likely.

I also got my sound to work again, deleted the saved mixer settings and started from scratch again with only the spdif enabled.
Back to top
View user's profile Send private message
RubyFan
n00b
n00b


Joined: 04 Apr 2006
Posts: 17

PostPosted: Sun Apr 16, 2006 1:28 am    Post subject: Reply with quote

Yep, the problem was the missing audio cable from the CDROM drive to the motherboard. I went back to the shop that built the PC for me and asked if I could get the missing cable. The guy at first told me something like "Oh, those haven't been needed since 1998". I again asked for one and the guy finally gave me one. Now CDs play just fine.
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
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
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