Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2007 23:53:01 GMT
From:      Toni Tiveron <toni.tiveron@tiscalinet.it>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/118342: Unable to mount root on ata drive w/ Cyrix 5530 Chipset
Message-ID:  <200711292353.lATNr1jk068781@www.freebsd.org>
Resent-Message-ID: <200711300000.lAU004lD011395@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
>Number:         118342
>Category:       i386
>Synopsis:       Unable to mount root on ata drive w/ Cyrix 5530 Chipset
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 30 00:00:04 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Toni Tiveron
>Release:        6.3-PRERELEASE
>Organization:
none
>Environment:
i386
>Description:
Afther updating all sources, I've complied  (buildworld, buildkernel)
Installed new kernel but no luck. The skinned kernel, nor the GENERIC one can attach the disk to the ata controller.
>How-To-Repeat:
Test on any Geode based unit
>Fix:
not known (roll back to older kernel version (6.2)

Patch attached with submission follows:

SMAP type=01 base=0000000000000000 len=000000000009fc00
SMAP type=01 base=000000000009fc00 len=0000000000000400
SMAP type=02 base=00000000000f0000 len=0000000000010000
SMAP type=02 base=00000000ffff0000 len=0000000000010000
SMAP type=01 base=0000000000100000 len=0000000007d80000
Copyright (c) 1992-2007 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 6.3-PRERELEASE #3: Thu Nov 29 23:27:34 CET 2007
    root@FreeBSD.home.tiveron.net:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0838000.
Preloaded elf module "/boot/kernel/pf.ko" at 0xc0838150.
Calibrating clock(s) ... i8254 clock: 1193082 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254" frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 300682842 Hz
CPU: Geode(TM) Integrated Processor by National Semi (300.68-MHz 586-class CPU)
  Origin = "Geode by NSC"  Id = 0x540  Stepping = 0
  Features=0x808131<FPU,TSC,MSR,CX8,CMOV,MMX>
real memory  = 132644864 (126 MB)
Physical memory chunk(s):
0x0000000000001000 - 0x000000000009ffff, 651264 bytes (159 pages)
0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)
0x0000000000c25000 - 0x0000000007c05fff, 117313536 bytes (28641 pages)
avail memory = 120344576 (114 MB)
bios32: Found BIOS32 Service Directory header at 0xc00fad30
bios32: Entry = 0xfb1b0 (c00fb1b0)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xf0000+0xb1e0
pnpbios: Found PnP BIOS data at 0xc00fbe10
pnpbios: Entry = f0000:be38  Rev = 1.0
Other BIOS signatures found:
nfslock: pseudo-device
null: <null device, zero device>
io: <I/O>
random: <entropy source, Software, Yarrow>
mem: <memory>
npx0: INT 16 interface
cpu0 on motherboard
pci_open(1):	mode 1 addr port (0x0cf8) is 0x800090d0
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=00011078)
pcibios: BIOS version 2.10
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 3 Entries> on motherboard
$PIR: Links after initial probe:
Link  IRQ  Rtd  Ref  IRQs
 0x2  255   N     2  3 4 5 7 9 10 11 12 14 15
 0x3  255   N     2  3 4 5 7 9 10 11 12 14 15
 0x4  255   N     2  3 4 5 7 9 10 11 12 14 15
 0x1  255   N     3  3 4 5 7 9 10 11 12 14 15
$PIR: Found matching pin for 0.15.INTA at func 0: 11
$PIR: Found matching pin for 0.19.INTA at func 0: 15
$PIR: Links after initial IRQ discovery:
Link  IRQ  Rtd  Ref  IRQs
 0x2  255   N     2  3 4 5 7 9 10 11 12 14 15
 0x3   11   Y     2  3 4 5 7 9 10 11 12 14 15
 0x4  255   N     2  3 4 5 7 9 10 11 12 14 15
 0x1   15   Y     3  3 4 5 7 9 10 11 12 14 15
$PIR: IRQs used by BIOS: 11 15
$PIR: Interrupt Weights:
[    0   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15 ]
[    0   0   0   0   0   0   0   0   0   0   0   2   0   0   0   3 ]
pci0: <PCI bus> on pcib0
pci0: physical bus=0
found->	vendor=0x1078, dev=0x0001, revid=0x00
	bus=0, slot=0, func=0
	class=06-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0007, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found->	vendor=0x10ec, dev=0x8139, revid=0x10
	bus=0, slot=15, func=0
	class=02-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0007, statreg=0x0290, cachelnsz=0 (dwords)
	lattimer=0x20 (960 ns), mingnt=0x20 (8000 ns), maxlat=0x40 (16000 ns)
	intpin=a, irq=11
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type 4, range 32, base 0000e000, size  8, enabled
	map[14]: type 1, range 32, base d8000000, size  8, enabled
$PIR: 0:15 INTA routed to irq 11
found->	vendor=0x1078, dev=0x0100, revid=0x30
	bus=0, slot=18, func=0
	class=06-01-00, hdrtype=0x00, mfdev=1
	cmdreg=0x000f, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found->	vendor=0x1078, dev=0x0101, revid=0x00
	bus=0, slot=18, func=1
	class=06-80-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0002, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	map[10]: type 1, range 32, base 40012000, size  8, enabled
found->	vendor=0x1078, dev=0x0102, revid=0x00
	bus=0, slot=18, func=2
	class=01-01-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	map[20]: type 4, range 32, base 0000f000, size  4, enabled
found->	vendor=0x1078, dev=0x0103, revid=0x00
	bus=0, slot=18, func=3
	class=04-01-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0006, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	map[10]: type 1, range 32, base 40011000, size  7, enabled
found->	vendor=0x1078, dev=0x0104, revid=0x00
	bus=0, slot=18, func=4
	class=03-00-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0003, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	map[10]: type 1, range 32, base 40800000, size 23, enabled
found->	vendor=0x0e11, dev=0xa0f8, revid=0x06
	bus=0, slot=19, func=0
	class=0c-03-10, hdrtype=0x00, mfdev=0
	cmdreg=0x0007, statreg=0x0280, cachelnsz=8 (dwords)
	lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x50 (20000 ns)
	intpin=a, irq=15
	map[10]: type 1, range 32, base d8004000, size 12, enabled
$PIR: 0:19 INTA routed to irq 15
rl0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xe000
rl0: <RealTek 8139 10/100BaseTX> port 0xe000-0xe0ff mem 0xd8000000-0xd80000ff irq 11 at device 15.0 on pci0
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: bpf attached
rl0: Ethernet address: 00:e0:c5:68:75:24
rl0: [MPSAFE]
isab0: <PCI-ISA bridge> at device 18.0 on pci0
isa0: <ISA bus> on isab0
Geode 03/21/2002-GXm-Cx5530A-2A434A3EC-00
pci0: <bridge> at device 18.1 (no driver attached)
atapci0: <Cyrix 5530 ATA33 controller> port 0xf000-0xf00f at device 18.2 on pci0
atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xf000
ata0: <ATA channel 0> on atapci0
device_attach: ata0 attach returned 6
ata1: <ATA channel 1> on atapci0
device_attach: ata1 attach returned 6
pci0: <multimedia, audio> at device 18.3 (no driver attached)
pci0: <display, VGA> at device 18.4 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xd8004000-0xd8004fff irq 15 at device 19.0 on pci0
ohci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xd8004000
ohci0: (New OHCI DeviceId=0xa0f80e11)
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: (0x0e11) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ata: ata0 already exists; skipping it
ata: ata1 already exists; skipping it
pnp_identify: Trying Read_Port at 203
pnp_identify: Trying Read_Port at 243
pnp_identify: Trying Read_Port at 283
pnp_identify: Trying Read_Port at 2c3
pnp_identify: Trying Read_Port at 303
pnp_identify: Trying Read_Port at 343
pnp_identify: Trying Read_Port at 383
pnp_identify: Trying Read_Port at 3c3
PNP Identify complete
pnpbios: 18 devices, largest 102 bytes
PNP0200: adding dma mask 0x10
PNP0200: adding io range 0-0xf, size=0x10, align=0
PNP0200: adding io range 0x81-0x83, size=0x3, align=0
PNP0200: adding io range 0x87-0x87, size=0x1, align=0
PNP0200: adding io range 0x89-0x8b, size=0x3, align=0
PNP0200: adding io range 0x8f-0x91, size=0x3, align=0
PNP0200: adding io range 0xc0-0xdf, size=0x20, align=0
pnpbios: handle 1 device ID PNP0200 (0002d041)
PNP0100: adding irq mask 0x1
PNP0100: adding io range 0x40-0x43, size=0x4, align=0
pnpbios: handle 2 device ID PNP0100 (0001d041)
PNP0b00: adding irq mask 0x100
PNP0b00: adding io range 0x70-0x71, size=0x2, align=0
pnpbios: handle 3 device ID PNP0b00 (000bd041)
PNP0303: adding irq mask 0x2
PNP0303: adding io range 0x60-0x60, size=0x1, align=0
PNP0303: adding io range 0x64-0x64, size=0x1, align=0
pnpbios: handle 4 device ID PNP0303 (0303d041)
PNP0800: adding io range 0x61-0x61, size=0x1, align=0
pnpbios: handle 5 device ID PNP0800 (0008d041)
PNP0c04: adding irq mask 0x2000
PNP0c04: adding io range 0xf0-0xff, size=0x10, align=0
pnpbios: handle 6 device ID PNP0c04 (040cd041)
PNP0c01: adding fixed memory32 range 0-0x9ffff, size=0xa0000
PNP0c01: adding fixed memory32 range 0x40010000-0x40010fff, size=0x1000
PNP0c01: adding fixed memory32 range 0x40008000-0x4000ffff, size=0x8000
PNP0c01: adding fixed memory32 range 0x40018000-0x407fffff, size=0x7e8000
PNP0c01: adding fixed memory32 range 0x41000000-0x41017fff, size=0x18000
PNP0c01: adding fixed memory32 range 0xfffc0000-0xffffffff, size=0x40000
PNP0c01: adding fixed memory32 range 0x100000-0x7e7ffff, size=0x7d80000
pnpbios: handle 7 device ID PNP0c01 (010cd041)
PNP0c02: adding fixed memory32 range 0xf0000-0xf3fff, size=0x4000
PNP0c02: adding fixed memory32 range 0xf4000-0xf7fff, size=0x4000
PNP0c02: adding fixed memory32 range 0xf8000-0xfbfff, size=0x4000
PNP0c02: adding fixed memory32 range 0xfc000-0xfffff, size=0x4000
pnpbios: handle 8 device ID PNP0c02 (020cd041)
PNP0a03: adding io range 0x4d0-0x4d1, size=0x2, align=0
PNP0a03: adding io range 0xcf8-0xcff, size=0x8, align=0
PNP0a03: adding io range 0x480-0x48f, size=0x10, align=0
pnpbios: handle 9 device ID PNP0a03 (030ad041)
PNP0c02: adding fixed memory32 range 0xe0000-0xeffff, size=0x10000
pnpbios: handle 12 device ID PNP0c02 (020cd041)
PNP0c02: adding io range 0x800-0x80f, size=0x10, align=0
PNP0c02: adding io range 0x900-0x90f, size=0x10, align=0
pnpbios: handle 13 device ID PNP0c02 (020cd041)
PNP0501: adding irq mask 0x10
PNP0501: adding io range 0x3f8-0x3ff, size=0x8, align=0
pnpbios: handle 14 device ID PNP0501 (0105d041)
PNP0700: adding dma mask 0x4
PNP0700: adding io range 0x3f2-0x3f5, size=0x4, align=0
PNP0700: adding irq mask 0x40
pnpbios: handle 15 device ID PNP0700 (0007d041)
PNP0400: adding irq mask 0x80
PNP0400: adding io range 0x378-0x37f, size=0x8, align=0
pnpbios: handle 16 device ID PNP0400 (0004d041)
PNP0501: adding irq mask 0x8
PNP0501: adding io range 0x2f8-0x2ff, size=0x8, align=0
pnpbios: handle 18 device ID PNP0501 (0105d041)
CRX0002: adding io range 0x220-0x22f, size=0x10, align=0x20
CRX0002: adding io range 0x388-0x38b, size=0x4, align=0
CRX0002: adding io range 0x330-0x1, size=0x2, align=0x30
CRX0002: adding irq mask 0x20
CRX0002: adding dma mask 0x2
CRX0002: adding dma mask 0x20
pnpbios: handle 19 device ID CRX0002 (0200580e)
PNPb02f: adding io range 0x200-0x201, size=0x1, align=0x1
pnpbios: handle 20 device ID PNPb02f (2fb0d041)
sc: sc0 already exists; skipping it
vga: vga0 already exists; skipping it
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff on isa0
adv0: not probed (disabled)
aha0: not probed (disabled)
aic0: not probed (disabled)
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
kbd0: atkbd0, generic (0), config:0x0, flags:0x1f0000
atkbd0: [GIANT-LOCKED]
bt0: not probed (disabled)
cs0: not probed (disabled)
ed0: not probed (disabled)
fdc0: ic_type 90 part_id 73
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: ic_type 90 part_id 73
fdc0: [MPSAFE]
fdc0: [FAST]
fd0: not probed (disabled)
fd1: not probed (disabled)
fe0: not probed (disabled)
ie0: not probed (disabled)
lnc0: not probed (disabled)
ppc0: parallel port found at 0x378
ppc0: using extended I/O port range
ppc0: SPP
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
sio0: irq maps: 0x8001 0x8011 0x8001 0x8001
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1: irq maps: 0x8001 0x8009 0x8001 0x8001
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio2: not probed (disabled)
sio3: not probed (disabled)
sn0: not probed (disabled)
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
vt0: not probed (disabled)
isa_probe_children: probing PnP devices
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0303> at port 0x60 on isa0
unknown: <PNP0800> failed to probe at port 0x61 on isa0
unknown: <PNP0c01> can't assign resources (memory)
unknown: <PNP0c01> at iomem 0-0x9ffff,0x40010000-0x40010fff,0x40008000-0x4000ffff,0x40018000-0x407fffff,0x41000000-0x41017fff on isa0
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> at port 0x3f8-0x3ff on isa0
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0700> at port 0x3f2-0x3f5 on isa0
unknown: <PNP0400> can't assign resources (port)
unknown: <PNP0400> at port 0x378-0x37f on isa0
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> at port 0x2f8-0x2ff on isa0
unknown: <CRX0002> can't assign resources (port)
unknown: <CRX0002> at port 0x220-0x22f,0x388-0x38b on isa0
unknown: <PNPb02f> failed to probe at port 0x200 on isa0
ugen0: American Power Conversion Back-UPS 500 FW: 6.2.I USB FW: c1, rev 1.10/1.00, addr 2
Device configuration finished.
procfs registered
Timecounters tick every 1.000 msec
IP Filter: v4.1.28 initialized.  Default = pass all, Logging = enabled
ipfw2 (+ipv6) initialized, divert enabled, rule-based forwarding enabled, default to deny, logging unlimited
lo0: bpf attached
DUMMYNET with IPv6 initialized (040826)
fdc0: output ready timeout
fdc0: output ready timeout
fdc0: output ready timeout
fdc0: output ready timeout
fdc0: output ready timeout
fdc0: output ready timeout
fdc0: output ready timeout
Trying to mount root from ufs:/dev/ad0s1a

Manual root filesystem specification:
  <fstype>:<device>  Mount <device> using filesystem <fstype>
                       eg. ufs:da0s1a
  ?                  List valid disk boot devices
  <empty line>       Abort manual input

mountroot> ?

List of GEOM managed disk devices:
  

Manual root filesystem specification:
  <fstype>:<device>  Mount <device> using filesystem <fstype>
                       eg. ufs:da0s1a
  ?                  List valid disk boot devices
  <empty line>       Abort manual input

mountroot> y
Trying to mount root from y

Manual root filesystem specification:
  <fstype>:<device>  Mount <device> using filesystem <fstype>
                       eg. ufs:da0s1a
  ?                  List valid disk boot devices
  <empty line>       Abort manual input

mountroot> 


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711292353.lATNr1jk068781>