Re: System freeze running -current
Hurrah, I was able to get the output from a trace when the problem described below occurs. db> trace Debugger(c0357efe,4,1,0,1) at Debugger+0x54 scgetc(c03c8400,2,b45afa2e,16166842,c25a6180) at scgetc+0x445 sckbdevent(c03a31e0,0,c03c8400,d1d51ccc,4e) at sckbdevent+0x1e0 atkbd_intr(c03a31e0,0,d1d51d08,c01ca531,c03a31e0) at atkbd_intr+0x2c atkbd_isa_intr(c03a31e0,0,0,0,c25bc1c8) at atkbd_isa_intr+0x21 ithread_loop(c25a9b00,d1d51d48,0,2,200381) at ithread_loop+0x1d1 fork_exit(c01ca360,c25a9b00,d1d51d48) at fork_exit+0xb3 fork_trampoline() at fork_trampoline+0x1a --- trap 0x1, eip = 0, esp = 0xd1d51d7c, ebp = 0 --- Regards, Trent. On Fri, Jan 03, 2003 at 09:12:34AM -0600, Trent Nelson wrote: > > I've experienced -current lock up in exactly the same way twice now; > once with 5.0-RC2, and just now, with sources from 30th December. > > The system in question is a Sharp PC-AR50 laptop. In both instances > the system was idle and I was editing a file in vim on ttyv0. Both > systems exhibited the following symptoms: > > 1. Able to switch terminals using alt-F1..F8, but that's it, I'm un- > able to type anything else (keyboard doesn't respond to letters, > numbers, but capslock and numlock still turn on lights). > 2. Responds to pings from other systems on the network. > 3. Cannot connect to the machine via ssh from other systems. The > connection is opened, according to ssh -vvv, but just hangs. > 4. Mouse cursor not responding to either USB mouse or touchpad. > 5. The screensaver (blank) still came on after ten minutes, and I > believe that pressing a key that wasn't previously working turned > it off. (I can't be 100% on that one, it was a pretty random bash > at the keyboard, as you do when you turn off the screen saver.) > 6. Trying out keys, pressing ctl-alt-break caused the following to be > printed on ttyv0: > sio4: detached > ad4: removed from config > ata2: detached > 7. Trying out more keys, I could page up and down ttyv0 with scroll > lock on. > 8. When switching terminals or paging up/down, there was a very, very > small latency between the keypress and the terminal switching or > the page going up or down. > 9. ctrl-alt-del did not work, had to hold down the power button for > five seconds (hard shutdown) to turn the laptop off. > > I have not noticed any other problems with my laptop, and successfu- > lly builtworld on it a number of times. > > Laptop has the following specs: PIII-850MHz, 20GB, DVD, 256MB RAM, > at the time of the last freeze, had a 3Com 56K PCMCIA (3CCM156) > modem in slot 0, and a CompactFlash PC Card adapter with a 256MB > flash card in it in slot 1 -- which wasn't mounted. (Actually, > the modem would have been present in the first freeze as well, but > I doubt the flash card was.) > > % uname -a > FreeBSD cherry.limekiln.vcisp.net 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Mon Dec 30 >04:33:27 GMT 2002 >[EMAIL PROTECTED]:/usr/obj/shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/CHERRY > i386 > > I've attached a copy of my kernel config. as well as the output from > boot -v (taken from the next boot after the crash). > > Regards, > > Trent. > > Copyright (c) 1992-2002 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 5.0-CURRENT #1: Mon Dec 30 04:33:27 GMT 2002 > >[EMAIL PROTECTED]:/usr/obj/shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/CHERRY > Preloaded elf kernel "/boot/kernel/kernel" at 0xc0485000. > Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04850b4. > Calibrating clock(s) ... TSC clock: 846271143 Hz, i8254 clock: 1193112 Hz > CLK_USE_I8254_CALIBRATION not specified - using default frequency > Timecounter "i8254" frequency 1193182 Hz > CLK_USE_TSC_CALIBRATION not specified - using old calibration method > Timecounter "TSC" frequency 846324031 Hz > CPU: Pentium III/Pentium III Xeon/Celeron (846.32-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x686 Stepping = 6 > >Features=0x383f9ff > real memory = 268369920 (255 MB) > Physical memory chunk(s): > 0x1000 - 0x0009efff, 647168 bytes (158 pages) > 0x004ac000 - 0x0ffe7fff, 263438336 bytes (64316 pages) > avail memory = 255811584 (243 MB) > bios32: Found BIOS32 Service Directory header at 0xc00f71d0 > bios32: Entry = 0xfd8a0 (c00fd8a0) Rev = 0 Len = 1 > pcibios: PCI BIOS entry at 0xfd8a0+0x12f > pnpbios: Found PnP BIOS data at 0xc00f7200 > pnpbios: Entry = f:abbe Rev = 1.0 > Other BIOS signatures found: > Initializing GEOMetry subsystem > null: > random: > mem: > Pentium Pro MTRR support enabled > npx0: on motherboard > npx0: INT 16 interface > acpi0: on motherboard > ACPI-0625: *** Info: GPE Block0 defined as GP
Re: System freeze running -current
* Nate Lawson <[EMAIL PROTECTED]> [20030109 21:34]: wrote: > On Sat, 4 Jan 2003, Trent Nelson wrote: > > On Fri, Jan 03, 2003 at 11:16:57AM -0800, Nate Lawson wrote: > > > Sounds like an atkbd or syscons problem. > > > Did you suspend the laptop and resume before this happens? > > > > No. However, it happened to me today shorty after I issued a sysctl > > -w hw.acpi.cpu.economy_speed=8. (Why does it default to 4 anyway?) > > Try Taku-san's patch. I'm unfamiliar with this section of acpi so I can't > help here. > > > > How does "unset acpi_load" at the boot prompt change things? > > > > Well, I can't reproduce it consistently, so it'll be hard to determ- > > ine if disabling ACPI does the trick. > > > > I also noticed I was able to drop into the debugger and the keyboard > > works fine in it. Can you suggest what I should be looking for? > > I don't know. I was just trying to get you to post more information so > others could help also. I'd suspect an interrupt problem if it works in > ddb but not at the console. Can you supply dmesg for boot with acpi as > well as after "unset acpi_load"? I'm curious about the atkbd probe line > in particular. > Hello All, Mr. Nate's suspicion seems almost accurate to me. I've seen there seem to be IRQ issues. Here attached are dmesg outputs when I boot with acpi and without acpi. I'd be glad to know about any solution found. -Wash -- Odhiambo Washington <[EMAIL PROTECTED]> "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: +254 2 313985-9 +254 2 313922 so I installed FreeBSD." GSM: +254 72 743223 +254 733 744121 This sig is McQ! :-) Wethern's Law: Assumption is the mother of all screw-ups. Copyright (c) 1992-2003 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 5.0-CURRENT #2: Fri Jan 10 15:01:30 EAT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/Kern5.x Preloaded elf kernel "/boot/kernel/kernel" at 0xc05fb000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc05fb0a8. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 1699957108 Hz CPU: Pentium 4 (1699.96-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf12 Stepping = 2 Features=0x3febf9ff real memory = 335478784 (319 MB) avail memory = 318447616 (303 MB) Initializing GEOMetry subsystem netsmb_dev: loaded Pentium Pro MTRR support enabled VESA: v2.0, 8192k memory, flags:0x1, mode table:0xc0501222 (122) VESA: ATI RAGE128 npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15 Using $PIR table, 6 entries at 0xc00fdec0 acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz unknown: I/O range not supported acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 acpi_cpu0: on acpi0 acpi_tz0: on acpi0 acpi_button0: on acpi0 pcib0: port 0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xd000-0xd7ff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pcm0: port 0xd000-0xd03f irq 11 at device 9.0 on pci0 xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xd400-0xd47f mem 0xdf101000-0xdf10107f irq 5 at device 11.0 on pci0 xl0: Ethernet address: 00:50:da:39:d8:2f miibus0: on xl0 bmtphy0: <3c905B 10/100 internal PHY> on miibus0 bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: port 0xd800-0xd81f mem 0xdf00-0xdf0f,0xdf10-0xdf100fff irq 10 at device 12.0 on pci0 fxp0: Ethernet address 00:08:c7:fb:05:c2 inphy0: on miibus1 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 17.0 on pci0 isa0: on isab0 atapci0: port 0xdc00-0xdc0f at device 17.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xe000-0xe01f irq 5 at device 17.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xe400-0xe41f irq 5 at device 17.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xe800-0xe81f irq 5 at device 17.4 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pcm1: port 0xec00-0xecff irq 10 at device 17.5 on pci0 fdc0: port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0 port 0x778-0x77b,0x378-0x37f irq
Re: System freeze running -current
On Fri, 10 Jan 2003, Odhiambo Washington wrote: > When is this "unset acpi_load" done? I can provide the info rqd. At the "booting in 10 seconds" prompt. Hit space and type it in. -Nate To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: System freeze running -current
* Nate Lawson <[EMAIL PROTECTED]> [20030109 21:34]: wrote: > On Sat, 4 Jan 2003, Trent Nelson wrote: > > On Fri, Jan 03, 2003 at 11:16:57AM -0800, Nate Lawson wrote: > > > Sounds like an atkbd or syscons problem. > > > Did you suspend the laptop and resume before this happens? > > > > No. However, it happened to me today shorty after I issued a sysctl > > -w hw.acpi.cpu.economy_speed=8. (Why does it default to 4 anyway?) > > Try Taku-san's patch. I'm unfamiliar with this section of acpi so I can't > help here. > > > > How does "unset acpi_load" at the boot prompt change things? > > > > Well, I can't reproduce it consistently, so it'll be hard to determ- > > ine if disabling ACPI does the trick. > > > > I also noticed I was able to drop into the debugger and the keyboard > > works fine in it. Can you suggest what I should be looking for? > > I don't know. I was just trying to get you to post more information so > others could help also. I'd suspect an interrupt problem if it works in > ddb but not at the console. Can you supply dmesg for boot with acpi as > well as after "unset acpi_load"? I'm curious about the atkbd probe line > in particular. Just to add my $0.02 cents, I've seen my box freeze momentarily since I updated to -current two days ago, but I haven't yet done enough to capture the event that causes this. If there is some info I need to provide, I'll be more than willing to take the matter up. When is this "unset acpi_load" done? I can provide the info rqd. -Wash -- Odhiambo Washington <[EMAIL PROTECTED]> "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: +254 2 313985-9 +254 2 313922 so I installed FreeBSD." GSM: +254 72 743223 +254 733 744121 This sig is McQ! :-) The qotc (quote of the con) was Liz's: "My brain is paged out to my liver" To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: System freeze running -current
On Sat, 4 Jan 2003, Trent Nelson wrote: > On Fri, Jan 03, 2003 at 11:16:57AM -0800, Nate Lawson wrote: > > Sounds like an atkbd or syscons problem. > > Did you suspend the laptop and resume before this happens? > > No. However, it happened to me today shorty after I issued a sysctl > -w hw.acpi.cpu.economy_speed=8. (Why does it default to 4 anyway?) Try Taku-san's patch. I'm unfamiliar with this section of acpi so I can't help here. > > How does "unset acpi_load" at the boot prompt change things? > > Well, I can't reproduce it consistently, so it'll be hard to determ- > ine if disabling ACPI does the trick. > > I also noticed I was able to drop into the debugger and the keyboard > works fine in it. Can you suggest what I should be looking for? I don't know. I was just trying to get you to post more information so others could help also. I'd suspect an interrupt problem if it works in ddb but not at the console. Can you supply dmesg for boot with acpi as well as after "unset acpi_load"? I'm curious about the atkbd probe line in particular. -Nate To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: System freeze running -current
Hi all, On Sat, 4 Jan 2003 17:55:25 + Trent Nelson <[EMAIL PROTECTED]> wrote: > No. However, it happened to me today shorty after I issued a sysctl > -w hw.acpi.cpu.economy_speed=8. (Why does it default to 4 anyway?) It reminded me of my tiny local patch. --- src/sys/dev/acpica/acpi_cpu.c.orig Thu Oct 17 02:28:52 2002 +++ src/sys/dev/acpica/acpi_cpu.c Mon Dec 23 12:58:28 2002 @@ -328,7 +328,7 @@ if (speed < CPU_MAX_SPEED) { /* mask the old CLK_VAL off and or-in the new value */ - clk_val = CPU_MAX_SPEED << cpu_duty_offset; + clk_val = (CPU_MAX_SPEED - 1) << cpu_duty_offset; p_cnt &= ~clk_val; p_cnt |= (speed << cpu_duty_offset); Virtually yours, Taku -- YAMAMOTO, Taku <[EMAIL PROTECTED]> Digital circuits are made from analog parts. -- Don Vonada To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: System freeze running -current
On Fri, Jan 03, 2003 at 11:16:57AM -0800, Nate Lawson wrote: > Sounds like an atkbd or syscons problem. > Did you suspend the laptop and resume before this happens? No. However, it happened to me today shorty after I issued a sysctl -w hw.acpi.cpu.economy_speed=8. (Why does it default to 4 anyway?) > How does "unset acpi_load" at the boot prompt change things? Well, I can't reproduce it consistently, so it'll be hard to determ- ine if disabling ACPI does the trick. I also noticed I was able to drop into the debugger and the keyboard works fine in it. Can you suggest what I should be looking for? > -Nate Trent. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: System freeze running -current
On Fri, 3 Jan 2003, Trent Nelson wrote: > I've experienced -current lock up in exactly the same way twice now; > once with 5.0-RC2, and just now, with sources from 30th December. > > The system in question is a Sharp PC-AR50 laptop. In both instances > the system was idle and I was editing a file in vim on ttyv0. Both > systems exhibited the following symptoms: > > 1. Able to switch terminals using alt-F1..F8, but that's it, I'm un- > able to type anything else (keyboard doesn't respond to letters, > numbers, but capslock and numlock still turn on lights). > 2. Responds to pings from other systems on the network. Sounds like an atkbd or syscons problem. Did you suspend the laptop and resume before this happens? How does "unset acpi_load" at the boot prompt change things? -Nate To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
System freeze running -current
I've experienced -current lock up in exactly the same way twice now; once with 5.0-RC2, and just now, with sources from 30th December. The system in question is a Sharp PC-AR50 laptop. In both instances the system was idle and I was editing a file in vim on ttyv0. Both systems exhibited the following symptoms: 1. Able to switch terminals using alt-F1..F8, but that's it, I'm un- able to type anything else (keyboard doesn't respond to letters, numbers, but capslock and numlock still turn on lights). 2. Responds to pings from other systems on the network. 3. Cannot connect to the machine via ssh from other systems. The connection is opened, according to ssh -vvv, but just hangs. 4. Mouse cursor not responding to either USB mouse or touchpad. 5. The screensaver (blank) still came on after ten minutes, and I believe that pressing a key that wasn't previously working turned it off. (I can't be 100% on that one, it was a pretty random bash at the keyboard, as you do when you turn off the screen saver.) 6. Trying out keys, pressing ctl-alt-break caused the following to be printed on ttyv0: sio4: detached ad4: removed from config ata2: detached 7. Trying out more keys, I could page up and down ttyv0 with scroll lock on. 8. When switching terminals or paging up/down, there was a very, very small latency between the keypress and the terminal switching or the page going up or down. 9. ctrl-alt-del did not work, had to hold down the power button for five seconds (hard shutdown) to turn the laptop off. I have not noticed any other problems with my laptop, and successfu- lly builtworld on it a number of times. Laptop has the following specs: PIII-850MHz, 20GB, DVD, 256MB RAM, at the time of the last freeze, had a 3Com 56K PCMCIA (3CCM156) modem in slot 0, and a CompactFlash PC Card adapter with a 256MB flash card in it in slot 1 -- which wasn't mounted. (Actually, the modem would have been present in the first freeze as well, but I doubt the flash card was.) % uname -a FreeBSD cherry.limekiln.vcisp.net 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Mon Dec 30 04:33:27 GMT 2002 [EMAIL PROTECTED]:/usr/obj/shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/CHERRY i386 I've attached a copy of my kernel config. as well as the output from boot -v (taken from the next boot after the crash). Regards, Trent. Copyright (c) 1992-2002 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 5.0-CURRENT #1: Mon Dec 30 04:33:27 GMT 2002 [EMAIL PROTECTED]:/usr/obj/shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/CHERRY Preloaded elf kernel "/boot/kernel/kernel" at 0xc0485000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04850b4. Calibrating clock(s) ... TSC clock: 846271143 Hz, i8254 clock: 1193112 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method Timecounter "TSC" frequency 846324031 Hz CPU: Pentium III/Pentium III Xeon/Celeron (846.32-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383f9ff real memory = 268369920 (255 MB) Physical memory chunk(s): 0x1000 - 0x0009efff, 647168 bytes (158 pages) 0x004ac000 - 0x0ffe7fff, 263438336 bytes (64316 pages) avail memory = 255811584 (243 MB) bios32: Found BIOS32 Service Directory header at 0xc00f71d0 bios32: Entry = 0xfd8a0 (c00fd8a0) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xfd8a0+0x12f pnpbios: Found PnP BIOS data at 0xc00f7200 pnpbios: Entry = f:abbe Rev = 1.0 Other BIOS signatures found: Initializing GEOMetry subsystem null: random: mem: Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15 ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST pci_open(1):mode 1 addr port (0x0cf8) is 0x8000384c pci_open(1a): mode1res=0x8000 (0x8000) pci_cfgcheck: device 0 [class=06] [hdr=00] is there (id=71908086) Using $PIR table, 7 entries at 0xc00fdf50 PCI-Only Interrupts: none Location Bus Device Pin Link IRQs embedded10A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded10B 0x61 3 4 5 6 7 9 10 11 12 14 15 embedded10C 0x62 3 4 5 6 7 9 10 11 12 14 15 embedded10D 0x63 3 4 5 6 7 9 10 11 12 14 15 embedded01A 0x61 3 4 5 6 7 9 10 11 12 14 15 embedded10A 0x61 3 4 5 6 7 9 10 11 12 14 15 embedded07A 0x60 3 4 5 6 7 9 10 11 12 14 15 embe