A number of show-stopper bugs...

Shaun Jurrens shaun at shamz.net
Sat Sep 25 04:47:37 PDT 2004


Hei guys,

This is just an informal heads up at the moment, perhaps just to either get
a few hits with the clue bat or to inform about some nasty kernel bugs.

I have run across a number of things that produce unbootable or unstable 
kernels:

1) Loading the sound and snd_via8233 modules after boot crashed my 
machine within 30 minutes.  I first received a ca. 50Hz white noise sound 
before freezing the box and subsequent reboot.  I was using mpg123 with 
a 1024kb buffer, downloading via scp and running Mozilla. No crashdump 
available yet...  With both compiled in the kernel, things seem to be
stable.

2) Adding NETGRAPH modules to the kernel config produces unbootable kernels
in almost any configuration (trying to get the bluetooth stuff working). 
Using the kernel modules produced no working results. No crashdump yet... 

With any luck I'll get far enough here to give more concrete results with 
dumps.

dmesg, fwiw (input munged from cut-n-paste):

Copyright (c) 1992-2004 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.3-BETA5 #2: Sun Sep 19 22:38:28 CEST 2004
    root at dakota:/usr/obj/usr/src/sys/DAKOTA64
WARNING: WITNESS option enabled, expect reduced performance.
ACPI APIC Table: <A M I  OEMAPIC >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 3200+ (2002.57-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0xf48  Stepping = 8

Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
OV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow+,3DNow>
real memory  = 1072889856 (1023 MB)
avail memory = 1026969600 (979 MB)
ioapic0: Changing APIC ID to 1
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 0.3> irqs 0-23 on motherboard
acpi0: <A M I OEMXSDT> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 8385 host to PCI bridge> mem 0xf0000000-0xf7ffffff at device 0.0
on p
ci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.P0P1 -
AE_NOT_F
OUND
pci2: <ACPI PCI bus> on pcib1
drm0: <Matrox G400/G450 (AGP)> mem
0xfc800000-0xfcffffff,0xfd000000-0xfd003fff,0
xec000000-0xedffffff irq 16 at device 0.0 on pci2
info: [drm] AGP at 0xf0000000 128MB
info: [drm] Initialized mga 3.1.0 20021029 on minor 0
fwohci0: <VIA Fire II (VT6306)> port 0xcc00-0xcc7f mem
0xfd900000-0xfd9007ff irq
 16 at device 7.0 on pci0
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:e0:18:00:00:35:11:d2
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
atapci0: <Promise PDC20378 SATA150 controller> port
0xdc00-0xdc7f,0xec00-0xec0f,
0xb000-0xb03f mem 0xfda00000-0xfda1ffff,0xfdb00000-0xfdb00fff irq 18 at
device 8
.0 on pci0
atapci0: failed: rid 0x20 is memory, requested 4
ata2: channel #0 on atapci0
ata3: channel #1 on atapci0
ata4: channel #2 on atapci0
pci0: <multimedia, video> at device 9.0 (no driver attached)
pci0: <multimedia> at device 9.1 (no driver attached)
skc0: <3Com 3C940 Gigabit Ethernet> port 0xb400-0xb4ff mem
0xfdc00000-0xfdc03fff
 irq 17 at device 10.0 on pci0
skc0: 3Com Gigabit LOM (3C940)
sk0: <Marvell Semiconductor, Inc. Yukon> on skc0
sk0: Ethernet address: 00:0c:6e:bd:c3:e5
miibus0: <MII bus> on sk0
e1000phy0: <Marvell 88E1000 Gigabit PHY> on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX,
auto
ahc0: <Adaptec 29160 Ultra160 SCSI adapter> port 0xb800-0xb8ff mem
0xfde00000-0x
fde00fff irq 17 at device 12.0 on pci0
ahc0: [GIANT-LOCKED]
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
pcib2: <PCI-PCI bridge> at device 14.0 on pci0
pci1: <PCI bus> on pcib2
pci1: <memory> at device 3.0 (no driver attached)
pci1: <unknown> at device 4.0 (no driver attached)
atapci1: <VIA 6420 SATA150 controller> port
0xd000-0xd0ff,0xd400-0xd40f,0xd800-0
xd803,0xe000-0xe007,0xe400-0xe403,0xe800-0xe807 irq 20 at device 15.0 on
pci0
ata5: channel #0 on atapci1
ata6: channel #1 on atapci1
atapci2: <VIA 8237 UDMA133 controller> port
0xfc00-0xfc0f,0x376,0x170-0x177,0x3f
6,0x1f0-0x1f7 at device 15.1 on pci0
ata0: channel #0 on atapci2
ata1: channel #1 on atapci2
uhci0: <VIA 83C572 USB controller> port 0xc000-0xc01f irq 21 at device 16.0
on p
ci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> 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
ugen0: Micro Star International product 0x697a, rev 1.10/5.25, addr 2
umass0: SanDisk ImageMate 8 in 1, rev 2.00/91.39, addr 3
uhci1: <VIA 83C572 USB controller> port 0xc400-0xc41f irq 21 at device 16.1
on p
ci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> 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
pci0: <serial bus, USB> at device 16.4 (no driver attached)
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
pcm0: <VIA VT8237> port 0xc800-0xc8ff irq 22 at device 17.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: <Analog Devices AD1980 AC97 Codec>
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
fdc0: <floppy drive controller (FDE)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on
acpi
0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
ppi0: <Parallel I/O> on ppbus0
sio0: configured irq 3 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 port 0x2f8-0x2ff irq 3 on acpi0
sio0: type 16550A
sio1: configured irq 4 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1 port 0x3f8-0x3ff irq 4 on acpi0
sio1: type 16550A
orm0: <ISA Option ROMs> at iomem 0xce800-0xcf7ff,0xc0000-0xc7fff 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
Timecounter "TSC" frequency 2002571040 Hz quality 800
Timecounters tick every 0.976 msec
Waiting 5 seconds for SCSI devices to settle
cd0 at ahc0 bus 0 target 2 lun 0
cd0: <PIONEER CD-ROM DR-124X 1.00> Removable CD-ROM SCSI-2 device 
cd0: 3.300MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
da1 at ahc0 bus 0 target 3 lun 0
da1: <SEAGATE ST39173LC 5718> Fixed Direct Access SCSI-2 device 
da1: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing
Enabled
da1: 8683MB (17783240 512 byte sectors: 255H 63S/T 1106C)
cd1 at ahc0 bus 0 target 6 lun 0
cd1: <PLEXTOR CD-R   PX-W124TS 1.07> Removable CD-ROM SCSI-2 device 
cd1: 20.000MB/s transfers (20.000MHz, offset 8)
cd1: Attempt to query device size failed: NOT READY, Medium not present -
tray c
losed
da0 at ahc0 bus 0 target 0 lun 0
da0: <COMPAQ ST34572W 0892> Fixed Direct Access SCSI-2 device 
da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing
Enabled
da0: 4094MB (8386000 512 byte sectors: 255H 63S/T 522C)
da3 at ahc0 bus 0 target 10 lun 0
da3: <COMPAQ AD009335C9 A012> Fixed Direct Access SCSI-2 device 
da3: 40.000MB/s transfers (20.000MHz, offset 127, 16bit), Tagged Queueing
Enable
d
da3: 8678MB (17773500 512 byte sectors: 255H 63S/T 1106C)
da4 at umass-sim0 bus 0 target 0 lun 0
da4: <Generic STORAGE DEVICE 9139> Removable Direct Access SCSI-0 device 
da4: 1.000MB/s transfers
da4: 122MB (250368 512 byte sectors: 64H 32S/T 122C)
da5 at umass-sim0 bus 0 target 0 lun 1
da5: <Generic STORAGE DEVICE 9139> Removable Direct Access SCSI-0 device 
da5: 1.000MB/s transfers
da5: Attempt to query device size failed: NOT READY, Medium not present
da2 at ahc0 bus 0 target 4 lun 0
da2: <IBM-PCCO DDRS-34560W   !# S97B> Fixed Direct Access SCSI-2 device 
da2: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing
Enabled
da2: 4303MB (8813870 512 byte sectors: 255H 63S/T 548C)
da6 at umass-sim0 bus 0 target 0 lun 2
da6: <Generic STORAGE DEVICE 9139> Removable Direct Access SCSI-0 device 
da6: 1.000MB/s transfers
da6: Attempt to query device size failed: NOT READY, Medium not present
da7 at umass-sim0 bus 0 target 0 lun 3
da7: <Generic STORAGE DEVICE 9139> Removable Direct Access SCSI-0 device 
da7: 1.000MB/s transfers
da7: Attempt to query device size failed: NOT READY, Medium not present
(da5:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 
(da5:umass-sim0:0:0:1): CAM Status: SCSI Status Error
(da5:umass-sim0:0:0:1): SCSI Status: Check Condition
(da5:umass-sim0:0:0:1): NOT READY asc:3a,0
(da5:umass-sim0:0:0:1): Medium not present
(da5:umass-sim0:0:0:1): Unretryable error
Opened disk da5 -> 6
(da5:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 
(da5:umass-sim0:0:0:1): CAM Status: SCSI Status Error
(da5:umass-sim0:0:0:1): SCSI Status: Check Condition
(da5:umass-sim0:0:0:1): NOT READY asc:3a,0
(da5:umass-sim0:0:0:1): Medium not present
(da5:umass-sim0:0:0:1): Unretryable error
Opened disk da5 -> 6
(da5:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 
(da5:umass-sim0:0:0:1): CAM Status: SCSI Status Error
(da5:umass-sim0:0:0:1): SCSI Status: Check Condition
(da5:umass-sim0:0:0:1): NOT READY asc:3a,0
(da5:umass-sim0:0:0:1): Medium not present
(da5:umass-sim0:0:0:1): Unretryable error
Opened disk da5 -> 6
(da6:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0 
(da6:umass-sim0:0:0:2): CAM Status: SCSI Status Error
(da6:umass-sim0:0:0:2): SCSI Status: Check Condition
(da6:umass-sim0:0:0:2): NOT READY asc:3a,0
(da6:umass-sim0:0:0:2): Medium not present
(da6:umass-sim0:0:0:2): Unretryable error
Opened disk da6 -> 6
(da6:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0 
(da6:umass-sim0:0:0:2): CAM Status: SCSI Status Error
(da6:umass-sim0:0:0:2): SCSI Status: Check Condition
(da6:umass-sim0:0:0:2): NOT READY asc:3a,0
(da6:umass-sim0:0:0:2): Medium not present
(da6:umass-sim0:0:0:2): Unretryable error
Opened disk da6 -> 6
(da6:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0 
(da6:umass-sim0:0:0:2): CAM Status: SCSI Status Error
(da6:umass-sim0:0:0:2): SCSI Status: Check Condition
(da6:umass-sim0:0:0:2): NOT READY asc:3a,0
(da6:umass-sim0:0:0:2): Medium not present
(da6:umass-sim0:0:0:2): Unretryable error
Opened disk da6 -> 6
(da7:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 
(da7:umass-sim0:0:0:3): CAM Status: SCSI Status Error
(da7:umass-sim0:0:0:3): SCSI Status: Check Condition
(da7:umass-sim0:0:0:3): NOT READY asc:3a,0
(da7:umass-sim0:0:0:3): Medium not present
(da7:umass-sim0:0:0:3): Unretryable error
Opened disk da7 -> 6
(da7:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 
(da7:umass-sim0:0:0:3): CAM Status: SCSI Status Error
(da7:umass-sim0:0:0:3): SCSI Status: Check Condition
(da7:umass-sim0:0:0:3): NOT READY asc:3a,0
(da7:umass-sim0:0:0:3): Medium not present
(da7:umass-sim0:0:0:3): Unretryable error
Opened disk da7 -> 6
(da7:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 
(da7:umass-sim0:0:0:3): CAM Status: SCSI Status Error
(da7:umass-sim0:0:0:3): SCSI Status: Check Condition
(da7:umass-sim0:0:0:3): NOT READY asc:3a,0
(da7:umass-sim0:0:0:3): Medium not present
(da7:umass-sim0:0:0:3): Unretryable error
Opened disk da7 -> 6

(yeah, the umass stuff is a bit broken, but there's a patch I just haven't 
tested yet).


-- 
Yours truly,

Shaun D. Jurrens
shaun at shamz.net





More information about the freebsd-amd64 mailing list