Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Sep 2003 23:41:29 +0900
From:      Hiroyuki Aizu <eyes@navi.org>
To:        freebsd-current@FreeBSD.ORG
Subject:   Re: ata-lowlevel.c ate my slave disc
Message-ID:  <20030925234130.00c78384.eyes@navi.org>
In-Reply-To: <200309250724.h8P7O086050705@spider.deepcore.dk>
References:  <20030924225703.6AF682A8E7@canning.wemm.org> <200309250724.h8P7O086050705@spider.deepcore.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Thu, 25 Sep 2003 09:24:00 +0200 (CEST)
Soren Schmidt <sos@spider.deepcore.dk> wrote:

> It seems Peter Wemm wrote:
> > 
> > > Hi, I want to report a regression in ATAng. It's exactly same problem
> > > that Richard Nyberg reported on current@ 9 days ago.
> > > 
> > > After updating to today -current, my system no longer see primary slave
> > > hard drive. It's one year old Seagate 80 GB hard drive.
> > 
> > FWIW, I have the same problem on my amd64 boxes at home.  It will not see
> > the drive if its in slave mode.  It too happens to be a seagate.
> > 
> > > If I revert a 1.10 revision of ata-lowlevel.c (#ifdef 0 a section of
> > > probing code), the disc is back and works absolutely fine.
> > 
> > I'll try the same later on.
> 
> I need the dmesg output from a verbose boot to get any further with this
> (of cause from an unpatched uptodate -current)
> 
> -S$Bxr(Ben

I have similar problem.
After suspend/resume, primary master drive has disappeared.
So I'm using with patch attached to this mail.
The notebook is TOSHIBA Libretto L5.

I'l attach dmesg log too.

--
Hiroyuki Aizu

[-- Attachment #2 --]
Copyright (c) 1992-2003 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 5.1-CURRENT #23: Mon Sep 22 14:49:27 JST 2003
    aizu@ayers.navi.org:/usr/src/sys/i386/compile/ONE
Preloaded elf kernel "/boot/kernel/kernel" at 0xc054b000.
Preloaded elf module "/boot/kernel/cd9660.ko" at 0xc054b2a4.
Preloaded elf module "/boot/kernel/msdosfs.ko" at 0xc054b350.
Preloaded elf module "/boot/kernel/if_rl.ko" at 0xc054b3fc.
Preloaded elf module "/boot/kernel/miibus.ko" at 0xc054b4a8.
Preloaded elf module "/boot/kernel/if_wi.ko" at 0xc054b554.
Preloaded elf module "/boot/kernel/wlan.ko" at 0xc054b600.
Preloaded elf module "/boot/kernel/rc4.ko" at 0xc054b6ac.
Preloaded elf module "/boot/kernel/usb.ko" at 0xc054b754.
Preloaded elf module "/boot/kernel/ugen.ko" at 0xc054b7fc.
Preloaded elf module "/boot/kernel/ums.ko" at 0xc054b8a8.
Preloaded elf module "/boot/kernel/umass.ko" at 0xc054b950.
Preloaded elf module "/boot/kernel/cam.ko" at 0xc054b9fc.
Preloaded elf module "/boot/kernel/random.ko" at 0xc054baa4.
Preloaded elf module "/boot/kernel/if_ath.ko" at 0xc054bb50.
Preloaded elf module "/boot/kernel/ath_hal.ko" at 0xc054bbfc.
Preloaded elf module "/boot/kernel/firewire.ko" at 0xc054bca8.
Preloaded elf module "/boot/kernel/sbp.ko" at 0xc054bd58.
Preloaded elf module "/boot/kernel/speaker.ko" at 0xc054be00.
Preloaded elf module "/boot/kernel/acpi_toshiba.ko" at 0xc054beac.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc054bf60.
Calibrating clock(s) ... i8254 clock: 1193125 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254" frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 796889107 Hz
CPU: Transmeta(tm) Crusoe(tm) Processor TM5800 (796.89-MHz 586-class CPU)
  Origin = "GenuineTMx86"  Id = 0x543
  Processor revision 1.4.1.0
  Code Morphing Software revision 4.2.9-8-344
  20020222 15:08 official release 4.2.9#1
  LongRun mode: 2  <800MHz 1300mV 100%>
real memory  = 520011776 (495 MB)
Physical memory chunk(s):
0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages)
0x0000000000573000 - 0x000000001e70dfff, 504999936 bytes (123291 pages)
avail memory = 499286016 (476 MB)
bios32: Found BIOS32 Service Directory header at 0xc00f0280
bios32: Entry = 0xfba4a (c00fba4a)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xf0000+0xd0b3
Other BIOS signatures found:
wlan: <802.11 Link Layer>
mem: <memory & I/O>
null: <null device, zero device>
random: <entropy source>
ath_hal: <Atheros Hardware Access Layer>version 0.9.5.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <TOSHIB L5      > on motherboard
pci_open(1):	mode 1 addr port (0x0cf8) is 0x80002014
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=80] is there (id=03951279)
pcibios: BIOS version 2.10
Using $PIR table, 7 entries at 0xc00f01f0
PCI-Only Interrupts: none
Location  Bus Device Pin  Link  IRQs
embedded    0    4    A   0x01  3 4 5 6 7 10 11
embedded    0   18    A   0x02  3 4 5 6 7 10 11
embedded    0   14    A   0x04  3 4 5 6 7 10 11
embedded    0   20    A   0x07  3 4 5 6 7 10 11
embedded    0    6    A   0x08  3 4 5 6 7 10 11
embedded    0   11    A   0x06  3 4 5 6 7 10 11
embedded    0   10    A   0x02  3 4 5 6 7 10 11
acpi_bus_number: root bus has no _BBN, assuming 0
AcpiOsDerivePciId: bus 0 dev 7 func 0
acpi0: power button is handled as a fixed feature programming model.
ACPI timer looks BAD  min = 2, max = 1007, width = 1005
ACPI timer looks BAD  min = 2, max = 8, width = 6
ACPI timer looks BAD  min = 2, max = 5, width = 3
ACPI timer looks GOOD min = 2, max = 4, width = 2
ACPI timer looks GOOD min = 2, max = 4, width = 2
ACPI timer looks BAD  min = 2, max = 7, width = 5
ACPI timer looks BAD  min = 2, max = 10, width = 8
ACPI timer looks BAD  min = 2, max = 5, width = 3
ACPI timer looks BAD  min = 2, max = 6, width = 4
ACPI timer looks BAD  min = 2, max = 5, width = 3
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_bus_number: root bus has no _BBN, assuming 0
AcpiOsDerivePciId: bus 0 dev 0 func 0
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xee08-0xee0b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_tz0: <thermal zone> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
---- initial configuration ------------------------
\\_SB_.PCI0.FNC0.LNKA irq  11: [  3  4  5  6  7 10 11] low,level,sharable 0.4.0
\\_SB_.PCI0.FNC0.LNKB irq   0: [  3  4  5  6  7 10 11] low,level,sharable 0.18.0
\\_SB_.PCI0.FNC0.LNKD irq   7: [  3  4  5  6  7 10 11] low,level,sharable 0.14.0
\\_SB_.PCI0.FNC0.LNKH irq   0: [  3  4  5  6  7 10 11] low,level,sharable 0.6.0
\\_SB_.PCI0.FNC0.LNKG irq   6: [  3  4  5  6  7 10 11] low,level,sharable 0.20.0
\\_SB_.PCI0.FNC0.LNKB irq   0: [  3  4  5  6  7 10 11] low,level,sharable 0.10.0
\\_SB_.PCI0.FNC0.LNKF irq   0: [  3  4  5  6  7 10 11] low,level,sharable 0.11.0
---- before setting priority for links ------------
\\_SB_.PCI0.FNC0.LNKF:
	interrupts:	     3     4     5     6     7    10    11
	penalty:	  1310  1110   210  1210  1210   110   210
	references:	1
	priority:	0
---- before fixup boot-disabled links -------------
\\_SB_.PCI0.FNC0.LNKF:
	interrupts:	     3     4     5     6     7    10    11
	penalty:	  1310  1110   210  1210  1210   110   210
	references:	1
	priority:	767
---- after fixup boot-disabled links --------------
---- arbitrated configuration ---------------------
\\_SB_.PCI0.FNC0.LNKA irq  11: [  3  4  5  6  7 10 11] low,level,sharable 0.4.0
\\_SB_.PCI0.FNC0.LNKB irq   3: [  3  4  5  6  7 10 11] low,level,sharable 0.18.0
\\_SB_.PCI0.FNC0.LNKD irq   7: [  3  4  5  6  7 10 11] low,level,sharable 0.14.0
\\_SB_.PCI0.FNC0.LNKH irq   5: [  3  4  5  6  7 10 11] low,level,sharable 0.6.0
\\_SB_.PCI0.FNC0.LNKG irq   6: [  3  4  5  6  7 10 11] low,level,sharable 0.20.0
\\_SB_.PCI0.FNC0.LNKB irq   3: [  3  4  5  6  7 10 11] low,level,sharable 0.10.0
\\_SB_.PCI0.FNC0.LNKF irq  10: [  3  4  5  6  7 10 11] low,level,sharable 0.11.0
pci0: <ACPI PCI bus> on pcib0
pci0: physical bus=0
	map[10]: type 1, range 32, base ffa00000, size 20, enabled
found->	vendor=0x1279, dev=0x0395, revid=0x02
	bus=0, slot=0, func=0
	class=06-00-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0006, statreg=0x0200, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found->	vendor=0x1279, dev=0x0396, revid=0x00
	bus=0, slot=0, func=1
	class=05-00-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found->	vendor=0x1279, dev=0x0397, revid=0x00
	bus=0, slot=0, func=2
	class=05-00-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	map[10]: type 3, range 32, base f0000000, size 27, enabled
	map[14]: type 4, range 32, base 0000ed00, size  8, enabled
	map[18]: type 1, range 32, base ff9f0000, size 16, enabled
pcib0: matched entry for 0.4.INTA (source \\_SB_.PCI0.FNC0.LNKA)
pcib0: slot 4 INTA is routed to irq 11
found->	vendor=0x1002, dev=0x4c59, revid=0x00
	bus=0, slot=4, func=0
	class=03-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0087, statreg=0x0290, cachelnsz=8 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=11
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type 4, range 32, base 00000000, size  8, port disabled
found->	vendor=0x10b9, dev=0x5451, revid=0x01
	bus=0, slot=6, func=0
	class=04-01-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0000, statreg=0x0290, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x02 (500 ns), maxlat=0x18 (6000 ns)
	intpin=a, irq=255
	powerspec 2  supports D0 D1 D2 D3  current D3
found->	vendor=0x10b9, dev=0x1533, revid=0x00
	bus=0, slot=7, func=0
	class=06-01-00, hdrtype=0x00, mfdev=0
	cmdreg=0x000f, statreg=0x0210, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	powerspec 1  supports D0 D3  current D0
found->	vendor=0x1179, dev=0x0805, revid=0x05
	bus=0, slot=10, func=0
	class=08-80-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0000, statreg=0x0210, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=255
	powerspec 2  supports D0 D1 D2 D3  current D3
	map[10]: type 4, range 32, base 0000ea00, size  8, enabled
	map[14]: type 1, range 32, base ff9eff00, size  8, enabled
pcib0: matched entry for 0.14.INTA (source \\_SB_.PCI0.FNC0.LNKD)
pcib0: slot 14 INTA is routed to irq 7
found->	vendor=0x10ec, dev=0x8139, revid=0x10
	bus=0, slot=14, func=0
	class=02-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0007, statreg=0x0290, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x20 (8000 ns), maxlat=0x40 (16000 ns)
	intpin=a, irq=7
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[20]: type 4, range 32, base 0000e9f0, size  4, enabled
found->	vendor=0x10b9, dev=0x5229, revid=0xc3
	bus=0, slot=16, func=0
	class=01-01-e0, hdrtype=0x00, mfdev=0
	cmdreg=0x0005, statreg=0x0290, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x02 (500 ns), maxlat=0x04 (1000 ns)
	intpin=a, irq=255
	powerspec 2  supports D0 D3  current D0
found->	vendor=0x10b9, dev=0x7101, revid=0x00
	bus=0, slot=17, func=0
	class=06-80-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0000, statreg=0x0200, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found->	vendor=0x1179, dev=0x0617, revid=0x33
	bus=0, slot=18, func=0
	class=06-07-00, hdrtype=0x02, mfdev=0
	cmdreg=0x0000, statreg=0x0490, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=255
	powerspec 1  supports D0 D1 D2 D3  current D3
	map[10]: type 1, range 32, base ff9ee000, size 12, enabled
pcib0: matched entry for 0.20.INTA (source \\_SB_.PCI0.FNC0.LNKG)
pcib0: slot 20 INTA is routed to irq 6
found->	vendor=0x10b9, dev=0x5237, revid=0x03
	bus=0, slot=20, func=0
	class=0c-03-10, hdrtype=0x00, mfdev=0
	cmdreg=0x0007, statreg=0x0290, cachelnsz=8 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x50 (20000 ns)
	intpin=a, irq=6
	powerspec 2  supports D0 D3  current D0
pci0: <memory, RAM> at device 0.1 (no driver attached)
pci0: <memory, RAM> at device 0.2 (no driver attached)
pci0: <display, VGA> at device 4.0 (no driver attached)
pci0: <multimedia, audio> at device 6.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
pci0: <base peripheral> at device 10.0 (no driver attached)
rl0: <RealTek 8139 10/100BaseTX, rev. C> port 0xea00-0xeaff mem 0xff9eff00-0xff9effff irq 7 at device 14.0 on pci0
rl0: Ethernet address: 00:08:0d:ec:71:36
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: bpf attached
atapci0: <AcerLabs Aladdin UDMA66 controller> port 0xe9f0-0xe9ff at device 16.0 on pci0
ata0: reset tp1 mask=03 ostat0=50 ostat1=00
ata0-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00
ata0-slave:  stat=0x00 err=0x01 lsb=0x00 msb=0x00
ata0: reset tp2 mask=03 stat0=50 stat1=00 devices=0x1<ATA_MASTER>
ata0: at 0x1f0 irq 14 on atapci0
ata1: simplex device, DMA on primary only
ata1: at 0x170 irq 15 on atapci0
pci0: <bridge, PCI-unknown> at device 17.0 (no driver attached)
cbb0: <ToPIC100 PCI-CardBus Bridge> at device 18.0 on pci0
cbb0: chip is in D3 power mode -- setting to D0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pcib0: matched entry for 0.18.INTA (source \\_SB_.PCI0.FNC0.LNKB)
pcib0: slot 18 INTA is routed to irq 3
cbb0: PCI Configuration space:
  0x00: 0x06171179 0x04900007 0x06070033 0x00024000 
  0x10: 0x88000000 0x04800080 0x00020200 0xfffff000 
  0x20: 0x00000000 0xfffff000 0x00000000 0x0000fffc 
  0x30: 0x00000000 0x0000fffc 0x00000000 0x04000103 
  0x40: 0x00011179 0x00000001 0x00000000 0x00000000 
  0x50: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x60: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x70: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x80: 0xfe110001 0x00800000 0x00000000 0x01000000 
  0x90: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xa0: 0x860017f0 0x0c000000 0x00000000 0x0000d100 
  0xb0: 0x3f3f3fcf 0x0a081020 0x14010100 0x00423f00 
  0xc0: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xd0: 0x00040000 0x00000000 0x00000000 0x00000000 
  0xe0: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xf0: 0x00000000 0x00000000 0x00000000 0x00000008 
ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xff9ee000-0xff9eefff irq 6 at device 20.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: MOUSE SYSTEM U+P mouse, rev 1.00/0.00, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_cmbat0: <Control method Battery> on acpi0
acpi_acad0: <AC adapter> on acpi0
acpi_toshiba0: <Toshiba Notebook Extra HCI driver> on acpi0
speaker0 port 0x61 on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0047
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: unable to allocate IRQ
psmcpnp0 irq 12 on acpi0
psm0: current command byte:0047
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3-00, 3 buttons
psm0: config:00006000, flags:00000000, packet size:4
psm0: syncmask:08, syncbits:08
ata: ata0 already exists; skipping it
ata: ata1 already exists; skipping it
atkbdc: atkbdc0 already exists; skipping it
sc: sc0 already exists; skipping it
vga: vga0 already exists; skipping it
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
pmtimer0 on isa0
orm0: <Option ROMs> at iomem 0xe0000-0xeffff,0xc0000-0xcffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
vga0: vga: WARNING: video mode switching is not fully supported on this adapter
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 27 7e 4f 4f 82 58 06 
aa 1f 00 4f 0d 0e 00 00 07 80 90 84 8f 28 1f 8f 
ab a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 00 00 03 00 02 27 7e 4f 4f 82 58 06 
aa 1f 00 4f 0d 0e 00 00 07 80 90 84 8f 28 1f 8f 
ab a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
adv0: not probed (disabled)
aha0: not probed (disabled)
aic0: not probed (disabled)
bt0: not probed (disabled)
cs0: not probed (disabled)
ed0: not probed (disabled)
fdc0 failed to probe at port 0x3f0 irq 6 drq 2 on isa0
fe0: not probed (disabled)
ie0: not probed (disabled)
le0: not probed (disabled)
lnc0: not probed (disabled)
pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0
pcic1: not probed (disabled)
ppc0 failed to probe at irq 7 on isa0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: irq maps: 0x1 0x1 0x1 0x1
sio0: probe failed test(s): 0 1 2 4 6 7 9
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1: irq maps: 0x1 0x1 0x1 0x1
sio1: probe failed test(s): 0 1 2 4 6 7 9
sio1 failed to probe at port 0x2f8-0x2ff irq 3 on isa0
sio2: not probed (disabled)
sio3: not probed (disabled)
sn0: not probed (disabled)
vt0: not probed (disabled)
isa_probe_children: probing PnP devices
Device configuration finished.
Timecounter "TSC" frequency 796889107 Hz quality 800
Timecounters tick every 10.000 msec
lo0: bpf attached
acpi_cmbat0: battery initialization start
acpi_cmbat0: battery initialization done, tried 1 times
acpi_acad0: acline initialization start
acpi_acad0: On Line
acpi_acad0: acline initialization done, tried 1 times
ata0-master: pio=0x0c wdma=0x22 udma=0x45 cable=80pin
ad0: setting UDMA66 on AcerLabs Aladdin chip
GEOM: create disk ad0 dp=0xc3f81b70
ad0: <TOSHIBA MK2020GLP/EC100A> ATA-5 disk at ata0-master
ad0: 19077MB (39070080 sectors), 38760 C, 16 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, UDMA66
GEOM: new disk ad0
[0] f:80 typ:165 s(CHS):0/1/1 e(CHS):1023/15/63 s:63 l:39070017
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
GEOM: Configure ad0s1, start 32256 length 20003848704 end 20003880959
GEOM: Configure ad0s1a, start 0 length 536870912 end 536870911
GEOM: Configure ad0s1b, start 536870912 length 671088640 end 1207959551
GEOM: Configure ad0s1c, start 0 length 20003848704 end 20003848703
GEOM: Configure ad0s1d, start 1207959552 length 268435456 end 1476395007
GEOM: Configure ad0s1e, start 1476395008 length 536870912 end 2013265919
GEOM: Configure ad0s1f, start 2013265920 length 17990582784 end 20003848703
Mounting root from ufs:/dev/ad0s1a
start_init: trying /sbin/init
======== acpi_printcpu() debug dump ========
gdt[0077:c034a6e0] idt[0407:c034aa80] ldt[0028] tr[0020] efl[00000086]
eax[00034000] ebx[c14ba780] ecx[00000000] edx[bfc000d0]
esi[00000000] edi[c14c5ab0] ebp[d7987aa4] esp[d7987a6c]
cr0[e005003b] cr2[280bb918] cr3[182c8000] cr4[00000011]
cs[0008] ds[0010] es[0010] fs[0018] gs[002f] ss[0010]
======== acpi_printcpu() debug dump ========
gdt[0077:c034a6e0] idt[0407:c034aa80] ldt[0028] tr[0020] efl[00000002]
eax[00000001] ebx[c14ba780] ecx[00008000] edx[c3ec3390]
esi[00000000] edi[c14c5ab0] ebp[d7987aa4] esp[d7987a6c]
cr0[e005003b] cr2[280bb918] cr3[182c8000] cr4[00000011]
cs[0008] ds[0010] es[0010] fs[0018] gs[002f] ss[0010]
ata0: resetting devices ..
ata0: reset tp1 mask=03 ostat0=80 ostat1=80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ata0-slave:  stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ata0-slave:  stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ata0-slave:  stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ata0-slave:  stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ata0-slave:  stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ata0-slave:  stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x50 err=0x00 lsb=0xfe msb=0x3f
ata0-slave:  stat=0x00 err=0x00 lsb=0xfe msb=0x3f
ata0: reset tp2 mask=03 stat0=50 stat1=00 devices=0x0
GEOM: destroy disk ad0 dp=0xc3f81b70
ata0: spurious interrupt - status=0x00 error=0x00
ad0: WARNING - removed from configuration
done
ata1: resetting devices ..
done
atkbd: the current kbd controller command byte 0065
atkbd: keyboard ID 0x41ab (2)
acpi_cmbat0: battery initialization start
acpi_cmbat0: battery initialization done, tried 1 times
ums0: at uhub0 port 2 (addr 2) disconnected
ums0: detached
ums0: MOUSE SYSTEM U+P mouse, rev 1.00/0.00, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
panic: vrele: negative ref cnt

syncing disks, buffers remaining... 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
giving up on 33 buffers
Uptime: 1m10s
Shutting down ACPI
Automatic reboot in 15 seconds - press a key on the console to abort
--> Press a key on the console to reboot,
--> or switch off the system now.
Rebooting...

[-- Attachment #3 --]
Copyright (c) 1992-2003 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 5.1-CURRENT #24: Mon Sep 22 15:11:12 JST 2003
    aizu@ayers.navi.org:/usr/src/sys/i386/compile/ONE
Preloaded elf kernel "/boot/kernel/kernel" at 0xc054b000.
Preloaded elf module "/boot/kernel/cd9660.ko" at 0xc054b2a4.
Preloaded elf module "/boot/kernel/msdosfs.ko" at 0xc054b350.
Preloaded elf module "/boot/kernel/if_rl.ko" at 0xc054b3fc.
Preloaded elf module "/boot/kernel/miibus.ko" at 0xc054b4a8.
Preloaded elf module "/boot/kernel/if_wi.ko" at 0xc054b554.
Preloaded elf module "/boot/kernel/wlan.ko" at 0xc054b600.
Preloaded elf module "/boot/kernel/rc4.ko" at 0xc054b6ac.
Preloaded elf module "/boot/kernel/usb.ko" at 0xc054b754.
Preloaded elf module "/boot/kernel/ugen.ko" at 0xc054b7fc.
Preloaded elf module "/boot/kernel/ums.ko" at 0xc054b8a8.
Preloaded elf module "/boot/kernel/umass.ko" at 0xc054b950.
Preloaded elf module "/boot/kernel/cam.ko" at 0xc054b9fc.
Preloaded elf module "/boot/kernel/random.ko" at 0xc054baa4.
Preloaded elf module "/boot/kernel/if_ath.ko" at 0xc054bb50.
Preloaded elf module "/boot/kernel/ath_hal.ko" at 0xc054bbfc.
Preloaded elf module "/boot/kernel/firewire.ko" at 0xc054bca8.
Preloaded elf module "/boot/kernel/sbp.ko" at 0xc054bd58.
Preloaded elf module "/boot/kernel/speaker.ko" at 0xc054be00.
Preloaded elf module "/boot/kernel/acpi_toshiba.ko" at 0xc054beac.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc054bf60.
Calibrating clock(s) ... i8254 clock: 1193131 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254" frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 796888819 Hz
CPU: Transmeta(tm) Crusoe(tm) Processor TM5800 (796.89-MHz 586-class CPU)
  Origin = "GenuineTMx86"  Id = 0x543
  Processor revision 1.4.1.0
  Code Morphing Software revision 4.2.9-8-344
  20020222 15:08 official release 4.2.9#1
  LongRun mode: 2  <800MHz 1300mV 100%>
real memory  = 520011776 (495 MB)
Physical memory chunk(s):
0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages)
0x0000000000573000 - 0x000000001e70dfff, 504999936 bytes (123291 pages)
avail memory = 499286016 (476 MB)
bios32: Found BIOS32 Service Directory header at 0xc00f0280
bios32: Entry = 0xfba4a (c00fba4a)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xf0000+0xd0b3
Other BIOS signatures found:
wlan: <802.11 Link Layer>
mem: <memory & I/O>
null: <null device, zero device>
random: <entropy source>
ath_hal: <Atheros Hardware Access Layer>version 0.9.5.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <TOSHIB L5      > on motherboard
pci_open(1):	mode 1 addr port (0x0cf8) is 0x80002014
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=80] is there (id=03951279)
pcibios: BIOS version 2.10
Using $PIR table, 7 entries at 0xc00f01f0
PCI-Only Interrupts: none
Location  Bus Device Pin  Link  IRQs
embedded    0    4    A   0x01  3 4 5 6 7 10 11
embedded    0   18    A   0x02  3 4 5 6 7 10 11
embedded    0   14    A   0x04  3 4 5 6 7 10 11
embedded    0   20    A   0x07  3 4 5 6 7 10 11
embedded    0    6    A   0x08  3 4 5 6 7 10 11
embedded    0   11    A   0x06  3 4 5 6 7 10 11
embedded    0   10    A   0x02  3 4 5 6 7 10 11
acpi_bus_number: root bus has no _BBN, assuming 0
AcpiOsDerivePciId: bus 0 dev 7 func 0
acpi0: power button is handled as a fixed feature programming model.
ACPI timer looks BAD  min = 2, max = 1005, width = 1003
ACPI timer looks BAD  min = 2, max = 11, width = 9
ACPI timer looks BAD  min = 2, max = 5, width = 3
ACPI timer looks BAD  min = 2, max = 7, width = 5
ACPI timer looks BAD  min = 2, max = 5, width = 3
ACPI timer looks BAD  min = 2, max = 7, width = 5
ACPI timer looks BAD  min = 2, max = 5, width = 3
ACPI timer looks BAD  min = 2, max = 5, width = 3
ACPI timer looks BAD  min = 2, max = 7, width = 5
ACPI timer looks BAD  min = 2, max = 5, width = 3
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_bus_number: root bus has no _BBN, assuming 0
AcpiOsDerivePciId: bus 0 dev 0 func 0
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xee08-0xee0b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_tz0: <thermal zone> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
---- initial configuration ------------------------
\\_SB_.PCI0.FNC0.LNKA irq  11: [  3  4  5  6  7 10 11] low,level,sharable 0.4.0
\\_SB_.PCI0.FNC0.LNKB irq   0: [  3  4  5  6  7 10 11] low,level,sharable 0.18.0
\\_SB_.PCI0.FNC0.LNKD irq   7: [  3  4  5  6  7 10 11] low,level,sharable 0.14.0
\\_SB_.PCI0.FNC0.LNKH irq   0: [  3  4  5  6  7 10 11] low,level,sharable 0.6.0
\\_SB_.PCI0.FNC0.LNKG irq   6: [  3  4  5  6  7 10 11] low,level,sharable 0.20.0
\\_SB_.PCI0.FNC0.LNKB irq   0: [  3  4  5  6  7 10 11] low,level,sharable 0.10.0
\\_SB_.PCI0.FNC0.LNKF irq   0: [  3  4  5  6  7 10 11] low,level,sharable 0.11.0
---- before setting priority for links ------------
\\_SB_.PCI0.FNC0.LNKF:
	interrupts:	     3     4     5     6     7    10    11
	penalty:	  1310  1110   210  1210  1210   110   210
	references:	1
	priority:	0
---- before fixup boot-disabled links -------------
\\_SB_.PCI0.FNC0.LNKF:
	interrupts:	     3     4     5     6     7    10    11
	penalty:	  1310  1110   210  1210  1210   110   210
	references:	1
	priority:	767
---- after fixup boot-disabled links --------------
---- arbitrated configuration ---------------------
\\_SB_.PCI0.FNC0.LNKA irq  11: [  3  4  5  6  7 10 11] low,level,sharable 0.4.0
\\_SB_.PCI0.FNC0.LNKB irq   3: [  3  4  5  6  7 10 11] low,level,sharable 0.18.0
\\_SB_.PCI0.FNC0.LNKD irq   7: [  3  4  5  6  7 10 11] low,level,sharable 0.14.0
\\_SB_.PCI0.FNC0.LNKH irq   5: [  3  4  5  6  7 10 11] low,level,sharable 0.6.0
\\_SB_.PCI0.FNC0.LNKG irq   6: [  3  4  5  6  7 10 11] low,level,sharable 0.20.0
\\_SB_.PCI0.FNC0.LNKB irq   3: [  3  4  5  6  7 10 11] low,level,sharable 0.10.0
\\_SB_.PCI0.FNC0.LNKF irq  10: [  3  4  5  6  7 10 11] low,level,sharable 0.11.0
pci0: <ACPI PCI bus> on pcib0
pci0: physical bus=0
	map[10]: type 1, range 32, base ffa00000, size 20, enabled
found->	vendor=0x1279, dev=0x0395, revid=0x02
	bus=0, slot=0, func=0
	class=06-00-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0006, statreg=0x0200, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found->	vendor=0x1279, dev=0x0396, revid=0x00
	bus=0, slot=0, func=1
	class=05-00-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found->	vendor=0x1279, dev=0x0397, revid=0x00
	bus=0, slot=0, func=2
	class=05-00-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	map[10]: type 3, range 32, base f0000000, size 27, enabled
	map[14]: type 4, range 32, base 0000ed00, size  8, enabled
	map[18]: type 1, range 32, base ff9f0000, size 16, enabled
pcib0: matched entry for 0.4.INTA (source \\_SB_.PCI0.FNC0.LNKA)
pcib0: slot 4 INTA is routed to irq 11
found->	vendor=0x1002, dev=0x4c59, revid=0x00
	bus=0, slot=4, func=0
	class=03-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0087, statreg=0x0290, cachelnsz=8 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=11
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type 4, range 32, base 00000000, size  8, port disabled
found->	vendor=0x10b9, dev=0x5451, revid=0x01
	bus=0, slot=6, func=0
	class=04-01-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0000, statreg=0x0290, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x02 (500 ns), maxlat=0x18 (6000 ns)
	intpin=a, irq=255
	powerspec 2  supports D0 D1 D2 D3  current D3
found->	vendor=0x10b9, dev=0x1533, revid=0x00
	bus=0, slot=7, func=0
	class=06-01-00, hdrtype=0x00, mfdev=0
	cmdreg=0x000f, statreg=0x0210, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	powerspec 1  supports D0 D3  current D0
found->	vendor=0x1179, dev=0x0805, revid=0x05
	bus=0, slot=10, func=0
	class=08-80-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0000, statreg=0x0210, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=255
	powerspec 2  supports D0 D1 D2 D3  current D3
	map[10]: type 4, range 32, base 0000ea00, size  8, enabled
	map[14]: type 1, range 32, base ff9eff00, size  8, enabled
pcib0: matched entry for 0.14.INTA (source \\_SB_.PCI0.FNC0.LNKD)
pcib0: slot 14 INTA is routed to irq 7
found->	vendor=0x10ec, dev=0x8139, revid=0x10
	bus=0, slot=14, func=0
	class=02-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0007, statreg=0x0290, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x20 (8000 ns), maxlat=0x40 (16000 ns)
	intpin=a, irq=7
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[20]: type 4, range 32, base 0000e9f0, size  4, enabled
found->	vendor=0x10b9, dev=0x5229, revid=0xc3
	bus=0, slot=16, func=0
	class=01-01-e0, hdrtype=0x00, mfdev=0
	cmdreg=0x0005, statreg=0x0290, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x02 (500 ns), maxlat=0x04 (1000 ns)
	intpin=a, irq=255
	powerspec 2  supports D0 D3  current D0
found->	vendor=0x10b9, dev=0x7101, revid=0x00
	bus=0, slot=17, func=0
	class=06-80-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0000, statreg=0x0200, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found->	vendor=0x1179, dev=0x0617, revid=0x33
	bus=0, slot=18, func=0
	class=06-07-00, hdrtype=0x02, mfdev=0
	cmdreg=0x0000, statreg=0x0490, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=255
	powerspec 1  supports D0 D1 D2 D3  current D3
	map[10]: type 1, range 32, base ff9ee000, size 12, enabled
pcib0: matched entry for 0.20.INTA (source \\_SB_.PCI0.FNC0.LNKG)
pcib0: slot 20 INTA is routed to irq 6
found->	vendor=0x10b9, dev=0x5237, revid=0x03
	bus=0, slot=20, func=0
	class=0c-03-10, hdrtype=0x00, mfdev=0
	cmdreg=0x0007, statreg=0x0290, cachelnsz=8 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x50 (20000 ns)
	intpin=a, irq=6
	powerspec 2  supports D0 D3  current D0
pci0: <memory, RAM> at device 0.1 (no driver attached)
pci0: <memory, RAM> at device 0.2 (no driver attached)
pci0: <display, VGA> at device 4.0 (no driver attached)
pci0: <multimedia, audio> at device 6.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
pci0: <base peripheral> at device 10.0 (no driver attached)
rl0: <RealTek 8139 10/100BaseTX, rev. C> port 0xea00-0xeaff mem 0xff9eff00-0xff9effff irq 7 at device 14.0 on pci0
rl0: Ethernet address: 00:08:0d:ec:71:36
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: bpf attached
atapci0: <AcerLabs Aladdin UDMA66 controller> port 0xe9f0-0xe9ff at device 16.0 on pci0
ata0: reset tp1 mask=03 ostat0=50 ostat1=00
ata0-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00
ata0-slave:  stat=0x00 err=0x01 lsb=0x00 msb=0x00
ata0: reset tp2 mask=03 stat0=50 stat1=00 devices=0x1<ATA_MASTER>
ata0: reset tp3 devices=0x1<ATA_MASTER>
ata0: at 0x1f0 irq 14 on atapci0
ata1: simplex device, DMA on primary only
ata1: at 0x170 irq 15 on atapci0
pci0: <bridge, PCI-unknown> at device 17.0 (no driver attached)
cbb0: <ToPIC100 PCI-CardBus Bridge> at device 18.0 on pci0
cbb0: chip is in D3 power mode -- setting to D0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pcib0: matched entry for 0.18.INTA (source \\_SB_.PCI0.FNC0.LNKB)
pcib0: slot 18 INTA is routed to irq 3
cbb0: PCI Configuration space:
  0x00: 0x06171179 0x04900007 0x06070033 0x00024000 
  0x10: 0x88000000 0x04800080 0x00020200 0xfffff000 
  0x20: 0x00000000 0xfffff000 0x00000000 0x0000fffc 
  0x30: 0x00000000 0x0000fffc 0x00000000 0x04000103 
  0x40: 0x00011179 0x00000001 0x00000000 0x00000000 
  0x50: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x60: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x70: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x80: 0xfe110001 0x00800000 0x00000000 0x01000000 
  0x90: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xa0: 0x860017f0 0x0c000000 0x00000000 0x0000d100 
  0xb0: 0x3f3f3fcf 0x0a081020 0x14010100 0x00423f00 
  0xc0: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xd0: 0x00040000 0x00000000 0x00000000 0x00000000 
  0xe0: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xf0: 0x00000000 0x00000000 0x00000000 0x00000008 
ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xff9ee000-0xff9eefff irq 6 at device 20.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: MOUSE SYSTEM U+P mouse, rev 1.00/0.00, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_cmbat0: <Control method Battery> on acpi0
acpi_acad0: <AC adapter> on acpi0
acpi_toshiba0: <Toshiba Notebook Extra HCI driver> on acpi0
speaker0 port 0x61 on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0047
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: unable to allocate IRQ
psmcpnp0 irq 12 on acpi0
psm0: current command byte:0047
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3-00, 3 buttons
psm0: config:00006000, flags:00000000, packet size:4
psm0: syncmask:08, syncbits:08
ata: ata0 already exists; skipping it
ata: ata1 already exists; skipping it
atkbdc: atkbdc0 already exists; skipping it
sc: sc0 already exists; skipping it
vga: vga0 already exists; skipping it
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
pmtimer0 on isa0
orm0: <Option ROMs> at iomem 0xe0000-0xeffff,0xc0000-0xcffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
vga0: vga: WARNING: video mode switching is not fully supported on this adapter
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 27 7e 4f 4f 82 58 06 
aa 1f 00 4f 0d 0e 00 00 07 80 90 84 8f 28 1f 8f 
ab a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 00 00 03 00 02 27 7e 4f 4f 82 58 06 
aa 1f 00 4f 0d 0e 00 00 07 80 90 84 8f 28 1f 8f 
ab a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
adv0: not probed (disabled)
aha0: not probed (disabled)
aic0: not probed (disabled)
bt0: not probed (disabled)
cs0: not probed (disabled)
ed0: not probed (disabled)
fdc0 failed to probe at port 0x3f0 irq 6 drq 2 on isa0
fe0: not probed (disabled)
ie0: not probed (disabled)
le0: not probed (disabled)
lnc0: not probed (disabled)
pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0
pcic1: not probed (disabled)
ppc0 failed to probe at irq 7 on isa0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: irq maps: 0x1 0x1 0x1 0x1
sio0: probe failed test(s): 0 1 2 4 6 7 9
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1: irq maps: 0x1 0x1 0x1 0x1
sio1: probe failed test(s): 0 1 2 4 6 7 9
sio1 failed to probe at port 0x2f8-0x2ff irq 3 on isa0
sio2: not probed (disabled)
sio3: not probed (disabled)
sn0: not probed (disabled)
vt0: not probed (disabled)
isa_probe_children: probing PnP devices
Device configuration finished.
Timecounter "TSC" frequency 796888819 Hz quality 800
Timecounters tick every 10.000 msec
lo0: bpf attached
acpi_cmbat0: battery initialization start
acpi_cmbat0: battery initialization done, tried 1 times
acpi_acad0: acline initialization start
acpi_acad0: On Line
acpi_acad0: acline initialization done, tried 1 times
ata0-master: pio=0x0c wdma=0x22 udma=0x45 cable=80pin
ad0: setting UDMA66 on AcerLabs Aladdin chip
GEOM: create disk ad0 dp=0xc3f81b70
ad0: <TOSHIBA MK2020GLP/EC100A> ATA-5 disk at ata0-master
ad0: 19077MB (39070080 sectors), 38760 C, 16 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, UDMA66
GEOM: new disk ad0
[0] f:80 typ:165 s(CHS):0/1/1 e(CHS):1023/15/63 s:63 l:39070017
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
GEOM: Configure ad0s1, start 32256 length 20003848704 end 20003880959
GEOM: Configure ad0s1a, start 0 length 536870912 end 536870911
GEOM: Configure ad0s1b, start 536870912 length 671088640 end 1207959551
GEOM: Configure ad0s1c, start 0 length 20003848704 end 20003848703
GEOM: Configure ad0s1d, start 1207959552 length 268435456 end 1476395007
GEOM: Configure ad0s1e, start 1476395008 length 536870912 end 2013265919
GEOM: Configure ad0s1f, start 2013265920 length 17990582784 end 20003848703
Mounting root from ufs:/dev/ad0s1a
start_init: trying /sbin/init
======== acpi_printcpu() debug dump ========
gdt[0077:c034ae00] idt[0407:c034b1a0] ldt[0028] tr[0020] efl[00000086]
eax[00034000] ebx[c14ba780] ecx[00000000] edx[bfc000d0]
esi[00000000] edi[c14c5bb0] ebp[d7984aa4] esp[d7984a6c]
cr0[e005003b] cr2[280bc9b8] cr3[182cc000] cr4[00000011]
cs[0008] ds[0010] es[0010] fs[0018] gs[002f] ss[0010]
======== acpi_printcpu() debug dump ========
gdt[0077:c034ae00] idt[0407:c034b1a0] ldt[0028] tr[0020] efl[00000002]
eax[00000001] ebx[c14ba780] ecx[00008000] edx[c3ec3260]
esi[00000000] edi[c14c5bb0] ebp[d7984aa4] esp[d7984a6c]
cr0[e005003b] cr2[280bc9b8] cr3[182cc000] cr4[00000011]
cs[0008] ds[0010] es[0010] fs[0018] gs[002f] ss[0010]
ata0: resetting devices ..
ata0: reset tp1 mask=01 ostat0=80 ostat1=00
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x50 err=0x00 lsb=0xfe msb=0x3f
ata0: reset tp2 mask=01 stat0=50 stat1=00 devices=0x0
ad0: ATA err=0x00 lsb=0xa5
ata0: reset tp3 devices=0x1<ATA_MASTER>
ad0: pio=0x0c wdma=0x22 udma=0x45 cable=80pin
ad0: setting UDMA66 on AcerLabs Aladdin chip
done
ata1: resetting devices ..
done
atkbd: the current kbd controller command byte 0065
atkbd: keyboard ID 0x41ab (2)
acpi_cmbat0: battery initialization start
acpi_cmbat0: battery initialization done, tried 1 times
ums0: at uhub0 port 2 (addr 2) disconnected
ums0: detached
ums0: MOUSE SYSTEM U+P mouse, rev 1.00/0.00, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
Waiting (max 60 seconds) for system process `vnlru' to stop...stopped
Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped
Waiting (max 60 seconds) for system process `syncer' to stop...stopped

syncing disks, buffers remaining... 
done
Uptime: 1m3s
Shutting down ACPI
Rebooting...

[-- Attachment #4 --]
--- ata-lowlevel.c.orig	Sat Sep 20 17:38:33 2003
+++ ata-lowlevel.c	Thu Sep 25 23:29:21 2003
@@ -486,29 +486,43 @@
 static void
 ata_reset(struct ata_channel *ch)
 {
-    u_int8_t err, lsb, msb, ostat0, ostat1;
+    u_int8_t err, lsb, msb;
+    u_int8_t ostat0 = 0, ostat1 = 0;
     u_int8_t stat0 = 0, stat1 = 0;
     int mask = 0, timeout;
 
     /* do we have any signs of ATA/ATAPI HW being present ? */
-    ATA_IDX_OUTB(ch, ATA_DRIVE, ATA_D_IBM | ATA_MASTER);
-    DELAY(10);
-    ostat0 = ATA_IDX_INB(ch, ATA_STATUS);
-    if ((ostat0 & 0xf8) != 0xf8 && ostat0 != 0xa5) {
-	stat0 = ATA_S_BUSY;
-	mask |= 0x01;
-    }
-
-    ATA_IDX_OUTB(ch, ATA_DRIVE, ATA_D_IBM | ATA_SLAVE);
-    DELAY(10);	
-    ostat1 = ATA_IDX_INB(ch, ATA_STATUS);
-
-    /* in some setups we dont want to test for a slave */
-    if (!(ch->flags & ATA_NO_SLAVE)) {
-	if ((ostat1 & 0xf8) != 0xf8 && ostat1 != 0xa5) {
-	    stat1 = ATA_S_BUSY;
-	    mask |= 0x02;
-	}
+    if (ch->devices == 0) {
+        ATA_IDX_OUTB(ch, ATA_DRIVE, ATA_D_IBM | ATA_MASTER);
+        DELAY(10);
+        ostat0 = ATA_IDX_INB(ch, ATA_STATUS);
+        if ((ostat0 & 0xf8) != 0xf8 && ostat0 != 0xa5) {
+            stat0 = ATA_S_BUSY;
+            mask |= 0x01;
+        }
+
+        ATA_IDX_OUTB(ch, ATA_DRIVE, ATA_D_IBM | ATA_SLAVE);
+        DELAY(10);	
+        ostat1 = ATA_IDX_INB(ch, ATA_STATUS);
+
+        /* in some setups we dont want to test for a slave */
+        if (!(ch->flags & ATA_NO_SLAVE)) {
+            if ((ostat1 & 0xf8) != 0xf8 && ostat1 != 0xa5) {
+                stat1 = ATA_S_BUSY;
+                mask |= 0x02;
+            }
+        }
+    } else {
+        if (ch->devices & (ATA_ATA_MASTER | ATA_ATAPI_MASTER)) {
+            ostat0 = ATA_S_BUSY;
+            stat0 = ATA_S_BUSY;
+            mask |= 0x01;
+        }
+        if (ch->devices & (ATA_ATA_SLAVE | ATA_ATAPI_SLAVE)) {
+            ostat1 = ATA_S_BUSY;
+            stat1 = ATA_S_BUSY;
+            mask |= 0x02;
+        }
     }
 
     /* if nothing showed up no need to get any further */
@@ -604,7 +618,7 @@
 		   "reset tp2 mask=%02x stat0=%02x stat1=%02x devices=0x%b\n",
 		   mask, stat0, stat1, ch->devices,
 		   "\20\4ATAPI_SLAVE\3ATAPI_MASTER\2ATA_SLAVE\1ATA_MASTER");
-#if 0
+#if 1
     if (!mask)
 	return;
 

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