Subject: kern/30998: CF does not work with netbsd-current(3.99.7) at 20050816
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <kanaoka@ann.hi-ho.ne.jp>
List: netbsd-bugs
Date: 08/16/2005 08:34:00
>Number:         30998
>Category:       kern
>Synopsis:       CF does not work with netbsd-current(3.99.7) at 20050816
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 16 08:34:00 +0000 2005
>Originator:     Masanori Kanaoka
>Release:        NetBSD-current(3.99.7)/i386
>Organization:
>Environment:
NetBSD idea.k.vnop.net 3.99.7 NetBSD 3.99.7 (IDEA) #6: Tue Aug 16 17:03:49 JST 2005  root@idea.k.vnop.net:/usr/src/sys/arch/i386/compile/IDEA i386

>Description:
With NetBSD-current(3.99.7) at 20050816, CF does not work for me.
It works fine with NetBSD-current(3.99.7) at 20050801.

with 20050816
--
idea# mount -t msdos /dev/wd1e /flash
mount_msdos: /dev/wd1e on /flash: Device not configured

dmesg is below:
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 3.99.7 (IDEA) #6: Tue Aug 16 17:03:49 JST 2005
        root@idea.k.vnop.net:/usr/src/sys/arch/i386/compile/IDEA
total memory = 110 MB
avail memory = 104 MB
BIOS32 rev. 0 found at 0xfb5bb
PCI BIOS rev. 2.1 found at 0xfcd73
pcibios: config mechanism [1][x], special cycles [x][x], last bus 1
PCI IRQ Routing Table rev. 1.0 found at 0xf01c0, size 112 bytes (5 entries)
PCI Interrupt Router at 000:07:0 (Acer Labs M1543 PCI-ISA Bridge compatible)
------------------------------------------
  device vendor product pin PIRQ IRQ stage
------------------------------------------
000:04:0 0x5333 0x8c12   A  0x00  11  0    already assigned
000:06:0 0x10b9 0x5451   A  0x07   5  1    fixed up
000:14:0 0x8086 0x1229   A  0x02  10  0    already assigned
000:18:0 0x1179 0x0617   A  0x01   6  1    fixed up
000:20:0 0x10b9 0x5237   A  0x06   7  1    already assigned
------------------------------------------
mainbus0 (root)
pci_addr_fixup: 000:06:0 0x10b9 0x5451 new address 0x00005800
pci_addr_fixup: 000:06:0 0x10b9 0x5451 new address 0x07000000
pci_addr_fixup: 000:18:0 0x1179 0x0617 new address 0x07001000
 tbxface-0200 [01] AcpiLoadTables        : ACPI Tables successfully acquired
Parsing all Control Methods:..........................................................................................
...
Table [DSDT](id f004) - 500 Objects with 37 Devices 93 Methods 9 Regions
ACPI Namespace successfully loaded at root 0xc04f3d04
cpu0 at mainbus0: (uniprocessor)
cpu0: Transmeta Crusoe (586-class), 478.26 MHz, id 0x543
cpu0: Processor revision 1.3.2.0
cpu0: Code Morphing Software Rev: 4.2.5-8-148
cpu0: 20010503 11:00 official release 4.2.5#1
cpu0: LongRun mode: 1  <600MHz 1600mV 100%>
cpu0: features 80893f<FPU,VME,DE,PSE,TSC,MSR,CX8,SEP>
cpu0: features 80893f<CMOV,MMX>
cpu0: "Transmeta(tm) Crusoe(tm) Processor TM5600"
acpi0 at mainbus0
acpi0: using Intel ACPI CA subsystem version 20050408
acpi0: X/RSDT: OemId <TOSHIB,L1      ,20010130>, AslId <TASM,04010000>
evxfevnt-0177 [02] AcpiEnable            : Transition to ACPI mode successful
evgpeblk-1153 [08] EvCreateGpeBlock      : GPE 00 to 3f [_GPE] 8 regs on int 0x9
evgpeblk-1161 [08] EvCreateGpeBlock      : Found 2 Wake, Enabled 0 Runtime GPEs in this block
Completing Region/Field/Buffer/Package initialization:.....................................
Initialized 9/9 Regions 0/0 Fields 15/15 Buffers 13/18 Packages (509 nodes)
Executing all Device _STA and_INI methods:.........................................
41 Devices found containing: 41 _STA, 1 _INI methods
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
acpi_pci_fixup starts:
acpi0: fixing up PCI bus 0 at level 1
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
PNP0C01 at acpi0 not configured
PNP0A03 at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0200 at acpi0 not configured
PNP0000 at acpi0 not configured
PNP0100 at acpi0 not configured
PNP0800 at acpi0 not configured
npx1 at acpi0 (PNP0C04)
npx1: io 0xf0-0xff irq 13
npx1: using exception 16
pckbc1 at acpi0 (PNP0303): kbd port
pckbc1: io 0x60,0x64 irq 1
pckbc2 at acpi0 (PNP0F13): aux port
pckbc2: irq 12
PNP0B00 at acpi0 not configured
PNP0C02 at acpi0 not configured
acpilid0 at acpi0 (PNP0C0D): ACPI Lid Switch
acpibat0 at acpi0 (PNP0C0A-1): ACPI Battery (Control Method)
acpiacad0 at acpi0 (ACPI0003): ACPI AC Adapter
vald0 at acpi0 (TOS6200): Toshiba VALD
AC adaptor status connected
LCD backlight status on
vald0: get LCD brightness via _BCL
acpi_libright_get: start
_BCL retrun: 7 packages
         Full Power Level: 80
         on Battery Level: 10
         Possible Level:  10 30 50 80 100
LCD bright 
         acpi_libright_set: Set brightness to 100%
TOS6201 at acpi0 not configured
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
PNP0C0B at acpi0 not configured
PNP0C0B at acpi0 not configured
acpitz0 at acpi0: ACPI Thermal Zone
acpitz0: unable to get polling interval; using default of 30.0s
acpitz0: active cooling level 0: 72.9C
acpitz0: active cooling level 1: 70.9C
acpitz0: failed to evaluate _AC2: AE_NOT_FOUND
acpitz0: failed to evaluate _AC3: AE_NOT_FOUND
acpitz0: failed to evaluate _AC4: AE_NOT_FOUND
acpitz0: failed to evaluate _AC5: AE_NOT_FOUND
acpitz0: failed to evaluate _AC6: AE_NOT_FOUND
acpitz0: failed to evaluate _AC7: AE_NOT_FOUND
acpitz0: failed to evaluate _AC8: AE_NOT_FOUND
acpitz0: failed to evaluate _AC9: AE_NOT_FOUND
acpitz0: failed to evaluate _HOT: AE_NOT_FOUND
acpitz0: critical 100.9C passive 73.0C
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Transmeta LongRun Northbridge (rev. 0x01)
Transmeta SDRAM Controller (RAM memory) at pci0 dev 0 function 1 not configured
Transmeta BIOS Scratchpad (RAM memory) at pci0 dev 0 function 2 not configured
vga1 at pci0 dev 4 function 0: S3 Savage/IX+MV (rev. 0x13)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 1-3 added (80x25, vt100 emulation)
autri0 at pci0 dev 6 function 0: Acer Labs M5451 AC-Link Controller Audio Device (rev. 0x01)
autri0: interrupting at irq 5
autri0: ac97: Asahi Kasei AK4541/AK4543 codec; headphone, 18 bit DAC, 18 bit ADC, AKM 3D
audio0 at autri0: full duplex, mmap, independent
pcib0 at pci0 dev 7 function 0
pcib0: Acer Labs M1543 PCI-ISA Bridge (rev. 0x00)
fxp0 at pci0 dev 14 function 0: i82559 Ethernet, rev 8
fxp0: interrupting at irq 10
fxp0: Ethernet address 00:00:39:XX:XX:XX
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
aceride0 at pci0 dev 16 function 0
aceride0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc3)
aceride0: bus-master DMA support present
aceride0: primary channel wired to compatibility mode
aceride0: primary channel interrupting at irq 14
atabus0 at aceride0 channel 0
aceride0: secondary channel wired to compatibility mode
aceride0: secondary channel ignored (disabled)
Acer Labs M7101 Power Management Controller (miscellaneous bridge) at pci0 dev 17 function 0 not configured
cbb0 at pci0 dev 18 function 0: Toshiba ToPIC100 PCI-CardBus Bridge (rev. 0x32)
ohci0 at pci0 dev 20 function 0: Acer Labs M5237 USB 1.1 Host Controller (rev. 0x03)
ohci0: interrupting at irq 7
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
isa0 at pcib0
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
cbb0: interrupting at irq 6
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 1 device 0
pcmcia0 at cardslot0
WARNING: Callback scheduled before sysmon task queue thread present.
cbb0: wait took 0.006560s
wdc2 at pcmcia0 function 0: <HITACHI, FLASH, 5.0>
wdc2: i/o mapped mode
atabus1 at wdc2 channel 0
wd0 at atabus0 drive 0: <TOSHIBA MK2018GAP>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 19077 MB, 38760 cyl, 16 head, 63 sec, 512 bytes/sect x 39070080 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(aceride0:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA)
wd1 at atabus1 drive 0: <Hitachi CVM1.3.3>
wd1: drive supports 1-sector PIO transfers, LBA addressing
wd1: 122 MB, 978 cyl, 8 head, 32 sec, 512 bytes/sect x 250368 sectors
wd1: 32-bit data port
acpibat0: battery info: (null), Li-ION  , XM2031P01   , 1000031227
cbb0: wait took 0.002085s
cbb0: wait took 0.002075s
wdc2:0:0: lost interrupt
        type: ata tc_bcount: 1536 tc_skip: 512
wd1d: device timeout reading fsbn 1 of 0-3 (wd1 bn 1; cn 0 tn 0 sn 1), retrying
wdc2:0:0: lost interrupt
        type: ata tc_bcount: 1536 tc_skip: 512
wd1d: device timeout reading fsbn 1 of 0-3 (wd1 bn 1; cn 0 tn 0 sn 1), retrying
wdc2:0:0: lost interrupt
        type: ata tc_bcount: 1536 tc_skip: 512
wd1d: device timeout reading fsbn 1 of 0-3 (wd1 bn 1; cn 0 tn 0 sn 1), retrying
wdc2:0:0: lost interrupt
        type: ata tc_bcount: 1536 tc_skip: 512
wd1d: device timeout reading fsbn 1 of 0-3 (wd1 bn 1; cn 0 tn 0 sn 1), retrying
wd1: soft error (corrected)
boot device: wd0
root on wd0a dumps on wd0b
mountroot: trying lfs...
mountroot: trying ffs...
root file system type: ffs
init: copying out path `/sbin/init' 11
cbb0: wait took 0.002075s

>How-To-Repeat:
see above.
>Fix:
Use kernel at 20050801,it is a workaround.