Tried to use fdisk to repartition but of course Fdisk multiuser in FreeBSD has been crippled for years & needs sysctl kern.geom.debugflags=16, so do it by booting from cdrom.
Allocate 10 Gig , Type=7 show as 7 in Subtype column, not Type Column !
Boot MS-XP CD 1=Expert -> Local -> Check -> Disk
Shows 131071 Meg. Local -> Partition -> From Image Scroll to 00077000.GHO It shows Part=1 Type=Primary ID=0c Description=Fat32 Label=Diskload Size=28615 Data Size=1636
Select local destination drive Drive=1 Size=131Mb Select
destination partition Part=1 Type=Primary ID=a5 # = 165 = FreeBSD Description=Unknown Label= Size=238472 Data Size=238472
............ Local Disk From Image
Scroll to *.GHO OK 10000
Couldnt figure how to get it to accept just 10G, not whole disc
Boot BSD Start to install a 10G
Abort after writing Boot
XP CD Select destination partition
now shows Part=1 Size=9993, ID=a5 Part=New Size=121075
Scroll up to part=1,
Scroll to Yes
... It reports clone completed succesfully but it shows:
target partition type:a5 unknown 9993Mb It reboots itself, XP registrations comes up, goes through OK, then it hangs on F1 beeping intermittently
Booted FreeBSD CD, used fdisk 'T' to change type to 6 then back to 12, it now shows ptype=4 fat 32bit.LBA) SubType12,
I tried setting Type=1
that showed as
PType=4 fat (12 bit) SubType=1.
Something is wrong with column formatting in fdisk
Set to type=6 again,
set active boot
Boot BSD CD
PType=7 Desc=FAT SubType=12
Typing 12 S sets it to PType=4 FAT Desc=(32-bit,LBA 12
Something I did got XP to boot, now uses 10G.
Examining Old 120G disc:
The data for partition 1 is: sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA))
---------------- I set F1=10G of XP, F2=15 G BSD, F3=200 G BSD, F4=13 G BSD,
F1 & F2 would boot, F4 repeatedly would install OK but not boot, BIOS would beep, perhaps because parition starts beyond the 128 G BIOS barrier.
I changed to F1=10G of XP, F2=15 G BSD, F3=13G G BSD, F4=200 G BSD, F2,3,4 would then all boot.
XP would not boot
Reinstall of XP
BIOS then saw nothing bootable except F1 XP
XP also fails to boot. Reinstall, still fails, Maybe FAT type wrong
Boot BSD CD
delete all partitions,
create 10G type 6,
fdisk shows it as Ptype=7, subtype=7, desc=fat
I guess that failed & I did an install to entire disk.
XP boots, it reports via "Start" My Computer" it is using 4 x 31.2G
Boot BSD CDROM, which reports it sees:
30401 cyls/255 heads/63 sectors = 488392075 sectors (238472MB)
0 63 62 - 12 unused 0 63 65545137 65545199 ad0s1 7 fat 12 65545200 202884885 268430084 ad0s2 4 extended DOS, LBA 15 268430085 219967083 488397167 - 12 unused 0
Boot BSD CD A geometry of 484521/16/63 for ad0 is incorrect, Using a more likely geometry. Fdisk shows 10G (so why did XP see more?) Delete all partitions Create 10000m type 12 Create 15000m type 165 BSD Install BSD BSD reboots OK, F1 Boots XP which still thinks it has 31.2G Install XP into 10G slice It boots, registrers name, reboots, only shows F1, no F2 & hangs beeping intermittently. Boot BSD CD Shows both slices. Set F1 bootable with S + W Reboot, Beeps & fails Boot BSD CD Install a standard MBR (no boot manager) Reboot XP boots now. My Computer shows 9.74G But reboot now no longer shows any choice of F1 F2 Boot BSD CD The FreeBSD CD is still there in FDISK, but no partition is marked bootable. & no mount point within F2 BSD Mark F2 active, Skip the MBR install Reinstall BSD Reboots into BSD without a choice of XP though fdisknshows both sysinstall install boot manager refused sysctl kern.geom.debugflags=16 Wrote out FreeBSD boot manager reboot now do have a choice of F1 & F2 F1 XP boots OK with 10G F2 BSD 7.1 boots OK Install F3 Success Boot XP to see if still OK, Yes Finally got all 4 booting.
FreeBSD Boot Loader Option 2
Functionality seem to vary between the CDROM bootable version, & the hard disc installed versions:
Quickest way to get a working config is Not (as I did) to use xf86cfg in visual mode, but instead use -textmode, set it for VES options to give a1600x1200, then switch to nvidia driver.
Using a FreeBSD 5.2.1 generic kernel, & generic /usr/ports/x11-servers/XFree86-4-Server I first got something using approx 1/3 width & height of screen, which seemed to be maybe around 1600 x 1200 or so, but crashed machine on exiting. I had to save the output X config file to another NFS'd host \cos it crashed immediately after the config tool exited. Next I built I built a custom kernel from (this master config file, common to all my hosts *so look for host name string "laps")) . & started tweaking the X config file. Then I installed current/ports/x11-servers/XFree86-4-Server X -probe output It was crashing on exit, both with my custom kernel, & generic kernel. Curious thing about the crash: once running X from xinit, if you do a `reboot` to avoid the crash on exit of X, the machine still hangs, so its probably something to do with returning hardware to its initial state. Holding power button down for 5 secs solves it. Rebooting with xdm enabled results in Fatal trap 12: page fault in kernel mode. Even single user reboot wouldn't come up any more. Then I powered up with option 2: No ACPI: Now xdm works, X sessions exit OK, & new X sessions start, & the thing does not crash. Maybe my BIOS is still configure with Micro$oft defaults, need to look at the BIOS tools when I compile em. Meantime need to turn off ACPI in /boot I guess However, fxp now reports timeout during boot & net & mouse response is damn slow. on my F2 partition: after building from /usr/src extracted with 'cvs -R export -r RELENG_5_2 src' producing a system uname -r reports as FreeBSD 5.2.1-p9 , I switched from /usr/ports/x11/XFree86 using code from http://xfree86.org/, to install from current/ports/x11/xorg/ & current/ports/x11-servers/xorg-server/ which uses code from http://x.org/ The keyboard is black plastic, & with an English layout (not American as per BIOS at boot) so cant just be relabelled with an indelible felt pen. keymap="uk.iso" in /etc/rc.conf fixes that. Under X one also need /root/xmodmaprc/english Middle mouse button My USB mouse with roller wheel in middle work OK on middle click, but this Linux guy had problems.
000-0xfcefffff irq 4 at device 8.0 on pci2
fxp0: Ethernet address 00:00:39:55:77:9e
miibus0: <MII bus> on fxp0
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Used to stop working after a while with some /boot/loader.conf options, but OK now, So maybe it was just Toshiba BIOS timeout on idle before.
NOT LOOKED AT YET
Works OK. on FreeBSD-RELEASE-6.1 & 7.1 with "device snd_ich"
The internal ports work fine, I did some timings with this memory stickResults
Permanent label: CELLDISK PRO 256 MB V.M2
Sticky Label, wearing off: E-D900 01 5231 B1 256 MB V.M2 Made in Korea
Between each write & read, to flush any remnant disc file system cache I do
umount /stick.dos ; mount /stick.dos
host=laps host-interface=left-side partition=dos: mode=write:
127795200 bytes / 294 sec : 434677 bytes /sec = 3477416 bits /sec
host=laps host-interface=left-side partition=dos mode=read
127795200 bytes / 250 secs = 511180 bytes /sec = 4089440 bits /sec
host=laps host-interface=left-side partition=bsd: mode=write:
117719040 bytes / 119 secs = 989235 bytes /sec = 7913880 bits /sec
host=laps host-interface=left-side partition=bsd mode=read
117719040 bytes / 112 secs = 1051062 bytes /sec = 8408496 bits /sec
With a Belkin Card bus 32 bit (PCMCIA type slot) "Hi-Speed USB 2.0 Notebook Card" P81161-C
(with gold edge connector so wider bus, FreeBSD-current writing a BSD FS crashes after 67 Meg - card is damn hot, well its a hot laptop !Theoretical USB Top Speeds: From catalog.belkin.com USB 2.0 transfer rate of 480Mbps, 40 times faster than USB 1.1.
( My laptop, or FreeBSD, doesn't seem to always get on with the Belkin USB 2.0 adapter - it runs too hot to hold & BSD sometimes crashes (& my brother's Belkin died shortly after use in my laptop, whereas his Belkin USB had until then run fine in his near identical Toshiba that runs just MS-XP (I suspect BSD is running the card in full power mode, with no standby time or similar) )
A shorter write of 20M: 20520960 bytes / 26 seconds = 789267 bytes /sec = 6314136 bits /sec
SD Memory Cards (eg for cameras)
Doesn't work for me yet with 6.1-RELEASE to 7.2-RELEASE. I had wondered if I'd just not read the right manual, but Warner wrote:
Subject: Re: Call for Testers: FreeBSD webcam driver (and more)Meantime they're read & writable via USB adaptor & pcmcia card adaptor.
From: "M. Warner Losh" <imp @ bsdimp.com>
Date: Sat, 03 Feb 2007 10:40:00 -0700 (MST) (18:40 CET)
Cc: usb @ freebsd.org, rizzo @ icir.org, current @ freebsd.org
SD/MMC support for laptops is on its way...
A mail I jhs wrote 2010.04
I just dismantled the battery pack for my Toshiba satellite laptop,
Damn hard! For good skilled people only: push a mid sized watch makers screwdriver in long side wall, buit not deep, switch to larger driver & rotate 20 degrees, forcing the crack longer. It's not a press/ snap fit. its permanently platic welded, Mine Now held together with sellotape ... well what the hell, its inside.
Would be Hard to insert new batts in that I think: not wires but thin film flexible printed circuit board.
It uses 6 batteries of the same type also in my ACi 8700M Mirage Laptop
Mine had 3 banks of 2 cells in parallel. All banks at 4.12 Volts when fully charged. Li On 1.82 cm Diam, 6.44 cm long inc batt insulation. Power Pack Model PA3211U-1BRS PABAS021 rated at 10.8V 4AH.
No dead cells in my battery pack needing replacement. (well, unless one might be weak, & Voltage held up by other in parallel).
for FreeBSD/Linux: What intrigued me was the battery went non linear within gkrellm, when down to about 50% it was really empty, (no idea what it does on MS-Win) hence I wondered about a dead cell, now I guess its software to look at. red controller, that can tell laptop to play music (while the operating system is Off.
May be the power consumed in standby waiting for IR signal may be eating the battery. In the future if I want to preserve the battery while travelling, I will flip out the battery from the bay till I need it.
That lesson might apply to other laptops with external IR.
PS It's better Not to keep toping up Lithium Ion batteries, ie let your mobile phone with LiOn batts run low before recharging. Cheers, Julian -- Julian H. Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://www.berklix.com Mail plain text, Not HTML quoted-printable Base64
From: Frédéric DUBOUCHET
I personally own a toshiba satellite 5100-503 and I need some lines to make it boot correctly (it won't boot without) note I didn't try the new bios... It's only needed for 5.x not for 4.9 as long as I know...
set hw.pci.enable_io_modes = 0
X is working without too much trouble (except some tweaking around EIDI) also watch out the mouse was USB for me not PS2.
couldn't make neither the sound card nor the SD card reader to work...
Sorry I can't help you any farther I sold the machine a couple of weeks ago...
HOT KEYS Under XP & BSD & X-Windows
Not all who want FreeBSD on their laptop/ notebook have enough time, skill & enthusiasm to do it. If you want to pay a Consultant to install &/or customise your laptop/ notebook to your requirements, or for other Unix work Contact me for a quotation I & certain other European & World wide BSD associates are available. (Only for BSD - not Microsoft).