Re: [gentoo-user] clock problems software clock 20x fast
ok its fixed its a bug with ati / nvidia chipsets making the clock 2x+ fast disable_timer_pin_1 fixes the clock ^^ On Wednesday 14 December 2005 09:04 pm, Richard Fish wrote: On 12/14/05, Noah J Norris [EMAIL PROTECTED] wrote: On Thursday 15 December 2005 02:03 am, Richard Fish wrote: I think if you were getting messages about lost ticks or got extra ticks or something like that, these might be helpful, or if your system seemed either to slow or too unresponsive. Of course, if your clock is defaulting to TSC (which would be bad, BTW), then I guess these could have a big impact. i have gotton lost tick messages and apic errors mostly Hmm, didn't you mention that somewhere alreadyoh yeah, your orignal message! (bangs head on desk). Plus, you also said noapic fixes the problem, so forget everything I said, and try these options. Take a look at dmesg or /var/log/messages for the following lines: Using TSC for gettimeofday Using HPET for gettimeofday Using .* for high-res timesource Using pmtmr for high-res timesource Looks good...pmtmr is what I get on my pentium-m laptop, and is the default, and should be fairly reliable... Did you try any other clock= options? Any better results? should an amd64 use HPET ? i do not have this enabled in kernel config (note running in 32 bit mode ) Not sure about this one...just got my first AMD64 system this past weekend, and I am still trying to get things setup...maybe someone else can answer. One other boot option that might help: no_timer_check It is a x86_64 specific option (see /usr/src/linux/Documentation/x86_64/boot-options.txt). I don't think this has anything to do with 32/64 bit code though...so maybe you have this already (does your kernel build as x86_64/arch/boot/bzImage?) other thing i noticed in dmesg do i need to enable smp support in the kernel ? this is a single processor system that i know of . does amd do any type of hyperthreading ? Nope, no hyperthreading in AMD. And I think AMD is expected to release their first dual-core mobile chips sometime next year. Unfortunately Intel is going to beat them to market and my wallet. -Richard -- life is linux linux is life -- gentoo-user@gentoo.org mailing list
[gentoo-user] clock problems software clock 20x fast
my hardware clock stays correct but the software clock is like going 20x fast im on a laptop and using noapic the problem goes away but leads to other problems like network problems happing like errors with internal ethernet card and ndiswrapper stops working . the processer is amd64 running as x86 (32bit mode) i get apic errors and lost tick errors . if i leave this on for a couple hours it becomes days ahead can anyone shead some light on this ? kernel being used is 2.6.14-r2 i believe thanks 'hwclock --hctosys' works to set the time back to what the hardware clock says -- life is linux linux is life -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] clock problems software clock 20x fast
On Wednesday 14 December 2005 05:39 pm, Richard Fish wrote: On 12/14/05, Noah J Norris [EMAIL PROTECTED] wrote: my hardware clock stays correct but the software clock is like going 20x fast im on a laptop and using noapic the problem goes away but leads to other problems like network problems happing like errors with internal ethernet card and ndiswrapper stops working . the processer is amd64 running as x86 (32bit mode) i get apic errors and lost tick errors . if i leave this on for a couple hours it becomes days ahead can anyone shead some light on this ? kernel being used is 2.6.14-r2 i believe A couple of things to investigate: 1. Make sure that the first line of /etc/adjtime contains very small values. In fact, you might just want to replace the first line with 0.0 0 0.0. i tried changeing this is this for the hardware clock drift ? i dont have any problem with the hardware clock its the software clock thats fast 2. Take a look at the clock= settings in /usr/src/linux/Documentation/kernel-parameters.txt. Maybe you need clock=pit. -Richard looking in this file saw some other options that may help the problem. i have an ati chipset (newer laptop chipset) ouput of lspci below :00:00.0 Host bridge: ATI Technologies Inc ATI Radeon Xpress 200 (RS480/RS482/RX480/RX482) Chipset - Host bridge (rev 01) :00:02.0 PCI bridge: ATI Technologies Inc RS480 PCI-X Root Port :00:06.0 PCI bridge: ATI Technologies Inc: Unknown device 5a38 :00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller :00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller :00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller :00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 11) :00:14.1 IDE interface: ATI Technologies Inc Standard Dual Channel PCI IDE Controller ATI :00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge :00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge :00:14.5 Multimedia audio controller: ATI Technologies Inc IXP SB400 AC'97 Audio Controller (rev 02) :00:14.6 Modem: ATI Technologies Inc ATI SB400 - AC'97 Modem Controller (rev 02) :01:00.0 VGA compatible controller: ATI Technologies Inc M24 1P [Radeon Mobility X600] :02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8036 Fast Ethernet Controller (rev 10) :03:05.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01) :03:07.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02) :03:0e.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80) some options i saw in that file that i may try acpi_skip_timer_override [HW,ACPI] Recognize and ignore IRQ0/pin2 Interrupt Override. For broken nForce2 BIOS resulting in XT-PIC timer. enable_timer_pin_1 [i386,x86-64] Enable PIN 1 of APIC timer Can be useful to work around chipset bugs (in particular on some ATI chipsets). The kernel tries to set a reasonable default. disable_timer_pin_1 [i386,x86-64] Disable PIN 1 of APIC timer Can be useful to work around chipset bugs. -- life is linux linux is life -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] clock problems software clock 20x fast
On Thursday 15 December 2005 02:03 am, Richard Fish wrote: On 12/14/05, Noah J Norris [EMAIL PROTECTED] wrote: On Wednesday 14 December 2005 05:39 pm, Richard Fish wrote: 1. Make sure that the first line of /etc/adjtime contains very small values. In fact, you might just want to replace the first line with 0.0 0 0.0. i tried changeing this is this for the hardware clock drift ? i dont have any problem with the hardware clock its the software clock thats fast Oh, you are correct. Sorry. 2. Take a look at the clock= settings in /usr/src/linux/Documentation/kernel-parameters.txt. Maybe you need clock=pit. looking in this file saw some other options that may help the problem. i have an ati chipset (newer laptop chipset) ouput of lspci below snip some options i saw in that file that i may try acpi_skip_timer_override [HW,ACPI] Recognize and ignore IRQ0/pin2 Interrupt Override. For broken nForce2 BIOS resulting in XT-PIC timer. enable_timer_pin_1 [i386,x86-64] Enable PIN 1 of APIC timer Can be useful to work around chipset bugs (in particular on some ATI chipsets). The kernel tries to set a reasonable default. disable_timer_pin_1 [i386,x86-64] Disable PIN 1 of APIC timer Can be useful to work around chipset bugs. I'm not sure these will help. They seem to be more related to setting up the frequency for the IRQ0 timer interrupt, for things like running the scheduler. This should not be related at all to the behavior of gettimeofday. I think if you were getting messages about lost ticks or got extra ticks or something like that, these might be helpful, or if your system seemed either to slow or too unresponsive. Of course, if your clock is defaulting to TSC (which would be bad, BTW), then I guess these could have a big impact. i have gotton lost tick messages and apic errors mostly Take a look at dmesg or /var/log/messages for the following lines: Using TSC for gettimeofday Using HPET for gettimeofday Using .* for high-res timesource Using pmtmr for high-res timesource should an amd64 use HPET ? i do not have this enabled in kernel config (note running in 32 bit mode ) These will tell us what signal the kernel is using for gettimeofday on your system. -Richard other thing i noticed in dmesg do i need to enable smp support in the kernel ? this is a single processor system that i know of . does amd do any type of hyperthreading ? found SMP MP-table at 000f8510 Using ACPI (MADT) for SMP configuration information ouput of cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 36 model name : Mobile AMD Athlon(tm) 64 Processor 4000+ stepping: 2 cpu MHz : 2587.282 cache size : 1024 KB fdiv_bug: no hlt_bug : no f00f_bug: no coma_bug: no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni lahf_lm bogomips: 5181.75 note here is an example of some errors about apic APIC error on CPU0: 00(40) APIC error on CPU0: 40(40) # this get repeated alot cat /proc/interrupts 0: 39865554IO-APIC-edge timer 1: 23952IO-APIC-edge i8042 8: 8IO-APIC-edge rtc 12:1559783IO-APIC-edge i8042 14: 543485IO-APIC-edge ide0 15:1427625IO-APIC-edge ide1 16:1841139 IO-APIC-level yenta, ndiswrapper 17: 1419 IO-APIC-level ATI IXP 19:124 IO-APIC-level eth0 20: 1 IO-APIC-level ohci_hcd:usb1, ohci_hcd:usb2, ehci_hcd:usb3 21: 453349 IO-APIC-level acpi NMI: 0 LOC: 19934340 ERR: 18 #notice errors here MIS: 0 -- life is linux linux is life -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] USB2 versus USB1.x
seems we have the same chipset ati usb seems to display this problem i have a gateway mx7515 have the same problem lspci :00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller :00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller :00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller maybe you can compile both as modules and load only the one you need ? of course you would have to disable coldplug/hotpluging to do this maybe On Saturday 03 September 2005 11:33 am, Rhywek wrote: Hi, * .* I have a small problem with usb in my laptop. First I had all 3 HCD compiled in my kernel: ehci, ohci and uhci. When I connected some usb 2.0 device (hard drive or external DVD burner), there was a message in /var/log/everything/current that device is not running at full speed and that I should connect it to a faster hub and it was using ohci. I tried all four ports I have and it was the same. I tested the device (that is a hard-drive) with hdparm -tT /dev/sda and it gave about 900 kbyte/s, which is something like usb 1.x. Then I recompiled my kernel with ehci only. Now there is no such message, the same device is using ehci and when I test it, it gives more than 20 Mbytes/s, which must be USB 2.0, as I want. The problem is: why when I have compiled ohci also, the device does not work as USB 2.0? I could work with ehci only, but the problem is that now my usb mouse is not working (it is not usb 2.0). I read the help to all selections in kernel config under USB support. There is no thing like select fastest driver... They say that it is no harm to select all HCDs... This is the relevant part of the output from lspci -v: :00:13.0 USB Controller: ATI Technologies Inc OHCI USB Controller #1 (rev 01) (prog-if 10 [OHCI]) Subsystem: Acer Incorporated [ALI]: Unknown device 0052 Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 11 Memory at d8001000 (32-bit, non-prefetchable) [size=4K] :00:13.1 USB Controller: ATI Technologies Inc OHCI USB Controller #2 (rev 01) (prog-if 10 [OHCI]) Subsystem: Acer Incorporated [ALI]: Unknown device 0052 Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 11 Memory at d8002000 (32-bit, non-prefetchable) [size=4K] :00:13.2 USB Controller: ATI Technologies Inc EHCI USB Controller (rev 01) (prog-if 20 [EHCI]) Subsystem: Acer Incorporated [ALI]: Unknown device 0052 Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 19 Memory at d8003000 (32-bit, non-prefetchable) [size=4K] Capabilities: [dc] Power Management version 2 I also came to idea that maybe the first device I connect is determining the speed for all ports (the first is also USB1.x mouse). So I disconnected the mouse and plugged the USB2 devices first, but no difference. Yesterday I updated my kernel to 2.6.12-gentoo-r10, but it is the same. Any clues? Any proper kernel configs for this part? Thanks in advance. Rhywek. -- life is linux linux is life -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gateway mx7515 laptop usb help
compiling each modules seems to fix the problem yet bringing an interesting outcome seems coldplug loads them differently and things work i also got ndiswrapper working to:) notice how ehci gets hub 3 now it was loaded last to when built in kernel it was loaded first my usb hd work on 3 ports and when pluged into the last port does not work at all error posted below seems to be a buggy chipset dmesg output usb part ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11 ACPI: PCI Interrupt :00:13.0[A] - Link [LNKD] - GSI 11 (level, low) - IRQ 11 ohci_hcd :00:13.0: OHCI Host Controller ohci_hcd :00:13.0: new USB bus registered, assigned bus number 1 ohci_hcd :00:13.0: irq 11, io mem 0xc050 hub 1-0:1.0: USB hub found hub 1-0:1.0: 4 ports detected ACPI: PCI Interrupt :00:13.1[A] - Link [LNKD] - GSI 11 (level, low) - IRQ 11 ohci_hcd :00:13.1: OHCI Host Controller ohci_hcd :00:13.1: new USB bus registered, assigned bus number 2 ohci_hcd :00:13.1: irq 11, io mem 0xc0501000 hub 2-0:1.0: USB hub found hub 2-0:1.0: 4 ports detected ACPI: PCI Interrupt :00:13.2[A] - Link [LNKD] - GSI 11 (level, low) - IRQ 11 ehci_hcd :00:13.2: EHCI Host Controller ehci_hcd :00:13.2: new USB bus registered, assigned bus number 3 ehci_hcd :00:13.2: irq 11, io mem 0xc0502000 ehci_hcd :00:13.2: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004 hub 3-0:1.0: USB hub found hub 3-0:1.0: 8 ports detected dmesg device pluged in usb 3-4: new high speed USB device using ehci_hcd and address 3 scsi1 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 3 usb-storage: waiting for device to settle before scanning Vendor: Maxtor 6 Model: B200P0Rev: 0 0 Type: Direct-Access ANSI SCSI revision: 00 SCSI device sda: 398297088 512-byte hdwr sectors (203928 MB) sda: assuming drive cache: write through SCSI device sda: 398297088 512-byte hdwr sectors (203928 MB) sda: assuming drive cache: write through sda: sda1 sda2 Attached scsi disk sda at scsi1, channel 0, id 0, lun 0 Attached scsi generic sg0 at scsi1, channel 0, id 0, lun 0, type 0 usb-storage: device scan complete dmesg last port with error usb 1-1: new full speed USB device using ohci_hcd and address 2 usb 1-1: device descriptor read/64, error -110 usb 1-1: device descriptor read/64, error -110 usb 1-1: new full speed USB device using ohci_hcd and address 3 usb 1-1: device descriptor read/64, error -110 usb 1-1: device descriptor read/64, error -110 usb 1-1: new full speed USB device using ohci_hcd and address 4 usb 1-1: device not accepting address 4, error -110 usb 1-1: new full speed USB device using ohci_hcd and address 5 usb 1-1: device not accepting address 5, error -110 now got to thinking plug in a usb 1.1 device only and get this :) seems to work with usb 1.1 only which dont bother me at all usb 1-1: new low speed USB device using ohci_hcd and address 6 input: USB HID v1.00 Joystick [WiseGroup.,Ltd MP- USB Joypad] on usb-:00:13.0-1 testing usb 1.1 on a fast port works fine hands off to low speed driver like its suppose to seems odd that this works now and why dont it work built into the kernel , On Saturday 03 December 2005 03:56 am, Richard Fish wrote: On 12/2/05, Noah J Norris [EMAIL PROTECTED] wrote: ok im installing gentoo on a gateway laptop mx7515 usb = usb 1.1 works but usb2 does not appear to work i really need help with Don't use both ohci-hcd and ehci-hcd. You only need ehci-hcd. system time = the clock seems to become out of sync very fast i would like to Take a look at /usr/src/linux/Documentation/kernel-parameters.txt, the clock= setting. You are currently using pmtmr (an ACPI feature) for time, and you probably want pic until you get the ACPI issues resolved. -Richard -- life is linux linux is life -- gentoo-user@gentoo.org mailing list
[gentoo-user] gateway mx7515 laptop usb help
ok im installing gentoo on a gateway laptop mx7515 ok im gona start with what works and how i started my install i started install off of ubunto linux live cd (supported unboard net-work card )im using no highmem support in 32bit build net =after had gentoo installed i downloaded the network driver to patch kernel from vendor so ehternet will work lspci of network card :02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8036 Fast Ethernet Controller (rev 10) video = use newest atidriver from www.ati.com install and compile manualy may have to setup links for fglrx module so modprobe sees it enable agp support so it works ( note laptop is pcie but driver dont build correct without agp ) i started my ati mess with trying to use emerge ati-drivers this will hard lock system with current drivers inorder to get video do not compile agp support i was only able to get 2d support (agp support with stable drivers hard lock system ) note you can not use a gui login manager aswell it will hard lock system whrn you exit to log in as another user soloution to this is to use startx only . (note no frame buffer vesa or redaon is built in kernel ) (please get nvdia based video card they work much bettter ) sound= works with ati-ixp driver must mute external amp switch to get sound power management= the cpu power control works fine suspend moving now to things that dont work or do yet dont . usb = usb 1.1 works but usb2 does not appear to work i really need help with this problem . ok according to everything usb2.0 looks good and should work at the bottomof this email is lspci dmesg and dmesg when hooking up a usb2 device and output . notice in the dmesg it says that there is 8 ports found on usb2.0 hub and 4 port on usb 1.1 this laptop only has 4 usb ports wireless = used ndiswrapper emerge ndiswrapper fails download and compile and install from source works but complains that i should enable 16k stack kernel i pulled the drivers from the first cd that you make in gateways crappy backup program i got to the point that it sees the hardware loads and the light lights up once changing the mode to ad-hoc i can see my wireless ap i can sett the essid to the correct name but cant connect . this is something i would like to resolve but usb is more important. this may also have something todo with acpi not working the correct way unknown i dont know to much about acpi to tell acpi = acpi seems to work but computer has a MSFT acpi on it i have found a page that recomends to fix it and it may help with some problems using intels acpi compilier spitsout some errors and warings if someone would like to help me fix this i would be willing to provide any information . i dont really know how to make the changes to patch my acpi but if someone would help i would give them any information the laptop procides system time = the clock seems to become out of sync very fast i would like to resolve this problem to with apic enabled the clocks supper fast ie screen saver set for 40 mins came on in 5 mins etc it seems this laptop uses ati's chipset for board related things and it seems to be newly supported so maybe things will imporve system stats amd64 4000+ (32bit mode for now ) 1gig memory (not using highmem) 100 gb hard drive dvdrw cdrw drive wireless (ndiswrapper only not working) ethernet working with source from syskonects website usb only 1.1 usb2 ? media card slots = unknown power management = unknown cpu throtaling works (k8 ) video works with bugs ati x600 pcie 1080x800 screen sound works with mute /unmute of external amp channel lspci :00:00.0 Host bridge: ATI Technologies Inc ATI Radeon Xpress 200 (RS480/RS482/RX480/RX482) Chipset - Host bridge (rev 01) :00:02.0 PCI bridge: ATI Technologies Inc RS480 PCI-X Root Port :00:06.0 PCI bridge: ATI Technologies Inc: Unknown device 5a38 :00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller :00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller :00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller :00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 11) :00:14.1 IDE interface: ATI Technologies Inc Standard Dual Channel PCI IDE Controller ATI :00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge :00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge :00:14.5 Multimedia audio controller: ATI Technologies Inc IXP SB400 AC'97 Audio Controller (rev 02) :00:14.6 Modem: ATI Technologies Inc ATI SB400 - AC'97 Modem Controller (rev 02) :01:00.0 VGA compatible controller: ATI Technologies Inc M24 1P [Radeon Mobility X600] :02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8036 Fast Ethernet Controller (rev 10) :03:05.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01) :03:07.0 Network controller: