2010/5/26 Giovanni Trematerra <giovanni.tremate...@gmail.com>:
> On Wed, May 26, 2010 at 11:14 AM, David DEMELIER
> <demelier.da...@gmail.com> wrote:
>> 2010/5/25 Giovanni Trematerra <giovanni.tremate...@gmail.com>:
>>> On Tue, May 25, 2010 at 5:52 PM, David DEMELIER
>>> <demelier.da...@gmail.com> wrote:
>>>> 2010/5/25 Giovanni Trematerra <giovanni.tremate...@gmail.com>:
>>>>> On Mon, May 24, 2010 at 9:43 PM, David DEMELIER
>>>>> <demelier.da...@gmail.com> wrote:
>>>>>> 2010/5/12 Giovanni Trematerra <giovanni.tremate...@gmail.com>:
>>>>>>> On Fri, May 7, 2010 at 8:33 PM, Demelier David 
>>>>>>> <demelier.da...@gmail.com> wrote:
>>>>>>>> Le Vendredi 07 mai 2010 à 18:22 +0200, Giovanni Trematerra a écrit :
>>>>>>>>> On Fri, May 7, 2010 at 2:08 PM, Demelier David 
>>>>>>>>> <demelier.da...@gmail.com> wrote:
>>>>>>>>> > Hi,
>>>>>>>>> >        I noticed that pluggin the AC adaptor when I boot without it 
>>>>>>>>> > does not
>>>>>>>>> >        panic. It only panic when removing it.
>>>>>>>>> >
>>>>>>>>> >        Maybe that could help ?
>>>>>>>>> >
>>>>>>>>>
>>>>>>>>> Good to know. The problem lies somewhere when performance state 
>>>>>>>>> change.
>>>>>>>>> In your case it happens when you remove AC adaptor. Let's hope 
>>>>>>>>> someone on
>>>>>>>>> acpi@ ml comes up with a good idea.
>>>>>>>>>
>>>>>>>>
>>>>>>>> Okay so for the moment no change, I'll wait for someone with an idea
>>>>>>>> that could solve my problem. For me because the panic only happens when
>>>>>>>> changing profile from ac plugged -> ac unplugged (and not the reverse) 
>>>>>>>> I
>>>>>>>> would think it's a cpu related acpi issue.
>>>>>>>>
>>>>>>>
>>>>>>> I looked deeper and it seems to me that when you unplug the AC
>>>>>>> adapter, acpi_cpu_notify calls acpi_cpu_cx_cst that try to allocate a
>>>>>>> new cx_ptr->p_lvlx  via acpi_PkgGas.
>>>>>>> If acpi_PkgGas set cx_ptr->p_lvlx to NULL for any reasons you'll have
>>>>>>> the panic that you reported.
>>>>>>> A solution would be to set acpi_cpu_hook to NULL so acpi_cpu_idle won't 
>>>>>>> call it.
>>>>>>> I need some time to have a patch because of the possible race between
>>>>>>> acpi_cpu_notify and
>>>>>>> acpi_cpu_idle during set acpi_cpu_hook to NULL.
>>>>>>> if you have time and want panic your system you could try the attached
>>>>>>> patch, just to be
>>>>>>> sure that we catch it.
>>>>>>>
>>>>>>
>>>>>> Hi, it paniced today ! I don't know why it randomly panic but it did,
>>>>>> the backtrace didn't change. There is a picture about the panic :
>>>>>>
>>>>>> http://img541.imageshack.us/img541/2773/dsc00388xa.jpg
>>>>>
>>>>> What was you trying? acpi_idle5.diff.txt patch?
>>>>> How did it panic? Unplugging AC adapter?
>>>>>
>>>>
>>>> Hi, I tried this one : lvlx.diff.txt. Yes by unplugging the AC adapter.
>>>>
>>>
>>> This is an old one. Could you try acpi_idle5.diff.txt? I kept you in
>>> Cc when I sent to
>>> the list. If you have problems, let me know, I'll resend to you  the patch.
>>>
>>> Thank you.
>>>
>>
>> Hi, it panic'ed with the same backtrace.
>>
>
> Can you please post your dmesg?
>

Sent !

-- 
Demelier David
Copyright (c) 1992-2010 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.1-PRERELEASE #3: Wed May 26 11:48:16 CEST 2010
    r...@melon.malikania.fr:/usr/obj/usr/src/sys/Melon amd64
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU     T6570  @ 2.10GHz (2094.77-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x1067a  Family = 6  Model = 17  Stepping = 10
  
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  
Features2=0x408e3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE>
  AMD Features=0x20100800<SYSCALL,NX,LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant
real memory  = 3221225472 (3072 MB)
avail memory = 3092127744 (2948 MB)
ACPI APIC Table: <HPQOEM 3074    >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
cryptosoft0: <software crypto> on motherboard
acpi0: <HPQOEM SLIC-MPC> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
acpi_ec0: <Embedded Controller: GPE 0x16> port 0x62,0x66 on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0x7000-0x70ff mem 
0xc0000000-0xcfffffff,0xd8400000-0xd840ffff irq 16 at device 0.0 on pci1
acpi_video0: <ACPI video extension> on vgapci0
hdac0: <ATI RV730 High Definition Audio Controller> mem 0xd8410000-0xd8413fff 
irq 17 at device 0.1 on pci1
hdac0: HDA Driver Revision: 20100226_0142
hdac0: [ITHREAD]
uhci0: <Intel 82801I (ICH9) USB controller> port 0x80a0-0x80bf irq 16 at device 
26.0 on pci0
uhci0: [ITHREAD]
usbus0: <Intel 82801I (ICH9) USB controller> on uhci0
uhci1: <Intel 82801I (ICH9) USB controller> port 0x8080-0x809f irq 17 at device 
26.1 on pci0
uhci1: [ITHREAD]
usbus1: <Intel 82801I (ICH9) USB controller> on uhci1
uhci2: <Intel 82801I (ICH9) USB controller> port 0x8060-0x807f irq 18 at device 
26.2 on pci0
uhci2: [ITHREAD]
usbus2: <Intel 82801I (ICH9) USB controller> on uhci2
ehci0: <Intel 82801I (ICH9) USB 2.0 controller> mem 0xd8504400-0xd85047ff irq 
19 at device 26.7 on pci0
ehci0: [ITHREAD]
usbus3: EHCI version 1.0
usbus3: <Intel 82801I (ICH9) USB 2.0 controller> on ehci0
hdac1: <Intel 82801I High Definition Audio Controller> mem 
0xd8500000-0xd8503fff irq 17 at device 27.0 on pci0
hdac1: HDA Driver Revision: 20100226_0142
hdac1: [ITHREAD]
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> irq 17 at device 28.1 on pci0
pci3: <ACPI PCI bus> on pcib3
iwn0: <Intel(R) PRO/Wireless 1000> mem 0xd8200000-0xd8201fff irq 17 at device 
0.0 on pci3
iwn0: MIMO 1T2R, BGS, address 00:1e:64:53:46:ee
iwn0: [ITHREAD]
iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 
36Mbps 48Mbps 54Mbps
pcib4: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0
pci4: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
pci69: <ACPI PCI bus> on pcib5
pcib6: <ACPI PCI-PCI bridge> irq 17 at device 28.5 on pci0
pci134: <ACPI PCI bus> on pcib6
mskc0: <Marvell Yukon 88E8072 Gigabit Ethernet> port 0x2000-0x20ff mem 
0xd0100000-0xd0103fff irq 17 at device 0.0 on pci134
msk0: <Marvell Technology Group Ltd. Yukon EX Id 0xb5 Rev 0x02> on mskc0
msk0: Ethernet address: 18:a9:05:87:38:0a
miibus0: <MII bus> on msk0
e1000phy0: <Marvell 88E1149 Gigabit PHY> PHY 0 on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
mskc0: [ITHREAD]
uhci3: <Intel 82801I (ICH9) USB controller> port 0x8040-0x805f irq 20 at device 
29.0 on pci0
uhci3: [ITHREAD]
usbus4: <Intel 82801I (ICH9) USB controller> on uhci3
uhci4: <Intel 82801I (ICH9) USB controller> port 0x8020-0x803f irq 22 at device 
29.1 on pci0
uhci4: [ITHREAD]
usbus5: <Intel 82801I (ICH9) USB controller> on uhci4
uhci5: <Intel 82801I (ICH9) USB controller> port 0x8000-0x801f irq 18 at device 
29.2 on pci0
uhci5: [ITHREAD]
usbus6: <Intel 82801I (ICH9) USB controller> on uhci5
ehci1: <Intel 82801I (ICH9) USB 2.0 controller> mem 0xd8504000-0xd85043ff irq 
20 at device 29.7 on pci0
ehci1: [ITHREAD]
usbus7: EHCI version 1.0
usbus7: <Intel 82801I (ICH9) USB 2.0 controller> on ehci1
pcib7: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci135: <ACPI PCI bus> on pcib7
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ATA controller> port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x80f0-0x80ff,0x80e0-0x80ef irq 21 at 
device 31.2 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
atapci1: <Intel ATA controller> port 
0x8108-0x810f,0x8124-0x8127,0x8100-0x8107,0x8120-0x8123,0x80d0-0x80df,0x80c0-0x80cf
 irq 18 at device 31.5 on pci0
atapci1: [ITHREAD]
ata2: <ATA channel 0> on atapci1
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci1
ata3: [ITHREAD]
battery0: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_button0: <Sleep Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_tz1: <Thermal Zone> on acpi0
acpi_tz2: <Thermal Zone> on acpi0
acpi_tz3: <Thermal Zone> on acpi0
acpi_tz4: <Thermal Zone> on acpi0
acpi_tz5: <Thermal Zone> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
atrtc0: Warning: Couldn't map I/O.
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model Synaptics Touchpad, device ID 0
orm0: <ISA Option ROM> at iomem 0xc0000-0xcf7ff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
RTC BIOS diagnostic error bb<clock_battery,config_unit,memory_size,fixed_disk>
Timecounters tick every 1.000 msec
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 480Mbps High Speed USB v2.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 12Mbps Full Speed USB v1.0
usbus6: 12Mbps Full Speed USB v1.0
usbus7: 480Mbps High Speed USB v2.0
ad0: 305245MB <WDC WD3200BEKT-60F3T1 12.01A12> at ata0-master UDMA33 
ugen0.1: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <Intel> at usbus3
uhub3: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
ugen4.1: <Intel> at usbus4
uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <Intel> at usbus5
uhub5: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen6.1: <Intel> at usbus6
uhub6: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus6
ugen7.1: <Intel> at usbus7
uhub7: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus7
WARNING: ad0s1 expected rawoffset 0, found 63
WARNING: ad0s1a expected rawoffset 0, found 63
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
uhub5: 2 ports with 2 removable, self powered
uhub6: 2 ports with 2 removable, self powered
acd0: DVDR <hp DVDRAM GT20L/DC05> at ata1-master UDMA33 
hdac0: HDA Codec #0: ATI R6xx HDMI
pcm0: <HDA ATI R6xx HDMI PCM #0 HDMI> at cad 0 nid 1 on hdac0
hdac1: HDA Codec #0: Analog Devices AD1984A
pcm1: <HDA Analog Devices AD1984A PCM #0 Analog> at cad 0 nid 1 on hdac1
uhub3: 6 ports with 6 removable, self powered
uhub7: 6 ports with 6 removable, self powered
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01
(probe0:ata1:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 
(probe0:ata1:0:0:0): CAM status: SCSI Status Error
(probe0:ata1:0:0:0): SCSI status: Check Condition
(probe0:ata1:0:0:0): SCSI sense: NOT READY asc:3a,1 (Medium not present - tray 
closed)
SMP: AP CPU #1 Launched!
cd0 at ata1 bus 0 scbus1 target 0 lun 0
cd0: <hp DVDRAM GT20L DC05> Removable CD-ROM SCSI-0 device 
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray 
closed
Root mount waiting for: usbus3
ugen3.2: <Chicony Electronics Co., Ltd.> at usbus3
Trying to mount root from ufs:/dev/ad0s1a
ugen6.2: <Microsoft> at usbus6
ums0: <Microsoft Compact Optical Mouse 500, class 0/0, rev 1.10/1.00, addr 2> 
on usbus6
ums0: 3 buttons and [XYZ] coordinates ID=0
ugen0.2: <Broadcom Corp> at usbus0
ubt0: <Broadcom Corp HP Integrated Module, class 224/1, rev 2.00/1.65, addr 2> 
on usbus0
WARNING: /var was not properly dismounted
wlan0: Ethernet address: 18:a9:05:87:38:0a
drm0: <ATI Mobility Radeon 4300 Series> on vgapci0
info: [drm] MSI enabled 1 message(s)
vgapci0: child drm0 requested pci_enable_busmaster
info: [drm] Initialized radeon 1.31.0 20080613
info: [drm] Setting GART location based on new memory map
info: [drm] Loading RV710 Microcode
info: [drm] Resetting GPU
info: [drm] writeback test succeeded in 1 usecs
drm0: [ITHREAD]
info: [drm] Resetting GPU
info: [drm] Setting GART location based on new memory map
info: [drm] Loading RV710 Microcode
info: [drm] Resetting GPU
info: [drm] writeback test succeeded in 1 usecs
drm0: [ITHREAD]
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to