Re: Laptop HP Pavilion zv5445US and OpenBSD 3.8/3.9 (problems at boot sequence)
On Sun, Apr 23, 2006 at 03:46:50AM -0300, Leonardo Rodrigues wrote: Hello again misc! I'm dual-booting WindowsXP and OpenBSD on an HP Pavilion zv5445US (zv5000 series) and have been using OpenBSD 3.8 for quite some time now, but there's a little issue that's been annoying me ever since. Sometimes the machine boots fine, and sometimes it doesn't. It often hangs right at root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 However, if I restart the laptop and let it boot again, it boots just fine. It often starts freezing again if I log on WindowsXP and try to boot OpenBSD after that. I've recently switched to OpenBSD 3.9-current from a snapshot to see if things would get fixed, but they got worse. Now instead of freezing, it just restarts right on the same msg rootdev=0x0 blabla It only boots fine again, if I power the laptop down somewhere during fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 biomask ef7d netmask ef7d ttymask pctr: user-level cycle counter enabled and try booting again. And even that isn't guaranteed to work. And again, if I log on WindowsXP, and then try to start OpenBSD, it restarts during boot, just as I described above. I used to get some kernel errors right there too (that ddb prompt), but this error hasn't appeared for a while now. So, I would like to know some suggestions on what I should do. I'm quite clueless about it. Maybe it's some issues with the sound adapter (as it crashes right before the ac97 msg)? Or with the hard disk? Some kernel module to disable on boot time? Any help is welcome :) when you go from Windows to OpenBSD, are you cold booting, or warm booting; i.e. do you shut the laptop off in between? does that make a difference? -- [EMAIL PROTECTED] Here's a dmesg of a successful boot: OpenBSD 3.9-current (GENERIC) #693: Sat Apr 15 16:17:16 MDT 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz (GenuineIntel 686-class) 3 GHz cpu0: FPU,V86,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,MWAIT,DS-CPL,CNXT-ID real mem = 401633280 (392220K) avail mem = 359100416 (350684K) using 4278 buffers containing 20185088 bytes (19712K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(e6) BIOS, date 12/15/04, BIOS32 rev. 0 @ 0xfd710 pcibios0 at bios0: rev 2.1 @ 0xfd710/0x8f0 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf10/208 (11 entries) pcibios0: no compatible PCI ICU found: ICU vendor 0x1002 product 0x434c pcibios0: PCI bus #4 is the last bus bios0: ROM list: 0xc/0xf000 0xd/0x6000! 0xd6000/0x1000 0xd7000/0x800! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 ATI Radeon IGP 9100 Host rev 0x02 ppb0 at pci0 dev 1 function 0 ATI Radeon IGP 9100 AGP rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 5 function 0 ATI Radeon Mobility IGP 9100 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ohci0 at pci0 dev 19 function 0 ATI SB200 USB rev 0x01: irq 11, version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: ATI OHCI root hub, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1 at pci0 dev 19 function 1 ATI SB200 USB rev 0x01: irq 11, version 1.0, legacy support usb1 at ohci1: USB revision 1.0 uhub1 at usb1 uhub1: ATI OHCI root hub, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered piixpm0 at pci0 dev 20 function 0 ATI SB200 SMBus rev 0x16: SMI iic0 at piixpm0 pciide0 at pci0 dev 20 function 1 ATI IXP200 IDE rev 0x00: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: SAMSUNG HM120JC wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors wd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: TEAC, DV-W28EW, C.0S SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 pcib0 at pci0 dev 20 function 3 ATI SB200 PCI-ISA rev 0x00 ppb1 at pci0 dev 20 function 4 ATI SB200 PCI-PCI rev 0x00 pci2 at ppb1 bus 2 Texas Instruments TSB43AB21 FireWire rev 0x00 at pci2 dev 0 function 0 not configured Broadcom BCM4306 rev 0x03 at pci2 dev 2 function 0 not configured rl0 at pci2 dev 3 function 0 Realtek 8139 rev 0x10: irq 11, address 00:0f:b0:4a:bc:aa rlphy0 at rl0 phy 0: RTL internal PHY cbb0 at pci2 dev 4 function 0 Texas Instruments PCI1620 CardBus rev 0x01: irq 10 cbb1 at pci2 dev 4 function 1 Texas Instruments PCI1620 CardBus rev 0x01: irq 10 Texas Instruments PCI1620 Misc rev 0x01 at pci2 dev 4 function 2 not configured ohci2 at pci2 dev 7 function 0 NEC USB rev 0x43: irq 10, version 1.0, legacy support usb2 at ohci2: USB revision 1.0 uhub2 at usb2 uhub2: NEC OHCI root
Re: Laptop HP Pavilion zv5445US and OpenBSD 3.8/3.9 (problems at boot sequence)
If I go from Windows to OpenBSD by restarting the laptop (i.e, choosing in windows to restart the machine), OpenBSD fails to boot. But, if I choose to power the laptop down instead of restarting, OpenBSD boots fine. Seems that Windows is leaving garbage somewhere on the system... On 4/23/06, Jacob Meuser [EMAIL PROTECTED] wrote: On Sun, Apr 23, 2006 at 03:46:50AM -0300, Leonardo Rodrigues wrote: Hello again misc! I'm dual-booting WindowsXP and OpenBSD on an HP Pavilion zv5445US (zv5000 series) and have been using OpenBSD 3.8 for quite some time now, but there's a little issue that's been annoying me ever since. Sometimes the machine boots fine, and sometimes it doesn't. It often hangs right at root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 However, if I restart the laptop and let it boot again, it boots just fine. It often starts freezing again if I log on WindowsXP and try to boot OpenBSD after that. I've recently switched to OpenBSD 3.9-current from a snapshot to see if things would get fixed, but they got worse. Now instead of freezing, it just restarts right on the same msg rootdev=0x0 blabla It only boots fine again, if I power the laptop down somewhere during fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 biomask ef7d netmask ef7d ttymask pctr: user-level cycle counter enabled and try booting again. And even that isn't guaranteed to work. And again, if I log on WindowsXP, and then try to start OpenBSD, it restarts during boot, just as I described above. I used to get some kernel errors right there too (that ddb prompt), but this error hasn't appeared for a while now. So, I would like to know some suggestions on what I should do. I'm quite clueless about it. Maybe it's some issues with the sound adapter (as it crashes right before the ac97 msg)? Or with the hard disk? Some kernel module to disable on boot time? Any help is welcome :) when you go from Windows to OpenBSD, are you cold booting, or warm booting; i.e. do you shut the laptop off in between? does that make a difference? -- [EMAIL PROTECTED] Here's a dmesg of a successful boot: OpenBSD 3.9-current (GENERIC) #693: Sat Apr 15 16:17:16 MDT 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz (GenuineIntel 686-class) 3 GHz cpu0: FPU,V86,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,MWAIT,DS-CPL,CNXT-ID real mem = 401633280 (392220K) avail mem = 359100416 (350684K) using 4278 buffers containing 20185088 bytes (19712K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(e6) BIOS, date 12/15/04, BIOS32 rev. 0 @ 0xfd710 pcibios0 at bios0: rev 2.1 @ 0xfd710/0x8f0 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf10/208 (11 entries) pcibios0: no compatible PCI ICU found: ICU vendor 0x1002 product 0x434c pcibios0: PCI bus #4 is the last bus bios0: ROM list: 0xc/0xf000 0xd/0x6000! 0xd6000/0x1000 0xd7000/0x800! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 ATI Radeon IGP 9100 Host rev 0x02 ppb0 at pci0 dev 1 function 0 ATI Radeon IGP 9100 AGP rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 5 function 0 ATI Radeon Mobility IGP 9100 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ohci0 at pci0 dev 19 function 0 ATI SB200 USB rev 0x01: irq 11, version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: ATI OHCI root hub, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1 at pci0 dev 19 function 1 ATI SB200 USB rev 0x01: irq 11, version 1.0, legacy support usb1 at ohci1: USB revision 1.0 uhub1 at usb1 uhub1: ATI OHCI root hub, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered piixpm0 at pci0 dev 20 function 0 ATI SB200 SMBus rev 0x16: SMI iic0 at piixpm0 pciide0 at pci0 dev 20 function 1 ATI IXP200 IDE rev 0x00: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: SAMSUNG HM120JC wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors wd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: TEAC, DV-W28EW, C.0S SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 pcib0 at pci0 dev 20 function 3 ATI SB200 PCI-ISA rev 0x00 ppb1 at pci0 dev 20 function 4 ATI SB200 PCI-PCI rev 0x00 pci2 at ppb1 bus 2 Texas Instruments TSB43AB21 FireWire rev 0x00 at pci2 dev 0 function 0 not configured Broadcom BCM4306 rev 0x03 at pci2 dev 2 function 0 not configured rl0 at pci2 dev 3 function 0 Realtek 8139 rev 0x10: irq 11, address 00:0f:b0:4a:bc:aa rlphy0 at rl0 phy
Re: Laptop HP Pavilion zv5445US and OpenBSD 3.8/3.9 (problems at boot sequence)
On 4/23/06, Leonardo Rodrigues [EMAIL PROTECTED] wrote: If I go from Windows to OpenBSD by restarting the laptop (i.e, choosing in windows to restart the machine), OpenBSD fails to boot. But, if I choose to power the laptop down instead of restarting, OpenBSD boots fine. Seems that Windows is leaving garbage somewhere on the system... I haven't been following this thread, but I have this exact same problem on my laptop (and Dell Latitude C600). Also, it's not just window's fault, if I warm-boot in either direction the new OS doesn't load properly, but instead gets jammed during it's initialization. The solution is just to cold-boot when I want to switch. -Nick
Re: Laptop HP Pavilion zv5445US and OpenBSD 3.8/3.9 (problems at boot sequence)
On 4/23/06, Leonardo Rodrigues [EMAIL PROTECTED] wrote: Seems that Windows is leaving garbage somewhere on the system... I have had the same experience with Windows XP + Linux and Windows XP + OpenBSD on a earlier laptop (Acer TM630). On my current laptop i'm not experiencing that problem (but got a few others though... :)). For a while i actually tried to find information, whether this might was an deliberate action or not on Windows's part. Didn't find anything conclusive of course... -- Regards Henrik
Re: Problems on boot
Alex, I have a 586 with an old scuzz card with no boot roms and a couple of error-ful half-height drives. The thing sounds like a jet powered lawnmower when you turn it on. But it works. I simply leave the install floppy in the floppy drive, and when it gets to the boot prompt, I do a 'boot sd0a:bsd' and it boots. Prob solved. Now you might be able to turn your boot capability on in the bios or the scuzz bios. That is up to you to figure out. Have fun, Linc Date: Thu, 2 Jun 2005 22:19:14 +0300 From: Alex Stamatis [EMAIL PROTECTED] To: misc@openbsd.org Subject: Re: Problems on boot Message-ID: [EMAIL PROTECTED] Thanks all of you that replied to my message. I just saw the dmesg and you were right. It says that Host adapter Bios disabled. Using default scsi device parameters. So how do I get to enable the scsi adapters bios ? The adapter is AIC-7850 and the hdd is a seagate. Thanks again for the help ! Best Regards Alex Stamatis
Problems on boot
Hallo. I have an old celeron pc and I just installed Openbsd. The hdd is scsi and its on a scsi controler. (I have checked and all this hardware are compliant with openbsd). Even though install has completed succefully and I have changed on bios the boot sequence to first boot from scsi it doesnt. I dont know why but i assume this happens because this pc is old and it doesnt get along with the scsi. Is there anyway that i can first boot from cdrom and then somehow make the system boot from the hdd ? Or do you have any suggestions ? Its the second time i use scsi in my life and I dont have any experience in scsi. Thank you very much for your time everyone. Best Regards Alex Stamatis
Re: Problems on boot
--On 02 June 2005 20:43 +0300, Alex Stamatis wrote: Even though install has completed succefully and I have changed on bios the boot sequence to first boot from scsi it doesnt. To boot from SCSI on x86, the SCSI host adapter needs to have a BIOS. Some cards don't, which would be a bit of a problem for booting, since you don't have a means of accessing the drive until the OS and SCSI driver are loaded. I dont know why but i assume this happens because this pc is old and it doesnt get along with the scsi. Is there anyway that i can first boot from cdrom and then somehow make the system boot from the hdd ? Assuming no bios, you'd need to boot from cd, but you could then mount root from hd. Check there are no config options for the card that would enable a bios first, though. It would be helpful to know what card you're trying to use.
Re: Problems on boot
Thanks all of you that replied to my message. I just saw the dmesg and you were right. It says that Host adapter Bios disabled. Using default scsi device parameters. So how do I get to enable the scsi adapters bios ? The adapter is AIC-7850 and the hdd is a seagate. Thanks again for the help ! Best Regards Alex Stamatis On 6/2/05, Brian [EMAIL PROTECTED] wrote: A helpful hint: 1) post your dmesg along with your post; no one knows what scsi controller you're running or anything else about your box. You can obtain your dmesg simply by: $ dmesg file or you can read the man page for dmesg and just grab the file that is created at boot. I am currently running obsd on an old pentium II, but I am not using scsi, so I can only suggest posting the dmesg and hope for the best. I had been recommended on the list to use LSI scsi adapters, but I do not have a motherboard that can support those cards. Good luck, Brian --- Alex Stamatis [EMAIL PROTECTED] wrote: Hallo. I have an old celeron pc and I just installed Openbsd. The hdd is scsi and its on a scsi controler. (I have checked and all this hardware are compliant with openbsd). Even though install has completed succefully and I have changed on bios the boot sequence to first boot from scsi it doesnt. I dont know why but i assume this happens because this pc is old and it doesnt get along with the scsi. Is there anyway that i can first boot from cdrom and then somehow make the system boot from the hdd ? Or do you have any suggestions ? Its the second time i use scsi in my life and I dont have any experience in scsi. Thank you very much for your time everyone. Best Regards Alex Stamatis Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: Problems on boot
--On 02 June 2005 22:19 +0300, Alex Stamatis wrote: I just saw the dmesg and you were right. It says that Host adapter Bios disabled. Using default scsi device parameters. So how do I get to enable the scsi adapters bios ? The adapter is AIC-7850 and the hdd is a seagate. AIC-7850 is the chip, not the card. The chip can be used on cards (e.g. AVA2906, which doesn't have a BIOS, and probably some others which do have a BIOS) and on various motherboards (e.g. Iwill P54TS) where the BIOS is in the *motherboard's* flash ROM stored as a module after the machine's BIOS. Armed with the above information and a copy of cbrom, you might find a way to extract the relevant ROM image and insert it to your motherboard BIOS, but in the past I've trashed a number of motherboard BIOSes while experimenting with flashes, so you probably don't want to listen to me anyway, especially if you value the board and don't have a way to recover if it goes wrong.
Re: Problems on boot
Alex Stamatis wrote: Thanks all of you that replied to my message. I just saw the dmesg and you were right. It says that Host adapter Bios disabled. Using default scsi device parameters. So how do I get to enable the scsi adapters bios ? The adapter is AIC-7850 and the hdd is a seagate. *sigh* Good thing Seagate only made one hard disk in their what, ~25 year history. Fortunately, the one mushy fact you provided explains the problem (the AIC7850 is a chip, used on a lot of different cards and on-board on some systems). I am sure it was luck. The AIC7850 is a low-end, usually not bootable (no on-board ROM, as in your case), and slower than any IDE interface in a Celeron-class system. It is intended to attach scanners or CDROMs or low-end tape drives to computers, not high-performance hard disks. I don't know why you are trying to run SCSI, but I think you are barking up a wrong tree. I've seen people use the logic, SCSI is better than IDE. I'll run SCSI, and then slap five+ year old disks on a five+ year old controller and wonder why a brand new IDE whoops their butt five ways to Sunday. Your controller is not only old, but a horrible underperformer when it was brand new (but it was cheap!). By the time you get a good SCSI adapter, you could have purchased an IDE drive that will run much nicer, easier, etc. *PLEASE* sit down and read http://www.openbsd.org/report.html http://www.openbsd.org/faq/faq2.html#Bugs Nick.