Subject: Re: attempted netbsd installs
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Ben Collver <collver1@comcast.net>
List: port-sparc64
Date: 11/20/2003 20:39:22
On Thu, Nov 20, 2003 at 10:34:21PM +0100, Manuel Bouyer wrote:
> How old is your kernel ? I did a mistake that could cause this problem, which
> has since then been corrected. The problem existed between 2003/11/13 22:18:10
> and 2003/11/17 20:01:35.
The drive doesn't attach with the updated kernel.
cmdide0 at pci1 dev 3 function 0
cmdide0: CMD Technology PCI0646 (rev. 0x03)
cmdide0: bus-master DMA support present
cmdide0: primary channel configured to native-PCI mode
cmdide0: using ivec 1820 for native-PCI interrupt
atabus0 at cmdide0 channel 0
cmdide0: secondary channel configured to native-PCI mode
atabus1 at cmdide0 channel 1
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <CRD-8322B, 1998/09/24, 1.05> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2
cd0(cmdide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
> If that's not the problem, please set wdcdebug_flags to 0x10, and
> send me the boot messages.
Oddly the drive attaches when debugging is enabled.
cmdide0 at pci1 dev 3 function 0
cmdide0: CMD Technology PCI0646 (rev. 0x03)
PCI configuration registers:
Common header:
0x00: 0x06461095 0x02800045 0x01018f03 0x00001000
Vendor Name: CMD Technology (0x1095)
Device Name: PCI0646 (0x0646)
Command register: 0x0045
I/O space accesses: on
Memory space accesses: off
Bus mastering: on
Special cycles: off
MWI transactions: off
Palette snooping: off
Parity error checking: on
Address/data stepping: off
System error (SERR): off
Fast back-to-back transactions: off
Status register: 0x0280
Capability List support: off
66 MHz capable: off
User Definable Features (UDF) support: off
Fast back-to-back capable: on
Data parity error detected: off
DEVSEL timing: medium (0x1)
Slave signaled Target Abort: off
Master received Target Abort: off
Master received Master Abort: off
Asserted System Error (SERR): off
Parity error detected: off
Class Name: mass storage (0x01)
Subclass Name: IDE (0x01)
Interface: 0x8f
Revision ID: 0x03
BIST: 0x00
Header Type: 0x00 (0x00)
Latency Timer: 0x10
Cache Line Size: 0x00
Type 0 ("normal" device) header:
0x10: 0x00c00001 0x00c00009 0x00c00011 0x00c00019
0x20: 0x00c00021 0x00000000 0x00000000 0x06461095
0x30: 0x00000000 0x00000000 0x00000000 0x0402010e
Base address register at 0x10
type: 32-bit i/o
base: 0x00c00000, size: 0x00000008
Base address register at 0x14
type: 32-bit i/o
base: 0x00c00008, size: 0x00000004
Base address register at 0x18
type: 32-bit i/o
base: 0x00c00010, size: 0x00000008
Base address register at 0x1c
type: 32-bit i/o
base: 0x00c00018, size: 0x00000004
Base address register at 0x20
type: 32-bit i/o
base: 0x00c00020, size: 0x00000010
Base address register at 0x24
not implemented(?)
Cardbus CIS Pointer: 0x00000000
Subsystem vendor ID: 0x1095
Subsystem ID: 0x0646
Expansion ROM Base Address: 0x00000000
Reserved @ 0x34: 0x00000000
Reserved @ 0x38: 0x00000000
Maximum Latency: 0x04
Minimum Grant: 0x02
Interrupt pin: 0x01 (pin A)
Interrupt line: 0x0e
Device-dependent header:
0x40: 0x00000000 0x00000000 0x00000000 0x00000000
0x50: 0xc000ec40 0xcc00c000 0x00004000 0x00000000
0x60: 0x00000000 0x00000000 0x00000000 0x00000000
0x70: 0xf0003008 0x7effffbc 0xf0000008 0x56fef7ec
0x80: 0x00000000 0x00000000 0x00000000 0x00000000
0x90: 0x00000000 0x00000000 0x00000000 0x00000000
0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
0xf0: 0x00000000 0x00000000 0x00000000 0x00000000
Don't know how to pretty-print device-dependent header.
cmdide0: bus-master DMA support present
cmd0643_9_chip_map: old timings reg 0xcc00c000 0x4000
cmdide0: primary channel configured to native-PCI mode
cmdide0: using ivec 1820 for native-PCI interrupt
atabus0 at cmdide0 channel 0
cmdide0: secondary channel configured to native-PCI mode
atabus1 at cmdide0 channel 1
cmd0643_9_chip_map: timings reg now 0xcc00c000 0x4000
pciide: command/status register=2800045
wdc_ata_get_parms
wdc_exec_command cmdide0:1:0
wdc_exec_xfer 0x22c2000 channel 1 drive 0
wdcstart from wdc_exec_xfer, flags 0x100
wdcstart: xfer 0x22c2000 channel 1 drive 0
__wdccommand_start cmdide0:1:0
wdccommand cmdide0:1:0: command=0xa1 cylin=0 head=0 sector=0 count=0 precomp=0
__wdccommand_done cmdide0:1:0
wdc_ata_get_parms
wdc_exec_command cmdide0:0:0
wdc_exec_xfer 0x22c2000 channel 0 drive 0
wdcstart from wdc_exec_xfer, flags 0x100
wdcstart: xfer 0x22c2000 channel 0 drive 0
__wdccommand_start cmdide0:0:0
wdccommand cmdide0:0:0: command=0xec cylin=0 head=0 sector=0 count=0 precomp=0
__wdccommand_done cmdide0:0:0
wd0 at atabus0 drive 0wdattach
wdc_ata_get_parms
wdc_exec_command cmdide0:0:0
wdc_exec_xfer 0x22c2000 channel 0 drive 0
wdcstart from wdc_exec_xfer, flags 0x100
wdcstart: xfer 0x22c2000 channel 0 drive 0
__wdccommand_start cmdide0:0:0
wdccommand cmdide0:0:0: command=0xec cylin=0 head=0 sector=0 count=0 precomp=0
__wdccommand_done cmdide0:0:0
: <WDC AC21600H>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 1549 MB, 3148 cyl, 16 head, 63 sec, 512 bytes/sect x 3173184 sectors
wd0: atap_dmatiming_mimi=120, atap_dmatiming_recom=120
wdc_ata_get_parms
wdc_exec_command cmdide0:0:0
wdc_exec_xfer 0x22c2000 channel 0 drive 0
wdcstart from wdc_exec_xfer, flags 0x100
wdcstart: xfer 0x22c2000 channel 0 drive 0
__wdccommand_start cmdide0:0:0
wdccommand cmdide0:0:0: command=0xec cylin=0 head=0 sector=0 count=0 precomp=0
__wdccommand_done cmdide0:0:0
wdc_ata_get_parms
wdc_exec_command cmdide0:0:0
wdc_exec_xfer 0x22c2000 channel 0 drive 0
wdcstart from wdc_exec_xfer, flags 0x100
wdcstart: xfer 0x22c2000 channel 0 drive 0
__wdccommand_start cmdide0:0:0
wdccommand cmdide0:0:0: command=0xec cylin=0 head=0 sector=0 count=0 precomp=0
__wdccommand_done cmdide0:0:0
wdc_ata_set_mode=0xc
wdc_exec_command cmdide0:0:0
wdc_exec_xfer 0x22c2000 channel 0 drive 0
wdcstart from wdc_exec_xfer, flags 0x100
wdcstart: xfer 0x22c2000 channel 0 drive 0
__wdccommand_start cmdide0:0:0
wdccommand cmdide0:0:0: command=0xef cylin=0 head=0 sector=0 count=12 precomp=3
__wdccommand_done cmdide0:0:0
wd0: drive supports PIO mode 4wdc_ata_set_mode=0x22
wdc_exec_command cmdide0:0:0
wdc_exec_xfer 0x22c2000 channel 0 drive 0
wdcstart from wdc_exec_xfer, flags 0x100
wdcstart: xfer 0x22c2000 channel 0 drive 0
__wdccommand_start cmdide0:0:0
wdccommand cmdide0:0:0: command=0xef cylin=0 head=0 sector=0 count=34 precomp=3
__wdccommand_done cmdide0:0:0
, DMA mode 2
pciide_dma_table_setup: table at 0x960e000 len 72, phy 0x0
pciide_dma_table_setup: phy addr of table 0xc0086000
wd0(cmdide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
atapibus0 at atabus1: 2 targets
wdc_exec_command cmdide0:1:0
wdc_exec_xfer 0x22c2000 channel 1 drive 0
wdcstart from wdc_exec_xfer, flags 0x100
wdcstart: xfer 0x22c2000 channel 1 drive 0
__wdccommand_start cmdide0:1:0
wdccommand cmdide0:1:0: command=0x8 cylin=0 head=0 sector=0 count=0 precomp=0
__wdccommand_done cmdide0:1:0
wdc_ata_get_parms
wdc_exec_command cmdide0:1:0
wdc_exec_xfer 0x22c2000 channel 1 drive 0
wdcstart from wdc_exec_xfer, flags 0x100
wdcstart: xfer 0x22c2000 channel 1 drive 0
__wdccommand_start cmdide0:1:0
wdccommand cmdide0:1:0: command=0xa1 cylin=0 head=0 sector=0 count=0 precomp=0
__wdccommand_done cmdide0:1:0
cd0 at atapibus0 drive 0: <CRD-8322B, 1998/09/24, 1.05> cdrom removable
wdc_ata_get_parms
wdc_exec_command cmdide0:1:0
wdc_exec_xfer 0x22c2000 channel 1 drive 0
wdcstart from wdc_exec_xfer, flags 0x100
wdcstart: xfer 0x22c2000 channel 1 drive 0
__wdccommand_start cmdide0:1:0
wdccommand cmdide0:1:0: command=0xa1 cylin=0 head=0 sector=0 count=0 precomp=0
__wdccommand_done cmdide0:1:0
wdc_ata_get_parms
wdc_exec_command cmdide0:1:0
wdc_exec_xfer 0x22c2000 channel 1 drive 0
wdcstart from wdc_exec_xfer, flags 0x100
wdcstart: xfer 0x22c2000 channel 1 drive 0
__wdccommand_start cmdide0:1:0
wdccommand cmdide0:1:0: command=0xa1 cylin=0 head=0 sector=0 count=0 precomp=0
__wdccommand_done cmdide0:1:0
wdc_ata_set_mode=0xc
wdc_exec_command cmdide0:1:0
wdc_exec_xfer 0x22c2000 channel 1 drive 0
wdcstart from wdc_exec_xfer, flags 0x100
wdcstart: xfer 0x22c2000 channel 1 drive 0
__wdccommand_start cmdide0:1:0
wdccommand cmdide0:1:0: command=0xef cylin=0 head=0 sector=0 count=12 precomp=3
__wdccommand_done cmdide0:1:0
cd0: drive supports PIO mode 4wdc_ata_set_mode=0x22
wdc_exec_command cmdide0:1:0
wdc_exec_xfer 0x22c2000 channel 1 drive 0
wdcstart from wdc_exec_xfer, flags 0x100
wdcstart: xfer 0x22c2000 channel 1 drive 0
__wdccommand_start cmdide0:1:0
wdccommand cmdide0:1:0: command=0xef cylin=0 head=0 sector=0 count=34 precomp=3
__wdccommand_done cmdide0:1:0
, DMA mode 2
wdc_atapi_get_params: drive 1 not present
pciide_dma_table_setup: table at 0x9614000 len 72, phy 0x0
pciide_dma_table_setup: phy addr of table 0xc0088000
cd0(cmdide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
wdc_ata_get_parms
wdc_exec_command cmdide0:0:0
wdc_exec_xfer 0x22c2000 channel 0 drive 0
wdcstart from wdc_exec_xfer, flags 0x0
wdcstart: xfer 0x22c2000 channel 0 drive 0
__wdccommand_start cmdide0:0:0
wdccommand cmdide0:0:0: command=0xec cylin=0 head=0 sector=0 count=0 precomp=0
__wdccommand_done cmdide0:0:0
wdc_exec_xfer 0x22c2000 channel 0 drive 0
wdcstart from wdc_exec_xfer, flags 0x0
wdcstart: xfer 0x22c2000 channel 0 drive 0
wdccommandshort cmdide0:0:0 command 0x10
wdccommand cmdide0:0:0: command=0xef cylin=0 head=0 sector=0 count=12 precomp=3
wdccommand cmdide0:0:0: command=0xef cylin=0 head=0 sector=0 count=34 precomp=3
wdccommand cmdide0:0:0: command=0xc6 cylin=0 head=0 sector=0 count=16 precomp=0
wdccommand cmdide0:0:0: command=0xc8 cylin=0 head=64 sector=0 count=1 precomp=0
Cheers,
Ben