No login prompt on Intel Atom board.

2010-03-12 Thread Gabriel Read
Hi everyone,

I have an Intel D945GSEJT mini-itx motherboard
running 4.6 GENERIC.MP#89 i386.
I have been using it as a server for a while without
a monitor or keyboard and it has been
working just fine. I hooked up a monitor and
keyboard but I don't get a login prompt.  If I type on
the keyboard, the letters do appear on the screen,
as do system messages, for example, when I
shutdown it displays the shutdown message.  I have
tried switching virtual consoles, which works, but it
still doesn't display a login prompt.  I have checked
/etc/ttys and console and ttyC0 through ttyC3 are all turned on.
Does anyone have an ideas?

Thanks, Gabe read

Here is my dmesg output:

 function 3 "Intel 82801GB USB" rev 0x02: apic 2 int 16 (irq 11)
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 2
int 23 (irq 10)
ehci0: timed out waiting for BIOS
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci5 at ppb4 bus 5
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 "Intel 82801GBM SATA" rev 0x02: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 2 int 19 (irq 11) for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 305245MB, 625142448 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic
2 int 19 (irq 11)
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
arp info overwritten for 192.168.1.11 by 00:11:09:ed:7b:ee on re0
arp info overwritten for 192.168.1.11 by 00:07:e9:0f:e0:a2 on re0
arp info overwritten for 192.168.1.11 by 00:11:09:ed:7b:ee on re0
arp info overwritten for 192.168.1.11 by 00:11:09:ed:7b:ee on re0
arp info overwritten for 192.168.1.11 by 00:07:e9:0f:e0:a2 on re0
arp info overwritten for 192.168.1.11 by 00:11:09:ed:7b:ee on re0
arp info overwritten for 192.168.1.11 by 00:07:e9:0f:e0:a2 on re0
arp info overwritten for 192.168.1.11 by 00:11:09:ed:7b:ee on re0
arp info overwritten for 192.168.1.11 by 00:07:e9:0f:e0:a2 on re0
arp info overwritten for 192.168.1.127 by 00:16:cb:95:ae:fa on re0
arp info overwritten for 192.168.1.127 by 00:16:cb:b4:65:53 on re0
uhub5 at uhub1 port 2 "Mitsumi Electric Hub in Apple Extended USB
Keyboard" rev 1.10/1.22 addr 2
uhidev0 at uhub5 port 1 configuration 1 interface 0 "Mitsumi Electric
Apple Extended USB Keyboard" rev 1.10/1.22 addr 3
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub5 port 1 configuration 1 interface 1 "Mitsumi Electric
Apple Extended USB Keyboard" rev 1.10/1.22 addr 3
uhidev1: iclass 3/0, 3 report ids
uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 3: input=3, output=0, feature=0
syncing disks...
OpenBSD 4.6 (GENERIC.MP) #89: Thu Jul  9 21:32:39 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Atom(TM) CPU N270 @ 1.60GHz ("GenuineIntel" 686-class) 1.60 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,xTPR
real mem  = 1061449728 (1012MB)
avail mem = 1017520128 (970MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/06/09, SMBIOS rev. 2.6 @
0xe91f0 (42 entries)
bios0: vendor Intel Corp. version "JT94510H.86A.0025.2009.0306.1639"
date 03/06/2009
bios0: Intel Corporation D945GSEJT
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC MCFG SSDT SSDT SSDT
acpi0: wakeup devices P0P2(S4) PEGP(S4) USB0(S3) USB1(S3) USB2(S3)
USB3(S3) EHCI(S3) MC97(S4) P0P1(S4) PS2K(S3) PS2M(S3) UAR1(S3)
UAR2(S3) P0P4(S4) P0P5(S4) P0P6(S4) PWRB(S3)
a

Re: No login prompt on Intel Atom board.

2010-03-13 Thread Gabriel Read
Just an update:
I am able to cat > /dev/ttyC0 and cat /dev/ttyC0 and send and get text
both ways.

If I run /usr/klibexec/getty std.9600 /dev/ttyC0, I get nothing.  the
only way to get out is ^Z and then kill it.

Also, getty is not running when I start up.  I check ps ax and its not there.

Thanks.

On Fri, Mar 12, 2010 at 1:00 PM, Gabriel Read  wrote:
> Hi everyone,
>
> I have an Intel D945GSEJT mini-itx motherboard
> running 4.6 GENERIC.MP#89 i386.
> I have been using it as a server for a while without
> a monitor or keyboard and it has been
> working just fine. I hooked up a monitor and
> keyboard but I don't get a login prompt.  If I type on
> the keyboard, the letters do appear on the screen,
> as do system messages, for example, when I
> shutdown it displays the shutdown message.  I have
> tried switching virtual consoles, which works, but it
> still doesn't display a login prompt.  I have checked
> /etc/ttys and console and ttyC0 through ttyC3 are all turned on.
> Does anyone have an ideas?
>
> Thanks, Gabe read
>
> Here is my dmesg output:
>
>  function 3 "Intel 82801GB USB" rev 0x02: apic 2 int 16 (irq 11)
> ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 2
> int 23 (irq 10)
> ehci0: timed out waiting for BIOS
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
> pci5 at ppb4 bus 5
> ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM
disabled
> pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA,
> channel 0 configured to compatibility, channel 1 configured to
> compatibility
> pciide0: channel 0 disabled (no drives)
> pciide0: channel 1 disabled (no drives)
> pciide1 at pci0 dev 31 function 2 "Intel 82801GBM SATA" rev 0x02: DMA,
> channel 0 configured to native-PCI, channel 1 configured to native-PCI
> pciide1: using apic 2 int 19 (irq 11) for native-PCI interrupt
> wd0 at pciide1 channel 0 drive 0: 
> wd0: 16-sector PIO, LBA48, 305245MB, 625142448 sectors
> wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
> ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic
> 2 int 19 (irq 11)
> iic0 at ichiic0
> spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
> usb1 at uhci0: USB revision 1.0
> uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb2 at uhci1: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci2: USB revision 1.0
> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb4 at uhci3: USB revision 1.0
> uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at ichpcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: 
> spkr0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> mtrr: Pentium Pro MTRR support
> softraid0 at root
> root on wd0a swap on wd0b dump on wd0b
> arp info overwritten for 192.168.1.11 by 00:11:09:ed:7b:ee on re0
> arp info overwritten for 192.168.1.11 by 00:07:e9:0f:e0:a2 on re0
> arp info overwritten for 192.168.1.11 by 00:11:09:ed:7b:ee on re0
> arp info overwritten for 192.168.1.11 by 00:11:09:ed:7b:ee on re0
> arp info overwritten for 192.168.1.11 by 00:07:e9:0f:e0:a2 on re0
> arp info overwritten for 192.168.1.11 by 00:11:09:ed:7b:ee on re0
> arp info overwritten for 192.168.1.11 by 00:07:e9:0f:e0:a2 on re0
> arp info overwritten for 192.168.1.11 by 00:11:09:ed:7b:ee on re0
> arp info overwritten for 192.168.1.11 by 00:07:e9:0f:e0:a2 on re0
> arp info overwritten for 192.168.1.127 by 00:16:cb:95:ae:fa on re0
> arp info overwritten for 192.168.1.127 by 00:16:cb:b4:65:53 on re0
> uhub5 at uhub1 port 2 "Mitsumi Electric Hub in Apple Extended USB
> Keyboard" rev 1.10/1.22 addr 2
> uhidev0 at uhub5 port 1 configuration 1 interface 0 "Mitsumi Electric
> Apple Extended USB Keyboard" rev 1.10/1.22 addr 3
> uhidev0: iclass 3/1
> ukbd0 at uhidev0: 8 modifier keys, 6 key codes
> wskbd1 at ukbd0 mux 1
> wskbd1: connecting to wsdisplay0
> uhidev1 at uhub5 port 1 configuration 1 interface 1 "Mitsumi Electric
> Apple Extended USB Keyboard" rev 1.10/1.22 addr 3
> uhidev1: iclass 3/0, 3 report ids
> uhid0 at uhidev1 reportid 2: input=1, output=0, featur

Re: No login prompt on Intel Atom board.

2010-03-14 Thread Gabriel Read
Thanks for the response.  Unfortunately, I ended up reinstalling 4.6.
I suppose i shouldn't have so I could have figured out the problem.

On Sun, Mar 14, 2010 at 9:30 AM, Miod Vallat  wrote:
>> Just an update:
>> I am able to cat > /dev/ttyC0 and cat /dev/ttyC0 and send and get text
>> both ways.
>>
>> If I run /usr/klibexec/getty std.9600 /dev/ttyC0, I get nothing.  the
>> only way to get out is ^Z and then kill it.
>>
>> Also, getty is not running when I start up.  I check ps ax and its not
there.
>
> Can you ktrace /usr/libexec/getty std.9600 /dev/ttyC0 and figure out
> what causes it to stall or exit early?
>
> Miod



slow network performance with realtek 8111D

2010-05-24 Thread Gabriel Read
Using iperf, I get around 300 mbits/s. between my openbsd machine and
my windows xp machine and also to my imac with os x.  I tried the
kernel tweaks mentioned here:
https://calomel.org/network_performance.html, but they did not help a
whole lot (before tweaks I was getting around 220 mbits/s).

In comparison, the same machine running ubuntu 10.4 server edition
gets around 880 mbits/s according to iperf.  Are there any other
things I can try?  Is this possibly a limitation of the openbsd
driver?

One last thing to note: for the heck of it, I tried an intel pro 1000
pci card and the results were about the same, around 200-300 mbits/s.
I don't have the card in it at the moment so I don't have a dmesg with
it.  This makes me think that it might not be specific to the driver.
In the bios, I have the option of disabling hyper-threading for the
atom processor (it is enabled by default and was setup with bsd.mp).
I turned off hyper-threading and booted up the generic
single-processor kernel and the results didn't change.

Any help would be apreciated.
Thanks, Gabe Read

Here is my dmesg output:

OpenBSD 4.7 (GENERIC) #558: Wed Mar 17 20:46:15 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Atom(TM) CPU N270 @ 1.60GHz ("GenuineIntel" 686-class) 1.60 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,xTPR
real mem  = 1061453824 (1012MB)
avail mem = 1019740160 (972MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/06/09, SMBIOS rev. 2.6 @
0xe91f0 (42 entries)
bios0: vendor Intel Corp. version "JT94510H.86A.0025.2009.0306.1639"
date 03/06/2009
bios0: Intel Corporation D945GSEJT
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC MCFG SSDT SSDT SSDT SSDT
acpi0: wakeup devices P0P2(S4) PEGP(S4) USB0(S3) USB1(S3) USB2(S3)
USB3(S3) EHCI(S3) MC97(S4) P0P1(S4) PS2K(S3) PS2M(S3) UAR1(S3)
UAR2(S3) P0P4(S4) P0P5(S4) P0P6(S4) PWRB(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 133MHz
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P2)
acpiprt2 at acpi0: bus 5 (P0P1)
acpiprt3 at acpi0: bus 1 (P0P4)
acpiprt4 at acpi0: bus 2 (P0P5)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpibtn0 at acpi0: PWRB
acpivideo0 at acpi0: IGD_
acpivout0 at acpivideo0: DD01
acpivout1 at acpivideo0: DD02
acpivout2 at acpivideo0: DD03
acpivout3 at acpivideo0: DD04
bios0: ROM list: 0xc/0xec00! 0xcf000/0x1000
cpu0: Enhanced SpeedStep 1597 MHz: speeds: 1600, 1333, 1067, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945GME Host" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82945GME Video" rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 2 int 16 (irq 11)
drm0 at inteldrm0
"Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02:
apic 2 int 16 (irq 11)
azalia0: codecs: Realtek ALC662
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02
pci1 at ppb0 bus 1
re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x03: RTL8168D/8111D
(0x2800), apic 2 int 16 (irq 11), address 00:1c:c0:df:45:73
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02
pci4 at ppb3 bus 4
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 2
int 23 (irq 10)
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 2
int 19 (irq 11)
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 2
int 18 (irq 7)
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 2
int 16 (irq 11)
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 2
int 23 (irq 10)
ehci0: timed out waiting for BIOS
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci5 at ppb4 bus 5
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 "Intel 82801GBM SATA" rev 0x02: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 2 int 19 (irq 11) for native-PCI interrupt
wd0 at pcii

Re: slow network performance with realtek 8111D

2010-06-01 Thread Gabriel Read
Hi.  I tried what you said.  Both recvspace and sendspace were set to
16384.  I set both of them to 131070 and tried iperf again.  It wasn't
any faster.

Thanks,
Gabe

On Mon, May 31, 2010 at 10:44 PM, jean-philippe luiggi
 wrote:
> Hello,
>
> Please check the result of :
>
> #sysctl -a | grep tcp.*space
>
> If the result is "65535" then increase the value to "131070" and run 'iperf'
again.
>
>
> Cheers,
>
> Jean-Philippe.
>
>
>
>
>
> * Gabriel Read  [2010-05-25 02:19:57 -0400]:
>
>> Using iperf, I get around 300 mbits/s. between my openbsd machine and
>> my windows xp machine and also to my imac with os x.  I tried the
>> kernel tweaks mentioned here:
>> https://calomel.org/network_performance.html, but they did not help a
>> whole lot (before tweaks I was getting around 220 mbits/s).
>>
>> In comparison, the same machine running ubuntu 10.4 server edition
>> gets around 880 mbits/s according to iperf.  Are there any other
>> things I can try?  Is this possibly a limitation of the openbsd
>> driver?
>>
>> One last thing to note: for the heck of it, I tried an intel pro 1000
>> pci card and the results were about the same, around 200-300 mbits/s.
>> I don't have the card in it at the moment so I don't have a dmesg with
>> it.  This makes me think that it might not be specific to the driver.
>> In the bios, I have the option of disabling hyper-threading for the
>> atom processor (it is enabled by default and was setup with bsd.mp).
>> I turned off hyper-threading and booted up the generic
>> single-processor kernel and the results didn't change.
>>
>> Any help would be apreciated.
>> Thanks, Gabe Read
>>
>> Here is my dmesg output:
>>
>> OpenBSD 4.7 (GENERIC) #558: Wed Mar 17 20:46:15 MDT 2010
>> dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
>> cpu0: Intel(R) Atom(TM) CPU N270 @ 1.60GHz ("GenuineIntel" 686-class) 1.60
GHz
>> cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A
CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,xTPR
>> real mem  = 1061453824 (1012MB)
>> avail mem = 1019740160 (972MB)
>> mainbus0 at root
>> bios0 at mainbus0: AT/286+ BIOS, date 03/06/09, SMBIOS rev. 2.6 @
>> 0xe91f0 (42 entries)
>> bios0: vendor Intel Corp. version "JT94510H.86A.0025.2009.0306.1639"
>> date 03/06/2009
>> bios0: Intel Corporation D945GSEJT
>> acpi0 at bios0: rev 2
>> acpi0: tables DSDT FACP APIC MCFG SSDT SSDT SSDT SSDT
>> acpi0: wakeup devices P0P2(S4) PEGP(S4) USB0(S3) USB1(S3) USB2(S3)
>> USB3(S3) EHCI(S3) MC97(S4) P0P1(S4) PS2K(S3) PS2M(S3) UAR1(S3)
>> UAR2(S3) P0P4(S4) P0P5(S4) P0P6(S4) PWRB(S3)
>> acpitimer0 at acpi0: 3579545 Hz, 24 bits
>> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
>> cpu0 at mainbus0: apid 0 (boot processor)
>> cpu0: apic clock running at 133MHz
>> ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
>> acpiprt0 at acpi0: bus 0 (PCI0)
>> acpiprt1 at acpi0: bus -1 (P0P2)
>> acpiprt2 at acpi0: bus 5 (P0P1)
>> acpiprt3 at acpi0: bus 1 (P0P4)
>> acpiprt4 at acpi0: bus 2 (P0P5)
>> acpicpu0 at acpi0: C3, C2, C1, PSS
>> acpibtn0 at acpi0: PWRB
>> acpivideo0 at acpi0: IGD_
>> acpivout0 at acpivideo0: DD01
>> acpivout1 at acpivideo0: DD02
>> acpivout2 at acpivideo0: DD03
>> acpivout3 at acpivideo0: DD04
>> bios0: ROM list: 0xc/0xec00! 0xcf000/0x1000
>> cpu0: Enhanced SpeedStep 1597 MHz: speeds: 1600, 1333, 1067, 800 MHz
>> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
>> pchb0 at pci0 dev 0 function 0 "Intel 82945GME Host" rev 0x03
>> vga1 at pci0 dev 2 function 0 "Intel 82945GME Video" rev 0x03
>> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
>> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
>> intagp0 at vga1
>> agp0 at intagp0: aperture at 0xd000, size 0x1000
>> inteldrm0 at vga1: apic 2 int 16 (irq 11)
>> drm0 at inteldrm0
>> "Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
>> azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02:
>> apic 2 int 16 (irq 11)
>> azalia0: codecs: Realtek ALC662
>> audio0 at azalia0
>> ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02
>> pci1 at ppb0 bus 1
>> re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x03: RTL8168D/8111D
>> (0x2800), apic 2 int 16 (irq 11), address 00:1c:c0:df:45:73
>> rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
>

/ partition full!

2009-11-08 Thread Gabriel Read
I just tried to install mysql on a recent install of openbsd and the install
failed because there was no more room left on the / partition.
df -h:
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/wd0a 1005M973M  -18.5M   102%/

I looked around and figured out that it's all in /dev!

# du -h /dev
2.0K/dev/fd
931M/dev

Is this normal?  It's a fresh install of openbsd 4.6 and I let it set up the
partitions automatically.

Any help would be appreciated.

Thanks, Gabe Read



Re: / partition full!

2009-11-08 Thread Gabriel Read
Thank you, that was it.  for some reason i had /dev/rsd0 in there and it was
taking up all the space.  I must have made a mistake when I was trying to
format a drive with dd and instead it created a new file.  Thanks for the
help!

On Sun, Nov 8, 2009 at 9:01 PM, Ted Unangst  wrote:

> On Sun, Nov 8, 2009 at 8:31 PM, Gabriel Read  wrote:
> > I looked around and figured out that it's all in /dev!
> >
> > # du -h /dev
> > 2.0K/dev/fd
> > 931M/dev
> >
> > Is this normal?  It's a fresh install of openbsd 4.6 and I let it set up
> the
> > partitions automatically.
>
> No, that's not normal.  You put a big file in /dev.  You should find
> it and move it someplace more appropriate.