freeze beim reboot

Vega

New Member
zuerstmal: ich hab nicht viel ahnung von bsd, bitte daher um nachsicht. ;)

ich habe mir einen router mit openbsd 3.6 gebastelt - der funktioniert auch soweit gut (bin ich schon drin? das war ja einfach :D). das problem ist folgendes:

einschalten - alles geht
reboot - freeze

er hängt immer fast an der gleichen stelle, nämlich bei
Code:
ne3 at pci0 dev 13 function 0 "Realtek 8029" rev 0x00: irq 11

oder schon
Code:
ne3 at pci0 dev 13 function 0 "Realtek 8029" rev 0x00

bei letzterem kommt dann nix mehr von irq. die dmsg.boot bei funktionierendem start sieht so aus

Code:
OpenBSD 3.6 (GENERIC) #59: Fri Sep 17 12:32:57 MDT 2004
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium/MMX ("GenuineIntel" 586-class) 199 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
cpu0: F00F bug workaround installed
real mem  = 402235392 (392808K)
avail mem = 359776256 (351344K)
using 4278 buffers containing 20213760 bytes (19740K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 07/17/00, BIOS32 rev. 0 @ 0xfd841
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI BIOS has 7 Interrupt Routing table entries
pcibios0: PCI Interrupt Router at 000:01:0 ("Intel 82371SB ISA" rev 0x00)
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x4000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82439HX" rev 0x03
pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x01
pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <Maxtor 84320D4>
wd0: 16-sector PIO, LBA, 4028MB, 8249472 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <SONY, CD-ROM CDU611-F, 2.0a> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 1 function 2 "Intel 82371SB USB" rev 0x01: irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
vga1 at pci0 dev 5 function 0 "Matrox MGA 1064SG 220MHz" rev 0x03
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
fxp0 at pci0 dev 6 function 0 "Intel 82557" rev 0x02: irq 9, address 00:60:94:bd:82:f8
icsphy0 at fxp0 phy 1: ICS1890 10/100 media interface, rev. 3
ukphy0 at fxp0 phy 2: Generic IEEE 802.3u media interface
ukphy0: OUI 0x3e2080, model 0x0009, rev. 3
ne3 at pci0 dev 13 function 0 "Realtek 8029" rev 0x00: irq 11
ne3: address 00:00:e8:df:f5:e3
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>
sysbeep0 at pcppi0
lpt2 at isa0 port 0x3bc/4: polled
lm0 at isa0 port 0x290/8: LM78J
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
isapnp0 at isa0 port 0x279: read port 0x203
wss1 at isapnp0 "CS4236  Audio, CSC0000, , WSS/SB" port 0x534/4,0x388/4,0x220/16 irq 5 drq 1,0: CS4236/CS4236B (vers 0)
audio0 at wss1
joy0 at isapnp0 "CS4236  Audio, CSC000F, , Disabled"
"CS4236  Audio, CSC0010, , CTRL" at isapnp0 port 0x120/8 not configured
biomask f5c5 netmask ffc5 ttymask ffc7
pctr: 586-class performance counters and user-level cycle counter enabled
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

mit google hab ich jemanden mit ähnlichem problem gefunden, dort wurde zu boot -c geraten und mit den irqs rumzuspielen (hier). ich habe entsprechende ukc/config doku gelesen und auch etwas rumgespielt (wobei ich nicht so genau wusste was ich da jetzt alles umstellen soll) - hat aber nix gebracht. des weiteren frage ich mich, wie es sein kann, dass es beim booten 1a funzt, beim reboot jedoch nicht - wieso sollte ich da also was umstellen? bin für jeden hinweis dankbar, auch wenn man den router ja eigentlich so gut wie nie rebootet hätt ich schon gern die möglichkeit offen. ;)
 
Vega schrieb:
zuerstmal: ich hab nicht viel ahnung von bsd, bitte daher um nachsicht. ;)

ich habe mir einen router mit openbsd 3.6 gebastelt - der funktioniert auch soweit gut (bin ich schon drin? das war ja einfach :D). das problem ist folgendes:

einschalten - alles geht
reboot - freeze

er hängt immer fast an der gleichen stelle, nämlich bei
Code:
ne3 at pci0 dev 13 function 0 "Realtek 8029" rev 0x00: irq 11

oder schon
Code:
ne3 at pci0 dev 13 function 0 "Realtek 8029" rev 0x00

bei letzterem kommt dann nix mehr von irq. die dmsg.boot bei funktionierendem start sieht so aus

Code:
OpenBSD 3.6 (GENERIC) #59: Fri Sep 17 12:32:57 MDT 2004
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium/MMX ("GenuineIntel" 586-class) 199 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
cpu0: F00F bug workaround installed
real mem  = 402235392 (392808K)
avail mem = 359776256 (351344K)
using 4278 buffers containing 20213760 bytes (19740K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 07/17/00, BIOS32 rev. 0 @ 0xfd841
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI BIOS has 7 Interrupt Routing table entries
pcibios0: PCI Interrupt Router at 000:01:0 ("Intel 82371SB ISA" rev 0x00)
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x4000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82439HX" rev 0x03
pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x01
pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <Maxtor 84320D4>
wd0: 16-sector PIO, LBA, 4028MB, 8249472 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <SONY, CD-ROM CDU611-F, 2.0a> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 1 function 2 "Intel 82371SB USB" rev 0x01: irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
vga1 at pci0 dev 5 function 0 "Matrox MGA 1064SG 220MHz" rev 0x03
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
fxp0 at pci0 dev 6 function 0 "Intel 82557" rev 0x02: irq 9, address 00:60:94:bd:82:f8
icsphy0 at fxp0 phy 1: ICS1890 10/100 media interface, rev. 3
ukphy0 at fxp0 phy 2: Generic IEEE 802.3u media interface
ukphy0: OUI 0x3e2080, model 0x0009, rev. 3
ne3 at pci0 dev 13 function 0 "Realtek 8029" rev 0x00: irq 11
ne3: address 00:00:e8:df:f5:e3
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>
sysbeep0 at pcppi0
lpt2 at isa0 port 0x3bc/4: polled
lm0 at isa0 port 0x290/8: LM78J
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
isapnp0 at isa0 port 0x279: read port 0x203
wss1 at isapnp0 "CS4236  Audio, CSC0000, , WSS/SB" port 0x534/4,0x388/4,0x220/16 irq 5 drq 1,0: CS4236/CS4236B (vers 0)
audio0 at wss1
joy0 at isapnp0 "CS4236  Audio, CSC000F, , Disabled"
"CS4236  Audio, CSC0010, , CTRL" at isapnp0 port 0x120/8 not configured
biomask f5c5 netmask ffc5 ttymask ffc7
pctr: 586-class performance counters and user-level cycle counter enabled
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

mit google hab ich jemanden mit ähnlichem problem gefunden, dort wurde zu boot -c geraten und mit den irqs rumzuspielen (hier). ich habe entsprechende ukc/config doku gelesen und auch etwas rumgespielt (wobei ich nicht so genau wusste was ich da jetzt alles umstellen soll) - hat aber nix gebracht. des weiteren frage ich mich, wie es sein kann, dass es beim booten 1a funzt, beim reboot jedoch nicht - wieso sollte ich da also was umstellen? bin für jeden hinweis dankbar, auch wenn man den router ja eigentlich so gut wie nie rebootet hätt ich schon gern die möglichkeit offen. ;)

Ich würde mal die ISA Soundkarte rausnehmen. Ich hatte mal Probleme in Verbindung mit einer ähnlichen Karte.
Wenn Du USB nicht unbedingt brauchst würde ich dies auch deaktivieren.
Du kannst auch versuchen die IRQ's im Bios zu vergeben.
 
obsduser schrieb:
Ich würde mal die ISA Soundkarte rausnehmen. Ich hatte mal Probleme in Verbindung mit einer ähnlichen Karte.
Wenn Du USB nicht unbedingt brauchst würde ich dies auch deaktivieren.
Du kannst auch versuchen die IRQ's im Bios zu vergeben.

Evtl. hilft es auch, die Flags von pcibios(8) auf 0x4 zu setzen. OpenBSD ist bei der Vergabe von Interrupts manchmal schlauer als das BIOS.

Entweder mit boot -c booten, oder, wenn das System halbwegs sauber hochgekomme ist, mit config(8) den Kernel modifizieren. Im ukc-Prompt dann folgendes eingeben:

Code:
ukc> find pcibios
241 pcibios0 at bios0 flags 0x0
ukc> change 241
241 pcibios0 at bios0 flags 0x0
change [n] y
flags [0] ? 4
241 pcibios0 changed
241 pcibios0 at bios0 flags 0x4
ukc> quit

Wenn das per boot -c angetreten wurde, und der Rechner damit sauber hochfaehrt, sollten die Aenderungen anschliessend mit config -e -f -u /bsd im Kernelfile nachgezogen und gespeichert werden.

Ciao,
Kili
 
vielen dank für die tips, hat leider alles nix genützt (irq im bios is allerdings nich - son oller ibm pc ;)).

durch zufall habe ich festgestellt, dass das system bootet, wenn das dslmodem nicht angeschlossen ist (ne3). o.O

ich habe nun in /etc/rc.shutdown die zeile "/sbin/ifconfig ne3 down" eingefügt, damit gehts auch. (hurra!) meint ihr das passt so oder sollte ich aus irgendwelchen gründen (zuerst) ppp killen?
 
Zurück
Oben