Problems on brand new Lenevo Thinkpad T420 with OpenBSD 4.9...

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems on brand new Lenevo Thinkpad T420 with OpenBSD 4.9...

Guillaume MULLER-3
Hi all,

First of all, I should warn you that I'm a pro at making
franken-systems, so if you think of some stupid thing that my be the
source of my problems, don't hesistate to throx it at my face ;)
However, this time I'm just trying to install a basic OpenBSD, so I
should not have done any frankensery.

OK. So the problem is the following: I've just started a new job and I
got a brand new Lenovo Thinkpad T420 to work with. Unfortunately, it
is giving me some trouble with OpenBSD 4.9 installation.

1. The more import first: the PC comes with Win7, which biggy-backs
the HD, using 1 MBR primary partition for Win7Recovery, one MBR
primary partition for the running Win7 and 1 MBR primary partition for
LenovoRecovery. Unfortunately, I can't remove all this shit even if
I'm not using it, because my boss is only renting the machines and he
does not want to void the warranty. As a consequence, I created a MBR
DOS Extended partition for the other systems I wanted to install. I
first installed Zenwalk linux on 2 MBR Extended partitions
(system+home and swap). Then, I attempted to install OpenBSD in
another MBR Extended partition. I let OpenBSD split it automatically
into slices, as I have enough space. I finally got the disk
arrangement presented in the fdisk output provided below.
Unfortunately, at the end of the install process, I got a "broken MBR"
error message (Note that the installer still congratulated me of
having a new functional OpenBSD :) ). When I try to run installboot
myself, I get the same error (see full log below). I read the sources
of installboot, and the only case when such an error is raised is when
the signature of the partition is different from the expected 0xAA55.
However, as can be seen in my fdisk output, all my partitions have
such a signature, so I don't understand where the problem comes
from... I've also swapped a few partitions according to what I read on
some forum posts, but it changed nothing (only inside the MBR DOS
Extended partitions).

I also did:
1. fdisk -u , then installboot => same error
2. fdisk -i , then reboot on OpenBSD liveCD and recreated by hand the
partitions (exact same ones, appart for the 3rd windows one that had a
boundary outside the disk possibilities - Thanks Mr Lenovo for selling
such installations...), then installboot => same error

Any idea anyone?

(FYI, for the moment I have managed to install a minimal / on a USB
stick and modify it to mount all the remaining slices from my sd0, and
it works smoothly, but I don't like this solution for the long term.)

2. Less importantly, when the bsd.rd (4.9) boots-up, it recognizes the
"Lenovo F5521gw" ethernet card as a umass device, as shown in this
extract of the dmesg: "umass0 at uhub3 port 4 configuration 3
interface 0 "Lenovo F5521gw" rev 2.00/0.00 addr 3" (full dmesg at the
end of this email) and therefore take a (very) long time to boot. I
found how to circumvent the delay by disabling the umass and/or uhci
device in the UKC. The delay does not occur with the bsd.MP that is
finally installed. However, the device does not work.
I don't really care about the ethernet for the moment, since I can use Wifi.

3. the computer (or is it the computer + its base?) apparently comes
with 2 graphics chipsets: an NVIDIA (NVS4200M) and an Intel HD (for
which I can provide more details later, as recent linuxes make it work
flawlessly)... Xorg only is able to use vesa driver with very low
possible resolutions (1024x768 max).

4. the sound card (Intel HDA recognized as azalia0 seems to be
recognized, but does only outputs "clics")

---------- dmesg
OpenBSD 4.9 (RAMDISK_CD) #858: Wed Mar  2 07:04:48 MST 2011
    [hidden email]:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
real mem = 3741970432 (3568MB)
avail mem = 3630673920 (3462MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdf623000 (66 entries)
bios0: vendor LENOVO version "83ET46WW (1.16 )" date 03/07/2011
bios0: LENOVO 417882G
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF!
TCPA SSDT SSDT UEFI UEFI UEFI
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz, 2292.86 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,XSAVE,AVX,NXE,LONG
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 99MHz
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpi0: WARNING EC not initialized
acpi0: WARNING EC not initialized
acpi0: WARNING EC not initialized
acpi0: WARNING EC not initialized
acpi0: WARNING EC not initialized
acpi0: WARNING EC not initialized
acpi0: WARNING EC not initialized
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus 5 (EXP4)
acpiprt5 at acpi0: bus 13 (EXP5)
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x0104 rev 0x09
ppb0 at pci0 dev 1 function 0 vendor "Intel", unknown product 0x0101
rev 0x09: apic 2 int 16 (irq 11)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 vendor "NVIDIA", unknown product 0x1057 rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
vendor "NVIDIA", unknown product 0x0e08 (class multimedia subclass
hdaudio, rev 0xa1) at pci1 dev 0 function 1 not configured
vendor "Intel", unknown product 0x1c3a (class communications subclass
miscellaneous, rev 0x04) at pci0 dev 22 function 0 not configured
vendor "Intel", unknown product 0x1502 (class network subclass
ethernet, rev 0x04) at pci0 dev 25 function 0 not configured
ehci0 at pci0 dev 26 function 0 vendor "Intel", unknown product 0x1c2d
rev 0x04: apic 2 int 16 (irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
vendor "Intel", unknown product 0x1c20 (class multimedia subclass
hdaudio, rev 0x04) at pci0 dev 27 function 0 not configured
ppb1 at pci0 dev 28 function 0 vendor "Intel", unknown product 0x1c10
rev 0xb4: apic 2 int 16 (irq 11)
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 1 vendor "Intel", unknown product 0x1c12
rev 0xb4: apic 2 int 17 (irq 7)
pci3 at ppb2 bus 3
iwn0 at pci3 dev 0 function 0 "Intel WiFi Link 1000" rev 0x00: apic 2
int 17 (irq 7), MIMO 1T2R, BGS, address 8c:a9:82:40:b9:ce
ppb3 at pci0 dev 28 function 3 vendor "Intel", unknown product 0x1c16
rev 0xb4: apic 2 int 19 (irq 11)
pci4 at ppb3 bus 5
ppb4 at pci0 dev 28 function 4 vendor "Intel", unknown product 0x1c18
rev 0xb4: apic 2 int 16 (irq 11)
pci5 at ppb4 bus 13
vendor "Ricoh", unknown product 0xe823 (class system subclass
miscellaneous, rev 0x05) at pci5 dev 0 function 0 not configured
ehci1 at pci0 dev 29 function 0 vendor "Intel", unknown product 0x1c26
rev 0x04: apic 2 int 23 (irq 10)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
vendor "Intel", unknown product 0x1c4f (class bridge subclass ISA, rev
0x04) at pci0 dev 31 function 0 not configured
ahci0 at pci0 dev 31 function 2 vendor "Intel", unknown product 0x1c03
rev 0x04: apic 2 int 19 (irq 11), AHCI 1.3
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, TOSHIBA MK5061GS, MC00> SCSI3 0/direct fixed
sd0: 476940MB, 512 bytes/sec, 976773168 sec total
cd0 at scsibus0 targ 1 lun 0: <Optiarc, DVD RW AD-7710H, 1.S0> ATAPI
5/cdrom removable
vendor "Intel", unknown product 0x1c22 (class serial bus subclass
SMBus, rev 0x04) at pci0 dev 31 function 3 not configured
isa0 at mainbus0
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
rd0: fixed, 4480 blocks
uhub2 at uhub0 port 1 "vendor 0x8087 product 0x0024" rev 2.00/0.00 addr 2
"UPEK Biometric Coprocessor" rev 1.01/0.02 addr 3 at uhub2 port 3 not configured
"Chicony Electronics Co., Ltd. Integrated Camera" rev 2.00/7.51 addr 4
at uhub2 port 6 not configured
uhub3 at uhub1 port 1 "vendor 0x8087 product 0x0024" rev 2.00/0.00 addr 2
umass0 at uhub3 port 4 configuration 3 interface 0 "Lenovo F5521gw"
rev 2.00/0.00 addr 3
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
softraid0 at root
root on rd0a swap on rd0b dump on rd0b


---------- fdisk sd0
Disk: sd0 geometry: 60801/255/63 [976773168 Sectors]
Offset: 0 Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: 07      0  32  33 -    153  27   2 [        2048:     2457600 ] NTFS
*1: 07    153  27   3 -  16421 122  21 [     2459648:   261351424 ] NTFS
 2: 07  59526  93  24 -  60801  47  46 [   956291072:    20480000 ] NTFS
 3: 05  16421 122  22 -  59526  93  23 [   263811072:   692480000 ] Extended DOS
Offset: 263811072 Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: 83  16421 123  22 -  34657 122  21 [   263811135:   292961277 ] Linux files*
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 3: 05  34657 122  22 -  34906 122  21 [   556772412:     4000185 ] Extended DOS
Offset: 556772412 Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: 82  34657 123  22 -  34906 122  21 [   556772475:     4000122 ] Linux swap
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 3: 05  34906 122  22 -  59526  93  23 [   560772597:   395518475 ] Extended DOS
Offset: 560772597 Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
*3: A6  34906 123  22 -  59526  93  23 [   560772660:   395518412 ] OpenBSD


---------- installboot -nv /mnt/boot usr/mdec/biosboot sd0 # sd0 being
mounted in /mnt
boot: /boot proto: usr/mdec/biosboot device: /dev/rsd0c
/boot is 3 blocks x 16384 bytes
fs block shift 2; part offset 560772660; inode block 112, offset 15528
extended partition 3: type 0x05 offset 263811072
extended partition 3: type 0x05 offset 292961340
extended partition 3: type 0x05 offset 296961525
installboot: broken MBR

Reply | Threaded
Open this post in threaded view
|

Re: Problems on brand new Lenevo Thinkpad T420 with OpenBSD 4.9...

Adam Patterson-3
On Thu, May 12, 2011 at 4:11 PM, G. Muller <[hidden email]> wrote:
> Hi all,
> ...
> Then, I attempted to install OpenBSD in another MBR Extended partition.


"Preferably use one of the four primary MBR partitions for booting
OpenBSD (i.e., extended partitions may not work)."

http://www.openbsd.org/faq/faq4.html#Multibooting