NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: timeout on siside0



On 22 May 2014 18:25, Roy Bixler <rcbixler%nyx.net@localhost> wrote:
On Thu, May 22, 2014 at 04:44:23PM +0100, David Brownlee wrote:
> On 22 May 2014 12:49, Roy Bixler <rcbixler%nyx.net@localhost> wrote:
>
> > Since I have the system installed, at least now I can give a precise
> > "dmesg" output.  I'll include it below.  As you will see, this system
> > has a primary and secondary IDE bus.  The primary has 2 disks
> > attached.  The secondary has the CD drive as master and another drive
> > as slave.  The system is installed on the primary master drive.  I
> > also tried the primary slave drive and that works.  I made a limited
> > test on the drive on the secondary slave and it seems to work, so it
> > looks like only the CD drive (secondary master) is throwing errors.
> >
>
> Curious thoughts
>
> - does the CD work as the primary/secondary slave, or as the only device on
> the secondary channel?
> - the cd reports using UDMA4 ("cd0(siside0:1:0): using PIO mode 4,
> Ultra-DMA mode 4 (Ultra/66) (using DMA)"). It might be worth test booting
> another OS and seeing if it attaches the CD differently...

I'll address your second point, since I have already succeeded in
booting other operating systems* from the CD on that system.  Here is
the 'dmesg' output of the FreeBSD v. 10 LiveCD boot:

Copyright (c) 1992-2014 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-RELEASE #0 r260789: Fri Jan 17 01:46:25 UTC 2014
    root%snap.freebsd.org@localhost:/usr/obj/usr/src/sys/GENERIC i386
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
CPU: AMD Athlon(tm) XP 1800+ (1533.42-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x681  Family = 0x6  Model = 0x8  Stepping = 1
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400800<SYSCALL,MMX+,3DNow!+,3DNow!>
real memory  = 536870912 (512 MB)
avail memory = 502640640 (479 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <AMIINT SiS740XX>
ioapic0: Changing APIC ID to 2
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
random: <Software, Yarrow> initialized
acpi0: <AMIINT SiS740XX> on motherboard
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pcib0: Length mismatch for 3 range: dfe00000 vs dec00000
pci0: <ACPI PCI bus> on pcib0
agp0: <SiS 746 host to AGP bridge> on hostb0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xb800-0xb8ff mem 0xc8000000-0xcbffffff,0xcfef0000-0xcfefffff irq 16 at device 0.0 on pci1
vgapci0: Boot video device
vgapci1: <VGA-compatible display> mem 0xc4000000-0xc7ffffff,0xcfee0000-0xcfeeffff at device 0.1 on pci1
isab0: <PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <SiS 962/963 WDMA2 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 2.5 on pci0
ata0: <ATA channel> at channel 0 on atapci0
ata1: <ATA channel> at channel 1 on atapci0
pcm0: <SiS 7012> port 0xdc00-0xdcff,0xd800-0xd87f irq 18 at device 2.7 on pci0
pcm0: <Avance Logic ALC655 AC97 Codec>
ohci0: <SiS 5571 USB controller> mem 0xcfffe000-0xcfffefff irq 20 at device 3.0 on pci0
usbus0 on ohci0
ohci1: <SiS 5571 USB controller> mem 0xcffff000-0xcfffffff irq 21 at device 3.1 on pci0
usbus1 on ohci1
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xcffdf000-0xcffdffff irq 23 at device 3.2 on pci0
usbus2: EHCI version 1.0
usbus2 on ehci0
sis0: <SiS 900 10/100BaseTX> port 0xd400-0xd4ff mem 0xcffdc000-0xcffdcfff irq 19 at device 4.0 on pci0
miibus0: <MII bus> on sis0
ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
ukphy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis0: Ethernet address: 00:19:21:71:73:75
acpi_button1: <Sleep Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> 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> port 0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
ppc0: <Parallel port> port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xcafff pnpid ORM0000 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
Timecounters tick every 1.000 msec
random: unblocking device.
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 480Mbps High Speed USB v2.0
ugen1.1: <SiS> at usbus1
uhub0: <SiS OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen0.1: <SiS> at usbus0
uhub1: <SiS OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen2.1: <SiS> at usbus2
uhub2: <SiS EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
uhub0: 3 ports with 3 removable, self powered
uhub1: 3 ports with 3 removable, self powered
ada0 at ata0 bus 0 scbus0 target 0 lun 0
ada0: <ST310210A 3.17> ATA-4 device
ada0: Serial Number 3CM0R3P6
ada0: 66.700MB/s transfers (UDMA4, PIO 8192bytes)
ada0: 9729MB (19925880 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad0
ada1 at ata0 bus 0 scbus0 target 1 lun 0
ada1: <WDC WD400BB-00GFA0 09.01B09> ATA-5 device
ada1: Serial Number WD-WMAKA1554908
ada1: 100.000MB/s transfers (UDMA5, PIO 8192bytes)
ada1: 38166MB (78165360 512 byte sectors: 16H 255S/T 16383C)
ada1: Previously was known as ad1
ada2 at ata1 bus 0 scbus1 target 1 lun 0
ada2: <QUANTUM FIREBALL CR8.4A A5U.0200> ATA-4 device
ada2: Serial Number 928911710197
ada2: 66.700MB/s transfers (UDMA4, PIO 8192bytes)
ada2: 8063MB (16514064 512 byte sectors: 16H 63S/T 16383C)
ada2: Previously was known as ad3
cd0 at ata1 bus 0 scbus1 target 0 lun 0
cd0: <HP DVD Writer 635d JPS3> Removable CD-ROM SCSI-0 device
cd0: Serial Number 4265210056
cd0: 66.700MB/s transfers (UDMA4, ATAPI 12bytes, PIO 65534bytes)
cd0: cd present [288725 x 2048 byte records]
Timecounter "TSC" frequency 1533421211 Hz quality 800
uhub2: 6 ports with 6 removable, self powered

So FreeBSD seems to indicate is running the CD at full speed... well, it was worth a check.

Interestingly FreeBSD identifies it as "SiS 962/963 WDMA2 controller" and treats it as "TYPE_133NEW" - generally found on 661GX/761GX chipsets
http://fxr.watson.org/fxr/source/dev/ata/chipsets/ata-sis.c

while NetBSD calls it a "746 IDE controller" of "TYPE_SOUTH" with integrated southbridge
http://nxr.netbsd.org/xref/src/sys/dev/pci/siside.c

which implies different setup config, which could be affecting things

Are you able to confirm which base chipset the machine has? 746, 761 etc?


Home | Main Index | Thread Index | Old Index