Subject: Re: thinkpad 570 hard disk not recognised by install kernel
To: None <bouyer@antioche.eu.org>
From: Khoa Tran <tran.kk@gmail.com>
List: port-i386
Date: 11/21/2007 23:12:33
So the install kernel recognises an IBM Travelstar HDD that I had
lying around (but is of much smaller capacity), and not the Fujitsu
MHS2030AT drive that I'd been trying with (which, of course, I'd
installed NetBSD onto using a Thinkpad T40). So, it seems that it's
just a combination of controller and drive not behaving nicely with
the install kernel?


Khoa Tran

On Nov 15, 2007 8:43 PM, Khoa Tran <tran.kk@gmail.com> wrote:
> Here is the dmesg with
>
> boot -d
> write atadebug_mask 0x10
> c
>
> as requested. Again, note that wd0 is the PCMCIA flash card that I
> inserted to get the dmesg.
>
> Thanks!
>
>
> Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
>     2006, 2007
>     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 4.0_RC4 (INSTALL_LARGE) #0: Thu Nov  8 03:38:38 PST 2007
>         builds@wb34:/home/builds/ab/netbsd-4-0-RC4/i386/200711080452Z-obj/home/builds/ab/netbsd-4-0-RC4/src/sys/arch/i386/compile/INSTALL_LARGE
> total memory = 191 MB
> rbus: rbus_min_start set to 0x20000000
> avail memory = 178 MB
> timecounter: Timecounters tick every 10.000 msec
> timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
> BIOS32 rev. 0 found at 0xfd840
> mainbus0 (root)
> cpu0 at mainbus0: (uniprocessor)
> cpu0: Intel Mobile Pentium II (686-class), 331.85 MHz, id 0x66a
> cpu0: features 183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
> cpu0: features 183f9ff<PGE,MCA,CMOV,PAT,PSE36,MMX>
> cpu0: features 183f9ff<FXSR>
> cpu0: I-cache 16 KB 32B/line 4-way, D-cache 16 KB 32B/line 4-way
> cpu0: L2 cache 256 KB 32B/line 4-way
> cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
> cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
> cpu0: 16 page colors
> acpi0 at mainbus0: Advanced Configuration and Power Interface
> acpi0: using Intel ACPI CA subsystem version 20060217
> acpi0: X/RSDT: OemId <PTLTD ,  RSDT  ,06040000>, AslId < LTP,00000000>
> acpi0: SCI interrupting at int 9
> acpi0: fixed-feature power button present
> timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
> ACPI-Safe 24-bit timer
> LNKA: ACPI: Found matching pin for 0.2.INTA at func 0: 11
> LNKB: ACPI: Found matching pin for 0.2.INTB at func 1: 11
> LNKA: ACPI: Found matching pin for 0.5.INTA at func 0: 11
> LNKD: ACPI: Found matching pin for 0.6.INTD at func 2: 11
> LNKC: ACPI: Found matching pin for 0.7.INTA at func 0: 11
> ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
> ACPI0003 [AC Device] at acpi0 not configured
> PNP0C0A [ACPI Control Method Battery] at acpi0 not configured
> PNP0C0A [ACPI Control Method Battery] at acpi0 not configured
> PNP0C0D [ACPI lid device] at acpi0 not configured
> PNP0C0E [ACPI sleep button device] at acpi0 not configured
> PNP0A03 [PCI/PCI-X Host Bridge] at acpi0 not configured
> PNP0200 [AT DMA Controller] at acpi0 not configured
> PNP0001 [EISA Interrupt Controller] at acpi0 not configured
> PNP0100 [AT Timer] at acpi0 not configured
> PNP0B00 [AT Real-Time Clock] at acpi0 not configured
> PNP0800 [AT-style speaker sound] at acpi0 not configured
> PNP0C04 [Math Coprocessor] at acpi0 not configured
> PNP0C01 [System Board] at acpi0 not configured
> PNP0303 [IBM Enhanced (101/102-key, PS/2 mouse support)] at acpi0 not configured
> IBM3780 at acpi0 not configured
> PNP0C0F [PCI interrupt link device] at acpi0 not configured
> PNP0C0F [PCI interrupt link device] at acpi0 not configured
> PNP0C0F [PCI interrupt link device] at acpi0 not configured
> PNP0C0F [PCI interrupt link device] at acpi0 not configured
> PNP0A05 [Generic Container Device] at acpi0 not configured
> PNP0A05 [Generic Container Device] at acpi0 not configured
> PNP0400 [Standard LPT printer port] at acpi0 not configured
> PNP0700 [PC standard floppy disk controller] at acpi0 not configured
> PNP0A05 [Generic Container Device] at acpi0 not configured
> PNP0C15 at acpi0 not configured
> PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
> PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
> ACPI Object Type 'Thermal' (0x0d) at acpi0 not configured
> ACPI Object Type 'Power' (0x0b) at acpi0 not configured
> PNP0C0B [ACPI Fan] at acpi0 not configured
> 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: vendor 0x8086 product 0x7190 (rev. 0x03)
> agp at pchb0 not configured
> ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x7191 (rev. 0x03)
> pci1 at ppb0 bus 1
> pci1: i/o space, memory space enabled
> vga1 at pci1 dev 0 function 0: vendor 0x10c8 product 0x0005 (rev. 0x20)
> wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
> wsmux1: connecting to wsdisplay0
> cbb0 at pci0 dev 2 function 0: vendor 0x104c product 0xac1b (rev. 0x03)
> cbb1 at pci0 dev 2 function 1: vendor 0x104c product 0xac1b (rev. 0x03)
> vendor 0x1013 product 0x6003 (audio multimedia, revision 0x01) at pci0
> dev 5 function 0 not configured
> pcib0 at pci0 dev 6 function 0
> pcib0: vendor 0x8086 product 0x7110 (rev. 0x02)
> piixide0 at pci0 dev 6 function 1
> piixide0: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
> piixide0: bus-master DMA support present
> piixide0: primary channel wired to compatibility mode
> piixide0: primary channel interrupting at irq 14
> atabus0 at piixide0 channel 0
> piixide0: secondary channel wired to compatibility mode
> piixide0: secondary channel interrupting at irq 15
> atabus1 at piixide0 channel 1
> uhci0 at pci0 dev 6 function 2: vendor 0x8086 product 0x7112 (rev. 0x01)
> uhci0: interrupting at irq 11
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0
> uhub0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> vendor 0x8086 product 0x7113 (miscellaneous bridge, revision 0x02) at
> pci0 dev 6 function 3 not configured
> vendor 0x11c1 product 0x0448 (miscellaneous communications, revision
> 0x01) at pci0 dev 7 function 0 not configured
> cbb0: interrupting at irq 11
> cardslot0 at cbb0 slot 0 flags 0
> cardbus0 at cardslot0: bus 7
> pcmcia0 at cardslot0
> cbb1: interrupting at irq 11
> cardslot1 at cbb1 slot 1 flags 0
> cardbus1 at cardslot1: bus 9
> pcmcia1 at cardslot1
> isa0 at pcib0
> pckbc0 at isa0 port 0x60-0x64
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
> npx0 at isa0 port 0xf0-0xff
> npx0: reported by CPUID; using exception 16
> fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
> isapnp0: no ISA Plug 'n Play devices found
> timecounter: Timecounter "TSC" frequency 331854680 Hz quality 800
> timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
> fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
> Kernelized RAIDframe activated
> md0: internal 5000 KB image area
> piixide0:0: before reset, st0=0x50, st1=0x50
> piixide0:0 drive 1 wd_cyl_lo: got 0x1 != 0x02
> piixide0:0 drive 1 wd_sector: got 0x1 != 0x02
> piixide0:0 drive 1 wd_cyl_lo(2): got 0x7f != 0x01
> piixide0:1: before reset, st0=0x50, st1=0x0
> piixide0:1 drive 1 wd_cyl_lo: got 0x0 != 0x02
> piixide0:1 drive 1 wd_cyl_lo: got 0x0 != 0x01
> piixide0:1 drive 1 wd_cyl_lo(2): got 0x0 != 0x01
> piixide0:1:0: after reset, sc=0x1 sn=0x1 cl=0x14 ch=0xeb
> piixide0:1:1: after reset, sc=0x0 sn=0x0 cl=0x0 ch=0x0
> piixide0:1: wdcwait_reset() end, st0=0x0 st1=0x0
> piixide0:1: after reset, ret_value=0x1
> piixide0:1:0: after reset, sc=0x1 sn=0x1 cl=0x14 ch=0xeb
> piixide0:1: wait DRDY st0 0x0 st1 0x0
> atabusattach: ch_drive_flags 0x2 0x0
> piixide0:0:0: after reset, sc=0xd0 sn=0xd0 cl=0xd0 ch=0xd0
> piixide0:0:1: after reset, sc=0x0 sn=0x0 cl=0x0 ch=0x0
> piixide0:0: wdcwait_reset() end, st0=0xd0 st1=0x0
> piixide0:0: after reset, ret_value=0x0
> atabusattach: ch_drive_flags 0x0 0x0
> atapibus0 at atabus1: 2 targets
> __wdcwait: timeout (time=11), status d0 error d0 (mask 0x0 bits 0x0)
> __wdcwait: timeout (time=11), status d0 error d0 (mask 0x0 bits 0x0)
> cd0 at atapibus0 drive 0: <CRN-8241B, 1999/10/15, 1.23> cdrom removable
> cd0: 32-bit data port
> cd0: drive supports PIO mode 4, DMA mode 2
> cd0(piixide0:1:0): using PIO mode 4, DMA mode 2 (using DMA)
> boot device: <unknown>
> root on md0a dumps on md0b
> root file system type: ffs
> WARNING: clock gained 7 days
> WARNING: CHECK AND RESET THE DATE!
> warning: no /dev/console
> wdc2 at pcmcia0 function 0: <, TWTTI, >
> wdc2: i/o mapped mode
> atabus2 at wdc2 channel 0
> wdc2:0: before reset, st0=0x50, st1=0x0
> wdc2:0 drive 1 wd_cyl_lo: got 0x0 != 0x02
> wdc2:0 drive 1 wd_cyl_lo: got 0x0 != 0x01
> wdc2:0 drive 1 wd_sector: got 0x0 != 0x01
> wdc2:0 drive 1 wd_sector: got 0x0 != 0x02
> wdc2:0 drive 1 wd_cyl_lo(2): got 0x0 != 0x01
> wdc2:0:0: after reset, sc=0x1 sn=0x1 cl=0x0 ch=0x0
> wdc2:0:1: after reset, sc=0x0 sn=0x0 cl=0x0 ch=0x0
> wdc2:0: wdcwait_reset() end, st0=0x50 st1=0x0
> wdc2:0: after reset, ret_value=0x1
> wdc2:0:0: after reset, sc=0x1 sn=0x1 cl=0x0 ch=0x0
> wdc2:0: wait DRDY st0 0x50 st1 0x0
> __wdcwait: timeout (time=11), status 80 error 0 (mask 0x8 bits 0x8)
> atabusattach: ch_drive_flags 0x1 0x0
> wd0 at atabus2 drive 0: <FCF2GBU>
> wd0: drive supports 1-sector PIO transfers, LBA addressing
> wd0: 1983 MB, 4029 cyl, 16 head, 63 sec, 512 bytes/sect x 4061232 sectors
> wd0: drive supports PIO mode 4
>