[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can't get new install to boot?
Finally figured hot to get the machine on the net from the boot floppy.
And, i tried with much smaller partitions. But, still get the same problems.
I'm baffled dmesg and disklabel attached below.
This machine worked as a signle partition + swap partition (total 80G)
under 2.8.
I'm baffled.
Horacio writes:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> On Mon, Dec 31, 2001 at 10:19:19PM -0800, Mike Darweesh wrote:
> > Kjell Wooding writes:
> > > > I repartitioned:
> > > > a: 8G
> > > > swap: 256M
> > > > d <rest>
> > >
> > > I would make "a" smaller, to ensure it fits below 8g (or
> > > whatever your bios may limit you to) / doesn't have to be
> > > very big, if you also have partitions for /usr, /var,
> > > /tmp, and /home (on the order of 50M)
> >
> > OK, noted. I don't know my BIOS's official limit. But, it
> > was working fine wehn I had one 80G partition. Maybe I got
> > lucky...
>
> I usually have `a_ 50-70MB for `/_. Then, the rest (/usr,
> /usr/local, /home, /var, /tmp, ...) as needed depending on
> what the machine_s use if for.
OK, I tried this:
Treating sectors 63-160086528 as the OpenBSD portion of the disk.
You can use the 'b' command to change this.
Initial label editor (enter '?' for help at any prompt)
> > device: /dev/rwd0c
type: ESDI
disk: ESDI/IDE disk
label: Maxtor 98196H8
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 160086528
free sectors: 0
rpm: 3600
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 409185 63 4.2BSD 1024 8192 16 # (Cyl. 0*- 405)
b: 262080 409248 swap # (Cyl. 406 - 665)
c: 160086465 63 unused 0 0 # (Cyl. 0*- 158815)
d: 409248 671328 4.2BSD 1024 8192 16 # (Cyl. 666 - 1071)
e: 409248 1080576 4.2BSD 1024 8192 16 # (Cyl. 1072 - 1477)
f: 158596704 1489824 4.2BSD 1024 8192 16 # (Cyl. 1478 - 158815)
>
> > > > What else should I be doing to debug this install
> > > > failure?
> > >
> > >
> > > dmesg, disklabel output, fdisk output
> >
> > Yeah, I was thinking of posting those, but I can't figure
> > out how to get those from the machine to an e-mail message.
> > Since I don't know how to get this machine to boot and be
> > on the net.
>
> Just print the output to a file instead of the screen, e.g.:
> dmesg > /tmp/mydmesg
OpenBSD 3.0 (RAMDISK) #77: Thu Oct 18 14:59:23 MDT 2001
deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/RAMDISK
cpu0: AMD Athlon Model 1 ("AuthenticAMD" 686-class) 549 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SYS,MTRR,PGE,MCA,CMOV,PAT,MMX
real mem = 200847360 (196140K)
avail mem = 182472704 (178196K)
using 2477 buffers containing 10145792 bytes (9908K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(ff) BIOS, date 11/30/99, BIOS32 rev. 0 @ 0xfb580
apm0 at bios0: Power Management spec V1.2
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0xba00
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfdd60/144 (7 entries)
pcibios0: PCI Exclusive IRQs: 3 9 10 11
pcibios0: PCI Interrupt Router at 000:07:0 ("AMD 756 PCI-ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xa000 0xcc000/0x4000! 0xd0000/0x800
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "AMD 751 System Controller" rev 0x25
ppb0 at pci0 dev 1 function 0 "AMD 751 PCI-PCI" rev 0x01
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 "3DFX Interactive Voodoo3" rev 0x01
wsdisplay0 at vga1: console (80x25, vt100 emulation)
"AMD 756 PCI-ISA" rev 0x01 at pci0 dev 7 function 0 not configured
pciide0 at pci0 dev 7 function 1 "AMD 756 IDE" rev 0x03: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <Maxtor 98196H8>
wd0: 16-sector PIO, LBA, 78167MB, 16383 cyl, 16 head, 63 sec, 160086528 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
pciide0:1:0: device timeout waiting to send SCSI packet
sd0 at scsibus0 targ 0 lun 0: <, , > SCSI0 0/direct fixed
wdc_atapi_start: not ready, st = 58
pciide0:1:0: device timeout waiting to send SCSI packet
sd0: mode sense (4) returned nonsense; using fictitious geometry
sd0(atapiscsi0:0:0): Check Condition on opcode 0x25
SENSE KEY: Not Ready
ASC/ASCQ: ASC 0x3a ASCQ 0x00
sd0(atapiscsi0:0:0): could not get size
sd0: 0MB, 0 cyl, 64 head, 32 sec, 512 bytes/sec, 0 sec total
sd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
"AMD 756 Power Mgmt" rev 0x03 at pci0 dev 7 function 3 not configured
"AMD 756 USB Host" rev 0x06 at pci0 dev 7 function 4 not configured
ahc1 at pci0 dev 8 function 0 "Adaptec AHA-2940U2 U2" rev 0x01: irq 11
ahc1: Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus1 at ahc1: 16 targets
ahc1: target 0 using 16bit transfers
ahc1: target 0 synchronous at 40.0MHz, offset = 0x1f
sd1 at scsibus1 targ 0 lun 0: <IBM, DNES-309170W, SA30> SCSI3 0/direct fixed
sd1: 8748MB, 11474 cyl, 5 head, 312 sec, 512 bytes/sec, 17916240 sec total
ahc1: target 11 using 16bit transfers
ahc1: target 11 synchronous at 40.0MHz, offset = 0x20
st0 at scsibus1 targ 11 lun 0: <ECRIX, VXA-1, 2848> SCSI2 1/sequential removable
st0: drive empty
xl0 at pci0 dev 9 function 0 "3Com 3c905C 100Base-TX" rev 0x74: irq 10 address 00:01:02:29:e3:f8
exphy0 at xl0 phy 24: Broadcom 3C905C internal PHY, rev. 6
"Aureal Vortex Advantage" rev 0x02 at pci0 dev 10 function 0 not configured
isa0 at mainbus0
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
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: 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
biomask c840 netmask cc40 ttymask cc42
rd0: fixed, 3560 blocks
rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02
> Other than the kernel_s message, best info will be the one
> you obtain with the ps and trace commands from the debugger_s
> promt:
> ddb> ps
> ddb> trace
>
> See _man 4 ddb_. The drawback is that you_ll have to get a
> pen and hand copy that info, then copy it back into a message
> (unless you can use a second machine and save time and
> efforts).
I haven't done anything with ddb. Wouldn't know what I'm doing.
Any more suggestions?
Thanks,
Mike