Re: 8.0 upgrade geometry does not match label
Am 29.04.2010 16:29, schrieb Marcel Moolenaar: On Apr 29, 2010, at 6:07 AM, Reinhard Haller wrote: Hi, as far as I know my disk is not operating in dangerously dedicated mode. Despite this I'm unable to upgrade to freebsd 8.0. Please explain how or why you can't upgrade. The information you gave does not point towards any problems. All looks good. Also, the subject line mentions geometry does not match label, but you did not mention anything it in your email about it. Again, it by itself does not indicate a problem. Thanks, the kernel reboots and one of the last lines contains the well known geometry string and a bufwrite error -- and no entry in any logfile. Currently I'm preparing a kernel with debugging enabled to track down the issue. I don't believe the disk geometry problems are responsible for the reboot, but having solved this issue should help. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
8.0 upgrade geometry does not match label
Hi, as far as I know my disk is not operating in dangerously dedicated mode. Despite this I'm unable to upgrade to freebsd 8.0. Here is what the gpart, mount, bsdlabel say. gpart show = 63 488397105 ad4 MBR (233G) 63 4883920021 freebsd [active] (233G) 488392065 5103 - free - (2.5M) =0 488392002 ad4s1 BSD (233G) 02097152 1 freebsd-ufs (1.0G) 2097152 16777216 2 freebsd-swap (8.0G) 18874368 16777216 4 freebsd-ufs (8.0G) 356515844194304 5 freebsd-ufs (2.0G) 39845888 83886080 6 freebsd-ufs (40G) 123731968 188743680 7 freebsd-ufs (90G) 312475648 175916354 - free - (84G) mount /dev/ad4s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad4s1g on /jails (ufs, local, soft-updates) /dev/ad4s1e on /tmp (ufs, local, soft-updates) /dev/ad4s1f on /usr (ufs, local, soft-updates) /dev/ad4s1d on /var (ufs, local, soft-updates) bsdlabel ad4 bsdlabel: /dev/ad4: no valid label found bsdlabel ad4s1 # /dev/ad4s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 2097152 634.2BSD0 0 0 b: 16777216 2097215 swap c: 488392002 63unused0 0 # raw part, don't edit d: 16777216 188744314.2BSD0 0 0 e: 4194304 356516474.2BSD0 0 0 f: 83886080 398459514.2BSD0 0 0 g: 188743680 1237320314.2BSD0 0 0 partition c: partition extends past end of unit bsdlabel: partition c doesn't start at 0! bsdlabel: An incorrect partition c may cause problems for standard system utilities I remember problems with the initial sysinstall because of geometry problems -- the only way to get FreeBSD installed was to dedicate all of the available space to FreeBSD. I've found a suggested solution to repair the mbr/label problem with dd if=/dev/zero of=/dev/ad4 count=1 oseek=1 and a warning not trying it on boot disks. Is there a better / safer solution around? Thanks Reinhard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 8.0 upgrade geometry does not match label
On Apr 29, 2010, at 6:07 AM, Reinhard Haller wrote: Hi, as far as I know my disk is not operating in dangerously dedicated mode. Despite this I'm unable to upgrade to freebsd 8.0. Please explain how or why you can't upgrade. The information you gave does not point towards any problems. All looks good. Also, the subject line mentions geometry does not match label, but you did not mention anything it in your email about it. Again, it by itself does not indicate a problem. Thanks, -- Marcel Moolenaar xcl...@mac.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 8.0 upgrade geometry does not match label
Reinhard Haller wrote: Hi, as far as I know my disk is not operating in dangerously dedicated mode. Despite this I'm unable to upgrade to freebsd 8.0. Here is what the gpart, mount, bsdlabel say. [snip] I remember problems with the initial sysinstall because of geometry problems -- the only way to get FreeBSD installed was to dedicate all of the available space to FreeBSD. The geometry warnings are mostly a cosmetic error and generally can be ignored. Especially the one in sysinstall. I've found a suggested solution to repair the mbr/label problem with dd if=/dev/zero of=/dev/ad4 count=1 oseek=1 and a warning not trying it on boot disks. Is there a better / safer solution around? If there is I do not know of it. This is what I did when I had this problem: http://www.mail-archive.com/freebsd-questions@freebsd.org/msg227610.html -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
geometry does not match label
I'm just setting up a software raid mirror using geom; everything seems to be working fine and the mirror is slowly synchronizing. Because of cabling constraints this is a mirror rather than a duplex (I haven't used mirror before) so the gm0 components are ad0/ad1 rather than ad0/ad2. In dmesg I see .. GEOM_MIRROR: Device mirror/gm0 launched (1/2). GEOM_MIRROR: Device gm0: rebuilding provider ad1. GEOM: mirror/gm0s1: geometry does not match label (16h,63s != 255h,63s). .. Trying to mount root from ufs:/dev/mirror/gm0s1a .. anyone know if I should worry about the geometry does not match label message? -- Robin Becker ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: geometry does not match label
Robin Becker wrote: I'm just setting up a software raid mirror using geom; everything seems to be working fine and the mirror is slowly synchronizing. Because of cabling constraints this is a mirror rather than a duplex (I haven't used mirror before) so the gm0 components are ad0/ad1 rather than ad0/ad2. In dmesg I see .. GEOM_MIRROR: Device mirror/gm0 launched (1/2). GEOM_MIRROR: Device gm0: rebuilding provider ad1. GEOM: mirror/gm0s1: geometry does not match label (16h,63s != 255h,63s). .. Trying to mount root from ufs:/dev/mirror/gm0s1a .. anyone know if I should worry about the geometry does not match label message? From what I understand, no. I've seen this on all my machines at boot up since the recent round of updating. Since the consensus seems to be that it is harmless I've ignored it and have experienced no problem of any kind to date. This is still a YMMV thing, but I'd bet you can ignore it too. You should know that the ad0/ad1 will result in a fairly drastic performance hit. This is a master/slave arrangement on the same channel. You really really should get another cable and do the ad0/ad2 arrangement. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: geometry does not match label
Michael Powell wrote: [snip] You should know that the ad0/ad1 will result in a fairly drastic performance hit. This is a master/slave arrangement on the same channel. You really really should get another cable and do the ad0/ad2 arrangement. And, of course, as soon as I hit the Send button it occurred to me this really only applies to a PATA drive set and is meaningless if both drives are SATA. Disregard if using SATA! :-) -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
geometry does not match label (255h,63s != 16h,63s)
What are the meaning of the messages below when I boot 8.0-RELEASE-p1 and how can I prevent that? GEOM: ad6s1: geometry does not match label (255h,63s != 16h,63s). ... GEOM: ad6s2: geometry does not match label (255h,63s != 16h,63s). GEOM: ufsid/478e98a7fe5111d0: geometry does not match label (255h,63s != 16h,63s). GEOM: ufsid/479a0892240b3994: geometry does not match label (255h,63s != 16h,63s). # fdisk -s /dev/ad4: 484406 cyl 16 hd 63 sec PartStartSize Type Flags 1: 63 488281185 0xa5 0x80 # disklabel ad4s1 # /dev/ad4s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 419430404.2BSD 2048 16384 28552 b: 8388608 4194304 swap c: 4882811850unused0 0 # raw part, don't edit d: 41943040 125829124.2BSD 2048 16384 28552 e: 41943040 545259524.2BSD0 0 0 f: 67108864 964689924.2BSD 2048 16384 28552 g: 324703329 1635778564.2BSD0 0 0 -reg -- View this message in context: http://old.nabble.com/geometry-does-not-match-label-%28255h%2C63s-%21%3D-16h%2C63s%29-tp26710655p26710655.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: geometry does not match label (255h,63s != 16h,63s)
I see this too. I even went so far as to edit the labels and start again and then I got the opposite: geometry does not match label (16h,63s != 255h,63s) ..so I gave up. Google didnt turn anything up but I dont see this on FreeBSD 7.x at all. Only 8 So far, it has not been any issue from what I can tell and only apparent (for me) when gmirror is setup. -- J.D. Bronson Information Technology ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: geometry does not match label (255h,63s != 16h,63s)
Add my name to the list--we get tons of these messages since upgrading to 8.0 -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Bernt Hansson Sent: Wednesday, December 09, 2009 10:24 AM To: J.D. Bronson Cc: freebsd-questions@freebsd.org; regis505 Subject: Re: geometry does not match label (255h,63s != 16h,63s) J.D. Bronson: I see this too. I even went so far as to edit the labels and start again and then I got the opposite: I see that too on 8.0 geometry does not match label (16h,63s != 255h,63s) ..so I gave up. Google didnt turn anything up but I dont see this on FreeBSD 7.x at all. Only 8 Same here. So far, it has not been any issue from what I can tell and only apparent (for me) when gmirror is setup. I don't use gmirror or any sort of raid. GEOM: ad0s2: geometry does not match label (255h,63s != 16h,63s). GEOM: ad4s3: geometry does not match label (255h,63s != 16h,63s). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: geometry does not match label (255h,63s != 16h,63s)
What if we tried a custom kernel and removed these lines: options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization I think that might remove these 'errors'. -- J.D. Bronson Information Technology ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: geometry does not match label (255h,63s != 16h,63s)
Hi-- On Dec 9, 2009, at 10:44 AM, Peter Steele wrote: Add my name to the list--we get tons of these messages since upgrading to 8.0 This isn't new with 8.x; it's been around since 4.0, if not earlier. For a long time, BIOSes using the older C/H/S addressing mechanism were limited to ~8GB in size, and prior to LBA 48-bit addressing there was a ~130GB size limit. So long as the system is seeing the proper size of the drive, you can safely ignore the messages; if the drive size is not being detected properly, make sure your BIOS is updated, is set to look at drives using LBA mode (rather than C/H/S), and make sure the drive itself doesn't have a jumper limiting it to legacy addressing mode. Most of the time, you can safely ignore the message applies and one can ignore the rest the above. :-) Regards, -- -Chuck PS: Now, if 8.x is repeatedly logging these messages, that might be new behavior and worth adjusting. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: geometry does not match label (255h,63s != 16h,63s)
J.D. Bronson wrote: What if we tried a custom kernel and removed these lines: options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization I think that might remove these 'errors'. My kernel already has these removed and yet I also only began getting these after upgrading from 7.2 to 8.0 on both servers at home. So far just ignored them. Normal csup source and make buildworld/etc dance followed with a portupgrade -af and make delete-old-libs. So, yes, another Me Too. :-) -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: geometry does not match label (255h,63s != 16h,63s)
Well then so much for my idea of removing those options from the kernel. Darn. Well if they have 'been' there since earlier FreeBSD I wonder why we never saw them until 8.x now ? There must be some reason... They do not appear to be anything but cosmetic but still annoying and worrisome for people like us. I suppose the next thing would be to find the offending code and comment it out... :-) -- J.D. Bronson Information Technology Aurora Health Care - Milwaukee WI Office: 414.978.8282 // Fax: 414.978.3988 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: geometry does not match label (255h,63s != 16h,63s)
On Wed, 09 Dec 2009 10:59:51 -0800 Chuck Swiger cswi...@mac.com wrote: Hi-- On Dec 9, 2009, at 10:44 AM, Peter Steele wrote: Add my name to the list--we get tons of these messages since upgrading to 8.0 This isn't new with 8.x; it's been around since 4.0, if not earlier. Something has changed though because I saw this for a data drive that been around for a long time and 7.x never complained. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: geometry does not match label (255h,63s != 16h,63s)
On Thu, 10 Dec 2009 01:36:53 + RW rwmailli...@googlemail.com wrote: On Wed, 09 Dec 2009 10:59:51 -0800 Chuck Swiger cswi...@mac.com wrote: Hi-- On Dec 9, 2009, at 10:44 AM, Peter Steele wrote: Add my name to the list--we get tons of these messages since upgrading to 8.0 This isn't new with 8.x; it's been around since 4.0, if not earlier. Something has changed though because I saw this for a data drive that been around for a long time and 7.x never complained. The message was added around this time last year: http://lists.freebsd.org/pipermail/svn-src-head/2008-December/002175.html -- Bruce Cran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
[8.0] GEOM: ad0: geometry does not match label (225h, 63s != 16h63s)
Hi, Way back it was very hard to install FreeBSD on this computer, do to sysinstall tendency to keep changing the hard disk settings. Since then I've bin very reluctant to reinstall FreeBSD. Upgrading FreeBSD was easy, until now. The FreeBSD 8.0 kernel says and refuces to boot. GEOM: ad0: geometry does not match label (225h,63s != 16h63s) Sysinstall (with 7.2) says: A geometry of 484521/16/63 for ad0 is incorrect. Using a more likely geometry. The next screen says: DISK Geometry: 30401 cyls/255 heads/63 sectors = 488392065 sectors (238472MB) fdisk *** Working on device /dev/ad0 *** parameters extracted from in-core disklabel are: cylinders=484521 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=484521 heads=16 sectors/track=63 (1008 blks/cyl) -- Alex Please copy the original recipients, otherwise I may not read your reply. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
GEOM: ad0s1: geometry does not match label (255h,63s != 16h,63s).
Hi, I have installed my laptop with FreeBSD 8.0-RC1 first (now I'm on 8.0-Release-p1) and in dmesg I got this error message : GEOM: ad0s1: geometry does not match label (255h,63s != 16h,63s). I have search on the Web about the method to resolv this, but I haven't found anything that helps me. Here the result of #bsdlabel ad0s1 # /dev/ad0s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 104857604.2BSD0 0 0 b: 2028960 1048576 swap c: 1172101770unused0 0 # raw part, don't edit d: 3110912 30775364.2BSD0 0 0 e: 1048576 61884484.2BSD0 0 0 f: 109973153 72370244.2BSD0 0 0 And the result of # gpart show = 63 117210177 ad0 MBR (56G) 63 1172101771 freebsd [active] (56G) =0 117210177 ad0s1 BSD (56G) 01048576 1 freebsd-ufs (512M) 10485762028960 2 freebsd-swap (991M) 30775363110912 4 freebsd-ufs (1.5G) 61884481048576 5 freebsd-ufs (512M) 7237024 109973153 6 freebsd-ufs (52G) Thanks for your help, Alexandre L. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
geometry does not match label
Hi all: when i try to boot the system using FreeBSD 8.0 i386 200905 bootonly CD, the following line is shown. GEOM: ad4: geometry does not match label (255h,63S != 16h, 63s) i just selected the entire disk and marked it bootable in the fdisk partition editor option. The system has a 160GB SATA HDD with 255 heads, 63 sectors/track, 19457 cylinders Any pointers or suggestions ? thanks Saifi. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org