AMD GEODE LX-800 just works with kernel from install42.iso and kernelpanics with powersave on.

2007-12-05 Thread Taisto Qvist XX
Hi Folks,

I am running, or at least trying to run, OpenBSD 4.2 on a minipc using
AMD's GEODE LX-800.
(Its a
http://www.sdlsystem.se/shop/product_info.php?cPath=23_56products_id=65
6 )

At first I had almost given up, since trying to boot the system was
impossible
since I always got a kernel-panic just a few seconds into the booting.
Similar problems with both FreeBSD and NetBSD, whisperbut linux worked
w/o issues./whisper

But after booting with all powersave turned off, everything looked good
though,
and I could finally start to install and configurealmost.

After building a new custom kernel that didnt work properly, re-trying
with
the GENERIC kernel that can be downloaded from the i386
install-directory(didnt work),
rebuilding a new GENERIC kerneln (didnt work), I finally managed to
understand
that the ONLY to kernels I can boot with, is either the bsd.rd ramdisk,
or the
bsd-kernel thats stored in the install32.iso!?!

All the others startup fine, no problem, but the network interfaces(
realtek, rl0-3)
cant be configured! Dmesg looks almost identical for a working and
non-working kernel,
but with all the nonworking one's, i just get

# ifconfig -a
: no such interface.

Not even loopback gets created!

It looks like the working kernel is from 4.2-current, so I am really
just wondering
wether this is my only solution, to start running -current, or if there
is a bug somewhere
that might be fixedif nothing else, it would be nice to be able to
turn on power-save
functions on the box again.

Any thoughts? (attaching the two dmesgs...)

Regards
Taisto Qvist

 dmesg.515.txt  dmesg.375.txt
OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007

[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC

cpu0: Geode(TM) Integrated Processor by AMD PCS (AuthenticAMD 586-class) 499 
MHz

cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX

real mem  = 1047097344 (998MB)

avail mem = 1004806144 (958MB)

mainbus0 at root

bios0 at mainbus0: AT/286+ BIOS, date 06/05/07, BIOS32 rev. 0 @ 0xf0010, SMBIOS 
rev. 2.5 @ 0xf9580 (53 entries)

bios0: vendor American Megatrends Inc. version 080014  date 06/05/2007

bios0: Advanced Micro Devices, Inc. Geode LX Norwich Development Board

pcibios0 at bios0: rev 3.0 @ 0xf/0x1

pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf3ab0/144 (7 entries)

pcibios0: no compatible PCI ICU found: ICU vendor 0x1022 product 0x2090

pcibios0: Warning, unable to fix up PCI interrupt routing

pcibios0: PCI bus #0 is the last bus

bios0: ROM list: 0xc/0x8000

cpu0 at mainbus0

pci0 at mainbus0 bus 0: configuration mode 1 (bios)

pchb0 at pci0 dev 1 function 0 AMD Geode LX rev 0x31

vga1 at pci0 dev 1 function 1 AMD Geode LX Video rev 0x00

wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)

wsdisplay0: screen 1-5 added (80x25, vt100 emulation)

glxsb0 at pci0 dev 1 function 2 AMD Geode LX Crypto rev 0x00: RNG AES

rl0 at pci0 dev 10 function 0 Realtek 8139 rev 0x10: irq 15, address 
00:04:a7:04:da:2f

rlphy0 at rl0 phy 0: RTL internal PHY

rl1 at pci0 dev 11 function 0 Realtek 8139 rev 0x10: irq 5, address 
00:04:a7:04:da:30

rlphy1 at rl1 phy 0: RTL internal PHY

rl2 at pci0 dev 12 function 0 Realtek 8139 rev 0x10: irq 11, address 
00:04:a7:04:da:31

rlphy2 at rl2 phy 0: RTL internal PHY

rl3 at pci0 dev 13 function 0 Realtek 8139 rev 0x10: irq 10, address 
00:04:a7:04:da:32

rlphy3 at rl3 phy 0: RTL internal PHY

pcib0 at pci0 dev 15 function 0 AMD CS5536 ISA rev 0x03

pciide0 at pci0 dev 15 function 2 AMD CS5536 IDE rev 0x01: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility

wd0 at pciide0 channel 0 drive 0: SAMSUNG HM120JC

wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors

wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2

pciide0: channel 1 ignored (disabled)

ohci0 at pci0 dev 15 function 4 AMD CS5536 USB rev 0x02: irq 10, version 1.0, 
legacy support

ehci0 at pci0 dev 15 function 5 AMD CS5536 USB rev 0x02: irq 10

usb0 at ehci0: USB revision 2.0

uhub0 at usb0: AMD EHCI root hub, rev 2.00/1.00, addr 1

isa0 at pcib0

isadma0 at isa0

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: PC speaker

spkr0 at pcppi0

lpt0 at isa0 port 0x378/4 irq 7

npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16

pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo

usb1 at ohci0: USB revision 1.0

uhub1 at usb1: AMD OHCI root hub, rev 1.00/1.00, addr 1

biomask 774d netmask ff6d ttymask ffef

pctr: user-level cycle counter enabled

mtrr: K6-family MTRR support (2 registers)

umass0 at uhub0 port 2 configuration 1 interface 0

umass0: LaCie LaCie DVDRW USB, rev 2.00/0.00, addr 2

umass0: using ATAPI over Bulk-Only

scsibus0 at umass0: 2 targets

cd0 at scsibus0 targ 1 lun 0: _NEC, DVD+-RW ND-6650A, 1.23 SCSI0 5/cdrom 
removable

dkcsum: wd0 matches BIOS drive 0x80

root on wd0a swap on wd0b 

Re: AMD GEODE LX-800 just works with kernel from install42.iso and kernelpanics with powersave on.

2007-12-05 Thread Taisto Qvist XX
And naturally I attached the wrong files, apart from the mistyping of
install42.iso.

Here's the dmesg from the working kernel.

TQ


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 On Behalf Of Taisto Qvist XX
 Sent: den 5 december 2007 13:14
 To: misc@openbsd.org
 Subject: AMD GEODE LX-800 just works with kernel from
 install42.iso and kernelpanics with powersave on.

 Hi Folks,

 I am running, or at least trying to run, OpenBSD 4.2 on a
 minipc using AMD's GEODE LX-800.
 (Its a
 http://www.sdlsystem.se/shop/product_info.php?cPath=23_56prod
 ucts_id=65
 6 )

 At first I had almost given up, since trying to boot the
 system was impossible since I always got a kernel-panic just
 a few seconds into the booting.
 Similar problems with both FreeBSD and NetBSD, whisperbut
 linux worked w/o issues./whisper

 But after booting with all powersave turned off, everything
 looked good though, and I could finally start to install and
 configurealmost.

 After building a new custom kernel that didnt work properly,
 re-trying with the GENERIC kernel that can be downloaded from
 the i386 install-directory(didnt work), rebuilding a new
 GENERIC kerneln (didnt work), I finally managed to understand
 that the ONLY to kernels I can boot with, is either the
 bsd.rd ramdisk, or the bsd-kernel thats stored in the install32.iso!?!

 All the others startup fine, no problem, but the network
 interfaces( realtek, rl0-3) cant be configured! Dmesg looks
 almost identical for a working and non-working kernel, but
 with all the nonworking one's, i just get

 # ifconfig -a
 : no such interface.

 Not even loopback gets created!

 It looks like the working kernel is from 4.2-current, so I am
 really just wondering wether this is my only solution, to
 start running -current, or if there is a bug somewhere that
 might be fixedif nothing else, it would be nice to be
 able to turn on power-save functions on the box again.

 Any thoughts? (attaching the two dmesgs...)

 Regards
 Taisto Qvist

  dmesg.515.txt  dmesg.375.txt
 OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Geode(TM) Integrated Processor by AMD PCS
 (AuthenticAMD 586-class) 499 MHz
 cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX
 real mem  = 1047097344 (998MB)
 avail mem = 1004806144 (958MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 06/05/07, BIOS32 rev. 0
 @ 0xf0010, SMBIOS rev. 2.5 @ 0xf9580 (53 entries)
 bios0: vendor American Megatrends Inc. version 080014  date
 06/05/2007
 bios0: Advanced Micro Devices, Inc. Geode LX Norwich
 Development Board pcibios0 at bios0: rev 3.0 @ 0xf/0x1
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf3ab0/144 (7 entries)
 pcibios0: no compatible PCI ICU found: ICU vendor 0x1022
 product 0x2090
 pcibios0: Warning, unable to fix up PCI interrupt routing
 pcibios0: PCI bus #0 is the last bus
 bios0: ROM list: 0xc/0x8000
 cpu0 at mainbus0
 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at
 pci0 dev 1 function 0 AMD Geode LX rev 0x31
 vga1 at pci0 dev 1 function 1 AMD Geode LX Video rev 0x00
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation) glxsb0
 at pci0 dev 1 function 2 AMD Geode LX Crypto rev 0x00: RNG
 AES rl0 at pci0 dev 10 function 0 Realtek 8139 rev 0x10:
 irq 15, address 00:04:a7:04:da:2f rlphy0 at rl0 phy 0: RTL
 internal PHY
 rl1 at pci0 dev 11 function 0 Realtek 8139 rev 0x10: irq 5,
 address 00:04:a7:04:da:30
 rlphy1 at rl1 phy 0: RTL internal PHY
 rl2 at pci0 dev 12 function 0 Realtek 8139 rev 0x10: irq
 11, address 00:04:a7:04:da:31
 rlphy2 at rl2 phy 0: RTL internal PHY
 rl3 at pci0 dev 13 function 0 Realtek 8139 rev 0x10: irq
 10, address 00:04:a7:04:da:32
 rlphy3 at rl3 phy 0: RTL internal PHY
 pcib0 at pci0 dev 15 function 0 AMD CS5536 ISA rev 0x03
 pciide0 at pci0 dev 15 function 2 AMD CS5536 IDE rev 0x01:
 DMA, channel 0 wired to compatibility, channel 1 wired to
 compatibility wd0 at pciide0 channel 0 drive 0: SAMSUNG HM120JC
 wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors
 wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
 pciide0: channel 1 ignored (disabled)
 ohci0 at pci0 dev 15 function 4 AMD CS5536 USB rev 0x02:
 irq 10, version 1.0, legacy support ehci0 at pci0 dev 15
 function 5 AMD CS5536 USB rev 0x02: irq 10 usb0 at ehci0:
 USB revision 2.0 uhub0 at usb0: AMD EHCI root hub, rev
 2.00/1.00, addr 1 isa0 at pcib0 isadma0 at isa0 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: PC speaker spkr0 at
 pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port
 0xf0/16: reported by CPUID; using exception 16 pccom0 at isa0
 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
 usb1 at ohci0: USB revision 1.0
 uhub1 at usb1: AMD OHCI root hub, rev 1.00/1.00, addr 1
 

Re: AMD GEODE LX-800 just works with kernel from install42.iso and kernelpanics with powersave on.

2007-12-05 Thread Claudio Jeker
On Wed, Dec 05, 2007 at 01:13:31PM +0100, Taisto Qvist XX wrote:
 Hi Folks,
 
 I am running, or at least trying to run, OpenBSD 4.2 on a minipc using
 AMD's GEODE LX-800.
 (Its a
 http://www.sdlsystem.se/shop/product_info.php?cPath=23_56products_id=65
 6 )
 
 At first I had almost given up, since trying to boot the system was
 impossible
 since I always got a kernel-panic just a few seconds into the booting.
 Similar problems with both FreeBSD and NetBSD, whisperbut linux worked
 w/o issues./whisper
 
 But after booting with all powersave turned off, everything looked good
 though,
 and I could finally start to install and configurealmost.
 
 After building a new custom kernel that didnt work properly, re-trying
 with
 the GENERIC kernel that can be downloaded from the i386
 install-directory(didnt work),
 rebuilding a new GENERIC kerneln (didnt work), I finally managed to
 understand
 that the ONLY to kernels I can boot with, is either the bsd.rd ramdisk,
 or the
 bsd-kernel thats stored in the install32.iso!?!
 
 All the others startup fine, no problem, but the network interfaces(
 realtek, rl0-3)
 cant be configured! Dmesg looks almost identical for a working and
 non-working kernel,
 but with all the nonworking one's, i just get
 
 # ifconfig -a
 : no such interface.
 
 Not even loopback gets created!
 

Your userland is not in sync with the kernel. Make sure your userland and
kernel are in sync. There was a networking flag day that causes these
issues.

-- 
:wq Claudio