Re: diskless booting on nitebook
On Thu, Jun 26, 2003 at 03:39:23PM +0300, Vitaly Markitantov wrote: I'm trying to boot diskless my notebook. I create boot floppy disk on which i place kernel.gz boot/loader boot/loader.rc boot/device.hints (it's just modified kern.flp from 5.1-RELEASE distro with my own kernel) Kernel on that disk built with options options NFSCLIENT options NFS_ROOT and device cbb device pccard device cardbus device miibus device rl In /boot/loader.rc i place lines: set boot.netif.ip=172.16.0.9 set boot.netif.netmask=255.255.255.192 set boot.netif.gateway=172.16.0.1 set boot.netif.hwaddr=00:a0:0c:90:90:06 set boot.nfsroot.server=172.16.0.8 set boot.nfsroot.path=/backup/nfsroot set boot.nfsroot.nfshandle=X68X Kernel loads from that floppy, it's starts. But shows next error: ... Timecounters tick every 10.000 msec nfs_diskless: no interface rl0: Realtek 8139 10/100BaseTX CardBus port 0x1000-0x10ff mem 0x88002000-0x880021ff irq 11 at device 0.0 on cardbus1 ... So, it looks like NFSCLIENT tryes to detect boot interface before cardbus Realtek-based pccard is initialised. What can i do, for normal disskless booting? Ok, sorry for my error, i just must enter nfs when kernel asks for mountroot But, system doesn't starts, it can't find init. It say's error: ... NFS ROOT: 172.16.0.8:/backup/nfsroot exec /sbin/init: error 70 exec /sbin/oinit: error 70 exec /sbin/initbak: error 70 ... and then panics. As seen in src/sys/sys/errno.h error 70 is #define ESTALE 70 /* Stale NFS file handle */ So, what is my error. I incorrectly set's set boot.nfsroot.nfshandle=X68X in loader.rc or what? What can i do? -- Vitaly Markitantov mailto: [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.0/5.1: Installer does not find CD-ROM drive - even thoughit's booted off it
On Tue, Jun 10, 2003 at 09:19:08PM -0500, [EMAIL PROTECTED] wrote: FWIW - I have a Samsung SM-348 48x CD/DVD combo unit that works just fine under 5.1 (and 4.8): acd0: CD-RW SAMSUNG CDRW/DVD SM-348B at ata0-master PIO4 Yes, i have 48X SAMSUNG CD-ROM SC-148T, and it works fine under 5.1 and 4.8 Maybe only 52X Samsung SC-152 is broken for FreeBSD. On 10 Jun, Vitaly Markitantov wrote: On Mon, Jun 09, 2003 at 10:20:03PM +0200, Per von Zweigbergk wrote: Hello. I'm having difficulty with the ISO image of FreeBSD 5.1. The same problem also appeared in 5.0, but since 5.1 had come out, I decided to try that before reporting this bug. When booting the installer off the CD-ROM and doing a Standard install, you first get to the stage of partitioning a hard drive. Then you get to the stage where distributions are chosen. After that, it wants you to choose install media. I choose CD/DVD, and suddenly it says: No CD/DVD devices found! This is strange, since I clearly have been able to boot from it, and the boot loader seems to find it. On a whim, I also tried to choose Floppy for the install, but that didn't work either: No floppy devices found! This is more than strange. It's truly bizarre. In the boot loader it says: BIOS CD is cd0 BIOS drive A: is disk0 BIOS drive C: is disk1 And just before it dumps into /stand/sysinstall, I get: ata1-master: timeout waiting for interrupt ata1-master: ATAPI identify failed The system is new, and has had no OS installed on it previously. I have upgraded the BIOS to the latest version. Specifications: - Microstar 865PE Neo2 LS mother board - 3 x Intel 10/100 Desktop Adapter S cards. (Supported by the fxp driver) - Cheap Geforce 4 MX based AGP graphics card - Western Digital Special Edition 120 GB hard drive with 8 MB disk cache connected using the onboard ATA100 functionality. Master on the first IDE bus. - Samsung CD-ROM drive connected to the second IDE bus as Master. Only does ATA33 with the cables I use. Looks like Samsung 52X CD-ROM is broken for FreeBSD, i have this problem with this drive, when i replace it to Asus 52X CD-ROM, all works fine. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED] -- Vitaly Markitantov mailto: [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.0/5.1: Installer does not find CD-ROM drive - even thoughit's booted off it
On Mon, Jun 09, 2003 at 10:20:03PM +0200, Per von Zweigbergk wrote: Hello. I'm having difficulty with the ISO image of FreeBSD 5.1. The same problem also appeared in 5.0, but since 5.1 had come out, I decided to try that before reporting this bug. When booting the installer off the CD-ROM and doing a Standard install, you first get to the stage of partitioning a hard drive. Then you get to the stage where distributions are chosen. After that, it wants you to choose install media. I choose CD/DVD, and suddenly it says: No CD/DVD devices found! This is strange, since I clearly have been able to boot from it, and the boot loader seems to find it. On a whim, I also tried to choose Floppy for the install, but that didn't work either: No floppy devices found! This is more than strange. It's truly bizarre. In the boot loader it says: BIOS CD is cd0 BIOS drive A: is disk0 BIOS drive C: is disk1 And just before it dumps into /stand/sysinstall, I get: ata1-master: timeout waiting for interrupt ata1-master: ATAPI identify failed The system is new, and has had no OS installed on it previously. I have upgraded the BIOS to the latest version. Specifications: - Microstar 865PE Neo2 LS mother board - 3 x Intel 10/100 Desktop Adapter S cards. (Supported by the fxp driver) - Cheap Geforce 4 MX based AGP graphics card - Western Digital Special Edition 120 GB hard drive with 8 MB disk cache connected using the onboard ATA100 functionality. Master on the first IDE bus. - Samsung CD-ROM drive connected to the second IDE bus as Master. Only does ATA33 with the cables I use. Looks like Samsung 52X CD-ROM is broken for FreeBSD, i have this problem with this drive, when i replace it to Asus 52X CD-ROM, all works fine. -- Vitaly Markitantov mailto: [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: APCI vs APM
On Tue, Feb 18, 2003 at 08:55:03AM +0100, Pierrick Brossin wrote: Hi! I saw many stuff about acpi in dmesg since I changed to 5.0 So I assume it's newer than APM. # man zzz -- APM(8) FreeBSD System Manager's Manual APM(8) NAME apm, zzz - control the APM BIOS and display its information [..] -- How do I make my laptop suspend ? Read man acpiconf about -s switch -- Vitaly Markitantov mailto: [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
typo in UPDATING
Seems like it's typo in src/UPDATING about acpi disabling. Can somebody fix it? --- UPDATING.orig Mon Jan 27 14:14:12 2003 +++ UPDATINGMon Jan 27 14:07:50 2003 @@ -290,7 +290,7 @@ 20010927: Some weird problems result from using ACPI on some machines. To disable ACPI you can add - hint.acpi.0.disable=1 + hint.acpi.0.disabled=1 to /boot/loader.conf (or by putting set X=Y at the boot loader ok prompt). -- Vitaly Markitantov mailto: [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: PS/2 mouse problems with -CURRENT
On Fri, Jan 17, 2003 at 04:27:36PM +0300, Igor Roboul wrote: Hello, does anybody have problems with PS/2 mouse attached to PC with recent -CURRENT? Mouse is recognized by kernel and moused, but cursor is moving VERY slow, no visible reaction to buttons etc. This happens in text mode and in X11. When in X11, it happens when Option Device /dev/sysmouse and when Option Device /dev/psm0 with and without moused running Part of dmesg output of older -CURRENT: atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: model NetMouse/NetScroll Optical, device ID 0 Same part of newer -CURRENT (I have disable ACPI, but I get same result with ACPI too): atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: model NetMouse/NetScroll Optical, device ID 0 On my desktop i had this problem only with enabled ACPI. When i disable ACPI, mouse works just fine. On other PC's i don't have this problem. -- Vitaly Markitantov mailto: [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
How to update UFS1 to UFS2?
Have an existing partition with UFS1 on it. How can i update/convert it to UFS2? It is safe make it that way: dump -0 -f /store/arch.usr /usr shutdown now umount -a /usr mount / mount /store newfs -O2 /dev/ad0s2e restore -f /store/arch.usr /store is fat32 partition. Is there another way? -- Vitaly Markitantov mailto: [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
ACPI and PS/2 mouse trouble
I have some problem whith PS/2 mouse under -CURRENT (last cvsup was at 7 Dec 2002) When i enable ACPI in bios my mouse not works properly, cursor moves not adequate for mouse moving. When i disable ACPI - all works fine. In both cases i use moused -t ps/2 -p /dev/psm0 One more, when mouse works (without ACPI), vmstat -i shows psm0 irq12953 0 But without ACPI this line in vmstat -i is not present - looks like some problem with interrupt for mouse. What i can do with that? -- Vitaly Markitantov mailto: [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: smbfs broken?
On Wed, Oct 23, 2002 at 11:31:50AM -0700, Terry Lambert wrote: AHA! The reason an FFS write resulted in an SMBFS read is that you had mmap()'ed an SMBFS file, and then wrote a mapped but-not-in-core page to the target FFS file. Knowing that the code involved is in the paging path of the SMBFS code is important. What happens if you: dd if=/smb/urchin/pub/bytes/8145 of=8145 ? I expect that it works, no problem. Yes, it works fine in both direction - copy from and to SMBFS. cp still not works correctly (nor reads nor writes to SMBFS) -- Vitaly Markitantov mailto: [EMAIL PROTECTED] icq: 117438950 phone: (062)332-23-90 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: smbfs broken?
On Wed, Oct 23, 2002 at 10:51:07AM -0400, John Baldwin wrote: Umm, guys. The code was dereferencing NULL pointers in the mbchain code which was fixed yesterday. Please test it out with the fixed mbchains code. Yes, it not panics now, but again, when i copy to/from smbfs share i get: cp /share/someFile ./ cp: ./someFile: Bad address -- Vitaly Markitantov mailto: [EMAIL PROTECTED] icq: 117438950 phone: (062)332-23-90 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
smbfs broken?
When i tries to copy a file from smbfs share mounted by mount_smbfs i get an error: cp: ./filename: Bad address But when i copy a file to share i get kernel panic like this: Fatal trap 12: page fault while in kernel mode fault virtual address = 0x0 fault code = supervisor write, page not present current process= 531 (cp) trap number= 12 panic: page fault Share mounted from SAMBA server (FreeBSD 4.7-RELEASE) Last cvsup + buildworld was about 16-17 October 2002 uname -a FreeBSD neo.del.local 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Thu Oct 17 19:19:49 EEST 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/NEO i386 -- Vitaly Markitantov mailto: [EMAIL PROTECTED] icq: 117438950 phone: (062)332-23-90 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
current vs stable performance compare?
Where i can found performance comparison of -CURRENT over -STABLE systems? -- Vitaly Markitantov mailto: [EMAIL PROTECTED] icq: 117438950 phone: (062)332-23-90 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
when will be MFC src/contrib/smbfs?
At 23 July 2002 in -CURRENT was imported new version of smbfs: 22.07.2002 1.4.5 (bug fix only) - Some iconv libraries may refuse to recode some characters. This caused problems with translation between server and local charsets. That bugfix realy important to correct work with cyrillic letters in filenames on smbfs. So, when will be MFC src/contrib/smbfs? -- Vitaly Markitantov mailto: [EMAIL PROTECTED] icq: 117438950 phone: (062)332-23-90 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message