Re: Geom label lost after expanding partition
On Thu, Aug 16, 2012 at 3:11 PM, Kevin Oberman wrote: > On Thu, Aug 16, 2012 at 10:53 AM, Olivier Cochard-Labbé > wrote: >> On Thu, Aug 16, 2012 at 6:30 PM, Kevin Oberman wrote: >>> I have a GPT formatted disk where I recently expanded the size of a >>> partition. I used "gpart resize -i 6 ada1" first to expand the >>> partition to use the remaining free space and then growfs to modify >>> the FFS file system to use the full partition. This was all done in >>> single-user mode, of course, but when I enter "exit" to bring the >>> system up, it failed to mount /usr. This was because /dev/ufs/usr did >>> not exist! >> >> I've met the same problem, check this PR for a dirty workaround: > > Yep. It is certainly a dirty fix, but it should work. Looks like > glabel is doing the right thing, though a message would have been > nice. > > Rebuilding now. Thanks so much! As I expected, it works fine. I've got my /dev/ufs/usr back! Thanks! -- R. Kevin Oberman, Network Engineer E-mail: kob6...@gmail.com ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Get ports tree of the current pkgng repository
On Fri, Aug 17, 2012 at 6:25 AM, Kimmo Paasiala wrote: > On Thu, Aug 16, 2012 at 10:56 PM, Michael Schnell wrote: >> Hi, >> I don't know if this came up already, but not as far as I know. So, I >> was thinking it would be nice to add a mechanism to pkgng, which enables >> the user to get the ports tree corresponding to the current repository. >> >> At least I've the problem that I really like the idea of the pkgng >> system, but I need a few custom build packages. For instance rawtherapee >> is not working for me with OpenMP, so I have to disable it to get it >> working, or I made some patches for openbox, which of course then needs >> to be compiled. In order to get not in conflict with a more recent >> ports tree the exact version of the repository build would be nice. >> >> At the moment I can think of two ways to implement it. The easiest way >> would be to add the ports tree as a packages into the repository. A more >> complicated thing is to add a mechanism to portsnap synchronised with >> the pkgng system to direct fetch it, or at least a revision number of >> the current repo, so you can check it out of the subversion. >> >> How do you guys feel about this? >> >> >> Greetings >> Michael >> > > Why not just include the SVN revision of the ports tree that was used > to create the packages in the package metadata? > > -Kimmo And of course in the repository metadata as you proposed, sorry not enough coffee yet :P -Kimmo ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Get ports tree of the current pkgng repository
On Thu, Aug 16, 2012 at 10:56 PM, Michael Schnell wrote: > Hi, > I don't know if this came up already, but not as far as I know. So, I > was thinking it would be nice to add a mechanism to pkgng, which enables > the user to get the ports tree corresponding to the current repository. > > At least I've the problem that I really like the idea of the pkgng > system, but I need a few custom build packages. For instance rawtherapee > is not working for me with OpenMP, so I have to disable it to get it > working, or I made some patches for openbox, which of course then needs > to be compiled. In order to get not in conflict with a more recent > ports tree the exact version of the repository build would be nice. > > At the moment I can think of two ways to implement it. The easiest way > would be to add the ports tree as a packages into the repository. A more > complicated thing is to add a mechanism to portsnap synchronised with > the pkgng system to direct fetch it, or at least a revision number of > the current repo, so you can check it out of the subversion. > > How do you guys feel about this? > > > Greetings > Michael > Why not just include the SVN revision of the ports tree that was used to create the packages in the package metadata? -Kimmo ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Geom label lost after expanding partition
On Thu, Aug 16, 2012 at 10:53 AM, Olivier Cochard-Labbé wrote: > On Thu, Aug 16, 2012 at 6:30 PM, Kevin Oberman wrote: >> I have a GPT formatted disk where I recently expanded the size of a >> partition. I used "gpart resize -i 6 ada1" first to expand the >> partition to use the remaining free space and then growfs to modify >> the FFS file system to use the full partition. This was all done in >> single-user mode, of course, but when I enter "exit" to bring the >> system up, it failed to mount /usr. This was because /dev/ufs/usr did >> not exist! > > I've met the same problem, check this PR for a dirty workaround: Yep. It is certainly a dirty fix, but it should work. Looks like glabel is doing the right thing, though a message would have been nice. Rebuilding now. Thanks so much! -- R. Kevin Oberman, Network Engineer E-mail: kob6...@gmail.com ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Get ports tree of the current pkgng repository
On Thu, 16 Aug 2012, Matthew Seaman wrote: On 16/08/2012 20:56, Michael Schnell wrote: Hi, I don't know if this came up already, but not as far as I know. So, I was thinking it would be nice to add a mechanism to pkgng, which enables the user to get the ports tree corresponding to the current repository. At least I've the problem that I really like the idea of the pkgng system, but I need a few custom build packages. For instance rawtherapee is not working for me with OpenMP, so I have to disable it to get it working, or I made some patches for openbox, which of course then needs to be compiled. In order to get not in conflict with a more recent ports tree the exact version of the repository build would be nice. At the moment I can think of two ways to implement it. The easiest way would be to add the ports tree as a packages into the repository. A more complicated thing is to add a mechanism to portsnap synchronised with the pkgng system to direct fetch it, or at least a revision number of the current repo, so you can check it out of the subversion. How do you guys feel about this? Could you open an issue on github please? [*] https://github.com/pkgng/pkgng/issues?state=open Okay done. Unfortunately I don't have a test system yet, then I would have tried to test some of the ideas. At the moment I'm just evaluating pkg. Adding a package with a complete ports tree is an ... interesting ... idea. Maybe doable --- but it would be a huge package. Adding some metadata to the repo catalogue to show eg. the SVN revision number of the ports tree used to generate the packages would be a pretty reasonable approach. I don't think it will be so large, when you look at the size of the compressed tar balls coming with portsnap. ;-) Something around 65 MiB if I remember correctly? However, one of the development aims for pkgng is to make it much easier for people to maintain their own packages of the particular software that is important to them, but be able to use a regular public repository for pretty much anything else. That implies being able to handle a mix of packages compiled from different ports trees much better than is the case at the moment. If we get that right, keeping ports trees in precise synch as you describe shouldn't be any great issue. That was my idea. Otherwise I have to guess the revision, or check out the ports tree quickly after an upgrade of the packages and still I had some mismatch there. Greetings Michael ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: LSI 9240-4i 4K alignment
On Thu, Aug 16, 2012 at 9:51 PM, Steven Hartland wrote: > - Original Message - From: "George Kontostanos" > > >> You are right, the chip specs say: LSISAS2108 RAID-on-Chip >> >> The drives are identified as mfisyspd0, mfisyspd1, etc. > > > The following might be interesting to you:- > http://forums.servethehome.com/showthread.php?599-LSI-RAID-Controller-and-HBA-Complete-Listing-Plus-OEM-Models > > Which states:- > LSI MegaRAID SAS 9240-4i 1x4 port internal SAS vertical, > no cache, no BBU, RAID 0, 1, 10 and 5, can be crossflashed > to LSI9211 IT/IR > > This is insteresting as this is the card we're using but > in the 8 port version under mps :) > > So based on that a simple firmware flash may be all you > need. > > >Regards >Steve > > > This e.mail is private and confidential between Multiplay (UK) Ltd. and the > person or entity to whom it is addressed. In the event of misdirection, the > recipient is prohibited from using, copying, printing or otherwise > disseminating it or any information contained in it. > In the event of misdirection, illegible or incomplete transmission please > telephone +44 845 868 1337 > or return the E.mail to postmas...@multiplay.co.uk. > mfi0@pci0:1:0:0:class=0x010400 card=0x92411000 chip=0x00731000 rev=0x03 hdr=0x00 vendor = 'LSI Logic / Symbios Logic' device = 'MegaRAID SAS 9240' class = mass storage subclass = RAID The controller is configured as jbod. I will follow your advice regarding the firmware. Thanks for your help! -- George Kontostanos Aicom telecoms ltd http://www.aisecure.net ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
GEOM_RAID in GENERIC 9.1
Hi, Unfortunately I am a less experienced user so no clue how to disable GEOM_RAID but i am hit by this issue. My zfs setup is totally messed up. Would appreciate if you could share the trick. Thanks in advance. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Get ports tree of the current pkgng repository
On 16/08/2012 20:56, Michael Schnell wrote: > Hi, > I don't know if this came up already, but not as far as I know. So, I > was thinking it would be nice to add a mechanism to pkgng, which enables > the user to get the ports tree corresponding to the current repository. > > At least I've the problem that I really like the idea of the pkgng > system, but I need a few custom build packages. For instance rawtherapee > is not working for me with OpenMP, so I have to disable it to get it > working, or I made some patches for openbox, which of course then needs > to be compiled. In order to get not in conflict with a more recent > ports tree the exact version of the repository build would be nice. > > At the moment I can think of two ways to implement it. The easiest way > would be to add the ports tree as a packages into the repository. A more > complicated thing is to add a mechanism to portsnap synchronised with > the pkgng system to direct fetch it, or at least a revision number of > the current repo, so you can check it out of the subversion. > > How do you guys feel about this? Could you open an issue on github please? [*] https://github.com/pkgng/pkgng/issues?state=open Adding a package with a complete ports tree is an ... interesting ... idea. Maybe doable --- but it would be a huge package. Adding some metadata to the repo catalogue to show eg. the SVN revision number of the ports tree used to generate the packages would be a pretty reasonable approach. However, one of the development aims for pkgng is to make it much easier for people to maintain their own packages of the particular software that is important to them, but be able to use a regular public repository for pretty much anything else. That implies being able to handle a mix of packages compiled from different ports trees much better than is the case at the moment. If we get that right, keeping ports trees in precise synch as you describe shouldn't be any great issue. Cheers, Matthew [*] A pull request with patches would be even better, but we're glad of any good ideas. -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
[PATCH] Add locking to mlx(4)
I have patches to add locking to mlx(4) and mark it MPSAFE. The patches are from HEAD but should apply to 8 or 9. If you test it on 8 or 9 please enable INVARIANTS for at least the initial testing. Thanks. Given that this is a driver for older hardware, if no one is able to test these patches, then I will remove the driver from HEAD after committing these fixes. http://www.FreeBSD.org/~jhb/patches/mlx_locking.patch -- John Baldwin ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
[PATCH] Make ida(4) MPSAFE and a host of other fixes
ida(4) is a driver for older Compaq RAID adapters (PCI and EISA). It is one of the few remaining non-MPSAFE storage drivers. I have a patch to add locking to it, but while doing that I fixed several other issues including incorrect bus_dma support (it didn't handle deferred callbacks and EINPROGRESS at all). It also did not pre-allocate dma maps but attempted to create them on the fly (despite a comment claiming that it did pre-allocate them). It now probes disks using a configintrhook rather than using polled commands. The drive number for each logical disk is passed to the child disk device via ivars. I've added bus_dma sync ops for the hardware QCB accesses. I've also reworked it's queuing mechanism so that it should now queue multiple commands to the controller (before it only queued one command at a time even though it had free QCBs). The patch compiles, but I have no hardware to test it. Given that this is an old driver, if I can't find anyone to test it, I will remove it from HEAD after committing the fixes (so if someone shows up in the future there is a better base to start from). http://www.FreeBSD.org/~jhb/patches/ida_locking_dma.patch -- John Baldwin ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Get ports tree of the current pkgng repository
Hi, I don't know if this came up already, but not as far as I know. So, I was thinking it would be nice to add a mechanism to pkgng, which enables the user to get the ports tree corresponding to the current repository. At least I've the problem that I really like the idea of the pkgng system, but I need a few custom build packages. For instance rawtherapee is not working for me with OpenMP, so I have to disable it to get it working, or I made some patches for openbox, which of course then needs to be compiled. In order to get not in conflict with a more recent ports tree the exact version of the repository build would be nice. At the moment I can think of two ways to implement it. The easiest way would be to add the ports tree as a packages into the repository. A more complicated thing is to add a mechanism to portsnap synchronised with the pkgng system to direct fetch it, or at least a revision number of the current repo, so you can check it out of the subversion. How do you guys feel about this? Greetings Michael ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: LSI 9240-4i 4K alignment
- Original Message - From: "George Kontostanos" You are right, the chip specs say: LSISAS2108 RAID-on-Chip The drives are identified as mfisyspd0, mfisyspd1, etc. The following might be interesting to you:- http://forums.servethehome.com/showthread.php?599-LSI-RAID-Controller-and-HBA-Complete-Listing-Plus-OEM-Models Which states:- LSI MegaRAID SAS 9240-4i 1x4 port internal SAS vertical, no cache, no BBU, RAID 0, 1, 10 and 5, can be crossflashed to LSI9211 IT/IR This is insteresting as this is the card we're using but in the 8 port version under mps :) So based on that a simple firmware flash may be all you need. Regards Steve This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmas...@multiplay.co.uk. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: LSI 9240-4i 4K alignment
- Original Message - From: "George Kontostanos" gkontos.m...@gmail.com It still really smells like something higher up the layers than the controller tbh. We have tried many combinations with different drives. Any other suggestions? See below Confused as your 9240-4i is a SAS2008 based card so you "shouldnt" be seeing any difference as it should be supported just fine under mps. The cards we have here are 9211-8i if that helps. You are right, the chip specs say: LSISAS2108 RAID-on-Chip Hmm LSI's website says its a LSISAS2008 not a LSISAS2108 http://www.lsi.com/channel/products/storagecomponents/Pages/MegaRAIDSAS9240-4i.aspx The drives are identified as mfisyspd0, mfisyspd1, etc. Are you actually using HW RAID volumns then instead of direct disks? If so I would advice configuring the disks as passthrough. What does pciconf -lv say? On boot I see the following here to 2008 chip controller:- == /var/run/dmesg.boot == mps0: port 0xe000-0xe0ff mem 0xfaf3c000-0xfaf3,0xfaf4-0xfaf7 irq 26 at device 0.0 on pci7 mps0: Firmware: 11.00.00.00 mps0: IOCCapabilities: 185c mps0: [ITHREAD] == pciconf -lv == mps0@pci0:7:0:0: class=0x010700 card=0x30201000 chip=0x00721000 rev=0x03 hdr=0x00 vendor = 'LSI Logic (Was: Symbios Logic, NCR)' class = mass storage subclass = SAS I suspect reading around that the MegaRAID cards are have SAS chips on board but are superseed by the RAID part hence mfi vs mps I wonder if you could flash with the IT firmware instead of IR to make it show as mps instead of mfi? Regards Steve This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmas...@multiplay.co.uk. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Geom label lost after expanding partition
On Thu, Aug 16, 2012 at 6:30 PM, Kevin Oberman wrote: > I have a GPT formatted disk where I recently expanded the size of a > partition. I used "gpart resize -i 6 ada1" first to expand the > partition to use the remaining free space and then growfs to modify > the FFS file system to use the full partition. This was all done in > single-user mode, of course, but when I enter "exit" to bring the > system up, it failed to mount /usr. This was because /dev/ufs/usr did > not exist! I've met the same problem, check this PR for a dirty workaround: http://www.freebsd.org/cgi/query-pr.cgi?pr=165962 Regards, Olivier ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: LSI 9240-4i 4K alignment
On Thu, Aug 16, 2012 at 7:26 PM, Steven Hartland wrote: > - Original Message - From: "George Kontostanos" > >> >> >> I know. The problem with that controller is that for some reason it >> doesn't like gpart. I have gnoped the drives directly and it seems to >> be working so far. > > It still really smells like something higher up the layers than the > controller tbh. We have tried many combinations with different drives. Any other suggestions? > >>> In addition to this we're running LSI 2008 based controllers here on >>> 8.2-RELEASE + manually merged in mps driver with ZFS just fine. They >>> aren't running 4k aligned but they are working well. >>> >> >> Right, they fall under the mps driver like the following: >> >> LSI Logic SAS2004 (4 Port SAS) >> LSI Logic SAS2008 (8 Port SAS) >> LSI Logic SAS2108 (8 Port SAS) >> LSI Logic SAS2116 (16 Port SAS) >> LSI Logic SAS2208 (8 Port SAS) > > > Confused as your 9240-4i is a SAS2008 based card so you "shouldnt" be > seeing any difference as it should be supported just fine under mps. > > The cards we have here are 9211-8i if that helps. You are right, the chip specs say: LSISAS2108 RAID-on-Chip The drives are identified as mfisyspd0, mfisyspd1, etc. > >Regards >Steve > > > This e.mail is private and confidential between Multiplay (UK) Ltd. and the > person or entity to whom it is addressed. In the event of misdirection, the > recipient is prohibited from using, copying, printing or otherwise > disseminating it or any information contained in it. > In the event of misdirection, illegible or incomplete transmission please > telephone +44 845 868 1337 > or return the E.mail to postmas...@multiplay.co.uk. > -- George Kontostanos Aicom telecoms ltd http://www.aisecure.net ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Geom label lost after expanding partition
On Thu, Aug 16, 2012 at 9:52 AM, Mark Saad wrote: > On Thu, Aug 16, 2012 at 12:30 PM, Kevin Oberman wrote: >> I have a GPT formatted disk where I recently expanded the size of a >> partition. I used "gpart resize -i 6 ada1" first to expand the >> partition to use the remaining free space and then growfs to modify >> the FFS file system to use the full partition. This was all done in >> single-user mode, of course, but when I enter "exit" to bring the >> system up, it failed to mount /usr. This was because /dev/ufs/usr did >> not exist! >> >> I assumed that gpart "lost" the label when it resized the partition >> (which looked like a minor bug to me), but I have been completely >> unable to re-create the label. I first tried tunefs and then glabel. >> (The handbook says glabel can be used, though the glabel man page is >> explicit that it can't.) Both complete with no errors, but neither >> fixes the problem. I still don't see any /dev/usf/usr. "glabel list" >> does not even list the geom. >> >> I do get the following GEOM messages in dmesg: >> GEOM: ada1p2: invalid disklabel. >> GEOM: ufsid/4df4feeda0ce6d5c: invalid disklabel. >> GEOM: ufs/root: invalid disklabel. >> GEOM: gpt/root: invalid disklabel. >> GEOM: gptid/43f0eafd-ba3a-11e0-b70a-f0def166a11e: invalid disklabel. >> >> but /dev/ufs/root works fine to mount /, and I have always seen these >> errors and have never been able to figure out what is causing them. >> >> I ended up entering the actual drive node (/dev/ada1p6) into my >> fstab. This works, but brings back the old issues of having to edit >> the fstab any time the drive is moved. >> >> Does anyone have any idea how to get the labels to work again? I'm not >> even sure what tool displays what label as I can label with glabel, >> tunefs, and newfs >> -- >> R. Kevin Oberman, Network Engineer >> E-mail: kob6...@gmail.com >> ___ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org" > > Kevin > I believe the UFS or geom_labels are stuck at the end of the > partition so , I can see how it would wipe them out if you resized it. > Can you run "glabel status" and "glabel list" send us the results ? Mark, Thanks for looking at this. I assume that "gpart resize" would take care of moving the geom metadata to the new last sector of the geom, but glabel does not seem to know it is there at all: (The partition in question is ada1p6.) > glabel status Name Status Components ntfs/SYSTEM_DRV N/A ada0s1 ntfs/Windows7_OS N/A ada0s2 ntfs/Lenovo_Recovery N/A ada0s3 ntfs/Media N/A ada0s4 gptid/12c41a54-ba3a-11e0-b70a-f0def166a11e N/A ada1p1 ufs/root N/A ada1p2 ufs/var N/A ada1p4 ufs/tmp N/A ada1p5 gpt/Aux N/A ada1p7 gptid/aef508e9--11e0-abd6-f0def166a11e N/A ada1p7 > glabel list Geom name: ada0s1 Providers: 1. Name: ntfs/SYSTEM_DRV Mediasize: 1258291200 (1.2G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 1048576 Mode: r1w1e1 secoffset: 0 offset: 0 seclength: 2457600 length: 1258291200 index: 0 Consumers: 1. Name: ada0s1 Mediasize: 1258291200 (1.2G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 1048576 Mode: r1w1e2 Geom name: ada0s2 Providers: 1. Name: ntfs/Windows7_OS Mediasize: 113291296768 (105G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 1259339776 Mode: r1w1e1 secoffset: 0 offset: 0 seclength: 221272064 length: 113291296768 index: 0 Consumers: 1. Name: ada0s2 Mediasize: 113291296768 (105G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 1259339776 Mode: r1w1e2 Geom name: ada0s3 Providers: 1. Name: ntfs/Lenovo_Recovery Mediasize: 16777216000 (15G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 2646605824 Mode: r1w1e1 secoffset: 0 offset: 0 seclength: 32768000 length: 16777216000 index: 0 Consumers: 1. Name: ada0s3 Mediasize: 16777216000 (15G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 2646605824 Mode: r1w1e2 Geom name: ada0s4 Providers: 1. Name: ntfs/Media Mediasize: 188743629312 (175G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 2881518592 Mode: r1w1e1 secoffset: 0 offset: 0 seclength: 368639901 length: 188743629312 index: 0 Consumers: 1. Name: ada0s4 Mediasize: 188743629312 (175G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 2881518592 Mode: r1w1e2 Geom name: ada1p1 Providers: 1. Name: gptid/12c41a54-ba3a-11e0-b70a-f0def166a11e Mediasize: 65536 (64k) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r0w0e0
Re: Geom label lost after expanding partition
On Thu, Aug 16, 2012 at 12:30 PM, Kevin Oberman wrote: > I have a GPT formatted disk where I recently expanded the size of a > partition. I used "gpart resize -i 6 ada1" first to expand the > partition to use the remaining free space and then growfs to modify > the FFS file system to use the full partition. This was all done in > single-user mode, of course, but when I enter "exit" to bring the > system up, it failed to mount /usr. This was because /dev/ufs/usr did > not exist! > > I assumed that gpart "lost" the label when it resized the partition > (which looked like a minor bug to me), but I have been completely > unable to re-create the label. I first tried tunefs and then glabel. > (The handbook says glabel can be used, though the glabel man page is > explicit that it can't.) Both complete with no errors, but neither > fixes the problem. I still don't see any /dev/usf/usr. "glabel list" > does not even list the geom. > > I do get the following GEOM messages in dmesg: > GEOM: ada1p2: invalid disklabel. > GEOM: ufsid/4df4feeda0ce6d5c: invalid disklabel. > GEOM: ufs/root: invalid disklabel. > GEOM: gpt/root: invalid disklabel. > GEOM: gptid/43f0eafd-ba3a-11e0-b70a-f0def166a11e: invalid disklabel. > > but /dev/ufs/root works fine to mount /, and I have always seen these > errors and have never been able to figure out what is causing them. > > I ended up entering the actual drive node (/dev/ada1p6) into my > fstab. This works, but brings back the old issues of having to edit > the fstab any time the drive is moved. > > Does anyone have any idea how to get the labels to work again? I'm not > even sure what tool displays what label as I can label with glabel, > tunefs, and newfs > -- > R. Kevin Oberman, Network Engineer > E-mail: kob6...@gmail.com > ___ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org" Kevin I believe the UFS or geom_labels are stuck at the end of the partition so , I can see how it would wipe them out if you resized it. Can you run "glabel status" and "glabel list" send us the results ? -- mark saad | nones...@longcount.org ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: LSI 9240-4i 4K alignment
- Original Message - From: "George Kontostanos" I know. The problem with that controller is that for some reason it doesn't like gpart. I have gnoped the drives directly and it seems to be working so far. It still really smells like something higher up the layers than the controller tbh. In addition to this we're running LSI 2008 based controllers here on 8.2-RELEASE + manually merged in mps driver with ZFS just fine. They aren't running 4k aligned but they are working well. Right, they fall under the mps driver like the following: LSI Logic SAS2004 (4 Port SAS) LSI Logic SAS2008 (8 Port SAS) LSI Logic SAS2108 (8 Port SAS) LSI Logic SAS2116 (16 Port SAS) LSI Logic SAS2208 (8 Port SAS) Confused as your 9240-4i is a SAS2008 based card so you "shouldnt" be seeing any difference as it should be supported just fine under mps. The cards we have here are 9211-8i if that helps. Regards Steve This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmas...@multiplay.co.uk. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: battery state
On 16/08/2012 12:41, Ian Smith wrote:> On Thu, 16 Aug 2012 10:24:46 +0200, Dominic Fandrey wrote: > On 16/08/2012 07:39, Ian Smith wrote: > > On Wed, 15 Aug 2012 11:40:26 +0200, Dominic Fandrey wrote: > > ... > > I found your correspondence here last December about that, "Re: battery > > display broken". Looks like it's still the same problem, you were on > > 9-stable then too. When did it used to work? > > Hmm, I switched to RELENG_9 shortly before the 9.0 release. It had > worked then, or I'd have PRed a regression. I was referring to this thread, which I then also had a stab at: http://lists.freebsd.org/pipermail/freebsd-stable/2011-December/064953.html That never progressed to a technical level so it only suffices to reduce the time frame. I don't remember any more. I know I'm made this more difficult by not having written a PR right when it happened. I appologize for this. I don't see what I can do to mitigate it, though. > It stopped working around the beginning of this FSAE season. Probably > between September and December. > > > On either normal or verbose boot messages, are there any ACPI errors > > logged? This smells a bit like some of the Embedded Controller issues > > that were coming up late 2010, most resolved by some patches by avg@. > > This is from the verbose dmesg: > # dmesg | grep -i bat > battery0: on acpi0 > battery1: on acpi0 > battery0: battery initialization start > battery1: battery initialization start > battery0: battery initialization done, tried 1 times > battery1: battery initialization failed, giving up > > Looks right to me. Greping for acpi or fail doesn't yield anything > interesting. Ok. Several others reported things like: ACPI Error: Method parse/execution failed [\\_SB_.BAT0._BST] (Node 0xc43284e0), AE_NO_HARDWARE_RESPONSE (20100915/psparse-633) acpi_ec0: EcRead: failed waiting to get data Nothing like this occurs. See also kern/162859 mentioned in the above thread, which seems similar. It looks like it's exactly my problem. > There is a bunch of errors during shutdown, I have a dmesg with verbose > boot, shutdown and normal boot prepared, for whoever wants to look at it. If you take it any further, that might be handy .. I just sent the dmesg to kern/162859. > > Someone then worked around some EC issue using debug.acpi.ec.polled mode > > rather than relying on notifications, I vaguely recall. ... I also tried that. It works exactly once. I.e. the system polls one new battery state. Which then becomes permanent. Turning it off and on repeatedly doesn't win me new states. Regards -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: LSI 9240-4i 4K alignment
On Thu, Aug 16, 2012 at 2:11 PM, Steven Hartland wrote: > - Original Message - From: "George Kontostanos" > > To: "FreeBSD Stable" ; > > Sent: Thursday, August 16, 2012 10:38 AM > Subject: Re: LSI 9240-4i 4K alignment > > > >> After contacting the manufacturer we got this response: >> >> -- >> My apologies for the wrong information provided in my previous email. >> I was under the impression that this OS is still supported but after >> checking with our developer, FreeBSD is currently not supported with >> the LSI Megaraid Cards due to some issue with the driver we've >> provided. It will be supported in our upcoming releases which may come >> by the end of this year. Please check back on our website during that >> time frame for the FreeBSD driver. >> Once again please accept my apologies for the inconvenience. >> - > > > I would ask them if they have a fix, as if they do there's nothing > stopping you building a custom kernel with the update. You are right but it seems more cost effective to get a new controller that has support under the mps driver. > Its quite common for big companies to not "officially" support until a > release but that doesn't mean they don't have a fix if you know what I > mean :) I know. The problem with that controller is that for some reason it doesn't like gpart. I have gnoped the drives directly and it seems to be working so far. > In addition to this we're running LSI 2008 based controllers here on > 8.2-RELEASE + manually merged in mps driver with ZFS just fine. They > aren't running 4k aligned but they are working well. > Right, they fall under the mps driver like the following: LSI Logic SAS2004 (4 Port SAS) LSI Logic SAS2008 (8 Port SAS) LSI Logic SAS2108 (8 Port SAS) LSI Logic SAS2116 (16 Port SAS) LSI Logic SAS2208 (8 Port SAS) I have worked in the past with some of those and never had a problem. >Regards >Steve > Cheers -- George Kontostanos Aicom telecoms ltd http://www.aisecure.net ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: unrecognised external drive
On Wed 2012-08-15 (08:58), Erich Dollansky wrote: > On Tue, 14 Aug 2012 18:34:37 +0200 > > idVendor 0x1058 Western Digital Technologies, Inc. > > idProduct 0x1042 > > could it be that the kernel does not know this product? > > You can check the sources (usbdevs should be the name of the file) and > add this ID by copying an entry from another WD product which could be > the same. Thanx, I changed product WESTERN EXTHDD 0x0400 External HDD to product WESTERN EXTHDD 0x1042 External HDD in usbdevs and rebuilt, but hasn't helped. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: LSI 9240-4i 4K alignment
- Original Message - From: "George Kontostanos" To: "FreeBSD Stable" ; Sent: Thursday, August 16, 2012 10:38 AM Subject: Re: LSI 9240-4i 4K alignment After contacting the manufacturer we got this response: -- My apologies for the wrong information provided in my previous email. I was under the impression that this OS is still supported but after checking with our developer, FreeBSD is currently not supported with the LSI Megaraid Cards due to some issue with the driver we've provided. It will be supported in our upcoming releases which may come by the end of this year. Please check back on our website during that time frame for the FreeBSD driver. Once again please accept my apologies for the inconvenience. - I would ask them if they have a fix, as if they do there's nothing stopping you building a custom kernel with the update. Its quite common for big companies to not "officially" support until a release but that doesn't mean they don't have a fix if you know what I mean :) In addition to this we're running LSI 2008 based controllers here on 8.2-RELEASE + manually merged in mps driver with ZFS just fine. They aren't running 4k aligned but they are working well. Regards Steve This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmas...@multiplay.co.uk. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: battery state
On Thu, 16 Aug 2012 10:24:46 +0200, Dominic Fandrey wrote: > On 16/08/2012 07:39, Ian Smith wrote: > > On Wed, 15 Aug 2012 11:40:26 +0200, Dominic Fandrey wrote: > > ... > > I found your correspondence here last December about that, "Re: battery > > display broken". Looks like it's still the same problem, you were on > > 9-stable then too. When did it used to work? > > Hmm, I switched to RELENG_9 shortly before the 9.0 release. It had > worked then, or I'd have PRed a regression. I was referring to this thread, which I then also had a stab at: http://lists.freebsd.org/pipermail/freebsd-stable/2011-December/064953.html > It stopped working around the beginning of this FSAE season. Probably > between September and December. > > > On either normal or verbose boot messages, are there any ACPI errors > > logged? This smells a bit like some of the Embedded Controller issues > > that were coming up late 2010, most resolved by some patches by avg@. > > This is from the verbose dmesg: > # dmesg | grep -i bat > battery0: on acpi0 > battery1: on acpi0 > battery0: battery initialization start > battery1: battery initialization start > battery0: battery initialization done, tried 1 times > battery1: battery initialization failed, giving up > > Looks right to me. Greping for acpi or fail doesn't yield anything > interesting. Ok. Several others reported things like: ACPI Error: Method parse/execution failed [\\_SB_.BAT0._BST] (Node 0xc43284e0), AE_NO_HARDWARE_RESPONSE (20100915/psparse-633) acpi_ec0: EcRead: failed waiting to get data See also kern/162859 mentioned in the above thread, which seems similar. > There is a bunch of errors during shutdown, I have a dmesg with verbose > boot, shutdown and normal boot prepared, for whoever wants to look at it. If you take it any further, that might be handy .. > > Someone then worked around some EC issue using debug.acpi.ec.polled mode > > rather than relying on notifications, I vaguely recall. You said then > > you run only one battery, so hw.acpi.battery.units is also still wrong? > > Yes, it's wrong. There is an option to swap out the optical drive for a > battery, I think. But I still have my optical drive. Just more grist for the mill. My Thinkpad also can take another battery in the optical drive bay, but only shows one battery unless it's fitted. > > > > Are you > > > > running the latest current? I haven't updated in a while, so perhaps > > > > the issue has been resolved... > > > > > > Nay, I stick to the RELENG_ branches. I'll switch to RELENG_10 > > > shortly before a 10.0 release. > > > > If there's any indication of ACPI errors on boot (or later) this would > > be worthy of a PR, especially as you're not alone in this, on HP gear. > > I suppose you've checked HP for any more recent BIOS &/or EC updates? > > The bios version reported by dmidecode matches the latest download > from HP: > Vendor: Hewlett-Packard > Version: 68DDU Ver. F.15 > Release Date: 01/15/2009 Ah well, it was woth a shot :) cheers, Ian ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: LSI 9240-4i 4K alignment
After contacting the manufacturer we got this response: -- My apologies for the wrong information provided in my previous email. I was under the impression that this OS is still supported but after checking with our developer, FreeBSD is currently not supported with the LSI Megaraid Cards due to some issue with the driver we've provided. It will be supported in our upcoming releases which may come by the end of this year. Please check back on our website during that time frame for the FreeBSD driver. Once again please accept my apologies for the inconvenience. - -- George Kontostanos Aicom telecoms ltd http://www.aisecure.net ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: battery state
On 16/08/2012 07:39, Ian Smith wrote: On Wed, 15 Aug 2012 11:40:26 +0200, Dominic Fandrey wrote: ... I found your correspondence here last December about that, "Re: battery display broken". Looks like it's still the same problem, you were on 9-stable then too. When did it used to work? Hmm, I switched to RELENG_9 shortly before the 9.0 release. It had worked then, or I'd have PRed a regression. It stopped working around the beginning of this FSAE season. Probably between September and December. On either normal or verbose boot messages, are there any ACPI errors logged? This smells a bit like some of the Embedded Controller issues that were coming up late 2010, most resolved by some patches by avg@. This is from the verbose dmesg: # dmesg | grep -i bat battery0: on acpi0 battery1: on acpi0 battery0: battery initialization start battery1: battery initialization start battery0: battery initialization done, tried 1 times battery1: battery initialization failed, giving up Looks right to me. Greping for acpi or fail doesn't yield anything interesting. There is a bunch of errors during shutdown, I have a dmesg with verbose boot, shutdown and normal boot prepared, for whoever wants to look at it. Someone then worked around some EC issue using debug.acpi.ec.polled mode rather than relying on notifications, I vaguely recall. You said then you run only one battery, so hw.acpi.battery.units is also still wrong? Yes, it's wrong. There is an option to swap out the optical drive for a battery, I think. But I still have my optical drive. > > Are you > > running the latest current? I haven't updated in a while, so perhaps > > the issue has been resolved... > > Nay, I stick to the RELENG_ branches. I'll switch to RELENG_10 > shortly before a 10.0 release. If there's any indication of ACPI errors on boot (or later) this would be worthy of a PR, especially as you're not alone in this, on HP gear. I suppose you've checked HP for any more recent BIOS &/or EC updates? The bios version reported by dmidecode matches the latest download from HP: Vendor: Hewlett-Packard Version: 68DDU Ver. F.15 Release Date: 01/15/2009 Regards -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"