Panic from a recentish kernel: panic: Exit: Single threading fouled up

2003-11-03 Thread Michael McGoldrick
While trying to murder Mozilla and gwenview alongside compiling world and
perl, something went wrong...
Unfortunately, I'd updated my sources just prior to the event, so any listing
is probably highly suspect. Most things should be using libthr via libmap.
Apologies for the lack of info, I'll see if I can reproduce it and get
something more concrete (without losing 868 buffers this time, hopefully)

panic: Exit: Single threading fouled up

syncing disks, buffers remaining... 1384 1384 1384 1384 1384 1384 1384 1384
138
 1384 1384 1384 1384 1384 1384 1384 1384 1384 1384 1384 
giving up on 868 buffers
Uptime: 3h23m8s
Dumping 127 MB
 16 32 48 64[CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort]  80 96 112
---
Reading symbols from
/usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/lin
x/linux.ko.debug...done.
Loaded symbols for
/usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/linux
linux.ko.debug
Reading symbols from /boot/kernel/ng_ubt.ko...done.
Loaded symbols for /boot/kernel/ng_ubt.ko
Reading symbols from /boot/kernel/netgraph.ko...done.
Loaded symbols for /boot/kernel/netgraph.ko
Reading symbols from
/usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/acp
/acpi.ko.debug...done.
Loaded symbols for
/usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/acpi/
cpi.ko.debug
Reading symbols from
/usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/ntf
/ntfs.ko.debug...done.
Loaded symbols for
/usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/ntfs/
tfs.ko.debug
Reading symbols from
/usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/lin
rocfs/linprocfs.ko.debug...done.
Loaded symbols for
/usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/linpr
cfs/linprocfs.ko.debug
Reading symbols from
/usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/ipf
/ipfw.ko.debug...done.
Loaded symbols for
/usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/ipfw/
pfw.ko.debug
Reading symbols from /boot/kernel/logo_saver.ko...done.
Loaded symbols for /boot/kernel/logo_saver.ko
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
240 dumping++;
(kgdb) bt
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0xc0540e28 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:372
#2  0xc05411b7 in panic () at /usr/src/sys/kern/kern_shutdown.c:550
#3  0xc0529511 in exit1 (td=0xc2d04be0, rv=1536)
at /usr/src/sys/kern/kern_exit.c:233
#4  0xc0528fe1 in sys_exit () at /usr/src/sys/kern/kern_exit.c:102
#5  0xc06a4430 in syscall (frame=
  {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = -1077944160, tf_esi = 6,
tf
ebp = -1077945032, tf_isp = -820667020, tf_ebx = 691275236, tf_edx =
691276208,
tf_ecx = 23, tf_eax = 1, tf_trapno = 12, tf_err = 2, tf_eip = 676497947, tf_cs 
 31, tf_eflags = 582, tf_esp = -1077945060, tf_ss = 47})
at /usr/src/sys/i386/i386/trap.c:1012
#6  0xc069468d in Xint0x80_syscall () at {standard input}:144
---Can't read userspace from dump, or kernel process---

(kgdb) up 3
#3  0xc0529511 in exit1 (td=0xc2d04be0, rv=1536)
at /usr/src/sys/kern/kern_exit.c:233
233 ("realtime timer is still armed"));
(kgdb) l
228 if (timevalisset(&p->p_realtimer.it_value) &&
229 callout_stop(&p->p_itcallout) == 0) {
230 timevalclear(&p->p_realtimer.it_interval);
231 msleep(&p->p_itcallout, &p->p_mtx, PWAIT, "ritwait",
0)
232 KASSERT(!timevalisset(&p->p_realtimer.it_value),
233 ("realtime timer is still armed"));
234 }
235 PROC_UNLOCK(p);
236
237 /*
(kgdb) up 1
#4  0xc0528fe1 in sys_exit () at /usr/src/sys/kern/kern_exit.c:102
102 exit1(td, W_EXITCODE(uap->rval, 0));
(kgdb) l
97  void
98  sys_exit(struct thread *td, struct sys_exit_args *uap)
99  {
100
101 mtx_lock(&Giant);
102 exit1(td, W_EXITCODE(uap->rval, 0));
103 /* NOTREACHED */
104 }
105
106 /*
(kgdb) up 1
#5  0xc06a4430 in syscall (frame=
  {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = -1077944160, tf_esi = 6,
tf
ebp = -1077945032, tf_isp = -820667020, tf_ebx = 691275236, tf_edx =
691276208,
tf_ecx = 23, tf_eax = 1, tf_trapno = 12, tf_err = 2, tf_eip = 676497947, tf_cs 
 31, tf_eflags = 582, tf_esp = -1077945060, tf_ss = 47})
at /usr/src/sys/i386/i386/trap.c:1012
1012error = (*callp->sy_call)(td, args);
(kgdb) l
1007
1008STOPEVENT(p, S_SCE, narg);
1009
1010PTRACESTOP_SC(p, td, S_PT_SCE);
1011
1012error = (*callp->sy_call)(td, args);
1013}
1014
1015switch (error) {
1016case 0:
(kgdb) 

-- 
Michael McGoldrick: [EMAIL PROTECTED] 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ATANG Vs. Acer chipset

2003-09-27 Thread Michael McGoldrick
I haven't been able to boot a -current kernel since the ATAng import.
They all die after (in a boot -v) a message from GEOM about creating ad0.
If any further info would be helpful, just let me know what you need.

-- 
Michael McGoldrick: [EMAIL PROTECTED] 
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.1-CURRENT #24: Sat Aug 23 16:42:47 BST 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/URIEL
Preloaded elf kernel "/boot/kernel.old/kernel" at 0xc05bd000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc05bd1d0.
Preloaded elf module "/boot/kernel.old/linux.ko" at 0xc05bd220.
Preloaded elf module "/boot/kernel.old/ng_ubt.ko" at 0xc05bd2d0.
Preloaded elf module "/boot/kernel.old/netgraph.ko" at 0xc05bd380.
Preloaded elf module "/boot/kernel.old/acpi.ko" at 0xc05bd434.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (546.62-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x681  Stepping = 1
  
Features=0x383f9ff
real memory  = 134152192 (127 MB)
avail memory = 123867136 (118 MB)
Pentium Pro MTRR support enabled
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
ACPI-0981: *** Error: GPE0 block (GPE 0 to 15) overlaps the GPE1 block (GPE 10 to 
25) - Ignoring GPE1
pcibios: BIOS version 2.10
Using $PIR table, 8 entries at 0xc00f7900
acpi0: power button is handled as a fixed feature programming model.
acpi_cpu0:  port 0x530-0x537 on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib0: slot 2 INTA is routed to irq 10
pcib0: slot 11 INTA is routed to irq 5
pcib0: slot 19 INTA is routed to irq 10
pcib0: slot 20 INTB is routed to irq 10
pcib0: slot 20 INTC is routed to irq 11
pcib0: slot 20 INTD is routed to irq 5
pcib0: slot 20 INTA is routed to irq 9
agp0:  mem 0xe000-0xe3ff at device 0.0 on pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pcib0: slot 1 INTA is routed to irq 9
pcib1: slot 0 INTA is routed to irq 9
pci1:  at device 0.0 (no driver attached)
ohci0:  mem 0x9080-0x90800fff irq 10 at 
device 2.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0:  on ohci0
usb0: USB revision 1.0
uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1: Atmel Standard USB Hub, class 9/0, rev 1.10/3.00, addr 2
uhub1: 4 ports with 4 removable, self powered
umass0: PQI Travel Flash, rev 1.10/2.05, addr 3
umass0: SCSI over Bulk-Only; quirks = 0x
umass0:0:0:-1: Attached to scbus0
ums0: Microsoft Microsoft Wheel Mouse Optical\M-., rev 1.10/1.21, addr 4, iclass 3/1
ums0: 3 buttons and Z dir.
isab0:  at device 7.0 on pci0
isa0:  on isab0
csa0:  mem 
0x9050-0x905f,0x9040-0x90400fff irq 5 at device 11.0 on pci0
csa: card is Unknown/invalid SSID (CS4614)
pcm0:  on csa0
pcm0: 
atapci0:  port 0x8400-0x840f at device 15.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
rl0:  port 0x8000-0x80ff mem 0x82103400-0x821034ff 
irq 10 at device 19.0 on pci0
rl0: Ethernet address: 00:60:67:76:6e:bf
miibus0:  on rl0
rlphy0:  on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ohci1:  mem 0x8210-0x82100fff irq 10 at 
device 20.0 on pci0
usb1: OHCI version 1.0, legacy support
usb1:  on ohci1
usb1: USB revision 1.0
uhub2: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ohci2:  mem 0x82101000-0x82101fff irq 11 at 
device 20.1 on pci0
usb2: OHCI version 1.0, legacy support
usb2:  on ohci2
usb2: USB revision 1.0
uhub3: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ohci3:  mem 0x82102000-0x82102fff irq 5 at 
device 20.2 on pci0
usb3: OHCI version 1.0, legacy support
usb3:  on ohci3
usb3: USB revision 1.0
uhub4: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
ehci0:  mem 0x82103000-0x821030ff irq 9 at device 
20.3 on pci0
ehci_pci_attach: companion usb1
ehci_pci_attach: companion usb2
ehci_pci_attach: companion usb3
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb1 usb2 usb3
usb4:  on ehci0
usb4: USB revision 2.0
uhub5: AcerLabs EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub5: 6 ports with 6 removable, self powered
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
fdc0:  port 0x3f7,0x3f0-0x3f5 
irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0 port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0:  on ppc0
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1:

Re: USB mass storage device oddness

2003-07-12 Thread Michael McGoldrick
On Fri, Jul 11, 2003 at 10:22:53PM +0200, Poul-Henning Kamp wrote:
> In message <[EMAIL PROTECTED]>, Nate Lawson writes:
> >The important part of your error message is "Medium not present".
> >Obviously, when you insert the flash reader into the USB port without any
> >flash media in it, that is the right error to return.  I believe our umass
> >driver and/or your reader do not generate the proper CAM event when the
> >media is inserted.
> >
> >The easy workaround is to always insert the flash in the reader and then
> >the reader into the USB port.
> 
> It may be possible to trigger a reexamination of the device by
> doing a
>   true > /dev/da0
> 
> (for correct value of 0 obviously)
> 
> -- 
> Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
> [EMAIL PROTECTED] | TCP/IP since RFC 956
> FreeBSD committer   | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.

Unfortunately, when I remove a card, the whole umass0 device vanishes, never
to reappear. 
Actually, I can live with removing and reattaching the whole reader every time
I change card, the thing that was really concerning me was the way the system
sometimes 'forgets' how to open any files at all when I remove and reinsert a
card. Sadly, this problem is intermittent and I haven't worked out the
circumstances that trigger it yet. I will update when the whole GCC thing has
blown over and build a debug kernel to see if that sheds any light on the
matter.

-- 
Michael McGoldrick: [EMAIL PROTECTED] 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


USB mass storage device oddness

2003-07-11 Thread Michael McGoldrick
 SCSI Status: Check
Condition
Jul 11 19:11:11 uriel kernel: (da2:umass-sim0:0:0:2): NOT READY asc:3a,0
Jul 11 19:11:11 uriel kernel: (da2:umass-sim0:0:0:2): Medium not present
Jul 11 19:11:11 uriel kernel: (da2:umass-sim0:0:0:2): Unretryable error
Jul 11 19:11:11 uriel kernel: Opened disk da2 -> 6

Messages when I insert a card:

Jul 11 19:12:01 uriel kernel: umass0: at uhub0 port 1 (addr 5) disconnected
Jul 11 19:12:01 uriel kernel: (da0:umass-sim0:0:0:0): lost device
Jul 11 19:12:01 uriel kernel: (da0:umass-sim0:0:0:0): removing device entry
Jul 11 19:12:01 uriel kernel: (da1:umass-sim0:0:0:1): lost device
Jul 11 19:12:01 uriel kernel: (da1:umass-sim0:0:0:1): removing device entry
Jul 11 19:12:01 uriel kernel: (da2:umass-sim0:0:0:2): lost device
Jul 11 19:12:01 uriel kernel: (da2:umass-sim0:0:0:2): removing device entry
Jul 11 19:12:01 uriel kernel: umass0: detached

/dev/da0s1 then fails to appear. (obviously)
When I get the following messages, the system begins playing up.

Jul 11 19:12:02 uriel kernel: umass0: PQI Travel Flash, rev 1.10/2.05, addr 5
Jul 11 19:12:02 uriel kernel: umass0: SCSI over Bulk-Only; quirks = 0x
Jul 11 19:12:02 uriel kernel: umass0:0:0:-1: Attached to scbus0
Jul 11 19:12:02 uriel kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Jul 11 19:12:02 uriel kernel: da0:  Removable
Direct Access SCSI-2 device 
Jul 11 19:12:02 uriel kernel: da0: 1.000MB/s transfers
Jul 11 19:12:02 uriel kernel: da0: Attempt to query device size failed: NOT
READY, Medium not present
Jul 11 19:12:02 uriel kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0
0 0 0 0 0 0 0 0 
Jul 11 19:12:02 uriel kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status
Error
Jul 11 19:12:02 uriel kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check
Condition
Jul 11 19:12:02 uriel kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0
Jul 11 19:12:02 uriel kernel: (da0:umass-sim0:0:0:0): Medium not present
Jul 11 19:12:02 uriel kernel: (da0:umass-sim0:0:0:0): Unretryable error
Jul 11 19:12:02 uriel kernel: Opened disk da0 -> 6
Jul 11 19:12:02 uriel kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0
0 0 0 0 0 0 0 0 
Jul 11 19:12:02 uriel kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status
Error
Jul 11 19:12:02 uriel kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check
Condition
Jul 11 19:12:02 uriel kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0
Jul 11 19:12:02 uriel kernel: (da0:umass-sim0:0:0:0): Medium not present
Jul 11 19:12:02 uriel kernel: (da0:umass-sim0:0:0:0): Unretryable error
Jul 11 19:12:02 uriel kernel: Opened disk da0 -> 6
Jul 11 19:12:02 uriel kernel: da1 at umass-sim0 bus 0 target 0 lun 1
Jul 11 19:12:02 uriel kernel: da1:  Removable
Direct Access SCSI-2 device 
Jul 11 19:12:02 uriel kernel: da1: 1.000MB/s transfers
Jul 11 19:12:02 uriel kernel: da1: 30MB (62720 512 byte sectors: 64H 32S/T
30C)
Jul 11 19:12:02 uriel kernel: (da1:umass-sim0:0:0:1): READ(6)/WRITE(6) not
supported, increasing minimum_cmd_size to 10.
Jul 11 19:12:38 uriel kernel: (da1:umass-sim0:0:0:1): Synchronize cache
failed, status == 0x4, scsi status == 0x0
Jul 11 19:13:03 uriel kernel: (da2:umass-sim0:0:0:2): got CAM status 0x4
Jul 11 19:13:03 uriel kernel: (da2:umass-sim0:0:0:2): fatal error, failed to
attach to device
Jul 11 19:13:03 uriel kernel: (da2:umass-sim0:0:0:2): lost device
Jul 11 19:13:03 uriel kernel: (da2:umass-sim0:0:0:2): removing device entry
Jul 11 19:13:33 uriel kernel: Opened disk da1 -> 5

Apologies for the verbosity, but I really have no idea what is happening here.

-- 
Michael McGoldrick: [EMAIL PROTECTED] 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mbuf double-free panic

2003-05-02 Thread Michael McGoldrick
Oooops, attached the wrong file. Ahh, the delights of embarassing yourself on
a public forum.

-- 
Michael McGoldrick: [EMAIL PROTECTED] 
Script started on Fri May  2 21:21:59 2003
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-undermydesk-freebsd"...
panic: m_free detected a mbuf double-free
panic messages:
---
panic: m_free detected a mbuf double-free

syncing disks, buffers remaining... 1407 1407 1401 1398 1398 1398 1398 1398 1397 1397 
1397 
sio1: 1 more silo overflow (total 26)
1397 1397 1397 1397 1397 1397 1397 1397 1397 1397 1397 1397 1397 1397 1397 1397 1397 
giving up on 428 buffers
Uptime: 22m48s
Dumping 127 MB
ata1: resetting devices ..
done
[CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort]  16 32 48 64 80 96 112
---
Reading symbols from 
/usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/linux/linux.ko.debug...done.
Loaded symbols for 
/usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/linux/linux.ko.debug
Reading symbols from 
/usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/acpi/acpi.ko.debug...done.
Loaded symbols for 
/usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/acpi/acpi.ko.debug
Reading symbols from 
/usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/linprocfs/linprocfs.ko.debug...done.
Loaded symbols for 
/usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/linprocfs/linprocfs.ko.debug
Reading symbols from 
/usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/ipfw/ipfw.ko.debug...done.
Loaded symbols for 
/usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/ipfw/ipfw.ko.debug
Reading symbols from /boot/kernel/logo_saver.ko...done.
Loaded symbols for /boot/kernel/logo_saver.ko
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:238
238 dumping++;
(kgdb) bt
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:238
#1  0xc023a7aa in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:370
#2  0xc023aafb in panic () at /usr/src/sys/kern/kern_shutdown.c:543
#3  0xc0256352 in m_free (mb=0xc0bbcf00) at /usr/src/sys/kern/subr_mbuf.c:1392
#4  0xc02a8993 in tunread (dev=0x0, uio=0xce8a6c7c, flag=8323072)
at /usr/src/sys/net/if_tun.c:679
#5  0xc01fe3ae in spec_read (ap=0xce8a6be0)
at /usr/src/sys/fs/specfs/spec_vnops.c:271
#6  0xc01fdf38 in spec_vnoperate (ap=0x0)
at /usr/src/sys/fs/specfs/spec_vnops.c:123
#7  0xc02991e2 in vn_read (fp=0xc256099c, uio=0xce8a6c7c, 
active_cred=0xc235b900, flags=0, td=0xc2674390) at vnode_if.h:383
#8  0xc025cd12 in dofileread (td=0xc2674390, fp=0xc256099c, fd=0, 
buf=0xbfbfee40, nbyte=0, offset=0, flags=0) at file.h:227
#9  0xc025cb7b in read (td=0xc2674390, uap=0xce8a6d10)
at /usr/src/sys/kern/sys_generic.c:106
#10 0xc038ecfe in syscall (frame=
  {tf_fs = 47, tf_es = -1078001617, tf_ds = -1078001617, tf_edi = 134883872, 
tf_esi = 134996480, tf_ebp = -1077938584, tf_isp = -829788812, tf_ebx = 134969308, 
tf_edx = 135049216, tf_ecx = 7, tf_eax = 3, tf_trapno = 0, tf_err = 2, tf_eip = 
673638227, tf_cs = 31, tf_eflags = 514, tf_esp = -1077940724, tf_ss = 47})
at /usr/src/sys/i386/i386/trap.c:1021
#11 0xc037ec0d in Xint0x80_syscall () at {standard input}:138
---Can't read userspace from dump, or kernel process---

(kgdb) up 3
#3  0xc0256352 in m_free (mb=0xc0bbcf00) at /usr/src/sys/kern/subr_mbuf.c:1392
1392MEXT_REM_REF(mb);
(kgdb) l
1387#endif
1388if ((mb->m_flags & M_PKTHDR) != 0)
1389m_tag_delete_chain(mb, NULL);
1390nb = mb->m_next;
1391if ((mb->m_flags & M_EXT) != 0) {
1392MEXT_REM_REF(mb);
1393if (atomic_cmpset_int(mb->m_ext.ref_cnt, 0, 1)) {
1394if (mb->m_ext.ext_type == EXT_CLUSTER) {
1395mb_free(&mb_list_clust,
1396(caddr_t)mb->m_ext.ext_buf, MT_NOTMBUF,
(kgdb) print md b
$1 = (struct mbuf *) 0xc0bbcf00
(kgdb) print *mb

$2 = {m_hdr = {mh_next = 0x0, mh_nextpkt = 0x0, mh_data = 0xc0bbcf3c "", 
mh_len = 44, mh_flags = 16386, mh_type = 2}, M_dat = {MH = {MH_pkthdr = {
rcvif = 0x0, len = 44, header = 0x2, csum_flags = 0, csum_data = 16, 
tags = {slh_first = 0x0}}, MH_dat = {MH_ext = {
  ext_buf = 0xc105f000 "5\020\004", ext_free = 0, ext_args = 0x0, 
  ext_size = 33554432, ref_cnt = 0x2845, ext_type = 7684}, 
MH_databuf = "\0ð\005Á", '\0' , "\002E\0\0([EMAIL 
PROTECTED]/Ã\\ä-À\025\0P·\205\037\004³ðdßP\020\0\0ú\r\0\0\001\001\b\n\0\001\005\023Q\n|ý\002\0\0\0\0\0\0\0L\001\005\0\025\0

GEOM related swap errors

2002-10-10 Thread Michael McGoldrick

Since GEOM became default, I've been getting a lot of errors like these:
Oct  9 17:02:19 uriel kernel: swap_pager: I/O error - pageout failed; blkno
3240
,size 4096, error 5
Oct  9 17:02:19 uriel kernel: swap_pager: I/O error - pageout failed; blkno
1254
4,size 8192, error 5
Oct  9 17:02:19 uriel kernel: swap_pager: I/O error - pageout failed; blkno
1257
6,size 8192, error 5

These seem to go away when the kernel is built with NO_GEOM.
I added a panic just below this message in swap_pager.c - backtrace attached.
I haven't really looked at it yet and I won't be able to use this machine for
a few hours. Any assistance appreciated.

-- 
Michael McGoldrick: [EMAIL PROTECTED] 


Script started on Thu Oct 10 12:20:07 2002
uriel# gdb -k /usr/obj/usr/src/sys/URIEL/kernel.debug vmcore.0

GNU gdb 5.2.0 (FreeBSD) 20020627
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-undermydesk-freebsd"...
panic: bremfree: bp 0xc4aac768 not locked
panic messages:
---
panic: Damn swap error!


syncing disks... panic: bremfree: bp 0xc4aac768 not locked
Uptime: 2m40s
pfs_vncache_unload(): 1 entries remaining
Dumping 127 MB
ata1: resetting devices ..
ata1: mask=03 ostat0=50 ostat2=7f
ad2: ATAPI 00 00
ata1-slave: ATAPI 7f 7f
ata1: mask=03 stat0=50 stat1=7f
ad2: ATA 01 a5
ata1-slave: ATA 2d 7f
ata1: devices=01
ad2: success setting PIO4 on Acer chip
done
 16 32 48 64 80 96 112
---
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:223
223 dumping++;
(kgdb) bt
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:223
#1  0xc0222165 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:355
#2  0xc02223b3 in panic () at /usr/src/sys/kern/kern_shutdown.c:508
#3  0xc0261177 in bremfree (bp=0xc4aac768) at /usr/src/sys/kern/vfs_bio.c:632
#4  0xc0262c98 in vfs_bio_awrite (bp=0x3) at /usr/src/sys/kern/vfs_bio.c:1633
#5  0xc01ec777 in spec_fsync (ap=0xc982eac8)
at /usr/src/sys/fs/specfs/spec_vnops.c:459
#6  0xc01ebc18 in spec_vnoperate (ap=0x0)
at /usr/src/sys/fs/specfs/spec_vnops.c:124
#7  0xc0318569 in VOP_FSYNC (vp=0x0, cred=0x0, waitfor=0, td=0x0)
at vnode_if.h:612
#8  0xc0317c77 in ffs_sync (mp=0xc23c8200, waitfor=2, cred=0xc0bbae80, 
td=0xc03f2740) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1155
#9  0xc0274fa8 in sync (td=0xc03f2740, uap=0x0)
at /usr/src/sys/kern/vfs_syscalls.c:130
#10 0xc0221dac in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:264
#11 0xc02223b3 in panic () at /usr/src/sys/kern/kern_shutdown.c:508
#12 0xc0325c89 in swp_pager_async_iodone (bp=0xc4a9b1a8)
at /usr/src/sys/vm/swap_pager.c:1471
#13 0xc0264a51 in bufdone (bp=0xc4a9b1a8) at /usr/src/sys/kern/vfs_bio.c:2983
#14 0xc0264924 in bufdonebio (bp=0x0) at /usr/src/sys/kern/vfs_bio.c:2931
#15 0xc02646c9 in biodone (bp=0x0) at /usr/src/sys/kern/vfs_bio.c:2831
#16 0xc01ee13e in g_dev_done (bp2=0xc28fe300)
---Type  to continue, or q  to quit---
at /usr/src/sys/geom/geom_dev.c:353
#17 0xc02646c9 in biodone (bp=0x0) at /usr/src/sys/kern/vfs_bio.c:2831
#18 0xc01f07f0 in g_io_schedule_up (tp=0xc0bd1d00)
at /usr/src/sys/geom/geom_io.c:343
#19 0xc01f09e8 in g_up_procbody () at /usr/src/sys/geom/geom_kern.c:91
#20 0xc020e835 in fork_exit (callout=0xc01f0960 , arg=0x0, 
frame=0x0) at /usr/src/sys/kern/kern_fork.c:851
(kgdb) uriel# ^Dexit

Script done on Thu Oct 10 12:21:49 2002



swap_pager: I/O error - pageout failed

2002-10-08 Thread Michael McGoldrick

Just noticed a whole load of these in my /var/log/messages:
Oct  9 00:43:31 uriel kernel: swap_pager: I/O error - pageout failed; blkno
1065
6,size 8192, error 5
Seeming to correspond to a temporary hang of X.
Any ideas?

-- 
Michael McGoldrick: [EMAIL PROTECTED] 


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 #23: Sun Oct  6 16:36:03 BST 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/URIEL
Preloaded elf kernel "/boot/kernel/kernel" at 0xc052a000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc052a0a8.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc052a0f8.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 546619170 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (546.62-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x681  Stepping = 1
  
Features=0x383f9ff
real memory  = 134152192 (131008K bytes)
avail memory = 124428288 (121512K bytes)
Pentium Pro MTRR support enabled
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
ACPI-0467: *** Error: GPE0 block overlaps the GPE1 block
acpi0: could not enable ACPI: AE_BAD_VALUE
device_probe_and_attach: acpi0 attach returned 6
Using $PIR table, 8 entries at 0xc00f7900
pcib0:  at pcibus 0 on motherboard
pci0:  on pcib0
agp0:  mem 0xe000-0xe3ff at device 0.0 on pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pci1:  at device 0.0 (no driver attached)
ohci0:  mem 0x9080-0x90800fff irq 11 at 
device 2.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0:  on ohci0
usb0: USB revision 1.0
uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Microsoft Microsoft Wheel Mouse Optical\M-., rev 1.10/1.21, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
isab0:  at device 7.0 on pci0
isa0:  on isab0
csa0:  mem 
0x9050-0x905f,0x9040-0x90400fff irq 5 at device 11.0 on pci0
csa: card is Unknown/invalid SSID (CS4614)
pcm0:  on csa0
atapci0:  port 0x8400-0x840f at device 15.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
rl0:  port 0x8000-0x80ff mem 0x8210-0x821000ff irq 10 
at device 19.0 on pci0
rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode
rl0: Ethernet address: 00:60:67:76:6e:bf
miibus0:  on rl0
rlphy0:  on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pnpbios: error 0/82 getting device count/size limit
atkbdc0:  at port 0x64,0x60 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
fdc0:  at port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounters tick every 10.000 msec
Initializing GEOMetry subsystem
ad0: 9768MB  [19846/16/63] at ata0-master UDMA33
ad2: DMA limited to UDMA33, non-ATA66 cable or device
ad2: 39266MB  [79780/16/63] at ata1-master UDMA33
acd0: DVD-ROM  at ata0-slave PIO4
Mounting root from ufs:/dev/ad2s2a
   00 01 c1 ff 0b fe ff ff 3f 00 00 00 3d 2e 53 02  |?...=.S.|
[0] f:00 typ:11 s(CHS):255/1/193 e(CHS):255/254/255 s:63 l:39005757
   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ||
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to deny, 
logging disabled



GEOM

2002-10-03 Thread Michael McGoldrick

Seems to work fine on this machine (dmesg attached) apart from an apparently
spurious kerneldump and a couple of odd lines in the dmesg.

-- 
Michael McGoldrick: [EMAIL PROTECTED] 


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 #22: Thu Oct  3 15:45:12 BST 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/URIEL
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0536000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc05360a8.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc05360f8.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 546618647 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (546.62-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x681  Stepping = 1
  
Features=0x383f9ff
real memory  = 134152192 (131008K bytes)
avail memory = 124379136 (121464K bytes)
Pentium Pro MTRR support enabled
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
ACPI-0466: *** Error: GPE0 block overlaps the GPE1 block
acpi0: could not enable ACPI: AE_BAD_VALUE
device_probe_and_attach: acpi0 attach returned 6
Using $PIR table, 8 entries at 0xc00f7900
pcib0:  at pcibus 0 on motherboard
pci0:  on pcib0
agp0:  mem 0xe000-0xe3ff at device 0.0 on pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pci1:  at device 0.0 (no driver attached)
ohci0:  mem 0x9080-0x90800fff irq 11 at 
device 2.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0:  on ohci0
usb0: USB revision 1.0
uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Microsoft Microsoft Wheel Mouse Optical\M-., rev 1.10/1.21, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
isab0:  at device 7.0 on pci0
isa0:  on isab0
csa0:  mem 
0x9050-0x905f,0x9040-0x90400fff irq 5 at device 11.0 on pci0
csa: card is Unknown/invalid SSID (CS4614)
pcm0:  on csa0
atapci0:  port 0x8400-0x840f at device 15.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
rl0:  port 0x8000-0x80ff mem 0x8210-0x821000ff irq 10 
at device 19.0 on pci0
rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode
rl0: Ethernet address: 00:60:67:76:6e:bf
miibus0:  on rl0
rlphy0:  on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pnpbios: error 0/82 getting device count/size limit
atkbdc0:  at port 0x64,0x60 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
fdc0:  at port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounters tick every 10.000 msec
Initializing GEOMetry subsystem
ad0: 9768MB  [19846/16/63] at ata0-master UDMA33
ad2: DMA limited to UDMA33, non-ATA66 cable or device
ad2: 39266MB  [79780/16/63] at ata1-master UDMA33
acd0: DVD-ROM  at ata0-slave PIO4
Mounting root from ufs:/dev/ad2s2a
   00 01 c1 ff 0b fe ff ff 3f 00 00 00 3d 2e 53 02  |?...=.S.|
[0] f:00 typ:11 s(CHS):255/1/193 e(CHS):255/254/255 s:63 l:39005757
   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ||
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
Kerneldump off=5373557760 len=524288000
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to deny, 
logging disabled
logo_saver: the console does not support M_VGA_CG320
module_register_init: MOD_LOAD (logo_saver, 0xc24e3cf0, 0) error 19



Re: PCI brokenness

2002-10-02 Thread Michael McGoldrick

After a cvsup and buildworld/kernel, everything seems to be working again.

Thanks!

On Wed, Oct 02, 2002 at 08:41:10AM +0900, Mitsuru IWASAKI wrote:
> Hi,
> 
> > On 01-Oct-2002 Michael McGoldrick wrote:
> > > On Tue, Oct 01, 2002 at 12:48:47PM -0400, John Baldwin wrote:
> > >> 
> > >> On 01-Oct-2002 Michael McGoldrick wrote:
> > >> > 'Me too'
> > >> > Dmesg from working kernel attached, not sure how to get a dmesg from the
> > >> > broken one. :(
> > >> > Send me a mail if any further info would help.
> > >> > (I have built two kernels recently, both have had this problem)
> > >> 
> > >> What exact problem do you have.  No PCI devices?
> > >> 
> > >> -- 
> > >> 
> > >> John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
> > >> "Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
> > >> 
> > >> To Unsubscribe: send mail to [EMAIL PROTECTED]
> > >> with "unsubscribe freebsd-current" in the body of the message
> > > 
> > > Yes, the kernel seems to attempt to mount root right after this line:
> > > device_probe_and_attach: acpi0 attach returned 6
> > 
> > Can you try with the stuff I committed yesterday?  It fixed the case (for
> > my tests at least) of legacy0 failing to attach or probe when acpi failed
> > to attach.
> 
> If still failed, please try this.
> I've noticed that no chance to call pci_cfgregopen() before probing
> PCI children in case Host PCI bridge _CRS is not method or _INI method
> don't access to PCI config space or something.
> 
> Thanks
> 
> Index: acpi_pcib_acpi.c
> ===
> RCS file: /home/ncvs/src/sys/dev/acpica/acpi_pcib_acpi.c,v
> retrieving revision 1.23
> diff -u -r1.23 acpi_pcib_acpi.c
> --- acpi_pcib_acpi.c  26 Aug 2002 18:30:27 -  1.23
> +++ acpi_pcib_acpi.c  1 Oct 2002 23:17:51 -
> @@ -114,6 +115,9 @@
>   !acpi_disabled("pci") &&
>   acpi_MatchHid(dev, "PNP0A03")) {
>  
> + if (!pci_cfgregopen())
> + return(ENXIO);
> +
>   /*
>* Set device description 
>*/
> Index: acpi_pcib_pci.c
> ===
> RCS file: /home/ncvs/src/sys/dev/acpica/acpi_pcib_pci.c,v
> retrieving revision 1.1
> diff -u -r1.1 acpi_pcib_pci.c
> --- acpi_pcib_pci.c   26 Aug 2002 18:30:27 -  1.1
> +++ acpi_pcib_pci.c   1 Oct 2002 23:18:38 -
> @@ -114,6 +115,9 @@
>   return (ENXIO);
>  if (acpi_get_handle(dev) == NULL)
>   return (ENXIO);
> +if (!pci_cfgregopen())
> + return (ENXIO);
> +
>  device_set_desc(dev, "ACPI PCI-PCI bridge");
>  return (-1000);
>  }
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
-- 
Michael McGoldrick: [EMAIL PROTECTED] 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: PCI brokenness

2002-10-02 Thread Michael McGoldrick

On Tue, Oct 01, 2002 at 05:23:34PM -0400, John Baldwin wrote:
> 
> On 01-Oct-2002 Michael McGoldrick wrote:
> > On Tue, Oct 01, 2002 at 12:48:47PM -0400, John Baldwin wrote:
> >> 
> >> On 01-Oct-2002 Michael McGoldrick wrote:
> >> > 'Me too'
> >> > Dmesg from working kernel attached, not sure how to get a dmesg from the
> >> > broken one. :(
> >> > Send me a mail if any further info would help.
> >> > (I have built two kernels recently, both have had this problem)
> >> 
> >> What exact problem do you have.  No PCI devices?
> >> 
> >> -- 
> >> 
> >> John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
> >> "Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
> >> 
> >> To Unsubscribe: send mail to [EMAIL PROTECTED]
> >> with "unsubscribe freebsd-current" in the body of the message
> > 
> > Yes, the kernel seems to attempt to mount root right after this line:
> > device_probe_and_attach: acpi0 attach returned 6
> 
> Can you try with the stuff I committed yesterday?  It fixed the case (for
> my tests at least) of legacy0 failing to attach or probe when acpi failed
> to attach.
> 
> -- 
> 
> John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
> "Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

I'm cvsupping now, will let you know in a few hours (barring random reboots)
This does sound like it should cure my problem though.
If it fails, I will give Mitsuru Iwasaki's acpi patch a try, however, this
machine is not particularly quick and I won't be around for a few hours, so I
will probably report this evening some time.

-- 
Michael McGoldrick: [EMAIL PROTECTED] 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: PCI brokenness

2002-10-01 Thread Michael McGoldrick

On Tue, Oct 01, 2002 at 12:48:47PM -0400, John Baldwin wrote:
> 
> On 01-Oct-2002 Michael McGoldrick wrote:
> > 'Me too'
> > Dmesg from working kernel attached, not sure how to get a dmesg from the
> > broken one. :(
> > Send me a mail if any further info would help.
> > (I have built two kernels recently, both have had this problem)
> 
> What exact problem do you have.  No PCI devices?
> 
> -- 
> 
> John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
> "Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message

Yes, the kernel seems to attempt to mount root right after this line:
device_probe_and_attach: acpi0 attach returned 6
with no pci devices attached. ACPI seems more than a little suspect on this
machine - see dmesg - ACPI power management has never worked. How would I go
about disabling it to test if it is responsible? would
debug.acpi.disable="pci" be sufficient? 

-- 
Michael McGoldrick: [EMAIL PROTECTED] 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: PCI brokenness

2002-10-01 Thread Michael McGoldrick
  at iomem 0xc-0xcbfff on isa0
> sc0:  on isa0
> sc0: VGA <16 virtual consoles, flags=0x200>
> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
> vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
> fb0: vga0, vga, type:VGA (5), flags:0x7007f
> fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa 0x2
> fb0: init mode:24, bios mode:3, current mode:24
> fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
> VGA parameters upon power-up
> 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 
> bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96 
> b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
> 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
> VGA parameters in BIOS for mode 24
> 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
> bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
> b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
> 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
> EGA/VGA parameters to be used for mode 24
> 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
> bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
> b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
> 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
> ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x
> ata0: mask=03 ostat0=50 ostat2=00
> ata0-slave: ATAPI d0 00
> ata0-master: ATAPI 00 00
> ata0: mask=03 stat0=50 stat1=50
> ata0-master: ATA 01 a5
> ata0: devices=01
> ata0 at port 0x3f6,0x1f0-0x1f7 irq 14 on isa0
> fdc0 failed to probe at port 0x3f0 irq 6 drq 2 on isa0
> pcic0 failed to probe at port 0x3e0 iomem 0xd on isa0
> mss_probe: no address given, try 0x530
> mss_detect, busy still set (0xff)
> pcm0 failed to probe at port 0xf8c-0xf94,0xe0e,0x530-0x537 irq 5 drq 1 on isa0
> pmtimer0 on isa0
> ppc0: parallel port not found.
> ppc0:  failed to probe at irq 7 on isa0
> sbc0 failed to probe at port 0x220 irq 5 drq 1 flags 0x10 on isa0
> isa_probe_children: probing PnP devices
> BIOS Geometries:
>  0:03f8fe3f 0..1016=1017 cylinders, 0..254=255 heads, 1..63=63 sectors
>  0 accounted for
> Device configuration finished.
> Timecounters tick every 10.000 msec
> bpf: lo0 attached
> Linux ELF exec handler installed
> IPsec: Initialized Security Association Processing.
> acpi_cpu0: set speed to 100.0%
> acpi_cpu: CPU throttling enabled, 16 steps from 100% to 6.2%
> acpi_acad0: On Line
> pccard0: CIS version PCCARD 2.0 or 2.1
> pccard0: CIS info: 3Com, Megahertz 589E, TP/BNC LAN PC Card, 005
> pccard0: Manufacturer code 0x101, product 0x589
> pccard0: function 0: network adapter, ccr addr 1 mask 3
> pccard0: function 0, config table entry 1: I/O card; irq mask ffff; iomask 4, 
>iospace 0-f; rdybsy_active wp_active bvd_active io8 io16 irqlevel
> pccard0: function 0, config table entry 3: I/O card; irq mask ; iomask 4, 
>iospace 0-f; rdybsy_active wp_active bvd_active io8 io16 irqlevel
> ep0: <3Com 3c589 10Mbps Ethernet> at port 0x100-0x10f irq 3 function 0 config 1 on 
>pccard0
> ep0: Ethernet address 00:10:5a:2d:39:c6
> bpf: ep0 attached
> stray irq 7
> stray irq 7
> found->   vendor=0x1011, dev=0x0019, revid=0x41
>   class=02-00-00, hdrtype=0x00, mfdev=0
>   intpin=a, irq=255
> cardbus1: Expecting link target, got 0x0
> cardbus1: Resource not specified in CIS: id=10, size=80
> cardbus1: Resource not specified in CIS: id=14, size=400
> dc0:  port 0x1000-0x107f mem 0x88002400-0x880027ff irq 3 
>at device 0.0 on cardbus1
> dc0: Ethernet address: 00:80:00:80:00:80
> miibus0:  on dc0
> dcphy0:  on miibus0
> dcphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> bpf: dc0 attached
> Creating DISK ad0
> ar: FreeBSD check1 failed
> ad0:  ATA-5 disk at ata0-master
> ad0: 19077MB (39070080 sectors), 38760 C, 16 H, 63 S, 512 B
> ad0: 16 secs/int, 1 depth queue, BIOSPIO
> ad0: piomode=4 dmamode=2 udmamode=4 cblid=1
> Mounting root from ufs:/dev/ad0s2a
> ad0s1: type 0x6, start 63, end = 4176899, size 4176837 : OK
> ad0s2: type 0xa5, start 4176900, end = 16338104, size 12161205 : OK
> ad0s3: type 0xb, start 16338105, end = 16530884, size 192780 : OK
> ad0s4: type 0xa5, start 16530885, end = 39070079, size 22539195 : OK
> start_init: trying /sbin/init
> splash: image decoder found: star_saver

-- 
Michael McGoldrick: [EMAIL PROTECTED] 


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 #17: Sat Sep 21 22:58:50 BST 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/URIEL
Preloaded elf kernel "/boot/kernel.good/kernel" at 0xc0525000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc05250b0.
Preloaded elf module "/boot/kernel.good/acpi

binutils

2002-03-06 Thread Michael McGoldrick

Hi, I recently rebuilt Mozilla and kdebase on my (very up to date) current box. Since 
then, both moz and most KDE apps have been very crashy. I think this is probably 
something to do with binutils, but is there any way I can check? and are there any 
workarounds?

Additional info: x86 machine, world/kernel last built from sources cvsupped on 6 March 
16:34:35 GMT

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Trace for rpcbind panic

2002-01-14 Thread Michael McGoldrick

The trace was short, so I wrote the whole thing down.

_mtx_unlock_sleep(c232c834,0,0,0) at _mtx_unlock_sleep+0x9f
unp_externalize(c0b6ab00,c0b6ac00,cb5d3ccc,cb5d3c8c,cb5d3ccc) at unp_externalize
+0x38e
soreceive(ca29d420,cb5d3c18,cb5d3c44,0,cb5d3c1c) at soreceive+0x376
recvit(ca284304,b,cb5d3ccc,0,ca284200) at recvit+0x121
recvmsg(ca284304,cb5d3d20,281221c8,bfbfd550,2328) at recvmsg+0xdb
syscall(2f,2f,2f,2328,bfbfd550) at syscall+0x2d4
syscall_with_err_pushed() at syscall_with_err_pushed+0x1b
--- syscall(27, FreeBSD ELF, recvmsg), eip=0x280c0657, esp=0xbfbfd500, ebp=0xbfb
fd5cc ---

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



rpcbind panic

2002-01-14 Thread Michael McGoldrick

Kernel and world built with sources cvsupped as of Mon Jan 14 18:44:04 GMT from
cvsup.freebsd.org.
The panic message is hand copied. Please send me a mail if other details (eg dme
sg) are required.

Kernel trap 12 with interrupts disabled
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x28
fault code= supervisor read, page not present
instruction pointer   = 0x8:0xc01d9f07
stack pointer = 0x10:0xcb5b8b4c
frame pointer = 0x10:0xcb5b8b5c
code segment  = base 0x0, limit 0xf, type 0x1b
  = DPL 0, pres 1, def32 1, gran 1
processor eflags  = resume, IOPL = 0
current process   = 178 (rpcbind)
kernel: type 12 trap, code = 0
stopped at _mtx_unlock_sleep+0x9f : cmpl $0,0x28(%ebx)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



gnu as problems

2001-09-29 Thread Michael McGoldrick

When attempting to builworld on a -current system from about the 24th, buildworld 
bombs like this:
--
>>> stage 1: bootstrap tools
--
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/i386  DESTDIR=/usr/obj/usr/src/i3
86  INSTALL="sh /usr/src/tools/install.sh"  MACHINE_ARCH=i386  TOOLS_PREFIX=/usr
/obj/usr/src/i386  PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr
/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin make -f Makef
ile.inc1 -DBOOTSTRAPPING  -DNOHTML -DNOINFO -DNOMAN -DNOPIC -DNOPROFILE -DNOSHAR
ED bootstrap-tools
cd /usr/src/games/fortune/strfile;  make obj;  make depend;  make all;  make ins
tall
/usr/obj/usr/src/i386/usr/src/games/fortune/strfile created for /usr/src/games/f
ortune/strfile
rm -f .depend
mkdep -f .depend -a  /usr/src/games/fortune/strfile/strfile.c
cd /usr/src/games/fortune/strfile; make _EXTRADEPEND
echo strfile: /usr/obj/usr/src/i386/usr/lib/libc.a  >> .depend
cc -O -pipe  -Wall-c /usr/src/games/fortune/strfile/strfile.c
cc: Internal compiler error: program as got fatal signal 11
*** Error code 1

Stop in /usr/src/games/fortune/strfile.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
uriel# /usr/src/games/fortune/strfile/strfile.c: In function `cmp_str':
/usr/src/games/fortune/strfile/strfile.c:439: output pipe has been closed

Any ideas?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message